summaryrefslogtreecommitdiff
path: root/include/asm-generic/seccomp.h
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2020-06-16 01:42:46 +0300
committerKees Cook <keescook@chromium.org>2020-07-11 02:01:52 +0300
commit47e33c05f9f07cac3de833e531bcac9ae052c7ca (patch)
tree1913290075b6efe5174e4843fd42224316e59be1 /include/asm-generic/seccomp.h
parent279ed8900079831ba436007dbc5e24530f026ce2 (diff)
downloadlinux-47e33c05f9f07cac3de833e531bcac9ae052c7ca.tar.xz
seccomp: Fix ioctl number for SECCOMP_IOCTL_NOTIF_ID_VALID
When SECCOMP_IOCTL_NOTIF_ID_VALID was first introduced it had the wrong direction flag set. While this isn't a big deal as nothing currently enforces these bits in the kernel, it should be defined correctly. Fix the define and provide support for the old command until it is no longer needed for backward compatibility. Fixes: 6a21cc50f0c7 ("seccomp: add a return code to trap to userspace") Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'include/asm-generic/seccomp.h')
0 files changed, 0 insertions, 0 deletions