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.

sigreturn.c 422B

123456789101112131415161718192021222324
  1. /*
  2. * Copyright (c) 2015-2018 Dmitry V. Levin <ldv@altlinux.org>
  3. * All rights reserved.
  4. *
  5. * SPDX-License-Identifier: LGPL-2.1-or-later
  6. */
  7. #include "defs.h"
  8. #include "ptrace.h"
  9. #include "nsig.h"
  10. #include "regs.h"
  11. #if defined HAVE_ASM_SIGCONTEXT_H && !defined HAVE_STRUCT_SIGCONTEXT
  12. # include <asm/sigcontext.h>
  13. #endif
  14. #include "arch_sigreturn.c"
  15. SYS_FUNC(sigreturn)
  16. {
  17. arch_sigreturn(tcp);
  18. return RVAL_DECODED;
  19. }