diff options
| author | David S. Miller <davem@nuts.ninka.net> | 2003-02-10 12:27:26 -0800 |
|---|---|---|
| committer | David S. Miller <davem@nuts.ninka.net> | 2003-02-10 12:27:26 -0800 |
| commit | b6f7756d69ed057d16e1989e6fea345cba5368a9 (patch) | |
| tree | 70a26339bd7162fb5634e6f72190a089d41a907e /include/linux | |
| parent | 89ed8e6a62791f20e7da81c7bc9b57f313c1eb96 (diff) | |
[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.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/signal.h | 2 |
1 files changed, 1 insertions, 1 deletions
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__ */ |
