diff options
author | Kyle McMartin <kyle@mcmartin.ca> | 2009-04-27 00:29:53 -0400 |
---|---|---|
committer | Kyle McMartin <kyle@ihatethathostname.lab.bos.redhat.com> | 2009-09-27 23:07:21 -0400 |
commit | ecf02de5a1491592d1b68d8095ff62ea3aaee67e (patch) | |
tree | b64dbb06a58e8924521879f34b2a78c062cb7ff6 /arch/parisc | |
parent | d6b58772dc39262629708e5f3c30ef06de290894 (diff) |
parisc: tracehook_signal_handler
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>
Diffstat (limited to 'arch/parisc')
-rw-r--r-- | arch/parisc/kernel/signal.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/parisc/kernel/signal.c b/arch/parisc/kernel/signal.c index 8eb3c63c407a..c5f3d823d42b 100644 --- a/arch/parisc/kernel/signal.c +++ b/arch/parisc/kernel/signal.c | |||
@@ -21,6 +21,7 @@ | |||
21 | #include <linux/errno.h> | 21 | #include <linux/errno.h> |
22 | #include <linux/wait.h> | 22 | #include <linux/wait.h> |
23 | #include <linux/ptrace.h> | 23 | #include <linux/ptrace.h> |
24 | #include <linux/tracehook.h> | ||
24 | #include <linux/unistd.h> | 25 | #include <linux/unistd.h> |
25 | #include <linux/stddef.h> | 26 | #include <linux/stddef.h> |
26 | #include <linux/compat.h> | 27 | #include <linux/compat.h> |
@@ -468,6 +469,9 @@ handle_signal(unsigned long sig, siginfo_t *info, struct k_sigaction *ka, | |||
468 | sigaddset(¤t->blocked,sig); | 469 | sigaddset(¤t->blocked,sig); |
469 | recalc_sigpending(); | 470 | recalc_sigpending(); |
470 | spin_unlock_irq(¤t->sighand->siglock); | 471 | spin_unlock_irq(¤t->sighand->siglock); |
472 | |||
473 | tracehook_signal_handler(sig, info, ka, regs, 0); | ||
474 | |||
471 | return 1; | 475 | return 1; |
472 | } | 476 | } |
473 | 477 | ||