about summary refs log tree commit diff
path: root/posix/tst-execveat.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-05-12 14:24:46 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-05-14 13:28:29 -0300
commit390c43ba1f586066caace103c7701c80e6088cbd (patch)
treec6c7669e47b3d3cf32d57f2b52b629282e6361b7 /posix/tst-execveat.c
parent16adc58e73f364f75e58e04bac914aac64fd0613 (diff)
downloadglibc-390c43ba1f586066caace103c7701c80e6088cbd.tar.gz
glibc-390c43ba1f586066caace103c7701c80e6088cbd.tar.xz
glibc-390c43ba1f586066caace103c7701c80e6088cbd.zip
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.
Diffstat (limited to 'posix/tst-execveat.c')
0 files changed, 0 insertions, 0 deletions