Mark Wielaard cb8031
diff --git a/coregrind/m_syswrap/syswrap-x86-linux.c b/coregrind/m_syswrap/syswrap-x86-linux.c
Mark Wielaard cb8031
index bec145a..11bb13d 100644
Mark Wielaard cb8031
--- a/coregrind/m_syswrap/syswrap-x86-linux.c
Mark Wielaard cb8031
+++ b/coregrind/m_syswrap/syswrap-x86-linux.c
Mark Wielaard cb8031
@@ -1604,7 +1604,10 @@ static SyscallTableEntry syscall_table[] = {
Mark Wielaard cb8031
    LINX_(__NR_sendmsg,           sys_sendmsg),          // 370
Mark Wielaard cb8031
    LINXY(__NR_recvfrom,          sys_recvfrom),         // 371
Mark Wielaard cb8031
    LINXY(__NR_recvmsg,           sys_recvmsg),          // 372
Mark Wielaard cb8031
-   LINX_(__NR_shutdown,          sys_shutdown)          // 373
Mark Wielaard cb8031
+   LINX_(__NR_shutdown,          sys_shutdown),         // 373
Mark Wielaard cb8031
+
Mark Wielaard cb8031
+   /* Explicitly not supported on i386 yet. */
Mark Wielaard cb8031
+   GENX_(__NR_arch_prctl,        sys_ni_syscall)        // 384
Mark Wielaard cb8031
 };
Mark Wielaard cb8031
 
Mark Wielaard cb8031
 SyscallTableEntry* ML_(get_linux_syscall_entry) ( UInt sysno )
Mark Wielaard cb8031
commit 12d162aabc8180d9ad0c095e72a1354e93b091d7
Mark Wielaard cb8031
Author: Tom Hughes <tom@compton.nu>
Mark Wielaard cb8031
Date:   Wed Mar 21 12:28:31 2018 +0000
Mark Wielaard cb8031
Mark Wielaard cb8031
    Update linux system call numbers.
Mark Wielaard cb8031
Mark Wielaard cb8031
diff --git a/include/vki/vki-scnums-x86-linux.h b/include/vki/vki-scnums-x86-linux.h
Mark Wielaard cb8031
index 8a6376b..041d247 100644
Mark Wielaard cb8031
--- a/include/vki/vki-scnums-x86-linux.h
Mark Wielaard cb8031
+++ b/include/vki/vki-scnums-x86-linux.h
Mark Wielaard cb8031
@@ -32,7 +32,7 @@
Mark Wielaard cb8031
 #ifndef __VKI_SCNUMS_X86_LINUX_H
Mark Wielaard cb8031
 #define __VKI_SCNUMS_X86_LINUX_H
Mark Wielaard cb8031
 
Mark Wielaard cb8031
-// Derived from linux-2.6/arch/x86/syscalls/syscall_32.tbl
Mark Wielaard cb8031
+// Derived from linux-2.6/arch/x86/entry/syscalls/syscall_32.tbl
Mark Wielaard cb8031
 
Mark Wielaard cb8031
 #define __NR_restart_syscall      0
Mark Wielaard cb8031
 #define __NR_exit		  1
Mark Wielaard cb8031
@@ -411,6 +411,14 @@
Mark Wielaard cb8031
 #define __NR_userfaultfd        374
Mark Wielaard cb8031
 #define __NR_membarrier         375
Mark Wielaard cb8031
 #define __NR_mlock2             376
Mark Wielaard cb8031
+#define __NR_copy_file_range    377
Mark Wielaard cb8031
+#define __NR_preadv2            378
Mark Wielaard cb8031
+#define __NR_pwritev2           379
Mark Wielaard cb8031
+#define __NR_pkey_mprotect      380
Mark Wielaard cb8031
+#define __NR_pkey_alloc         381
Mark Wielaard cb8031
+#define __NR_pkey_free          382
Mark Wielaard cb8031
+#define __NR_statx              383
Mark Wielaard cb8031
+#define __NR_arch_prctl         384
Mark Wielaard cb8031
 
Mark Wielaard cb8031
 #endif /* __VKI_SCNUMS_X86_LINUX_H */
Mark Wielaard cb8031