]> 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)
commit18988b23181af87a3f64350cd0d205c2ac99ac87
tree43a01fe1f514429fc915605587ace27b14dccc9f
parent0b0af47b7cef481c9bbd984f616f31c54346963f
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