18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * arch/arm64/include/asm/seccomp.h 48c2ecf20Sopenharmony_ci * 58c2ecf20Sopenharmony_ci * Copyright (C) 2014 Linaro Limited 68c2ecf20Sopenharmony_ci * Author: AKASHI Takahiro <takahiro.akashi@linaro.org> 78c2ecf20Sopenharmony_ci */ 88c2ecf20Sopenharmony_ci#ifndef _ASM_SECCOMP_H 98c2ecf20Sopenharmony_ci#define _ASM_SECCOMP_H 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci#include <asm/unistd.h> 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ci#ifdef CONFIG_COMPAT 148c2ecf20Sopenharmony_ci#define __NR_seccomp_read_32 __NR_compat_read 158c2ecf20Sopenharmony_ci#define __NR_seccomp_write_32 __NR_compat_write 168c2ecf20Sopenharmony_ci#define __NR_seccomp_exit_32 __NR_compat_exit 178c2ecf20Sopenharmony_ci#define __NR_seccomp_sigreturn_32 __NR_compat_rt_sigreturn 188c2ecf20Sopenharmony_ci#endif /* CONFIG_COMPAT */ 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ci#include <asm-generic/seccomp.h> 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ci#endif /* _ASM_SECCOMP_H */ 23