1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 // Generated from the Linux kernel's syscall_64.tbl. 6 #ifndef SANDBOX_LINUX_SYSTEM_HEADERS_X86_64_LINUX_SYSCALLS_H_ 7 #define SANDBOX_LINUX_SYSTEM_HEADERS_X86_64_LINUX_SYSCALLS_H_ 8 9 #if !defined(__x86_64__) 10 #error "Including header on wrong architecture" 11 #endif 12 13 #if !defined(__NR_read) 14 #define __NR_read 0 15 #endif 16 17 #if !defined(__NR_write) 18 #define __NR_write 1 19 #endif 20 21 #if !defined(__NR_open) 22 #define __NR_open 2 23 #endif 24 25 #if !defined(__NR_close) 26 #define __NR_close 3 27 #endif 28 29 #if !defined(__NR_stat) 30 #define __NR_stat 4 31 #endif 32 33 #if !defined(__NR_fstat) 34 #define __NR_fstat 5 35 #endif 36 37 #if !defined(__NR_lstat) 38 #define __NR_lstat 6 39 #endif 40 41 #if !defined(__NR_poll) 42 #define __NR_poll 7 43 #endif 44 45 #if !defined(__NR_lseek) 46 #define __NR_lseek 8 47 #endif 48 49 #if !defined(__NR_mmap) 50 #define __NR_mmap 9 51 #endif 52 53 #if !defined(__NR_mprotect) 54 #define __NR_mprotect 10 55 #endif 56 57 #if !defined(__NR_munmap) 58 #define __NR_munmap 11 59 #endif 60 61 #if !defined(__NR_brk) 62 #define __NR_brk 12 63 #endif 64 65 #if !defined(__NR_rt_sigaction) 66 #define __NR_rt_sigaction 13 67 #endif 68 69 #if !defined(__NR_rt_sigprocmask) 70 #define __NR_rt_sigprocmask 14 71 #endif 72 73 #if !defined(__NR_rt_sigreturn) 74 #define __NR_rt_sigreturn 15 75 #endif 76 77 #if !defined(__NR_ioctl) 78 #define __NR_ioctl 16 79 #endif 80 81 #if !defined(__NR_pread64) 82 #define __NR_pread64 17 83 #endif 84 85 #if !defined(__NR_pwrite64) 86 #define __NR_pwrite64 18 87 #endif 88 89 #if !defined(__NR_readv) 90 #define __NR_readv 19 91 #endif 92 93 #if !defined(__NR_writev) 94 #define __NR_writev 20 95 #endif 96 97 #if !defined(__NR_access) 98 #define __NR_access 21 99 #endif 100 101 #if !defined(__NR_pipe) 102 #define __NR_pipe 22 103 #endif 104 105 #if !defined(__NR_select) 106 #define __NR_select 23 107 #endif 108 109 #if !defined(__NR_sched_yield) 110 #define __NR_sched_yield 24 111 #endif 112 113 #if !defined(__NR_mremap) 114 #define __NR_mremap 25 115 #endif 116 117 #if !defined(__NR_msync) 118 #define __NR_msync 26 119 #endif 120 121 #if !defined(__NR_mincore) 122 #define __NR_mincore 27 123 #endif 124 125 #if !defined(__NR_madvise) 126 #define __NR_madvise 28 127 #endif 128 129 #if !defined(__NR_shmget) 130 #define __NR_shmget 29 131 #endif 132 133 #if !defined(__NR_shmat) 134 #define __NR_shmat 30 135 #endif 136 137 #if !defined(__NR_shmctl) 138 #define __NR_shmctl 31 139 #endif 140 141 #if !defined(__NR_dup) 142 #define __NR_dup 32 143 #endif 144 145 #if !defined(__NR_dup2) 146 #define __NR_dup2 33 147 #endif 148 149 #if !defined(__NR_pause) 150 #define __NR_pause 34 151 #endif 152 153 #if !defined(__NR_nanosleep) 154 #define __NR_nanosleep 35 155 #endif 156 157 #if !defined(__NR_getitimer) 158 #define __NR_getitimer 36 159 #endif 160 161 #if !defined(__NR_alarm) 162 #define __NR_alarm 37 163 #endif 164 165 #if !defined(__NR_setitimer) 166 #define __NR_setitimer 38 167 #endif 168 169 #if !defined(__NR_getpid) 170 #define __NR_getpid 39 171 #endif 172 173 #if !defined(__NR_sendfile) 174 #define __NR_sendfile 40 175 #endif 176 177 #if !defined(__NR_socket) 178 #define __NR_socket 41 179 #endif 180 181 #if !defined(__NR_connect) 182 #define __NR_connect 42 183 #endif 184 185 #if !defined(__NR_accept) 186 #define __NR_accept 43 187 #endif 188 189 #if !defined(__NR_sendto) 190 #define __NR_sendto 44 191 #endif 192 193 #if !defined(__NR_recvfrom) 194 #define __NR_recvfrom 45 195 #endif 196 197 #if !defined(__NR_sendmsg) 198 #define __NR_sendmsg 46 199 #endif 200 201 #if !defined(__NR_recvmsg) 202 #define __NR_recvmsg 47 203 #endif 204 205 #if !defined(__NR_shutdown) 206 #define __NR_shutdown 48 207 #endif 208 209 #if !defined(__NR_bind) 210 #define __NR_bind 49 211 #endif 212 213 #if !defined(__NR_listen) 214 #define __NR_listen 50 215 #endif 216 217 #if !defined(__NR_getsockname) 218 #define __NR_getsockname 51 219 #endif 220 221 #if !defined(__NR_getpeername) 222 #define __NR_getpeername 52 223 #endif 224 225 #if !defined(__NR_socketpair) 226 #define __NR_socketpair 53 227 #endif 228 229 #if !defined(__NR_setsockopt) 230 #define __NR_setsockopt 54 231 #endif 232 233 #if !defined(__NR_getsockopt) 234 #define __NR_getsockopt 55 235 #endif 236 237 #if !defined(__NR_clone) 238 #define __NR_clone 56 239 #endif 240 241 #if !defined(__NR_fork) 242 #define __NR_fork 57 243 #endif 244 245 #if !defined(__NR_vfork) 246 #define __NR_vfork 58 247 #endif 248 249 #if !defined(__NR_execve) 250 #define __NR_execve 59 251 #endif 252 253 #if !defined(__NR_exit) 254 #define __NR_exit 60 255 #endif 256 257 #if !defined(__NR_wait4) 258 #define __NR_wait4 61 259 #endif 260 261 #if !defined(__NR_kill) 262 #define __NR_kill 62 263 #endif 264 265 #if !defined(__NR_uname) 266 #define __NR_uname 63 267 #endif 268 269 #if !defined(__NR_semget) 270 #define __NR_semget 64 271 #endif 272 273 #if !defined(__NR_semop) 274 #define __NR_semop 65 275 #endif 276 277 #if !defined(__NR_semctl) 278 #define __NR_semctl 66 279 #endif 280 281 #if !defined(__NR_shmdt) 282 #define __NR_shmdt 67 283 #endif 284 285 #if !defined(__NR_msgget) 286 #define __NR_msgget 68 287 #endif 288 289 #if !defined(__NR_msgsnd) 290 #define __NR_msgsnd 69 291 #endif 292 293 #if !defined(__NR_msgrcv) 294 #define __NR_msgrcv 70 295 #endif 296 297 #if !defined(__NR_msgctl) 298 #define __NR_msgctl 71 299 #endif 300 301 #if !defined(__NR_fcntl) 302 #define __NR_fcntl 72 303 #endif 304 305 #if !defined(__NR_flock) 306 #define __NR_flock 73 307 #endif 308 309 #if !defined(__NR_fsync) 310 #define __NR_fsync 74 311 #endif 312 313 #if !defined(__NR_fdatasync) 314 #define __NR_fdatasync 75 315 #endif 316 317 #if !defined(__NR_truncate) 318 #define __NR_truncate 76 319 #endif 320 321 #if !defined(__NR_ftruncate) 322 #define __NR_ftruncate 77 323 #endif 324 325 #if !defined(__NR_getdents) 326 #define __NR_getdents 78 327 #endif 328 329 #if !defined(__NR_getcwd) 330 #define __NR_getcwd 79 331 #endif 332 333 #if !defined(__NR_chdir) 334 #define __NR_chdir 80 335 #endif 336 337 #if !defined(__NR_fchdir) 338 #define __NR_fchdir 81 339 #endif 340 341 #if !defined(__NR_rename) 342 #define __NR_rename 82 343 #endif 344 345 #if !defined(__NR_mkdir) 346 #define __NR_mkdir 83 347 #endif 348 349 #if !defined(__NR_rmdir) 350 #define __NR_rmdir 84 351 #endif 352 353 #if !defined(__NR_creat) 354 #define __NR_creat 85 355 #endif 356 357 #if !defined(__NR_link) 358 #define __NR_link 86 359 #endif 360 361 #if !defined(__NR_unlink) 362 #define __NR_unlink 87 363 #endif 364 365 #if !defined(__NR_symlink) 366 #define __NR_symlink 88 367 #endif 368 369 #if !defined(__NR_readlink) 370 #define __NR_readlink 89 371 #endif 372 373 #if !defined(__NR_chmod) 374 #define __NR_chmod 90 375 #endif 376 377 #if !defined(__NR_fchmod) 378 #define __NR_fchmod 91 379 #endif 380 381 #if !defined(__NR_chown) 382 #define __NR_chown 92 383 #endif 384 385 #if !defined(__NR_fchown) 386 #define __NR_fchown 93 387 #endif 388 389 #if !defined(__NR_lchown) 390 #define __NR_lchown 94 391 #endif 392 393 #if !defined(__NR_umask) 394 #define __NR_umask 95 395 #endif 396 397 #if !defined(__NR_gettimeofday) 398 #define __NR_gettimeofday 96 399 #endif 400 401 #if !defined(__NR_getrlimit) 402 #define __NR_getrlimit 97 403 #endif 404 405 #if !defined(__NR_getrusage) 406 #define __NR_getrusage 98 407 #endif 408 409 #if !defined(__NR_sysinfo) 410 #define __NR_sysinfo 99 411 #endif 412 413 #if !defined(__NR_times) 414 #define __NR_times 100 415 #endif 416 417 #if !defined(__NR_ptrace) 418 #define __NR_ptrace 101 419 #endif 420 421 #if !defined(__NR_getuid) 422 #define __NR_getuid 102 423 #endif 424 425 #if !defined(__NR_syslog) 426 #define __NR_syslog 103 427 #endif 428 429 #if !defined(__NR_getgid) 430 #define __NR_getgid 104 431 #endif 432 433 #if !defined(__NR_setuid) 434 #define __NR_setuid 105 435 #endif 436 437 #if !defined(__NR_setgid) 438 #define __NR_setgid 106 439 #endif 440 441 #if !defined(__NR_geteuid) 442 #define __NR_geteuid 107 443 #endif 444 445 #if !defined(__NR_getegid) 446 #define __NR_getegid 108 447 #endif 448 449 #if !defined(__NR_setpgid) 450 #define __NR_setpgid 109 451 #endif 452 453 #if !defined(__NR_getppid) 454 #define __NR_getppid 110 455 #endif 456 457 #if !defined(__NR_getpgrp) 458 #define __NR_getpgrp 111 459 #endif 460 461 #if !defined(__NR_setsid) 462 #define __NR_setsid 112 463 #endif 464 465 #if !defined(__NR_setreuid) 466 #define __NR_setreuid 113 467 #endif 468 469 #if !defined(__NR_setregid) 470 #define __NR_setregid 114 471 #endif 472 473 #if !defined(__NR_getgroups) 474 #define __NR_getgroups 115 475 #endif 476 477 #if !defined(__NR_setgroups) 478 #define __NR_setgroups 116 479 #endif 480 481 #if !defined(__NR_setresuid) 482 #define __NR_setresuid 117 483 #endif 484 485 #if !defined(__NR_getresuid) 486 #define __NR_getresuid 118 487 #endif 488 489 #if !defined(__NR_setresgid) 490 #define __NR_setresgid 119 491 #endif 492 493 #if !defined(__NR_getresgid) 494 #define __NR_getresgid 120 495 #endif 496 497 #if !defined(__NR_getpgid) 498 #define __NR_getpgid 121 499 #endif 500 501 #if !defined(__NR_setfsuid) 502 #define __NR_setfsuid 122 503 #endif 504 505 #if !defined(__NR_setfsgid) 506 #define __NR_setfsgid 123 507 #endif 508 509 #if !defined(__NR_getsid) 510 #define __NR_getsid 124 511 #endif 512 513 #if !defined(__NR_capget) 514 #define __NR_capget 125 515 #endif 516 517 #if !defined(__NR_capset) 518 #define __NR_capset 126 519 #endif 520 521 #if !defined(__NR_rt_sigpending) 522 #define __NR_rt_sigpending 127 523 #endif 524 525 #if !defined(__NR_rt_sigtimedwait) 526 #define __NR_rt_sigtimedwait 128 527 #endif 528 529 #if !defined(__NR_rt_sigqueueinfo) 530 #define __NR_rt_sigqueueinfo 129 531 #endif 532 533 #if !defined(__NR_rt_sigsuspend) 534 #define __NR_rt_sigsuspend 130 535 #endif 536 537 #if !defined(__NR_sigaltstack) 538 #define __NR_sigaltstack 131 539 #endif 540 541 #if !defined(__NR_utime) 542 #define __NR_utime 132 543 #endif 544 545 #if !defined(__NR_mknod) 546 #define __NR_mknod 133 547 #endif 548 549 #if !defined(__NR_uselib) 550 #define __NR_uselib 134 551 #endif 552 553 #if !defined(__NR_personality) 554 #define __NR_personality 135 555 #endif 556 557 #if !defined(__NR_ustat) 558 #define __NR_ustat 136 559 #endif 560 561 #if !defined(__NR_statfs) 562 #define __NR_statfs 137 563 #endif 564 565 #if !defined(__NR_fstatfs) 566 #define __NR_fstatfs 138 567 #endif 568 569 #if !defined(__NR_sysfs) 570 #define __NR_sysfs 139 571 #endif 572 573 #if !defined(__NR_getpriority) 574 #define __NR_getpriority 140 575 #endif 576 577 #if !defined(__NR_setpriority) 578 #define __NR_setpriority 141 579 #endif 580 581 #if !defined(__NR_sched_setparam) 582 #define __NR_sched_setparam 142 583 #endif 584 585 #if !defined(__NR_sched_getparam) 586 #define __NR_sched_getparam 143 587 #endif 588 589 #if !defined(__NR_sched_setscheduler) 590 #define __NR_sched_setscheduler 144 591 #endif 592 593 #if !defined(__NR_sched_getscheduler) 594 #define __NR_sched_getscheduler 145 595 #endif 596 597 #if !defined(__NR_sched_get_priority_max) 598 #define __NR_sched_get_priority_max 146 599 #endif 600 601 #if !defined(__NR_sched_get_priority_min) 602 #define __NR_sched_get_priority_min 147 603 #endif 604 605 #if !defined(__NR_sched_rr_get_interval) 606 #define __NR_sched_rr_get_interval 148 607 #endif 608 609 #if !defined(__NR_mlock) 610 #define __NR_mlock 149 611 #endif 612 613 #if !defined(__NR_munlock) 614 #define __NR_munlock 150 615 #endif 616 617 #if !defined(__NR_mlockall) 618 #define __NR_mlockall 151 619 #endif 620 621 #if !defined(__NR_munlockall) 622 #define __NR_munlockall 152 623 #endif 624 625 #if !defined(__NR_vhangup) 626 #define __NR_vhangup 153 627 #endif 628 629 #if !defined(__NR_modify_ldt) 630 #define __NR_modify_ldt 154 631 #endif 632 633 #if !defined(__NR_pivot_root) 634 #define __NR_pivot_root 155 635 #endif 636 637 #if !defined(__NR__sysctl) 638 #define __NR__sysctl 156 639 #endif 640 641 #if !defined(__NR_prctl) 642 #define __NR_prctl 157 643 #endif 644 645 #if !defined(__NR_arch_prctl) 646 #define __NR_arch_prctl 158 647 #endif 648 649 #if !defined(__NR_adjtimex) 650 #define __NR_adjtimex 159 651 #endif 652 653 #if !defined(__NR_setrlimit) 654 #define __NR_setrlimit 160 655 #endif 656 657 #if !defined(__NR_chroot) 658 #define __NR_chroot 161 659 #endif 660 661 #if !defined(__NR_sync) 662 #define __NR_sync 162 663 #endif 664 665 #if !defined(__NR_acct) 666 #define __NR_acct 163 667 #endif 668 669 #if !defined(__NR_settimeofday) 670 #define __NR_settimeofday 164 671 #endif 672 673 #if !defined(__NR_mount) 674 #define __NR_mount 165 675 #endif 676 677 #if !defined(__NR_umount2) 678 #define __NR_umount2 166 679 #endif 680 681 #if !defined(__NR_swapon) 682 #define __NR_swapon 167 683 #endif 684 685 #if !defined(__NR_swapoff) 686 #define __NR_swapoff 168 687 #endif 688 689 #if !defined(__NR_reboot) 690 #define __NR_reboot 169 691 #endif 692 693 #if !defined(__NR_sethostname) 694 #define __NR_sethostname 170 695 #endif 696 697 #if !defined(__NR_setdomainname) 698 #define __NR_setdomainname 171 699 #endif 700 701 #if !defined(__NR_iopl) 702 #define __NR_iopl 172 703 #endif 704 705 #if !defined(__NR_ioperm) 706 #define __NR_ioperm 173 707 #endif 708 709 #if !defined(__NR_create_module) 710 #define __NR_create_module 174 711 #endif 712 713 #if !defined(__NR_init_module) 714 #define __NR_init_module 175 715 #endif 716 717 #if !defined(__NR_delete_module) 718 #define __NR_delete_module 176 719 #endif 720 721 #if !defined(__NR_get_kernel_syms) 722 #define __NR_get_kernel_syms 177 723 #endif 724 725 #if !defined(__NR_query_module) 726 #define __NR_query_module 178 727 #endif 728 729 #if !defined(__NR_quotactl) 730 #define __NR_quotactl 179 731 #endif 732 733 #if !defined(__NR_nfsservctl) 734 #define __NR_nfsservctl 180 735 #endif 736 737 #if !defined(__NR_getpmsg) 738 #define __NR_getpmsg 181 739 #endif 740 741 #if !defined(__NR_putpmsg) 742 #define __NR_putpmsg 182 743 #endif 744 745 #if !defined(__NR_afs_syscall) 746 #define __NR_afs_syscall 183 747 #endif 748 749 #if !defined(__NR_tuxcall) 750 #define __NR_tuxcall 184 751 #endif 752 753 #if !defined(__NR_security) 754 #define __NR_security 185 755 #endif 756 757 #if !defined(__NR_gettid) 758 #define __NR_gettid 186 759 #endif 760 761 #if !defined(__NR_readahead) 762 #define __NR_readahead 187 763 #endif 764 765 #if !defined(__NR_setxattr) 766 #define __NR_setxattr 188 767 #endif 768 769 #if !defined(__NR_lsetxattr) 770 #define __NR_lsetxattr 189 771 #endif 772 773 #if !defined(__NR_fsetxattr) 774 #define __NR_fsetxattr 190 775 #endif 776 777 #if !defined(__NR_getxattr) 778 #define __NR_getxattr 191 779 #endif 780 781 #if !defined(__NR_lgetxattr) 782 #define __NR_lgetxattr 192 783 #endif 784 785 #if !defined(__NR_fgetxattr) 786 #define __NR_fgetxattr 193 787 #endif 788 789 #if !defined(__NR_listxattr) 790 #define __NR_listxattr 194 791 #endif 792 793 #if !defined(__NR_llistxattr) 794 #define __NR_llistxattr 195 795 #endif 796 797 #if !defined(__NR_flistxattr) 798 #define __NR_flistxattr 196 799 #endif 800 801 #if !defined(__NR_removexattr) 802 #define __NR_removexattr 197 803 #endif 804 805 #if !defined(__NR_lremovexattr) 806 #define __NR_lremovexattr 198 807 #endif 808 809 #if !defined(__NR_fremovexattr) 810 #define __NR_fremovexattr 199 811 #endif 812 813 #if !defined(__NR_tkill) 814 #define __NR_tkill 200 815 #endif 816 817 #if !defined(__NR_time) 818 #define __NR_time 201 819 #endif 820 821 #if !defined(__NR_futex) 822 #define __NR_futex 202 823 #endif 824 825 #if !defined(__NR_sched_setaffinity) 826 #define __NR_sched_setaffinity 203 827 #endif 828 829 #if !defined(__NR_sched_getaffinity) 830 #define __NR_sched_getaffinity 204 831 #endif 832 833 #if !defined(__NR_set_thread_area) 834 #define __NR_set_thread_area 205 835 #endif 836 837 #if !defined(__NR_io_setup) 838 #define __NR_io_setup 206 839 #endif 840 841 #if !defined(__NR_io_destroy) 842 #define __NR_io_destroy 207 843 #endif 844 845 #if !defined(__NR_io_getevents) 846 #define __NR_io_getevents 208 847 #endif 848 849 #if !defined(__NR_io_submit) 850 #define __NR_io_submit 209 851 #endif 852 853 #if !defined(__NR_io_cancel) 854 #define __NR_io_cancel 210 855 #endif 856 857 #if !defined(__NR_get_thread_area) 858 #define __NR_get_thread_area 211 859 #endif 860 861 #if !defined(__NR_lookup_dcookie) 862 #define __NR_lookup_dcookie 212 863 #endif 864 865 #if !defined(__NR_epoll_create) 866 #define __NR_epoll_create 213 867 #endif 868 869 #if !defined(__NR_epoll_ctl_old) 870 #define __NR_epoll_ctl_old 214 871 #endif 872 873 #if !defined(__NR_epoll_wait_old) 874 #define __NR_epoll_wait_old 215 875 #endif 876 877 #if !defined(__NR_remap_file_pages) 878 #define __NR_remap_file_pages 216 879 #endif 880 881 #if !defined(__NR_getdents64) 882 #define __NR_getdents64 217 883 #endif 884 885 #if !defined(__NR_set_tid_address) 886 #define __NR_set_tid_address 218 887 #endif 888 889 #if !defined(__NR_restart_syscall) 890 #define __NR_restart_syscall 219 891 #endif 892 893 #if !defined(__NR_semtimedop) 894 #define __NR_semtimedop 220 895 #endif 896 897 #if !defined(__NR_fadvise64) 898 #define __NR_fadvise64 221 899 #endif 900 901 #if !defined(__NR_timer_create) 902 #define __NR_timer_create 222 903 #endif 904 905 #if !defined(__NR_timer_settime) 906 #define __NR_timer_settime 223 907 #endif 908 909 #if !defined(__NR_timer_gettime) 910 #define __NR_timer_gettime 224 911 #endif 912 913 #if !defined(__NR_timer_getoverrun) 914 #define __NR_timer_getoverrun 225 915 #endif 916 917 #if !defined(__NR_timer_delete) 918 #define __NR_timer_delete 226 919 #endif 920 921 #if !defined(__NR_clock_settime) 922 #define __NR_clock_settime 227 923 #endif 924 925 #if !defined(__NR_clock_gettime) 926 #define __NR_clock_gettime 228 927 #endif 928 929 #if !defined(__NR_clock_getres) 930 #define __NR_clock_getres 229 931 #endif 932 933 #if !defined(__NR_clock_nanosleep) 934 #define __NR_clock_nanosleep 230 935 #endif 936 937 #if !defined(__NR_exit_group) 938 #define __NR_exit_group 231 939 #endif 940 941 #if !defined(__NR_epoll_wait) 942 #define __NR_epoll_wait 232 943 #endif 944 945 #if !defined(__NR_epoll_ctl) 946 #define __NR_epoll_ctl 233 947 #endif 948 949 #if !defined(__NR_tgkill) 950 #define __NR_tgkill 234 951 #endif 952 953 #if !defined(__NR_utimes) 954 #define __NR_utimes 235 955 #endif 956 957 #if !defined(__NR_vserver) 958 #define __NR_vserver 236 959 #endif 960 961 #if !defined(__NR_mbind) 962 #define __NR_mbind 237 963 #endif 964 965 #if !defined(__NR_set_mempolicy) 966 #define __NR_set_mempolicy 238 967 #endif 968 969 #if !defined(__NR_get_mempolicy) 970 #define __NR_get_mempolicy 239 971 #endif 972 973 #if !defined(__NR_mq_open) 974 #define __NR_mq_open 240 975 #endif 976 977 #if !defined(__NR_mq_unlink) 978 #define __NR_mq_unlink 241 979 #endif 980 981 #if !defined(__NR_mq_timedsend) 982 #define __NR_mq_timedsend 242 983 #endif 984 985 #if !defined(__NR_mq_timedreceive) 986 #define __NR_mq_timedreceive 243 987 #endif 988 989 #if !defined(__NR_mq_notify) 990 #define __NR_mq_notify 244 991 #endif 992 993 #if !defined(__NR_mq_getsetattr) 994 #define __NR_mq_getsetattr 245 995 #endif 996 997 #if !defined(__NR_kexec_load) 998 #define __NR_kexec_load 246 999 #endif 1000 1001 #if !defined(__NR_waitid) 1002 #define __NR_waitid 247 1003 #endif 1004 1005 #if !defined(__NR_add_key) 1006 #define __NR_add_key 248 1007 #endif 1008 1009 #if !defined(__NR_request_key) 1010 #define __NR_request_key 249 1011 #endif 1012 1013 #if !defined(__NR_keyctl) 1014 #define __NR_keyctl 250 1015 #endif 1016 1017 #if !defined(__NR_ioprio_set) 1018 #define __NR_ioprio_set 251 1019 #endif 1020 1021 #if !defined(__NR_ioprio_get) 1022 #define __NR_ioprio_get 252 1023 #endif 1024 1025 #if !defined(__NR_inotify_init) 1026 #define __NR_inotify_init 253 1027 #endif 1028 1029 #if !defined(__NR_inotify_add_watch) 1030 #define __NR_inotify_add_watch 254 1031 #endif 1032 1033 #if !defined(__NR_inotify_rm_watch) 1034 #define __NR_inotify_rm_watch 255 1035 #endif 1036 1037 #if !defined(__NR_migrate_pages) 1038 #define __NR_migrate_pages 256 1039 #endif 1040 1041 #if !defined(__NR_openat) 1042 #define __NR_openat 257 1043 #endif 1044 1045 #if !defined(__NR_mkdirat) 1046 #define __NR_mkdirat 258 1047 #endif 1048 1049 #if !defined(__NR_mknodat) 1050 #define __NR_mknodat 259 1051 #endif 1052 1053 #if !defined(__NR_fchownat) 1054 #define __NR_fchownat 260 1055 #endif 1056 1057 #if !defined(__NR_futimesat) 1058 #define __NR_futimesat 261 1059 #endif 1060 1061 #if !defined(__NR_newfstatat) 1062 #define __NR_newfstatat 262 1063 #endif 1064 1065 #if !defined(__NR_unlinkat) 1066 #define __NR_unlinkat 263 1067 #endif 1068 1069 #if !defined(__NR_renameat) 1070 #define __NR_renameat 264 1071 #endif 1072 1073 #if !defined(__NR_linkat) 1074 #define __NR_linkat 265 1075 #endif 1076 1077 #if !defined(__NR_symlinkat) 1078 #define __NR_symlinkat 266 1079 #endif 1080 1081 #if !defined(__NR_readlinkat) 1082 #define __NR_readlinkat 267 1083 #endif 1084 1085 #if !defined(__NR_fchmodat) 1086 #define __NR_fchmodat 268 1087 #endif 1088 1089 #if !defined(__NR_faccessat) 1090 #define __NR_faccessat 269 1091 #endif 1092 1093 #if !defined(__NR_pselect6) 1094 #define __NR_pselect6 270 1095 #endif 1096 1097 #if !defined(__NR_ppoll) 1098 #define __NR_ppoll 271 1099 #endif 1100 1101 #if !defined(__NR_unshare) 1102 #define __NR_unshare 272 1103 #endif 1104 1105 #if !defined(__NR_set_robust_list) 1106 #define __NR_set_robust_list 273 1107 #endif 1108 1109 #if !defined(__NR_get_robust_list) 1110 #define __NR_get_robust_list 274 1111 #endif 1112 1113 #if !defined(__NR_splice) 1114 #define __NR_splice 275 1115 #endif 1116 1117 #if !defined(__NR_tee) 1118 #define __NR_tee 276 1119 #endif 1120 1121 #if !defined(__NR_sync_file_range) 1122 #define __NR_sync_file_range 277 1123 #endif 1124 1125 #if !defined(__NR_vmsplice) 1126 #define __NR_vmsplice 278 1127 #endif 1128 1129 #if !defined(__NR_move_pages) 1130 #define __NR_move_pages 279 1131 #endif 1132 1133 #if !defined(__NR_utimensat) 1134 #define __NR_utimensat 280 1135 #endif 1136 1137 #if !defined(__NR_epoll_pwait) 1138 #define __NR_epoll_pwait 281 1139 #endif 1140 1141 #if !defined(__NR_signalfd) 1142 #define __NR_signalfd 282 1143 #endif 1144 1145 #if !defined(__NR_timerfd_create) 1146 #define __NR_timerfd_create 283 1147 #endif 1148 1149 #if !defined(__NR_eventfd) 1150 #define __NR_eventfd 284 1151 #endif 1152 1153 #if !defined(__NR_fallocate) 1154 #define __NR_fallocate 285 1155 #endif 1156 1157 #if !defined(__NR_timerfd_settime) 1158 #define __NR_timerfd_settime 286 1159 #endif 1160 1161 #if !defined(__NR_timerfd_gettime) 1162 #define __NR_timerfd_gettime 287 1163 #endif 1164 1165 #if !defined(__NR_accept4) 1166 #define __NR_accept4 288 1167 #endif 1168 1169 #if !defined(__NR_signalfd4) 1170 #define __NR_signalfd4 289 1171 #endif 1172 1173 #if !defined(__NR_eventfd2) 1174 #define __NR_eventfd2 290 1175 #endif 1176 1177 #if !defined(__NR_epoll_create1) 1178 #define __NR_epoll_create1 291 1179 #endif 1180 1181 #if !defined(__NR_dup3) 1182 #define __NR_dup3 292 1183 #endif 1184 1185 #if !defined(__NR_pipe2) 1186 #define __NR_pipe2 293 1187 #endif 1188 1189 #if !defined(__NR_inotify_init1) 1190 #define __NR_inotify_init1 294 1191 #endif 1192 1193 #if !defined(__NR_preadv) 1194 #define __NR_preadv 295 1195 #endif 1196 1197 #if !defined(__NR_pwritev) 1198 #define __NR_pwritev 296 1199 #endif 1200 1201 #if !defined(__NR_rt_tgsigqueueinfo) 1202 #define __NR_rt_tgsigqueueinfo 297 1203 #endif 1204 1205 #if !defined(__NR_perf_event_open) 1206 #define __NR_perf_event_open 298 1207 #endif 1208 1209 #if !defined(__NR_recvmmsg) 1210 #define __NR_recvmmsg 299 1211 #endif 1212 1213 #if !defined(__NR_fanotify_init) 1214 #define __NR_fanotify_init 300 1215 #endif 1216 1217 #if !defined(__NR_fanotify_mark) 1218 #define __NR_fanotify_mark 301 1219 #endif 1220 1221 #if !defined(__NR_prlimit64) 1222 #define __NR_prlimit64 302 1223 #endif 1224 1225 #if !defined(__NR_name_to_handle_at) 1226 #define __NR_name_to_handle_at 303 1227 #endif 1228 1229 #if !defined(__NR_open_by_handle_at) 1230 #define __NR_open_by_handle_at 304 1231 #endif 1232 1233 #if !defined(__NR_clock_adjtime) 1234 #define __NR_clock_adjtime 305 1235 #endif 1236 1237 #if !defined(__NR_syncfs) 1238 #define __NR_syncfs 306 1239 #endif 1240 1241 #if !defined(__NR_sendmmsg) 1242 #define __NR_sendmmsg 307 1243 #endif 1244 1245 #if !defined(__NR_setns) 1246 #define __NR_setns 308 1247 #endif 1248 1249 #if !defined(__NR_getcpu) 1250 #define __NR_getcpu 309 1251 #endif 1252 1253 #if !defined(__NR_process_vm_readv) 1254 #define __NR_process_vm_readv 310 1255 #endif 1256 1257 #if !defined(__NR_process_vm_writev) 1258 #define __NR_process_vm_writev 311 1259 #endif 1260 1261 #if !defined(__NR_kcmp) 1262 #define __NR_kcmp 312 1263 #endif 1264 1265 #if !defined(__NR_finit_module) 1266 #define __NR_finit_module 313 1267 #endif 1268 1269 #if !defined(__NR_sched_setattr) 1270 #define __NR_sched_setattr 314 1271 #endif 1272 1273 #if !defined(__NR_sched_getattr) 1274 #define __NR_sched_getattr 315 1275 #endif 1276 1277 #if !defined(__NR_renameat2) 1278 #define __NR_renameat2 316 1279 #endif 1280 1281 #if !defined(__NR_seccomp) 1282 #define __NR_seccomp 317 1283 #endif 1284 1285 #if !defined(__NR_getrandom) 1286 #define __NR_getrandom 318 1287 #endif 1288 1289 #if !defined(__NR_memfd_create) 1290 #define __NR_memfd_create 319 1291 #endif 1292 1293 #endif // SANDBOX_LINUX_SYSTEM_HEADERS_X86_64_LINUX_SYSCALLS_H_ 1294 1295