summaryrefslogtreecommitdiff
path: root/kernel/seccomp.c
diff options
context:
space:
mode:
authorTycho Andersen <tycho@tycho.ws>2018-02-20 19:47:47 -0700
committerKees Cook <keescook@chromium.org>2018-02-21 16:56:03 -0800
commitd057dc4e35e16050befa3dda943876dab39cbf80 (patch)
treea283c0c7e3bffb81a32bc061c21fb1c0fc80e0f1 /kernel/seccomp.c
parent63bb0045b98ae821e56e27c2250e14bb0ae663e5 (diff)
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