]> git.baikalelectronics.ru Git - kernel.git/commit
seccomp: Add missing compat_ioctl for notify
authorSven Schnelle <svens@linux.ibm.com>
Tue, 10 Mar 2020 12:33:32 +0000 (13:33 +0100)
committerKees Cook <keescook@chromium.org>
Mon, 30 Mar 2020 04:10:51 +0000 (21:10 -0700)
commit760d336e9253c37ad3b859caa0b8c042d87b423c
tree80d7b3bba65c0cc8489ef315764e04cb3b5b849c
parent7f9dda3b2c2f13fcc2ad907567b4ca97606802f2
seccomp: Add missing compat_ioctl for notify

Executing the seccomp_bpf testsuite under a 64-bit kernel with 32-bit
userland (both s390 and x86) doesn't work because there's no compat_ioctl
handler defined. Add the handler.

Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Fixes: 6a02b13b4538 ("seccomp: add a return code to trap to userspace")
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20200310123332.42255-1-svens@linux.ibm.com
Signed-off-by: Kees Cook <keescook@chromium.org>
kernel/seccomp.c