diff options
author | 2025-04-10 19:17:23 +0200 | |
---|---|---|
committer | 2025-04-11 12:53:22 +0200 | |
commit | 6b4566400a2919e6c1137404c53d7cf1ada559aa (patch) | |
tree | 85cd24c8c253bcf0abd31818b899431f5cf050bf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | selftests/landlock: Factor out audit fixture in audit_test (diff) | |
download | wireguard-linux-6b4566400a2919e6c1137404c53d7cf1ada559aa.tar.xz wireguard-linux-6b4566400a2919e6c1137404c53d7cf1ada559aa.zip |
selftests/landlock: Add PID tests for audit records
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions