Staging
v0.8.1
swh:1:snp:a902887e4be9191b7c6c4406aa06b31c1ce2c7cc
Raw File
Tip revision: 05d3ef8bba77c1b5f98d941d8b2d4aeab8118ef1 authored by Linus Torvalds on 22 October 2023, 22:11:21 UTC
Linux 6.6-rc7
Tip revision: 05d3ef8
seccomp.h
/* SPDX-License-Identifier: GPL-2.0 */

#ifndef _ASM_SECCOMP_H
#define _ASM_SECCOMP_H

#include <asm/unistd.h>

#include <asm-generic/seccomp.h>

#ifdef CONFIG_64BIT
# define SECCOMP_ARCH_NATIVE		AUDIT_ARCH_RISCV64
# define SECCOMP_ARCH_NATIVE_NR		NR_syscalls
# define SECCOMP_ARCH_NATIVE_NAME	"riscv64"
#else /* !CONFIG_64BIT */
# define SECCOMP_ARCH_NATIVE		AUDIT_ARCH_RISCV32
# define SECCOMP_ARCH_NATIVE_NR		NR_syscalls
# define SECCOMP_ARCH_NATIVE_NAME	"riscv32"
#endif

#endif /* _ASM_SECCOMP_H */
back to top