security/sandbox/linux/x86_64_linux_syscalls.h

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

mercurial