summaryrefslogtreecommitdiff
path: root/regress/sys/kern/sigpending
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2019-09-11 15:01:41 +0000
committerBob Beck <beck@cvs.openbsd.org>2019-09-11 15:01:41 +0000
commitf75a014c0238c72040557df6e22be5a01eb8712a (patch)
tree5c069402a10b214dd6ae93491bb14961bca1baaa /regress/sys/kern/sigpending
parent8e93f11dfb8d73f15e084a3da8ef2b7bec018ea3 (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