diff options
author | Bob Beck <beck@cvs.openbsd.org> | 2019-09-11 15:01:41 +0000 |
---|---|---|
committer | Bob Beck <beck@cvs.openbsd.org> | 2019-09-11 15:01:41 +0000 |
commit | f75a014c0238c72040557df6e22be5a01eb8712a (patch) | |
tree | 5c069402a10b214dd6ae93491bb14961bca1baaa /regress/sys/kern/sigpending | |
parent | 8e93f11dfb8d73f15e084a3da8ef2b7bec018ea3 (diff) |
Fix unveil for relative lookups in the non AT_FDCWD case
Issue spotted by Benjamin Baier <programmer@netzbasis.de> with relative
path lookups from openat(2). Lacking a current working directory unveil,
operations using the *at functions could fail when not crossing an unveil,
since an initial covering unveil was not found.
This corrects this so we walk up from the directory vnode to find a
covering unveil at the start of non AT_FDCWD lookups, and adds regress
for this case.
ok bluhm@
Diffstat (limited to 'regress/sys/kern/sigpending')
0 files changed, 0 insertions, 0 deletions