HomeFreeBSD

When restoring a directory, allow symlinks to be followed. The full
rS182838Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

When restoring a directory, allow symlinks to be followed. The full
logic here gets a little complex, but the net effect is that the
SECURE_SYMLINKS flag will prevent us from ever following a symlink.
Without it, we'll only follow symlinks to dirs. bsdtar specifies
SECURE_SYMLINKS by default, suppresses it for -P.

I've also beefed up the write_disk_secure test to verify this
behavior.

PR: bin/126849

Details

Provenance
kientzleAuthored on
Parents
rS182837: Use bus_space_compare() rather than i386_memio_compare() directly.
Branches
Unknown
Tags
Unknown

Event Timeline