aboutsummaryrefslogtreecommitdiffstats
path: root/xattrs.c
Commit message (Collapse)AuthorAgeFilesLines
* Android build, static config, and changesDylan Simon2015-08-191-1/+1
| | | | | | Works fine on emulator both for local copies and in daemon mode. Very few changes necessary. Change-Id: I6ef54769b00333f84eabd1306381eac80b3d5f09
* Avoid an xattr-finding glitch on the receiver.Wayne Davison2014-05-261-3/+4
| | | | Fixes bug 9594.
* Bump the year to 2014.Wayne Davison2014-01-261-1/+1
|
* Avoid ACL and/or xattr lookups on IS_MISSING_FILE() entries.Wayne Davison2014-01-191-1/+2
| | | | Fixes bug 10381.
* Create and use write_bigbuf() function for extra-large buffer sizes.Wayne Davison2013-11-251-2/+2
|
* Update copyright year.Wayne Davison2013-01-191-1/+1
|
* Fix xattr memory leak. Fixes bug 8475.Wayne Davison2011-09-221-4/+5
|
* Avoid reading ACL/xattr info on filetypes not being copied.Wayne Davison2011-01-031-9/+18
| | | | | Make OS X avoid xattr access on device/special files. Fixes bug 5458.
* Use full_fname() for system error messages.Wayne Davison2011-01-011-9/+9
|
* Fix rsync_xal_set reference in an error.Wayne Davison2010-09-061-1/+1
|
* Refer to the right lsetxattr() caller in a error message.Wayne Davison2010-07-031-2/+2
|
* Make some RERR_* choices better, and another noop_io_until_death() tweak.Wayne Davison2009-11-161-3/+3
|
* Put file descriptor arg at the start of the arg list for consistency.Wayne Davison2009-09-121-2/+2
|
* Fix a bogus free in uncache_tmp_xattrs().Wayne Davison2009-08-141-1/+1
|
* Add conditional support for excluding types of files from xattr ops.Wayne Davison2009-08-081-0/+33
|
* Change sending/receiving/storing of the rdev value for special files.Wayne Davison2009-04-261-2/+2
| | | | | | | | 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.
* Fixed an ACL/xattr corruption issue where the --backup option could causeWayne Davison2009-04-101-1/+20
| | | | rsync to associate the wrong ACL/xattr information with received files.
* Update the copyright year.Wayne Davison2009-01-031-1/+1
|
* Split up the ifuncs.h file into 3 .h files.Wayne Davison2008-09-011-0/+1
|
* Output numbers in 3-digit groups by default (e.g. 1,234,567).Wayne Davison2008-09-011-1/+1
| | | | | Also improved the human-readable output functions, including adding the ability to output negative numbers.
* Changed human_num() to big_num() with an extra arg so that it canWayne Davison2008-07-171-4/+4
| | | | be used in place of all %.0f output idioms.
* A couple xattr fixes for --fake-super.Wayne Davison2008-07-141-3/+6
|
* Cast the datum_len value to a long for rprintf().Wayne Davison2008-06-121-2/+2
|
* A couple more xattr improvements:Wayne Davison2008-06-081-5/+6
| | | | | | | - 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.
* Fixed an "Internal abbrev error" when dealing with an xattr valueWayne Davison2008-06-081-4/+8
| | | | | that is unchanged on an early file, and changed on a later file. Added 2 new test cases to ensure this stays fixed.
* Fixed several issues with preserving xattrs when using --backup.Wayne Davison2008-05-171-0/+42
|
* Use overflow_exit() for overflows, not out_of_memory().Wayne Davison2008-04-151-7/+7
|
* Fixed a syntax problem for non-HAVE_LINUX_ATTRS systems.Wayne Davison2008-03-071-6/+6
|
* Fixed the interaction of --fake-super with --link-dest & --xattrs.Wayne Davison2008-03-071-26/+41
| | | | | | 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.
* Include 2008 in the copyright years.Wayne Davison2008-03-011-1/+1
|
* Make get_xattr_names() even safer at fetching the list of attr names.Wayne Davison2008-02-061-22/+20
|
* Another xattr "internal abbrev" fix for an xattr object that isWayne Davison2008-01-121-27/+5
| | | | | | 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.
* Fixed a bug with truncated xattr data requests when the receiverWayne Davison2008-01-121-26/+38
| | | | needs to discard some of the items from the sender's list.
* Various xattr fixes:Wayne Davison2007-11-251-12/+18
| | | | | | | - 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).
* Fixed a problem with --fake-super not getting the fully tweaked new_modeWayne Davison2007-11-241-5/+11
| | | | | value. Also fixed the removal of rsync-internal xattr values on the destination files when we aren't copying rsync-internal xattr values.
* New logging categories added to allow differentiation betweenWayne Davison2007-11-221-14/+14
| | | | | transfer errors, normal errors, and warnings. New messages are translated into old FERROR/FINFO categories for older protocols.
* Make sure that get_xattr_data() never tries to malloc 0 bytes.Wayne Davison2007-11-051-4/+7
|
* Fixed get_xattr_acl() -- it needed to zero *len_p.Wayne Davison2007-11-051-0/+1
|
* Added get_xattr_acl(), set_xattr_acl(), and del_def_xattr_acl().Wayne Davison2007-09-291-0/+27
|
* Changed "statx" to "stat_x" to try to work around a build problem on AIX.Wayne Davison2007-09-231-8/+8
|
* Moved inline functions from rsync.h into ifuncs.h.Wayne Davison2007-09-221-0/+1
|
* Tweaking the license text a bit more.Wayne Davison2007-07-101-2/+3
|
* Switching to GPL 3.Wayne Davison2007-07-071-3/+2
|
* We omit copying any user-space rsync.%FOO attributes unless theWayne Davison2007-07-021-5/+7
| | | | user specified -X twice.
* - Use F_OWNER() and F_GROUP() instead of F_UID() and F_GID().Wayne Davison2007-05-201-3/+3
|
* Adding the --fake-super option.Wayne Davison2007-04-241-10/+179
|
* Changed the *_abbbrevint() functions to *_varint().Wayne Davison2007-04-201-16/+16
|
* The improved --xattrs option is landing on the trunk.Wayne Davison2007-04-071-0/+775