summaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/unistd32.h
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2017-03-21 19:04:26 +0100
committerWill Deacon <will.deacon@arm.com>2017-03-21 19:10:40 +0100
commit713cc9df6473f0cc8d699987d990482d432c0679 (patch)
tree6ad064d026023d764dfa84525059a1f5773ee80f /arch/arm64/include/asm/unistd32.h
parentgeneric syscalls: Wire up statx syscall (diff)
downloadlinux-713cc9df6473f0cc8d699987d990482d432c0679.tar.xz
linux-713cc9df6473f0cc8d699987d990482d432c0679.zip
arm64: compat: Update compat syscalls
Hook up three pkey syscalls (which we don't implement) and the new statx syscall, as has been done for arch/arm/. Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/include/asm/unistd32.h')
-rw-r--r--arch/arm64/include/asm/unistd32.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/unistd32.h b/arch/arm64/include/asm/unistd32.h
index b7e8ef16ff0d..c66b51aab195 100644
--- a/arch/arm64/include/asm/unistd32.h
+++ b/arch/arm64/include/asm/unistd32.h
@@ -809,6 +809,14 @@ __SYSCALL(__NR_copy_file_range, sys_copy_file_range)
__SYSCALL(__NR_preadv2, compat_sys_preadv2)
#define __NR_pwritev2 393
__SYSCALL(__NR_pwritev2, compat_sys_pwritev2)
+#define __NR_pkey_mprotect 394
+__SYSCALL(__NR_pkey_mprotect, sys_pkey_mprotect)
+#define __NR_pkey_alloc 395
+__SYSCALL(__NR_pkey_alloc, sys_pkey_alloc)
+#define __NR_pkey_free 396
+__SYSCALL(__NR_pkey_free, sys_pkey_free)
+#define __NR_statx 397
+__SYSCALL(__NR_statx, sys_statx)
/*
* Please add new compat syscalls above this comment and update