]> granicus.if.org Git - strace/blobdiff - sigreturn.c
xattr: change address argument type from unsigned long to kernel_ureg_t
[strace] / sigreturn.c
index 3909d1d1b0dcc0a15515458d699194c5e868e243..f0dab0da9adbcad6d59c0cebc5931b9a7126a939 100644 (file)
@@ -1,4 +1,5 @@
 #include "defs.h"
+#include <signal.h>
 #include "regs.h"
 #include "ptrace.h"
 
 # error NSIG < 32
 #endif
 
+#include "arch_sigreturn.c"
+
 SYS_FUNC(sigreturn)
 {
-       if (entering(tcp)) {
-#include "arch_sigreturn.c"
-       }
-       return 0;
+       arch_sigreturn(tcp);
+
+       return RVAL_DECODED;
 }