kernel_sigaction.h 724 B

1234567891011121314151617181920212223242526
  1. #ifndef _BITS_SIGACTION_STRUCT_H
  2. #define _BITS_SIGACTION_STRUCT_H
  3. /* We have a separate header file here because we do not support
  4. SA_RESTORER on hppa. */
  5. /* This is the sigaction struction from the Linux 2.1.20 kernel. */
  6. /* Blah. This is bogus. We don't ever use it. */
  7. struct old_kernel_sigaction {
  8. __sighandler_t k_sa_handler;
  9. unsigned long sa_mask;
  10. unsigned long sa_flags;
  11. };
  12. /* This is the sigaction structure from the Linux 2.1.68 kernel. */
  13. struct kernel_sigaction {
  14. __sighandler_t k_sa_handler;
  15. unsigned long sa_flags;
  16. sigset_t sa_mask;
  17. };
  18. extern int __syscall_rt_sigaction (int, const struct kernel_sigaction *__unbounded,
  19. struct kernel_sigaction *__unbounded, size_t) attribute_hidden;
  20. #endif