-
- Downloads
selftests/landlock: Add user space tests
Test all Landlock system calls, ptrace hooks semantic and filesystem access-control with multiple layouts. Test coverage for security/landlock/ is 93.6% of lines. The code not covered only deals with internal kernel errors (e.g. memory allocation) and race conditions. Cc: James Morris <jmorris@namei.org> Cc: Jann Horn <jannh@google.com> Cc: Serge E. Hallyn <serge@hallyn.com> Cc: Shuah Khan <shuah@kernel.org> Signed-off-by:Mickaël Salaün <mic@linux.microsoft.com> Reviewed-by:
Vincent Dagonneau <vincent.dagonneau@ssi.gouv.fr> Reviewed-by:
Kees Cook <keescook@chromium.org> Link: https://lore.kernel.org/r/20210422154123.13086-11-mic@digikod.net Signed-off-by:
James Morris <jamorris@linux.microsoft.com>
Showing
- MAINTAINERS 1 addition, 0 deletionsMAINTAINERS
- tools/testing/selftests/Makefile 1 addition, 0 deletionstools/testing/selftests/Makefile
- tools/testing/selftests/landlock/.gitignore 2 additions, 0 deletionstools/testing/selftests/landlock/.gitignore
- tools/testing/selftests/landlock/Makefile 24 additions, 0 deletionstools/testing/selftests/landlock/Makefile
- tools/testing/selftests/landlock/base_test.c 219 additions, 0 deletionstools/testing/selftests/landlock/base_test.c
- tools/testing/selftests/landlock/common.h 183 additions, 0 deletionstools/testing/selftests/landlock/common.h
- tools/testing/selftests/landlock/config 7 additions, 0 deletionstools/testing/selftests/landlock/config
- tools/testing/selftests/landlock/fs_test.c 2791 additions, 0 deletionstools/testing/selftests/landlock/fs_test.c
- tools/testing/selftests/landlock/ptrace_test.c 337 additions, 0 deletionstools/testing/selftests/landlock/ptrace_test.c
- tools/testing/selftests/landlock/true.c 5 additions, 0 deletionstools/testing/selftests/landlock/true.c
Loading
Please register or sign in to comment