diff options
| author | Laurent Vivier | 2020-03-16 09:56:18 +0100 |
|---|---|---|
| committer | Laurent Vivier | 2020-03-20 16:02:00 +0100 |
| commit | ca2144c8a8cfb87cdd9e78f301295fc09f002ed1 (patch) | |
| tree | d48e00197a3a473c05f6b71900e1ed00bd694f10 /block | |
| parent | scripts: add a script to generate syscall_nr.h (diff) | |
| download | qemu-ca2144c8a8cfb87cdd9e78f301295fc09f002ed1.tar.gz qemu-ca2144c8a8cfb87cdd9e78f301295fc09f002ed1.tar.xz qemu-ca2144c8a8cfb87cdd9e78f301295fc09f002ed1.zip | |
linux-user, aarch64: sync syscall numbers with kernel v5.5
Use helper script scripts/gensyscalls.sh to generate the file.
This change TARGET_NR_fstatat64 by TARGET_NR_newfstatat that is correct
because definitions from linux are:
arch/arm64/include/uapi/asm/unistd.h
#define __ARCH_WANT_NEW_STAT
include/uapi/asm-generic/unistd.h
#if defined(__ARCH_WANT_NEW_STAT) || defined(__ARCH_WANT_STAT64)
#define __NR3264_fstatat 79
__SC_3264(__NR3264_fstatat, sys_fstatat64, sys_newfstatat)
#define __NR3264_fstat 80
__SC_3264(__NR3264_fstat, sys_fstat64, sys_newfstat)
#endif
...
#if __BITS_PER_LONG == 64 && !defined(__SYSCALL_COMPAT)
...
#if defined(__ARCH_WANT_NEW_STAT) || defined(__ARCH_WANT_STAT64)
#define __NR_newfstatat __NR3264_fstatat
#define __NR_fstat __NR3264_fstat
#endif
...
Add syscalls 286 (preadv2) to 435 (clone3).
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200316085620.309769-3-laurent@vivier.eu>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions
