]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests/landlock: Factor out audit fixture in audit_test
authorMickaël Salaün <mic@digikod.net>
Thu, 10 Apr 2025 17:17:22 +0000 (19:17 +0200)
committerMickaël Salaün <mic@digikod.net>
Fri, 11 Apr 2025 10:53:20 +0000 (12:53 +0200)
commite4a0f9e0cacd93094b619616426a273e0bc9107e
treeaf118afe89b9bcad533f05433c27ae5b86eefc5d
parent4767af82a08ffaa5e55fe71febfa8cdef201b620
selftests/landlock: Factor out audit fixture in audit_test

The audit fixture needlessly stores and manages domain_stack.  Move it
to the audit.layers tests.  This will be useful to reuse the audit
fixture with the next patch.

Cc: Günther Noack <gnoack@google.com>
Link: https://lore.kernel.org/r/20250410171725.1265860-2-mic@digikod.net
Signed-off-by: Mickaël Salaün <mic@digikod.net>
tools/testing/selftests/landlock/audit_test.c