x86, um: ... and asm-x86 move
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
17
arch/x86/include/asm/seccomp_32.h
Normal file
17
arch/x86/include/asm/seccomp_32.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef ASM_X86__SECCOMP_32_H
|
||||
#define ASM_X86__SECCOMP_32_H
|
||||
|
||||
#include <linux/thread_info.h>
|
||||
|
||||
#ifdef TIF_32BIT
|
||||
#error "unexpected TIF_32BIT on i386"
|
||||
#endif
|
||||
|
||||
#include <linux/unistd.h>
|
||||
|
||||
#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 */
|
Reference in New Issue
Block a user