aboutsummaryrefslogtreecommitdiff
path: root/linux-user/arm
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/arm
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/arm')
-rw-r--r--linux-user/arm/syscall_nr.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/linux-user/arm/syscall_nr.h b/linux-user/arm/syscall_nr.h
index 53552be..cc9089c 100644
--- a/linux-user/arm/syscall_nr.h
+++ b/linux-user/arm/syscall_nr.h
@@ -384,3 +384,15 @@
#define TARGET_NR_process_vm_writev (377)
#define TARGET_NR_kcmp (378)
#define TARGET_NR_finit_module (379)
+
+#define TARGET_NR_sched_setattr (380)
+#define TARGET_NR_sched_getattr (381)
+#define TARGET_NR_renameat2 (382)
+#define TARGET_NR_seccomp (383)
+#define TARGET_NR_getrandom (384)
+#define TARGET_NR_memfd_create (385)
+#define TARGET_NR_bpf (386)
+#define TARGET_NR_execveat (387)
+#define TARGET_NR_userfaultfd (388)
+#define TARGET_NR_membarrier (389)
+#define TARGET_NR_mlock2 (390)