kernel_sigaction.h 664 B

1234567891011121314151617181920212223
  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. /* In uclibc, userspace struct sigaction is identical to
  13. * "new" struct kernel_sigaction (one from the Linux 2.1.68 kernel).
  14. * See sigaction.h
  15. */
  16. extern int __syscall_rt_sigaction (int, const struct sigaction *,
  17. struct sigaction *, size_t) attribute_hidden;
  18. #endif