xref: /openbmc/linux/arch/arm64/include/asm/seccomp.h (revision a1ae65b2)
1a1ae65b2SAKASHI Takahiro /*
2a1ae65b2SAKASHI Takahiro  * arch/arm64/include/asm/seccomp.h
3a1ae65b2SAKASHI Takahiro  *
4a1ae65b2SAKASHI Takahiro  * Copyright (C) 2014 Linaro Limited
5a1ae65b2SAKASHI Takahiro  * Author: AKASHI Takahiro <takahiro.akashi@linaro.org>
6a1ae65b2SAKASHI Takahiro  *
7a1ae65b2SAKASHI Takahiro  * This program is free software; you can redistribute it and/or modify
8a1ae65b2SAKASHI Takahiro  * it under the terms of the GNU General Public License version 2 as
9a1ae65b2SAKASHI Takahiro  * published by the Free Software Foundation.
10a1ae65b2SAKASHI Takahiro  */
11a1ae65b2SAKASHI Takahiro #ifndef _ASM_SECCOMP_H
12a1ae65b2SAKASHI Takahiro #define _ASM_SECCOMP_H
13a1ae65b2SAKASHI Takahiro 
14a1ae65b2SAKASHI Takahiro #include <asm/unistd.h>
15a1ae65b2SAKASHI Takahiro 
16a1ae65b2SAKASHI Takahiro #ifdef CONFIG_COMPAT
17a1ae65b2SAKASHI Takahiro #define __NR_seccomp_read_32		__NR_compat_read
18a1ae65b2SAKASHI Takahiro #define __NR_seccomp_write_32		__NR_compat_write
19a1ae65b2SAKASHI Takahiro #define __NR_seccomp_exit_32		__NR_compat_exit
20a1ae65b2SAKASHI Takahiro #define __NR_seccomp_sigreturn_32	__NR_compat_rt_sigreturn
21a1ae65b2SAKASHI Takahiro #endif /* CONFIG_COMPAT */
22a1ae65b2SAKASHI Takahiro 
23a1ae65b2SAKASHI Takahiro #include <asm-generic/seccomp.h>
24a1ae65b2SAKASHI Takahiro 
25a1ae65b2SAKASHI Takahiro #endif /* _ASM_SECCOMP_H */
26