diff options
Diffstat (limited to 'include/linux/signal.h')
-rw-r--r-- | include/linux/signal.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/signal.h b/include/linux/signal.h index ed1e71f1aac7..01451a156ff7 100644 --- a/include/linux/signal.h +++ b/include/linux/signal.h | |||
@@ -249,6 +249,13 @@ extern void __set_current_blocked(const sigset_t *); | |||
249 | extern int show_unhandled_signals; | 249 | extern int show_unhandled_signals; |
250 | extern int sigsuspend(sigset_t *); | 250 | extern int sigsuspend(sigset_t *); |
251 | 251 | ||
252 | struct k_sigaction { | ||
253 | struct sigaction sa; | ||
254 | #ifdef __ARCH_HAS_KA_RESTORER | ||
255 | __sigrestore_t ka_restorer; | ||
256 | #endif | ||
257 | }; | ||
258 | |||
252 | extern int get_signal_to_deliver(siginfo_t *info, struct k_sigaction *return_ka, struct pt_regs *regs, void *cookie); | 259 | extern int get_signal_to_deliver(siginfo_t *info, struct k_sigaction *return_ka, struct pt_regs *regs, void *cookie); |
253 | extern void signal_delivered(int sig, siginfo_t *info, struct k_sigaction *ka, struct pt_regs *regs, int stepping); | 260 | extern void signal_delivered(int sig, siginfo_t *info, struct k_sigaction *ka, struct pt_regs *regs, int stepping); |
254 | extern void exit_signals(struct task_struct *tsk); | 261 | extern void exit_signals(struct task_struct *tsk); |