mirror of https://github.com/torvalds/linux.git
Add audit.thread tests to check that the PID tied to a domain is not a thread ID but the thread group ID. These new tests would not pass without the previous TGID fix. Extend matches_log_domain_allocated() to check against the PID that created the domain. Test coverage for security/landlock is 93.6% of 1524 lines according to gcc/gcov-14. Cc: Christian Brauner <brauner@kernel.org> Cc: Günther Noack <gnoack@google.com> Cc: Paul Moore <paul@paul-moore.com> Link: https://lore.kernel.org/r/20250410171725.1265860-3-mic@digikod.net Signed-off-by: Mickaël Salaün <mic@digikod.net> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| Makefile | ||
| audit.h | ||
| audit_test.c | ||
| base_test.c | ||
| common.h | ||
| config | ||
| config.um | ||
| fs_test.c | ||
| net_test.c | ||
| ptrace_test.c | ||
| sandbox-and-launch.c | ||
| scoped_abstract_unix_test.c | ||
| scoped_base_variants.h | ||
| scoped_common.h | ||
| scoped_multiple_domain_variants.h | ||
| scoped_signal_test.c | ||
| scoped_test.c | ||
| true.c | ||
| wait-pipe-sandbox.c | ||
| wait-pipe.c | ||
| wrappers.h | ||