[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1320381208.3079.61.camel@deadeye>
Date: Fri, 04 Nov 2011 04:33:28 +0000
From: Ben Hutchings <ben@...adent.org.uk>
To: Greg KH <gregkh@...e.de>
Cc: linux-kernel@...r.kernel.org, stable@...r.kernel.org,
torvalds@...ux-foundation.org, akpm@...ux-foundation.org,
alan@...rguk.ukuu.org.uk, "David S. Miller" <davem@...emloft.net>
Subject: Re: [005/107] sparc: Allow handling signals when stack is corrupted.
On Wed, 2011-11-02 at 15:13 -0700, Greg KH wrote:
> 2.6.32-longterm review patch. If anyone has any objections, please let us know.
>
> ------------------
>
> From: "David S. Miller" <davem@...emloft.net>
>
> commit 5598473a5b40c47a8c5349dd2c2630797169cf1a upstream.
>
> If we can't push the pending register windows onto the user's stack,
> we disallow signal delivery even if the signal would be delivered on a
> valid seperate signal stack.
>
> Add a register window save area in the signal frame, and store any
> unsavable windows there.
>
> On sigreturn, if any windows are still queued up in the signal frame,
> try to push them back onto the stack and if that fails we kill the
> process immediately.
>
> This allows the debug/tst-longjmp_chk2 glibc test case to pass.
[...]
But is there a real application that needs this?
Ben.
--
Ben Hutchings
Sturgeon's Law: Ninety percent of everything is crap.
Download attachment "signature.asc" of type "application/pgp-signature" (829 bytes)
Powered by blists - more mailing lists