Created attachment 126484 [details] Code to reproduce the behavior
Created attachment 126485 [details] Proposed patch from Mike O'Connor <mjo.org>
This is not my area of expertise and actually this is all the information I got. From the bug reports for RHEL3 and RHEL4, I realized that this will maybe not be fixed, because of the ABI breakage. It is fine with me if you close the bug, but at least someone with the right knowledge looked at it. Thanks.
Ok, I found a testcase in bz 170261. ptrace() attach fails on derry. I think it' safe to close this as notabug. # ./exectracedloser PTRACE_SETOPTIONS: Input/output error ptrace on leader: Operation not permitted waitpid: No child processes main thread 31843 status 0 idler thread 31844 status 137f PTRACE_SETOPTIONS: Input/output error trying exec hello