#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;
}