Revision d979e8eb

b/linux-user/alpha/syscall_nr.h
411 411
#define TARGET_NR_signalfd			476
412 412
#define TARGET_NR_timerfd			477
413 413
#define TARGET_NR_eventfd			478
414

  
414
#define TARGET_NR_recvmmsg                      479
415
#define TARGET_NR_fallocate                     480
416
#define TARGET_NR_timerfd_create                481
417
#define TARGET_NR_timerfd_settime               482
418
#define TARGET_NR_timerfd_gettime               483
419
#define TARGET_NR_signalfd4                     484
420
#define TARGET_NR_eventfd2                      485
421
#define TARGET_NR_epoll_create1                 486
422
#define TARGET_NR_dup3                          487
423
#define TARGET_NR_pipe2                         488
424
#define TARGET_NR_inotify_init1                 489
425
#define TARGET_NR_preadv                        490
426
#define TARGET_NR_pwritev                       491
427
#define TARGET_NR_rt_tgsigqueueinfo             492
428
#define TARGET_NR_perf_event_open               493
429
#define TARGET_NR_fanotify_init                 494
430
#define TARGET_NR_fanotify_mark                 495
431
#define TARGET_NR_prlimit64                     496
432
#define TARGET_NR_name_to_handle_at             497
433
#define TARGET_NR_open_by_handle_at             498
434
#define TARGET_NR_clock_adjtime                 499
435
#define TARGET_NR_syncfs                        500
b/linux-user/arm/syscall_nr.h
365 365
#define TARGET_NR_dup3				(358)
366 366
#define TARGET_NR_pipe2			(359)
367 367
#define TARGET_NR_inotify_init1		(360)
368
#define TARGET_NR_preadv                       (361)
369
#define TARGET_NR_pwritev                      (362)
370
#define TARGET_NR_rt_tgsigqueueinfo            (363)
371
#define TARGET_NR_perf_event_open              (364)
372
#define TARGET_NR_recvmmsg                     (365)
373
#define TARGET_NR_accept4                      (366)
374
#define TARGET_NR_fanotify_init                (367)
375
#define TARGET_NR_fanotify_mark                (368)
376
#define TARGET_NR_prlimit64                    (369)
377
#define TARGET_NR_name_to_handle_at            (370)
378
#define TARGET_NR_open_by_handle_at            (371)
379
#define TARGET_NR_clock_adjtime                (372)
380
#define TARGET_NR_syncfs                       (373)
b/linux-user/cris/syscall_nr.h
333 333
#define TARGET_NR_dup3               330
334 334
#define TARGET_NR_pipe2              331
335 335
#define TARGET_NR_inotify_init1      332
336
#define TARGET_NR_preadv             333
337
#define TARGET_NR_pwritev            334
b/linux-user/i386/syscall_nr.h
335 335
#define TARGET_NR_dup3			330
336 336
#define TARGET_NR_pipe2		331
337 337
#define TARGET_NR_inotify_init1	332
338
#define TARGET_NR_preadv                333
339
#define TARGET_NR_pwritev               334
340
#define TARGET_NR_rt_tgsigqueueinfo     335
341
#define TARGET_NR_perf_event_open       336
342
#define TARGET_NR_recvmmsg              337
343
#define TARGET_NR_fanotify_init         338
344
#define TARGET_NR_fanotify_mark         339
345
#define TARGET_NR_prlimit64             340
346
#define TARGET_NR_name_to_handle_at     341
347
#define TARGET_NR_open_by_handle_at     342
348
#define TARGET_NR_clock_adjtime         343
349
#define TARGET_NR_syncfs                344
b/linux-user/m68k/syscall_nr.h
328 328
#define TARGET_NR_dup3			326
329 329
#define TARGET_NR_pipe2		327
330 330
#define TARGET_NR_inotify_init1	328
331
#define TARGET_NR_inotify_init1         328
332
#define TARGET_NR_preadv                329
333
#define TARGET_NR_pwritev               330
334
#define TARGET_NR_rt_tgsigqueueinfo     331
335
#define TARGET_NR_perf_event_open       332
336
#define TARGET_NR_get_thread_area       333
337
#define TARGET_NR_set_thread_area       334
338
#define TARGET_NR_atomic_cmpxchg_32     335
339
#define TARGET_NR_atomic_barrier        336
340
#define TARGET_NR_fanotify_init         337
341
#define TARGET_NR_fanotify_mark         338
342
#define TARGET_NR_prlimit64             339
343
#define TARGET_NR_name_to_handle_at     340
344
#define TARGET_NR_open_by_handle_at     341
345
#define TARGET_NR_clock_adjtime         342
346
#define TARGET_NR_syncfs                343
b/linux-user/main.c
1985 1985
	MIPS_SYS(sys_epoll_pwait, 6)
1986 1986
	MIPS_SYS(sys_ioprio_set, 3)
1987 1987
	MIPS_SYS(sys_ioprio_get, 2)
1988
        MIPS_SYS(sys_utimensat, 4)
1989
        MIPS_SYS(sys_signalfd, 3)
1990
        MIPS_SYS(sys_ni_syscall, 0)     /* was timerfd */
1991
        MIPS_SYS(sys_eventfd, 1)
1992
        MIPS_SYS(sys_fallocate, 6)      /* 4320 */
1993
        MIPS_SYS(sys_timerfd_create, 2)
1994
        MIPS_SYS(sys_timerfd_gettime, 2)
1995
        MIPS_SYS(sys_timerfd_settime, 4)
1996
        MIPS_SYS(sys_signalfd4, 4)
1997
        MIPS_SYS(sys_eventfd2, 2)       /* 4325 */
1998
        MIPS_SYS(sys_epoll_create1, 1)
1999
        MIPS_SYS(sys_dup3, 3)
2000
        MIPS_SYS(sys_pipe2, 2)
2001
        MIPS_SYS(sys_inotify_init1, 1)
2002
        MIPS_SYS(sys_preadv, 6)         /* 4330 */
2003
        MIPS_SYS(sys_pwritev, 6)
2004
        MIPS_SYS(sys_rt_tgsigqueueinfo, 4)
2005
        MIPS_SYS(sys_perf_event_open, 5)
2006
        MIPS_SYS(sys_accept4, 4)
2007
        MIPS_SYS(sys_recvmmsg, 5)       /* 4335 */
2008
        MIPS_SYS(sys_fanotify_init, 2)
2009
        MIPS_SYS(sys_fanotify_mark, 6)
2010
        MIPS_SYS(sys_prlimit64, 4)
2011
        MIPS_SYS(sys_name_to_handle_at, 5)
2012
        MIPS_SYS(sys_open_by_handle_at, 3) /* 4340 */
2013
        MIPS_SYS(sys_clock_adjtime, 2)
2014
        MIPS_SYS(sys_syncfs, 1)
1988 2015
};
1989 2016

  
1990 2017
#undef MIPS_SYS
b/linux-user/microblaze/syscall_nr.h
364 364
#define TARGET_NR_sendmsg		360 /* new */
365 365
#define TARGET_NR_recvmsg		361 /* new */
366 366
#define TARGET_NR_accept04		362 /* new */
367

  
368
#define TARGET_NR_syscalls		363
367
#define TARGET_NR_preadv                363 /* new */
368
#define TARGET_NR_pwritev               364 /* new */
369
#define TARGET_NR_rt_tgsigqueueinfo     365 /* new */
370
#define TARGET_NR_perf_event_open       366 /* new */
371
#define TARGET_NR_recvmmsg              367 /* new */
372
#define TARGET_NR_fanotify_init         368
373
#define TARGET_NR_fanotify_mark         369
374
#define TARGET_NR_prlimit64             370
375
#define TARGET_NR_name_to_handle_at     371
376
#define TARGET_NR_open_by_handle_at     372
377
#define TARGET_NR_clock_adjtime         373
378
#define TARGET_NR_syncfs                374
369 379

  
b/linux-user/mips/syscall_nr.h
332 332
#define TARGET_NR_dup3			(TARGET_NR_Linux + 327)
333 333
#define TARGET_NR_pipe2		(TARGET_NR_Linux + 328)
334 334
#define TARGET_NR_inotify_init1	(TARGET_NR_Linux + 329)
335
#define TARGET_NR_preadv                (TARGET_NR_Linux + 330)
336
#define TARGET_NR_pwritev               (TARGET_NR_Linux + 331)
337
#define TARGET_NR_rt_tgsigqueueinfo     (TARGET_NR_Linux + 332)
338
#define TARGET_NR_perf_event_open       (TARGET_NR_Linux + 333)
339
#define TARGET_NR_accept4               (TARGET_NR_Linux + 334)
340
#define TARGET_NR_recvmmsg              (TARGET_NR_Linux + 335)
341
#define TARGET_NR_fanotify_init         (TARGET_NR_Linux + 336)
342
#define TARGET_NR_fanotify_mark         (TARGET_NR_Linux + 337)
343
#define TARGET_NR_prlimit64             (TARGET_NR_Linux + 338)
344
#define TARGET_NR_name_to_handle_at     (TARGET_NR_Linux + 339)
345
#define TARGET_NR_open_by_handle_at     (TARGET_NR_Linux + 340)
346
#define TARGET_NR_clock_adjtime         (TARGET_NR_Linux + 341)
347
#define TARGET_NR_syncfs                (TARGET_NR_Linux + 342)
b/linux-user/mips64/syscall_nr.h
291 291
#define TARGET_NR_dup3				(TARGET_NR_Linux + 286)
292 292
#define TARGET_NR_pipe2			(TARGET_NR_Linux + 287)
293 293
#define TARGET_NR_inotify_init1		(TARGET_NR_Linux + 288)
294
#define TARGET_NR_preadv                        (TARGET_NR_Linux + 289)
295
#define TARGET_NR_pwritev                       (TARGET_NR_Linux + 290)
296
#define TARGET_NR_rt_tgsigqueueinfo             (TARGET_NR_Linux + 291)
297
#define TARGET_NR_perf_event_open               (TARGET_NR_Linux + 292)
298
#define TARGET_NR_accept4                       (TARGET_NR_Linux + 293)
299
#define TARGET_NR_recvmmsg                      (TARGET_NR_Linux + 294)
300
#define TARGET_NR_fanotify_init                 (TARGET_NR_Linux + 295)
301
#define TARGET_NR_fanotify_mark                 (TARGET_NR_Linux + 296)
302
#define TARGET_NR_prlimit64                     (TARGET_NR_Linux + 297)
303
#define TARGET_NR_name_to_handle_at             (TARGET_NR_Linux + 298)
304
#define TARGET_NR_open_by_handle_at             (TARGET_NR_Linux + 299)
305
#define TARGET_NR_clock_adjtime                 (TARGET_NR_Linux + 300)
306
#define TARGET_NR_syncfs                        (TARGET_NR_Linux + 301)
b/linux-user/mipsn32/syscall_nr.h
295 295
#define TARGET_NR_dup3				(TARGET_NR_Linux + 290)
296 296
#define TARGET_NR_pipe2			(TARGET_NR_Linux + 291)
297 297
#define TARGET_NR_inotify_init1		(TARGET_NR_Linux + 292)
298
#define TARGET_NR_preadv                        (TARGET_NR_Linux + 293)
299
#define TARGET_NR_pwritev                       (TARGET_NR_Linux + 294)
300
#define TARGET_NR_rt_tgsigqueueinfo             (TARGET_NR_Linux + 295)
301
#define TARGET_NR_perf_event_open               (TARGET_NR_Linux + 296)
302
#define TARGET_NR_accept4                       (TARGET_NR_Linux + 297)
303
#define TARGET_NR_recvmmsg                      (TARGET_NR_Linux + 298)
304
#define TARGET_NR_getdents64                    (TARGET_NR_Linux + 299)
305
#define TARGET_NR_fanotify_init                 (TARGET_NR_Linux + 300)
306
#define TARGET_NR_fanotify_mark                 (TARGET_NR_Linux + 301)
307
#define TARGET_NR_prlimit64                     (TARGET_NR_Linux + 302)
308
#define TARGET_NR_name_to_handle_at             (TARGET_NR_Linux + 303)
309
#define TARGET_NR_open_by_handle_at             (TARGET_NR_Linux + 304)
310
#define TARGET_NR_clock_adjtime                 (TARGET_NR_Linux + 305)
311
#define TARGET_NR_syncfs                        (TARGET_NR_Linux + 306)
b/linux-user/ppc/syscall_nr.h
332 332
#define TARGET_NR_dup3			316
333 333
#define TARGET_NR_pipe2		317
334 334
#define TARGET_NR_inotify_init1	318
335
#define TARGET_NR_perf_event_open       319
336
#define TARGET_NR_preadv                320
337
#define TARGET_NR_pwritev               321
338
#define TARGET_NR_rt_tgsigqueueinfo     322
339
#define TARGET_NR_fanotify_init         323
340
#define TARGET_NR_fanotify_mark         324
341
#define TARGET_NR_prlimit64             325
342
#define TARGET_NR_socket                326
343
#define TARGET_NR_bind                  327
344
#define TARGET_NR_connect               328
345
#define TARGET_NR_listen                329
346
#define TARGET_NR_accept                330
347
#define TARGET_NR_getsockname           331
348
#define TARGET_NR_getpeername           332
349
#define TARGET_NR_socketpair            333
350
#define TARGET_NR_send                  334
351
#define TARGET_NR_sendto                335
352
#define TARGET_NR_recv                  336
353
#define TARGET_NR_recvfrom              337
354
#define TARGET_NR_shutdown              338
355
#define TARGET_NR_setsockopt            339
356
#define TARGET_NR_getsockopt            340
357
#define TARGET_NR_sendmsg               341
358
#define TARGET_NR_recvmsg               342
359
#define TARGET_NR_recvmmsg              343
360
#define TARGET_NR_accept4               344
361
#define TARGET_NR_name_to_handle_at     345
362
#define TARGET_NR_open_by_handle_at     346
363
#define TARGET_NR_clock_adjtime         347
364
#define TARGET_NR_syncfs                348
b/linux-user/s390x/syscall_nr.h
254 254
#define TARGET_NR_pipe2		325
255 255
#define TARGET_NR_dup3		326
256 256
#define TARGET_NR_epoll_create1	327
257
#undef NR_syscalls
258
#define NR_syscalls 328
257
#define TARGET_NR_preadv                328
258
#define TARGET_NR_pwritev               329
259
#define TARGET_NR_rt_tgsigqueueinfo     330
260
#define TARGET_NR_perf_event_open       331
261
#define TARGET_NR_fanotify_init         332
262
#define TARGET_NR_fanotify_mark         333
263
#define TARGET_NR_prlimit64             334
264
#define TARGET_NR_name_to_handle_at     335
265
#define TARGET_NR_open_by_handle_at     336
266
#define TARGET_NR_clock_adjtime         337
267
#define TARGET_NR_syncfs                338
259 268

  
260 269
/*
261 270
 * There are some system calls that are not present on 64 bit, some
b/linux-user/sh4/syscall_nr.h
334 334
#define TARGET_NR_dup3			330
335 335
#define TARGET_NR_pipe2		331
336 336
#define TARGET_NR_inotify_init1	332
337
#define TARGET_NR_preadv                333
338
#define TARGET_NR_pwritev               334
339
#define TARGET_NR_rt_tgsigqueueinfo     335
340
#define TARGET_NR_perf_event_open       336
341
#define TARGET_NR_fanotify_init         337
342
#define TARGET_NR_fanotify_mark         338
343
#define TARGET_NR_prlimit64             339
344

  
345
/* Non-multiplexed socket family */
346
#define TARGET_NR_socket                340
347
#define TARGET_NR_bind                  341
348
#define TARGET_NR_connect               342
349
#define TARGET_NR_listen                343
350
#define TARGET_NR_accept                344
351
#define TARGET_NR_getsockname           345
352
#define TARGET_NR_getpeername           346
353
#define TARGET_NR_socketpair            347
354
#define TARGET_NR_send                  348
355
#define TARGET_NR_sendto                349
356
#define TARGET_NR_recv                  350
357
#define TARGET_NR_recvfrom              351
358
#define TARGET_NR_shutdown              352
359
#define TARGET_NR_setsockopt            353
360
#define TARGET_NR_getsockopt            354
361
#define TARGET_NR_sendmsg               355
362
#define TARGET_NR_recvmsg               356
363
#define TARGET_NR_recvmmsg              357
364
#define TARGET_NR_accept4               358
365
#define TARGET_NR_name_to_handle_at     359
366
#define TARGET_NR_open_by_handle_at     360
367
#define TARGET_NR_clock_adjtime         361
368
#define TARGET_NR_syncfs                362
b/linux-user/sparc/syscall_nr.h
285 285
#define TARGET_NR_pipe2		321
286 286
#define TARGET_NR_inotify_init1	322
287 287
#define TARGET_NR_accept4		323
288
#define TARGET_NR_preadv                324
289
#define TARGET_NR_pwritev               325
290
#define TARGET_NR_rt_tgsigqueueinfo     326
291
#define TARGET_NR_perf_event_open       327
292
#define TARGET_NR_recvmmsg              328
293
#define TARGET_NR_fanotify_init         329
294
#define TARGET_NR_fanotify_mark         330
295
#define TARGET_NR_prlimit64             331
296
#define TARGET_NR_name_to_handle_at     332
297
#define TARGET_NR_open_by_handle_at     333
298
#define TARGET_NR_clock_adjtime         334
299
#define TARGET_NR_syncfs                335
b/linux-user/sparc64/syscall_nr.h
322 322
#define TARGET_NR_pipe2		321
323 323
#define TARGET_NR_inotify_init1	322
324 324
#define TARGET_NR_accept4		323
325
#define TARGET_NR_preadv                324
326
#define TARGET_NR_pwritev               325
327
#define TARGET_NR_rt_tgsigqueueinfo     326
328
#define TARGET_NR_perf_event_open       327
329
#define TARGET_NR_recvmmsg              328
330
#define TARGET_NR_fanotify_init         329
331
#define TARGET_NR_fanotify_mark         330
332
#define TARGET_NR_prlimit64             331
333
#define TARGET_NR_name_to_handle_at     332
334
#define TARGET_NR_open_by_handle_at     333
335
#define TARGET_NR_clock_adjtime         334
336
#define TARGET_NR_syncfs                335
b/linux-user/x86_64/syscall_nr.h
293 293
#define TARGET_NR_dup3			292
294 294
#define TARGET_NR_pipe2		293
295 295
#define TARGET_NR_inotify_init1	294
296
#define TARGET_NR_preadv                295
297
#define TARGET_NR_pwritev               296
298
#define TARGET_NR_rt_tgsigqueueinfo     297
299
#define TARGET_NR_perf_event_open       298
300
#define TARGET_NR_recvmmsg              299
301
#define TARGET_NR_fanotify_init         300
302
#define TARGET_NR_fanotify_mark         301
303
#define TARGET_NR_prlimit64             302
304
#define TARGET_NR_name_to_handle_at     303
305
#define TARGET_NR_open_by_handle_at     304
306
#define TARGET_NR_clock_adjtime         305
307
#define TARGET_NR_syncfs                306

Also available in: Unified diff