rsync-patches.git
17 years agoFixed a problem with the new fgetxattr() stubs.
Wayne Davison [Fri, 27 Oct 2006 22:07:04 +0000 (22:07 +0000)]
Fixed a problem with the new fgetxattr() stubs.

17 years agoAdded sys_fgetxattr().
Wayne Davison [Fri, 27 Oct 2006 21:11:41 +0000 (21:11 +0000)]
Added sys_fgetxattr().

17 years ago- Fixed a problem with the sscanf() count (now 5, not 4).
Wayne Davison [Fri, 27 Oct 2006 15:21:22 +0000 (15:21 +0000)]
- Fixed a problem with the sscanf() count (now 5, not 4).
- Make sure we only create an xattr stat value when we need it
  and we delete it when it's not needed.

17 years agoSplit the major & minor device numbers.
Wayne Davison [Fri, 27 Oct 2006 08:24:58 +0000 (08:24 +0000)]
Split the major & minor device numbers.

17 years ago- Fixed a bug I introduced into the daemon's "fake super" handling.
Wayne Davison [Fri, 27 Oct 2006 07:43:28 +0000 (07:43 +0000)]
- Fixed a bug I introduced into the daemon's "fake super" handling.
- Make sure that the client can't send the daemon --fake-super.

17 years agoMy verison of Wesley W. Terpstra's --fake-super patch.
Wayne Davison [Fri, 27 Oct 2006 07:22:21 +0000 (07:22 +0000)]
My verison of Wesley W. Terpstra's --fake-super patch.

17 years agoSet the xattrs prior to setting the ACLs.
Wayne Davison [Fri, 27 Oct 2006 06:28:19 +0000 (06:28 +0000)]
Set the xattrs prior to setting the ACLs.

17 years agoAdded removexattr() functions, which aren't used yet, but will need
Wayne Davison [Fri, 27 Oct 2006 03:56:55 +0000 (03:56 +0000)]
Added removexattr() functions, which aren't used yet, but will need
to be (and are useful for the --fake-root patch).

17 years agoOutput ssize_t values for rprintf() cast to long for portability.
Wayne Davison [Thu, 26 Oct 2006 16:34:40 +0000 (16:34 +0000)]
Output ssize_t values for rprintf() cast to long for portability.

17 years agoA fix that lets xattr support be compiled without ACL support.
Wayne Davison [Thu, 26 Oct 2006 15:14:03 +0000 (15:14 +0000)]
A fix that lets xattr support be compiled without ACL support.

17 years agoThe OS X version now transmits a unique prefix ("user.0S%.") for
Wayne Davison [Thu, 26 Oct 2006 01:53:32 +0000 (01:53 +0000)]
The OS X version now transmits a unique prefix ("user.0S%.") for
attrs that don't begin with "user." or "system.".  It also strips
this prefix when it is received.

17 years ago- Fixed a couple bugs in the rsync_xal_store(): the item_list we
Wayne Davison [Thu, 26 Oct 2006 01:10:40 +0000 (01:10 +0000)]
- Fixed a couple bugs in the rsync_xal_store(): the item_list we
  were expanding needed to have its memory initialized, and the
  array items we were copying were the wrong type.
- Added preliminary support for Mac OS X, as provided by Wesley
  W. Terpstra.

17 years agoGot rid of some patch fuzz.
Wayne Davison [Tue, 24 Oct 2006 00:55:22 +0000 (00:55 +0000)]
Got rid of some patch fuzz.

17 years agoChanged the sys_acl_get_file() function to return ENOTSUP for
Wayne Davison [Sun, 22 Oct 2006 23:43:06 +0000 (23:43 +0000)]
Changed the sys_acl_get_file() function to return ENOTSUP for
the non-supported SMB_ACL_TYPE_DEFAULT ACLs.

17 years agoAdded missing DEBUG() define.
Wayne Davison [Sun, 22 Oct 2006 07:15:17 +0000 (07:15 +0000)]
Added missing DEBUG() define.

17 years agoNeed to use (mode_t)~0 instead of ~0u for portability.
Wayne Davison [Sun, 22 Oct 2006 04:16:23 +0000 (04:16 +0000)]
Need to use (mode_t)~0 instead of ~0u for portability.

17 years agoFixed the crash problem Matt found.
Wayne Davison [Sun, 22 Oct 2006 02:21:15 +0000 (02:21 +0000)]
Fixed the crash problem Matt found.

17 years agoFixed a bug when acls are being preserved and one of the --*-dest options
Wayne Davison [Sat, 21 Oct 2006 21:00:47 +0000 (21:00 +0000)]
Fixed a bug when acls are being preserved and one of the --*-dest options
are in effect.  Matt pointed out that the ACL-checking code was trying to
check the perms of a non-existent destination file instead of an alternate
basis file (when the dest does not exist and an alt-basis does).

17 years agoFixed failing hunk.
Wayne Davison [Wed, 18 Oct 2006 04:43:11 +0000 (04:43 +0000)]
Fixed failing hunk.

17 years ago- Fixed the filename passed to make_mutable().
Wayne Davison [Mon, 16 Oct 2006 06:54:58 +0000 (06:54 +0000)]
- Fixed the filename passed to make_mutable().
- Mention the ./prepare_source; configure commands.

17 years agoGot rid of the (unneeded) ./prepare_source instructions.
Wayne Davison [Mon, 16 Oct 2006 06:54:06 +0000 (06:54 +0000)]
Got rid of the (unneeded) ./prepare_source instructions.

17 years agoFixed compilation problems that crept into the code.
Wayne Davison [Sun, 15 Oct 2006 20:22:53 +0000 (20:22 +0000)]
Fixed compilation problems that crept into the code.

17 years agoI don't think we need this.
Wayne Davison [Sun, 15 Oct 2006 19:09:52 +0000 (19:09 +0000)]
I don't think we need this.

17 years agoChanged the code to call make_mutable() on a temp file that is about
Wayne Davison [Sun, 15 Oct 2006 17:57:46 +0000 (17:57 +0000)]
Changed the code to call make_mutable() on a temp file that is about
to be renamed.  Also, optimized the make_mutable() call to avoid an
extra stat().

17 years agoThe changes to cleanup.c now use the new case_N.h file.
Wayne Davison [Sun, 15 Oct 2006 15:47:56 +0000 (15:47 +0000)]
The changes to cleanup.c now use the new case_N.h file.

17 years agoFixed a failing hunk.
Wayne Davison [Sat, 14 Oct 2006 20:12:49 +0000 (20:12 +0000)]
Fixed a failing hunk.

17 years agoFixed failing hunk.
Wayne Davison [Sat, 14 Oct 2006 20:10:21 +0000 (20:10 +0000)]
Fixed failing hunk.

17 years agoFixed failing hunks.
Wayne Davison [Fri, 13 Oct 2006 23:57:13 +0000 (23:57 +0000)]
Fixed failing hunks.

17 years agoGot rid of double-fuzz hunk.
Wayne Davison [Fri, 13 Oct 2006 07:54:52 +0000 (07:54 +0000)]
Got rid of double-fuzz hunk.

17 years agoFixed failing hunks.
Wayne Davison [Fri, 13 Oct 2006 07:53:38 +0000 (07:53 +0000)]
Fixed failing hunks.

17 years agoFixed a failing hunk.
Wayne Davison [Fri, 13 Oct 2006 06:53:59 +0000 (06:53 +0000)]
Fixed a failing hunk.

17 years agoUpdated for rolled-back trunk.
Wayne Davison [Thu, 12 Oct 2006 03:08:46 +0000 (03:08 +0000)]
Updated for rolled-back trunk.

17 years agoFixed failing hunks and failing itemize testsuite.
Wayne Davison [Wed, 11 Oct 2006 00:54:29 +0000 (00:54 +0000)]
Fixed failing hunks and failing itemize testsuite.

17 years agoFixed a failing hunk.
Wayne Davison [Mon, 9 Oct 2006 03:13:47 +0000 (03:13 +0000)]
Fixed a failing hunk.

17 years agoFixed some failing hunks.
Wayne Davison [Mon, 9 Oct 2006 00:56:12 +0000 (00:56 +0000)]
Fixed some failing hunks.

17 years agoFixed failing hunks.
Wayne Davison [Sun, 8 Oct 2006 22:32:34 +0000 (22:32 +0000)]
Fixed failing hunks.

17 years agoFixed some failing hunks.
Wayne Davison [Sun, 24 Sep 2006 03:31:34 +0000 (03:31 +0000)]
Fixed some failing hunks.

17 years agoSome improvements from marineam@osuosl.org.
Wayne Davison [Wed, 20 Sep 2006 14:22:49 +0000 (14:22 +0000)]
Some improvements from marineam@osuosl.org.

17 years agoFixed failing hunks.
Wayne Davison [Wed, 20 Sep 2006 14:11:37 +0000 (14:11 +0000)]
Fixed failing hunks.

17 years agoFixed failing hunks.
Wayne Davison [Tue, 25 Jul 2006 14:53:33 +0000 (14:53 +0000)]
Fixed failing hunks.

17 years agoFixed failing hunks.
Wayne Davison [Wed, 5 Jul 2006 06:00:31 +0000 (06:00 +0000)]
Fixed failing hunks.

17 years agoA patch from Antti Tapaninen.
Wayne Davison [Wed, 7 Jun 2006 23:32:41 +0000 (23:32 +0000)]
A patch from Antti Tapaninen.

17 years agoFixed failing hunks.
Wayne Davison [Wed, 7 Jun 2006 23:31:34 +0000 (23:31 +0000)]
Fixed failing hunks.

17 years agoA patch from Stefan Müller.
Wayne Davison [Wed, 7 Jun 2006 18:36:49 +0000 (18:36 +0000)]
A patch from Stefan Müller.

17 years agoGot rid of some patch fuzz.
Wayne Davison [Mon, 5 Jun 2006 20:58:58 +0000 (20:58 +0000)]
Got rid of some patch fuzz.

17 years agoFixed a failing hunk.
Wayne Davison [Mon, 5 Jun 2006 20:57:03 +0000 (20:57 +0000)]
Fixed a failing hunk.

17 years agoFixed a failing hunk.
Wayne Davison [Thu, 1 Jun 2006 08:07:53 +0000 (08:07 +0000)]
Fixed a failing hunk.

17 years agoMention -X isn't included in --archive (-a) in option summary.
Wayne Davison [Wed, 31 May 2006 15:27:23 +0000 (15:27 +0000)]
Mention -X isn't included in --archive (-a) in option summary.

17 years agoMention -A isn't included in --archive (-a) in option summary.
Wayne Davison [Wed, 31 May 2006 15:24:12 +0000 (15:24 +0000)]
Mention -A isn't included in --archive (-a) in option summary.

17 years agoFixed failing hunks.
Wayne Davison [Mon, 29 May 2006 23:08:04 +0000 (23:08 +0000)]
Fixed failing hunks.

17 years agoFixed a failing hunk.
Wayne Davison [Thu, 18 May 2006 17:25:27 +0000 (17:25 +0000)]
Fixed a failing hunk.

17 years agoFixed some patch fuzz.
Wayne Davison [Wed, 17 May 2006 06:30:59 +0000 (06:30 +0000)]
Fixed some patch fuzz.

17 years agoFixed a failing hunk.
Wayne Davison [Wed, 17 May 2006 06:29:55 +0000 (06:29 +0000)]
Fixed a failing hunk.

17 years agoGot rid of patch fuzz.
Wayne Davison [Sat, 13 May 2006 08:29:36 +0000 (08:29 +0000)]
Got rid of patch fuzz.

17 years agoFixed failing hunks.
Wayne Davison [Tue, 9 May 2006 18:50:36 +0000 (18:50 +0000)]
Fixed failing hunks.

17 years agoApplied this to the trunk (with a few improvements).
Wayne Davison [Tue, 9 May 2006 18:41:55 +0000 (18:41 +0000)]
Applied this to the trunk (with a few improvements).

18 years agoFixed some patch fuzz.
Wayne Davison [Fri, 5 May 2006 16:09:53 +0000 (16:09 +0000)]
Fixed some patch fuzz.

18 years agoFixed failing hunks.
Wayne Davison [Fri, 5 May 2006 16:06:22 +0000 (16:06 +0000)]
Fixed failing hunks.

18 years agoFixed a problem with the ACLS_NEED_MASK code in unpack_smb_acl().
Wayne Davison [Thu, 4 May 2006 05:48:09 +0000 (05:48 +0000)]
Fixed a problem with the ACLS_NEED_MASK code in unpack_smb_acl().

18 years ago- A couple minor changes for systems with a forced mask.
Wayne Davison [Thu, 4 May 2006 00:59:51 +0000 (00:59 +0000)]
- A couple minor changes for systems with a forced mask.
- Some comment tweaks.

18 years agoFixed failing hunks.
Wayne Davison [Wed, 3 May 2006 17:23:14 +0000 (17:23 +0000)]
Fixed failing hunks.

18 years agoFixed failing hunks.
Wayne Davison [Wed, 3 May 2006 06:38:00 +0000 (06:38 +0000)]
Fixed failing hunks.

18 years agoFixed failing hunks.
Wayne Davison [Tue, 2 May 2006 17:21:29 +0000 (17:21 +0000)]
Fixed failing hunks.

18 years ago- Updated to apply over the new ACL patch.
Wayne Davison [Mon, 1 May 2006 19:07:06 +0000 (19:07 +0000)]
- Updated to apply over the new ACL patch.
- Updated with memory-allocation and backup-call improvements
  (similar to what went into the ACL patch).

18 years ago- Improved send_acl() to handle an error case where the ACL info
Wayne Davison [Mon, 1 May 2006 18:58:49 +0000 (18:58 +0000)]
- Improved send_acl() to handle an error case where the ACL info
  is missing.
- Improved cache_acl() to ignore a symlink, to free the ACL info
  from the statx object, and to flag missing ACL data with an
  index value of -1.
- Improved set_acl() to ignore invalid index values and to assume
  that missing statx ACL info means that the ACL info differs.

18 years agoGot rid of the extra file-list int32 index vars on the sending side.
Wayne Davison [Mon, 1 May 2006 17:49:44 +0000 (17:49 +0000)]
Got rid of the extra file-list int32 index vars on the sending side.

18 years agoMoved the inclusion of the ACL include files from rsync.h into
Wayne Davison [Mon, 1 May 2006 17:04:20 +0000 (17:04 +0000)]
Moved the inclusion of the ACL include files from h into
lib/sysacls.h.

18 years agoTweaked the naming of the ACL functions.
Wayne Davison [Mon, 1 May 2006 16:50:31 +0000 (16:50 +0000)]
Tweaked the naming of the ACL functions.

18 years agoImproved expand_item_list() to allow the increment size to be specified.
Wayne Davison [Mon, 1 May 2006 15:56:52 +0000 (15:56 +0000)]
Improved expand_item_list() to allow the increment size to be specified.

18 years agoMoved the generic list-growing function into util.c so that the
Wayne Davison [Sun, 30 Apr 2006 23:53:14 +0000 (23:53 +0000)]
Moved the generic list-growing function into util.c so that the
xattr code can use it.

18 years agoRenamed a variable in flist.c.
Wayne Davison [Sun, 30 Apr 2006 23:06:27 +0000 (23:06 +0000)]
Renamed a variable in flist.c.

18 years agoFixed failing hunks.
Wayne Davison [Sun, 30 Apr 2006 22:40:58 +0000 (22:40 +0000)]
Fixed failing hunks.

18 years agoSome extensive changes include:
Wayne Davison [Sun, 30 Apr 2006 22:06:41 +0000 (22:06 +0000)]
Some extensive changes include:
- Added an ACL indicator to the itemized output.
- Ensure that --link-dest doesn't link together two items that
  differ in their ACLs (when ACLs are being preserved).
- Optimized the memory allocation routines, getting rid of the
  redundant allocation functions saving memory, and, getting rid
  of the need for a sort routine and a search routine.
- Added a more general-purpose ACL-reading function that can be
  used by the sending code and the receiving code (including the
  backup code, which removes a bunch of special-purpose functions
  that the backup code was using).

18 years agoGot rid of a superfluous call to f_name() in receive_acl().
Wayne Davison [Sat, 29 Apr 2006 09:14:31 +0000 (09:14 +0000)]
Got rid of a superfluous call to f_name() in receive_acl().

18 years agoWe make sure that the rsync_acl objects never have a forced
Wayne Davison [Fri, 28 Apr 2006 17:39:09 +0000 (17:39 +0000)]
We make sure that the rsync_acl objects never have a forced
mask entry (i.e. one that is present even when a list is not).

18 years agoFixed a problem with send_acl() when f == -1.
Wayne Davison [Thu, 27 Apr 2006 00:34:52 +0000 (00:34 +0000)]
Fixed a problem with send_acl() when f == -1.

18 years agoUpdated the header comments in two files to have the latest FSF address.
Wayne Davison [Wed, 26 Apr 2006 00:31:10 +0000 (00:31 +0000)]
Updated the header comments in two files to have the latest FSF address.

18 years agoUpdated two more header comments with the latest FSF address.
Wayne Davison [Wed, 26 Apr 2006 00:30:03 +0000 (00:30 +0000)]
Updated two more header comments with the latest FSF address.

18 years agoUpdated the copyright info in the new acls.c file.
Wayne Davison [Tue, 25 Apr 2006 23:56:15 +0000 (23:56 +0000)]
Updated the copyright info in the new acls.c file.

18 years agoMake sure that ida_list_free() doesn't call free() on a NULL pointer.
Wayne Davison [Tue, 25 Apr 2006 23:35:11 +0000 (23:35 +0000)]
Make sure that ida_list_free() doesn't call free() on a NULL pointer.

18 years agoFixed some high-level patch fuzz.
Wayne Davison [Tue, 25 Apr 2006 20:32:41 +0000 (20:32 +0000)]
Fixed some high-level patch fuzz.

18 years agoFixed failing hunks.
Wayne Davison [Tue, 25 Apr 2006 20:30:35 +0000 (20:30 +0000)]
Fixed failing hunks.

18 years agoFixed a bug in rsync_acl_extended_parts_equal() where it could
Wayne Davison [Sat, 22 Apr 2006 19:31:54 +0000 (19:31 +0000)]
Fixed a bug in rsync_acl_extended_parts_equal() where it could
return False just because the second arg had a mask w/o a group_obj
(because the identical group_obj had been elided for transit).

18 years agoFixed a failing hunk.
Wayne Davison [Fri, 21 Apr 2006 16:58:13 +0000 (16:58 +0000)]
Fixed a failing hunk.

18 years agoFixed a build problem with the last change.
Wayne Davison [Fri, 21 Apr 2006 02:56:35 +0000 (02:56 +0000)]
Fixed a build problem with the last change.

18 years agoAdded a sanity check to the xattr-reading code so that some crafty
Wayne Davison [Fri, 21 Apr 2006 00:04:16 +0000 (00:04 +0000)]
Added a sanity check to the xattr-reading code so that some crafty
size values cannot cause a buffer overflow.

18 years agoFixed failing hunks.
Wayne Davison [Tue, 18 Apr 2006 04:45:44 +0000 (04:45 +0000)]
Fixed failing hunks.

18 years agoA slight tweak to the logic that calls log_exit().
Wayne Davison [Tue, 18 Apr 2006 04:45:30 +0000 (04:45 +0000)]
A slight tweak to the logic that calls log_exit().

18 years agoAdded a simple ACL-copying test to the testsuite.
Wayne Davison [Tue, 11 Apr 2006 00:19:37 +0000 (00:19 +0000)]
Added a simple ACL-copying test to the testsuite.

18 years agoA tweak to the configure output from Mike Frysinger.
Wayne Davison [Sat, 8 Apr 2006 16:25:09 +0000 (16:25 +0000)]
A tweak to the configure output from Mike Frysinger.

18 years agoMake sure that whenever log_init() gets called, that a daemon rsync
Wayne Davison [Sat, 8 Apr 2006 16:15:30 +0000 (16:15 +0000)]
Make sure that whenever log_init() gets called, that a daemon rsync
will use the current value of lp_log_file().

18 years agoChanged variable "logfile" to "logfile_fp".
Wayne Davison [Thu, 6 Apr 2006 21:14:18 +0000 (21:14 +0000)]
Changed variable "logfile" to "logfile_fp".

18 years ago- Make sure that logfile_name is set properly for all possible
Wayne Davison [Thu, 6 Apr 2006 07:51:54 +0000 (07:51 +0000)]
- Make sure that logfile_name is set properly for all possible
  daemon modes.
- Fixed some failing hunks.

18 years agoFixed a failing hunk.
Wayne Davison [Wed, 22 Mar 2006 09:24:41 +0000 (09:24 +0000)]
Fixed a failing hunk.

18 years agoImproved the opening comments.
Wayne Davison [Wed, 22 Mar 2006 09:21:46 +0000 (09:21 +0000)]
Improved the opening comments.

18 years agoA fix to define SUPPORT_FLAGS earlier in rsync.h.
Wayne Davison [Tue, 21 Mar 2006 21:59:35 +0000 (21:59 +0000)]
A fix to define SUPPORT_FLAGS earlier in rsync.h.

18 years agoA little more misc. cleanup.
Wayne Davison [Tue, 21 Mar 2006 07:55:12 +0000 (07:55 +0000)]
A little more misc. cleanup.

18 years agoA new version of an old patch by Rolf Grossmann.
Wayne Davison [Mon, 20 Mar 2006 23:54:26 +0000 (23:54 +0000)]
A new version of an old patch by Rolf Grossmann.

18 years agoThis is a better version for the updated acls.diff patch than
Wayne Davison [Mon, 20 Mar 2006 18:01:57 +0000 (18:01 +0000)]
This is a better version for the updated acls.diff patch than
what I had created before.

18 years ago- Fixed a logic problem for an ACLS_NEED_MASK system where group_obj
Wayne Davison [Mon, 20 Mar 2006 00:59:12 +0000 (00:59 +0000)]
- Fixed a logic problem for an ACLS_NEED_MASK system where group_obj
  would not get reconstructed correctly for simple ACL sets.
- Fixed a build problem for an ACLS_NEED_MASK system.
- Avoid sending redundant group/mask info when possible.
- Renamed NO_ENTRY define ACL_NO_ENTRY.