HomeFreeBSD

Do not allow to use O_BENEATH as an oracle.

Description

Do not allow to use O_BENEATH as an oracle.

Specifically, if lookup() returned any error and the topping directory
was not latched, which means that (non-existent) path did not returned
to the topping location, give ENOTCAPABLE a priority over the lookup()
error.

PR: 249960
Reviewed by: emaste, ngie
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D26695

Details

Provenance
kibAuthored on
Reviewer
emaste
Differential Revision
D26695: Do not allow to use O_BENEATH as an oracle.
Parents
rS366548: [PowerPC] add machdep.uprintf_signal sysctl
Branches
Unknown
Tags
Unknown