]> sourceware.org Git - glibc.git/commit
nptl: Fix tst-pthread-gdb-attach for ptrace_scope equal 1
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 12 May 2021 17:24:46 +0000 (14:24 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 14 May 2021 16:28:29 +0000 (13:28 -0300)
commit390c43ba1f586066caace103c7701c80e6088cbd
treec6c7669e47b3d3cf32d57f2b52b629282e6361b7
parent16adc58e73f364f75e58e04bac914aac64fd0613
nptl: Fix tst-pthread-gdb-attach for ptrace_scope equal 1

This is similar to the fix for elf/tst-pldd (2f9046fb059e94fe25):
it checks ptrace_scope value (values higher than 2 are too restrictive
to allow the test to run) and it rearranges the spawned processes
to make the target process the gdb child.

Checked on x86_64-linux-gnu with ptrace_scope set to 1.
nptl/tst-pthread-gdb-attach.c
This page took 0.038151 seconds and 5 git commands to generate.