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