]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
selftests/seccomp: Add tests for basic ptrace actions
authorKees Cook <keescook@chromium.org>
Tue, 9 Aug 2016 00:46:23 +0000 (17:46 -0700)
committerKees Cook <keescook@chromium.org>
Mon, 14 Aug 2017 19:27:46 +0000 (12:27 -0700)
commita33b2d0359a0aae25d5ac7a26b85a5682485ebbb
treea2257d1da92bd02c7c4a42e3d9c40122df026c92
parent520eccdfe187591a51ea9ab4c1a024ae4d0f68d9
selftests/seccomp: Add tests for basic ptrace actions

This adds tests for using only ptrace to perform syscall changes, just
to validate matching behavior between seccomp events and ptrace events.

Signed-off-by: Kees Cook <keescook@chromium.org>
tools/testing/selftests/seccomp/seccomp_bpf.c