summaryrefslogtreecommitdiff
path: root/drivers/platform/surface/aggregator/controller.c
diff options
context:
space:
mode:
authorItaru Kitayama <itaru.kitayama@linux.dev>2023-10-30 17:54:45 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-08-29 17:33:43 +0200
commitb4426da8c17ca762bbb7728c5b5ef0ce4034a8e7 (patch)
treef6f12ef4c6750dad10c05b1a8319b1430e236fe1 /drivers/platform/surface/aggregator/controller.c
parentb77471c6760a22dcfd72a3528f9a8a19d786c7cb (diff)
tools/testing/selftests/mm/run_vmtests.sh: lower the ptrace permissions
[ Upstream commit 2ffc27b15b11c9584ac46335c2ed2248d2aa4137 ] 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> Stable-dep-of: 7c5e8d212d7d ("selftests: memfd_secret: don't build memfd_secret test on unsupported arches") Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/platform/surface/aggregator/controller.c')
0 files changed, 0 insertions, 0 deletions