0001
0002 #ifndef _ASM_S390_SECCOMP_H
0003 #define _ASM_S390_SECCOMP_H
0004
0005 #include <linux/unistd.h>
0006
0007 #define __NR_seccomp_read __NR_read
0008 #define __NR_seccomp_write __NR_write
0009 #define __NR_seccomp_exit __NR_exit
0010 #define __NR_seccomp_sigreturn __NR_sigreturn
0011
0012 #define __NR_seccomp_read_32 __NR_read
0013 #define __NR_seccomp_write_32 __NR_write
0014 #define __NR_seccomp_exit_32 __NR_exit
0015 #define __NR_seccomp_sigreturn_32 __NR_sigreturn
0016
0017 #include <asm-generic/seccomp.h>
0018
0019 #define SECCOMP_ARCH_NATIVE AUDIT_ARCH_S390X
0020 #define SECCOMP_ARCH_NATIVE_NR NR_syscalls
0021 #define SECCOMP_ARCH_NATIVE_NAME "s390x"
0022 #ifdef CONFIG_COMPAT
0023 # define SECCOMP_ARCH_COMPAT AUDIT_ARCH_S390
0024 # define SECCOMP_ARCH_COMPAT_NR NR_syscalls
0025 # define SECCOMP_ARCH_COMPAT_NAME "s390"
0026 #endif
0027
0028 #endif