Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(508)

Side by Side Diff: sandbox/linux/services/mips_linux_syscalls.h

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

Powered by Google App Engine
This is Rietveld 408576698