compat_ucontext.h 591 B

123456789101112131415161718
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef _ASM_PARISC_COMPAT_UCONTEXT_H
  3. #define _ASM_PARISC_COMPAT_UCONTEXT_H
  4. #include <linux/compat.h>
  5. /* 32-bit ucontext as seen from an 64-bit kernel */
  6. struct compat_ucontext {
  7. compat_uint_t uc_flags;
  8. compat_uptr_t uc_link;
  9. compat_stack_t uc_stack; /* struct compat_sigaltstack (12 bytes)*/
  10. /* FIXME: Pad out to get uc_mcontext to start at an 8-byte aligned boundary */
  11. compat_uint_t pad[1];
  12. struct compat_sigcontext uc_mcontext;
  13. compat_sigset_t uc_sigmask; /* mask last for extensibility */
  14. };
  15. #endif /* !_ASM_PARISC_COMPAT_UCONTEXT_H */