Files
linux/arch/sparc/kernel
Al Viro bf7ef7e4c2 sparc64: not any error from do_sigaltstack() should fail rt_sigreturn()
commit fae2ae2a90 upstream.

If a signal handler is executed on altstack and another signal comes,
we will end up with rt_sigreturn() on return from the second handler
getting -EPERM from do_sigaltstack().  It's perfectly OK, since we
are not asking to change the settings; in fact, they couldn't have been
changed during the second handler execution exactly because we'd been
on altstack all along.  64bit sigreturn on sparc treats any error from
do_sigaltstack() as "SIGSEGV now"; we need to switch to the same semantics
we are using on other architectures.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-12-03 12:59:14 -08:00
..
2011-06-07 16:06:34 -07:00
2011-06-07 16:06:34 -07:00
2012-04-22 16:21:24 -07:00
2011-03-31 11:26:23 -03:00
2010-09-22 16:35:09 -04:00
2011-03-16 18:19:15 -07:00
2011-08-15 18:31:41 -07:00
2011-03-29 14:48:14 +02:00
2011-03-30 17:37:56 -07:00
2011-06-07 16:06:34 -07:00
2011-06-07 16:06:34 -07:00
2011-04-19 22:11:40 -07:00
2011-04-19 22:11:40 -07:00
2011-05-28 10:48:39 -07:00
2011-06-07 16:06:34 -07:00
2011-06-07 16:06:34 -07:00