1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/security/sandbox/linux/x86_32_linux_syscalls.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,1402 @@ 1.4 +// Copyright (c) 2012 The Chromium Authors. All rights reserved. 1.5 +// Use of this source code is governed by a BSD-style license that can be 1.6 +// found in the LICENSE file. 1.7 + 1.8 +/* This file has been imported from 1.9 + * http://git.chromium.org/gitweb/?p=chromium.git;a=blob_plain;f=sandbox/linux/services/x86_32_linux_syscalls.h;h=ca8ccbdc6d39989304b8fcb8ce931d2f87ab6f00;hb=2362c9abea79cae475921bdeee58f9e3910d211c 1.10 + */ 1.11 + 1.12 +// Generated from the Linux kernel's syscall_32.tbl. 1.13 +#ifndef SANDBOX_LINUX_SERVICES_X86_32_LINUX_SYSCALLS_H_ 1.14 +#define SANDBOX_LINUX_SERVICES_X86_32_LINUX_SYSCALLS_H_ 1.15 + 1.16 +#if !defined(__i386__) 1.17 +#error "Including header on wrong architecture" 1.18 +#endif 1.19 + 1.20 +#if !defined(__NR_restart_syscall) 1.21 +#define __NR_restart_syscall 0 1.22 +#endif 1.23 + 1.24 +#if !defined(__NR_exit) 1.25 +#define __NR_exit 1 1.26 +#endif 1.27 + 1.28 +#if !defined(__NR_fork) 1.29 +#define __NR_fork 2 1.30 +#endif 1.31 + 1.32 +#if !defined(__NR_read) 1.33 +#define __NR_read 3 1.34 +#endif 1.35 + 1.36 +#if !defined(__NR_write) 1.37 +#define __NR_write 4 1.38 +#endif 1.39 + 1.40 +#if !defined(__NR_open) 1.41 +#define __NR_open 5 1.42 +#endif 1.43 + 1.44 +#if !defined(__NR_close) 1.45 +#define __NR_close 6 1.46 +#endif 1.47 + 1.48 +#if !defined(__NR_waitpid) 1.49 +#define __NR_waitpid 7 1.50 +#endif 1.51 + 1.52 +#if !defined(__NR_creat) 1.53 +#define __NR_creat 8 1.54 +#endif 1.55 + 1.56 +#if !defined(__NR_link) 1.57 +#define __NR_link 9 1.58 +#endif 1.59 + 1.60 +#if !defined(__NR_unlink) 1.61 +#define __NR_unlink 10 1.62 +#endif 1.63 + 1.64 +#if !defined(__NR_execve) 1.65 +#define __NR_execve 11 1.66 +#endif 1.67 + 1.68 +#if !defined(__NR_chdir) 1.69 +#define __NR_chdir 12 1.70 +#endif 1.71 + 1.72 +#if !defined(__NR_time) 1.73 +#define __NR_time 13 1.74 +#endif 1.75 + 1.76 +#if !defined(__NR_mknod) 1.77 +#define __NR_mknod 14 1.78 +#endif 1.79 + 1.80 +#if !defined(__NR_chmod) 1.81 +#define __NR_chmod 15 1.82 +#endif 1.83 + 1.84 +#if !defined(__NR_lchown) 1.85 +#define __NR_lchown 16 1.86 +#endif 1.87 + 1.88 +#if !defined(__NR_break) 1.89 +#define __NR_break 17 1.90 +#endif 1.91 + 1.92 +#if !defined(__NR_oldstat) 1.93 +#define __NR_oldstat 18 1.94 +#endif 1.95 + 1.96 +#if !defined(__NR_lseek) 1.97 +#define __NR_lseek 19 1.98 +#endif 1.99 + 1.100 +#if !defined(__NR_getpid) 1.101 +#define __NR_getpid 20 1.102 +#endif 1.103 + 1.104 +#if !defined(__NR_mount) 1.105 +#define __NR_mount 21 1.106 +#endif 1.107 + 1.108 +#if !defined(__NR_umount) 1.109 +#define __NR_umount 22 1.110 +#endif 1.111 + 1.112 +#if !defined(__NR_setuid) 1.113 +#define __NR_setuid 23 1.114 +#endif 1.115 + 1.116 +#if !defined(__NR_getuid) 1.117 +#define __NR_getuid 24 1.118 +#endif 1.119 + 1.120 +#if !defined(__NR_stime) 1.121 +#define __NR_stime 25 1.122 +#endif 1.123 + 1.124 +#if !defined(__NR_ptrace) 1.125 +#define __NR_ptrace 26 1.126 +#endif 1.127 + 1.128 +#if !defined(__NR_alarm) 1.129 +#define __NR_alarm 27 1.130 +#endif 1.131 + 1.132 +#if !defined(__NR_oldfstat) 1.133 +#define __NR_oldfstat 28 1.134 +#endif 1.135 + 1.136 +#if !defined(__NR_pause) 1.137 +#define __NR_pause 29 1.138 +#endif 1.139 + 1.140 +#if !defined(__NR_utime) 1.141 +#define __NR_utime 30 1.142 +#endif 1.143 + 1.144 +#if !defined(__NR_stty) 1.145 +#define __NR_stty 31 1.146 +#endif 1.147 + 1.148 +#if !defined(__NR_gtty) 1.149 +#define __NR_gtty 32 1.150 +#endif 1.151 + 1.152 +#if !defined(__NR_access) 1.153 +#define __NR_access 33 1.154 +#endif 1.155 + 1.156 +#if !defined(__NR_nice) 1.157 +#define __NR_nice 34 1.158 +#endif 1.159 + 1.160 +#if !defined(__NR_ftime) 1.161 +#define __NR_ftime 35 1.162 +#endif 1.163 + 1.164 +#if !defined(__NR_sync) 1.165 +#define __NR_sync 36 1.166 +#endif 1.167 + 1.168 +#if !defined(__NR_kill) 1.169 +#define __NR_kill 37 1.170 +#endif 1.171 + 1.172 +#if !defined(__NR_rename) 1.173 +#define __NR_rename 38 1.174 +#endif 1.175 + 1.176 +#if !defined(__NR_mkdir) 1.177 +#define __NR_mkdir 39 1.178 +#endif 1.179 + 1.180 +#if !defined(__NR_rmdir) 1.181 +#define __NR_rmdir 40 1.182 +#endif 1.183 + 1.184 +#if !defined(__NR_dup) 1.185 +#define __NR_dup 41 1.186 +#endif 1.187 + 1.188 +#if !defined(__NR_pipe) 1.189 +#define __NR_pipe 42 1.190 +#endif 1.191 + 1.192 +#if !defined(__NR_times) 1.193 +#define __NR_times 43 1.194 +#endif 1.195 + 1.196 +#if !defined(__NR_prof) 1.197 +#define __NR_prof 44 1.198 +#endif 1.199 + 1.200 +#if !defined(__NR_brk) 1.201 +#define __NR_brk 45 1.202 +#endif 1.203 + 1.204 +#if !defined(__NR_setgid) 1.205 +#define __NR_setgid 46 1.206 +#endif 1.207 + 1.208 +#if !defined(__NR_getgid) 1.209 +#define __NR_getgid 47 1.210 +#endif 1.211 + 1.212 +#if !defined(__NR_signal) 1.213 +#define __NR_signal 48 1.214 +#endif 1.215 + 1.216 +#if !defined(__NR_geteuid) 1.217 +#define __NR_geteuid 49 1.218 +#endif 1.219 + 1.220 +#if !defined(__NR_getegid) 1.221 +#define __NR_getegid 50 1.222 +#endif 1.223 + 1.224 +#if !defined(__NR_acct) 1.225 +#define __NR_acct 51 1.226 +#endif 1.227 + 1.228 +#if !defined(__NR_umount2) 1.229 +#define __NR_umount2 52 1.230 +#endif 1.231 + 1.232 +#if !defined(__NR_lock) 1.233 +#define __NR_lock 53 1.234 +#endif 1.235 + 1.236 +#if !defined(__NR_ioctl) 1.237 +#define __NR_ioctl 54 1.238 +#endif 1.239 + 1.240 +#if !defined(__NR_fcntl) 1.241 +#define __NR_fcntl 55 1.242 +#endif 1.243 + 1.244 +#if !defined(__NR_mpx) 1.245 +#define __NR_mpx 56 1.246 +#endif 1.247 + 1.248 +#if !defined(__NR_setpgid) 1.249 +#define __NR_setpgid 57 1.250 +#endif 1.251 + 1.252 +#if !defined(__NR_ulimit) 1.253 +#define __NR_ulimit 58 1.254 +#endif 1.255 + 1.256 +#if !defined(__NR_oldolduname) 1.257 +#define __NR_oldolduname 59 1.258 +#endif 1.259 + 1.260 +#if !defined(__NR_umask) 1.261 +#define __NR_umask 60 1.262 +#endif 1.263 + 1.264 +#if !defined(__NR_chroot) 1.265 +#define __NR_chroot 61 1.266 +#endif 1.267 + 1.268 +#if !defined(__NR_ustat) 1.269 +#define __NR_ustat 62 1.270 +#endif 1.271 + 1.272 +#if !defined(__NR_dup2) 1.273 +#define __NR_dup2 63 1.274 +#endif 1.275 + 1.276 +#if !defined(__NR_getppid) 1.277 +#define __NR_getppid 64 1.278 +#endif 1.279 + 1.280 +#if !defined(__NR_getpgrp) 1.281 +#define __NR_getpgrp 65 1.282 +#endif 1.283 + 1.284 +#if !defined(__NR_setsid) 1.285 +#define __NR_setsid 66 1.286 +#endif 1.287 + 1.288 +#if !defined(__NR_sigaction) 1.289 +#define __NR_sigaction 67 1.290 +#endif 1.291 + 1.292 +#if !defined(__NR_sgetmask) 1.293 +#define __NR_sgetmask 68 1.294 +#endif 1.295 + 1.296 +#if !defined(__NR_ssetmask) 1.297 +#define __NR_ssetmask 69 1.298 +#endif 1.299 + 1.300 +#if !defined(__NR_setreuid) 1.301 +#define __NR_setreuid 70 1.302 +#endif 1.303 + 1.304 +#if !defined(__NR_setregid) 1.305 +#define __NR_setregid 71 1.306 +#endif 1.307 + 1.308 +#if !defined(__NR_sigsuspend) 1.309 +#define __NR_sigsuspend 72 1.310 +#endif 1.311 + 1.312 +#if !defined(__NR_sigpending) 1.313 +#define __NR_sigpending 73 1.314 +#endif 1.315 + 1.316 +#if !defined(__NR_sethostname) 1.317 +#define __NR_sethostname 74 1.318 +#endif 1.319 + 1.320 +#if !defined(__NR_setrlimit) 1.321 +#define __NR_setrlimit 75 1.322 +#endif 1.323 + 1.324 +#if !defined(__NR_getrlimit) 1.325 +#define __NR_getrlimit 76 1.326 +#endif 1.327 + 1.328 +#if !defined(__NR_getrusage) 1.329 +#define __NR_getrusage 77 1.330 +#endif 1.331 + 1.332 +#if !defined(__NR_gettimeofday) 1.333 +#define __NR_gettimeofday 78 1.334 +#endif 1.335 + 1.336 +#if !defined(__NR_settimeofday) 1.337 +#define __NR_settimeofday 79 1.338 +#endif 1.339 + 1.340 +#if !defined(__NR_getgroups) 1.341 +#define __NR_getgroups 80 1.342 +#endif 1.343 + 1.344 +#if !defined(__NR_setgroups) 1.345 +#define __NR_setgroups 81 1.346 +#endif 1.347 + 1.348 +#if !defined(__NR_select) 1.349 +#define __NR_select 82 1.350 +#endif 1.351 + 1.352 +#if !defined(__NR_symlink) 1.353 +#define __NR_symlink 83 1.354 +#endif 1.355 + 1.356 +#if !defined(__NR_oldlstat) 1.357 +#define __NR_oldlstat 84 1.358 +#endif 1.359 + 1.360 +#if !defined(__NR_readlink) 1.361 +#define __NR_readlink 85 1.362 +#endif 1.363 + 1.364 +#if !defined(__NR_uselib) 1.365 +#define __NR_uselib 86 1.366 +#endif 1.367 + 1.368 +#if !defined(__NR_swapon) 1.369 +#define __NR_swapon 87 1.370 +#endif 1.371 + 1.372 +#if !defined(__NR_reboot) 1.373 +#define __NR_reboot 88 1.374 +#endif 1.375 + 1.376 +#if !defined(__NR_readdir) 1.377 +#define __NR_readdir 89 1.378 +#endif 1.379 + 1.380 +#if !defined(__NR_mmap) 1.381 +#define __NR_mmap 90 1.382 +#endif 1.383 + 1.384 +#if !defined(__NR_munmap) 1.385 +#define __NR_munmap 91 1.386 +#endif 1.387 + 1.388 +#if !defined(__NR_truncate) 1.389 +#define __NR_truncate 92 1.390 +#endif 1.391 + 1.392 +#if !defined(__NR_ftruncate) 1.393 +#define __NR_ftruncate 93 1.394 +#endif 1.395 + 1.396 +#if !defined(__NR_fchmod) 1.397 +#define __NR_fchmod 94 1.398 +#endif 1.399 + 1.400 +#if !defined(__NR_fchown) 1.401 +#define __NR_fchown 95 1.402 +#endif 1.403 + 1.404 +#if !defined(__NR_getpriority) 1.405 +#define __NR_getpriority 96 1.406 +#endif 1.407 + 1.408 +#if !defined(__NR_setpriority) 1.409 +#define __NR_setpriority 97 1.410 +#endif 1.411 + 1.412 +#if !defined(__NR_profil) 1.413 +#define __NR_profil 98 1.414 +#endif 1.415 + 1.416 +#if !defined(__NR_statfs) 1.417 +#define __NR_statfs 99 1.418 +#endif 1.419 + 1.420 +#if !defined(__NR_fstatfs) 1.421 +#define __NR_fstatfs 100 1.422 +#endif 1.423 + 1.424 +#if !defined(__NR_ioperm) 1.425 +#define __NR_ioperm 101 1.426 +#endif 1.427 + 1.428 +#if !defined(__NR_socketcall) 1.429 +#define __NR_socketcall 102 1.430 +#endif 1.431 + 1.432 +#if !defined(__NR_syslog) 1.433 +#define __NR_syslog 103 1.434 +#endif 1.435 + 1.436 +#if !defined(__NR_setitimer) 1.437 +#define __NR_setitimer 104 1.438 +#endif 1.439 + 1.440 +#if !defined(__NR_getitimer) 1.441 +#define __NR_getitimer 105 1.442 +#endif 1.443 + 1.444 +#if !defined(__NR_stat) 1.445 +#define __NR_stat 106 1.446 +#endif 1.447 + 1.448 +#if !defined(__NR_lstat) 1.449 +#define __NR_lstat 107 1.450 +#endif 1.451 + 1.452 +#if !defined(__NR_fstat) 1.453 +#define __NR_fstat 108 1.454 +#endif 1.455 + 1.456 +#if !defined(__NR_olduname) 1.457 +#define __NR_olduname 109 1.458 +#endif 1.459 + 1.460 +#if !defined(__NR_iopl) 1.461 +#define __NR_iopl 110 1.462 +#endif 1.463 + 1.464 +#if !defined(__NR_vhangup) 1.465 +#define __NR_vhangup 111 1.466 +#endif 1.467 + 1.468 +#if !defined(__NR_idle) 1.469 +#define __NR_idle 112 1.470 +#endif 1.471 + 1.472 +#if !defined(__NR_vm86old) 1.473 +#define __NR_vm86old 113 1.474 +#endif 1.475 + 1.476 +#if !defined(__NR_wait4) 1.477 +#define __NR_wait4 114 1.478 +#endif 1.479 + 1.480 +#if !defined(__NR_swapoff) 1.481 +#define __NR_swapoff 115 1.482 +#endif 1.483 + 1.484 +#if !defined(__NR_sysinfo) 1.485 +#define __NR_sysinfo 116 1.486 +#endif 1.487 + 1.488 +#if !defined(__NR_ipc) 1.489 +#define __NR_ipc 117 1.490 +#endif 1.491 + 1.492 +#if !defined(__NR_fsync) 1.493 +#define __NR_fsync 118 1.494 +#endif 1.495 + 1.496 +#if !defined(__NR_sigreturn) 1.497 +#define __NR_sigreturn 119 1.498 +#endif 1.499 + 1.500 +#if !defined(__NR_clone) 1.501 +#define __NR_clone 120 1.502 +#endif 1.503 + 1.504 +#if !defined(__NR_setdomainname) 1.505 +#define __NR_setdomainname 121 1.506 +#endif 1.507 + 1.508 +#if !defined(__NR_uname) 1.509 +#define __NR_uname 122 1.510 +#endif 1.511 + 1.512 +#if !defined(__NR_modify_ldt) 1.513 +#define __NR_modify_ldt 123 1.514 +#endif 1.515 + 1.516 +#if !defined(__NR_adjtimex) 1.517 +#define __NR_adjtimex 124 1.518 +#endif 1.519 + 1.520 +#if !defined(__NR_mprotect) 1.521 +#define __NR_mprotect 125 1.522 +#endif 1.523 + 1.524 +#if !defined(__NR_sigprocmask) 1.525 +#define __NR_sigprocmask 126 1.526 +#endif 1.527 + 1.528 +#if !defined(__NR_create_module) 1.529 +#define __NR_create_module 127 1.530 +#endif 1.531 + 1.532 +#if !defined(__NR_init_module) 1.533 +#define __NR_init_module 128 1.534 +#endif 1.535 + 1.536 +#if !defined(__NR_delete_module) 1.537 +#define __NR_delete_module 129 1.538 +#endif 1.539 + 1.540 +#if !defined(__NR_get_kernel_syms) 1.541 +#define __NR_get_kernel_syms 130 1.542 +#endif 1.543 + 1.544 +#if !defined(__NR_quotactl) 1.545 +#define __NR_quotactl 131 1.546 +#endif 1.547 + 1.548 +#if !defined(__NR_getpgid) 1.549 +#define __NR_getpgid 132 1.550 +#endif 1.551 + 1.552 +#if !defined(__NR_fchdir) 1.553 +#define __NR_fchdir 133 1.554 +#endif 1.555 + 1.556 +#if !defined(__NR_bdflush) 1.557 +#define __NR_bdflush 134 1.558 +#endif 1.559 + 1.560 +#if !defined(__NR_sysfs) 1.561 +#define __NR_sysfs 135 1.562 +#endif 1.563 + 1.564 +#if !defined(__NR_personality) 1.565 +#define __NR_personality 136 1.566 +#endif 1.567 + 1.568 +#if !defined(__NR_afs_syscall) 1.569 +#define __NR_afs_syscall 137 1.570 +#endif 1.571 + 1.572 +#if !defined(__NR_setfsuid) 1.573 +#define __NR_setfsuid 138 1.574 +#endif 1.575 + 1.576 +#if !defined(__NR_setfsgid) 1.577 +#define __NR_setfsgid 139 1.578 +#endif 1.579 + 1.580 +#if !defined(__NR__llseek) 1.581 +#define __NR__llseek 140 1.582 +#endif 1.583 + 1.584 +#if !defined(__NR_getdents) 1.585 +#define __NR_getdents 141 1.586 +#endif 1.587 + 1.588 +#if !defined(__NR__newselect) 1.589 +#define __NR__newselect 142 1.590 +#endif 1.591 + 1.592 +#if !defined(__NR_flock) 1.593 +#define __NR_flock 143 1.594 +#endif 1.595 + 1.596 +#if !defined(__NR_msync) 1.597 +#define __NR_msync 144 1.598 +#endif 1.599 + 1.600 +#if !defined(__NR_readv) 1.601 +#define __NR_readv 145 1.602 +#endif 1.603 + 1.604 +#if !defined(__NR_writev) 1.605 +#define __NR_writev 146 1.606 +#endif 1.607 + 1.608 +#if !defined(__NR_getsid) 1.609 +#define __NR_getsid 147 1.610 +#endif 1.611 + 1.612 +#if !defined(__NR_fdatasync) 1.613 +#define __NR_fdatasync 148 1.614 +#endif 1.615 + 1.616 +#if !defined(__NR__sysctl) 1.617 +#define __NR__sysctl 149 1.618 +#endif 1.619 + 1.620 +#if !defined(__NR_mlock) 1.621 +#define __NR_mlock 150 1.622 +#endif 1.623 + 1.624 +#if !defined(__NR_munlock) 1.625 +#define __NR_munlock 151 1.626 +#endif 1.627 + 1.628 +#if !defined(__NR_mlockall) 1.629 +#define __NR_mlockall 152 1.630 +#endif 1.631 + 1.632 +#if !defined(__NR_munlockall) 1.633 +#define __NR_munlockall 153 1.634 +#endif 1.635 + 1.636 +#if !defined(__NR_sched_setparam) 1.637 +#define __NR_sched_setparam 154 1.638 +#endif 1.639 + 1.640 +#if !defined(__NR_sched_getparam) 1.641 +#define __NR_sched_getparam 155 1.642 +#endif 1.643 + 1.644 +#if !defined(__NR_sched_setscheduler) 1.645 +#define __NR_sched_setscheduler 156 1.646 +#endif 1.647 + 1.648 +#if !defined(__NR_sched_getscheduler) 1.649 +#define __NR_sched_getscheduler 157 1.650 +#endif 1.651 + 1.652 +#if !defined(__NR_sched_yield) 1.653 +#define __NR_sched_yield 158 1.654 +#endif 1.655 + 1.656 +#if !defined(__NR_sched_get_priority_max) 1.657 +#define __NR_sched_get_priority_max 159 1.658 +#endif 1.659 + 1.660 +#if !defined(__NR_sched_get_priority_min) 1.661 +#define __NR_sched_get_priority_min 160 1.662 +#endif 1.663 + 1.664 +#if !defined(__NR_sched_rr_get_interval) 1.665 +#define __NR_sched_rr_get_interval 161 1.666 +#endif 1.667 + 1.668 +#if !defined(__NR_nanosleep) 1.669 +#define __NR_nanosleep 162 1.670 +#endif 1.671 + 1.672 +#if !defined(__NR_mremap) 1.673 +#define __NR_mremap 163 1.674 +#endif 1.675 + 1.676 +#if !defined(__NR_setresuid) 1.677 +#define __NR_setresuid 164 1.678 +#endif 1.679 + 1.680 +#if !defined(__NR_getresuid) 1.681 +#define __NR_getresuid 165 1.682 +#endif 1.683 + 1.684 +#if !defined(__NR_vm86) 1.685 +#define __NR_vm86 166 1.686 +#endif 1.687 + 1.688 +#if !defined(__NR_query_module) 1.689 +#define __NR_query_module 167 1.690 +#endif 1.691 + 1.692 +#if !defined(__NR_poll) 1.693 +#define __NR_poll 168 1.694 +#endif 1.695 + 1.696 +#if !defined(__NR_nfsservctl) 1.697 +#define __NR_nfsservctl 169 1.698 +#endif 1.699 + 1.700 +#if !defined(__NR_setresgid) 1.701 +#define __NR_setresgid 170 1.702 +#endif 1.703 + 1.704 +#if !defined(__NR_getresgid) 1.705 +#define __NR_getresgid 171 1.706 +#endif 1.707 + 1.708 +#if !defined(__NR_prctl) 1.709 +#define __NR_prctl 172 1.710 +#endif 1.711 + 1.712 +#if !defined(__NR_rt_sigreturn) 1.713 +#define __NR_rt_sigreturn 173 1.714 +#endif 1.715 + 1.716 +#if !defined(__NR_rt_sigaction) 1.717 +#define __NR_rt_sigaction 174 1.718 +#endif 1.719 + 1.720 +#if !defined(__NR_rt_sigprocmask) 1.721 +#define __NR_rt_sigprocmask 175 1.722 +#endif 1.723 + 1.724 +#if !defined(__NR_rt_sigpending) 1.725 +#define __NR_rt_sigpending 176 1.726 +#endif 1.727 + 1.728 +#if !defined(__NR_rt_sigtimedwait) 1.729 +#define __NR_rt_sigtimedwait 177 1.730 +#endif 1.731 + 1.732 +#if !defined(__NR_rt_sigqueueinfo) 1.733 +#define __NR_rt_sigqueueinfo 178 1.734 +#endif 1.735 + 1.736 +#if !defined(__NR_rt_sigsuspend) 1.737 +#define __NR_rt_sigsuspend 179 1.738 +#endif 1.739 + 1.740 +#if !defined(__NR_pread64) 1.741 +#define __NR_pread64 180 1.742 +#endif 1.743 + 1.744 +#if !defined(__NR_pwrite64) 1.745 +#define __NR_pwrite64 181 1.746 +#endif 1.747 + 1.748 +#if !defined(__NR_chown) 1.749 +#define __NR_chown 182 1.750 +#endif 1.751 + 1.752 +#if !defined(__NR_getcwd) 1.753 +#define __NR_getcwd 183 1.754 +#endif 1.755 + 1.756 +#if !defined(__NR_capget) 1.757 +#define __NR_capget 184 1.758 +#endif 1.759 + 1.760 +#if !defined(__NR_capset) 1.761 +#define __NR_capset 185 1.762 +#endif 1.763 + 1.764 +#if !defined(__NR_sigaltstack) 1.765 +#define __NR_sigaltstack 186 1.766 +#endif 1.767 + 1.768 +#if !defined(__NR_sendfile) 1.769 +#define __NR_sendfile 187 1.770 +#endif 1.771 + 1.772 +#if !defined(__NR_getpmsg) 1.773 +#define __NR_getpmsg 188 1.774 +#endif 1.775 + 1.776 +#if !defined(__NR_putpmsg) 1.777 +#define __NR_putpmsg 189 1.778 +#endif 1.779 + 1.780 +#if !defined(__NR_vfork) 1.781 +#define __NR_vfork 190 1.782 +#endif 1.783 + 1.784 +#if !defined(__NR_ugetrlimit) 1.785 +#define __NR_ugetrlimit 191 1.786 +#endif 1.787 + 1.788 +#if !defined(__NR_mmap2) 1.789 +#define __NR_mmap2 192 1.790 +#endif 1.791 + 1.792 +#if !defined(__NR_truncate64) 1.793 +#define __NR_truncate64 193 1.794 +#endif 1.795 + 1.796 +#if !defined(__NR_ftruncate64) 1.797 +#define __NR_ftruncate64 194 1.798 +#endif 1.799 + 1.800 +#if !defined(__NR_stat64) 1.801 +#define __NR_stat64 195 1.802 +#endif 1.803 + 1.804 +#if !defined(__NR_lstat64) 1.805 +#define __NR_lstat64 196 1.806 +#endif 1.807 + 1.808 +#if !defined(__NR_fstat64) 1.809 +#define __NR_fstat64 197 1.810 +#endif 1.811 + 1.812 +#if !defined(__NR_lchown32) 1.813 +#define __NR_lchown32 198 1.814 +#endif 1.815 + 1.816 +#if !defined(__NR_getuid32) 1.817 +#define __NR_getuid32 199 1.818 +#endif 1.819 + 1.820 +#if !defined(__NR_getgid32) 1.821 +#define __NR_getgid32 200 1.822 +#endif 1.823 + 1.824 +#if !defined(__NR_geteuid32) 1.825 +#define __NR_geteuid32 201 1.826 +#endif 1.827 + 1.828 +#if !defined(__NR_getegid32) 1.829 +#define __NR_getegid32 202 1.830 +#endif 1.831 + 1.832 +#if !defined(__NR_setreuid32) 1.833 +#define __NR_setreuid32 203 1.834 +#endif 1.835 + 1.836 +#if !defined(__NR_setregid32) 1.837 +#define __NR_setregid32 204 1.838 +#endif 1.839 + 1.840 +#if !defined(__NR_getgroups32) 1.841 +#define __NR_getgroups32 205 1.842 +#endif 1.843 + 1.844 +#if !defined(__NR_setgroups32) 1.845 +#define __NR_setgroups32 206 1.846 +#endif 1.847 + 1.848 +#if !defined(__NR_fchown32) 1.849 +#define __NR_fchown32 207 1.850 +#endif 1.851 + 1.852 +#if !defined(__NR_setresuid32) 1.853 +#define __NR_setresuid32 208 1.854 +#endif 1.855 + 1.856 +#if !defined(__NR_getresuid32) 1.857 +#define __NR_getresuid32 209 1.858 +#endif 1.859 + 1.860 +#if !defined(__NR_setresgid32) 1.861 +#define __NR_setresgid32 210 1.862 +#endif 1.863 + 1.864 +#if !defined(__NR_getresgid32) 1.865 +#define __NR_getresgid32 211 1.866 +#endif 1.867 + 1.868 +#if !defined(__NR_chown32) 1.869 +#define __NR_chown32 212 1.870 +#endif 1.871 + 1.872 +#if !defined(__NR_setuid32) 1.873 +#define __NR_setuid32 213 1.874 +#endif 1.875 + 1.876 +#if !defined(__NR_setgid32) 1.877 +#define __NR_setgid32 214 1.878 +#endif 1.879 + 1.880 +#if !defined(__NR_setfsuid32) 1.881 +#define __NR_setfsuid32 215 1.882 +#endif 1.883 + 1.884 +#if !defined(__NR_setfsgid32) 1.885 +#define __NR_setfsgid32 216 1.886 +#endif 1.887 + 1.888 +#if !defined(__NR_pivot_root) 1.889 +#define __NR_pivot_root 217 1.890 +#endif 1.891 + 1.892 +#if !defined(__NR_mincore) 1.893 +#define __NR_mincore 218 1.894 +#endif 1.895 + 1.896 +#if !defined(__NR_madvise) 1.897 +#define __NR_madvise 219 1.898 +#endif 1.899 + 1.900 +#if !defined(__NR_getdents64) 1.901 +#define __NR_getdents64 220 1.902 +#endif 1.903 + 1.904 +#if !defined(__NR_fcntl64) 1.905 +#define __NR_fcntl64 221 1.906 +#endif 1.907 + 1.908 +#if !defined(__NR_gettid) 1.909 +#define __NR_gettid 224 1.910 +#endif 1.911 + 1.912 +#if !defined(__NR_readahead) 1.913 +#define __NR_readahead 225 1.914 +#endif 1.915 + 1.916 +#if !defined(__NR_setxattr) 1.917 +#define __NR_setxattr 226 1.918 +#endif 1.919 + 1.920 +#if !defined(__NR_lsetxattr) 1.921 +#define __NR_lsetxattr 227 1.922 +#endif 1.923 + 1.924 +#if !defined(__NR_fsetxattr) 1.925 +#define __NR_fsetxattr 228 1.926 +#endif 1.927 + 1.928 +#if !defined(__NR_getxattr) 1.929 +#define __NR_getxattr 229 1.930 +#endif 1.931 + 1.932 +#if !defined(__NR_lgetxattr) 1.933 +#define __NR_lgetxattr 230 1.934 +#endif 1.935 + 1.936 +#if !defined(__NR_fgetxattr) 1.937 +#define __NR_fgetxattr 231 1.938 +#endif 1.939 + 1.940 +#if !defined(__NR_listxattr) 1.941 +#define __NR_listxattr 232 1.942 +#endif 1.943 + 1.944 +#if !defined(__NR_llistxattr) 1.945 +#define __NR_llistxattr 233 1.946 +#endif 1.947 + 1.948 +#if !defined(__NR_flistxattr) 1.949 +#define __NR_flistxattr 234 1.950 +#endif 1.951 + 1.952 +#if !defined(__NR_removexattr) 1.953 +#define __NR_removexattr 235 1.954 +#endif 1.955 + 1.956 +#if !defined(__NR_lremovexattr) 1.957 +#define __NR_lremovexattr 236 1.958 +#endif 1.959 + 1.960 +#if !defined(__NR_fremovexattr) 1.961 +#define __NR_fremovexattr 237 1.962 +#endif 1.963 + 1.964 +#if !defined(__NR_tkill) 1.965 +#define __NR_tkill 238 1.966 +#endif 1.967 + 1.968 +#if !defined(__NR_sendfile64) 1.969 +#define __NR_sendfile64 239 1.970 +#endif 1.971 + 1.972 +#if !defined(__NR_futex) 1.973 +#define __NR_futex 240 1.974 +#endif 1.975 + 1.976 +#if !defined(__NR_sched_setaffinity) 1.977 +#define __NR_sched_setaffinity 241 1.978 +#endif 1.979 + 1.980 +#if !defined(__NR_sched_getaffinity) 1.981 +#define __NR_sched_getaffinity 242 1.982 +#endif 1.983 + 1.984 +#if !defined(__NR_set_thread_area) 1.985 +#define __NR_set_thread_area 243 1.986 +#endif 1.987 + 1.988 +#if !defined(__NR_get_thread_area) 1.989 +#define __NR_get_thread_area 244 1.990 +#endif 1.991 + 1.992 +#if !defined(__NR_io_setup) 1.993 +#define __NR_io_setup 245 1.994 +#endif 1.995 + 1.996 +#if !defined(__NR_io_destroy) 1.997 +#define __NR_io_destroy 246 1.998 +#endif 1.999 + 1.1000 +#if !defined(__NR_io_getevents) 1.1001 +#define __NR_io_getevents 247 1.1002 +#endif 1.1003 + 1.1004 +#if !defined(__NR_io_submit) 1.1005 +#define __NR_io_submit 248 1.1006 +#endif 1.1007 + 1.1008 +#if !defined(__NR_io_cancel) 1.1009 +#define __NR_io_cancel 249 1.1010 +#endif 1.1011 + 1.1012 +#if !defined(__NR_fadvise64) 1.1013 +#define __NR_fadvise64 250 1.1014 +#endif 1.1015 + 1.1016 +#if !defined(__NR_exit_group) 1.1017 +#define __NR_exit_group 252 1.1018 +#endif 1.1019 + 1.1020 +#if !defined(__NR_lookup_dcookie) 1.1021 +#define __NR_lookup_dcookie 253 1.1022 +#endif 1.1023 + 1.1024 +#if !defined(__NR_epoll_create) 1.1025 +#define __NR_epoll_create 254 1.1026 +#endif 1.1027 + 1.1028 +#if !defined(__NR_epoll_ctl) 1.1029 +#define __NR_epoll_ctl 255 1.1030 +#endif 1.1031 + 1.1032 +#if !defined(__NR_epoll_wait) 1.1033 +#define __NR_epoll_wait 256 1.1034 +#endif 1.1035 + 1.1036 +#if !defined(__NR_remap_file_pages) 1.1037 +#define __NR_remap_file_pages 257 1.1038 +#endif 1.1039 + 1.1040 +#if !defined(__NR_set_tid_address) 1.1041 +#define __NR_set_tid_address 258 1.1042 +#endif 1.1043 + 1.1044 +#if !defined(__NR_timer_create) 1.1045 +#define __NR_timer_create 259 1.1046 +#endif 1.1047 + 1.1048 +#if !defined(__NR_timer_settime) 1.1049 +#define __NR_timer_settime 260 1.1050 +#endif 1.1051 + 1.1052 +#if !defined(__NR_timer_gettime) 1.1053 +#define __NR_timer_gettime 261 1.1054 +#endif 1.1055 + 1.1056 +#if !defined(__NR_timer_getoverrun) 1.1057 +#define __NR_timer_getoverrun 262 1.1058 +#endif 1.1059 + 1.1060 +#if !defined(__NR_timer_delete) 1.1061 +#define __NR_timer_delete 263 1.1062 +#endif 1.1063 + 1.1064 +#if !defined(__NR_clock_settime) 1.1065 +#define __NR_clock_settime 264 1.1066 +#endif 1.1067 + 1.1068 +#if !defined(__NR_clock_gettime) 1.1069 +#define __NR_clock_gettime 265 1.1070 +#endif 1.1071 + 1.1072 +#if !defined(__NR_clock_getres) 1.1073 +#define __NR_clock_getres 266 1.1074 +#endif 1.1075 + 1.1076 +#if !defined(__NR_clock_nanosleep) 1.1077 +#define __NR_clock_nanosleep 267 1.1078 +#endif 1.1079 + 1.1080 +#if !defined(__NR_statfs64) 1.1081 +#define __NR_statfs64 268 1.1082 +#endif 1.1083 + 1.1084 +#if !defined(__NR_fstatfs64) 1.1085 +#define __NR_fstatfs64 269 1.1086 +#endif 1.1087 + 1.1088 +#if !defined(__NR_tgkill) 1.1089 +#define __NR_tgkill 270 1.1090 +#endif 1.1091 + 1.1092 +#if !defined(__NR_utimes) 1.1093 +#define __NR_utimes 271 1.1094 +#endif 1.1095 + 1.1096 +#if !defined(__NR_fadvise64_64) 1.1097 +#define __NR_fadvise64_64 272 1.1098 +#endif 1.1099 + 1.1100 +#if !defined(__NR_vserver) 1.1101 +#define __NR_vserver 273 1.1102 +#endif 1.1103 + 1.1104 +#if !defined(__NR_mbind) 1.1105 +#define __NR_mbind 274 1.1106 +#endif 1.1107 + 1.1108 +#if !defined(__NR_get_mempolicy) 1.1109 +#define __NR_get_mempolicy 275 1.1110 +#endif 1.1111 + 1.1112 +#if !defined(__NR_set_mempolicy) 1.1113 +#define __NR_set_mempolicy 276 1.1114 +#endif 1.1115 + 1.1116 +#if !defined(__NR_mq_open) 1.1117 +#define __NR_mq_open 277 1.1118 +#endif 1.1119 + 1.1120 +#if !defined(__NR_mq_unlink) 1.1121 +#define __NR_mq_unlink 278 1.1122 +#endif 1.1123 + 1.1124 +#if !defined(__NR_mq_timedsend) 1.1125 +#define __NR_mq_timedsend 279 1.1126 +#endif 1.1127 + 1.1128 +#if !defined(__NR_mq_timedreceive) 1.1129 +#define __NR_mq_timedreceive 280 1.1130 +#endif 1.1131 + 1.1132 +#if !defined(__NR_mq_notify) 1.1133 +#define __NR_mq_notify 281 1.1134 +#endif 1.1135 + 1.1136 +#if !defined(__NR_mq_getsetattr) 1.1137 +#define __NR_mq_getsetattr 282 1.1138 +#endif 1.1139 + 1.1140 +#if !defined(__NR_kexec_load) 1.1141 +#define __NR_kexec_load 283 1.1142 +#endif 1.1143 + 1.1144 +#if !defined(__NR_waitid) 1.1145 +#define __NR_waitid 284 1.1146 +#endif 1.1147 + 1.1148 +#if !defined(__NR_add_key) 1.1149 +#define __NR_add_key 286 1.1150 +#endif 1.1151 + 1.1152 +#if !defined(__NR_request_key) 1.1153 +#define __NR_request_key 287 1.1154 +#endif 1.1155 + 1.1156 +#if !defined(__NR_keyctl) 1.1157 +#define __NR_keyctl 288 1.1158 +#endif 1.1159 + 1.1160 +#if !defined(__NR_ioprio_set) 1.1161 +#define __NR_ioprio_set 289 1.1162 +#endif 1.1163 + 1.1164 +#if !defined(__NR_ioprio_get) 1.1165 +#define __NR_ioprio_get 290 1.1166 +#endif 1.1167 + 1.1168 +#if !defined(__NR_inotify_init) 1.1169 +#define __NR_inotify_init 291 1.1170 +#endif 1.1171 + 1.1172 +#if !defined(__NR_inotify_add_watch) 1.1173 +#define __NR_inotify_add_watch 292 1.1174 +#endif 1.1175 + 1.1176 +#if !defined(__NR_inotify_rm_watch) 1.1177 +#define __NR_inotify_rm_watch 293 1.1178 +#endif 1.1179 + 1.1180 +#if !defined(__NR_migrate_pages) 1.1181 +#define __NR_migrate_pages 294 1.1182 +#endif 1.1183 + 1.1184 +#if !defined(__NR_openat) 1.1185 +#define __NR_openat 295 1.1186 +#endif 1.1187 + 1.1188 +#if !defined(__NR_mkdirat) 1.1189 +#define __NR_mkdirat 296 1.1190 +#endif 1.1191 + 1.1192 +#if !defined(__NR_mknodat) 1.1193 +#define __NR_mknodat 297 1.1194 +#endif 1.1195 + 1.1196 +#if !defined(__NR_fchownat) 1.1197 +#define __NR_fchownat 298 1.1198 +#endif 1.1199 + 1.1200 +#if !defined(__NR_futimesat) 1.1201 +#define __NR_futimesat 299 1.1202 +#endif 1.1203 + 1.1204 +#if !defined(__NR_fstatat64) 1.1205 +#define __NR_fstatat64 300 1.1206 +#endif 1.1207 + 1.1208 +#if !defined(__NR_unlinkat) 1.1209 +#define __NR_unlinkat 301 1.1210 +#endif 1.1211 + 1.1212 +#if !defined(__NR_renameat) 1.1213 +#define __NR_renameat 302 1.1214 +#endif 1.1215 + 1.1216 +#if !defined(__NR_linkat) 1.1217 +#define __NR_linkat 303 1.1218 +#endif 1.1219 + 1.1220 +#if !defined(__NR_symlinkat) 1.1221 +#define __NR_symlinkat 304 1.1222 +#endif 1.1223 + 1.1224 +#if !defined(__NR_readlinkat) 1.1225 +#define __NR_readlinkat 305 1.1226 +#endif 1.1227 + 1.1228 +#if !defined(__NR_fchmodat) 1.1229 +#define __NR_fchmodat 306 1.1230 +#endif 1.1231 + 1.1232 +#if !defined(__NR_faccessat) 1.1233 +#define __NR_faccessat 307 1.1234 +#endif 1.1235 + 1.1236 +#if !defined(__NR_pselect6) 1.1237 +#define __NR_pselect6 308 1.1238 +#endif 1.1239 + 1.1240 +#if !defined(__NR_ppoll) 1.1241 +#define __NR_ppoll 309 1.1242 +#endif 1.1243 + 1.1244 +#if !defined(__NR_unshare) 1.1245 +#define __NR_unshare 310 1.1246 +#endif 1.1247 + 1.1248 +#if !defined(__NR_set_robust_list) 1.1249 +#define __NR_set_robust_list 311 1.1250 +#endif 1.1251 + 1.1252 +#if !defined(__NR_get_robust_list) 1.1253 +#define __NR_get_robust_list 312 1.1254 +#endif 1.1255 + 1.1256 +#if !defined(__NR_splice) 1.1257 +#define __NR_splice 313 1.1258 +#endif 1.1259 + 1.1260 +#if !defined(__NR_sync_file_range) 1.1261 +#define __NR_sync_file_range 314 1.1262 +#endif 1.1263 + 1.1264 +#if !defined(__NR_tee) 1.1265 +#define __NR_tee 315 1.1266 +#endif 1.1267 + 1.1268 +#if !defined(__NR_vmsplice) 1.1269 +#define __NR_vmsplice 316 1.1270 +#endif 1.1271 + 1.1272 +#if !defined(__NR_move_pages) 1.1273 +#define __NR_move_pages 317 1.1274 +#endif 1.1275 + 1.1276 +#if !defined(__NR_getcpu) 1.1277 +#define __NR_getcpu 318 1.1278 +#endif 1.1279 + 1.1280 +#if !defined(__NR_epoll_pwait) 1.1281 +#define __NR_epoll_pwait 319 1.1282 +#endif 1.1283 + 1.1284 +#if !defined(__NR_utimensat) 1.1285 +#define __NR_utimensat 320 1.1286 +#endif 1.1287 + 1.1288 +#if !defined(__NR_signalfd) 1.1289 +#define __NR_signalfd 321 1.1290 +#endif 1.1291 + 1.1292 +#if !defined(__NR_timerfd_create) 1.1293 +#define __NR_timerfd_create 322 1.1294 +#endif 1.1295 + 1.1296 +#if !defined(__NR_eventfd) 1.1297 +#define __NR_eventfd 323 1.1298 +#endif 1.1299 + 1.1300 +#if !defined(__NR_fallocate) 1.1301 +#define __NR_fallocate 324 1.1302 +#endif 1.1303 + 1.1304 +#if !defined(__NR_timerfd_settime) 1.1305 +#define __NR_timerfd_settime 325 1.1306 +#endif 1.1307 + 1.1308 +#if !defined(__NR_timerfd_gettime) 1.1309 +#define __NR_timerfd_gettime 326 1.1310 +#endif 1.1311 + 1.1312 +#if !defined(__NR_signalfd4) 1.1313 +#define __NR_signalfd4 327 1.1314 +#endif 1.1315 + 1.1316 +#if !defined(__NR_eventfd2) 1.1317 +#define __NR_eventfd2 328 1.1318 +#endif 1.1319 + 1.1320 +#if !defined(__NR_epoll_create1) 1.1321 +#define __NR_epoll_create1 329 1.1322 +#endif 1.1323 + 1.1324 +#if !defined(__NR_dup3) 1.1325 +#define __NR_dup3 330 1.1326 +#endif 1.1327 + 1.1328 +#if !defined(__NR_pipe2) 1.1329 +#define __NR_pipe2 331 1.1330 +#endif 1.1331 + 1.1332 +#if !defined(__NR_inotify_init1) 1.1333 +#define __NR_inotify_init1 332 1.1334 +#endif 1.1335 + 1.1336 +#if !defined(__NR_preadv) 1.1337 +#define __NR_preadv 333 1.1338 +#endif 1.1339 + 1.1340 +#if !defined(__NR_pwritev) 1.1341 +#define __NR_pwritev 334 1.1342 +#endif 1.1343 + 1.1344 +#if !defined(__NR_rt_tgsigqueueinfo) 1.1345 +#define __NR_rt_tgsigqueueinfo 335 1.1346 +#endif 1.1347 + 1.1348 +#if !defined(__NR_perf_event_open) 1.1349 +#define __NR_perf_event_open 336 1.1350 +#endif 1.1351 + 1.1352 +#if !defined(__NR_recvmmsg) 1.1353 +#define __NR_recvmmsg 337 1.1354 +#endif 1.1355 + 1.1356 +#if !defined(__NR_fanotify_init) 1.1357 +#define __NR_fanotify_init 338 1.1358 +#endif 1.1359 + 1.1360 +#if !defined(__NR_fanotify_mark) 1.1361 +#define __NR_fanotify_mark 339 1.1362 +#endif 1.1363 + 1.1364 +#if !defined(__NR_prlimit64) 1.1365 +#define __NR_prlimit64 340 1.1366 +#endif 1.1367 + 1.1368 +#if !defined(__NR_name_to_handle_at) 1.1369 +#define __NR_name_to_handle_at 341 1.1370 +#endif 1.1371 + 1.1372 +#if !defined(__NR_open_by_handle_at) 1.1373 +#define __NR_open_by_handle_at 342 1.1374 +#endif 1.1375 + 1.1376 +#if !defined(__NR_clock_adjtime) 1.1377 +#define __NR_clock_adjtime 343 1.1378 +#endif 1.1379 + 1.1380 +#if !defined(__NR_syncfs) 1.1381 +#define __NR_syncfs 344 1.1382 +#endif 1.1383 + 1.1384 +#if !defined(__NR_sendmmsg) 1.1385 +#define __NR_sendmmsg 345 1.1386 +#endif 1.1387 + 1.1388 +#if !defined(__NR_setns) 1.1389 +#define __NR_setns 346 1.1390 +#endif 1.1391 + 1.1392 +#if !defined(__NR_process_vm_readv) 1.1393 +#define __NR_process_vm_readv 347 1.1394 +#endif 1.1395 + 1.1396 +#if !defined(__NR_process_vm_writev) 1.1397 +#define __NR_process_vm_writev 348 1.1398 +#endif 1.1399 + 1.1400 +#if !defined(__NR_kcmp) 1.1401 +#define __NR_kcmp 349 1.1402 +#endif 1.1403 + 1.1404 +#endif // SANDBOX_LINUX_SERVICES_X86_32_LINUX_SYSCALLS_H_ 1.1405 +