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 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) #ifndef __ASM_SECCOMP_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) #include <linux/unistd.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) #define __NR_seccomp_read __NR_read
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) #define __NR_seccomp_write __NR_write
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) #define __NR_seccomp_exit __NR_exit
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) #define __NR_seccomp_sigreturn __NR_rt_sigreturn
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) #ifdef CONFIG_CPU_LITTLE_ENDIAN
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) #define __SECCOMP_ARCH_LE		__AUDIT_ARCH_LE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) #define __SECCOMP_ARCH_LE		0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) #define SECCOMP_ARCH_NATIVE		(AUDIT_ARCH_SH | __SECCOMP_ARCH_LE)
^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	"sh"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) #endif /* __ASM_SECCOMP_H */