sparc: Prevent no-handler signal syscall restart recursion.
commitc27852597829128a9c9d96d79ec454a83c6b0da5
authorDavid S. Miller <davem@davemloft.net>
Wed, 22 Sep 2010 05:30:13 +0000 (21 22:30 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Sep 2010 05:30:13 +0000 (21 22:30 -0700)
tree3fe8d2b5cd9d59a47c64491ba2398bc2039d339c
parent392c21802ee3aa85cee0e703105f797a8a7b9416
sparc: Prevent no-handler signal syscall restart recursion.

Explicitly clear the "in-syscall" bit when we have no signal
handler and back up the program counters to back up the system
call.

Reported-by: Al Viro <viro@ZenIV.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/signal32.c
arch/sparc/kernel/signal_32.c
arch/sparc/kernel/signal_64.c