Al Viro 9a81c16b52 powerpc: fix double syscall restarts
Make sigreturn zero regs->trap, make do_signal() do the same on all
paths.  As it is, signal interrupting e.g. read() from fd 512 (==
ERESTARTSYS) with another signal getting unblocked when the first
handler finishes will lead to restart one insn earlier than it ought
to.  Same for multiple signals with in-kernel handlers interrupting
that sucker at the same time.  Same for multiple signals of any kind
interrupting that sucker on 64bit...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-09-22 09:33:50 -07:00
..
2010-07-14 17:14:00 +10:00
2010-08-04 10:26:03 +10:00
2010-07-14 17:14:00 +10:00
2010-03-05 03:04:08 -06:00
2010-05-05 09:11:10 -04:00
2010-05-17 12:18:52 +03:00
2010-07-24 09:58:22 -06:00
2010-08-04 10:26:03 +10:00
2010-08-24 15:26:30 +10:00
2009-07-12 12:22:34 -07:00
2010-08-04 10:26:03 +10:00
2010-09-22 09:33:50 -07:00
2010-07-19 10:56:54 +02:00
2010-03-12 15:52:32 -08:00
2007-10-11 14:36:47 +10:00
2010-07-14 17:14:00 +10:00