This is the mail archive of the
mailing list for the glibc project.
Re: [PATCH] Add UNSUPPORTED check in elf/tst-pldd.
* Adhemerval Zanella:
> This is a Linuxism and I think we should create a 'support_can_ptrace'
> similar to 'support_can_chroot'. The logic to detect it seems
> correct, I would just check fscanf returned to value and use xfclose.
> It would be something like
The test does the right thing if the path does not exist, so I'm not
sure if it is necessary.
support_can_ptrace would be misleading because even with YAMA scope
support, tracing direct subprocesses will still work.
I fact, I think we might be able to get this test to work even with
fairly restrictive YAMA scopes, by proper ordering of forks and using
execve to run tst-pldd.