• Kees Cook's avatar
    selftests/seccomp: Add SKIPs for failed unshare() · d7d2e5bb
    Kees Cook authored
    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>
    d7d2e5bb
config 58 Bytes