search for: check_filt

Displaying 14 results from an estimated 14 matches for "check_filt".

Did you mean: check_file
2005 Jan 31
1
[patch] add "--ignore" option
...exclude list, 1 if it is included, and 0 if it was not matched. + * Return M_EXCLUDE if file "name" is defined to be excluded by the specified + * exclude list, M_INCLUDE if it is included, M_IGNORE if it is flagged to be + * ignored, and M_NOMATCH (aka 0) if it was not matched. */ -int check_filter(struct filter_list_struct *listp, char *name, int name_is_dir) +enum matchtype check_filter(struct filter_list_struct *listp, char *name, int name_is_dir) { struct filter_struct *ent; for (ent = listp->head; ent; ent = ent->next) { if (ent->match_flags & MATCHFLG_PERDIR_MER...
2011 May 26
4
Steam crashes upon launching (Mint Katya)
I had just installed Linux Mint katya on my Dell Dimension 5000 computer because Windows kept making it lag and so on. I installed Wine and Steam soon after installing it, but whenever I tried to launch Steam it always crashes and quits as soon as the welcome and update screens pop up. I've googled for solutions to this problem and they have come to nil.
2019 Mar 22
2
Kudos and feature question
Kudos all that maintain this awesome and enduring piece of software. Awesome job, many thanks. I’ve come across a use case that would greatly benefit form a —delete-older-than <secs> argument. This would behave the same as —delete only sparing files dest that have a creating time less than <secs> ago. How hard would this be to implement? Where would I start ? TIA, Francois
2011 May 18
1
Steam Crashes during game installations
...>>>>>>>>>>>>>>>>> GL_INVALID_VALUE (0x501) from Framebuffer format check @ utils.c / 968 fixme:d3d:check_fbo_compat Format WINED3DFMT_R16G16_FLOAT with rendertarget flag is not supported as FBO color attachment, and no fallback specified. fixme:d3d:check_filter Error during filtering test for format 822d, returning no filtering fixme:d3d:check_filter Error during filtering test for format 822f, returning no filtering fixme:win:EnumDisplayDevicesW ((null),0,0x33ce24,0x00000000), stub! fixme:appbar:handle_appbarmessage SHAppBarMessage(ABM_GETSTATE): stub...
2019 Mar 24
0
Kudos and feature question
...a wildcard matching anything by default, but could also use the full pattern-matching capabilities if required). Have a look at: the 'make_backups' logic in parse_arguments(), where it adds a 'Preserve' pattern to match all backup files, name_is_excluded() and its subfunctions check_filter() and rule_matches() in exclude.c You'd need to: define a new filter-type character ('R' for preserve-Recent?) define the format of the filter rule for this type e.g. how to represent the time add code to parse this new ruletype in rule_matches() decide how your new option inter...
2008 Jul 12
4
[PATCH] tun: Fix/rewrite packet filtering logic
...->addr[i])) + return 1; + + /* Inexact match (multicast only) */ + if (is_multicast_ether_addr(eh->h_dest)) + return addr_hash_test(filter->mask, eh->h_dest); + + return 0; +} + +/* + * Checks whether the packet is accepted or not. + * Returns: 0 - drop, !=0 - accept + */ +static int check_filter(struct tap_filter *filter, const struct sk_buff *skb) +{ + if (!filter->count) + return 1; + + return run_filter(filter, skb); +} + /* Network device part of the driver */ static unsigned int tun_net_id; @@ -141,7 +244,12 @@ static int tun_net_xmit(struct sk_buff *skb, struct net_device *...
2008 Jul 12
4
[PATCH] tun: Fix/rewrite packet filtering logic
...->addr[i])) + return 1; + + /* Inexact match (multicast only) */ + if (is_multicast_ether_addr(eh->h_dest)) + return addr_hash_test(filter->mask, eh->h_dest); + + return 0; +} + +/* + * Checks whether the packet is accepted or not. + * Returns: 0 - drop, !=0 - accept + */ +static int check_filter(struct tap_filter *filter, const struct sk_buff *skb) +{ + if (!filter->count) + return 1; + + return run_filter(filter, skb); +} + /* Network device part of the driver */ static unsigned int tun_net_id; @@ -141,7 +244,12 @@ static int tun_net_xmit(struct sk_buff *skb, struct net_device *...
2010 Jun 02
1
DO NOT REPLY [Bug 7489] New: rsyncd segfaults using daemon exclude filter
...* --- 1300,1311 ---- skip_dir = NULL; } + #ifdef SUPPORT_ACLS + sx.acc_acl = sx.def_acl = NULL; + #endif + #ifdef SUPPORT_XATTRS + sx.xattr = NULL; + #endif if (daemon_filter_list.head && (*fname != '.' || fname[1])) { if (check_filter(&daemon_filter_list, FLOG, fname, is_dir) < 0) { if (is_dir < 0) *************** *** 1317,1328 **** } } - #ifdef SUPPORT_ACLS - sx.acc_acl = sx.def_acl = NULL; - #endif - #ifdef SUPPORT_XATTRS - sx.xattr = NULL; - #endif...
2008 Mar 19
0
[PATCH] Unsnarl missing_below/dry_run logic.
...PORT_HARD_LINKS - if (F_IS_HLINKED(file)) - handle_skipped_hlink(file, itemizing, code, f_out); + else if (F_IS_HLINKED(file)) + handle_skipped_hlink(file, itemizing, code, f_out); #endif - return; - } - } + return; + } else + skip_dir = NULL; if (server_filter_list.head) { if (check_filter(&server_filter_list, fname, is_dir) < 0) { @@ -1298,7 +1302,8 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx, #ifdef SUPPORT_XATTRS sx.xattr = NULL; #endif - if (dry_run > 1) { + if (dry_run > 1 || (dry_missing_dir && is_below(file, dry_missi...
2016 Nov 25
0
Wine release 1.9.24
...tFolderByName. Henri Verbeet (7): gdi32: Add support for D3DDDIFMT_A4R4G4B4 and D3DDDIFMT_X4R4G4B4 to D3DKMTCreateDCFromMemory(). wined3d: Support wined3d_texture_get_dc() on WINED3DFMT_B4G4R4A4_UNORM and WINED3DFMT_B4G4R4X4_UNORM textures. wined3d: Disable GL_TEXTURE_2D again in check_filter(). wined3d: The drawable is a valid location for offscreen textures when "AlwaysOffscreen" is disabled. wined3d: Properly check for the required extensions before selecting the GLSL FFP implementations. wined3d: Don't require the ARB program shader backend for the...
2017 Oct 31
2
[Bug 13112] New: receive_xattr heap overread with non null terminated name and xattr filter
...ess 0x60200000e831 at pc 0x7ffff6edc15b bp 0x7fffffff9990 sp 0x7fffffff9138 READ of size 2 at 0x60200000e831 thread T0 #0 0x7ffff6edc15a in strlen (/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/libasan.so.2+0x7015a) #1 0x4412dd in rule_matches /home/raj/rsync/rsync/exclude.c:696 #2 0x441921 in check_filter /home/raj/rsync/rsync/exclude.c:772 #3 0x441724 in name_is_excluded /home/raj/rsync/rsync/exclude.c:744 #4 0x4a2d76 in receive_xattr /home/raj/rsync/rsync/xattrs.c:835 #5 0x40beac in recv_file_entry /home/raj/rsync/rsync/flist.c:1108 #6 0x415bee in recv_file_list /home/raj/rsync/r...
2015 Jul 28
0
Wine release 1.7.48
...uni (8): wined3d: Make the core extensions enabling table-based. wined3d: Add more entries to the core extensions table. wined3d: Bind a VAO when using core profile contexts. wined3d: Avoid glBegin() / glEnd() in check_fbo_compat() when possible. wined3d: Don't run check_filter() on core contexts. wined3d: Allow to apply extension emulation wrappers independently. wined3d: Don't crash when emulating GL_EXT_fogcoord. wined3d: Only install emulation wrappers when required. Michael M?ller (1): aclocal.m4: Search for otool using AC_CHECK_TOOL....
2011 Aug 12
11
[net-next RFC PATCH 0/7] multiqueue support for tun/tap
As multi-queue nics were commonly used for high-end servers, current single queue based tap can not satisfy the requirement of scaling guest network performance as the numbers of vcpus increase. So the following series implements multiple queue support in tun/tap. In order to take advantages of this, a multi-queue capable driver and qemu were also needed. I just rebase the latest version of
2011 Aug 12
11
[net-next RFC PATCH 0/7] multiqueue support for tun/tap
As multi-queue nics were commonly used for high-end servers, current single queue based tap can not satisfy the requirement of scaling guest network performance as the numbers of vcpus increase. So the following series implements multiple queue support in tun/tap. In order to take advantages of this, a multi-queue capable driver and qemu were also needed. I just rebase the latest version of