Red Hat Bugzilla – Bug 225531
ia64 PTRACE_GETREGS touches pt_all_user_regs words that should be left alone
Last modified: 2007-11-30 17:07:41 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
Created attachment 147002 [details]
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.
Is it fixed in upstream?
Tested with latest upstream kernel with utrace patch linux-2.6-utrace.patch.
There isn't such problem.
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
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.
This request was evaluated by Red Hat Kernel Team for inclusion in a Red
Hat Enterprise Linux maintenance release, and has moved to bugzilla
Confirmed proper operation of the test case with the -43 kernel.
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.