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