1 | #ifndef _KERNEL_SIGACTION_H |
---|---|
2 | # define _KERNEL_SIGACTION_H |
3 | |
4 | /* This is the sigaction structure from the Linux 3.2 kernel. */ |
5 | struct kernel_sigaction |
6 | { |
7 | __sighandler_t k_sa_handler; |
8 | unsigned long sa_flags; |
9 | #ifdef SA_RESTORER |
10 | void (*sa_restorer) (void); |
11 | #endif |
12 | sigset_t sa_mask; |
13 | }; |
14 | |
15 | #ifndef SA_RESTORER |
16 | # define SET_SA_RESTORER(kact, act) |
17 | # define RESET_SA_RESTORER(act, kact) |
18 | #endif |
19 | |
20 | #endif |
21 |