]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
open(2): update ENOTCAPABLE description for .. lookups
authorEd Maste <emaste@FreeBSD.org>
Fri, 15 Sep 2017 20:05:55 +0000 (20:05 +0000)
committerEd Maste <emaste@FreeBSD.org>
Fri, 15 Sep 2017 20:05:55 +0000 (20:05 +0000)
commit487214afa5b71e7ded917f23fa0c3af582ca24d5
treeea088ac78410dd34c78ab6ada9eca0a65bd602e5
parent011e84e0a7cd069d1c4a4b457c724c8ed60cd81f
open(2): update ENOTCAPABLE description for .. lookups

After r308212 Capsicum permits .. lookups in capability mode, as long as
path component traversal does not escape the directory corresponding to
the provided file descriptor.

We should add a description of the vfs.lookup_cap_dotdot and
vfs.lookup_cap_dotdot_nonlocal sysctls, perhaps as a cross-reference to
capsicum(4). I intend to look at that soon.

Reviewed by: bjk, cem, kib
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D12343
lib/libc/sys/open.2