summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/exec/.gitignore
diff options
context:
space:
mode:
authorMickaël Salaün <mic@digikod.net>2024-12-12 18:42:18 +0100
committerKees Cook <kees@kernel.org>2024-12-18 17:00:29 -0800
commitb083cc815376a8ccfba6535b4d59a396b77601d4 (patch)
treecceac0e61b1b3cc1f6c6a03086172f15232c5b82 /tools/testing/selftests/exec/.gitignore
parenta0623b2a1d595341971c189b90a6b06f42cd209d (diff)
selftests/exec: Add 32 tests for AT_EXECVE_CHECK and exec securebits
Test that checks performed by execveat(..., AT_EXECVE_CHECK) are consistent with noexec mount points and file execute permissions. Test that SECBIT_EXEC_RESTRICT_FILE and SECBIT_EXEC_DENY_INTERACTIVE are inherited by child processes and that they can be pinned with the appropriate SECBIT_EXEC_RESTRICT_FILE_LOCKED and SECBIT_EXEC_DENY_INTERACTIVE_LOCKED bits. Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: Christian Brauner <brauner@kernel.org> Cc: Kees Cook <keescook@chromium.org> Cc: Paul Moore <paul@paul-moore.com> Cc: Serge Hallyn <serge@hallyn.com> Signed-off-by: Mickaël Salaün <mic@digikod.net> Link: https://lore.kernel.org/r/20241212174223.389435-4-mic@digikod.net Signed-off-by: Kees Cook <kees@kernel.org>
Diffstat (limited to 'tools/testing/selftests/exec/.gitignore')
-rw-r--r--tools/testing/selftests/exec/.gitignore2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/testing/selftests/exec/.gitignore b/tools/testing/selftests/exec/.gitignore
index a0dc5d4bf733..a32c63bb4df1 100644
--- a/tools/testing/selftests/exec/.gitignore
+++ b/tools/testing/selftests/exec/.gitignore
@@ -9,6 +9,8 @@ execveat.ephemeral
execveat.denatured
non-regular
null-argv
+/check-exec
+/false
/load_address.*
!load_address.c
/recursion-depth