diff options
author | 2024-01-24 14:13:56 +0000 | |
---|---|---|
committer | 2024-02-01 10:16:03 -0800 | |
commit | 471dbc547612adeaa769e48498ef591c6c95a57a (patch) | |
tree | 2f33b686aa44b6c1de890c869c24116453f32a9e /scripts/gdb/linux/utils.py | |
parent | selftests/seccomp: Handle EINVAL on unshare(CLONE_NEWPID) (diff) | |
download | wireguard-linux-471dbc547612adeaa769e48498ef591c6c95a57a.tar.xz wireguard-linux-471dbc547612adeaa769e48498ef591c6c95a57a.zip |
selftests/seccomp: Change the syscall used in KILL_THREAD test
The Bionic version of pthread_create used on Android calls the prctl
function to give the stack and thread local storage a useful name. This
will cause the KILL_THREAD test to fail as it will kill the thread as
soon as it is created.
change the test to use getpid instead of prctl.
Signed-off-by: Terry Tritton <terry.tritton@linaro.org>
Link: https://lore.kernel.org/r/20240124141357.1243457-3-terry.tritton@linaro.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions