Jon Loeliger | 2bfadee | 2005-09-23 08:05:03 -0500 | [diff] [blame] | 1 | #ifndef _ASM_POWERPC_SECCOMP_H |
Arnd Bergmann | 88ced03 | 2005-12-16 22:43:46 +0100 | [diff] [blame] | 2 | #define _ASM_POWERPC_SECCOMP_H |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3 | |
Paul Mackerras | 42650d8 | 2005-12-20 18:43:52 +1100 | [diff] [blame] | 4 | #ifdef __KERNEL__ |
Jon Loeliger | 2bfadee | 2005-09-23 08:05:03 -0500 | [diff] [blame] | 5 | #include <linux/thread_info.h> |
Arnd Bergmann | 88ced03 | 2005-12-16 22:43:46 +0100 | [diff] [blame] | 6 | #endif |
| 7 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | #include <linux/unistd.h> |
| 9 | |
| 10 | #define __NR_seccomp_read __NR_read |
| 11 | #define __NR_seccomp_write __NR_write |
| 12 | #define __NR_seccomp_exit __NR_exit |
| 13 | #define __NR_seccomp_sigreturn __NR_rt_sigreturn |
| 14 | |
| 15 | #define __NR_seccomp_read_32 __NR_read |
| 16 | #define __NR_seccomp_write_32 __NR_write |
| 17 | #define __NR_seccomp_exit_32 __NR_exit |
| 18 | #define __NR_seccomp_sigreturn_32 __NR_sigreturn |
| 19 | |
Jon Loeliger | 2bfadee | 2005-09-23 08:05:03 -0500 | [diff] [blame] | 20 | #endif /* _ASM_POWERPC_SECCOMP_H */ |