1 #ifndef _BITS_SIGACTION_STRUCT_H 2 #define _BITS_SIGACTION_STRUCT_H 3 4 /* This file provides whatever this particular arch's kernel thinks 5 * the sigaction struct should look like... */ 6 7 8 #if defined(__ia64__) 9 10 #undef HAVE_SA_RESTORER 11 12 #else 13 14 #define HAVE_SA_RESTORER 15 /* This is the sigaction structure from the Linux 2.1.20 kernel. */ 16 struct old_kernel_sigaction { 17 __sighandler_t k_sa_handler; 18 unsigned long sa_mask; 19 unsigned long sa_flags; 20 void (*sa_restorer)(void); 21 }; 22 23 /* This is the sigaction structure from the Linux 2.1.68 kernel. */ 24 struct kernel_sigaction { 25 __sighandler_t k_sa_handler; 26 unsigned long sa_flags; 27 void (*sa_restorer) (void); 28 sigset_t sa_mask; 29 }; 30 #endif 31 32 #endif /* _BITS_SIGACTION_STRUCT_H */ 33