patch-signal_c 571 B

12345678910111213141516171819202122
  1. --- strace-4.8.orig/signal.c 2013-05-23 15:41:23.000000000 +0200
  2. +++ strace-4.8/signal.c 2014-02-26 17:40:43.000000000 +0100
  3. @@ -60,6 +60,10 @@
  4. # include <asm/ptrace_offsets.h>
  5. #endif
  6. +#ifndef POWERPC
  7. +#include <asm/ptrace.h>
  8. +#endif
  9. +
  10. #if defined(SPARC) || defined(SPARC64) || defined(MIPS)
  11. typedef struct {
  12. struct pt_regs si_regs;
  13. @@ -815,7 +819,7 @@ sys_sigreturn(struct tcb *tcp)
  14. {
  15. #if defined(ARM)
  16. if (entering(tcp)) {
  17. - struct sigcontext_struct sc;
  18. + struct sigcontext sc;
  19. sigset_t sigm;
  20. if (umove(tcp, arm_regs.ARM_sp, &sc) < 0)
  21. return 0;