]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Allow absolute paths for O_BENEATH.
authorkib <kib@FreeBSD.org>
Sun, 11 Nov 2018 00:04:36 +0000 (00:04 +0000)
committerkib <kib@FreeBSD.org>
Sun, 11 Nov 2018 00:04:36 +0000 (00:04 +0000)
commitb609d75f3a2aad06318fb98e39af15e574559b6d
treec45251e1d8146c89b3167b65b229f7f8d3afc22a
parentfc7179c5b99cd2fca8f580eb1633f957c94c52c9
Allow absolute paths for O_BENEATH.

The path must have a tail which does not escape starting/topping
directory.  The documentation will come shortly, see the man pages
commit message for the reason of separate commit.

Reviewed by: jilles (previous version)
Discussed with: emaste
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D17714
sys/kern/vfs_lookup.c
sys/sys/namei.h