Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 311838 Details for
Bug 455435
x86: user_regset_view table fix for ia32 on 64-bit
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Upstream fix for this issue
1339 (text/plain), 4.49 KB, created by
Prarit Bhargava
on 2008-07-15 14:19:36 UTC
(
hide
)
Description:
Upstream fix for this issue
Filename:
MIME Type:
Creator:
Prarit Bhargava
Created:
2008-07-15 14:19:36 UTC
Size:
4.49 KB
patch
obsolete
>Return-path: <git-commits-head-owner@vger.kernel.org> >Envelope-to: arjan@infradead.org >Delivery-date: Wed, 14 May 2008 19:59:20 +0000 >Received: from vger.kernel.org ([209.132.176.167]) > by pentafluge.infradead.org with esmtp (Exim 4.68 #1 (Red Hat Linux)) > id 1JwN8B-0002ow-JQ > for arjan@infradead.org; Wed, 14 May 2008 19:59:20 +0000 >Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand > id S1760216AbYENT7S (ORCPT <rfc822;arjan@infradead.org>); > Wed, 14 May 2008 15:59:18 -0400 >Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1761113AbYENT7S > (ORCPT <rfc822;git-commits-head-outgoing>); > Wed, 14 May 2008 15:59:18 -0400 >Received: from hera.kernel.org ([140.211.167.34]:46379 "EHLO hera.kernel.org" > rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP > id S1760216AbYENT7R (ORCPT > <rfc822;git-commits-head@vger.kernel.org>); > Wed, 14 May 2008 15:59:17 -0400 >Received: from hera.kernel.org (IDENT:U2FsdGVkX1/VxZ8sJktJgqXopNAjieoe4clSO2bVUFM@localhost [127.0.0.1]) > by hera.kernel.org (8.13.8/8.13.8) with ESMTP id m4EJxFH3031012 > (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) > for <git-commits-head@vger.kernel.org>; Wed, 14 May 2008 19:59:15 GMT >Received: (from dwmw2@localhost) > by hera.kernel.org (8.13.8/8.13.1/Submit) id m4EJxFpB030995 > for git-commits-head@vger.kernel.org; Wed, 14 May 2008 19:59:15 GMT >Date: Wed, 14 May 2008 19:59:15 GMT >Message-Id: <200805141959.m4EJxFpB030995@hera.kernel.org> >From: Linux Kernel Mailing List <linux-kernel@vger.kernel.org> >To: git-commits-head@vger.kernel.org >Subject: x86: user_regset_view table fix for ia32 on 64-bit >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit >X-Git-Commit: 1f465f4e475454b8bb590846c50a9d16e8046f3d >X-Git-Parent: afc85343807bc2c488b7372cd7547875dfe03fe5 >X-Spam-Status: No, score=-3.4 required=5.0 tests=AWL,BAYES_00, > UNPARSEABLE_RELAY autolearn=ham version=3.2.3 >X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on hera.kernel.org >X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0rc1 (hera.kernel.org [127.0.0.1]); Wed, 14 May 2008 19:59:16 +0000 (UTC) >Sender: git-commits-head-owner@vger.kernel.org >Precedence: bulk >List-ID: <git-commits-head.vger.kernel.org> >X-Mailing-List: git-commits-head@vger.kernel.org > >Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=1f465f4e475454b8bb590846c50a9d16e8046f3d >Commit: 1f465f4e475454b8bb590846c50a9d16e8046f3d >Parent: afc85343807bc2c488b7372cd7547875dfe03fe5 >Author: Roland McGrath <roland@redhat.com> >AuthorDate: Fri May 9 15:43:44 2008 -0700 >Committer: Ingo Molnar <mingo@elte.hu> >CommitDate: Tue May 13 19:40:20 2008 +0200 > > x86: user_regset_view table fix for ia32 on 64-bit > > The user_regset_view table for the 32-bit regsets on the 64-bit build had > the wrong sizes for the FP regsets. This bug had no user-visible effect > (just on kernel modules using the user_regset interfaces and the like). > But the fix is trivial and risk-free. > > Signed-off-by: Roland McGrath <roland@redhat.com> > Signed-off-by: Ingo Molnar <mingo@elte.hu> >--- > arch/x86/kernel/ptrace.c | 7 +++++-- > 1 files changed, 5 insertions(+), 2 deletions(-) > >diff --git a/arch/x86/kernel/ptrace.c b/arch/x86/kernel/ptrace.c >index fb03ef3..a7835f2 100644 >--- a/arch/x86/kernel/ptrace.c >+++ b/arch/x86/kernel/ptrace.c >@@ -1303,6 +1303,9 @@ static const struct user_regset_view user_x86_64_view = { > #define genregs32_get genregs_get > #define genregs32_set genregs_set > >+#define user_i387_ia32_struct user_i387_struct >+#define user32_fxsr_struct user_fxsr_struct >+ > #endif /* CONFIG_X86_64 */ > > #if defined CONFIG_X86_32 || defined CONFIG_IA32_EMULATION >@@ -1315,13 +1318,13 @@ static const struct user_regset x86_32_regsets[] = { > }, > [REGSET_FP] = { > .core_note_type = NT_PRFPREG, >- .n = sizeof(struct user_i387_struct) / sizeof(u32), >+ .n = sizeof(struct user_i387_ia32_struct) / sizeof(u32), > .size = sizeof(u32), .align = sizeof(u32), > .active = fpregs_active, .get = fpregs_get, .set = fpregs_set > }, > [REGSET_XFP] = { > .core_note_type = NT_PRXFPREG, >- .n = sizeof(struct user_i387_struct) / sizeof(u32), >+ .n = sizeof(struct user32_fxsr_struct) / sizeof(u32), > .size = sizeof(u32), .align = sizeof(u32), > .active = xfpregs_active, .get = xfpregs_get, .set = xfpregs_set > }, >-- >To unsubscribe from this list: send the line "unsubscribe git-commits-head" in >the body of a message to majordomo@vger.kernel.org >More majordomo info at http://vger.kernel.org/majordomo-info.html
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 455435
: 311838