aboutsummaryrefslogtreecommitdiff
path: root/linux-user/aarch64
diff options
context:
space:
mode:
authorJohan Ouwerkerk <jm.ouwerkerk@gmail.com>2015-12-24 23:31:26 +0100
committerMichael Tokarev <mjt@tls.msk.ru>2016-01-11 11:39:28 +0300
commit9763af08f816cdd6f329cde1c97597a0041998f5 (patch)
tree1bb355662bb5505467575dcb20f97ea0af677601 /linux-user/aarch64
parentf922254c87889f2bcdc289d4eea2dda569a03ece (diff)
downloadqemu-9763af08f816cdd6f329cde1c97597a0041998f5.zip
qemu-9763af08f816cdd6f329cde1c97597a0041998f5.tar.gz
qemu-9763af08f816cdd6f329cde1c97597a0041998f5.tar.bz2
Add missing syscall nrs. according to more recent Linux kernels
This change covers arm, aarch64, mips. Others to follow? The change was prompted by QEMU warning about a syscall 384 (get_random()) with Debian armhf binaries (ARMv7). Signed-off-by: Johan Ouwerkerk <jm.ouwerkerk@gmail.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'linux-user/aarch64')
-rw-r--r--linux-user/aarch64/syscall_nr.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/linux-user/aarch64/syscall_nr.h b/linux-user/aarch64/syscall_nr.h
index 743255d..74f4275 100644
--- a/linux-user/aarch64/syscall_nr.h
+++ b/linux-user/aarch64/syscall_nr.h
@@ -262,6 +262,19 @@
#define TARGET_NR_process_vm_writev 271
#define TARGET_NR_kcmp 272
#define TARGET_NR_finit_module 273
+
+#define TARGET_NR_sched_setattr 274
+#define TARGET_NR_sched_getattr 275
+#define TARGET_NR_renameat2 276
+#define TARGET_NR_seccomp 277
+#define TARGET_NR_getrandom 278
+#define TARGET_NR_memfd_create 279
+#define TARGET_NR_bpf 280
+#define TARGET_NR_execveat 281
+#define TARGET_NR_userfaultfd 282
+#define TARGET_NR_membarrier 283
+#define TARGET_NR_mlock2 284
+
#define TARGET_NR_open 1024
#define TARGET_NR_link 1025
#define TARGET_NR_unlink 1026