Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^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) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3)  * arch/arm64/include/asm/seccomp.h
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5)  * Copyright (C) 2014 Linaro Limited
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6)  * Author: AKASHI Takahiro <takahiro.akashi@linaro.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) #ifndef _ASM_SECCOMP_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) #define _ASM_SECCOMP_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) #include <asm/unistd.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) #ifdef CONFIG_COMPAT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) #define __NR_seccomp_read_32		__NR_compat_read
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) #define __NR_seccomp_write_32		__NR_compat_write
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) #define __NR_seccomp_exit_32		__NR_compat_exit
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) #define __NR_seccomp_sigreturn_32	__NR_compat_rt_sigreturn
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) #endif /* CONFIG_COMPAT */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) #include <asm-generic/seccomp.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) #define SECCOMP_ARCH_NATIVE		AUDIT_ARCH_AARCH64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) #define SECCOMP_ARCH_NATIVE_NR		NR_syscalls
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) #define SECCOMP_ARCH_NATIVE_NAME	"aarch64"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) #ifdef CONFIG_COMPAT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) # define SECCOMP_ARCH_COMPAT		AUDIT_ARCH_ARM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) # define SECCOMP_ARCH_COMPAT_NR	__NR_compat_syscalls
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) # define SECCOMP_ARCH_COMPAT_NAME	"arm"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) #endif /* _ASM_SECCOMP_H */