1 #ifndef __ASM_SECCOMP_H
3 #include <linux/unistd.h>
8 * The generic seccomp code currently allows only a single compat ABI. Until
9 * this is fixed we priorize O32 as the compat ABI over N32.
11 #ifdef CONFIG_MIPS32_O32
13 #define __NR_seccomp_read_32 4003
14 #define __NR_seccomp_write_32 4004
15 #define __NR_seccomp_exit_32 4001
16 #define __NR_seccomp_sigreturn_32 4193 /* rt_sigreturn */
18 #elif defined(CONFIG_MIPS32_N32)
20 #define __NR_seccomp_read_32 6000
21 #define __NR_seccomp_write_32 6001
22 #define __NR_seccomp_exit_32 6058
23 #define __NR_seccomp_sigreturn_32 6211 /* rt_sigreturn */
25 #endif /* CONFIG_MIPS32_O32 */
27 #include <asm-generic/seccomp.h>
29 #endif /* __ASM_SECCOMP_H */