Date: Tue, 22 Sep 2020 22:48:41 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 248335] O_BENEATH leaks information about parent directories Message-ID: <bug-248335-227-Gjgtp7IQQJ@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-248335-227@https.bugs.freebsd.org/bugzilla/> References: <bug-248335-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248335 --- Comment #6 from commit-hook@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_BENE= ATH. 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@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 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-248335-227-Gjgtp7IQQJ>