parisc: tracehook_signal_handler
authorKyle McMartin <kyle@mcmartin.ca>
Mon, 27 Apr 2009 04:29:53 +0000 (00:29 -0400)
committerKyle McMartin <kyle@ihatethathostname.lab.bos.redhat.com>
Mon, 28 Sep 2009 03:07:21 +0000 (23:07 -0400)
This makes parisc call the standard tracehook_signal_handler hook
in <linux/tracehook.h> after setting up a signal handler.

Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
arch/parisc/kernel/signal.c

index 8eb3c63c407a43e5aaac3e96654ce391cd8764a5..c5f3d823d42b7f6cdb47217a2c826c3a35d3650b 100644 (file)
@@ -21,6 +21,7 @@
 #include <linux/errno.h>
 #include <linux/wait.h>
 #include <linux/ptrace.h>
+#include <linux/tracehook.h>
 #include <linux/unistd.h>
 #include <linux/stddef.h>
 #include <linux/compat.h>
@@ -468,6 +469,9 @@ handle_signal(unsigned long sig, siginfo_t *info, struct k_sigaction *ka,
                sigaddset(&current->blocked,sig);
        recalc_sigpending();
        spin_unlock_irq(&current->sighand->siglock);
+
+       tracehook_signal_handler(sig, info, ka, regs, 0);
+
        return 1;
 }