compat_signal.h 637 B

123456789101112131415161718192021222324252627282930
  1. #ifndef _COMPAT_SIGNAL_H
  2. #define _COMPAT_SIGNAL_H
  3. #include <linux/config.h>
  4. #include <linux/compat.h>
  5. #include <asm/signal.h>
  6. #ifdef CONFIG_COMPAT
  7. struct __new_sigaction32 {
  8. unsigned sa_handler;
  9. unsigned int sa_flags;
  10. unsigned sa_restorer; /* not used by Linux/SPARC yet */
  11. compat_sigset_t sa_mask;
  12. };
  13. struct __old_sigaction32 {
  14. unsigned sa_handler;
  15. compat_old_sigset_t sa_mask;
  16. unsigned int sa_flags;
  17. unsigned sa_restorer; /* not used by Linux/SPARC yet */
  18. };
  19. typedef struct sigaltstack32 {
  20. u32 ss_sp;
  21. int ss_flags;
  22. compat_size_t ss_size;
  23. } stack_t32;
  24. #endif
  25. #endif /* !(_COMPAT_SIGNAL_H) */