Warning: This file is not a C or C++ file. It does not have highlighting.
| 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
|---|---|
| 2 | #ifndef _ASM_S390_SECCOMP_H |
| 3 | #define _ASM_S390_SECCOMP_H |
| 4 | |
| 5 | #include <linux/unistd.h> |
| 6 | |
| 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 |
| 11 | |
| 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 |
| 16 | |
| 17 | #include <asm-generic/seccomp.h> |
| 18 | |
| 19 | #define SECCOMP_ARCH_NATIVE AUDIT_ARCH_S390X |
| 20 | #define SECCOMP_ARCH_NATIVE_NR NR_syscalls |
| 21 | #define SECCOMP_ARCH_NATIVE_NAME "s390x" |
| 22 | |
| 23 | #endif /* _ASM_S390_SECCOMP_H */ |
| 24 |
Warning: This file is not a C or C++ file. It does not have highlighting.
