diff options
author | Bob Beck <beck@cvs.openbsd.org> | 2019-03-24 18:14:21 +0000 |
---|---|---|
committer | Bob Beck <beck@cvs.openbsd.org> | 2019-03-24 18:14:21 +0000 |
commit | f477606d599d447fc34dc9aa847f6cb9944e7d2b (patch) | |
tree | 00687ede34873982e69b8f0fff94702ef455ad36 /sys/dev/usb/if_cdce.c | |
parent | 008e6dc1e5430c28d62ccf51165e4ac6879bf85b (diff) |
Make stat(2) and access(2) need UNVEIL_READ instead of UNVEIL_INSPECT
UNVEIL_INSPECT is a hack we added to get chrome/glib working. It silently
adds permission for stat(2), access(2), and readlink(2) to be used on
all path components of any unveil'ed path. robert@ has sucessfully now
fixed chrome/glib to not require exessive TOC vs TOU stat(2) and access(2)
calls on the paths it uses, so that this no longer needed there.
readlink(2) is the sole call that is now permitted by UNVEIL_INSPECT,
and this is only needed so that realpath(3) can work. Going forward we will
likely make a realpath(2), after which we can completely deprecate
UNVEIL_INSPECT.
ok deraadt@
Diffstat (limited to 'sys/dev/usb/if_cdce.c')
0 files changed, 0 insertions, 0 deletions