diff options
| author | Mickaël Salaün <mic@digikod.net> | 2026-11-18 15:54:29 +0100 |
|---|---|---|
| committer | Mickaël Salaün <mic@digikod.net> | 2026-11-19 11:55:40 +0100 |
| commit | 102143984d542ef7f3bff6bcfd886d3940e17ca7 (patch) | |
| tree | 3143ce745d28ecf85a27a2bdb3104cb8f5b3ca77 /tools/perf/scripts/python | |
| parent | 2ff5a29db0f542226d5bd029459de9703fc2a2ae (diff) | |
selftests/landlock: Test PR_SET_SECUREBITS mediation
Test that Landlock denies and logs a privileged PR_SET_SECUREBITS
change, now that the previous commit routes its CAP_SETPCAP check
through the capable hooks, and that an unprivileged change still
succeeds. The domain deallocation record must then report exactly one
denial, which proves that the unprivileged change was not denied,
without relying on a no-record timeout.
The check-exec selftests already cover commoncap's securebits semantics.
Without the previous commit, this test fails.
Cc: Christian Brauner <brauner@kernel.org>
Cc: Günther Noack <gnoack@google.com>
Cc: Paul Moore <paul@paul-moore.com>
Cc: Serge Hallyn <serge@hallyn.com>
Link: https://patch.msgid.link/20261118145431.2551578-3-mic@digikod.net
Signed-off-by: Mickaël Salaün <mic@digikod.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
