Bug 225531 - ia64 PTRACE_GETREGS touches pt_all_user_regs words that should be left alone
ia64 PTRACE_GETREGS touches pt_all_user_regs words that should be left alone
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel (Show other bugs)
ia64 Linux
medium Severity low
: ---
: ---
Assigned To: Roland McGrath
Brian Brock
: Regression
Depends On:
Blocks: 243319
  Show dependency treegraph
Reported: 2007-01-31 00:40 EST by Roland McGrath
Modified: 2007-11-30 17:07 EST (History)
2 users (show)

See Also:
Fixed In Version: RHBA-2007-0959
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-11-07 14:23:36 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
test case (3.48 KB, text/plain)
2007-01-31 00:40 EST, Roland McGrath
no flags Details
patch to fix the issue (1.84 KB, patch)
2007-05-08 04:55 EDT, Luming Yu
no flags Details | Diff

  None (edit)
Description Roland McGrath 2007-01-31 00:40:54 EST
Older kernels' PTRACE_GETREGS request ignored certain words and did not fill in
the user memory there at all.  The utrace patch broke this.

The output of the attached test case should be:

Unmodified register by PTRACE_GETREGS request
 gr0 --- gr0
 ar1 --- ar15
 ar21 --- ar31
 ar34 --- ar35
 ar38 --- ar39
 ar42 --- ar63
 ar68 --- ar127
 fr0 --- fr1
Comment 1 Roland McGrath 2007-01-31 00:40:55 EST
Created attachment 147002 [details]
test case
Comment 2 RHEL Product and Program Management 2007-01-31 01:25:09 EST
This bugzilla has Keywords: Regression.  

Since no regressions are allowed between releases, 
it is also being proposed as a blocker for this release.  

Please resolve ASAP.
Comment 3 Luming Yu 2007-04-01 23:21:52 EDT
Is it fixed in upstream?
Comment 4 Luming Yu 2007-04-10 05:32:17 EDT
Tested with latest upstream kernel with utrace patch linux-2.6-utrace.patch.
There isn't such problem. 
Comment 6 Luming Yu 2007-05-08 04:55:48 EDT
Created attachment 154319 [details]
patch to fix the issue

Does this patch fix your problem. 
I tested it with the latest redhat el5 kernel on ia64 box. It works as
Comment 7 Roland McGrath 2007-05-08 05:00:18 EDT
I filed this bug on myself for tracking purposes.
I already plan a utrace update for 5.1 that will pull in all the upstream fixes,
including this one.  No need to separately backport it.
Comment 9 RHEL Product and Program Management 2007-06-20 08:31:53 EDT
This request was evaluated by Red Hat Kernel Team for inclusion in a Red
Hat Enterprise Linux maintenance release, and has moved to bugzilla 
status POST.
Comment 10 Don Zickus 2007-07-19 15:54:13 EDT
in kernel-2.6.18-30.el5
Comment 12 Mike Gahagan 2007-08-28 14:10:28 EDT
Confirmed proper operation of the test case with the -43 kernel. 
Comment 14 errata-xmlrpc 2007-11-07 14:23:36 EST
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.