kernel_sigaction.h 519 B

123456789101112131415161718192021222324
  1. #ifndef _BITS_SIGACTION_STRUCT_H
  2. #define _BITS_SIGACTION_STRUCT_H
  3. /* This file provides whatever this particular arch's kernel thinks
  4. * the sigaction struct should look like... */
  5. #if defined(__ia64__)
  6. #undef HAVE_SA_RESTORER
  7. #else
  8. #define HAVE_SA_RESTORER
  9. /* This is the sigaction structure from the Linux 2.1.20 kernel. */
  10. struct old_kernel_sigaction {
  11. __sighandler_t k_sa_handler;
  12. unsigned long sa_mask;
  13. unsigned long sa_flags;
  14. void (*sa_restorer)(void);
  15. };
  16. #endif
  17. #endif /* _BITS_SIGACTION_STRUCT_H */