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