diff options
author | Will Deacon <will.deacon@arm.com> | 2017-03-21 14:04:26 -0400 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2017-03-21 14:10:40 -0400 |
commit | 713cc9df6473f0cc8d699987d990482d432c0679 (patch) | |
tree | 6ad064d026023d764dfa84525059a1f5773ee80f | |
parent | fdfe4a393e9cd8c92f4489ca207d410f44d05043 (diff) |
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>
-rw-r--r-- | arch/arm64/include/asm/unistd.h | 2 | ||||
-rw-r--r-- | arch/arm64/include/asm/unistd32.h | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/arch/arm64/include/asm/unistd.h b/arch/arm64/include/asm/unistd.h index e78ac26324bd..bdbeb06dc11e 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 394 | 47 | #define __NR_compat_syscalls 398 |
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 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) | |||
809 | __SYSCALL(__NR_preadv2, compat_sys_preadv2) | 809 | __SYSCALL(__NR_preadv2, compat_sys_preadv2) |
810 | #define __NR_pwritev2 393 | 810 | #define __NR_pwritev2 393 |
811 | __SYSCALL(__NR_pwritev2, compat_sys_pwritev2) | 811 | __SYSCALL(__NR_pwritev2, compat_sys_pwritev2) |
812 | #define __NR_pkey_mprotect 394 | ||
813 | __SYSCALL(__NR_pkey_mprotect, sys_pkey_mprotect) | ||
814 | #define __NR_pkey_alloc 395 | ||
815 | __SYSCALL(__NR_pkey_alloc, sys_pkey_alloc) | ||
816 | #define __NR_pkey_free 396 | ||
817 | __SYSCALL(__NR_pkey_free, sys_pkey_free) | ||
818 | #define __NR_statx 397 | ||
819 | __SYSCALL(__NR_statx, sys_statx) | ||
812 | 820 | ||
813 | /* | 821 | /* |
814 | * Please add new compat syscalls above this comment and update | 822 | * Please add new compat syscalls above this comment and update |