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
2011-03-30 17:37:56 -07:00
2010-10-09 02:33:34 -06:00
2012-05-21 09:40:01 -07:00
2011-06-07 16:06:34 -07:00
2011-08-15 18:31:40 -07:00
2011-08-15 18:31:40 -07:00
2011-04-21 15:47:35 -07:00
2012-04-22 16:21:24 -07:00
2012-01-06 14:14:02 -08:00
2011-07-16 10:45:12 -07:00
2010-04-12 22:37:26 -07:00
2011-04-21 16:44:45 -07:00
2011-08-15 18:31:40 -07:00
2010-08-08 22:07:36 -07:00
2011-08-15 18:31:41 -07:00
2011-08-15 18:31:41 -07:00
2011-03-31 11:26:23 -03:00
2011-03-16 18:19:15 -07:00
2011-05-16 13:41:40 -07:00
2011-05-16 13:07:43 -07:00
2011-05-16 13:38:07 -07:00
2011-10-03 11:40:01 -07:00
2010-09-22 16:35:09 -04:00
2011-08-15 18:31:41 -07:00
2010-05-20 21:04:19 -05:00
2010-05-20 21:04:19 -05:00
2010-03-30 22:02:32 +09:00
2010-04-14 02:04:29 -07:00
2011-08-15 18:31:41 -07:00
2011-03-16 18:19:15 -07:00
2010-03-30 22:02:32 +09:00
2011-06-09 16:12:34 -07:00
2011-06-02 14:32:38 -07:00
2011-06-02 14:32:37 -07:00
2011-03-16 18:19:04 -07:00
2011-05-16 13:38:07 -07:00
2011-10-03 11:39:59 -07:00
2011-08-15 18:31:41 -07:00
2012-01-06 14:14:02 -08:00
2010-11-26 15:14:56 +01:00
2011-03-16 18:19:14 -07:00
2011-05-16 13:38:07 -07:00
2011-03-18 15:47:26 -07:00
2011-06-07 16:06:34 -07:00
2011-03-30 17:37:56 -07:00
2011-03-16 18:19:03 -07:00
2011-05-16 13:38:07 -07:00
2011-03-30 17:37:56 -07:00
2011-05-18 12:32:23 -06:00
2011-06-07 16:06:34 -07:00
2012-01-06 14:14:01 -08:00
2011-03-29 14:48:14 +02:00
2011-10-03 11:40:01 -07:00
2011-08-15 18:31:40 -07:00
2012-10-28 10:02:13 -07:00
2011-04-21 15:37:20 -07:00
2011-03-30 17:37:56 -07:00
2011-05-16 13:03:28 -07:00
2010-08-28 13:55:31 -07:00
2011-04-21 15:47:35 -07:00
2010-07-24 09:49:13 -06:00
2010-10-12 21:57:53 -06:00
2011-06-07 16:06:34 -07:00
2010-10-10 21:53:30 -06:00
2011-06-07 16:06:34 -07:00
2010-07-24 09:58:22 -06:00
2010-10-27 18:03:12 -07:00
2011-03-16 18:19:15 -07:00
2010-10-26 08:59:55 -07:00
2012-04-22 16:21:24 -07:00
2011-06-07 16:06:34 -07:00
2011-06-07 16:06:34 -07:00
2012-01-06 14:14:02 -08:00
2012-01-06 14:14:05 -08:00
2012-01-06 14:14:05 -08:00
2012-12-03 12:59:14 -08:00
2011-10-03 11:39:59 -07:00
2011-10-03 11:39:59 -07:00
2011-10-03 11:39:59 -07:00
2011-06-07 16:06:34 -07:00
2011-05-20 13:10:22 -07:00
2011-08-15 18:31:41 -07:00
2011-08-15 18:31:41 -07:00
2010-04-21 03:08:11 -07:00
2011-01-03 20:02:06 -07:00
2011-04-19 22:11:40 -07:00
2011-06-07 16:06:33 -07:00
2011-05-16 13:38:07 -07:00
2011-04-19 22:11:40 -07:00
2011-05-16 13:38:07 -07:00
2010-08-16 15:04:29 -07:00
2011-06-07 16:06:34 -07:00
2010-11-17 08:59:32 -08:00
2012-10-28 10:02:13 -07:00
2012-10-28 10:02:13 -07:00
2011-05-16 13:38:07 -07:00
2011-05-28 10:48:39 -07:00
2012-06-01 15:12:54 +08:00
2010-03-12 15:52:32 -08:00
2010-10-09 02:33:34 -06:00
2011-05-20 12:59:54 -07:00
2011-06-07 16:06:34 -07:00
2011-06-07 16:06:34 -07:00
2010-02-19 15:19:52 -08:00
2010-06-25 11:17:57 -07:00
2011-02-01 12:39:59 -08:00
2011-03-16 18:19:15 -07:00
2010-11-17 08:59:32 -08:00
2011-08-15 18:31:40 -07:00
2011-06-07 16:06:34 -07:00
2011-06-07 16:06:34 -07:00
2010-03-30 22:02:32 +09:00
2011-06-07 16:06:34 -07:00
2012-01-06 14:14:04 -08:00
2011-08-15 18:31:41 -07:00
2010-11-17 08:59:32 -08:00