1 #ifndef _KERNEL_SIGACTION_H
2 # define _KERNEL_SIGACTION_H
6 #define SA_RESTORER 0x04000000
8 /* This is the sigaction structure from the Linux 3.2 kernel. */
9 struct kernel_sigaction
11 __sighandler_t k_sa_handler
;
13 unsigned long sa_flags
;
14 void (*sa_restorer
) (void);
17 #define SET_SA_RESTORER(kact, act) \
18 (kact)->sa_restorer = (act)->sa_restorer
19 #define RESET_SA_RESTORER(act, kact) \
20 (act)->sa_restorer = (kact)->sa_restorer