diff options
author | Mickaël Salaün <mic@digikod.net> | 2025-03-20 22:07:10 +0300 |
---|---|---|
committer | Mickaël Salaün <mic@digikod.net> | 2025-03-26 15:59:45 +0300 |
commit | e178b404ea0c909c51d22bddb2cfbb2124028c84 (patch) | |
tree | e74f13e8752f4dda66d24c6471c84072329c30cc /lib/debugobjects.c | |
parent | ec12a8d4c1861678bf86b0c7510068d472cd133d (diff) | |
download | linux-e178b404ea0c909c51d22bddb2cfbb2124028c84.tar.xz |
selftests/landlock: Extend tests for landlock_restrict_self(2)'s flags
Add the base_test's restrict_self_fd_flags tests to align with previous
restrict_self_fd tests but with the new
LANDLOCK_RESTRICT_SELF_LOG_SUBDOMAINS_OFF flag.
Add the restrict_self_flags tests to check that
LANDLOCK_RESTRICT_SELF_LOG_SAME_EXEC_OFF,
LANDLOCK_RESTRICT_SELF_LOG_NEW_EXEC_ON, and
LANDLOCK_RESTRICT_SELF_LOG_SUBDOMAINS_OFF are valid but not the next
bit. Some checks are similar to restrict_self_checks_ordering's ones.
Cc: Günther Noack <gnoack@google.com>
Cc: Paul Moore <paul@paul-moore.com>
Link: https://lore.kernel.org/r/20250320190717.2287696-22-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