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