Skip to content

Commit

Permalink
parisc: tracehook_signal_handler
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
jkkm authored and Kyle McMartin committed Sep 28, 2009
1 parent d6b5877 commit ecf02de
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/parisc/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit ecf02de

Please sign in to comment.