diff options
author | Mickaël Salaün <mic@digikod.net> | 2025-03-20 22:07:13 +0300 |
---|---|---|
committer | Mickaël Salaün <mic@digikod.net> | 2025-03-26 15:59:47 +0300 |
commit | e2893c0a696f285e1163bc0db26253bf8d3e4c54 (patch) | |
tree | 8dbcd11bfe46b47f5a1cfb136cabfed014b51f56 /lib/debugobjects.c | |
parent | 960ed6ca4c46c1e7a44f3f7b8be2c147757459e4 (diff) | |
download | linux-e2893c0a696f285e1163bc0db26253bf8d3e4c54.tar.xz |
selftests/landlock: Add audit tests for ptrace
Add tests for all ptrace actions checking "blockers=ptrace" records.
This also improves PTRACE_TRACEME and PTRACE_ATTACH tests by making sure
that the restrictions comes from Landlock, and with the expected
process. These extended tests are like enhanced errno checks that make
sure Landlock enforcement is consistent.
Cc: Günther Noack <gnoack@google.com>
Cc: Paul Moore <paul@paul-moore.com>
Link: https://lore.kernel.org/r/20250320190717.2287696-25-mic@digikod.net
Signed-off-by: Mickaël Salaün <mic@digikod.net>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions