From b6f7756d69ed057d16e1989e6fea345cba5368a9 Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Mon, 10 Feb 2003 12:27:26 -0800 Subject: [SIGNAL]: Allow more platforms to use generic get_signal_to_deliver. The few platforms that cannot use the generic get_signal_to_deliver implementation cannot do so because they do special things for ptraced children. This can be easily avoided and thus all of the signal handling code duplication can be eliminated. This is the first part, which adds a platform hook right before the parent of the ptraced child is woken. Data can be passed in via a cookie argument. The next part will be dealing with platforms that need to muck with breakpoints in the child in this same code block. --- include/linux/signal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/linux') diff --git a/include/linux/signal.h b/include/linux/signal.h index dd2e25e2129f..09e4d8587f0a 100644 --- a/include/linux/signal.h +++ b/include/linux/signal.h @@ -208,7 +208,7 @@ extern int sigprocmask(int, sigset_t *, sigset_t *); #ifndef HAVE_ARCH_GET_SIGNAL_TO_DELIVER struct pt_regs; -extern int get_signal_to_deliver(siginfo_t *info, struct pt_regs *regs); +extern int get_signal_to_deliver(siginfo_t *info, struct pt_regs *regs, void *cookie); #endif #endif /* __KERNEL__ */ -- cgit v1.2.3