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:
parent
b6e17875f2
commit
7c73d2a3fa
@ -262,7 +262,6 @@
|
||||
#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
|
||||
@ -274,6 +273,7 @@
|
||||
#define TARGET_NR_userfaultfd 282
|
||||
#define TARGET_NR_membarrier 283
|
||||
#define TARGET_NR_mlock2 284
|
||||
#define TARGET_NR_copy_file_range 285
|
||||
|
||||
#define TARGET_NR_open 1024
|
||||
#define TARGET_NR_link 1025
|
||||
|
@ -444,3 +444,9 @@
|
||||
#define TARGET_NR_process_vm_writev 505
|
||||
#define TARGET_NR_kcmp 506
|
||||
#define TARGET_NR_finit_module 507
|
||||
#define TARGET_NR_sched_setattr 508
|
||||
#define TARGET_NR_sched_getattr 509
|
||||
#define TARGET_NR_renameat2 510
|
||||
#define TARGET_NR_getrandom 511
|
||||
#define TARGET_NR_memfd_create 512
|
||||
#define TARGET_NR_execveat 513
|
||||
|
@ -336,3 +336,27 @@
|
||||
#define TARGET_NR_preadv 333
|
||||
#define TARGET_NR_pwritev 334
|
||||
#define TARGET_NR_setns 335
|
||||
#define TARGET_NR_name_to_handle_at 336
|
||||
#define TARGET_NR_open_by_handle_at 337
|
||||
#define TARGET_NR_rt_tgsigqueueinfo 338
|
||||
#define TARGET_NR_perf_event_open 339
|
||||
#define TARGET_NR_recvmmsg 340
|
||||
#define TARGET_NR_accept4 341
|
||||
#define TARGET_NR_fanotify_init 342
|
||||
#define TARGET_NR_fanotify_mark 343
|
||||
#define TARGET_NR_prlimit64 344
|
||||
#define TARGET_NR_clock_adjtime 345
|
||||
#define TARGET_NR_syncfs 346
|
||||
#define TARGET_NR_sendmmsg 347
|
||||
#define TARGET_NR_process_vm_readv 348
|
||||
#define TARGET_NR_process_vm_writev 349
|
||||
#define TARGET_NR_kcmp 350
|
||||
#define TARGET_NR_finit_module 351
|
||||
#define TARGET_NR_sched_setattr 352
|
||||
#define TARGET_NR_sched_getattr 353
|
||||
#define TARGET_NR_renameat2 354
|
||||
#define TARGET_NR_seccomp 355
|
||||
#define TARGET_NR_getrandom 356
|
||||
#define TARGET_NR_memfd_create 357
|
||||
#define TARGET_NR_bpf 358
|
||||
#define TARGET_NR_execveat 359
|
||||
|
@ -353,3 +353,30 @@
|
||||
#define TARGET_NR_process_vm_writev 348
|
||||
#define TARGET_NR_kcmp 349
|
||||
#define TARGET_NR_finit_module 350
|
||||
#define TARGET_NR_sched_setattr 351
|
||||
#define TARGET_NR_sched_getattr 352
|
||||
#define TARGET_NR_renameat2 353
|
||||
#define TARGET_NR_seccomp 354
|
||||
#define TARGET_NR_getrandom 355
|
||||
#define TARGET_NR_memfd_create 356
|
||||
#define TARGET_NR_bpf 357
|
||||
#define TARGET_NR_execveat 358
|
||||
#define TARGET_NR_socket 359
|
||||
#define TARGET_NR_socketpair 360
|
||||
#define TARGET_NR_bind 361
|
||||
#define TARGET_NR_connect 362
|
||||
#define TARGET_NR_listen 363
|
||||
#define TARGET_NR_accept4 364
|
||||
#define TARGET_NR_getsockopt 365
|
||||
#define TARGET_NR_setsockopt 366
|
||||
#define TARGET_NR_getsockname 367
|
||||
#define TARGET_NR_getpeername 368
|
||||
#define TARGET_NR_sendto 369
|
||||
#define TARGET_NR_sendmsg 370
|
||||
#define TARGET_NR_recvfrom 371
|
||||
#define TARGET_NR_recvmsg 372
|
||||
#define TARGET_NR_shutdown 373
|
||||
#define TARGET_NR_userfaultfd 374
|
||||
#define TARGET_NR_membarrier 375
|
||||
#define TARGET_NR_mlock2 376
|
||||
#define TARGET_NR_copy_file_range 377
|
||||
|
@ -382,3 +382,11 @@
|
||||
#define TARGET_NR_process_vm_writev 378
|
||||
#define TARGET_NR_kcmp 379
|
||||
#define TARGET_NR_finit_module 380
|
||||
#define TARGET_NR_sched_setattr 381
|
||||
#define TARGET_NR_sched_getattr 382
|
||||
#define TARGET_NR_renameat2 383
|
||||
#define TARGET_NR_seccomp 384
|
||||
#define TARGET_NR_getrandom 385
|
||||
#define TARGET_NR_memfd_create 386
|
||||
#define TARGET_NR_bpf 387
|
||||
#define TARGET_NR_execveat 388
|
||||
|
@ -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
|
||||
|
@ -382,9 +382,18 @@
|
||||
#define TARGET_NR_process_vm_writev 271
|
||||
#define TARGET_NR_kcmp 272
|
||||
#define TARGET_NR_finit_module 273
|
||||
|
||||
#undef TARGET_NR_syscalls
|
||||
#define TARGET_NR_syscalls 274
|
||||
#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_copy_file_range 285
|
||||
|
||||
/*
|
||||
* All syscalls below here should go away really,
|
||||
@ -411,9 +420,6 @@
|
||||
#define TARGET_NR_3264_stat 1038
|
||||
#define TARGET_NR_3264_lstat 1039
|
||||
|
||||
#undef TARGET_NR_syscalls
|
||||
#define TARGET_NR_syscalls (TARGET_NR_3264_lstat+1)
|
||||
|
||||
#define TARGET_NR_pipe 1040
|
||||
#define TARGET_NR_dup2 1041
|
||||
#define TARGET_NR_epoll_create 1042
|
||||
@ -421,10 +427,6 @@
|
||||
#define TARGET_NR_eventfd 1044
|
||||
#define TARGET_NR_signalfd 1045
|
||||
|
||||
#undef TARGET_NR_syscalls
|
||||
#define TARGET_NR_syscalls (TARGET_NR_signalfd+1)
|
||||
|
||||
|
||||
#define TARGET_NR_sendfile 1046
|
||||
#define TARGET_NR_ftruncate 1047
|
||||
#define TARGET_NR_truncate 1048
|
||||
@ -441,9 +443,6 @@
|
||||
#define TARGET_NR_lseek 1057
|
||||
#define TARGET_NR_mmap 1058
|
||||
|
||||
#undef TARGET_NR_syscalls
|
||||
#define TARGET_NR_syscalls (TARGET_NR_mmap+1)
|
||||
|
||||
#define TARGET_NR_alarm 1059
|
||||
#define __ARCH_WANT_SYS_ALARM
|
||||
#define TARGET_NR_getpgrp 1060
|
||||
@ -477,9 +476,6 @@
|
||||
|
||||
#define TARGET_NR_fork 1079
|
||||
|
||||
#undef TARGET_NR_syscalls
|
||||
#define TARGET_NR_syscalls (TARGET_NR_fork+1)
|
||||
|
||||
|
||||
/*
|
||||
* 32 bit systems traditionally used different
|
||||
|
@ -368,3 +368,27 @@
|
||||
#define TARGET_NR_process_vm_writev 352
|
||||
#define TARGET_NR_finit_module 353
|
||||
#define TARGET_NR_kcmp 354
|
||||
#define TARGET_NR_sched_setattr 355
|
||||
#define TARGET_NR_sched_getattr 356
|
||||
#define TARGET_NR_renameat2 357
|
||||
#define TARGET_NR_seccomp 358
|
||||
#define TARGET_NR_getrandom 359
|
||||
#define TARGET_NR_memfd_create 360
|
||||
#define TARGET_NR_bpf 361
|
||||
#define TARGET_NR_execveat 362
|
||||
#define TARGET_NR_switch_endian 363
|
||||
#define TARGET_NR_userfaultfd 364
|
||||
#define TARGET_NR_membarrier 365
|
||||
#define TARGET_NR_semop 366
|
||||
#define TARGET_NR_semget 367
|
||||
#define TARGET_NR_semctl 368
|
||||
#define TARGET_NR_semtimedop 369
|
||||
#define TARGET_NR_msgsnd 370
|
||||
#define TARGET_NR_msgrcv 371
|
||||
#define TARGET_NR_msgget 372
|
||||
#define TARGET_NR_msgctl 373
|
||||
#define TARGET_NR_shmat 374
|
||||
#define TARGET_NR_shmdt 375
|
||||
#define TARGET_NR_shmget 376
|
||||
#define TARGET_NR_shmctl 377
|
||||
#define TARGET_NR_mlock2 378
|
||||
|
@ -271,6 +271,36 @@
|
||||
#define TARGET_NR_s390_runtime_instr 342
|
||||
#define TARGET_NR_kcmp 343
|
||||
#define TARGET_NR_finit_module 344
|
||||
#define TARGET_NR_sched_setattr 345
|
||||
#define TARGET_NR_sched_getattr 346
|
||||
#define TARGET_NR_renameat2 347
|
||||
#define TARGET_NR_seccomp 348
|
||||
#define TARGET_NR_getrandom 349
|
||||
#define TARGET_NR_memfd_create 350
|
||||
#define TARGET_NR_bpf 351
|
||||
#define TARGET_NR_s390_pci_mmio_write 352
|
||||
#define TARGET_NR_s390_pci_mmio_read 353
|
||||
#define TARGET_NR_execveat 354
|
||||
#define TARGET_NR_userfaultfd 355
|
||||
#define TARGET_NR_membarrier 356
|
||||
#define TARGET_NR_recvmmsg 357
|
||||
#define TARGET_NR_sendmmsg 358
|
||||
#define TARGET_NR_socket 359
|
||||
#define TARGET_NR_socketpair 360
|
||||
#define TARGET_NR_bind 361
|
||||
#define TARGET_NR_connect 362
|
||||
#define TARGET_NR_listen 363
|
||||
#define TARGET_NR_accept4 364
|
||||
#define TARGET_NR_getsockopt 365
|
||||
#define TARGET_NR_setsockopt 366
|
||||
#define TARGET_NR_getsockname 367
|
||||
#define TARGET_NR_getpeername 368
|
||||
#define TARGET_NR_sendto 369
|
||||
#define TARGET_NR_sendmsg 370
|
||||
#define TARGET_NR_recvfrom 371
|
||||
#define TARGET_NR_recvmsg 372
|
||||
#define TARGET_NR_shutdown 373
|
||||
#define TARGET_NR_mlock2 374
|
||||
|
||||
/*
|
||||
* There are some system calls that are not present on 64 bit, some
|
||||
|
@ -309,3 +309,17 @@
|
||||
#define TARGET_NR_kern_features 340
|
||||
#define TARGET_NR_kcmp 341
|
||||
#define TARGET_NR_finit_module 342
|
||||
#define TARGET_NR_sched_setattr 343
|
||||
#define TARGET_NR_sched_getattr 344
|
||||
#define TARGET_NR_renameat2 345
|
||||
#define TARGET_NR_seccomp 346
|
||||
#define TARGET_NR_getrandom 347
|
||||
#define TARGET_NR_memfd_create 348
|
||||
#define TARGET_NR_bpf 349
|
||||
#define TARGET_NR_execveat 350
|
||||
#define TARGET_NR_membarrier 351
|
||||
#define TARGET_NR_userfaultfd 352
|
||||
#define TARGET_NR_bind 353
|
||||
#define TARGET_NR_listen 354
|
||||
#define TARGET_NR_setsockopt 355
|
||||
#define TARGET_NR_mlock2 356
|
||||
|
@ -341,3 +341,17 @@
|
||||
#define TARGET_NR_kern_features 340
|
||||
#define TARGET_NR_kcmp 341
|
||||
#define TARGET_NR_finit_module 342
|
||||
#define TARGET_NR_sched_setattr 343
|
||||
#define TARGET_NR_sched_getattr 344
|
||||
#define TARGET_NR_renameat2 345
|
||||
#define TARGET_NR_seccomp 346
|
||||
#define TARGET_NR_getrandom 347
|
||||
#define TARGET_NR_memfd_create 348
|
||||
#define TARGET_NR_bpf 349
|
||||
#define TARGET_NR_execveat 350
|
||||
#define TARGET_NR_membarrier 351
|
||||
#define TARGET_NR_userfaultfd 352
|
||||
#define TARGET_NR_bind 353
|
||||
#define TARGET_NR_listen 354
|
||||
#define TARGET_NR_setsockopt 355
|
||||
#define TARGET_NR_mlock2 356
|
||||
|
@ -274,6 +274,10 @@
|
||||
#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_copy_file_range 285
|
||||
|
||||
#define TARGET_NR_open 1024
|
||||
#define TARGET_NR_link 1025
|
||||
|
@ -312,3 +312,16 @@
|
||||
#define TARGET_NR_process_vm_writev 311
|
||||
#define TARGET_NR_kcmp 312
|
||||
#define TARGET_NR_finit_module 313
|
||||
#define TARGET_NR_sched_setattr 314
|
||||
#define TARGET_NR_sched_getattr 315
|
||||
#define TARGET_NR_renameat2 316
|
||||
#define TARGET_NR_seccomp 317
|
||||
#define TARGET_NR_getrandom 318
|
||||
#define TARGET_NR_memfd_create 319
|
||||
#define TARGET_NR_kexec_file_load 320
|
||||
#define TARGET_NR_bpf 321
|
||||
#define TARGET_NR_execveat 322
|
||||
#define TARGET_NR_userfaultfd 323
|
||||
#define TARGET_NR_membarrier 324
|
||||
#define TARGET_NR_mlock2 325
|
||||
#define TARGET_NR_copy_file_range 326
|
||||
|
Loading…
Reference in New Issue
Block a user