Bug 159814

Summary: x86-64 PTRACE_SETOPTIONS does not support most option flags
Product: Red Hat Enterprise Linux 3 Reporter: Roland McGrath <roland>
Component: kernelAssignee: Roland McGrath <roland>
Status: CLOSED ERRATA QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: jparadis, petrides, tao
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: RHSA-2005-663 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-09-28 15:17:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 156320, 158925    
Attachments:
Description Flags
untested patch to fix it
none
test case none

Description Roland McGrath 2005-06-08 09:26:41 UTC
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 09:26:42 UTC
Created attachment 115213 [details]
untested patch to fix it

Comment 2 Ernie Petrides 2005-06-09 00:21:28 UTC
Patch posted for review on 8-Jun-2005.

Comment 4 Ernie Petrides 2005-06-15 01:02:30 UTC
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 22:43:36 UTC
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 21:03:12 UTC
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 15:17:29 UTC
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