linux/tools/testing/selftests/landlock
Mickaël Salaün cc374782b6
selftests/landlock: Add cred_transfer test
Check that keyctl(KEYCTL_SESSION_TO_PARENT) preserves the parent's
restrictions.

Fixes: e1199815b4 ("selftests/landlock: Add user space tests")
Co-developed-by: Jann Horn <jannh@google.com>
Signed-off-by: Jann Horn <jannh@google.com>
Link: https://lore.kernel.org/r/20240724.Ood5aige9she@digikod.net
Signed-off-by: Mickaël Salaün <mic@digikod.net>
2024-07-24 17:34:56 +02:00
..
.gitignore
base_test.c selftests/landlock: Add cred_transfer test 2024-07-24 17:34:56 +02:00
common.h Landlock updates for v6.9-rc1 2024-03-14 16:00:27 -07:00
config selftests/landlock: Add cred_transfer test 2024-07-24 17:34:56 +02:00
config.um selftests/landlock: Add hostfs tests 2023-06-12 21:26:23 +02:00
fs_test.c selftests/landlock: Add layout1.refer_mount_root 2024-05-31 16:41:54 +02:00
Makefile selftests/landlock: Build without static libraries 2022-10-19 22:10:56 +02:00
net_test.c selftests: kselftest_harness: save full exit code in metadata 2024-03-01 10:30:28 +00:00
ptrace_test.c selftests: kselftest_harness: save full exit code in metadata 2024-03-01 10:30:28 +00:00
true.c