security/sandbox/linux/x86_64_linux_syscalls.h

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

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

mercurial