Skip to contentSkip to conversation

linux-user: Update sh4 syscall definitions to match Linux 4.8

Qemu-devel Superseded John Paul Adrian Glaubitz 1 participant 3 messages Jan 16, 2017

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

Hi!

Same as with my previous patch for the sh4 target, here is the updated syscall definition table for Linux 4.6+. Since the last update to 4.4, three new syscalls were added.

Thanks,
Adrian

#1 lore raw

PATCH 1/1 linux-user: Update m68k syscall definitions to match Linux 4.6

---
 linux-user/m68k/syscall_nr.h | 3 +++
 1 file changed, 3 insertions(+)
linux-user/m68k/syscall_nr.h +3 -0
index 4b50fb29b6..4e9e6ebeac 100644
@@ -376,3 +376,6 @@
 #define TARGET_NR_userfaultfd           373
 #define TARGET_NR_membarrier            374
 #define TARGET_NR_mlock2                375
+#define TARGET_NR_file_range            376
+#define TARGET_NR_preadv2               377
+#define TARGET_NR_pwritev2              378
Signature · 1 line
2.11.0
#2 lore raw

Re: [Qemu-devel] [PATCH] linux-user: Update m68k syscall definitions to match Linux 4.6

linux-user/m68k/syscall_nr.h line 381

Quoted 3 lines · John Paul Adrian Glaubitz
linux-user/m68k/syscall_nr.h +3 -0
+#define TARGET_NR_file_range            376
+#define TARGET_NR_preadv2               377
+#define TARGET_NR_pwritev2              378

Oops, there's a copy-and-paste error. This should be TARGET_NR_copy_file_range. Will update in a second.

Signature · 4 lines
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - [email protected]
`. `'   Freie Universitaet Berlin - [email protected]
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913