Al Viro fae2ae2a90 sparc64: not any error from do_sigaltstack() should fail rt_sigreturn()
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.

Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-11-18 22:27:03 -05:00
..
2011-06-07 16:06:34 -07:00
2012-05-27 23:52:45 -07:00
2012-05-11 19:27:46 -07:00
2012-10-05 20:39:04 -07:00
2012-07-26 16:46:15 -07:00
2012-03-28 16:36:34 +02:00
2012-05-27 23:52:44 -07:00
2012-05-14 14:05:09 -07:00
2012-03-28 18:30:03 +01:00
2012-08-18 23:26:19 -07:00
2012-03-28 18:30:03 +01:00
2012-06-01 12:58:52 -04:00
2012-10-28 13:15:09 -07:00
2012-10-28 13:15:09 -07:00
2012-10-09 16:23:06 +09:00
2012-06-24 11:03:52 -07:00