^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0-only */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #ifndef _ASM_SECCOMP_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) #define _ASM_SECCOMP_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) #include <asm-generic/seccomp.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) #ifdef CONFIG_64BIT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) # define SECCOMP_ARCH_NATIVE AUDIT_ARCH_PARISC64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) # define SECCOMP_ARCH_NATIVE_NR NR_syscalls
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) # define SECCOMP_ARCH_NATIVE_NAME "parisc64"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) # ifdef CONFIG_COMPAT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) # define SECCOMP_ARCH_COMPAT AUDIT_ARCH_PARISC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) # define SECCOMP_ARCH_COMPAT_NR NR_syscalls
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) # define SECCOMP_ARCH_COMPAT_NAME "parisc"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) # endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) #else /* !CONFIG_64BIT */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) # define SECCOMP_ARCH_NATIVE AUDIT_ARCH_PARISC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) # define SECCOMP_ARCH_NATIVE_NR NR_syscalls
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) # define SECCOMP_ARCH_NATIVE_NAME "parisc"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) #endif /* _ASM_SECCOMP_H */