mbox series

[v2,0/1] selftests/landlock: Fix selftest ptrace_test run fail

Message ID 20221213185816.3942853-1-jeffxu@chromium.org (mailing list archive)
Headers show
Series selftests/landlock: Fix selftest ptrace_test run fail | expand

Message

Jeff Xu Dec. 13, 2022, 6:58 p.m. UTC
From: Jeff Xu <jeffxu@google.com>

Landlock ptrace failed because YAMA is enabled. 
This patch check YAMA value and skip related tests.

V1:
- 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  | 34 +++++++++++++++++++
 1 file changed, 34 insertions(+)


base-commit: 963a70bee5880640d0fd83ed29dc1e7ec0d2bd4a