Unverified Commit ec12a8d4 authored by Mickaël Salaün's avatar Mickaël Salaün
Browse files

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: default avatarMickaël Salaün <mic@digikod.net>
parent ec2798d8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment