Wayne Davison
0f6b683c8e
Refer to the right lsetxattr() caller in a error message.
2010-07-03 08:14:02 -07:00
Wayne Davison
e4c598c830
Make some RERR_* choices better, and another noop_io_until_death() tweak.
2009-11-16 12:35:17 -08:00
Wayne Davison
1b502f3ec2
Put file descriptor arg at the start of the arg list for consistency.
2009-09-12 09:13:38 -07:00
Wayne Davison
4c3e9c09eb
Fix a bogus free in uncache_tmp_xattrs().
2009-08-14 07:05:48 -07:00
Wayne Davison
0d5ebab1d6
Add conditional support for excluding types of files from xattr ops.
2009-08-08 13:21:26 -07:00
Wayne Davison
a8e6e14869
Change sending/receiving/storing of the rdev value for special files.
...
Since the value is not needed, protocol 31 no longer sends it, while
older protocols are optimized so the sender just sends a valid rdev
value as efficiently as possible. The receiver no longer caches an
rdev value for special files, and the generator will always pass a 0
rdev value to do_mknod() for special files. Fixes bug #6280 .
2009-04-26 07:43:32 -07:00
Wayne Davison
cb197514d9
Fixed an ACL/xattr corruption issue where the --backup option could cause
...
rsync to associate the wrong ACL/xattr information with received files.
2009-04-10 16:22:44 -07:00
Wayne Davison
b3bf9b9df9
Update the copyright year.
2009-01-03 10:57:14 -08:00
Wayne Davison
5dd14f0c33
Split up the ifuncs.h file into 3 .h files.
2008-09-01 19:11:36 -07:00
Wayne Davison
adc2476fa2
Output numbers in 3-digit groups by default (e.g. 1,234,567).
...
Also improved the human-readable output functions, including
adding the ability to output negative numbers.
2008-09-01 13:27:11 -07:00
Wayne Davison
6d56efa6ea
Changed human_num() to big_num() with an extra arg so that it can
...
be used in place of all %.0f output idioms.
2008-07-17 07:37:31 -07:00
Wayne Davison
97dde6b620
A couple xattr fixes for --fake-super.
2008-07-14 23:48:33 -07:00
Wayne Davison
e424e26128
Cast the datum_len value to a long for rprintf().
2008-06-12 06:59:51 -07:00
Wayne Davison
6283e9ef43
A couple more xattr improvements:
...
- Made the XSTATE_* defines avoid using 0.
- Call !XATTR_ABBREV() in recv_xattr_request().
- Improved the "internal abbrev" error message.
- Fixed the potential for a directory time glitch in xattrs.diff.
2008-06-08 21:14:46 -07:00
Wayne Davison
7462c6ac39
Fixed an "Internal abbrev error" when dealing with an xattr value
...
that is unchanged on an early file, and changed on a later file.
Added 2 new test cases to ensure this stays fixed.
2008-06-08 20:40:11 -07:00
Wayne Davison
e9489cd6cb
Fixed several issues with preserving xattrs when using --backup.
2008-05-17 09:35:46 -07:00
Wayne Davison
774d1c367b
Use overflow_exit() for overflows, not out_of_memory().
2008-04-15 08:27:38 -07:00
Wayne Davison
b4e6aac985
Fixed a syntax problem for non-HAVE_LINUX_ATTRS systems.
2008-03-07 16:41:09 -08:00
Wayne Davison
d724dd186e
Fixed the interaction of --fake-super with --link-dest & --xattrs.
...
Fixed the munging of non-user namespace xattrs w/--fake-super.
Fixed the sorting of received xattrs when name-munging occurs.
Added xattr tests to verify that these things stay fixed.
2008-03-07 16:23:21 -08:00
Wayne Davison
d3d07a5e86
Include 2008 in the copyright years.
2008-03-01 12:01:41 -08:00
Wayne Davison
71daa07fb1
Make get_xattr_names() even safer at fetching the list of attr names.
2008-02-06 07:52:00 -08:00
Wayne Davison
b769ad6a3e
Another xattr "internal abbrev" fix for an xattr object that is
...
shared by multiple files: handle the case where one file has an
abbreviated item set correctly, but a following item does not.
Also extended testsuite/xattrs.test to verify that this works.
2008-01-12 22:16:37 -08:00
Wayne Davison
68ddbaf645
Fixed a bug with truncated xattr data requests when the receiver
...
needs to discard some of the items from the sender's list.
2008-01-12 09:14:56 -08:00
Wayne Davison
a685271de3
Various xattr fixes:
...
- Fake-super mode no longer strips the RSYNC_PREFIX from a "%name" item.
- Make various places skip the fake-super xattr when --fake-super is enabled.
- If we fail to re-read the xattr value of an xattr we are trying to un-
abbreviate, send a zero for its length (avoiding a protocol problem).
2007-11-25 13:48:54 -08:00
Wayne Davison
e107b6b122
Fixed a problem with --fake-super not getting the fully tweaked new_mode
...
value. Also fixed the removal of rsync-internal xattr values on the
destination files when we aren't copying rsync-internal xattr values.
2007-11-24 10:50:45 -08:00
Wayne Davison
3f0211b63a
New logging categories added to allow differentiation between
...
transfer errors, normal errors, and warnings. New messages are
translated into old FERROR/FINFO categories for older protocols.
2007-11-22 10:05:36 -08:00
Wayne Davison
41979f2518
Make sure that get_xattr_data() never tries to malloc 0 bytes.
2007-11-05 18:15:04 +00:00
Wayne Davison
e516b69ef6
Fixed get_xattr_acl() -- it needed to zero *len_p.
2007-11-05 15:02:30 +00:00
Wayne Davison
7ed6bc53b9
Added get_xattr_acl(), set_xattr_acl(), and del_def_xattr_acl().
2007-09-29 16:06:37 +00:00
Wayne Davison
13710874ce
Changed "statx" to "stat_x" to try to work around a build problem on AIX.
2007-09-23 22:19:55 +00:00
Wayne Davison
1b42f628f4
Moved inline functions from rsync.h into ifuncs.h.
2007-09-22 16:52:58 +00:00
Wayne Davison
8e41b68e8f
Tweaking the license text a bit more.
2007-07-10 13:55:49 +00:00
Wayne Davison
4fd842f98d
Switching to GPL 3.
2007-07-07 05:33:14 +00:00
Wayne Davison
524eaa8245
We omit copying any user-space rsync.%FOO attributes unless the
...
user specified -X twice.
2007-07-02 21:35:14 +00:00
Wayne Davison
fb7b9ddcb1
- Use F_OWNER() and F_GROUP() instead of F_UID() and F_GID().
2007-05-20 07:10:45 +00:00
Wayne Davison
9439c0cb5a
Adding the --fake-super option.
2007-04-24 07:32:44 +00:00
Wayne Davison
f31514adb7
Changed the *_abbbrevint() functions to *_varint().
2007-04-20 02:17:58 +00:00
Wayne Davison
16edf86595
The improved --xattrs option is landing on the trunk.
2007-04-07 17:22:25 +00:00