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