diff options
author | 2023-10-30 17:54:45 +0900 | |
---|---|---|
committer | 2023-11-01 12:46:59 -0700 | |
commit | 2ffc27b15b11c9584ac46335c2ed2248d2aa4137 (patch) | |
tree | 521b804b84ff5639d19d87a9a86a073582267cff /scripts/gdb/linux/utils.py | |
parent | .mailmap: map Benjamin Poirier's address (diff) | |
download | linux-rng-2ffc27b15b11c9584ac46335c2ed2248d2aa4137.tar.xz linux-rng-2ffc27b15b11c9584ac46335c2ed2248d2aa4137.zip |
tools/testing/selftests/mm/run_vmtests.sh: lower the ptrace permissions
On Ubuntu and probably other distros, ptrace permissions are tightend a
bit by default; i.e., /proc/sys/kernel/yama/ptrace_score is set to 1.
This cases memfd_secret's ptrace attach test fails with a permission
error. Set it to 0 piror to running the program.
Link: https://lkml.kernel.org/r/20231030-selftest-v1-1-743df68bb996@linux.dev
Signed-off-by: Itaru Kitayama <itaru.kitayama@linux.dev>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions