mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
linux-user: sync syscall numbers with kernel
Sync syscall numbers to match the linux v4.5-rc1 kernel. Reviewed-by: Laurent Vivier <laurent@vivier.eu> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
This commit is contained in:
@@ -316,6 +316,18 @@
|
||||
#define TARGET_NR_process_vm_writev (TARGET_NR_Linux + 310)
|
||||
#define TARGET_NR_kcmp (TARGET_NR_Linux + 311)
|
||||
#define TARGET_NR_finit_module (TARGET_NR_Linux + 312)
|
||||
#define TARGET_NR_sched_setattr (TARGET_NR_Linux + 313)
|
||||
#define TARGET_NR_sched_getattr (TARGET_NR_Linux + 314)
|
||||
#define TARGET_NR_renameat2 (TARGET_NR_Linux + 315)
|
||||
#define TARGET_NR_seccomp (TARGET_NR_Linux + 316)
|
||||
#define TARGET_NR_getrandom (TARGET_NR_Linux + 317)
|
||||
#define TARGET_NR_memfd_create (TARGET_NR_Linux + 318)
|
||||
#define TARGET_NR_bpf (TARGET_NR_Linux + 319)
|
||||
#define TARGET_NR_execveat (TARGET_NR_Linux + 320)
|
||||
#define TARGET_NR_userfaultfd (TARGET_NR_Linux + 321)
|
||||
#define TARGET_NR_membarrier (TARGET_NR_Linux + 322)
|
||||
#define TARGET_NR_mlock2 (TARGET_NR_Linux + 323)
|
||||
|
||||
#else
|
||||
/*
|
||||
* Linux 64-bit syscalls are in the range from 5000 to 5999.
|
||||
@@ -630,4 +642,15 @@
|
||||
#define TARGET_NR_kcmp (TARGET_NR_Linux + 306)
|
||||
#define TARGET_NR_finit_module (TARGET_NR_Linux + 307)
|
||||
#define TARGET_NR_getdents64 (TARGET_NR_Linux + 308)
|
||||
#define TARGET_NR_sched_setattr (TARGET_NR_Linux + 309)
|
||||
#define TARGET_NR_sched_getattr (TARGET_NR_Linux + 310)
|
||||
#define TARGET_NR_renameat2 (TARGET_NR_Linux + 311)
|
||||
#define TARGET_NR_seccomp (TARGET_NR_Linux + 312)
|
||||
#define TARGET_NR_getrandom (TARGET_NR_Linux + 313)
|
||||
#define TARGET_NR_memfd_create (TARGET_NR_Linux + 314)
|
||||
#define TARGET_NR_bpf (TARGET_NR_Linux + 315)
|
||||
#define TARGET_NR_execveat (TARGET_NR_Linux + 316)
|
||||
#define TARGET_NR_userfaultfd (TARGET_NR_Linux + 317)
|
||||
#define TARGET_NR_membarrier (TARGET_NR_Linux + 318)
|
||||
#define TARGET_NR_mlock2 (TARGET_NR_Linux + 319)
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user