1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_S390_SECCOMP_H
3 #define _ASM_S390_SECCOMP_H
5 #include <linux/unistd.h>
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_sigreturn
12 #define __NR_seccomp_read_32 __NR_read
13 #define __NR_seccomp_write_32 __NR_write
14 #define __NR_seccomp_exit_32 __NR_exit
15 #define __NR_seccomp_sigreturn_32 __NR_sigreturn
17 #include <asm-generic/seccomp.h>
19 #define SECCOMP_ARCH_NATIVE AUDIT_ARCH_S390X
20 #define SECCOMP_ARCH_NATIVE_NR NR_syscalls
21 #define SECCOMP_ARCH_NATIVE_NAME "s390x"
23 # define SECCOMP_ARCH_COMPAT AUDIT_ARCH_S390
24 # define SECCOMP_ARCH_COMPAT_NR NR_syscalls
25 # define SECCOMP_ARCH_COMPAT_NAME "s390"
28 #endif /* _ASM_S390_SECCOMP_H */