H. Peter Anvin | 1965aae | 2008-10-22 22:26:29 -0700 | [diff] [blame] | 1 | #ifndef _ASM_X86_SECCOMP_64_H |
| 2 | #define _ASM_X86_SECCOMP_64_H |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 4 | #include <linux/unistd.h> |
| 5 | #include <asm/ia32_unistd.h> |
| 6 | |
| 7 | #define __NR_seccomp_read __NR_read |
| 8 | #define __NR_seccomp_write __NR_write |
| 9 | #define __NR_seccomp_exit __NR_exit |
| 10 | #define __NR_seccomp_sigreturn __NR_rt_sigreturn |
| 11 | |
| 12 | #define __NR_seccomp_read_32 __NR_ia32_read |
| 13 | #define __NR_seccomp_write_32 __NR_ia32_write |
| 14 | #define __NR_seccomp_exit_32 __NR_ia32_exit |
| 15 | #define __NR_seccomp_sigreturn_32 __NR_ia32_sigreturn |
| 16 | |
H. Peter Anvin | 1965aae | 2008-10-22 22:26:29 -0700 | [diff] [blame] | 17 | #endif /* _ASM_X86_SECCOMP_64_H */ |