Commit cd25b85ba6ee1f67c6458ba9d990170728d60828

Authored by Will Deacon
1 parent eaa27f34e9

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>

Showing 2 changed files with 3 additions and 1 deletions Side-by-side Diff

arch/arm64/include/asm/unistd.h
... ... @@ -44,7 +44,7 @@
44 44 #define __ARM_NR_compat_cacheflush (__ARM_NR_COMPAT_BASE+2)
45 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 48 #endif
49 49  
50 50 #define __ARCH_WANT_SYS_CLONE
arch/arm64/include/asm/unistd32.h
... ... @@ -795,4 +795,6 @@
795 795 __SYSCALL(__NR_memfd_create, sys_memfd_create)
796 796 #define __NR_bpf 386
797 797 __SYSCALL(__NR_bpf, sys_bpf)
  798 +#define __NR_execveat 387
  799 +__SYSCALL(__NR_execveat, compat_sys_execveat)