Red Hat Bugzilla – Bug 159814
x86-64 PTRACE_SETOPTIONS does not support most option flags
Last modified: 2007-11-30 17:07:07 EST
In the RHEL3 kernel on x86_64, PTRACE_SETOPTIONS only supports the PTRACE_O_TRACESYSGOOD flag, not the others. The generic code would be fine if it were used. The arch/x86_64/kernel/ptrace.c code just needs not to override it for that case.
Created attachment 115213 [details] untested patch to fix it
Patch posted for review on 8-Jun-2005.
A fix for this problem has just been committed to the RHEL3 U6 patch pool this evening (in kernel version 2.4.21-32.8.EL).
Created attachment 116336 [details] test case There is no real-world test case because I punted using the features that were broken in the kernel. I've whipped up this simple contrived test case.
Steffen, that Issue Tracker report has nothing to do with this bug. Please unlink BZ 159814 from IT 53971.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2005-663.html