]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc9bc48818e724b7a4937d766f522f0bfed074959
treeb8caf74ddac8ab94661a6fed1aad6f65e3194fac
parentf8a99dc23ee72194787fe9490e8f23b768742711
Revert "um: Fix get_signal() usage"

Commit 41bda65d0670ca13fe61e799576d63f519c38782
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