File Index
Files and directories
Sign in
FILE

seccomp.h

File preview with syntax highlighting.

linux-6.19.14/arch/sh/include/asm/seccomp.h C
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#ifndef __ASM_SECCOMP_H
 3
 4#include <linux/unistd.h>
 5
 6#define __NR_seccomp_read __NR_read
 7#define __NR_seccomp_write __NR_write
 8#define __NR_seccomp_exit __NR_exit
 9#define __NR_seccomp_sigreturn __NR_rt_sigreturn
10
11#ifdef CONFIG_CPU_LITTLE_ENDIAN
12#define __SECCOMP_ARCH_LE		__AUDIT_ARCH_LE
13#else
14#define __SECCOMP_ARCH_LE		0
15#endif
16
17#define SECCOMP_ARCH_NATIVE		(AUDIT_ARCH_SH | __SECCOMP_ARCH_LE)
18#define SECCOMP_ARCH_NATIVE_NR		NR_syscalls
19#define SECCOMP_ARCH_NATIVE_NAME	"sh"
20
21#endif /* __ASM_SECCOMP_H */
~/ Read-only file preview.