]> git.baikalelectronics.ru Git - kernel.git/commit
sparc: Prevent no-handler signal syscall restart recursion.
authorDavid S. Miller <davem@davemloft.net>
Wed, 22 Sep 2010 05:30:13 +0000 (22:30 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Sep 2010 05:30:13 +0000 (22:30 -0700)
commit86ef78a97d191ce3e635a49a45d580b150feebe5
tree3fe8d2b5cd9d59a47c64491ba2398bc2039d339c
parent3864fb491876002fee65dd08f23cf8f618ea1fbc
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