Revert "um: Fix get_signal() usage"
authorRichard Weinberger <richard@nod.at>
Mon, 25 Jan 2016 22:33:30 +0000 (23:33 +0100)
committerRichard Weinberger <richard@nod.at>
Sat, 5 Mar 2016 21:16:40 +0000 (22:16 +0100)
commit322740efbb7ca26df845161e61cc41484b7e328e
treeb8caf74ddac8ab94661a6fed1aad6f65e3194fac
parentfc77dbd34c5c99bce46d40a2491937c3bcbd10af
Revert "um: Fix get_signal() usage"

Commit db2f24dc240856fb1d78005307f1523b7b3c121b
was plain wrong. I did not realize the we are
allowed to loop here.
In fact we have to loop and must not return to userspace
before all SIGSEGVs have been delivered.
Other archs do this directly in their entry code, UML
does it here.

Reported-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/kernel/signal.c