compat_signal.h 565 B

123456789101112131415161718192021222324
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef _COMPAT_SIGNAL_H
  3. #define _COMPAT_SIGNAL_H
  4. #include <linux/compat.h>
  5. #include <asm/signal.h>
  6. #ifdef CONFIG_COMPAT
  7. struct __new_sigaction32 {
  8. unsigned int sa_handler;
  9. unsigned int sa_flags;
  10. unsigned int sa_restorer; /* not used by Linux/SPARC yet */
  11. compat_sigset_t sa_mask;
  12. };
  13. struct __old_sigaction32 {
  14. unsigned int sa_handler;
  15. compat_old_sigset_t sa_mask;
  16. unsigned int sa_flags;
  17. unsigned int sa_restorer; /* not used by Linux/SPARC yet */
  18. };
  19. #endif
  20. #endif /* !(_COMPAT_SIGNAL_H) */