commit | d057dc4e35e16050befa3dda943876dab39cbf80 | [log] [tgz] |
---|---|---|
author | Tycho Andersen <tycho@tycho.ws> | Tue Feb 20 19:47:47 2018 -0700 |
committer | Kees Cook <keescook@chromium.org> | Wed Feb 21 16:56:03 2018 -0800 |
tree | a283c0c7e3bffb81a32bc061c21fb1c0fc80e0f1 | |
parent | 63bb0045b98ae821e56e27c2250e14bb0ae663e5 [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>