Thomas Gleixner | d2912cb | 2019-06-04 10:11:33 +0200 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
AKASHI Takahiro | a1ae65b | 2014-11-28 05:26:39 +0000 | [diff] [blame] | 2 | /* |
| 3 | * arch/arm64/include/asm/seccomp.h |
| 4 | * |
| 5 | * Copyright (C) 2014 Linaro Limited |
| 6 | * Author: AKASHI Takahiro <takahiro.akashi@linaro.org> |
AKASHI Takahiro | a1ae65b | 2014-11-28 05:26:39 +0000 | [diff] [blame] | 7 | */ |
| 8 | #ifndef _ASM_SECCOMP_H |
| 9 | #define _ASM_SECCOMP_H |
| 10 | |
| 11 | #include <asm/unistd.h> |
| 12 | |
| 13 | #ifdef CONFIG_COMPAT |
| 14 | #define __NR_seccomp_read_32 __NR_compat_read |
| 15 | #define __NR_seccomp_write_32 __NR_compat_write |
| 16 | #define __NR_seccomp_exit_32 __NR_compat_exit |
| 17 | #define __NR_seccomp_sigreturn_32 __NR_compat_rt_sigreturn |
| 18 | #endif /* CONFIG_COMPAT */ |
| 19 | |
| 20 | #include <asm-generic/seccomp.h> |
| 21 | |
| 22 | #endif /* _ASM_SECCOMP_H */ |