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