diff options
author | Will Deacon <will.deacon@arm.com> | 2015-01-12 11:46:21 -0500 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2015-01-12 11:46:21 -0500 |
commit | cd25b85ba6ee1f67c6458ba9d990170728d60828 (patch) | |
tree | 35f352fe47dab451c97ca40362409798f460233c /arch | |
parent | eaa27f34e91a14cdceed26ed6c6793ec1d186115 (diff) |
arm64: compat: wire up compat_sys_execveat
With 841ee230253f ("ARM: wire up execveat syscall"), arch/arm/ has grown
support for the execveat system call.
This patch wires up the compat variant for arm64.
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm64/include/asm/unistd.h | 2 | ||||
-rw-r--r-- | arch/arm64/include/asm/unistd32.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm64/include/asm/unistd.h b/arch/arm64/include/asm/unistd.h index b780c6c76eec..23e9432ac112 100644 --- a/arch/arm64/include/asm/unistd.h +++ b/arch/arm64/include/asm/unistd.h | |||
@@ -44,7 +44,7 @@ | |||
44 | #define __ARM_NR_compat_cacheflush (__ARM_NR_COMPAT_BASE+2) | 44 | #define __ARM_NR_compat_cacheflush (__ARM_NR_COMPAT_BASE+2) |
45 | #define __ARM_NR_compat_set_tls (__ARM_NR_COMPAT_BASE+5) | 45 | #define __ARM_NR_compat_set_tls (__ARM_NR_COMPAT_BASE+5) |
46 | 46 | ||
47 | #define __NR_compat_syscalls 387 | 47 | #define __NR_compat_syscalls 388 |
48 | #endif | 48 | #endif |
49 | 49 | ||
50 | #define __ARCH_WANT_SYS_CLONE | 50 | #define __ARCH_WANT_SYS_CLONE |
diff --git a/arch/arm64/include/asm/unistd32.h b/arch/arm64/include/asm/unistd32.h index 8893cebcea5b..27224426e0bf 100644 --- a/arch/arm64/include/asm/unistd32.h +++ b/arch/arm64/include/asm/unistd32.h | |||
@@ -795,3 +795,5 @@ __SYSCALL(__NR_getrandom, sys_getrandom) | |||
795 | __SYSCALL(__NR_memfd_create, sys_memfd_create) | 795 | __SYSCALL(__NR_memfd_create, sys_memfd_create) |
796 | #define __NR_bpf 386 | 796 | #define __NR_bpf 386 |
797 | __SYSCALL(__NR_bpf, sys_bpf) | 797 | __SYSCALL(__NR_bpf, sys_bpf) |
798 | #define __NR_execveat 387 | ||
799 | __SYSCALL(__NR_execveat, compat_sys_execveat) | ||