Dmitry V. Levin
5a25466437
* nsig.h: New file. * Makefile.am (strace_SOURCES): Add it. * signal.c: Include "nsig.h" instead of <signal.h>, remove NSIG workarounds. * sigreturn.c: Likewise. * syscall.c: Likewise. * tests/pselect6.c: Likewise.
18 lines
279 B
C
18 lines
279 B
C
#include "defs.h"
|
|
#include "nsig.h"
|
|
#include "regs.h"
|
|
#include "ptrace.h"
|
|
|
|
#if defined HAVE_ASM_SIGCONTEXT_H && !defined HAVE_STRUCT_SIGCONTEXT
|
|
# include <asm/sigcontext.h>
|
|
#endif
|
|
|
|
#include "arch_sigreturn.c"
|
|
|
|
SYS_FUNC(sigreturn)
|
|
{
|
|
arch_sigreturn(tcp);
|
|
|
|
return RVAL_DECODED;
|
|
}
|