aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorMickaël Salaün <mic@digikod.net>2025-03-20 20:07:10 +0100
committerMickaël Salaün <mic@digikod.net>2025-03-26 13:59:45 +0100
commite178b404ea0c909c51d22bddb2cfbb2124028c84 (patch)
treee74f13e8752f4dda66d24c6471c84072329c30cc /scripts/gdb/linux/utils.py
parentselftests/landlock: Add test for invalid ruleset file descriptor (diff)
downloadwireguard-linux-e178b404ea0c909c51d22bddb2cfbb2124028c84.tar.xz
wireguard-linux-e178b404ea0c909c51d22bddb2cfbb2124028c84.zip
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions