From bb8985586b7a906e116db835c64773b7a7d51663 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Sun, 17 Aug 2008 21:05:42 -0400 Subject: x86, um: ... and asm-x86 move Signed-off-by: Al Viro Signed-off-by: H. Peter Anvin --- arch/x86/include/asm/seccomp_32.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 arch/x86/include/asm/seccomp_32.h (limited to 'arch/x86/include/asm/seccomp_32.h') diff --git a/arch/x86/include/asm/seccomp_32.h b/arch/x86/include/asm/seccomp_32.h new file mode 100644 index 00000000000..cf9ab2dbcef --- /dev/null +++ b/arch/x86/include/asm/seccomp_32.h @@ -0,0 +1,17 @@ +#ifndef ASM_X86__SECCOMP_32_H +#define ASM_X86__SECCOMP_32_H + +#include + +#ifdef TIF_32BIT +#error "unexpected TIF_32BIT on i386" +#endif + +#include + +#define __NR_seccomp_read __NR_read +#define __NR_seccomp_write __NR_write +#define __NR_seccomp_exit __NR_exit +#define __NR_seccomp_sigreturn __NR_sigreturn + +#endif /* ASM_X86__SECCOMP_32_H */ -- cgit v1.2.3-70-g09d2