Displaying 5 results from an estimated 5 matches for "sys_llistxattr".
2009 Jul 27
1
supporting --fake-super on opensolaris (zfs) destination
...bber/iChat: enrico.cavalli at gmail.com
PGP Fingerprint: 3762 7B1B 743E 029C 8F94 8ADE BC4B 43A7 0485 30E5
-------------- next part --------------
diff --git a/lib/sysxattrs.c b/lib/sysxattrs.c
index 12e456e..8655760 100644
--- a/lib/sysxattrs.c
+++ b/lib/sysxattrs.c
@@ -128,7 +128,155 @@ ssize_t sys_llistxattr(const char *path, char *list, size_t size)
#else
-#error You need to create xattr compatibility functions.
+ssize_t sys_lgetxattr(const char *path, const char *name, void *value, size_t size)
+{
+
+
+ int attrfd;
+ size_t bufpos,r;
+ STRUCT_STAT fst;
+
+ do_lstat(path,&fst);
+ if(S_ISLNK(...
2008 Feb 25
0
Fwd: Making rsync compile under Mac OS X 10.3.9 with extended attributes
...mes.diff is still active. There is maybe a bug
> mixing Carbon and getattrlist calls.
>
> I'm attaching the verbose log of the operations before the error.
> And the patch, of course!
>
> Vitorio
>
> recv_files(Src/60-bsd-flags/file-with-flags)
> got file_sum
> sys_llistxattr(Src/60-bsd-flags/.file-with-flags.CqNyUX, 0x2800400,
> 1024);
> fsreffrompath(Src/60-bsd-flags/.file-with-flags.CqNyUX, 0xbfffcc00);
> PWD=/Volumes/Dst/80-rsync-test
> name=.file-with-flags.CqNyUX
> list lenght=21, list content:
> com.apple.FinderInfo
> sys_lsetxattr(Src/60-b...
2007 Dec 02
3
creation date and OSX
Hi,
I've been using rsync (OSX Tiger now Leopard) to backup my home
folder daily using -a -H -A -X link-dest=dir to make incremental
backups. There was a problem though since many files especially
images, movies etc would be recopied each time instead of creating
hard links. I have been testing the pre5 release and found that it
seems to make hard links correctly for all files. I
2010 Sep 21
1
Old FreeBSD4.11 build.
...declared (first use in
this function)
lib/sysxattrs.c: In function `sys_lremovexattr':
lib/sysxattrs.c:100: warning: implicit declaration of function
`extattr_delete_link'
lib/sysxattrs.c:100: `EXTATTR_NAMESPACE_USER' undeclared (first use in
this function)
lib/sysxattrs.c: In function `sys_llistxattr':
lib/sysxattrs.c:106: warning: implicit declaration of function
`extattr_list_link'
lib/sysxattrs.c:106: `EXTATTR_NAMESPACE_USER' undeclared (first use in
this function)
*** Error code 1
Any ideas?
Jonathan
This email message is intended for the use of the person to whom it has be...
2008 Feb 01
0
rsync Digest, Vol 62, Issue 1
....c 2008-01-12 11:14:56.000000000 -0600
+++ rsync-3.0.0pre8_mod/xattrs.c 2008-01-28 22:31:11.000000000 -0600
@@ -128,7 +128,7 @@
}
if (list_len >= 0)
return list_len;
- if (errno == ENOTSUP)
+ if (errno == ENOTSUP || errno == EPERM)
return 0;
if (errno == ERANGE) {
list_len = sys_llistxattr(fname, NULL, 0); @@ -766,6 +766,8 @@
}
if (sys_lsetxattr(fname, name, rxas[i].datum, rxas[i].datum_len) <
0) {
+ if (errno == EPERM)
+ return 0;
rsyserr(FERROR_XFER, errno,
"rsync_xal_set: lsetxattr(\"%s\",\"%s\") failed",
fname, name)...