summaryrefslogtreecommitdiffstats
path: root/arch/parisc/kernel/ptrace.c
diff options
context:
space:
mode:
authorChristian Brauner <christian.brauner@ubuntu.com>2019-09-20 10:30:07 +0200
committerKees Cook <keescook@chromium.org>2019-10-10 23:45:51 +0200
commit0eebfed2954f152259cae0ad57b91d3ea92968e8 (patch)
tree28f64d70ba1ca207d30db32aaba10d181b5f4f31 /arch/parisc/kernel/ptrace.c
parentseccomp: add SECCOMP_USER_NOTIF_FLAG_CONTINUE (diff)
downloadlinux-0eebfed2954f152259cae0ad57b91d3ea92968e8.tar.xz
linux-0eebfed2954f152259cae0ad57b91d3ea92968e8.zip
seccomp: test SECCOMP_USER_NOTIF_FLAG_CONTINUE
Test whether a syscall can be performed after having been intercepted by the seccomp notifier. The test uses dup() and kcmp() since it allows us to nicely test whether the dup() syscall actually succeeded by comparing whether the fds refer to the same underlying struct file. Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com> Cc: Andy Lutomirski <luto@amacapital.net> Cc: Will Drewry <wad@chromium.org> Cc: Shuah Khan <shuah@kernel.org> Cc: Alexei Starovoitov <ast@kernel.org> Cc: Daniel Borkmann <daniel@iogearbox.net> Cc: Martin KaFai Lau <kafai@fb.com> Cc: Song Liu <songliubraving@fb.com> Cc: Yonghong Song <yhs@fb.com> Cc: Tycho Andersen <tycho@tycho.ws> CC: Tyler Hicks <tyhicks@canonical.com> Cc: stable@vger.kernel.org Cc: linux-kselftest@vger.kernel.org Cc: netdev@vger.kernel.org Cc: bpf@vger.kernel.org Link: https://lore.kernel.org/r/20190920083007.11475-4-christian.brauner@ubuntu.com Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'arch/parisc/kernel/ptrace.c')
0 files changed, 0 insertions, 0 deletions