kernel_sigaction.h 632 B

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