Up to [local] / src / usr.bin / rsync
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_6_9_BASE
Revision 1.31 / (download) - annotate - [select for diffs], Mon Mar 22 11:49:15 2021 UTC (3 years, 2 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_6_9_BASE
Branch point for: OPENBSD_6_9
Changes since 1.30: +1 -21 lines
Diff to previous 1.30 (colored)
Remove unveil() from the rsync_sender() and flist_gen(). The sender is not able to properly unveil itself because you can request many files as arguments. At the same time the sender is read-only and uses rpath pledge() so the gain from unveil() is less of an issue. On the receiver side all files land in one directory and this part still uses unveil() to protect rsync to somehow walk out of the destination directory. From kristaps@