search for: xalp

Displaying 4 results from an estimated 4 matches for "xalp".

Did you mean: alp
2016 Dec 01
3
[PATCH v2 1/2] xattrs: Skip security.evm extended attribute
...serspace. Therefore, we can always skip it. --- xattrs.c | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/xattrs.c b/xattrs.c index b105392..3b72e61 100644 --- a/xattrs.c +++ b/xattrs.c @@ -255,6 +255,9 @@ static int rsync_xal_get(const char *fname, item_list *xalp) if (user_only ? !HAS_PREFIX(name, USER_PREFIX) : HAS_PREFIX(name, SYSTEM_PREFIX)) continue; + + if (!strcmp(name, "security.evm")) + continue; #endif /* No rsync.%FOO attributes are copied w/o 2 -X options. */ @@ -358,6 +361,9 @@ int copy_xattrs(const char *sour...
2011 Sep 22
3
[Bug 8475] New: memory leak around free_xattr() and rsync_xal_free(), with -aX, 200 bytes per file and per directory
...for each file and each dir, or a few giga for my big backup job. In free_xattr(), we have rsync_xal_free(sxp->xattr); free(sxp->xattr); sxp->xattr = NULL; In rsync_xal_free() we should also free the pointer to allocated memory: rsync_xa *rxas = xalp->items; // "xalp" is "sxp->xattr" free(rxas); <== need to add this line xalp->items = NULL; <== for good practice. xalp->count = 0; because xalp->items comes from malloc() earlier in expand_item_list(): new_...
2011 Dec 16
1
[Bug 8665] New: Crash in free_xattr(), from recv_generator()
...Component: core AssignedTo: wayned at samba.org ReportedBy: chris at onthe.net.au QAContact: rsync-qa at samba.org Hi, In current git, I'm getting a crash in the free_xattr() just before the end of recv_generator(): (gdb) bt #0 0x0000000000445d98 in rsync_xal_free (xalp=0x1986e60) at xattrs.c:101 #1 0x0000000000445df9 in free_xattr (sxp=0x7ffff250d2d0) at xattrs.c:111 #2 0x0000000000415ab7 in recv_generator (fname=0x7ffff250f540 "xxxxxx", file=0x7f457b201db8, ndx=8, itemizing=1, code=FLOG, f_out=1) at generator.c:1892 #3 0x0000000000416e96 in gen...
2007 Mar 08
3
[BUG] clear ACL-s on destination
Destroy ACL-s on destination when no ACL-s differens between source and destination. Bug is somehow related with function send_file_name() called with negative file descriptor f. There is no such bug in 2.6.9 version, but there options "-X -A --deleted" can't be used (we have "Internal error: wrong write used in receiver."). If I fix this, avoid calling send_acl() &