]> git.baikalelectronics.ru Git - kernel.git/commit
FRV: Prevent syscall exit tracing and notify_resume at end of kernel exceptions
authorDavid Howells <dhowells@redhat.com>
Tue, 1 May 2012 18:44:14 +0000 (19:44 +0100)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 1 Jun 2012 16:59:18 +0000 (12:59 -0400)
commit00c1c2b60a57d19fad6db8c5edda0ca0a01159fb
tree43a01fe1f514429fc915605587ace27b14dccc9f
parent665f2ff8471099cad1af81a84eb46196433e25be
FRV: Prevent syscall exit tracing and notify_resume at end of kernel exceptions

Move the test for kernel mode processing from do_signal() into entry.S to also
prevent system call exit tracing and userspace resumption notification handling
happening when returning from kernel exceptions.

Reported-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/frv/kernel/entry.S
arch/frv/kernel/signal.c