Updating XTBs based on .GRDs from branch master
[chromium-blink-merge.git] / sandbox / linux / system_headers / arm_linux_syscalls.h
blob1addd53843c957a09bb55381e70ab3df835e9029
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 #if !defined(__NR_SYSCALL_BASE)
14 // On ARM EABI arch, __NR_SYSCALL_BASE is 0.
15 #define __NR_SYSCALL_BASE 0
16 #endif
18 // This syscall list has holes, because ARM EABI makes some syscalls obsolete.
20 #if !defined(__NR_restart_syscall)
21 #define __NR_restart_syscall (__NR_SYSCALL_BASE+0)
22 #endif
24 #if !defined(__NR_exit)
25 #define __NR_exit (__NR_SYSCALL_BASE+1)
26 #endif
28 #if !defined(__NR_fork)
29 #define __NR_fork (__NR_SYSCALL_BASE+2)
30 #endif
32 #if !defined(__NR_read)
33 #define __NR_read (__NR_SYSCALL_BASE+3)
34 #endif
36 #if !defined(__NR_write)
37 #define __NR_write (__NR_SYSCALL_BASE+4)
38 #endif
40 #if !defined(__NR_open)
41 #define __NR_open (__NR_SYSCALL_BASE+5)
42 #endif
44 #if !defined(__NR_close)
45 #define __NR_close (__NR_SYSCALL_BASE+6)
46 #endif
48 #if !defined(__NR_creat)
49 #define __NR_creat (__NR_SYSCALL_BASE+8)
50 #endif
52 #if !defined(__NR_link)
53 #define __NR_link (__NR_SYSCALL_BASE+9)
54 #endif
56 #if !defined(__NR_unlink)
57 #define __NR_unlink (__NR_SYSCALL_BASE+10)
58 #endif
60 #if !defined(__NR_execve)
61 #define __NR_execve (__NR_SYSCALL_BASE+11)
62 #endif
64 #if !defined(__NR_chdir)
65 #define __NR_chdir (__NR_SYSCALL_BASE+12)
66 #endif
68 #if !defined(__NR_mknod)
69 #define __NR_mknod (__NR_SYSCALL_BASE+14)
70 #endif
72 #if !defined(__NR_chmod)
73 #define __NR_chmod (__NR_SYSCALL_BASE+15)
74 #endif
76 #if !defined(__NR_lchown)
77 #define __NR_lchown (__NR_SYSCALL_BASE+16)
78 #endif
80 #if !defined(__NR_lseek)
81 #define __NR_lseek (__NR_SYSCALL_BASE+19)
82 #endif
84 #if !defined(__NR_getpid)
85 #define __NR_getpid (__NR_SYSCALL_BASE+20)
86 #endif
88 #if !defined(__NR_mount)
89 #define __NR_mount (__NR_SYSCALL_BASE+21)
90 #endif
92 #if !defined(__NR_setuid)
93 #define __NR_setuid (__NR_SYSCALL_BASE+23)
94 #endif
96 #if !defined(__NR_getuid)
97 #define __NR_getuid (__NR_SYSCALL_BASE+24)
98 #endif
100 #if !defined(__NR_ptrace)
101 #define __NR_ptrace (__NR_SYSCALL_BASE+26)
102 #endif
104 #if !defined(__NR_pause)
105 #define __NR_pause (__NR_SYSCALL_BASE+29)
106 #endif
108 #if !defined(__NR_access)
109 #define __NR_access (__NR_SYSCALL_BASE+33)
110 #endif
112 #if !defined(__NR_nice)
113 #define __NR_nice (__NR_SYSCALL_BASE+34)
114 #endif
116 #if !defined(__NR_sync)
117 #define __NR_sync (__NR_SYSCALL_BASE+36)
118 #endif
120 #if !defined(__NR_kill)
121 #define __NR_kill (__NR_SYSCALL_BASE+37)
122 #endif
124 #if !defined(__NR_rename)
125 #define __NR_rename (__NR_SYSCALL_BASE+38)
126 #endif
128 #if !defined(__NR_mkdir)
129 #define __NR_mkdir (__NR_SYSCALL_BASE+39)
130 #endif
132 #if !defined(__NR_rmdir)
133 #define __NR_rmdir (__NR_SYSCALL_BASE+40)
134 #endif
136 #if !defined(__NR_dup)
137 #define __NR_dup (__NR_SYSCALL_BASE+41)
138 #endif
140 #if !defined(__NR_pipe)
141 #define __NR_pipe (__NR_SYSCALL_BASE+42)
142 #endif
144 #if !defined(__NR_times)
145 #define __NR_times (__NR_SYSCALL_BASE+43)
146 #endif
148 #if !defined(__NR_brk)
149 #define __NR_brk (__NR_SYSCALL_BASE+45)
150 #endif
152 #if !defined(__NR_setgid)
153 #define __NR_setgid (__NR_SYSCALL_BASE+46)
154 #endif
156 #if !defined(__NR_getgid)
157 #define __NR_getgid (__NR_SYSCALL_BASE+47)
158 #endif
160 #if !defined(__NR_geteuid)
161 #define __NR_geteuid (__NR_SYSCALL_BASE+49)
162 #endif
164 #if !defined(__NR_getegid)
165 #define __NR_getegid (__NR_SYSCALL_BASE+50)
166 #endif
168 #if !defined(__NR_acct)
169 #define __NR_acct (__NR_SYSCALL_BASE+51)
170 #endif
172 #if !defined(__NR_umount2)
173 #define __NR_umount2 (__NR_SYSCALL_BASE+52)
174 #endif
176 #if !defined(__NR_ioctl)
177 #define __NR_ioctl (__NR_SYSCALL_BASE+54)
178 #endif
180 #if !defined(__NR_fcntl)
181 #define __NR_fcntl (__NR_SYSCALL_BASE+55)
182 #endif
184 #if !defined(__NR_setpgid)
185 #define __NR_setpgid (__NR_SYSCALL_BASE+57)
186 #endif
188 #if !defined(__NR_umask)
189 #define __NR_umask (__NR_SYSCALL_BASE+60)
190 #endif
192 #if !defined(__NR_chroot)
193 #define __NR_chroot (__NR_SYSCALL_BASE+61)
194 #endif
196 #if !defined(__NR_ustat)
197 #define __NR_ustat (__NR_SYSCALL_BASE+62)
198 #endif
200 #if !defined(__NR_dup2)
201 #define __NR_dup2 (__NR_SYSCALL_BASE+63)
202 #endif
204 #if !defined(__NR_getppid)
205 #define __NR_getppid (__NR_SYSCALL_BASE+64)
206 #endif
208 #if !defined(__NR_getpgrp)
209 #define __NR_getpgrp (__NR_SYSCALL_BASE+65)
210 #endif
212 #if !defined(__NR_setsid)
213 #define __NR_setsid (__NR_SYSCALL_BASE+66)
214 #endif
216 #if !defined(__NR_sigaction)
217 #define __NR_sigaction (__NR_SYSCALL_BASE+67)
218 #endif
220 #if !defined(__NR_setreuid)
221 #define __NR_setreuid (__NR_SYSCALL_BASE+70)
222 #endif
224 #if !defined(__NR_setregid)
225 #define __NR_setregid (__NR_SYSCALL_BASE+71)
226 #endif
228 #if !defined(__NR_sigsuspend)
229 #define __NR_sigsuspend (__NR_SYSCALL_BASE+72)
230 #endif
232 #if !defined(__NR_sigpending)
233 #define __NR_sigpending (__NR_SYSCALL_BASE+73)
234 #endif
236 #if !defined(__NR_sethostname)
237 #define __NR_sethostname (__NR_SYSCALL_BASE+74)
238 #endif
240 #if !defined(__NR_setrlimit)
241 #define __NR_setrlimit (__NR_SYSCALL_BASE+75)
242 #endif
244 #if !defined(__NR_getrusage)
245 #define __NR_getrusage (__NR_SYSCALL_BASE+77)
246 #endif
248 #if !defined(__NR_gettimeofday)
249 #define __NR_gettimeofday (__NR_SYSCALL_BASE+78)
250 #endif
252 #if !defined(__NR_settimeofday)
253 #define __NR_settimeofday (__NR_SYSCALL_BASE+79)
254 #endif
256 #if !defined(__NR_getgroups)
257 #define __NR_getgroups (__NR_SYSCALL_BASE+80)
258 #endif
260 #if !defined(__NR_setgroups)
261 #define __NR_setgroups (__NR_SYSCALL_BASE+81)
262 #endif
264 #if !defined(__NR_symlink)
265 #define __NR_symlink (__NR_SYSCALL_BASE+83)
266 #endif
268 #if !defined(__NR_readlink)
269 #define __NR_readlink (__NR_SYSCALL_BASE+85)
270 #endif
272 #if !defined(__NR_uselib)
273 #define __NR_uselib (__NR_SYSCALL_BASE+86)
274 #endif
276 #if !defined(__NR_swapon)
277 #define __NR_swapon (__NR_SYSCALL_BASE+87)
278 #endif
280 #if !defined(__NR_reboot)
281 #define __NR_reboot (__NR_SYSCALL_BASE+88)
282 #endif
284 #if !defined(__NR_munmap)
285 #define __NR_munmap (__NR_SYSCALL_BASE+91)
286 #endif
288 #if !defined(__NR_truncate)
289 #define __NR_truncate (__NR_SYSCALL_BASE+92)
290 #endif
292 #if !defined(__NR_ftruncate)
293 #define __NR_ftruncate (__NR_SYSCALL_BASE+93)
294 #endif
296 #if !defined(__NR_fchmod)
297 #define __NR_fchmod (__NR_SYSCALL_BASE+94)
298 #endif
300 #if !defined(__NR_fchown)
301 #define __NR_fchown (__NR_SYSCALL_BASE+95)
302 #endif
304 #if !defined(__NR_getpriority)
305 #define __NR_getpriority (__NR_SYSCALL_BASE+96)
306 #endif
308 #if !defined(__NR_setpriority)
309 #define __NR_setpriority (__NR_SYSCALL_BASE+97)
310 #endif
312 #if !defined(__NR_statfs)
313 #define __NR_statfs (__NR_SYSCALL_BASE+99)
314 #endif
316 #if !defined(__NR_fstatfs)
317 #define __NR_fstatfs (__NR_SYSCALL_BASE+100)
318 #endif
320 #if !defined(__NR_syslog)
321 #define __NR_syslog (__NR_SYSCALL_BASE+103)
322 #endif
324 #if !defined(__NR_setitimer)
325 #define __NR_setitimer (__NR_SYSCALL_BASE+104)
326 #endif
328 #if !defined(__NR_getitimer)
329 #define __NR_getitimer (__NR_SYSCALL_BASE+105)
330 #endif
332 #if !defined(__NR_stat)
333 #define __NR_stat (__NR_SYSCALL_BASE+106)
334 #endif
336 #if !defined(__NR_lstat)
337 #define __NR_lstat (__NR_SYSCALL_BASE+107)
338 #endif
340 #if !defined(__NR_fstat)
341 #define __NR_fstat (__NR_SYSCALL_BASE+108)
342 #endif
344 #if !defined(__NR_vhangup)
345 #define __NR_vhangup (__NR_SYSCALL_BASE+111)
346 #endif
348 #if !defined(__NR_wait4)
349 #define __NR_wait4 (__NR_SYSCALL_BASE+114)
350 #endif
352 #if !defined(__NR_swapoff)
353 #define __NR_swapoff (__NR_SYSCALL_BASE+115)
354 #endif
356 #if !defined(__NR_sysinfo)
357 #define __NR_sysinfo (__NR_SYSCALL_BASE+116)
358 #endif
360 #if !defined(__NR_fsync)
361 #define __NR_fsync (__NR_SYSCALL_BASE+118)
362 #endif
364 #if !defined(__NR_sigreturn)
365 #define __NR_sigreturn (__NR_SYSCALL_BASE+119)
366 #endif
368 #if !defined(__NR_clone)
369 #define __NR_clone (__NR_SYSCALL_BASE+120)
370 #endif
372 #if !defined(__NR_setdomainname)
373 #define __NR_setdomainname (__NR_SYSCALL_BASE+121)
374 #endif
376 #if !defined(__NR_uname)
377 #define __NR_uname (__NR_SYSCALL_BASE+122)
378 #endif
380 #if !defined(__NR_adjtimex)
381 #define __NR_adjtimex (__NR_SYSCALL_BASE+124)
382 #endif
384 #if !defined(__NR_mprotect)
385 #define __NR_mprotect (__NR_SYSCALL_BASE+125)
386 #endif
388 #if !defined(__NR_sigprocmask)
389 #define __NR_sigprocmask (__NR_SYSCALL_BASE+126)
390 #endif
392 #if !defined(__NR_init_module)
393 #define __NR_init_module (__NR_SYSCALL_BASE+128)
394 #endif
396 #if !defined(__NR_delete_module)
397 #define __NR_delete_module (__NR_SYSCALL_BASE+129)
398 #endif
400 #if !defined(__NR_quotactl)
401 #define __NR_quotactl (__NR_SYSCALL_BASE+131)
402 #endif
404 #if !defined(__NR_getpgid)
405 #define __NR_getpgid (__NR_SYSCALL_BASE+132)
406 #endif
408 #if !defined(__NR_fchdir)
409 #define __NR_fchdir (__NR_SYSCALL_BASE+133)
410 #endif
412 #if !defined(__NR_bdflush)
413 #define __NR_bdflush (__NR_SYSCALL_BASE+134)
414 #endif
416 #if !defined(__NR_sysfs)
417 #define __NR_sysfs (__NR_SYSCALL_BASE+135)
418 #endif
420 #if !defined(__NR_personality)
421 #define __NR_personality (__NR_SYSCALL_BASE+136)
422 #endif
424 #if !defined(__NR_setfsuid)
425 #define __NR_setfsuid (__NR_SYSCALL_BASE+138)
426 #endif
428 #if !defined(__NR_setfsgid)
429 #define __NR_setfsgid (__NR_SYSCALL_BASE+139)
430 #endif
432 #if !defined(__NR__llseek)
433 #define __NR__llseek (__NR_SYSCALL_BASE+140)
434 #endif
436 #if !defined(__NR_getdents)
437 #define __NR_getdents (__NR_SYSCALL_BASE+141)
438 #endif
440 #if !defined(__NR__newselect)
441 #define __NR__newselect (__NR_SYSCALL_BASE+142)
442 #endif
444 #if !defined(__NR_flock)
445 #define __NR_flock (__NR_SYSCALL_BASE+143)
446 #endif
448 #if !defined(__NR_msync)
449 #define __NR_msync (__NR_SYSCALL_BASE+144)
450 #endif
452 #if !defined(__NR_readv)
453 #define __NR_readv (__NR_SYSCALL_BASE+145)
454 #endif
456 #if !defined(__NR_writev)
457 #define __NR_writev (__NR_SYSCALL_BASE+146)
458 #endif
460 #if !defined(__NR_getsid)
461 #define __NR_getsid (__NR_SYSCALL_BASE+147)
462 #endif
464 #if !defined(__NR_fdatasync)
465 #define __NR_fdatasync (__NR_SYSCALL_BASE+148)
466 #endif
468 #if !defined(__NR__sysctl)
469 #define __NR__sysctl (__NR_SYSCALL_BASE+149)
470 #endif
472 #if !defined(__NR_mlock)
473 #define __NR_mlock (__NR_SYSCALL_BASE+150)
474 #endif
476 #if !defined(__NR_munlock)
477 #define __NR_munlock (__NR_SYSCALL_BASE+151)
478 #endif
480 #if !defined(__NR_mlockall)
481 #define __NR_mlockall (__NR_SYSCALL_BASE+152)
482 #endif
484 #if !defined(__NR_munlockall)
485 #define __NR_munlockall (__NR_SYSCALL_BASE+153)
486 #endif
488 #if !defined(__NR_sched_setparam)
489 #define __NR_sched_setparam (__NR_SYSCALL_BASE+154)
490 #endif
492 #if !defined(__NR_sched_getparam)
493 #define __NR_sched_getparam (__NR_SYSCALL_BASE+155)
494 #endif
496 #if !defined(__NR_sched_setscheduler)
497 #define __NR_sched_setscheduler (__NR_SYSCALL_BASE+156)
498 #endif
500 #if !defined(__NR_sched_getscheduler)
501 #define __NR_sched_getscheduler (__NR_SYSCALL_BASE+157)
502 #endif
504 #if !defined(__NR_sched_yield)
505 #define __NR_sched_yield (__NR_SYSCALL_BASE+158)
506 #endif
508 #if !defined(__NR_sched_get_priority_max)
509 #define __NR_sched_get_priority_max (__NR_SYSCALL_BASE+159)
510 #endif
512 #if !defined(__NR_sched_get_priority_min)
513 #define __NR_sched_get_priority_min (__NR_SYSCALL_BASE+160)
514 #endif
516 #if !defined(__NR_sched_rr_get_interval)
517 #define __NR_sched_rr_get_interval (__NR_SYSCALL_BASE+161)
518 #endif
520 #if !defined(__NR_nanosleep)
521 #define __NR_nanosleep (__NR_SYSCALL_BASE+162)
522 #endif
524 #if !defined(__NR_mremap)
525 #define __NR_mremap (__NR_SYSCALL_BASE+163)
526 #endif
528 #if !defined(__NR_setresuid)
529 #define __NR_setresuid (__NR_SYSCALL_BASE+164)
530 #endif
532 #if !defined(__NR_getresuid)
533 #define __NR_getresuid (__NR_SYSCALL_BASE+165)
534 #endif
536 #if !defined(__NR_poll)
537 #define __NR_poll (__NR_SYSCALL_BASE+168)
538 #endif
540 #if !defined(__NR_nfsservctl)
541 #define __NR_nfsservctl (__NR_SYSCALL_BASE+169)
542 #endif
544 #if !defined(__NR_setresgid)
545 #define __NR_setresgid (__NR_SYSCALL_BASE+170)
546 #endif
548 #if !defined(__NR_getresgid)
549 #define __NR_getresgid (__NR_SYSCALL_BASE+171)
550 #endif
552 #if !defined(__NR_prctl)
553 #define __NR_prctl (__NR_SYSCALL_BASE+172)
554 #endif
556 #if !defined(__NR_rt_sigreturn)
557 #define __NR_rt_sigreturn (__NR_SYSCALL_BASE+173)
558 #endif
560 #if !defined(__NR_rt_sigaction)
561 #define __NR_rt_sigaction (__NR_SYSCALL_BASE+174)
562 #endif
564 #if !defined(__NR_rt_sigprocmask)
565 #define __NR_rt_sigprocmask (__NR_SYSCALL_BASE+175)
566 #endif
568 #if !defined(__NR_rt_sigpending)
569 #define __NR_rt_sigpending (__NR_SYSCALL_BASE+176)
570 #endif
572 #if !defined(__NR_rt_sigtimedwait)
573 #define __NR_rt_sigtimedwait (__NR_SYSCALL_BASE+177)
574 #endif
576 #if !defined(__NR_rt_sigqueueinfo)
577 #define __NR_rt_sigqueueinfo (__NR_SYSCALL_BASE+178)
578 #endif
580 #if !defined(__NR_rt_sigsuspend)
581 #define __NR_rt_sigsuspend (__NR_SYSCALL_BASE+179)
582 #endif
584 #if !defined(__NR_pread64)
585 #define __NR_pread64 (__NR_SYSCALL_BASE+180)
586 #endif
588 #if !defined(__NR_pwrite64)
589 #define __NR_pwrite64 (__NR_SYSCALL_BASE+181)
590 #endif
592 #if !defined(__NR_chown)
593 #define __NR_chown (__NR_SYSCALL_BASE+182)
594 #endif
596 #if !defined(__NR_getcwd)
597 #define __NR_getcwd (__NR_SYSCALL_BASE+183)
598 #endif
600 #if !defined(__NR_capget)
601 #define __NR_capget (__NR_SYSCALL_BASE+184)
602 #endif
604 #if !defined(__NR_capset)
605 #define __NR_capset (__NR_SYSCALL_BASE+185)
606 #endif
608 #if !defined(__NR_sigaltstack)
609 #define __NR_sigaltstack (__NR_SYSCALL_BASE+186)
610 #endif
612 #if !defined(__NR_sendfile)
613 #define __NR_sendfile (__NR_SYSCALL_BASE+187)
614 #endif
616 #if !defined(__NR_vfork)
617 #define __NR_vfork (__NR_SYSCALL_BASE+190)
618 #endif
620 #if !defined(__NR_ugetrlimit)
621 #define __NR_ugetrlimit (__NR_SYSCALL_BASE+191)
622 #endif
624 #if !defined(__NR_mmap2)
625 #define __NR_mmap2 (__NR_SYSCALL_BASE+192)
626 #endif
628 #if !defined(__NR_truncate64)
629 #define __NR_truncate64 (__NR_SYSCALL_BASE+193)
630 #endif
632 #if !defined(__NR_ftruncate64)
633 #define __NR_ftruncate64 (__NR_SYSCALL_BASE+194)
634 #endif
636 #if !defined(__NR_stat64)
637 #define __NR_stat64 (__NR_SYSCALL_BASE+195)
638 #endif
640 #if !defined(__NR_lstat64)
641 #define __NR_lstat64 (__NR_SYSCALL_BASE+196)
642 #endif
644 #if !defined(__NR_fstat64)
645 #define __NR_fstat64 (__NR_SYSCALL_BASE+197)
646 #endif
648 #if !defined(__NR_lchown32)
649 #define __NR_lchown32 (__NR_SYSCALL_BASE+198)
650 #endif
652 #if !defined(__NR_getuid32)
653 #define __NR_getuid32 (__NR_SYSCALL_BASE+199)
654 #endif
656 #if !defined(__NR_getgid32)
657 #define __NR_getgid32 (__NR_SYSCALL_BASE+200)
658 #endif
660 #if !defined(__NR_geteuid32)
661 #define __NR_geteuid32 (__NR_SYSCALL_BASE+201)
662 #endif
664 #if !defined(__NR_getegid32)
665 #define __NR_getegid32 (__NR_SYSCALL_BASE+202)
666 #endif
668 #if !defined(__NR_setreuid32)
669 #define __NR_setreuid32 (__NR_SYSCALL_BASE+203)
670 #endif
672 #if !defined(__NR_setregid32)
673 #define __NR_setregid32 (__NR_SYSCALL_BASE+204)
674 #endif
676 #if !defined(__NR_getgroups32)
677 #define __NR_getgroups32 (__NR_SYSCALL_BASE+205)
678 #endif
680 #if !defined(__NR_setgroups32)
681 #define __NR_setgroups32 (__NR_SYSCALL_BASE+206)
682 #endif
684 #if !defined(__NR_fchown32)
685 #define __NR_fchown32 (__NR_SYSCALL_BASE+207)
686 #endif
688 #if !defined(__NR_setresuid32)
689 #define __NR_setresuid32 (__NR_SYSCALL_BASE+208)
690 #endif
692 #if !defined(__NR_getresuid32)
693 #define __NR_getresuid32 (__NR_SYSCALL_BASE+209)
694 #endif
696 #if !defined(__NR_setresgid32)
697 #define __NR_setresgid32 (__NR_SYSCALL_BASE+210)
698 #endif
700 #if !defined(__NR_getresgid32)
701 #define __NR_getresgid32 (__NR_SYSCALL_BASE+211)
702 #endif
704 #if !defined(__NR_chown32)
705 #define __NR_chown32 (__NR_SYSCALL_BASE+212)
706 #endif
708 #if !defined(__NR_setuid32)
709 #define __NR_setuid32 (__NR_SYSCALL_BASE+213)
710 #endif
712 #if !defined(__NR_setgid32)
713 #define __NR_setgid32 (__NR_SYSCALL_BASE+214)
714 #endif
716 #if !defined(__NR_setfsuid32)
717 #define __NR_setfsuid32 (__NR_SYSCALL_BASE+215)
718 #endif
720 #if !defined(__NR_setfsgid32)
721 #define __NR_setfsgid32 (__NR_SYSCALL_BASE+216)
722 #endif
724 #if !defined(__NR_getdents64)
725 #define __NR_getdents64 (__NR_SYSCALL_BASE+217)
726 #endif
728 #if !defined(__NR_pivot_root)
729 #define __NR_pivot_root (__NR_SYSCALL_BASE+218)
730 #endif
732 #if !defined(__NR_mincore)
733 #define __NR_mincore (__NR_SYSCALL_BASE+219)
734 #endif
736 #if !defined(__NR_madvise)
737 #define __NR_madvise (__NR_SYSCALL_BASE+220)
738 #endif
740 #if !defined(__NR_fcntl64)
741 #define __NR_fcntl64 (__NR_SYSCALL_BASE+221)
742 #endif
744 #if !defined(__NR_gettid)
745 #define __NR_gettid (__NR_SYSCALL_BASE+224)
746 #endif
748 #if !defined(__NR_readahead)
749 #define __NR_readahead (__NR_SYSCALL_BASE+225)
750 #endif
752 #if !defined(__NR_setxattr)
753 #define __NR_setxattr (__NR_SYSCALL_BASE+226)
754 #endif
756 #if !defined(__NR_lsetxattr)
757 #define __NR_lsetxattr (__NR_SYSCALL_BASE+227)
758 #endif
760 #if !defined(__NR_fsetxattr)
761 #define __NR_fsetxattr (__NR_SYSCALL_BASE+228)
762 #endif
764 #if !defined(__NR_getxattr)
765 #define __NR_getxattr (__NR_SYSCALL_BASE+229)
766 #endif
768 #if !defined(__NR_lgetxattr)
769 #define __NR_lgetxattr (__NR_SYSCALL_BASE+230)
770 #endif
772 #if !defined(__NR_fgetxattr)
773 #define __NR_fgetxattr (__NR_SYSCALL_BASE+231)
774 #endif
776 #if !defined(__NR_listxattr)
777 #define __NR_listxattr (__NR_SYSCALL_BASE+232)
778 #endif
780 #if !defined(__NR_llistxattr)
781 #define __NR_llistxattr (__NR_SYSCALL_BASE+233)
782 #endif
784 #if !defined(__NR_flistxattr)
785 #define __NR_flistxattr (__NR_SYSCALL_BASE+234)
786 #endif
788 #if !defined(__NR_removexattr)
789 #define __NR_removexattr (__NR_SYSCALL_BASE+235)
790 #endif
792 #if !defined(__NR_lremovexattr)
793 #define __NR_lremovexattr (__NR_SYSCALL_BASE+236)
794 #endif
796 #if !defined(__NR_fremovexattr)
797 #define __NR_fremovexattr (__NR_SYSCALL_BASE+237)
798 #endif
800 #if !defined(__NR_tkill)
801 #define __NR_tkill (__NR_SYSCALL_BASE+238)
802 #endif
804 #if !defined(__NR_sendfile64)
805 #define __NR_sendfile64 (__NR_SYSCALL_BASE+239)
806 #endif
808 #if !defined(__NR_futex)
809 #define __NR_futex (__NR_SYSCALL_BASE+240)
810 #endif
812 #if !defined(__NR_sched_setaffinity)
813 #define __NR_sched_setaffinity (__NR_SYSCALL_BASE+241)
814 #endif
816 #if !defined(__NR_sched_getaffinity)
817 #define __NR_sched_getaffinity (__NR_SYSCALL_BASE+242)
818 #endif
820 #if !defined(__NR_io_setup)
821 #define __NR_io_setup (__NR_SYSCALL_BASE+243)
822 #endif
824 #if !defined(__NR_io_destroy)
825 #define __NR_io_destroy (__NR_SYSCALL_BASE+244)
826 #endif
828 #if !defined(__NR_io_getevents)
829 #define __NR_io_getevents (__NR_SYSCALL_BASE+245)
830 #endif
832 #if !defined(__NR_io_submit)
833 #define __NR_io_submit (__NR_SYSCALL_BASE+246)
834 #endif
836 #if !defined(__NR_io_cancel)
837 #define __NR_io_cancel (__NR_SYSCALL_BASE+247)
838 #endif
840 #if !defined(__NR_exit_group)
841 #define __NR_exit_group (__NR_SYSCALL_BASE+248)
842 #endif
844 #if !defined(__NR_lookup_dcookie)
845 #define __NR_lookup_dcookie (__NR_SYSCALL_BASE+249)
846 #endif
848 #if !defined(__NR_epoll_create)
849 #define __NR_epoll_create (__NR_SYSCALL_BASE+250)
850 #endif
852 #if !defined(__NR_epoll_ctl)
853 #define __NR_epoll_ctl (__NR_SYSCALL_BASE+251)
854 #endif
856 #if !defined(__NR_epoll_wait)
857 #define __NR_epoll_wait (__NR_SYSCALL_BASE+252)
858 #endif
860 #if !defined(__NR_remap_file_pages)
861 #define __NR_remap_file_pages (__NR_SYSCALL_BASE+253)
862 #endif
864 #if !defined(__NR_set_tid_address)
865 #define __NR_set_tid_address (__NR_SYSCALL_BASE+256)
866 #endif
868 #if !defined(__NR_timer_create)
869 #define __NR_timer_create (__NR_SYSCALL_BASE+257)
870 #endif
872 #if !defined(__NR_timer_settime)
873 #define __NR_timer_settime (__NR_SYSCALL_BASE+258)
874 #endif
876 #if !defined(__NR_timer_gettime)
877 #define __NR_timer_gettime (__NR_SYSCALL_BASE+259)
878 #endif
880 #if !defined(__NR_timer_getoverrun)
881 #define __NR_timer_getoverrun (__NR_SYSCALL_BASE+260)
882 #endif
884 #if !defined(__NR_timer_delete)
885 #define __NR_timer_delete (__NR_SYSCALL_BASE+261)
886 #endif
888 #if !defined(__NR_clock_settime)
889 #define __NR_clock_settime (__NR_SYSCALL_BASE+262)
890 #endif
892 #if !defined(__NR_clock_gettime)
893 #define __NR_clock_gettime (__NR_SYSCALL_BASE+263)
894 #endif
896 #if !defined(__NR_clock_getres)
897 #define __NR_clock_getres (__NR_SYSCALL_BASE+264)
898 #endif
900 #if !defined(__NR_clock_nanosleep)
901 #define __NR_clock_nanosleep (__NR_SYSCALL_BASE+265)
902 #endif
904 #if !defined(__NR_statfs64)
905 #define __NR_statfs64 (__NR_SYSCALL_BASE+266)
906 #endif
908 #if !defined(__NR_fstatfs64)
909 #define __NR_fstatfs64 (__NR_SYSCALL_BASE+267)
910 #endif
912 #if !defined(__NR_tgkill)
913 #define __NR_tgkill (__NR_SYSCALL_BASE+268)
914 #endif
916 #if !defined(__NR_utimes)
917 #define __NR_utimes (__NR_SYSCALL_BASE+269)
918 #endif
920 #if !defined(__NR_arm_fadvise64_64)
921 #define __NR_arm_fadvise64_64 (__NR_SYSCALL_BASE+270)
922 #endif
924 #if !defined(__NR_pciconfig_iobase)
925 #define __NR_pciconfig_iobase (__NR_SYSCALL_BASE+271)
926 #endif
928 #if !defined(__NR_pciconfig_read)
929 #define __NR_pciconfig_read (__NR_SYSCALL_BASE+272)
930 #endif
932 #if !defined(__NR_pciconfig_write)
933 #define __NR_pciconfig_write (__NR_SYSCALL_BASE+273)
934 #endif
936 #if !defined(__NR_mq_open)
937 #define __NR_mq_open (__NR_SYSCALL_BASE+274)
938 #endif
940 #if !defined(__NR_mq_unlink)
941 #define __NR_mq_unlink (__NR_SYSCALL_BASE+275)
942 #endif
944 #if !defined(__NR_mq_timedsend)
945 #define __NR_mq_timedsend (__NR_SYSCALL_BASE+276)
946 #endif
948 #if !defined(__NR_mq_timedreceive)
949 #define __NR_mq_timedreceive (__NR_SYSCALL_BASE+277)
950 #endif
952 #if !defined(__NR_mq_notify)
953 #define __NR_mq_notify (__NR_SYSCALL_BASE+278)
954 #endif
956 #if !defined(__NR_mq_getsetattr)
957 #define __NR_mq_getsetattr (__NR_SYSCALL_BASE+279)
958 #endif
960 #if !defined(__NR_waitid)
961 #define __NR_waitid (__NR_SYSCALL_BASE+280)
962 #endif
964 #if !defined(__NR_socket)
965 #define __NR_socket (__NR_SYSCALL_BASE+281)
966 #endif
968 #if !defined(__NR_bind)
969 #define __NR_bind (__NR_SYSCALL_BASE+282)
970 #endif
972 #if !defined(__NR_connect)
973 #define __NR_connect (__NR_SYSCALL_BASE+283)
974 #endif
976 #if !defined(__NR_listen)
977 #define __NR_listen (__NR_SYSCALL_BASE+284)
978 #endif
980 #if !defined(__NR_accept)
981 #define __NR_accept (__NR_SYSCALL_BASE+285)
982 #endif
984 #if !defined(__NR_getsockname)
985 #define __NR_getsockname (__NR_SYSCALL_BASE+286)
986 #endif
988 #if !defined(__NR_getpeername)
989 #define __NR_getpeername (__NR_SYSCALL_BASE+287)
990 #endif
992 #if !defined(__NR_socketpair)
993 #define __NR_socketpair (__NR_SYSCALL_BASE+288)
994 #endif
996 #if !defined(__NR_send)
997 #define __NR_send (__NR_SYSCALL_BASE+289)
998 #endif
1000 #if !defined(__NR_sendto)
1001 #define __NR_sendto (__NR_SYSCALL_BASE+290)
1002 #endif
1004 #if !defined(__NR_recv)
1005 #define __NR_recv (__NR_SYSCALL_BASE+291)
1006 #endif
1008 #if !defined(__NR_recvfrom)
1009 #define __NR_recvfrom (__NR_SYSCALL_BASE+292)
1010 #endif
1012 #if !defined(__NR_shutdown)
1013 #define __NR_shutdown (__NR_SYSCALL_BASE+293)
1014 #endif
1016 #if !defined(__NR_setsockopt)
1017 #define __NR_setsockopt (__NR_SYSCALL_BASE+294)
1018 #endif
1020 #if !defined(__NR_getsockopt)
1021 #define __NR_getsockopt (__NR_SYSCALL_BASE+295)
1022 #endif
1024 #if !defined(__NR_sendmsg)
1025 #define __NR_sendmsg (__NR_SYSCALL_BASE+296)
1026 #endif
1028 #if !defined(__NR_recvmsg)
1029 #define __NR_recvmsg (__NR_SYSCALL_BASE+297)
1030 #endif
1032 #if !defined(__NR_semop)
1033 #define __NR_semop (__NR_SYSCALL_BASE+298)
1034 #endif
1036 #if !defined(__NR_semget)
1037 #define __NR_semget (__NR_SYSCALL_BASE+299)
1038 #endif
1040 #if !defined(__NR_semctl)
1041 #define __NR_semctl (__NR_SYSCALL_BASE+300)
1042 #endif
1044 #if !defined(__NR_msgsnd)
1045 #define __NR_msgsnd (__NR_SYSCALL_BASE+301)
1046 #endif
1048 #if !defined(__NR_msgrcv)
1049 #define __NR_msgrcv (__NR_SYSCALL_BASE+302)
1050 #endif
1052 #if !defined(__NR_msgget)
1053 #define __NR_msgget (__NR_SYSCALL_BASE+303)
1054 #endif
1056 #if !defined(__NR_msgctl)
1057 #define __NR_msgctl (__NR_SYSCALL_BASE+304)
1058 #endif
1060 #if !defined(__NR_shmat)
1061 #define __NR_shmat (__NR_SYSCALL_BASE+305)
1062 #endif
1064 #if !defined(__NR_shmdt)
1065 #define __NR_shmdt (__NR_SYSCALL_BASE+306)
1066 #endif
1068 #if !defined(__NR_shmget)
1069 #define __NR_shmget (__NR_SYSCALL_BASE+307)
1070 #endif
1072 #if !defined(__NR_shmctl)
1073 #define __NR_shmctl (__NR_SYSCALL_BASE+308)
1074 #endif
1076 #if !defined(__NR_add_key)
1077 #define __NR_add_key (__NR_SYSCALL_BASE+309)
1078 #endif
1080 #if !defined(__NR_request_key)
1081 #define __NR_request_key (__NR_SYSCALL_BASE+310)
1082 #endif
1084 #if !defined(__NR_keyctl)
1085 #define __NR_keyctl (__NR_SYSCALL_BASE+311)
1086 #endif
1088 #if !defined(__NR_semtimedop)
1089 #define __NR_semtimedop (__NR_SYSCALL_BASE+312)
1090 #endif
1092 #if !defined(__NR_vserver)
1093 #define __NR_vserver (__NR_SYSCALL_BASE+313)
1094 #endif
1096 #if !defined(__NR_ioprio_set)
1097 #define __NR_ioprio_set (__NR_SYSCALL_BASE+314)
1098 #endif
1100 #if !defined(__NR_ioprio_get)
1101 #define __NR_ioprio_get (__NR_SYSCALL_BASE+315)
1102 #endif
1104 #if !defined(__NR_inotify_init)
1105 #define __NR_inotify_init (__NR_SYSCALL_BASE+316)
1106 #endif
1108 #if !defined(__NR_inotify_add_watch)
1109 #define __NR_inotify_add_watch (__NR_SYSCALL_BASE+317)
1110 #endif
1112 #if !defined(__NR_inotify_rm_watch)
1113 #define __NR_inotify_rm_watch (__NR_SYSCALL_BASE+318)
1114 #endif
1116 #if !defined(__NR_mbind)
1117 #define __NR_mbind (__NR_SYSCALL_BASE+319)
1118 #endif
1120 #if !defined(__NR_get_mempolicy)
1121 #define __NR_get_mempolicy (__NR_SYSCALL_BASE+320)
1122 #endif
1124 #if !defined(__NR_set_mempolicy)
1125 #define __NR_set_mempolicy (__NR_SYSCALL_BASE+321)
1126 #endif
1128 #if !defined(__NR_openat)
1129 #define __NR_openat (__NR_SYSCALL_BASE+322)
1130 #endif
1132 #if !defined(__NR_mkdirat)
1133 #define __NR_mkdirat (__NR_SYSCALL_BASE+323)
1134 #endif
1136 #if !defined(__NR_mknodat)
1137 #define __NR_mknodat (__NR_SYSCALL_BASE+324)
1138 #endif
1140 #if !defined(__NR_fchownat)
1141 #define __NR_fchownat (__NR_SYSCALL_BASE+325)
1142 #endif
1144 #if !defined(__NR_futimesat)
1145 #define __NR_futimesat (__NR_SYSCALL_BASE+326)
1146 #endif
1148 #if !defined(__NR_fstatat64)
1149 #define __NR_fstatat64 (__NR_SYSCALL_BASE+327)
1150 #endif
1152 #if !defined(__NR_unlinkat)
1153 #define __NR_unlinkat (__NR_SYSCALL_BASE+328)
1154 #endif
1156 #if !defined(__NR_renameat)
1157 #define __NR_renameat (__NR_SYSCALL_BASE+329)
1158 #endif
1160 #if !defined(__NR_linkat)
1161 #define __NR_linkat (__NR_SYSCALL_BASE+330)
1162 #endif
1164 #if !defined(__NR_symlinkat)
1165 #define __NR_symlinkat (__NR_SYSCALL_BASE+331)
1166 #endif
1168 #if !defined(__NR_readlinkat)
1169 #define __NR_readlinkat (__NR_SYSCALL_BASE+332)
1170 #endif
1172 #if !defined(__NR_fchmodat)
1173 #define __NR_fchmodat (__NR_SYSCALL_BASE+333)
1174 #endif
1176 #if !defined(__NR_faccessat)
1177 #define __NR_faccessat (__NR_SYSCALL_BASE+334)
1178 #endif
1180 #if !defined(__NR_pselect6)
1181 #define __NR_pselect6 (__NR_SYSCALL_BASE+335)
1182 #endif
1184 #if !defined(__NR_ppoll)
1185 #define __NR_ppoll (__NR_SYSCALL_BASE+336)
1186 #endif
1188 #if !defined(__NR_unshare)
1189 #define __NR_unshare (__NR_SYSCALL_BASE+337)
1190 #endif
1192 #if !defined(__NR_set_robust_list)
1193 #define __NR_set_robust_list (__NR_SYSCALL_BASE+338)
1194 #endif
1196 #if !defined(__NR_get_robust_list)
1197 #define __NR_get_robust_list (__NR_SYSCALL_BASE+339)
1198 #endif
1200 #if !defined(__NR_splice)
1201 #define __NR_splice (__NR_SYSCALL_BASE+340)
1202 #endif
1204 #if !defined(__NR_arm_sync_file_range)
1205 #define __NR_arm_sync_file_range (__NR_SYSCALL_BASE+341)
1206 #endif
1208 #if !defined(__NR_sync_file_range2)
1209 #define __NR_sync_file_range2 (__NR_SYSCALL_BASE+341)
1210 #endif
1212 #if !defined(__NR_tee)
1213 #define __NR_tee (__NR_SYSCALL_BASE+342)
1214 #endif
1216 #if !defined(__NR_vmsplice)
1217 #define __NR_vmsplice (__NR_SYSCALL_BASE+343)
1218 #endif
1220 #if !defined(__NR_move_pages)
1221 #define __NR_move_pages (__NR_SYSCALL_BASE+344)
1222 #endif
1224 #if !defined(__NR_getcpu)
1225 #define __NR_getcpu (__NR_SYSCALL_BASE+345)
1226 #endif
1228 #if !defined(__NR_epoll_pwait)
1229 #define __NR_epoll_pwait (__NR_SYSCALL_BASE+346)
1230 #endif
1232 #if !defined(__NR_kexec_load)
1233 #define __NR_kexec_load (__NR_SYSCALL_BASE+347)
1234 #endif
1236 #if !defined(__NR_utimensat)
1237 #define __NR_utimensat (__NR_SYSCALL_BASE+348)
1238 #endif
1240 #if !defined(__NR_signalfd)
1241 #define __NR_signalfd (__NR_SYSCALL_BASE+349)
1242 #endif
1244 #if !defined(__NR_timerfd_create)
1245 #define __NR_timerfd_create (__NR_SYSCALL_BASE+350)
1246 #endif
1248 #if !defined(__NR_eventfd)
1249 #define __NR_eventfd (__NR_SYSCALL_BASE+351)
1250 #endif
1252 #if !defined(__NR_fallocate)
1253 #define __NR_fallocate (__NR_SYSCALL_BASE+352)
1254 #endif
1256 #if !defined(__NR_timerfd_settime)
1257 #define __NR_timerfd_settime (__NR_SYSCALL_BASE+353)
1258 #endif
1260 #if !defined(__NR_timerfd_gettime)
1261 #define __NR_timerfd_gettime (__NR_SYSCALL_BASE+354)
1262 #endif
1264 #if !defined(__NR_signalfd4)
1265 #define __NR_signalfd4 (__NR_SYSCALL_BASE+355)
1266 #endif
1268 #if !defined(__NR_eventfd2)
1269 #define __NR_eventfd2 (__NR_SYSCALL_BASE+356)
1270 #endif
1272 #if !defined(__NR_epoll_create1)
1273 #define __NR_epoll_create1 (__NR_SYSCALL_BASE+357)
1274 #endif
1276 #if !defined(__NR_dup3)
1277 #define __NR_dup3 (__NR_SYSCALL_BASE+358)
1278 #endif
1280 #if !defined(__NR_pipe2)
1281 #define __NR_pipe2 (__NR_SYSCALL_BASE+359)
1282 #endif
1284 #if !defined(__NR_inotify_init1)
1285 #define __NR_inotify_init1 (__NR_SYSCALL_BASE+360)
1286 #endif
1288 #if !defined(__NR_preadv)
1289 #define __NR_preadv (__NR_SYSCALL_BASE+361)
1290 #endif
1292 #if !defined(__NR_pwritev)
1293 #define __NR_pwritev (__NR_SYSCALL_BASE+362)
1294 #endif
1296 #if !defined(__NR_rt_tgsigqueueinfo)
1297 #define __NR_rt_tgsigqueueinfo (__NR_SYSCALL_BASE+363)
1298 #endif
1300 #if !defined(__NR_perf_event_open)
1301 #define __NR_perf_event_open (__NR_SYSCALL_BASE+364)
1302 #endif
1304 #if !defined(__NR_recvmmsg)
1305 #define __NR_recvmmsg (__NR_SYSCALL_BASE+365)
1306 #endif
1308 #if !defined(__NR_accept4)
1309 #define __NR_accept4 (__NR_SYSCALL_BASE+366)
1310 #endif
1312 #if !defined(__NR_fanotify_init)
1313 #define __NR_fanotify_init (__NR_SYSCALL_BASE+367)
1314 #endif
1316 #if !defined(__NR_fanotify_mark)
1317 #define __NR_fanotify_mark (__NR_SYSCALL_BASE+368)
1318 #endif
1320 #if !defined(__NR_prlimit64)
1321 #define __NR_prlimit64 (__NR_SYSCALL_BASE+369)
1322 #endif
1324 #if !defined(__NR_name_to_handle_at)
1325 #define __NR_name_to_handle_at (__NR_SYSCALL_BASE+370)
1326 #endif
1328 #if !defined(__NR_open_by_handle_at)
1329 #define __NR_open_by_handle_at (__NR_SYSCALL_BASE+371)
1330 #endif
1332 #if !defined(__NR_clock_adjtime)
1333 #define __NR_clock_adjtime (__NR_SYSCALL_BASE+372)
1334 #endif
1336 #if !defined(__NR_syncfs)
1337 #define __NR_syncfs (__NR_SYSCALL_BASE+373)
1338 #endif
1340 #if !defined(__NR_sendmmsg)
1341 #define __NR_sendmmsg (__NR_SYSCALL_BASE+374)
1342 #endif
1344 #if !defined(__NR_setns)
1345 #define __NR_setns (__NR_SYSCALL_BASE+375)
1346 #endif
1348 #if !defined(__NR_process_vm_readv)
1349 #define __NR_process_vm_readv (__NR_SYSCALL_BASE+376)
1350 #endif
1352 #if !defined(__NR_process_vm_writev)
1353 #define __NR_process_vm_writev (__NR_SYSCALL_BASE+377)
1354 #endif
1356 #if !defined(__NR_kcmp)
1357 #define __NR_kcmp (__NR_SYSCALL_BASE+378)
1358 #endif
1360 #if !defined(__NR_finit_module)
1361 #define __NR_finit_module (__NR_SYSCALL_BASE+379)
1362 #endif
1364 #if !defined(__NR_sched_setattr)
1365 #define __NR_sched_setattr (__NR_SYSCALL_BASE+380)
1366 #endif
1368 #if !defined(__NR_sched_getattr)
1369 #define __NR_sched_getattr (__NR_SYSCALL_BASE+381)
1370 #endif
1372 #if !defined(__NR_renameat2)
1373 #define __NR_renameat2 (__NR_SYSCALL_BASE+382)
1374 #endif
1376 #if !defined(__NR_seccomp)
1377 #define __NR_seccomp (__NR_SYSCALL_BASE+383)
1378 #endif
1380 #if !defined(__NR_getrandom)
1381 #define __NR_getrandom (__NR_SYSCALL_BASE+384)
1382 #endif
1384 #if !defined(__NR_memfd_create)
1385 #define __NR_memfd_create (__NR_SYSCALL_BASE+385)
1386 #endif
1388 // ARM private syscalls.
1389 #if !defined(__ARM_NR_BASE)
1390 #define __ARM_NR_BASE (__NR_SYSCALL_BASE + 0xF0000)
1391 #endif
1393 #if !defined(__ARM_NR_breakpoint)
1394 #define __ARM_NR_breakpoint (__ARM_NR_BASE+1)
1395 #endif
1397 #if !defined(__ARM_NR_cacheflush)
1398 #define __ARM_NR_cacheflush (__ARM_NR_BASE+2)
1399 #endif
1401 #if !defined(__ARM_NR_usr26)
1402 #define __ARM_NR_usr26 (__ARM_NR_BASE+3)
1403 #endif
1405 #if !defined(__ARM_NR_usr32)
1406 #define __ARM_NR_usr32 (__ARM_NR_BASE+4)
1407 #endif
1409 #if !defined(__ARM_NR_set_tls)
1410 #define __ARM_NR_set_tls (__ARM_NR_BASE+5)
1411 #endif
1413 // ARM kernel private syscall.
1414 #if !defined(__ARM_NR_cmpxchg)
1415 #define __ARM_NR_cmpxchg (__ARM_NR_BASE+0x00fff0)
1416 #endif
1418 #endif // SANDBOX_LINUX_SYSTEM_HEADERS_ARM_LINUX_SYSCALLS_H_