security/sandbox/linux/arm_linux_syscalls.h

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

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

mercurial