summaryrefslogtreecommitdiff
path: root/tools/include/uapi
diff options
context:
space:
mode:
authorCong Wang <cwang@multikernel.io>2026-09-24 15:30:17 -0700
committerKees Cook <kees@kernel.org>2026-10-06 01:54:49 -0700
commitc96a4cb2c8bab0c62e1cd1bc0cebac213bdb7d7d (patch)
tree1c4593097611603703749b47bef51ee392eccc7e /tools/include/uapi
parent54971c8061943d1cd10290ec754b3597452eb15a (diff)
downloadlinux-next-c96a4cb2c8bab0c62e1cd1bc0cebac213bdb7d7d.tar.gz
linux-next-c96a4cb2c8bab0c62e1cd1bc0cebac213bdb7d7d.zip
selftests/seccomp: test addfd with an O_PATH descriptor
SECCOMP_IOCTL_NOTIF_ADDFD used to reject O_PATH source descriptors with EBADF. Add a regression test that injects one into a notified task. Verify that the injected descriptor retains O_PATH semantics and the requested close-on-exec flag. The test fails on the original fget() path and passes with fget_raw(). Assisted-by: Codex:gpt-6 Signed-off-by: Cong Wang <cwang@multikernel.io> Link: https://patch.msgid.link/20260924223018.564548-3-xiyou.wangcong@gmail.com Signed-off-by: Kees Cook <kees@kernel.org>
Diffstat (limited to 'tools/include/uapi')
0 files changed, 0 insertions, 0 deletions