WIP FPC-III support
[linux/fpc-iii.git] / arch / sh / include / asm / seccomp.h
blobd4578395fd665c05aba71fcb11fbffa3358489f4
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_SECCOMP_H
4 #include <linux/unistd.h>
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_sigreturn
11 #ifdef CONFIG_CPU_LITTLE_ENDIAN
12 #define __SECCOMP_ARCH_LE __AUDIT_ARCH_LE
13 #else
14 #define __SECCOMP_ARCH_LE 0
15 #endif
17 #define SECCOMP_ARCH_NATIVE (AUDIT_ARCH_SH | __SECCOMP_ARCH_LE)
18 #define SECCOMP_ARCH_NATIVE_NR NR_syscalls
19 #define SECCOMP_ARCH_NATIVE_NAME "sh"
21 #endif /* __ASM_SECCOMP_H */