lkml.org 
[lkml]   [2009]   [Apr]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 04/17] arm: tracehook_signal_handler
Date
This makes arm call the standard tracehook_signal_handler() hook
in <linux/tracehook.h> after setting up a signal handler.

Signed-off-by: Roland McGrath <roland@redhat.com>
---
arch/arm/kernel/signal.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/arm/kernel/signal.c b/arch/arm/kernel/signal.c
index 80b8b5c..51e2187 100644
--- a/arch/arm/kernel/signal.c
+++ b/arch/arm/kernel/signal.c
@@ -12,6 +12,7 @@
#include <linux/personality.h>
#include <linux/freezer.h>
#include <linux/uaccess.h>
+#include <linux/tracehook.h>

#include <asm/elf.h>
#include <asm/cacheflush.h>
@@ -606,6 +607,7 @@ handle_signal(unsigned long sig, struct k_sigaction *ka,
recalc_sigpending();
spin_unlock_irq(&tsk->sighand->siglock);

+ tracehook_signal_handler(sig, info, ka, regs, 0);
}

/*

\
 
 \ /
  Last update: 2009-04-25 02:13    [W:0.144 / U:1.532 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site