linux-imx/tools/testing/selftests/landlock
Mickaël Salaün 27be7ff9ff selftests/landlock: Add cred_transfer test
commit cc374782b6 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-08-03 08:54:17 +02:00
..
.gitignore
base_test.c selftests/landlock: Add cred_transfer test 2024-08-03 08:54:17 +02:00
common.h selftests/landlock: Test FD passing from restricted to unrestricted processes 2022-10-19 09:01:46 +02:00
config selftests/landlock: Add cred_transfer test 2024-08-03 08:54:17 +02:00
config.um selftests/landlock: Add hostfs tests 2023-06-12 21:26:23 +02:00
fs_test.c selftests/landlock: Fix fs_test build with old libc 2024-02-23 09:24:48 +01:00
Makefile selftests/landlock: Build without static libraries 2022-10-19 22:10:56 +02:00
ptrace_test.c selftests/landlock: Test ptrace as much as possible with Yama 2023-01-27 18:53:55 +01:00
true.c