summaryrefslogtreecommitdiffstats
path: root/arch/parisc/kernel/signal32.c
diff options
context:
space:
mode:
authorAl Viro2012-11-19 04:27:03 +0100
committerDavid S. Miller2012-11-19 04:27:03 +0100
commitfae2ae2a900a5c7bb385fe4075f343e7e2d5daa2 (patch)
treee2a5db3f28670ff0e86f2f75d1c6de210a51967f /arch/parisc/kernel/signal32.c
parentfanotify: fix FAN_Q_OVERFLOW case of fanotify_read() (diff)
downloadkernel-qcow2-linux-fae2ae2a900a5c7bb385fe4075f343e7e2d5daa2.tar.gz
kernel-qcow2-linux-fae2ae2a900a5c7bb385fe4075f343e7e2d5daa2.tar.xz
kernel-qcow2-linux-fae2ae2a900a5c7bb385fe4075f343e7e2d5daa2.zip
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>
Diffstat (limited to 'arch/parisc/kernel/signal32.c')
0 files changed, 0 insertions, 0 deletions