diff options
Diffstat (limited to 'include/linux/signal.h')
-rw-r--r-- | include/linux/signal.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/linux/signal.h b/include/linux/signal.h index 01451a156ff7..0b6878e882da 100644 --- a/include/linux/signal.h +++ b/include/linux/signal.h | |||
@@ -249,6 +249,20 @@ 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 sigaction { | ||
253 | #ifndef __ARCH_HAS_ODD_SIGACTION | ||
254 | __sighandler_t sa_handler; | ||
255 | unsigned long sa_flags; | ||
256 | #else | ||
257 | unsigned long sa_flags; | ||
258 | __sighandler_t sa_handler; | ||
259 | #endif | ||
260 | #ifdef __ARCH_HAS_SA_RESTORER | ||
261 | __sigrestore_t sa_restorer; | ||
262 | #endif | ||
263 | sigset_t sa_mask; /* mask last for extensibility */ | ||
264 | }; | ||
265 | |||
252 | struct k_sigaction { | 266 | struct k_sigaction { |
253 | struct sigaction sa; | 267 | struct sigaction sa; |
254 | #ifdef __ARCH_HAS_KA_RESTORER | 268 | #ifdef __ARCH_HAS_KA_RESTORER |