Mirror of strace – the linux syscall tracer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

rt_sigframe.h 510B

1234567891011121314151617181920212223242526
  1. /*
  2. * Copyright (c) 2017-2018 Dmitry V. Levin <ldv@altlinux.org>
  3. * All rights reserved.
  4. *
  5. * SPDX-License-Identifier: LGPL-2.1-or-later
  6. */
  7. #ifndef STRACE_RT_SIGFRAME_H
  8. # define STRACE_RT_SIGFRAME_H
  9. # include <signal.h>
  10. # ifdef __s390x__
  11. # define SIGNAL_FRAMESIZE 160
  12. # else /* __s390__ */
  13. # define SIGNAL_FRAMESIZE 96
  14. # endif
  15. typedef struct {
  16. uint8_t callee_used_stack[SIGNAL_FRAMESIZE];
  17. uint16_t svc_insn;
  18. siginfo_t info;
  19. ucontext_t uc;
  20. } struct_rt_sigframe;
  21. #endif /* !STRACE_RT_SIGFRAME_H */