Displaying 3 results from an estimated 3 matches for "xattr_item".
Did you mean:
attr_item
2009 Nov 30
1
A crash when syncing xattr with rsync-3.0.6
Hi,
I have a crash running rsync-3.0.6 and using the -X flag.
The crash was in uncache_tmp_xattrs() when free was called on every
xattr_item. However, the rsync_xal_l.items is a buffer, not a list,
and so only the whole buffer should be freed, and not every item.
Can anyone with git access please fix this?
This is the patch:
--- rsync-3.0.6/xattrs.c 2009-11-30 14:16:53.501050939 +0200
+++ rsync-3.0.6/xattrs.c.new 2009-11-30...
2012 Nov 23
14
extended attributes wiredness
Hi,
I am using kernel 3.7-rc6.
I have written a test application for extended attributes and have for
some folders a wired behaviour:
#include <stdio.h>
#include <string.h>
#include <attr/xattr.h>
char attrs[1024];
ssize_t attrslen;
int i;
char value[1024];
ssize_t valuelen;
int main(int argc, char *argv[])
{
if (argc != 2)
{
fprintf(stderr, "Syntax: testxattr
2013 Mar 01
0
unremovable dirs from failed unlink
...g-tree)
item 4 key (257 INODE_ITEM 0) itemoff 3597 itemsize 160
inode generation 5 transid 5 size 22 block group 0 mode 40755 links 1
item 5 key (257 INODE_REF 256) itemoff 3584 itemsize 13
inode ref index 2 namelen 3 name: dir
item 6 key (257 XATTR_ITEM 3817753667) itemoff 3506 itemsize 78
location key (0 UNKNOWN.0 0) type 8
namelen 16 datalen 32 name: security.selinux
data unconfined_u:object_r:file_t:s0
[root@f18 dir]# stat .
File: ‘.’
Size: 22 Blocks: 0 IO Block: 4096 direc...