1 /* SPDX-License-Identifier: GPL-2.0 */ 1 2 #ifndef __ASM_SECCOMP_H 3 4 #include <linux/unistd.h> 5 6 #define __NR_seccomp_read __NR_read 7 #define __NR_seccomp_write __NR_write 8 #define __NR_seccomp_exit __NR_exit 9 #define __NR_seccomp_sigreturn __NR_rt_sigretu 10 11 #ifdef CONFIG_CPU_LITTLE_ENDIAN 12 #define __SECCOMP_ARCH_LE __AUDI 13 #else 14 #define __SECCOMP_ARCH_LE 0 15 #endif 16 17 #define SECCOMP_ARCH_NATIVE (AUDIT 18 #define SECCOMP_ARCH_NATIVE_NR NR_sys 19 #define SECCOMP_ARCH_NATIVE_NAME "sh" 20 21 #endif /* __ASM_SECCOMP_H */ 22
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.