[Bug 248335] O_BENEATH leaks information about parent directories
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Sep 22 22:48:43 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248335
--- Comment #6 from commit-hook at FreeBSD.org ---
A commit references this bug:
Author: kib
Date: Tue Sep 22 22:48:13 UTC 2020
New revision: 366022
URL: https://svnweb.freebsd.org/changeset/base/366022
Log:
Add O_RESOLVE_BENEATH and AT_RESOLVE_BENEATH to mimic Linux' RESOLVE_BENEATH.
It is like O_BENEATH, but disables to walk out of the subtree rooted
in the starting directory. O_BENEATH does not care if path walks out
if it returned.
Requested by: Dan Gohman <dev at sunfishcode.online>
PR: 248335
Reviewed by: markj
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D25886
Changes:
head/sys/kern/vfs_lookup.c
head/sys/kern/vfs_syscalls.c
head/sys/kern/vfs_vnops.c
head/sys/sys/fcntl.h
head/sys/sys/namei.h
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list