[PATCH v5 0/1] selftests/landlock: fix ptrace_test
jeffxu at chromium.org
jeffxu at chromium.org
Fri Jan 13 05:07:54 UTC 2023
From: Jeff Xu <jeffxu at google.com>
Landlock ptrace failed because YAMA is enabled.
This patch check YAMA value and skip related tests.
V5:
- address comments from groeck at google.com
V4:
- https://lore.kernel.org/all/20230103190314.3882177-1-jeffxu@google.com
- apply can_trace_parent and can_trace_child to smaller scope.
V3:
https://lore.kernel.org/all/20221227140244.1041292-1-jeffxu@google.com
- add can_trace_parent and can_trace_child to handle yama value.
V2:
https://lore.kernel.org/all/20221213185816.3942853-1-jeffxu@chromium.org
- update from code review comments.
V1:
https://lore.kernel.org/all/20221213185816.3942853-1-jeffxu@chromium.org
- skip specific testcase according to YAMA value
V0:
https://lore.kernel.org/r/20220628222941.2642917-1-jeffxu@google.com
- skip entire ptrace when YAMA is not 0.
Jeff Xu (1):
selftests/landlock: skip ptrace_test according to YAMA
.../testing/selftests/landlock/ptrace_test.c | 82 +++++++++++++++++--
1 file changed, 76 insertions(+), 6 deletions(-)
base-commit: 963a70bee5880640d0fd83ed29dc1e7ec0d2bd4a
--
2.39.0.314.g84b9a713c41-goog
More information about the Linux-security-module-archive
mailing list