From: Greg KH <greg@kroah•com>
To: Benjamin Herrenschmidt <benh@kernel•crashing.org>
Cc: linuxppc-dev list <linuxppc-dev@ozlabs•org>,
Paul Mackerras <paulus@samba•org>
Subject: Re: [PATCH] powerpc: Make alignment exception always check exception table
Date: Tue, 31 Oct 2006 22:34:01 -0800 [thread overview]
Message-ID: <20061101063401.GA25664@kroah.com> (raw)
In-Reply-To: <1162350571.25682.389.camel@localhost.localdomain>
On Wed, Nov 01, 2006 at 02:09:30PM +1100, Benjamin Herrenschmidt wrote:
> The alignment exception used to only check the exception table for
> -EFAULT, not for other errors. That opens an oops window if we can
> coerce the kernel into getting an alignment exception for other reasons
> in what would normally be a user-protected accessor, which can be done
> via some of the futex ops. This fixes it by always checking the
> exception tables.
>
> Signed-off-by: Benjamin Herrenschmidt <benh@kernel•crashing.org>
> ---
>
> This is 2.6.19 material and should probably go into stable as well.
> (Greg: take it if paulus acks it and it applies :)
Please forward the final patch (which ever version it is :) to the
stable@kernel•org address when this goes into mainline.
thanks,
greg k-h
next prev parent reply other threads:[~2006-11-01 7:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-01 3:09 [PATCH] powerpc: Make alignment exception always check exception table Benjamin Herrenschmidt
2006-11-01 3:42 ` [PATCH] powerpc: Make alignment exception always check exception table (#2) Benjamin Herrenschmidt
2006-11-01 4:11 ` [PATCH] powerpc: Make alignment exception always check exception table (#3) Benjamin Herrenschmidt
2006-11-01 6:34 ` Greg KH [this message]
2006-11-01 20:43 ` [PATCH] powerpc: Make alignment exception always check exception table Benjamin Herrenschmidt
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=20061101063401.GA25664@kroah.com \
--to=greg@kroah$(echo .)com \
--cc=benh@kernel$(echo .)crashing.org \
--cc=linuxppc-dev@ozlabs$(echo .)org \
--cc=paulus@samba$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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