aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* rsync: Silence build warningslineage-16.0Michael Bestas2019-03-021-1/+3
| | | | Change-Id: I4d2fbf2be25fe8c13dfadd61e83427d1675e2a9f
* rsync: don't spam warnings as errorsRashed Abdel-Tawab2018-09-031-0/+1
| | | | Change-Id: I1f1ded45364b78e8ecbf7faa8f393d3669a75576
* Android build, static config, and changesDylan Simon2018-09-037-4/+1296
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Works fine on emulator both for local copies and in daemon mode. Very few changes necessary. Change-Id: I6ef54769b00333f84eabd1306381eac80b3d5f09 proto.h update Add LOCAL_MODULE_TAGS Change-Id: Id972b0c0c876477cb29fcb9bb5b4a9c6be6703c0 update config.h and proto.h Fix build with 4.3's bionic Change-Id: I09ca525c26571d8dd492339a6763f012783531ef Fix android compilation for 3.1.1 Change-Id: Ic8c134020beb98e1e52c4d527cbdbfe591d67262 rsync: Fix compilation for O-MR1 Change-Id: I546bbb40339cfce8fe854596fa7442fa0c08b43e rsync: fix build after 3.1.2 rebase Change-Id: I6fd02633db2ce15f60299174ae5b34df577195a5 revert dev_t changes Change-Id: I947106cd86617bdc48a23a03191d491dbe4ca5ea
* Need to mark xattr rules in get_rule_prefix().Wayne Davison2018-06-142-0/+4
| | | | | This fixes the bug of xattr filters getting sent as a normal filter rule (since the 'x' was dropped in the prefix).
* Avoid a compiler error/warning about shifting a negative value.Wayne Davison2018-03-252-2/+3
| | | | Fixes bug #13268.
* Allow some pre-/post-xfer exec shell restrictions.Wayne Davison2018-03-256-9/+37
| | | | Support both RSYNC_SHELL & RSYNC_NO_XFER_EXEC environment variables.
* Prepare the repository for more development.Wayne Davison2018-03-253-41/+53
|
* Preparing for release of 3.1.3Wayne Davison2018-01-286-12/+12
|
* Mention nanoseconds change.Wayne Davison2018-01-151-0/+2
|
* Don't force nanoseconds if a file wasn't transferred or checksummed.Wayne Davison2018-01-154-5/+9
|
* Preparing for release of 3.1.3pre1Wayne Davison2018-01-145-11/+12
|
* Tweak copyright date.Wayne Davison2018-01-1457-58/+58
|
* Mention more changes.Wayne Davison2018-01-141-5/+26
|
* Ignore --protect-args when already sent by clientJeriko One2018-01-091-0/+5
| | | | | | | | | In parse_arguments when --protect-args is encountered the function exits early. The caller is expected to check protect_args, and recall parse_arguments setting protect_args to 2. This patch prevents the client from resetting protect_args during the second pass of parse_arguments. This prevents parse_arguments returning early the second time before it's able to sanitize the arguments it received.
* Fix issue with earlier path-check (fixes "make check")Wayne Davison2017-12-032-6/+6
| | | | and make a BOOL more explicit.
* Check daemon filter against fnamecmp in recv_files().Jeriko One2017-12-031-1/+1
|
* Sanitize xname in read_ndx_and_attrs.Jeriko One2017-12-031-0/+6
|
* Check fname in recv_files sooner.Jeriko One2017-12-031-6/+6
|
* More archaic-checksum improvements. This makes the len vars clearerWayne Davison2017-11-079-36/+35
| | | | and ensures that only the flist code gets the 2-byte digest len.
* Use the right sum len.Wayne Davison2017-11-071-2/+3
|
* Replace startdit|enddit with description for newer yodl.Wayne Davison2017-11-052-13/+47
| | | | Fixes bug 13115.
* Add missing closing paren that Paul Slootman pointed out.Wayne Davison2017-11-051-1/+1
|
* Enforce trailing \0 when receiving xattr name values.Wayne Davison2017-11-051-0/+4
| | | | Fixes bug 13112.
* Use full MD4 len for archaic protocol auth.Wayne Davison2017-10-302-6/+14
|
* Don't overflow an allocated dest buf when input path is empty.Wayne Davison2017-10-291-4/+4
| | | | Fixes bug 13105.
* Add an extra argc validation in do_server_sender().Wayne Davison2017-10-291-5/+8
| | | | Fixes bug 13104.
* Only allow a modern checksum method for passwords.Wayne Davison2017-10-241-0/+6
|
* Don't forget to tweak sum_update().Wayne Davison2017-10-241-0/+1
|
* Handle archaic checksums properly.Wayne Davison2017-10-241-6/+14
|
* Set our_uid & our_gid values when changed by the daemon.Wayne Davison2017-10-091-1/+8
| | | | Fixes bug 10719.
* Mention --link-dest limit.Wayne Davison2017-10-081-1/+1
|
* Mention refusing delete for write-only.Wayne Davison2017-10-081-0/+3
|
* Mention -O is forced, not just implied.Wayne Davison2017-10-081-1/+1
|
* Fix double-fuzzy + link-dest issue.Wayne Davison2017-10-081-1/+1
| | | | Fixes bug 11866.
* Fix possible buffer overrun for some large name_len values.Wayne Davison2017-10-071-1/+1
| | | | Fixes bug 12568.
* Add "daemon chroot|uid|gid" parameters.Wayne Davison2017-09-043-5/+68
| | | | | | This allows the daemon to run chrooted as any uid+gid you like (prior to the transfer possibly changing the chroot and/or the uid+gid further). Based on the patch in #12817.
* Add nanosecond mtime support for Mac OS X.Wayne Davison2017-08-315-4/+40
| | | | Slightly tweaked the patch contributed by Heikki Lindholm.
* Add "syslog tag" to rsync daemon config.Wayne Davison2017-04-293-9/+23
|
* Don't allow --daemon or --server alias via popt.Wayne Davison2017-02-201-1/+20
| | | | Fixes bug 12576.
* Add a way to specify xattr name filtering.Wayne Davison2017-01-226-49/+106
|
* Join some lines.Wayne Davison2017-01-223-24/+13
|
* Get rid of some superfluous double-quotes in error messages.Wayne Davison2017-01-221-11/+11
|
* Fix extern of preallocated_len w/o SUPPORT_PREALLOCATION.Wayne Davison2016-10-311-2/+0
|
* More fixes for --progress quirks.Wayne Davison2016-10-292-13/+18
| | | | | | | This patch avoids inconsistent evaluation of options in the show_filelist_p() function by turning it into a var. We also avoid setting "output_needs_newline" if --quiet was specified.
* We need a LF after filelist-progress with a CR.Wayne Davison2016-10-291-0/+2
| | | | Fixes bug 12367.
* Use S_BLKSIZE when multiplying st_blocks.Wayne Davison2016-10-151-1/+11
|
* Support --sparse combined with --preallocate or --inplace.Wayne Davison2016-10-1010-84/+202
| | | | | | The new code tries to punch holes in the destination file using newer Linux fallocate features. It also supports a --whole-file + --sparse + --inplace copy on any filesystem by truncating the destination file.
* xattrs: maintain a hashtable in order to speed up find_matching_xattr()Stefan Metzmacher2016-08-141-8/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As a testcase I've used one directory on gpfs with 1000000 files, each with an xattr called 'name$i' having a value of 'value$i'. So we also have 1000000 unique xattrs. The source and dest directories are already in sync before. So the rsync command is basically a noop, just verifying that everything is already in sync. The results before this patchset are: [gpfs]# time rsync -a -P -X -q source-xattr/ dest-with-xattr/ real 8m46.191s user 6m29.016s sys 0m24.883s [gpfs]# time rsync -a -P -q source-xattr/ dest-without-xattr/ real 1m58.462s user 0m0.957s sys 0m11.801s With the patchset I got: [gpfs]# time /gpfs/rsync.install/bin/rsync -a -P -X -q source-xattr/ dest-with-xattr/ real 2m4.150s user 0m1.917s sys 0m17.077s [gpfs]# time /gpfs/rsync.install/bin/rsync -a -P -q source-xattr/ dest-without-xattr/ real 1m59.534s user 0m0.924s sys 0m11.599s It means the time in userspace dropped from 6m29.016s down to 0m1.917s! Without -X we get ~ 0m0.9s with or without the patch. Part of a patchset for bug 5324.
* hashtable: add hashlittle() from lookup3.c, by Bob JenkinsStefan Metzmacher2016-08-141-0/+302
| | | | Part of a patchset for bug 5324.
* xattrs: introduce a rsync_xa_list struct as layer between two nested item_listsStefan Metzmacher2016-08-141-26/+46
| | | | | | | | | | We have the global 'item_list rsync_xal_l', this maintains an array of rsync_xa_list structure, one per file. Each rsync_xa_list structure maintains an array of rsync_xa structure, while each represent a single xattr with name and value. Part of a patchset for bug 5324.