mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-09-12 21:28:25 -04:00
Differential test for the daemon files-from/backup-symlink out-of-module read. It races a --backup-dir push against a parent-swap flipper until a root-owned backup symlink to an out-of-module secret lands in the backup tree, then tries --files-from=:backup/sub/<name> and fails if the secret's content is read back as the file list. RED before the module-root confinement, GREEN after. Requires root plus an untrusted uid to plant the cross-uid symlink; skips otherwise. Registered in the Cygwin expected-skip list. Based on a report and proof-of-concept test by seks99x.