diff options
| author | Mickaël Salaün <[email protected]> | 2025-03-20 19:07:10 +0000 |
|---|---|---|
| committer | Mickaël Salaün <[email protected]> | 2025-03-26 12:59:45 +0000 |
| commit | e178b404ea0c909c51d22bddb2cfbb2124028c84 (patch) | |
| tree | e74f13e8752f4dda66d24c6471c84072329c30cc /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h | |
| parent | selftests/landlock: Add test for invalid ruleset file descriptor (diff) | |
| download | kernel-e178b404ea0c909c51d22bddb2cfbb2124028c84.tar.gz kernel-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 <[email protected]>
Cc: Paul Moore <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mickaël Salaün <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h')
0 files changed, 0 insertions, 0 deletions
