Red Hat Bugzilla – Bug 91722
cannot ptrace process which has setuid()
Last modified: 2012-06-20 09:20:03 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225
Description of problem:
The ptrace security fixes were discovered to be buggy: they prevent ptrace()ing
a process which has called setuid().
This makes it very difficult, for instance, to debug an Apache httpd server.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. service httpd start
2. ps axf # and find an httpd child
3. strace -p <thepid>
Actual Results: attach: ptrace(PTRACE_ATTACH, ...): Operation not permitted
Expected Results: normal strace output.
This was fixed in some of the kernel updates for RHL, e.g. kernel-2.4.20-13.9
fixed for U3
Thank you for submitting this issue for consideration in Red Hat Enterprise Linux. The release for which you requested us to review is now End of Life.
Please See https://access.redhat.com/support/policy/updates/errata/
If you would like Red Hat to re-consider your feature request for an active release, please re-open the request via appropriate support channels and provide additional supporting details about the importance of this issue.