diff options
author | 2025-03-20 20:07:09 +0100 | |
---|---|---|
committer | 2025-03-26 13:59:44 +0100 | |
commit | ec12a8d4c1861678bf86b0c7510068d472cd133d (patch) | |
tree | b3f0d855e6e65d609eaa8cbb515bc2f9e54565f8 /scripts/gdb/linux/utils.py | |
parent | samples/landlock: Enable users to log sandbox denials (diff) | |
download | wireguard-linux-ec12a8d4c1861678bf86b0c7510068d472cd133d.tar.xz wireguard-linux-ec12a8d4c1861678bf86b0c7510068d472cd133d.zip |
selftests/landlock: Add test for invalid ruleset file descriptor
To align with fs_test's layout1.inval and layout0.proc_nsfs which test
EBADFD for landlock_add_rule(2), create a new base_test's
restrict_self_fd which test EBADFD for landlock_restrict_self(2).
Cc: Günther Noack <gnoack@google.com>
Cc: Paul Moore <paul@paul-moore.com>
Link: https://lore.kernel.org/r/20250320190717.2287696-21-mic@digikod.net
Signed-off-by: Mickaël Salaün <mic@digikod.net>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions