summaryrefslogtreecommitdiffstats
path: root/kernel/seccomp.c
diff options
context:
space:
mode:
authorTycho Andersen2018-02-21 03:47:47 +0100
committerKees Cook2018-02-22 01:56:03 +0100
commitd057dc4e35e16050befa3dda943876dab39cbf80 (patch)
treea283c0c7e3bffb81a32bc061c21fb1c0fc80e0f1 /kernel/seccomp.c
parentptrace, seccomp: tweak get_metadata behavior slightly (diff)
downloadkernel-qcow2-linux-d057dc4e35e16050befa3dda943876dab39cbf80.tar.gz
kernel-qcow2-linux-d057dc4e35e16050befa3dda943876dab39cbf80.tar.xz
kernel-qcow2-linux-d057dc4e35e16050befa3dda943876dab39cbf80.zip
seccomp: add a selftest for get_metadata
Let's test that we get the flags correctly, and that we preserve the filter index across the ptrace(PTRACE_SECCOMP_GET_METADATA) correctly. Signed-off-by: Tycho Andersen <tycho@tycho.ws> CC: Kees Cook <keescook@chromium.org> Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'kernel/seccomp.c')
0 files changed, 0 insertions, 0 deletions