[PATCH] Add UNSUPPORTED check in elf/tst-pldd.

Stefan Liebler stli@linux.ibm.com
Tue Aug 27 10:19:00 GMT 2019


Hi,

the testcase forks a child process and runs pldd with PID of
this child.  On systems where /proc/sys/kernel/yama/ptrace_scope
differs from zero, pldd will fail with
/usr/bin/pldd: cannot attach to process 3: Operation not permitted

This patch checks if ptrace_scope is zero and otherwise marks the
test as UNSUPPORTED.

Bye
Stefan

ChangeLog:

	* elf/tst-pldd.c (do_test): Add UNSUPPORTED check.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20190826_tst-pldd.patch
Type: text/x-patch
Size: 1581 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20190827/7680560f/attachment.bin>


More information about the Libc-alpha mailing list