From: Suresh Siddha <suresh.b.siddha@intel.com>
To: hpa@zytor.com, mingo@elte.hu, tglx@linutronix.de
Cc: linux-kernel@vger.kernel.org, Suresh Siddha <suresh.b.siddha@intel.com>
Subject: [patch 1/2] xsave: fix error condition in save_i387_xstate()
Date: Tue, 07 Oct 2008 14:04:27 -0700 [thread overview]
Message-ID: <20081007210549.314011000@linux-os.sc.intel.com> (raw)
[-- Attachment #1: fix_save_i387_xstate_err.patch --]
[-- Type: text/plain, Size: 502 bytes --]
Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
---
Index: tip/arch/x86/kernel/xsave.c
===================================================================
--- tip.orig/arch/x86/kernel/xsave.c 2008-10-02 10:30:55.000000000 -0700
+++ tip/arch/x86/kernel/xsave.c 2008-10-02 10:31:26.000000000 -0700
@@ -121,6 +121,8 @@
err |= __put_user(FP_XSTATE_MAGIC2,
(__u32 __user *) (buf + sig_xstate_size
- FP_XSTATE_MAGIC2_SIZE));
+ if (err)
+ return err;
}
return 1;
--
next reply other threads:[~2008-10-07 21:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-07 21:04 Suresh Siddha [this message]
2008-10-07 21:04 ` [patch 2/2] xsave: set FP, SSE bits in the xsave header in the user sigcontext Suresh Siddha
2008-10-07 21:59 ` [patch 1/2] xsave: fix error condition in save_i387_xstate() H. Peter Anvin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081007210549.314011000@linux-os.sc.intel.com \
--to=suresh.b.siddha@intel.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome