Skip to content
Commit d7d2e5bb authored by Kees Cook's avatar Kees Cook
Browse files

selftests/seccomp: Add SKIPs for failed unshare()



Running the seccomp tests as a regular user shouldn't just fail tests
that require CAP_SYS_ADMIN (for getting a PID namespace). Instead,
detect those cases and SKIP them. Additionally, gracefully SKIP missing
CONFIG_USER_NS (and add to "config" since we'd prefer to actually test
this case).

Signed-off-by: default avatarKees Cook <keescook@chromium.org>
parent 8b1bc88c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment