Bug 159814 - x86-64 PTRACE_SETOPTIONS does not support most option flags
x86-64 PTRACE_SETOPTIONS does not support most option flags
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: kernel (Show other bugs)
x86_64 Linux
medium Severity medium
: ---
: ---
Assigned To: Roland McGrath
Brian Brock
Depends On:
Blocks: 156320 158925
  Show dependency treegraph
Reported: 2005-06-08 05:26 EDT by Roland McGrath
Modified: 2007-11-30 17:07 EST (History)
3 users (show)

See Also:
Fixed In Version: RHSA-2005-663
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-09-28 11:17:28 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
untested patch to fix it (497 bytes, patch)
2005-06-08 05:26 EDT, Roland McGrath
no flags Details | Diff
test case (1.93 KB, text/plain)
2005-07-04 18:43 EDT, Roland McGrath
no flags Details

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2005:663 qe-ready SHIPPED_LIVE Important: Updated kernel packages available for Red Hat Enterprise Linux 3 Update 6 2005-09-28 00:00:00 EDT

  None (edit)
Description Roland McGrath 2005-06-08 05:26:41 EDT
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.
Comment 1 Roland McGrath 2005-06-08 05:26:42 EDT
Created attachment 115213 [details]
untested patch to fix it
Comment 2 Ernie Petrides 2005-06-08 20:21:28 EDT
Patch posted for review on 8-Jun-2005.
Comment 4 Ernie Petrides 2005-06-14 21:02:30 EDT
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).
Comment 7 Roland McGrath 2005-07-04 18:43:36 EDT
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.
Comment 11 Ernie Petrides 2005-08-02 17:03:12 EDT
Steffen, that Issue Tracker report has nothing to do with this bug.

Please unlink BZ 159814 from IT 53971.
Comment 14 Red Hat Bugzilla 2005-09-28 11:17:29 EDT
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.


Note You need to log in before you can comment on or make changes to this bug.