summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorMickaël Salaün <mic@digikod.net>2026-08-11 11:43:32 +0200
committerMickaël Salaün <mic@digikod.net>2026-08-17 10:17:19 +0200
commitac6d193de58b3b5eacf2fb8ffa48eff076cacc32 (patch)
tree25c9131b48eb0e53a825c2eb04aa49d08246f445 /scripts/objdiff
parentaef2dd32ddedcbd85ddec02d662af6f56b5ac309 (diff)
downloadlinux-ac6d193de58b3b5eacf2fb8ffa48eff076cacc32.tar.gz
linux-ac6d193de58b3b5eacf2fb8ffa48eff076cacc32.zip
selftests/landlock: Add landlock_enforce_domain trace tests
Add trace tests for the landlock_enforce_domain event in trace_test.c, asserting field counts after the syscall returns rather than line ordering across per-CPU buffers. They cover single-threaded and TSYNC enforcement (complete and process_wide set), a multi-threaded non-TSYNC process (process_wide clear), the single-threaded non-leader edge case, the flags-only path that creates no domain, and a thread-sync abort that emits create_domain and free_domain but no enforce_domain. landlock_enforce_domain is added to the fixture enable path and every disable list so its zero-events assertions cannot be tripped by a stray enforcement event. Test coverage for security/landlock is 91.6% of 2571 lines according to LLVM 22. Cc: Günther Noack <gnoack@google.com> Cc: Tingmao Wang <m@maowtm.org> Link: https://patch.msgid.link/20260811094338.288094-19-mic@digikod.net Signed-off-by: Mickaël Salaün <mic@digikod.net>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions