kernel_sigaction.h 579 B

1234567891011121314151617181920212223
  1. #ifndef _BITS_SIGACTION_STRUCT_H
  2. #define _BITS_SIGACTION_STRUCT_H
  3. /* This is the sigaction struction from the Linux 2.1.20 kernel. */
  4. struct old_kernel_sigaction {
  5. __sighandler_t k_sa_handler;
  6. unsigned long sa_mask;
  7. unsigned int sa_flags;
  8. };
  9. /* This is the sigaction structure from the Linux 2.1.68 kernel. */
  10. struct kernel_sigaction {
  11. __sighandler_t k_sa_handler;
  12. unsigned int sa_flags;
  13. sigset_t sa_mask;
  14. };
  15. extern int __syscall_rt_sigaction (int, const struct kernel_sigaction *__unbounded,
  16. struct kernel_sigaction *__unbounded, size_t) attribute_hidden;
  17. #endif