HomeFreeBSD

Implement O_BENEATH and AT_BENEATH.

Description

Implement O_BENEATH and AT_BENEATH.

Flags prevent open(2) and *at(2) vfs syscalls name lookup from
escaping the starting directory. Supposedly the interface is similar
to the same proposed Linux flags.

Reviewed by: jilles (code, previous version of manpages), 0mp (manpages)
Discussed with: allanjude, emaste, jonathan
Sponsored by: The FreeBSD Foundation
Differential revision: https://reviews.freebsd.org/D17547

Details

Committed
kibOct 25 2018, 10:16 PM
Reviewer
jilles
Differential Revision
D17547: Implement O_BENEATH and AT_BENEATH
Parents
rS339747: Minor style fixes around script execution.
Branches
Unknown
Tags
Unknown