CVSROOT:        /cvs
Module name:    src
Changes by:     dera...@cvs.openbsd.org 2025/05/29 11:03:43

Modified files:
        usr.bin/rsync  : copy.c extern.h main.c receiver.c uploader.c 

Log message:
For --compare-dest and other similar operations, openat() was being
used relative to the main directory, which in the rpki-client case is
crazy ../../.. paths -- rsync arguments could end up with files
anywhere on the filesystem and noone knew where until the openat
calls() happened.  This design also led to unveil("/", "r").  It is
better to contruct absolute paths and use open() in the right places.
ok job, lots of discussion with claudio

Reply via email to