cxgbe/t4_tom: Read the chip's DDP page sizes and save them in a
[freebsd-src.git] / sys / i386 / linux / linux_systrace_args.c
blob0a0bf42dbd40e146c1aa4b6ec8469908bcf52ff3
1 /*
2 * System call argument to DTrace register array converstion.
4 * DO NOT EDIT-- this file is automatically generated.
5 * $FreeBSD$
6 * This file is part of the DTrace syscall provider.
7 */
9 static void
10 systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
12 int64_t *iarg = (int64_t *) uarg;
13 switch (sysnum) {
14 #define nosys linux_nosys
15 /* linux_exit */
16 case 1: {
17 struct linux_exit_args *p = params;
18 iarg[0] = p->rval; /* int */
19 *n_args = 1;
20 break;
22 /* linux_fork */
23 case 2: {
24 *n_args = 0;
25 break;
27 /* read */
28 case 3: {
29 struct read_args *p = params;
30 iarg[0] = p->fd; /* int */
31 uarg[1] = (intptr_t) p->buf; /* char * */
32 uarg[2] = p->nbyte; /* u_int */
33 *n_args = 3;
34 break;
36 /* write */
37 case 4: {
38 struct write_args *p = params;
39 iarg[0] = p->fd; /* int */
40 uarg[1] = (intptr_t) p->buf; /* char * */
41 uarg[2] = p->nbyte; /* u_int */
42 *n_args = 3;
43 break;
45 /* linux_open */
46 case 5: {
47 struct linux_open_args *p = params;
48 uarg[0] = (intptr_t) p->path; /* char * */
49 iarg[1] = p->flags; /* l_int */
50 iarg[2] = p->mode; /* l_int */
51 *n_args = 3;
52 break;
54 /* close */
55 case 6: {
56 struct close_args *p = params;
57 iarg[0] = p->fd; /* int */
58 *n_args = 1;
59 break;
61 /* linux_waitpid */
62 case 7: {
63 struct linux_waitpid_args *p = params;
64 iarg[0] = p->pid; /* l_pid_t */
65 uarg[1] = (intptr_t) p->status; /* l_int * */
66 iarg[2] = p->options; /* l_int */
67 *n_args = 3;
68 break;
70 /* linux_creat */
71 case 8: {
72 struct linux_creat_args *p = params;
73 uarg[0] = (intptr_t) p->path; /* char * */
74 iarg[1] = p->mode; /* l_int */
75 *n_args = 2;
76 break;
78 /* linux_link */
79 case 9: {
80 struct linux_link_args *p = params;
81 uarg[0] = (intptr_t) p->path; /* char * */
82 uarg[1] = (intptr_t) p->to; /* char * */
83 *n_args = 2;
84 break;
86 /* linux_unlink */
87 case 10: {
88 struct linux_unlink_args *p = params;
89 uarg[0] = (intptr_t) p->path; /* char * */
90 *n_args = 1;
91 break;
93 /* linux_execve */
94 case 11: {
95 struct linux_execve_args *p = params;
96 uarg[0] = (intptr_t) p->path; /* char * */
97 uarg[1] = (intptr_t) p->argp; /* char ** */
98 uarg[2] = (intptr_t) p->envp; /* char ** */
99 *n_args = 3;
100 break;
102 /* linux_chdir */
103 case 12: {
104 struct linux_chdir_args *p = params;
105 uarg[0] = (intptr_t) p->path; /* char * */
106 *n_args = 1;
107 break;
109 /* linux_time */
110 case 13: {
111 struct linux_time_args *p = params;
112 uarg[0] = (intptr_t) p->tm; /* l_time_t * */
113 *n_args = 1;
114 break;
116 /* linux_mknod */
117 case 14: {
118 struct linux_mknod_args *p = params;
119 uarg[0] = (intptr_t) p->path; /* char * */
120 iarg[1] = p->mode; /* l_int */
121 iarg[2] = p->dev; /* l_dev_t */
122 *n_args = 3;
123 break;
125 /* linux_chmod */
126 case 15: {
127 struct linux_chmod_args *p = params;
128 uarg[0] = (intptr_t) p->path; /* char * */
129 iarg[1] = p->mode; /* l_mode_t */
130 *n_args = 2;
131 break;
133 /* linux_lchown16 */
134 case 16: {
135 struct linux_lchown16_args *p = params;
136 uarg[0] = (intptr_t) p->path; /* char * */
137 iarg[1] = p->uid; /* l_uid16_t */
138 iarg[2] = p->gid; /* l_gid16_t */
139 *n_args = 3;
140 break;
142 /* linux_stat */
143 case 18: {
144 struct linux_stat_args *p = params;
145 uarg[0] = (intptr_t) p->path; /* char * */
146 uarg[1] = (intptr_t) p->up; /* struct linux_stat * */
147 *n_args = 2;
148 break;
150 /* linux_lseek */
151 case 19: {
152 struct linux_lseek_args *p = params;
153 iarg[0] = p->fdes; /* l_uint */
154 iarg[1] = p->off; /* l_off_t */
155 iarg[2] = p->whence; /* l_int */
156 *n_args = 3;
157 break;
159 /* linux_getpid */
160 case 20: {
161 *n_args = 0;
162 break;
164 /* linux_mount */
165 case 21: {
166 struct linux_mount_args *p = params;
167 uarg[0] = (intptr_t) p->specialfile; /* char * */
168 uarg[1] = (intptr_t) p->dir; /* char * */
169 uarg[2] = (intptr_t) p->filesystemtype; /* char * */
170 iarg[3] = p->rwflag; /* l_ulong */
171 uarg[4] = (intptr_t) p->data; /* void * */
172 *n_args = 5;
173 break;
175 /* linux_oldumount */
176 case 22: {
177 struct linux_oldumount_args *p = params;
178 uarg[0] = (intptr_t) p->path; /* char * */
179 *n_args = 1;
180 break;
182 /* linux_setuid16 */
183 case 23: {
184 struct linux_setuid16_args *p = params;
185 iarg[0] = p->uid; /* l_uid16_t */
186 *n_args = 1;
187 break;
189 /* linux_getuid16 */
190 case 24: {
191 *n_args = 0;
192 break;
194 /* linux_stime */
195 case 25: {
196 *n_args = 0;
197 break;
199 /* linux_ptrace */
200 case 26: {
201 struct linux_ptrace_args *p = params;
202 iarg[0] = p->req; /* l_long */
203 iarg[1] = p->pid; /* l_long */
204 iarg[2] = p->addr; /* l_long */
205 iarg[3] = p->data; /* l_long */
206 *n_args = 4;
207 break;
209 /* linux_alarm */
210 case 27: {
211 struct linux_alarm_args *p = params;
212 iarg[0] = p->secs; /* l_uint */
213 *n_args = 1;
214 break;
216 /* linux_fstat */
217 case 28: {
218 struct linux_fstat_args *p = params;
219 iarg[0] = p->fd; /* l_uint */
220 uarg[1] = (intptr_t) p->up; /* struct linux_stat * */
221 *n_args = 2;
222 break;
224 /* linux_pause */
225 case 29: {
226 *n_args = 0;
227 break;
229 /* linux_utime */
230 case 30: {
231 struct linux_utime_args *p = params;
232 uarg[0] = (intptr_t) p->fname; /* char * */
233 uarg[1] = (intptr_t) p->times; /* struct l_utimbuf * */
234 *n_args = 2;
235 break;
237 /* linux_access */
238 case 33: {
239 struct linux_access_args *p = params;
240 uarg[0] = (intptr_t) p->path; /* char * */
241 iarg[1] = p->amode; /* l_int */
242 *n_args = 2;
243 break;
245 /* linux_nice */
246 case 34: {
247 struct linux_nice_args *p = params;
248 iarg[0] = p->inc; /* l_int */
249 *n_args = 1;
250 break;
252 /* sync */
253 case 36: {
254 *n_args = 0;
255 break;
257 /* linux_kill */
258 case 37: {
259 struct linux_kill_args *p = params;
260 iarg[0] = p->pid; /* l_int */
261 iarg[1] = p->signum; /* l_int */
262 *n_args = 2;
263 break;
265 /* linux_rename */
266 case 38: {
267 struct linux_rename_args *p = params;
268 uarg[0] = (intptr_t) p->from; /* char * */
269 uarg[1] = (intptr_t) p->to; /* char * */
270 *n_args = 2;
271 break;
273 /* linux_mkdir */
274 case 39: {
275 struct linux_mkdir_args *p = params;
276 uarg[0] = (intptr_t) p->path; /* char * */
277 iarg[1] = p->mode; /* l_int */
278 *n_args = 2;
279 break;
281 /* linux_rmdir */
282 case 40: {
283 struct linux_rmdir_args *p = params;
284 uarg[0] = (intptr_t) p->path; /* char * */
285 *n_args = 1;
286 break;
288 /* dup */
289 case 41: {
290 struct dup_args *p = params;
291 uarg[0] = p->fd; /* u_int */
292 *n_args = 1;
293 break;
295 /* linux_pipe */
296 case 42: {
297 struct linux_pipe_args *p = params;
298 uarg[0] = (intptr_t) p->pipefds; /* l_int * */
299 *n_args = 1;
300 break;
302 /* linux_times */
303 case 43: {
304 struct linux_times_args *p = params;
305 uarg[0] = (intptr_t) p->buf; /* struct l_times_argv * */
306 *n_args = 1;
307 break;
309 /* linux_brk */
310 case 45: {
311 struct linux_brk_args *p = params;
312 iarg[0] = p->dsend; /* l_ulong */
313 *n_args = 1;
314 break;
316 /* linux_setgid16 */
317 case 46: {
318 struct linux_setgid16_args *p = params;
319 iarg[0] = p->gid; /* l_gid16_t */
320 *n_args = 1;
321 break;
323 /* linux_getgid16 */
324 case 47: {
325 *n_args = 0;
326 break;
328 /* linux_signal */
329 case 48: {
330 struct linux_signal_args *p = params;
331 iarg[0] = p->sig; /* l_int */
332 uarg[1] = (intptr_t) p->handler; /* void * */
333 *n_args = 2;
334 break;
336 /* linux_geteuid16 */
337 case 49: {
338 *n_args = 0;
339 break;
341 /* linux_getegid16 */
342 case 50: {
343 *n_args = 0;
344 break;
346 /* acct */
347 case 51: {
348 struct acct_args *p = params;
349 uarg[0] = (intptr_t) p->path; /* char * */
350 *n_args = 1;
351 break;
353 /* linux_umount */
354 case 52: {
355 struct linux_umount_args *p = params;
356 uarg[0] = (intptr_t) p->path; /* char * */
357 iarg[1] = p->flags; /* l_int */
358 *n_args = 2;
359 break;
361 /* linux_ioctl */
362 case 54: {
363 struct linux_ioctl_args *p = params;
364 iarg[0] = p->fd; /* l_uint */
365 iarg[1] = p->cmd; /* l_uint */
366 iarg[2] = p->arg; /* l_ulong */
367 *n_args = 3;
368 break;
370 /* linux_fcntl */
371 case 55: {
372 struct linux_fcntl_args *p = params;
373 iarg[0] = p->fd; /* l_uint */
374 iarg[1] = p->cmd; /* l_uint */
375 iarg[2] = p->arg; /* l_ulong */
376 *n_args = 3;
377 break;
379 /* setpgid */
380 case 57: {
381 struct setpgid_args *p = params;
382 iarg[0] = p->pid; /* int */
383 iarg[1] = p->pgid; /* int */
384 *n_args = 2;
385 break;
387 /* linux_olduname */
388 case 59: {
389 *n_args = 0;
390 break;
392 /* umask */
393 case 60: {
394 struct umask_args *p = params;
395 iarg[0] = p->newmask; /* int */
396 *n_args = 1;
397 break;
399 /* chroot */
400 case 61: {
401 struct chroot_args *p = params;
402 uarg[0] = (intptr_t) p->path; /* char * */
403 *n_args = 1;
404 break;
406 /* linux_ustat */
407 case 62: {
408 struct linux_ustat_args *p = params;
409 iarg[0] = p->dev; /* l_dev_t */
410 uarg[1] = (intptr_t) p->ubuf; /* struct l_ustat * */
411 *n_args = 2;
412 break;
414 /* dup2 */
415 case 63: {
416 struct dup2_args *p = params;
417 uarg[0] = p->from; /* u_int */
418 uarg[1] = p->to; /* u_int */
419 *n_args = 2;
420 break;
422 /* linux_getppid */
423 case 64: {
424 *n_args = 0;
425 break;
427 /* getpgrp */
428 case 65: {
429 *n_args = 0;
430 break;
432 /* setsid */
433 case 66: {
434 *n_args = 0;
435 break;
437 /* linux_sigaction */
438 case 67: {
439 struct linux_sigaction_args *p = params;
440 iarg[0] = p->sig; /* l_int */
441 uarg[1] = (intptr_t) p->nsa; /* l_osigaction_t * */
442 uarg[2] = (intptr_t) p->osa; /* l_osigaction_t * */
443 *n_args = 3;
444 break;
446 /* linux_sgetmask */
447 case 68: {
448 *n_args = 0;
449 break;
451 /* linux_ssetmask */
452 case 69: {
453 struct linux_ssetmask_args *p = params;
454 iarg[0] = p->mask; /* l_osigset_t */
455 *n_args = 1;
456 break;
458 /* linux_setreuid16 */
459 case 70: {
460 struct linux_setreuid16_args *p = params;
461 iarg[0] = p->ruid; /* l_uid16_t */
462 iarg[1] = p->euid; /* l_uid16_t */
463 *n_args = 2;
464 break;
466 /* linux_setregid16 */
467 case 71: {
468 struct linux_setregid16_args *p = params;
469 iarg[0] = p->rgid; /* l_gid16_t */
470 iarg[1] = p->egid; /* l_gid16_t */
471 *n_args = 2;
472 break;
474 /* linux_sigsuspend */
475 case 72: {
476 struct linux_sigsuspend_args *p = params;
477 iarg[0] = p->hist0; /* l_int */
478 iarg[1] = p->hist1; /* l_int */
479 iarg[2] = p->mask; /* l_osigset_t */
480 *n_args = 3;
481 break;
483 /* linux_sigpending */
484 case 73: {
485 struct linux_sigpending_args *p = params;
486 uarg[0] = (intptr_t) p->mask; /* l_osigset_t * */
487 *n_args = 1;
488 break;
490 /* linux_sethostname */
491 case 74: {
492 struct linux_sethostname_args *p = params;
493 uarg[0] = (intptr_t) p->hostname; /* char * */
494 uarg[1] = p->len; /* u_int */
495 *n_args = 2;
496 break;
498 /* linux_setrlimit */
499 case 75: {
500 struct linux_setrlimit_args *p = params;
501 iarg[0] = p->resource; /* l_uint */
502 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */
503 *n_args = 2;
504 break;
506 /* linux_old_getrlimit */
507 case 76: {
508 struct linux_old_getrlimit_args *p = params;
509 iarg[0] = p->resource; /* l_uint */
510 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */
511 *n_args = 2;
512 break;
514 /* getrusage */
515 case 77: {
516 struct getrusage_args *p = params;
517 iarg[0] = p->who; /* int */
518 uarg[1] = (intptr_t) p->rusage; /* struct rusage * */
519 *n_args = 2;
520 break;
522 /* gettimeofday */
523 case 78: {
524 struct gettimeofday_args *p = params;
525 uarg[0] = (intptr_t) p->tp; /* struct timeval * */
526 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
527 *n_args = 2;
528 break;
530 /* settimeofday */
531 case 79: {
532 struct settimeofday_args *p = params;
533 uarg[0] = (intptr_t) p->tv; /* struct timeval * */
534 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
535 *n_args = 2;
536 break;
538 /* linux_getgroups16 */
539 case 80: {
540 struct linux_getgroups16_args *p = params;
541 iarg[0] = p->gidsetsize; /* l_uint */
542 uarg[1] = (intptr_t) p->gidset; /* l_gid16_t * */
543 *n_args = 2;
544 break;
546 /* linux_setgroups16 */
547 case 81: {
548 struct linux_setgroups16_args *p = params;
549 iarg[0] = p->gidsetsize; /* l_uint */
550 uarg[1] = (intptr_t) p->gidset; /* l_gid16_t * */
551 *n_args = 2;
552 break;
554 /* linux_old_select */
555 case 82: {
556 struct linux_old_select_args *p = params;
557 uarg[0] = (intptr_t) p->ptr; /* struct l_old_select_argv * */
558 *n_args = 1;
559 break;
561 /* linux_symlink */
562 case 83: {
563 struct linux_symlink_args *p = params;
564 uarg[0] = (intptr_t) p->path; /* char * */
565 uarg[1] = (intptr_t) p->to; /* char * */
566 *n_args = 2;
567 break;
569 /* linux_lstat */
570 case 84: {
571 struct linux_lstat_args *p = params;
572 uarg[0] = (intptr_t) p->path; /* char * */
573 uarg[1] = (intptr_t) p->up; /* struct l_stat * */
574 *n_args = 2;
575 break;
577 /* linux_readlink */
578 case 85: {
579 struct linux_readlink_args *p = params;
580 uarg[0] = (intptr_t) p->name; /* char * */
581 uarg[1] = (intptr_t) p->buf; /* char * */
582 iarg[2] = p->count; /* l_int */
583 *n_args = 3;
584 break;
586 /* linux_uselib */
587 case 86: {
588 struct linux_uselib_args *p = params;
589 uarg[0] = (intptr_t) p->library; /* char * */
590 *n_args = 1;
591 break;
593 /* swapon */
594 case 87: {
595 struct swapon_args *p = params;
596 uarg[0] = (intptr_t) p->name; /* char * */
597 *n_args = 1;
598 break;
600 /* linux_reboot */
601 case 88: {
602 struct linux_reboot_args *p = params;
603 iarg[0] = p->magic1; /* l_int */
604 iarg[1] = p->magic2; /* l_int */
605 iarg[2] = p->cmd; /* l_uint */
606 uarg[3] = (intptr_t) p->arg; /* void * */
607 *n_args = 4;
608 break;
610 /* linux_readdir */
611 case 89: {
612 struct linux_readdir_args *p = params;
613 iarg[0] = p->fd; /* l_uint */
614 uarg[1] = (intptr_t) p->dent; /* struct l_dirent * */
615 iarg[2] = p->count; /* l_uint */
616 *n_args = 3;
617 break;
619 /* linux_mmap */
620 case 90: {
621 struct linux_mmap_args *p = params;
622 uarg[0] = (intptr_t) p->ptr; /* struct l_mmap_argv * */
623 *n_args = 1;
624 break;
626 /* munmap */
627 case 91: {
628 struct munmap_args *p = params;
629 uarg[0] = (intptr_t) p->addr; /* caddr_t */
630 iarg[1] = p->len; /* int */
631 *n_args = 2;
632 break;
634 /* linux_truncate */
635 case 92: {
636 struct linux_truncate_args *p = params;
637 uarg[0] = (intptr_t) p->path; /* char * */
638 iarg[1] = p->length; /* l_ulong */
639 *n_args = 2;
640 break;
642 /* linux_ftruncate */
643 case 93: {
644 struct linux_ftruncate_args *p = params;
645 iarg[0] = p->fd; /* int */
646 iarg[1] = p->length; /* long */
647 *n_args = 2;
648 break;
650 /* fchmod */
651 case 94: {
652 struct fchmod_args *p = params;
653 iarg[0] = p->fd; /* int */
654 iarg[1] = p->mode; /* int */
655 *n_args = 2;
656 break;
658 /* fchown */
659 case 95: {
660 struct fchown_args *p = params;
661 iarg[0] = p->fd; /* int */
662 iarg[1] = p->uid; /* int */
663 iarg[2] = p->gid; /* int */
664 *n_args = 3;
665 break;
667 /* linux_getpriority */
668 case 96: {
669 struct linux_getpriority_args *p = params;
670 iarg[0] = p->which; /* int */
671 iarg[1] = p->who; /* int */
672 *n_args = 2;
673 break;
675 /* setpriority */
676 case 97: {
677 struct setpriority_args *p = params;
678 iarg[0] = p->which; /* int */
679 iarg[1] = p->who; /* int */
680 iarg[2] = p->prio; /* int */
681 *n_args = 3;
682 break;
684 /* linux_statfs */
685 case 99: {
686 struct linux_statfs_args *p = params;
687 uarg[0] = (intptr_t) p->path; /* char * */
688 uarg[1] = (intptr_t) p->buf; /* struct l_statfs_buf * */
689 *n_args = 2;
690 break;
692 /* linux_fstatfs */
693 case 100: {
694 struct linux_fstatfs_args *p = params;
695 iarg[0] = p->fd; /* l_uint */
696 uarg[1] = (intptr_t) p->buf; /* struct l_statfs_buf * */
697 *n_args = 2;
698 break;
700 /* linux_ioperm */
701 case 101: {
702 struct linux_ioperm_args *p = params;
703 iarg[0] = p->start; /* l_ulong */
704 iarg[1] = p->length; /* l_ulong */
705 iarg[2] = p->enable; /* l_int */
706 *n_args = 3;
707 break;
709 /* linux_socketcall */
710 case 102: {
711 struct linux_socketcall_args *p = params;
712 iarg[0] = p->what; /* l_int */
713 iarg[1] = p->args; /* l_ulong */
714 *n_args = 2;
715 break;
717 /* linux_syslog */
718 case 103: {
719 struct linux_syslog_args *p = params;
720 iarg[0] = p->type; /* l_int */
721 uarg[1] = (intptr_t) p->buf; /* char * */
722 iarg[2] = p->len; /* l_int */
723 *n_args = 3;
724 break;
726 /* linux_setitimer */
727 case 104: {
728 struct linux_setitimer_args *p = params;
729 iarg[0] = p->which; /* l_int */
730 uarg[1] = (intptr_t) p->itv; /* struct l_itimerval * */
731 uarg[2] = (intptr_t) p->oitv; /* struct l_itimerval * */
732 *n_args = 3;
733 break;
735 /* linux_getitimer */
736 case 105: {
737 struct linux_getitimer_args *p = params;
738 iarg[0] = p->which; /* l_int */
739 uarg[1] = (intptr_t) p->itv; /* struct l_itimerval * */
740 *n_args = 2;
741 break;
743 /* linux_newstat */
744 case 106: {
745 struct linux_newstat_args *p = params;
746 uarg[0] = (intptr_t) p->path; /* char * */
747 uarg[1] = (intptr_t) p->buf; /* struct l_newstat * */
748 *n_args = 2;
749 break;
751 /* linux_newlstat */
752 case 107: {
753 struct linux_newlstat_args *p = params;
754 uarg[0] = (intptr_t) p->path; /* char * */
755 uarg[1] = (intptr_t) p->buf; /* struct l_newstat * */
756 *n_args = 2;
757 break;
759 /* linux_newfstat */
760 case 108: {
761 struct linux_newfstat_args *p = params;
762 iarg[0] = p->fd; /* l_uint */
763 uarg[1] = (intptr_t) p->buf; /* struct l_newstat * */
764 *n_args = 2;
765 break;
767 /* linux_uname */
768 case 109: {
769 *n_args = 0;
770 break;
772 /* linux_iopl */
773 case 110: {
774 struct linux_iopl_args *p = params;
775 iarg[0] = p->level; /* l_int */
776 *n_args = 1;
777 break;
779 /* linux_vhangup */
780 case 111: {
781 *n_args = 0;
782 break;
784 /* linux_vm86old */
785 case 113: {
786 *n_args = 0;
787 break;
789 /* linux_wait4 */
790 case 114: {
791 struct linux_wait4_args *p = params;
792 iarg[0] = p->pid; /* l_pid_t */
793 uarg[1] = (intptr_t) p->status; /* l_int * */
794 iarg[2] = p->options; /* l_int */
795 uarg[3] = (intptr_t) p->rusage; /* void * */
796 *n_args = 4;
797 break;
799 /* linux_swapoff */
800 case 115: {
801 *n_args = 0;
802 break;
804 /* linux_sysinfo */
805 case 116: {
806 struct linux_sysinfo_args *p = params;
807 uarg[0] = (intptr_t) p->info; /* struct l_sysinfo * */
808 *n_args = 1;
809 break;
811 /* linux_ipc */
812 case 117: {
813 struct linux_ipc_args *p = params;
814 iarg[0] = p->what; /* l_uint */
815 iarg[1] = p->arg1; /* l_int */
816 iarg[2] = p->arg2; /* l_int */
817 iarg[3] = p->arg3; /* l_int */
818 uarg[4] = (intptr_t) p->ptr; /* void * */
819 iarg[5] = p->arg5; /* l_long */
820 *n_args = 6;
821 break;
823 /* fsync */
824 case 118: {
825 struct fsync_args *p = params;
826 iarg[0] = p->fd; /* int */
827 *n_args = 1;
828 break;
830 /* linux_sigreturn */
831 case 119: {
832 struct linux_sigreturn_args *p = params;
833 uarg[0] = (intptr_t) p->sfp; /* struct l_sigframe * */
834 *n_args = 1;
835 break;
837 /* linux_clone */
838 case 120: {
839 struct linux_clone_args *p = params;
840 iarg[0] = p->flags; /* l_int */
841 uarg[1] = (intptr_t) p->stack; /* void * */
842 uarg[2] = (intptr_t) p->parent_tidptr; /* void * */
843 uarg[3] = (intptr_t) p->tls; /* void * */
844 uarg[4] = (intptr_t) p->child_tidptr; /* void * */
845 *n_args = 5;
846 break;
848 /* linux_setdomainname */
849 case 121: {
850 struct linux_setdomainname_args *p = params;
851 uarg[0] = (intptr_t) p->name; /* char * */
852 iarg[1] = p->len; /* int */
853 *n_args = 2;
854 break;
856 /* linux_newuname */
857 case 122: {
858 struct linux_newuname_args *p = params;
859 uarg[0] = (intptr_t) p->buf; /* struct l_new_utsname * */
860 *n_args = 1;
861 break;
863 /* linux_modify_ldt */
864 case 123: {
865 struct linux_modify_ldt_args *p = params;
866 iarg[0] = p->func; /* l_int */
867 uarg[1] = (intptr_t) p->ptr; /* void * */
868 iarg[2] = p->bytecount; /* l_ulong */
869 *n_args = 3;
870 break;
872 /* linux_adjtimex */
873 case 124: {
874 *n_args = 0;
875 break;
877 /* linux_mprotect */
878 case 125: {
879 struct linux_mprotect_args *p = params;
880 uarg[0] = (intptr_t) p->addr; /* caddr_t */
881 iarg[1] = p->len; /* int */
882 iarg[2] = p->prot; /* int */
883 *n_args = 3;
884 break;
886 /* linux_sigprocmask */
887 case 126: {
888 struct linux_sigprocmask_args *p = params;
889 iarg[0] = p->how; /* l_int */
890 uarg[1] = (intptr_t) p->mask; /* l_osigset_t * */
891 uarg[2] = (intptr_t) p->omask; /* l_osigset_t * */
892 *n_args = 3;
893 break;
895 /* linux_create_module */
896 case 127: {
897 *n_args = 0;
898 break;
900 /* linux_init_module */
901 case 128: {
902 *n_args = 0;
903 break;
905 /* linux_delete_module */
906 case 129: {
907 *n_args = 0;
908 break;
910 /* linux_get_kernel_syms */
911 case 130: {
912 *n_args = 0;
913 break;
915 /* linux_quotactl */
916 case 131: {
917 *n_args = 0;
918 break;
920 /* getpgid */
921 case 132: {
922 struct getpgid_args *p = params;
923 iarg[0] = p->pid; /* int */
924 *n_args = 1;
925 break;
927 /* fchdir */
928 case 133: {
929 struct fchdir_args *p = params;
930 iarg[0] = p->fd; /* int */
931 *n_args = 1;
932 break;
934 /* linux_bdflush */
935 case 134: {
936 *n_args = 0;
937 break;
939 /* linux_sysfs */
940 case 135: {
941 struct linux_sysfs_args *p = params;
942 iarg[0] = p->option; /* l_int */
943 iarg[1] = p->arg1; /* l_ulong */
944 iarg[2] = p->arg2; /* l_ulong */
945 *n_args = 3;
946 break;
948 /* linux_personality */
949 case 136: {
950 struct linux_personality_args *p = params;
951 iarg[0] = p->per; /* l_uint */
952 *n_args = 1;
953 break;
955 /* linux_setfsuid16 */
956 case 138: {
957 struct linux_setfsuid16_args *p = params;
958 iarg[0] = p->uid; /* l_uid16_t */
959 *n_args = 1;
960 break;
962 /* linux_setfsgid16 */
963 case 139: {
964 struct linux_setfsgid16_args *p = params;
965 iarg[0] = p->gid; /* l_gid16_t */
966 *n_args = 1;
967 break;
969 /* linux_llseek */
970 case 140: {
971 struct linux_llseek_args *p = params;
972 iarg[0] = p->fd; /* l_int */
973 iarg[1] = p->ohigh; /* l_ulong */
974 iarg[2] = p->olow; /* l_ulong */
975 uarg[3] = (intptr_t) p->res; /* l_loff_t * */
976 iarg[4] = p->whence; /* l_uint */
977 *n_args = 5;
978 break;
980 /* linux_getdents */
981 case 141: {
982 struct linux_getdents_args *p = params;
983 iarg[0] = p->fd; /* l_uint */
984 uarg[1] = (intptr_t) p->dent; /* void * */
985 iarg[2] = p->count; /* l_uint */
986 *n_args = 3;
987 break;
989 /* linux_select */
990 case 142: {
991 struct linux_select_args *p = params;
992 iarg[0] = p->nfds; /* l_int */
993 uarg[1] = (intptr_t) p->readfds; /* l_fd_set * */
994 uarg[2] = (intptr_t) p->writefds; /* l_fd_set * */
995 uarg[3] = (intptr_t) p->exceptfds; /* l_fd_set * */
996 uarg[4] = (intptr_t) p->timeout; /* struct l_timeval * */
997 *n_args = 5;
998 break;
1000 /* flock */
1001 case 143: {
1002 struct flock_args *p = params;
1003 iarg[0] = p->fd; /* int */
1004 iarg[1] = p->how; /* int */
1005 *n_args = 2;
1006 break;
1008 /* linux_msync */
1009 case 144: {
1010 struct linux_msync_args *p = params;
1011 iarg[0] = p->addr; /* l_ulong */
1012 iarg[1] = p->len; /* l_size_t */
1013 iarg[2] = p->fl; /* l_int */
1014 *n_args = 3;
1015 break;
1017 /* readv */
1018 case 145: {
1019 struct readv_args *p = params;
1020 iarg[0] = p->fd; /* int */
1021 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
1022 uarg[2] = p->iovcnt; /* u_int */
1023 *n_args = 3;
1024 break;
1026 /* writev */
1027 case 146: {
1028 struct writev_args *p = params;
1029 iarg[0] = p->fd; /* int */
1030 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
1031 uarg[2] = p->iovcnt; /* u_int */
1032 *n_args = 3;
1033 break;
1035 /* linux_getsid */
1036 case 147: {
1037 struct linux_getsid_args *p = params;
1038 iarg[0] = p->pid; /* l_pid_t */
1039 *n_args = 1;
1040 break;
1042 /* linux_fdatasync */
1043 case 148: {
1044 struct linux_fdatasync_args *p = params;
1045 iarg[0] = p->fd; /* l_uint */
1046 *n_args = 1;
1047 break;
1049 /* linux_sysctl */
1050 case 149: {
1051 struct linux_sysctl_args *p = params;
1052 uarg[0] = (intptr_t) p->args; /* struct l___sysctl_args * */
1053 *n_args = 1;
1054 break;
1056 /* mlock */
1057 case 150: {
1058 struct mlock_args *p = params;
1059 uarg[0] = (intptr_t) p->addr; /* const void * */
1060 uarg[1] = p->len; /* size_t */
1061 *n_args = 2;
1062 break;
1064 /* munlock */
1065 case 151: {
1066 struct munlock_args *p = params;
1067 uarg[0] = (intptr_t) p->addr; /* const void * */
1068 uarg[1] = p->len; /* size_t */
1069 *n_args = 2;
1070 break;
1072 /* mlockall */
1073 case 152: {
1074 struct mlockall_args *p = params;
1075 iarg[0] = p->how; /* int */
1076 *n_args = 1;
1077 break;
1079 /* munlockall */
1080 case 153: {
1081 *n_args = 0;
1082 break;
1084 /* linux_sched_setparam */
1085 case 154: {
1086 struct linux_sched_setparam_args *p = params;
1087 iarg[0] = p->pid; /* l_pid_t */
1088 uarg[1] = (intptr_t) p->param; /* struct sched_param * */
1089 *n_args = 2;
1090 break;
1092 /* linux_sched_getparam */
1093 case 155: {
1094 struct linux_sched_getparam_args *p = params;
1095 iarg[0] = p->pid; /* l_pid_t */
1096 uarg[1] = (intptr_t) p->param; /* struct sched_param * */
1097 *n_args = 2;
1098 break;
1100 /* linux_sched_setscheduler */
1101 case 156: {
1102 struct linux_sched_setscheduler_args *p = params;
1103 iarg[0] = p->pid; /* l_pid_t */
1104 iarg[1] = p->policy; /* l_int */
1105 uarg[2] = (intptr_t) p->param; /* struct sched_param * */
1106 *n_args = 3;
1107 break;
1109 /* linux_sched_getscheduler */
1110 case 157: {
1111 struct linux_sched_getscheduler_args *p = params;
1112 iarg[0] = p->pid; /* l_pid_t */
1113 *n_args = 1;
1114 break;
1116 /* sched_yield */
1117 case 158: {
1118 *n_args = 0;
1119 break;
1121 /* linux_sched_get_priority_max */
1122 case 159: {
1123 struct linux_sched_get_priority_max_args *p = params;
1124 iarg[0] = p->policy; /* l_int */
1125 *n_args = 1;
1126 break;
1128 /* linux_sched_get_priority_min */
1129 case 160: {
1130 struct linux_sched_get_priority_min_args *p = params;
1131 iarg[0] = p->policy; /* l_int */
1132 *n_args = 1;
1133 break;
1135 /* linux_sched_rr_get_interval */
1136 case 161: {
1137 struct linux_sched_rr_get_interval_args *p = params;
1138 iarg[0] = p->pid; /* l_pid_t */
1139 uarg[1] = (intptr_t) p->interval; /* struct l_timespec * */
1140 *n_args = 2;
1141 break;
1143 /* linux_nanosleep */
1144 case 162: {
1145 struct linux_nanosleep_args *p = params;
1146 uarg[0] = (intptr_t) p->rqtp; /* const struct l_timespec * */
1147 uarg[1] = (intptr_t) p->rmtp; /* struct l_timespec * */
1148 *n_args = 2;
1149 break;
1151 /* linux_mremap */
1152 case 163: {
1153 struct linux_mremap_args *p = params;
1154 iarg[0] = p->addr; /* l_ulong */
1155 iarg[1] = p->old_len; /* l_ulong */
1156 iarg[2] = p->new_len; /* l_ulong */
1157 iarg[3] = p->flags; /* l_ulong */
1158 iarg[4] = p->new_addr; /* l_ulong */
1159 *n_args = 5;
1160 break;
1162 /* linux_setresuid16 */
1163 case 164: {
1164 struct linux_setresuid16_args *p = params;
1165 iarg[0] = p->ruid; /* l_uid16_t */
1166 iarg[1] = p->euid; /* l_uid16_t */
1167 iarg[2] = p->suid; /* l_uid16_t */
1168 *n_args = 3;
1169 break;
1171 /* linux_getresuid16 */
1172 case 165: {
1173 struct linux_getresuid16_args *p = params;
1174 uarg[0] = (intptr_t) p->ruid; /* l_uid16_t * */
1175 uarg[1] = (intptr_t) p->euid; /* l_uid16_t * */
1176 uarg[2] = (intptr_t) p->suid; /* l_uid16_t * */
1177 *n_args = 3;
1178 break;
1180 /* linux_vm86 */
1181 case 166: {
1182 *n_args = 0;
1183 break;
1185 /* linux_query_module */
1186 case 167: {
1187 *n_args = 0;
1188 break;
1190 /* poll */
1191 case 168: {
1192 struct poll_args *p = params;
1193 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
1194 uarg[1] = p->nfds; /* unsigned int */
1195 iarg[2] = p->timeout; /* long */
1196 *n_args = 3;
1197 break;
1199 /* linux_nfsservctl */
1200 case 169: {
1201 *n_args = 0;
1202 break;
1204 /* linux_setresgid16 */
1205 case 170: {
1206 struct linux_setresgid16_args *p = params;
1207 iarg[0] = p->rgid; /* l_gid16_t */
1208 iarg[1] = p->egid; /* l_gid16_t */
1209 iarg[2] = p->sgid; /* l_gid16_t */
1210 *n_args = 3;
1211 break;
1213 /* linux_getresgid16 */
1214 case 171: {
1215 struct linux_getresgid16_args *p = params;
1216 uarg[0] = (intptr_t) p->rgid; /* l_gid16_t * */
1217 uarg[1] = (intptr_t) p->egid; /* l_gid16_t * */
1218 uarg[2] = (intptr_t) p->sgid; /* l_gid16_t * */
1219 *n_args = 3;
1220 break;
1222 /* linux_prctl */
1223 case 172: {
1224 struct linux_prctl_args *p = params;
1225 iarg[0] = p->option; /* l_int */
1226 iarg[1] = p->arg2; /* l_int */
1227 iarg[2] = p->arg3; /* l_int */
1228 iarg[3] = p->arg4; /* l_int */
1229 iarg[4] = p->arg5; /* l_int */
1230 *n_args = 5;
1231 break;
1233 /* linux_rt_sigreturn */
1234 case 173: {
1235 struct linux_rt_sigreturn_args *p = params;
1236 uarg[0] = (intptr_t) p->ucp; /* struct l_ucontext * */
1237 *n_args = 1;
1238 break;
1240 /* linux_rt_sigaction */
1241 case 174: {
1242 struct linux_rt_sigaction_args *p = params;
1243 iarg[0] = p->sig; /* l_int */
1244 uarg[1] = (intptr_t) p->act; /* l_sigaction_t * */
1245 uarg[2] = (intptr_t) p->oact; /* l_sigaction_t * */
1246 iarg[3] = p->sigsetsize; /* l_size_t */
1247 *n_args = 4;
1248 break;
1250 /* linux_rt_sigprocmask */
1251 case 175: {
1252 struct linux_rt_sigprocmask_args *p = params;
1253 iarg[0] = p->how; /* l_int */
1254 uarg[1] = (intptr_t) p->mask; /* l_sigset_t * */
1255 uarg[2] = (intptr_t) p->omask; /* l_sigset_t * */
1256 iarg[3] = p->sigsetsize; /* l_size_t */
1257 *n_args = 4;
1258 break;
1260 /* linux_rt_sigpending */
1261 case 176: {
1262 struct linux_rt_sigpending_args *p = params;
1263 uarg[0] = (intptr_t) p->set; /* l_sigset_t * */
1264 iarg[1] = p->sigsetsize; /* l_size_t */
1265 *n_args = 2;
1266 break;
1268 /* linux_rt_sigtimedwait */
1269 case 177: {
1270 struct linux_rt_sigtimedwait_args *p = params;
1271 uarg[0] = (intptr_t) p->mask; /* l_sigset_t * */
1272 uarg[1] = (intptr_t) p->ptr; /* l_siginfo_t * */
1273 uarg[2] = (intptr_t) p->timeout; /* struct l_timeval * */
1274 iarg[3] = p->sigsetsize; /* l_size_t */
1275 *n_args = 4;
1276 break;
1278 /* linux_rt_sigqueueinfo */
1279 case 178: {
1280 struct linux_rt_sigqueueinfo_args *p = params;
1281 iarg[0] = p->pid; /* l_pid_t */
1282 iarg[1] = p->sig; /* l_int */
1283 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */
1284 *n_args = 3;
1285 break;
1287 /* linux_rt_sigsuspend */
1288 case 179: {
1289 struct linux_rt_sigsuspend_args *p = params;
1290 uarg[0] = (intptr_t) p->newset; /* l_sigset_t * */
1291 iarg[1] = p->sigsetsize; /* l_size_t */
1292 *n_args = 2;
1293 break;
1295 /* linux_pread */
1296 case 180: {
1297 struct linux_pread_args *p = params;
1298 iarg[0] = p->fd; /* l_uint */
1299 uarg[1] = (intptr_t) p->buf; /* char * */
1300 iarg[2] = p->nbyte; /* l_size_t */
1301 iarg[3] = p->offset; /* l_loff_t */
1302 *n_args = 4;
1303 break;
1305 /* linux_pwrite */
1306 case 181: {
1307 struct linux_pwrite_args *p = params;
1308 iarg[0] = p->fd; /* l_uint */
1309 uarg[1] = (intptr_t) p->buf; /* char * */
1310 iarg[2] = p->nbyte; /* l_size_t */
1311 iarg[3] = p->offset; /* l_loff_t */
1312 *n_args = 4;
1313 break;
1315 /* linux_chown16 */
1316 case 182: {
1317 struct linux_chown16_args *p = params;
1318 uarg[0] = (intptr_t) p->path; /* char * */
1319 iarg[1] = p->uid; /* l_uid16_t */
1320 iarg[2] = p->gid; /* l_gid16_t */
1321 *n_args = 3;
1322 break;
1324 /* linux_getcwd */
1325 case 183: {
1326 struct linux_getcwd_args *p = params;
1327 uarg[0] = (intptr_t) p->buf; /* char * */
1328 iarg[1] = p->bufsize; /* l_ulong */
1329 *n_args = 2;
1330 break;
1332 /* linux_capget */
1333 case 184: {
1334 struct linux_capget_args *p = params;
1335 uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */
1336 uarg[1] = (intptr_t) p->datap; /* struct l_user_cap_data * */
1337 *n_args = 2;
1338 break;
1340 /* linux_capset */
1341 case 185: {
1342 struct linux_capset_args *p = params;
1343 uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */
1344 uarg[1] = (intptr_t) p->datap; /* struct l_user_cap_data * */
1345 *n_args = 2;
1346 break;
1348 /* linux_sigaltstack */
1349 case 186: {
1350 struct linux_sigaltstack_args *p = params;
1351 uarg[0] = (intptr_t) p->uss; /* l_stack_t * */
1352 uarg[1] = (intptr_t) p->uoss; /* l_stack_t * */
1353 *n_args = 2;
1354 break;
1356 /* linux_sendfile */
1357 case 187: {
1358 *n_args = 0;
1359 break;
1361 /* linux_vfork */
1362 case 190: {
1363 *n_args = 0;
1364 break;
1366 /* linux_getrlimit */
1367 case 191: {
1368 struct linux_getrlimit_args *p = params;
1369 iarg[0] = p->resource; /* l_uint */
1370 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */
1371 *n_args = 2;
1372 break;
1374 /* linux_mmap2 */
1375 case 192: {
1376 struct linux_mmap2_args *p = params;
1377 iarg[0] = p->addr; /* l_ulong */
1378 iarg[1] = p->len; /* l_ulong */
1379 iarg[2] = p->prot; /* l_ulong */
1380 iarg[3] = p->flags; /* l_ulong */
1381 iarg[4] = p->fd; /* l_ulong */
1382 iarg[5] = p->pgoff; /* l_ulong */
1383 *n_args = 6;
1384 break;
1386 /* linux_truncate64 */
1387 case 193: {
1388 struct linux_truncate64_args *p = params;
1389 uarg[0] = (intptr_t) p->path; /* char * */
1390 iarg[1] = p->length; /* l_loff_t */
1391 *n_args = 2;
1392 break;
1394 /* linux_ftruncate64 */
1395 case 194: {
1396 struct linux_ftruncate64_args *p = params;
1397 iarg[0] = p->fd; /* l_uint */
1398 iarg[1] = p->length; /* l_loff_t */
1399 *n_args = 2;
1400 break;
1402 /* linux_stat64 */
1403 case 195: {
1404 struct linux_stat64_args *p = params;
1405 uarg[0] = (intptr_t) p->filename; /* const char * */
1406 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */
1407 *n_args = 2;
1408 break;
1410 /* linux_lstat64 */
1411 case 196: {
1412 struct linux_lstat64_args *p = params;
1413 uarg[0] = (intptr_t) p->filename; /* const char * */
1414 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */
1415 *n_args = 2;
1416 break;
1418 /* linux_fstat64 */
1419 case 197: {
1420 struct linux_fstat64_args *p = params;
1421 iarg[0] = p->fd; /* l_int */
1422 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */
1423 *n_args = 2;
1424 break;
1426 /* linux_lchown */
1427 case 198: {
1428 struct linux_lchown_args *p = params;
1429 uarg[0] = (intptr_t) p->path; /* char * */
1430 iarg[1] = p->uid; /* l_uid_t */
1431 iarg[2] = p->gid; /* l_gid_t */
1432 *n_args = 3;
1433 break;
1435 /* linux_getuid */
1436 case 199: {
1437 *n_args = 0;
1438 break;
1440 /* linux_getgid */
1441 case 200: {
1442 *n_args = 0;
1443 break;
1445 /* geteuid */
1446 case 201: {
1447 *n_args = 0;
1448 break;
1450 /* getegid */
1451 case 202: {
1452 *n_args = 0;
1453 break;
1455 /* setreuid */
1456 case 203: {
1457 struct setreuid_args *p = params;
1458 uarg[0] = p->ruid; /* uid_t */
1459 uarg[1] = p->euid; /* uid_t */
1460 *n_args = 2;
1461 break;
1463 /* setregid */
1464 case 204: {
1465 struct setregid_args *p = params;
1466 iarg[0] = p->rgid; /* gid_t */
1467 iarg[1] = p->egid; /* gid_t */
1468 *n_args = 2;
1469 break;
1471 /* linux_getgroups */
1472 case 205: {
1473 struct linux_getgroups_args *p = params;
1474 iarg[0] = p->gidsetsize; /* l_int */
1475 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */
1476 *n_args = 2;
1477 break;
1479 /* linux_setgroups */
1480 case 206: {
1481 struct linux_setgroups_args *p = params;
1482 iarg[0] = p->gidsetsize; /* l_int */
1483 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */
1484 *n_args = 2;
1485 break;
1487 /* fchown */
1488 case 207: {
1489 *n_args = 0;
1490 break;
1492 /* setresuid */
1493 case 208: {
1494 struct setresuid_args *p = params;
1495 uarg[0] = p->ruid; /* uid_t */
1496 uarg[1] = p->euid; /* uid_t */
1497 uarg[2] = p->suid; /* uid_t */
1498 *n_args = 3;
1499 break;
1501 /* getresuid */
1502 case 209: {
1503 struct getresuid_args *p = params;
1504 uarg[0] = (intptr_t) p->ruid; /* uid_t * */
1505 uarg[1] = (intptr_t) p->euid; /* uid_t * */
1506 uarg[2] = (intptr_t) p->suid; /* uid_t * */
1507 *n_args = 3;
1508 break;
1510 /* setresgid */
1511 case 210: {
1512 struct setresgid_args *p = params;
1513 iarg[0] = p->rgid; /* gid_t */
1514 iarg[1] = p->egid; /* gid_t */
1515 iarg[2] = p->sgid; /* gid_t */
1516 *n_args = 3;
1517 break;
1519 /* getresgid */
1520 case 211: {
1521 struct getresgid_args *p = params;
1522 uarg[0] = (intptr_t) p->rgid; /* gid_t * */
1523 uarg[1] = (intptr_t) p->egid; /* gid_t * */
1524 uarg[2] = (intptr_t) p->sgid; /* gid_t * */
1525 *n_args = 3;
1526 break;
1528 /* linux_chown */
1529 case 212: {
1530 struct linux_chown_args *p = params;
1531 uarg[0] = (intptr_t) p->path; /* char * */
1532 iarg[1] = p->uid; /* l_uid_t */
1533 iarg[2] = p->gid; /* l_gid_t */
1534 *n_args = 3;
1535 break;
1537 /* setuid */
1538 case 213: {
1539 struct setuid_args *p = params;
1540 uarg[0] = p->uid; /* uid_t */
1541 *n_args = 1;
1542 break;
1544 /* setgid */
1545 case 214: {
1546 struct setgid_args *p = params;
1547 iarg[0] = p->gid; /* gid_t */
1548 *n_args = 1;
1549 break;
1551 /* linux_setfsuid */
1552 case 215: {
1553 struct linux_setfsuid_args *p = params;
1554 iarg[0] = p->uid; /* l_uid_t */
1555 *n_args = 1;
1556 break;
1558 /* linux_setfsgid */
1559 case 216: {
1560 struct linux_setfsgid_args *p = params;
1561 iarg[0] = p->gid; /* l_gid_t */
1562 *n_args = 1;
1563 break;
1565 /* linux_pivot_root */
1566 case 217: {
1567 struct linux_pivot_root_args *p = params;
1568 uarg[0] = (intptr_t) p->new_root; /* char * */
1569 uarg[1] = (intptr_t) p->put_old; /* char * */
1570 *n_args = 2;
1571 break;
1573 /* linux_mincore */
1574 case 218: {
1575 struct linux_mincore_args *p = params;
1576 iarg[0] = p->start; /* l_ulong */
1577 iarg[1] = p->len; /* l_size_t */
1578 uarg[2] = (intptr_t) p->vec; /* u_char * */
1579 *n_args = 3;
1580 break;
1582 /* madvise */
1583 case 219: {
1584 struct madvise_args *p = params;
1585 uarg[0] = (intptr_t) p->addr; /* void * */
1586 uarg[1] = p->len; /* size_t */
1587 iarg[2] = p->behav; /* int */
1588 *n_args = 3;
1589 break;
1591 /* linux_getdents64 */
1592 case 220: {
1593 struct linux_getdents64_args *p = params;
1594 iarg[0] = p->fd; /* l_uint */
1595 uarg[1] = (intptr_t) p->dirent; /* void * */
1596 iarg[2] = p->count; /* l_uint */
1597 *n_args = 3;
1598 break;
1600 /* linux_fcntl64 */
1601 case 221: {
1602 struct linux_fcntl64_args *p = params;
1603 iarg[0] = p->fd; /* l_uint */
1604 iarg[1] = p->cmd; /* l_uint */
1605 iarg[2] = p->arg; /* l_ulong */
1606 *n_args = 3;
1607 break;
1609 /* linux_gettid */
1610 case 224: {
1611 *n_args = 0;
1612 break;
1614 /* linux_setxattr */
1615 case 226: {
1616 *n_args = 0;
1617 break;
1619 /* linux_lsetxattr */
1620 case 227: {
1621 *n_args = 0;
1622 break;
1624 /* linux_fsetxattr */
1625 case 228: {
1626 *n_args = 0;
1627 break;
1629 /* linux_getxattr */
1630 case 229: {
1631 *n_args = 0;
1632 break;
1634 /* linux_lgetxattr */
1635 case 230: {
1636 *n_args = 0;
1637 break;
1639 /* linux_fgetxattr */
1640 case 231: {
1641 *n_args = 0;
1642 break;
1644 /* linux_listxattr */
1645 case 232: {
1646 *n_args = 0;
1647 break;
1649 /* linux_llistxattr */
1650 case 233: {
1651 *n_args = 0;
1652 break;
1654 /* linux_flistxattr */
1655 case 234: {
1656 *n_args = 0;
1657 break;
1659 /* linux_removexattr */
1660 case 235: {
1661 *n_args = 0;
1662 break;
1664 /* linux_lremovexattr */
1665 case 236: {
1666 *n_args = 0;
1667 break;
1669 /* linux_fremovexattr */
1670 case 237: {
1671 *n_args = 0;
1672 break;
1674 /* linux_tkill */
1675 case 238: {
1676 struct linux_tkill_args *p = params;
1677 iarg[0] = p->tid; /* int */
1678 iarg[1] = p->sig; /* int */
1679 *n_args = 2;
1680 break;
1682 /* linux_sys_futex */
1683 case 240: {
1684 struct linux_sys_futex_args *p = params;
1685 uarg[0] = (intptr_t) p->uaddr; /* void * */
1686 iarg[1] = p->op; /* int */
1687 uarg[2] = p->val; /* uint32_t */
1688 uarg[3] = (intptr_t) p->timeout; /* struct l_timespec * */
1689 uarg[4] = (intptr_t) p->uaddr2; /* uint32_t * */
1690 uarg[5] = p->val3; /* uint32_t */
1691 *n_args = 6;
1692 break;
1694 /* linux_sched_setaffinity */
1695 case 241: {
1696 struct linux_sched_setaffinity_args *p = params;
1697 iarg[0] = p->pid; /* l_pid_t */
1698 iarg[1] = p->len; /* l_uint */
1699 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */
1700 *n_args = 3;
1701 break;
1703 /* linux_sched_getaffinity */
1704 case 242: {
1705 struct linux_sched_getaffinity_args *p = params;
1706 iarg[0] = p->pid; /* l_pid_t */
1707 iarg[1] = p->len; /* l_uint */
1708 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */
1709 *n_args = 3;
1710 break;
1712 /* linux_set_thread_area */
1713 case 243: {
1714 struct linux_set_thread_area_args *p = params;
1715 uarg[0] = (intptr_t) p->desc; /* struct l_user_desc * */
1716 *n_args = 1;
1717 break;
1719 /* linux_get_thread_area */
1720 case 244: {
1721 struct linux_get_thread_area_args *p = params;
1722 uarg[0] = (intptr_t) p->desc; /* struct l_user_desc * */
1723 *n_args = 1;
1724 break;
1726 /* linux_fadvise64 */
1727 case 250: {
1728 struct linux_fadvise64_args *p = params;
1729 iarg[0] = p->fd; /* int */
1730 iarg[1] = p->offset; /* l_loff_t */
1731 iarg[2] = p->len; /* l_size_t */
1732 iarg[3] = p->advice; /* int */
1733 *n_args = 4;
1734 break;
1736 /* linux_exit_group */
1737 case 252: {
1738 struct linux_exit_group_args *p = params;
1739 iarg[0] = p->error_code; /* int */
1740 *n_args = 1;
1741 break;
1743 /* linux_lookup_dcookie */
1744 case 253: {
1745 *n_args = 0;
1746 break;
1748 /* linux_epoll_create */
1749 case 254: {
1750 struct linux_epoll_create_args *p = params;
1751 iarg[0] = p->size; /* l_int */
1752 *n_args = 1;
1753 break;
1755 /* linux_epoll_ctl */
1756 case 255: {
1757 struct linux_epoll_ctl_args *p = params;
1758 iarg[0] = p->epfd; /* l_int */
1759 iarg[1] = p->op; /* l_int */
1760 iarg[2] = p->fd; /* l_int */
1761 uarg[3] = (intptr_t) p->event; /* struct epoll_event * */
1762 *n_args = 4;
1763 break;
1765 /* linux_epoll_wait */
1766 case 256: {
1767 struct linux_epoll_wait_args *p = params;
1768 iarg[0] = p->epfd; /* l_int */
1769 uarg[1] = (intptr_t) p->events; /* struct epoll_event * */
1770 iarg[2] = p->maxevents; /* l_int */
1771 iarg[3] = p->timeout; /* l_int */
1772 *n_args = 4;
1773 break;
1775 /* linux_remap_file_pages */
1776 case 257: {
1777 *n_args = 0;
1778 break;
1780 /* linux_set_tid_address */
1781 case 258: {
1782 struct linux_set_tid_address_args *p = params;
1783 uarg[0] = (intptr_t) p->tidptr; /* int * */
1784 *n_args = 1;
1785 break;
1787 /* linux_timer_create */
1788 case 259: {
1789 struct linux_timer_create_args *p = params;
1790 iarg[0] = p->clock_id; /* clockid_t */
1791 uarg[1] = (intptr_t) p->evp; /* struct sigevent * */
1792 uarg[2] = (intptr_t) p->timerid; /* l_timer_t * */
1793 *n_args = 3;
1794 break;
1796 /* linux_timer_settime */
1797 case 260: {
1798 struct linux_timer_settime_args *p = params;
1799 iarg[0] = p->timerid; /* l_timer_t */
1800 iarg[1] = p->flags; /* l_int */
1801 uarg[2] = (intptr_t) p->new; /* const struct itimerspec * */
1802 uarg[3] = (intptr_t) p->old; /* struct itimerspec * */
1803 *n_args = 4;
1804 break;
1806 /* linux_timer_gettime */
1807 case 261: {
1808 struct linux_timer_gettime_args *p = params;
1809 iarg[0] = p->timerid; /* l_timer_t */
1810 uarg[1] = (intptr_t) p->setting; /* struct itimerspec * */
1811 *n_args = 2;
1812 break;
1814 /* linux_timer_getoverrun */
1815 case 262: {
1816 struct linux_timer_getoverrun_args *p = params;
1817 iarg[0] = p->timerid; /* l_timer_t */
1818 *n_args = 1;
1819 break;
1821 /* linux_timer_delete */
1822 case 263: {
1823 struct linux_timer_delete_args *p = params;
1824 iarg[0] = p->timerid; /* l_timer_t */
1825 *n_args = 1;
1826 break;
1828 /* linux_clock_settime */
1829 case 264: {
1830 struct linux_clock_settime_args *p = params;
1831 iarg[0] = p->which; /* clockid_t */
1832 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1833 *n_args = 2;
1834 break;
1836 /* linux_clock_gettime */
1837 case 265: {
1838 struct linux_clock_gettime_args *p = params;
1839 iarg[0] = p->which; /* clockid_t */
1840 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1841 *n_args = 2;
1842 break;
1844 /* linux_clock_getres */
1845 case 266: {
1846 struct linux_clock_getres_args *p = params;
1847 iarg[0] = p->which; /* clockid_t */
1848 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1849 *n_args = 2;
1850 break;
1852 /* linux_clock_nanosleep */
1853 case 267: {
1854 struct linux_clock_nanosleep_args *p = params;
1855 iarg[0] = p->which; /* clockid_t */
1856 iarg[1] = p->flags; /* int */
1857 uarg[2] = (intptr_t) p->rqtp; /* struct l_timespec * */
1858 uarg[3] = (intptr_t) p->rmtp; /* struct l_timespec * */
1859 *n_args = 4;
1860 break;
1862 /* linux_statfs64 */
1863 case 268: {
1864 struct linux_statfs64_args *p = params;
1865 uarg[0] = (intptr_t) p->path; /* char * */
1866 uarg[1] = p->bufsize; /* size_t */
1867 uarg[2] = (intptr_t) p->buf; /* struct l_statfs64_buf * */
1868 *n_args = 3;
1869 break;
1871 /* linux_fstatfs64 */
1872 case 269: {
1873 struct linux_fstatfs64_args *p = params;
1874 iarg[0] = p->fd; /* l_uint */
1875 uarg[1] = p->bufsize; /* size_t */
1876 uarg[2] = (intptr_t) p->buf; /* struct l_statfs64_buf * */
1877 *n_args = 3;
1878 break;
1880 /* linux_tgkill */
1881 case 270: {
1882 struct linux_tgkill_args *p = params;
1883 iarg[0] = p->tgid; /* int */
1884 iarg[1] = p->pid; /* int */
1885 iarg[2] = p->sig; /* int */
1886 *n_args = 3;
1887 break;
1889 /* linux_utimes */
1890 case 271: {
1891 struct linux_utimes_args *p = params;
1892 uarg[0] = (intptr_t) p->fname; /* char * */
1893 uarg[1] = (intptr_t) p->tptr; /* struct l_timeval * */
1894 *n_args = 2;
1895 break;
1897 /* linux_fadvise64_64 */
1898 case 272: {
1899 struct linux_fadvise64_64_args *p = params;
1900 iarg[0] = p->fd; /* int */
1901 iarg[1] = p->offset; /* l_loff_t */
1902 iarg[2] = p->len; /* l_loff_t */
1903 iarg[3] = p->advice; /* int */
1904 *n_args = 4;
1905 break;
1907 /* linux_mbind */
1908 case 274: {
1909 *n_args = 0;
1910 break;
1912 /* linux_get_mempolicy */
1913 case 275: {
1914 *n_args = 0;
1915 break;
1917 /* linux_set_mempolicy */
1918 case 276: {
1919 *n_args = 0;
1920 break;
1922 /* linux_mq_open */
1923 case 277: {
1924 struct linux_mq_open_args *p = params;
1925 uarg[0] = (intptr_t) p->name; /* const char * */
1926 iarg[1] = p->oflag; /* int */
1927 iarg[2] = p->mode; /* mode_t */
1928 uarg[3] = (intptr_t) p->attr; /* struct mq_attr * */
1929 *n_args = 4;
1930 break;
1932 /* linux_mq_unlink */
1933 case 278: {
1934 struct linux_mq_unlink_args *p = params;
1935 uarg[0] = (intptr_t) p->name; /* const char * */
1936 *n_args = 1;
1937 break;
1939 /* linux_mq_timedsend */
1940 case 279: {
1941 struct linux_mq_timedsend_args *p = params;
1942 iarg[0] = p->mqd; /* l_mqd_t */
1943 uarg[1] = (intptr_t) p->msg_ptr; /* const char * */
1944 uarg[2] = p->msg_len; /* size_t */
1945 uarg[3] = p->msg_prio; /* unsigned int */
1946 uarg[4] = (intptr_t) p->abs_timeout; /* const struct l_timespec * */
1947 *n_args = 5;
1948 break;
1950 /* linux_mq_timedreceive */
1951 case 280: {
1952 struct linux_mq_timedreceive_args *p = params;
1953 iarg[0] = p->mqd; /* l_mqd_t */
1954 uarg[1] = (intptr_t) p->msg_ptr; /* char * */
1955 uarg[2] = p->msg_len; /* size_t */
1956 uarg[3] = p->msg_prio; /* unsigned int */
1957 uarg[4] = (intptr_t) p->abs_timeout; /* const struct l_timespec * */
1958 *n_args = 5;
1959 break;
1961 /* linux_mq_notify */
1962 case 281: {
1963 struct linux_mq_notify_args *p = params;
1964 iarg[0] = p->mqd; /* l_mqd_t */
1965 uarg[1] = (intptr_t) p->abs_timeout; /* const struct l_timespec * */
1966 *n_args = 2;
1967 break;
1969 /* linux_mq_getsetattr */
1970 case 282: {
1971 struct linux_mq_getsetattr_args *p = params;
1972 iarg[0] = p->mqd; /* l_mqd_t */
1973 uarg[1] = (intptr_t) p->attr; /* const struct mq_attr * */
1974 uarg[2] = (intptr_t) p->oattr; /* struct mq_attr * */
1975 *n_args = 3;
1976 break;
1978 /* linux_kexec_load */
1979 case 283: {
1980 *n_args = 0;
1981 break;
1983 /* linux_waitid */
1984 case 284: {
1985 struct linux_waitid_args *p = params;
1986 iarg[0] = p->idtype; /* int */
1987 iarg[1] = p->id; /* l_pid_t */
1988 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */
1989 iarg[3] = p->options; /* int */
1990 uarg[4] = (intptr_t) p->rusage; /* void * */
1991 *n_args = 5;
1992 break;
1994 /* linux_add_key */
1995 case 286: {
1996 *n_args = 0;
1997 break;
1999 /* linux_request_key */
2000 case 287: {
2001 *n_args = 0;
2002 break;
2004 /* linux_keyctl */
2005 case 288: {
2006 *n_args = 0;
2007 break;
2009 /* linux_ioprio_set */
2010 case 289: {
2011 *n_args = 0;
2012 break;
2014 /* linux_ioprio_get */
2015 case 290: {
2016 *n_args = 0;
2017 break;
2019 /* linux_inotify_init */
2020 case 291: {
2021 *n_args = 0;
2022 break;
2024 /* linux_inotify_add_watch */
2025 case 292: {
2026 *n_args = 0;
2027 break;
2029 /* linux_inotify_rm_watch */
2030 case 293: {
2031 *n_args = 0;
2032 break;
2034 /* linux_migrate_pages */
2035 case 294: {
2036 *n_args = 0;
2037 break;
2039 /* linux_openat */
2040 case 295: {
2041 struct linux_openat_args *p = params;
2042 iarg[0] = p->dfd; /* l_int */
2043 uarg[1] = (intptr_t) p->filename; /* const char * */
2044 iarg[2] = p->flags; /* l_int */
2045 iarg[3] = p->mode; /* l_int */
2046 *n_args = 4;
2047 break;
2049 /* linux_mkdirat */
2050 case 296: {
2051 struct linux_mkdirat_args *p = params;
2052 iarg[0] = p->dfd; /* l_int */
2053 uarg[1] = (intptr_t) p->pathname; /* const char * */
2054 iarg[2] = p->mode; /* l_int */
2055 *n_args = 3;
2056 break;
2058 /* linux_mknodat */
2059 case 297: {
2060 struct linux_mknodat_args *p = params;
2061 iarg[0] = p->dfd; /* l_int */
2062 uarg[1] = (intptr_t) p->filename; /* const char * */
2063 iarg[2] = p->mode; /* l_int */
2064 iarg[3] = p->dev; /* l_uint */
2065 *n_args = 4;
2066 break;
2068 /* linux_fchownat */
2069 case 298: {
2070 struct linux_fchownat_args *p = params;
2071 iarg[0] = p->dfd; /* l_int */
2072 uarg[1] = (intptr_t) p->filename; /* const char * */
2073 iarg[2] = p->uid; /* l_uid16_t */
2074 iarg[3] = p->gid; /* l_gid16_t */
2075 iarg[4] = p->flag; /* l_int */
2076 *n_args = 5;
2077 break;
2079 /* linux_futimesat */
2080 case 299: {
2081 struct linux_futimesat_args *p = params;
2082 iarg[0] = p->dfd; /* l_int */
2083 uarg[1] = (intptr_t) p->filename; /* char * */
2084 uarg[2] = (intptr_t) p->utimes; /* struct l_timeval * */
2085 *n_args = 3;
2086 break;
2088 /* linux_fstatat64 */
2089 case 300: {
2090 struct linux_fstatat64_args *p = params;
2091 iarg[0] = p->dfd; /* l_int */
2092 uarg[1] = (intptr_t) p->pathname; /* char * */
2093 uarg[2] = (intptr_t) p->statbuf; /* struct l_stat64 * */
2094 iarg[3] = p->flag; /* l_int */
2095 *n_args = 4;
2096 break;
2098 /* linux_unlinkat */
2099 case 301: {
2100 struct linux_unlinkat_args *p = params;
2101 iarg[0] = p->dfd; /* l_int */
2102 uarg[1] = (intptr_t) p->pathname; /* const char * */
2103 iarg[2] = p->flag; /* l_int */
2104 *n_args = 3;
2105 break;
2107 /* linux_renameat */
2108 case 302: {
2109 struct linux_renameat_args *p = params;
2110 iarg[0] = p->olddfd; /* l_int */
2111 uarg[1] = (intptr_t) p->oldname; /* const char * */
2112 iarg[2] = p->newdfd; /* l_int */
2113 uarg[3] = (intptr_t) p->newname; /* const char * */
2114 *n_args = 4;
2115 break;
2117 /* linux_linkat */
2118 case 303: {
2119 struct linux_linkat_args *p = params;
2120 iarg[0] = p->olddfd; /* l_int */
2121 uarg[1] = (intptr_t) p->oldname; /* const char * */
2122 iarg[2] = p->newdfd; /* l_int */
2123 uarg[3] = (intptr_t) p->newname; /* const char * */
2124 iarg[4] = p->flag; /* l_int */
2125 *n_args = 5;
2126 break;
2128 /* linux_symlinkat */
2129 case 304: {
2130 struct linux_symlinkat_args *p = params;
2131 uarg[0] = (intptr_t) p->oldname; /* const char * */
2132 iarg[1] = p->newdfd; /* l_int */
2133 uarg[2] = (intptr_t) p->newname; /* const char * */
2134 *n_args = 3;
2135 break;
2137 /* linux_readlinkat */
2138 case 305: {
2139 struct linux_readlinkat_args *p = params;
2140 iarg[0] = p->dfd; /* l_int */
2141 uarg[1] = (intptr_t) p->path; /* const char * */
2142 uarg[2] = (intptr_t) p->buf; /* char * */
2143 iarg[3] = p->bufsiz; /* l_int */
2144 *n_args = 4;
2145 break;
2147 /* linux_fchmodat */
2148 case 306: {
2149 struct linux_fchmodat_args *p = params;
2150 iarg[0] = p->dfd; /* l_int */
2151 uarg[1] = (intptr_t) p->filename; /* const char * */
2152 iarg[2] = p->mode; /* l_mode_t */
2153 *n_args = 3;
2154 break;
2156 /* linux_faccessat */
2157 case 307: {
2158 struct linux_faccessat_args *p = params;
2159 iarg[0] = p->dfd; /* l_int */
2160 uarg[1] = (intptr_t) p->filename; /* const char * */
2161 iarg[2] = p->amode; /* l_int */
2162 *n_args = 3;
2163 break;
2165 /* linux_pselect6 */
2166 case 308: {
2167 struct linux_pselect6_args *p = params;
2168 iarg[0] = p->nfds; /* l_int */
2169 uarg[1] = (intptr_t) p->readfds; /* l_fd_set * */
2170 uarg[2] = (intptr_t) p->writefds; /* l_fd_set * */
2171 uarg[3] = (intptr_t) p->exceptfds; /* l_fd_set * */
2172 uarg[4] = (intptr_t) p->tsp; /* struct l_timespec * */
2173 uarg[5] = (intptr_t) p->sig; /* l_uintptr_t * */
2174 *n_args = 6;
2175 break;
2177 /* linux_ppoll */
2178 case 309: {
2179 struct linux_ppoll_args *p = params;
2180 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
2181 uarg[1] = p->nfds; /* uint32_t */
2182 uarg[2] = (intptr_t) p->tsp; /* struct l_timespec * */
2183 uarg[3] = (intptr_t) p->sset; /* l_sigset_t * */
2184 iarg[4] = p->ssize; /* l_size_t */
2185 *n_args = 5;
2186 break;
2188 /* linux_unshare */
2189 case 310: {
2190 *n_args = 0;
2191 break;
2193 /* linux_set_robust_list */
2194 case 311: {
2195 struct linux_set_robust_list_args *p = params;
2196 uarg[0] = (intptr_t) p->head; /* struct linux_robust_list_head * */
2197 iarg[1] = p->len; /* l_size_t */
2198 *n_args = 2;
2199 break;
2201 /* linux_get_robust_list */
2202 case 312: {
2203 struct linux_get_robust_list_args *p = params;
2204 iarg[0] = p->pid; /* l_int */
2205 uarg[1] = (intptr_t) p->head; /* struct linux_robust_list_head ** */
2206 uarg[2] = (intptr_t) p->len; /* l_size_t * */
2207 *n_args = 3;
2208 break;
2210 /* linux_splice */
2211 case 313: {
2212 *n_args = 0;
2213 break;
2215 /* linux_sync_file_range */
2216 case 314: {
2217 *n_args = 0;
2218 break;
2220 /* linux_tee */
2221 case 315: {
2222 *n_args = 0;
2223 break;
2225 /* linux_vmsplice */
2226 case 316: {
2227 *n_args = 0;
2228 break;
2230 /* linux_move_pages */
2231 case 317: {
2232 *n_args = 0;
2233 break;
2235 /* linux_getcpu */
2236 case 318: {
2237 *n_args = 0;
2238 break;
2240 /* linux_epoll_pwait */
2241 case 319: {
2242 struct linux_epoll_pwait_args *p = params;
2243 iarg[0] = p->epfd; /* l_int */
2244 uarg[1] = (intptr_t) p->events; /* struct epoll_event * */
2245 iarg[2] = p->maxevents; /* l_int */
2246 iarg[3] = p->timeout; /* l_int */
2247 uarg[4] = (intptr_t) p->mask; /* l_sigset_t * */
2248 *n_args = 5;
2249 break;
2251 /* linux_utimensat */
2252 case 320: {
2253 struct linux_utimensat_args *p = params;
2254 iarg[0] = p->dfd; /* l_int */
2255 uarg[1] = (intptr_t) p->pathname; /* const char * */
2256 uarg[2] = (intptr_t) p->times; /* const struct l_timespec * */
2257 iarg[3] = p->flags; /* l_int */
2258 *n_args = 4;
2259 break;
2261 /* linux_signalfd */
2262 case 321: {
2263 *n_args = 0;
2264 break;
2266 /* linux_timerfd_create */
2267 case 322: {
2268 *n_args = 0;
2269 break;
2271 /* linux_eventfd */
2272 case 323: {
2273 struct linux_eventfd_args *p = params;
2274 iarg[0] = p->initval; /* l_uint */
2275 *n_args = 1;
2276 break;
2278 /* linux_fallocate */
2279 case 324: {
2280 struct linux_fallocate_args *p = params;
2281 iarg[0] = p->fd; /* l_int */
2282 iarg[1] = p->mode; /* l_int */
2283 iarg[2] = p->offset; /* l_loff_t */
2284 iarg[3] = p->len; /* l_loff_t */
2285 *n_args = 4;
2286 break;
2288 /* linux_timerfd_settime */
2289 case 325: {
2290 *n_args = 0;
2291 break;
2293 /* linux_timerfd_gettime */
2294 case 326: {
2295 *n_args = 0;
2296 break;
2298 /* linux_signalfd4 */
2299 case 327: {
2300 *n_args = 0;
2301 break;
2303 /* linux_eventfd2 */
2304 case 328: {
2305 struct linux_eventfd2_args *p = params;
2306 iarg[0] = p->initval; /* l_uint */
2307 iarg[1] = p->flags; /* l_int */
2308 *n_args = 2;
2309 break;
2311 /* linux_epoll_create1 */
2312 case 329: {
2313 struct linux_epoll_create1_args *p = params;
2314 iarg[0] = p->flags; /* l_int */
2315 *n_args = 1;
2316 break;
2318 /* linux_dup3 */
2319 case 330: {
2320 struct linux_dup3_args *p = params;
2321 iarg[0] = p->oldfd; /* l_int */
2322 iarg[1] = p->newfd; /* l_int */
2323 iarg[2] = p->flags; /* l_int */
2324 *n_args = 3;
2325 break;
2327 /* linux_pipe2 */
2328 case 331: {
2329 struct linux_pipe2_args *p = params;
2330 uarg[0] = (intptr_t) p->pipefds; /* l_int * */
2331 iarg[1] = p->flags; /* l_int */
2332 *n_args = 2;
2333 break;
2335 /* linux_inotify_init1 */
2336 case 332: {
2337 *n_args = 0;
2338 break;
2340 /* linux_preadv */
2341 case 333: {
2342 *n_args = 0;
2343 break;
2345 /* linux_pwritev */
2346 case 334: {
2347 *n_args = 0;
2348 break;
2350 /* linux_rt_tsigqueueinfo */
2351 case 335: {
2352 *n_args = 0;
2353 break;
2355 /* linux_perf_event_open */
2356 case 336: {
2357 *n_args = 0;
2358 break;
2360 /* linux_recvmmsg */
2361 case 337: {
2362 struct linux_recvmmsg_args *p = params;
2363 iarg[0] = p->s; /* l_int */
2364 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */
2365 iarg[2] = p->vlen; /* l_uint */
2366 iarg[3] = p->flags; /* l_uint */
2367 uarg[4] = (intptr_t) p->timeout; /* struct l_timespec * */
2368 *n_args = 5;
2369 break;
2371 /* linux_fanotify_init */
2372 case 338: {
2373 *n_args = 0;
2374 break;
2376 /* linux_fanotify_mark */
2377 case 339: {
2378 *n_args = 0;
2379 break;
2381 /* linux_prlimit64 */
2382 case 340: {
2383 struct linux_prlimit64_args *p = params;
2384 iarg[0] = p->pid; /* l_pid_t */
2385 iarg[1] = p->resource; /* l_uint */
2386 uarg[2] = (intptr_t) p->new; /* struct rlimit * */
2387 uarg[3] = (intptr_t) p->old; /* struct rlimit * */
2388 *n_args = 4;
2389 break;
2391 /* linux_name_to_handle_at */
2392 case 341: {
2393 *n_args = 0;
2394 break;
2396 /* linux_open_by_handle_at */
2397 case 342: {
2398 *n_args = 0;
2399 break;
2401 /* linux_clock_adjtime */
2402 case 343: {
2403 *n_args = 0;
2404 break;
2406 /* linux_syncfs */
2407 case 344: {
2408 struct linux_syncfs_args *p = params;
2409 iarg[0] = p->fd; /* l_int */
2410 *n_args = 1;
2411 break;
2413 /* linux_sendmmsg */
2414 case 345: {
2415 struct linux_sendmmsg_args *p = params;
2416 iarg[0] = p->s; /* l_int */
2417 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */
2418 iarg[2] = p->vlen; /* l_uint */
2419 iarg[3] = p->flags; /* l_uint */
2420 *n_args = 4;
2421 break;
2423 /* linux_setns */
2424 case 346: {
2425 *n_args = 0;
2426 break;
2428 /* linux_process_vm_readv */
2429 case 347: {
2430 *n_args = 0;
2431 break;
2433 /* linux_process_vm_writev */
2434 case 348: {
2435 *n_args = 0;
2436 break;
2438 default:
2439 *n_args = 0;
2440 break;
2443 static void
2444 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
2446 const char *p = NULL;
2447 switch (sysnum) {
2448 #define nosys linux_nosys
2449 /* linux_exit */
2450 case 1:
2451 switch(ndx) {
2452 case 0:
2453 p = "int";
2454 break;
2455 default:
2456 break;
2458 break;
2459 /* linux_fork */
2460 case 2:
2461 break;
2462 /* read */
2463 case 3:
2464 switch(ndx) {
2465 case 0:
2466 p = "int";
2467 break;
2468 case 1:
2469 p = "char *";
2470 break;
2471 case 2:
2472 p = "u_int";
2473 break;
2474 default:
2475 break;
2477 break;
2478 /* write */
2479 case 4:
2480 switch(ndx) {
2481 case 0:
2482 p = "int";
2483 break;
2484 case 1:
2485 p = "char *";
2486 break;
2487 case 2:
2488 p = "u_int";
2489 break;
2490 default:
2491 break;
2493 break;
2494 /* linux_open */
2495 case 5:
2496 switch(ndx) {
2497 case 0:
2498 p = "char *";
2499 break;
2500 case 1:
2501 p = "l_int";
2502 break;
2503 case 2:
2504 p = "l_int";
2505 break;
2506 default:
2507 break;
2509 break;
2510 /* close */
2511 case 6:
2512 switch(ndx) {
2513 case 0:
2514 p = "int";
2515 break;
2516 default:
2517 break;
2519 break;
2520 /* linux_waitpid */
2521 case 7:
2522 switch(ndx) {
2523 case 0:
2524 p = "l_pid_t";
2525 break;
2526 case 1:
2527 p = "l_int *";
2528 break;
2529 case 2:
2530 p = "l_int";
2531 break;
2532 default:
2533 break;
2535 break;
2536 /* linux_creat */
2537 case 8:
2538 switch(ndx) {
2539 case 0:
2540 p = "char *";
2541 break;
2542 case 1:
2543 p = "l_int";
2544 break;
2545 default:
2546 break;
2548 break;
2549 /* linux_link */
2550 case 9:
2551 switch(ndx) {
2552 case 0:
2553 p = "char *";
2554 break;
2555 case 1:
2556 p = "char *";
2557 break;
2558 default:
2559 break;
2561 break;
2562 /* linux_unlink */
2563 case 10:
2564 switch(ndx) {
2565 case 0:
2566 p = "char *";
2567 break;
2568 default:
2569 break;
2571 break;
2572 /* linux_execve */
2573 case 11:
2574 switch(ndx) {
2575 case 0:
2576 p = "char *";
2577 break;
2578 case 1:
2579 p = "char **";
2580 break;
2581 case 2:
2582 p = "char **";
2583 break;
2584 default:
2585 break;
2587 break;
2588 /* linux_chdir */
2589 case 12:
2590 switch(ndx) {
2591 case 0:
2592 p = "char *";
2593 break;
2594 default:
2595 break;
2597 break;
2598 /* linux_time */
2599 case 13:
2600 switch(ndx) {
2601 case 0:
2602 p = "l_time_t *";
2603 break;
2604 default:
2605 break;
2607 break;
2608 /* linux_mknod */
2609 case 14:
2610 switch(ndx) {
2611 case 0:
2612 p = "char *";
2613 break;
2614 case 1:
2615 p = "l_int";
2616 break;
2617 case 2:
2618 p = "l_dev_t";
2619 break;
2620 default:
2621 break;
2623 break;
2624 /* linux_chmod */
2625 case 15:
2626 switch(ndx) {
2627 case 0:
2628 p = "char *";
2629 break;
2630 case 1:
2631 p = "l_mode_t";
2632 break;
2633 default:
2634 break;
2636 break;
2637 /* linux_lchown16 */
2638 case 16:
2639 switch(ndx) {
2640 case 0:
2641 p = "char *";
2642 break;
2643 case 1:
2644 p = "l_uid16_t";
2645 break;
2646 case 2:
2647 p = "l_gid16_t";
2648 break;
2649 default:
2650 break;
2652 break;
2653 /* linux_stat */
2654 case 18:
2655 switch(ndx) {
2656 case 0:
2657 p = "char *";
2658 break;
2659 case 1:
2660 p = "struct linux_stat *";
2661 break;
2662 default:
2663 break;
2665 break;
2666 /* linux_lseek */
2667 case 19:
2668 switch(ndx) {
2669 case 0:
2670 p = "l_uint";
2671 break;
2672 case 1:
2673 p = "l_off_t";
2674 break;
2675 case 2:
2676 p = "l_int";
2677 break;
2678 default:
2679 break;
2681 break;
2682 /* linux_getpid */
2683 case 20:
2684 break;
2685 /* linux_mount */
2686 case 21:
2687 switch(ndx) {
2688 case 0:
2689 p = "char *";
2690 break;
2691 case 1:
2692 p = "char *";
2693 break;
2694 case 2:
2695 p = "char *";
2696 break;
2697 case 3:
2698 p = "l_ulong";
2699 break;
2700 case 4:
2701 p = "void *";
2702 break;
2703 default:
2704 break;
2706 break;
2707 /* linux_oldumount */
2708 case 22:
2709 switch(ndx) {
2710 case 0:
2711 p = "char *";
2712 break;
2713 default:
2714 break;
2716 break;
2717 /* linux_setuid16 */
2718 case 23:
2719 switch(ndx) {
2720 case 0:
2721 p = "l_uid16_t";
2722 break;
2723 default:
2724 break;
2726 break;
2727 /* linux_getuid16 */
2728 case 24:
2729 break;
2730 /* linux_stime */
2731 case 25:
2732 break;
2733 /* linux_ptrace */
2734 case 26:
2735 switch(ndx) {
2736 case 0:
2737 p = "l_long";
2738 break;
2739 case 1:
2740 p = "l_long";
2741 break;
2742 case 2:
2743 p = "l_long";
2744 break;
2745 case 3:
2746 p = "l_long";
2747 break;
2748 default:
2749 break;
2751 break;
2752 /* linux_alarm */
2753 case 27:
2754 switch(ndx) {
2755 case 0:
2756 p = "l_uint";
2757 break;
2758 default:
2759 break;
2761 break;
2762 /* linux_fstat */
2763 case 28:
2764 switch(ndx) {
2765 case 0:
2766 p = "l_uint";
2767 break;
2768 case 1:
2769 p = "struct linux_stat *";
2770 break;
2771 default:
2772 break;
2774 break;
2775 /* linux_pause */
2776 case 29:
2777 break;
2778 /* linux_utime */
2779 case 30:
2780 switch(ndx) {
2781 case 0:
2782 p = "char *";
2783 break;
2784 case 1:
2785 p = "struct l_utimbuf *";
2786 break;
2787 default:
2788 break;
2790 break;
2791 /* linux_access */
2792 case 33:
2793 switch(ndx) {
2794 case 0:
2795 p = "char *";
2796 break;
2797 case 1:
2798 p = "l_int";
2799 break;
2800 default:
2801 break;
2803 break;
2804 /* linux_nice */
2805 case 34:
2806 switch(ndx) {
2807 case 0:
2808 p = "l_int";
2809 break;
2810 default:
2811 break;
2813 break;
2814 /* sync */
2815 case 36:
2816 break;
2817 /* linux_kill */
2818 case 37:
2819 switch(ndx) {
2820 case 0:
2821 p = "l_int";
2822 break;
2823 case 1:
2824 p = "l_int";
2825 break;
2826 default:
2827 break;
2829 break;
2830 /* linux_rename */
2831 case 38:
2832 switch(ndx) {
2833 case 0:
2834 p = "char *";
2835 break;
2836 case 1:
2837 p = "char *";
2838 break;
2839 default:
2840 break;
2842 break;
2843 /* linux_mkdir */
2844 case 39:
2845 switch(ndx) {
2846 case 0:
2847 p = "char *";
2848 break;
2849 case 1:
2850 p = "l_int";
2851 break;
2852 default:
2853 break;
2855 break;
2856 /* linux_rmdir */
2857 case 40:
2858 switch(ndx) {
2859 case 0:
2860 p = "char *";
2861 break;
2862 default:
2863 break;
2865 break;
2866 /* dup */
2867 case 41:
2868 switch(ndx) {
2869 case 0:
2870 p = "u_int";
2871 break;
2872 default:
2873 break;
2875 break;
2876 /* linux_pipe */
2877 case 42:
2878 switch(ndx) {
2879 case 0:
2880 p = "l_int *";
2881 break;
2882 default:
2883 break;
2885 break;
2886 /* linux_times */
2887 case 43:
2888 switch(ndx) {
2889 case 0:
2890 p = "struct l_times_argv *";
2891 break;
2892 default:
2893 break;
2895 break;
2896 /* linux_brk */
2897 case 45:
2898 switch(ndx) {
2899 case 0:
2900 p = "l_ulong";
2901 break;
2902 default:
2903 break;
2905 break;
2906 /* linux_setgid16 */
2907 case 46:
2908 switch(ndx) {
2909 case 0:
2910 p = "l_gid16_t";
2911 break;
2912 default:
2913 break;
2915 break;
2916 /* linux_getgid16 */
2917 case 47:
2918 break;
2919 /* linux_signal */
2920 case 48:
2921 switch(ndx) {
2922 case 0:
2923 p = "l_int";
2924 break;
2925 case 1:
2926 p = "void *";
2927 break;
2928 default:
2929 break;
2931 break;
2932 /* linux_geteuid16 */
2933 case 49:
2934 break;
2935 /* linux_getegid16 */
2936 case 50:
2937 break;
2938 /* acct */
2939 case 51:
2940 switch(ndx) {
2941 case 0:
2942 p = "char *";
2943 break;
2944 default:
2945 break;
2947 break;
2948 /* linux_umount */
2949 case 52:
2950 switch(ndx) {
2951 case 0:
2952 p = "char *";
2953 break;
2954 case 1:
2955 p = "l_int";
2956 break;
2957 default:
2958 break;
2960 break;
2961 /* linux_ioctl */
2962 case 54:
2963 switch(ndx) {
2964 case 0:
2965 p = "l_uint";
2966 break;
2967 case 1:
2968 p = "l_uint";
2969 break;
2970 case 2:
2971 p = "l_ulong";
2972 break;
2973 default:
2974 break;
2976 break;
2977 /* linux_fcntl */
2978 case 55:
2979 switch(ndx) {
2980 case 0:
2981 p = "l_uint";
2982 break;
2983 case 1:
2984 p = "l_uint";
2985 break;
2986 case 2:
2987 p = "l_ulong";
2988 break;
2989 default:
2990 break;
2992 break;
2993 /* setpgid */
2994 case 57:
2995 switch(ndx) {
2996 case 0:
2997 p = "int";
2998 break;
2999 case 1:
3000 p = "int";
3001 break;
3002 default:
3003 break;
3005 break;
3006 /* linux_olduname */
3007 case 59:
3008 break;
3009 /* umask */
3010 case 60:
3011 switch(ndx) {
3012 case 0:
3013 p = "int";
3014 break;
3015 default:
3016 break;
3018 break;
3019 /* chroot */
3020 case 61:
3021 switch(ndx) {
3022 case 0:
3023 p = "char *";
3024 break;
3025 default:
3026 break;
3028 break;
3029 /* linux_ustat */
3030 case 62:
3031 switch(ndx) {
3032 case 0:
3033 p = "l_dev_t";
3034 break;
3035 case 1:
3036 p = "struct l_ustat *";
3037 break;
3038 default:
3039 break;
3041 break;
3042 /* dup2 */
3043 case 63:
3044 switch(ndx) {
3045 case 0:
3046 p = "u_int";
3047 break;
3048 case 1:
3049 p = "u_int";
3050 break;
3051 default:
3052 break;
3054 break;
3055 /* linux_getppid */
3056 case 64:
3057 break;
3058 /* getpgrp */
3059 case 65:
3060 break;
3061 /* setsid */
3062 case 66:
3063 break;
3064 /* linux_sigaction */
3065 case 67:
3066 switch(ndx) {
3067 case 0:
3068 p = "l_int";
3069 break;
3070 case 1:
3071 p = "l_osigaction_t *";
3072 break;
3073 case 2:
3074 p = "l_osigaction_t *";
3075 break;
3076 default:
3077 break;
3079 break;
3080 /* linux_sgetmask */
3081 case 68:
3082 break;
3083 /* linux_ssetmask */
3084 case 69:
3085 switch(ndx) {
3086 case 0:
3087 p = "l_osigset_t";
3088 break;
3089 default:
3090 break;
3092 break;
3093 /* linux_setreuid16 */
3094 case 70:
3095 switch(ndx) {
3096 case 0:
3097 p = "l_uid16_t";
3098 break;
3099 case 1:
3100 p = "l_uid16_t";
3101 break;
3102 default:
3103 break;
3105 break;
3106 /* linux_setregid16 */
3107 case 71:
3108 switch(ndx) {
3109 case 0:
3110 p = "l_gid16_t";
3111 break;
3112 case 1:
3113 p = "l_gid16_t";
3114 break;
3115 default:
3116 break;
3118 break;
3119 /* linux_sigsuspend */
3120 case 72:
3121 switch(ndx) {
3122 case 0:
3123 p = "l_int";
3124 break;
3125 case 1:
3126 p = "l_int";
3127 break;
3128 case 2:
3129 p = "l_osigset_t";
3130 break;
3131 default:
3132 break;
3134 break;
3135 /* linux_sigpending */
3136 case 73:
3137 switch(ndx) {
3138 case 0:
3139 p = "l_osigset_t *";
3140 break;
3141 default:
3142 break;
3144 break;
3145 /* linux_sethostname */
3146 case 74:
3147 switch(ndx) {
3148 case 0:
3149 p = "char *";
3150 break;
3151 case 1:
3152 p = "u_int";
3153 break;
3154 default:
3155 break;
3157 break;
3158 /* linux_setrlimit */
3159 case 75:
3160 switch(ndx) {
3161 case 0:
3162 p = "l_uint";
3163 break;
3164 case 1:
3165 p = "struct l_rlimit *";
3166 break;
3167 default:
3168 break;
3170 break;
3171 /* linux_old_getrlimit */
3172 case 76:
3173 switch(ndx) {
3174 case 0:
3175 p = "l_uint";
3176 break;
3177 case 1:
3178 p = "struct l_rlimit *";
3179 break;
3180 default:
3181 break;
3183 break;
3184 /* getrusage */
3185 case 77:
3186 switch(ndx) {
3187 case 0:
3188 p = "int";
3189 break;
3190 case 1:
3191 p = "struct rusage *";
3192 break;
3193 default:
3194 break;
3196 break;
3197 /* gettimeofday */
3198 case 78:
3199 switch(ndx) {
3200 case 0:
3201 p = "struct timeval *";
3202 break;
3203 case 1:
3204 p = "struct timezone *";
3205 break;
3206 default:
3207 break;
3209 break;
3210 /* settimeofday */
3211 case 79:
3212 switch(ndx) {
3213 case 0:
3214 p = "struct timeval *";
3215 break;
3216 case 1:
3217 p = "struct timezone *";
3218 break;
3219 default:
3220 break;
3222 break;
3223 /* linux_getgroups16 */
3224 case 80:
3225 switch(ndx) {
3226 case 0:
3227 p = "l_uint";
3228 break;
3229 case 1:
3230 p = "l_gid16_t *";
3231 break;
3232 default:
3233 break;
3235 break;
3236 /* linux_setgroups16 */
3237 case 81:
3238 switch(ndx) {
3239 case 0:
3240 p = "l_uint";
3241 break;
3242 case 1:
3243 p = "l_gid16_t *";
3244 break;
3245 default:
3246 break;
3248 break;
3249 /* linux_old_select */
3250 case 82:
3251 switch(ndx) {
3252 case 0:
3253 p = "struct l_old_select_argv *";
3254 break;
3255 default:
3256 break;
3258 break;
3259 /* linux_symlink */
3260 case 83:
3261 switch(ndx) {
3262 case 0:
3263 p = "char *";
3264 break;
3265 case 1:
3266 p = "char *";
3267 break;
3268 default:
3269 break;
3271 break;
3272 /* linux_lstat */
3273 case 84:
3274 switch(ndx) {
3275 case 0:
3276 p = "char *";
3277 break;
3278 case 1:
3279 p = "struct l_stat *";
3280 break;
3281 default:
3282 break;
3284 break;
3285 /* linux_readlink */
3286 case 85:
3287 switch(ndx) {
3288 case 0:
3289 p = "char *";
3290 break;
3291 case 1:
3292 p = "char *";
3293 break;
3294 case 2:
3295 p = "l_int";
3296 break;
3297 default:
3298 break;
3300 break;
3301 /* linux_uselib */
3302 case 86:
3303 switch(ndx) {
3304 case 0:
3305 p = "char *";
3306 break;
3307 default:
3308 break;
3310 break;
3311 /* swapon */
3312 case 87:
3313 switch(ndx) {
3314 case 0:
3315 p = "char *";
3316 break;
3317 default:
3318 break;
3320 break;
3321 /* linux_reboot */
3322 case 88:
3323 switch(ndx) {
3324 case 0:
3325 p = "l_int";
3326 break;
3327 case 1:
3328 p = "l_int";
3329 break;
3330 case 2:
3331 p = "l_uint";
3332 break;
3333 case 3:
3334 p = "void *";
3335 break;
3336 default:
3337 break;
3339 break;
3340 /* linux_readdir */
3341 case 89:
3342 switch(ndx) {
3343 case 0:
3344 p = "l_uint";
3345 break;
3346 case 1:
3347 p = "struct l_dirent *";
3348 break;
3349 case 2:
3350 p = "l_uint";
3351 break;
3352 default:
3353 break;
3355 break;
3356 /* linux_mmap */
3357 case 90:
3358 switch(ndx) {
3359 case 0:
3360 p = "struct l_mmap_argv *";
3361 break;
3362 default:
3363 break;
3365 break;
3366 /* munmap */
3367 case 91:
3368 switch(ndx) {
3369 case 0:
3370 p = "caddr_t";
3371 break;
3372 case 1:
3373 p = "int";
3374 break;
3375 default:
3376 break;
3378 break;
3379 /* linux_truncate */
3380 case 92:
3381 switch(ndx) {
3382 case 0:
3383 p = "char *";
3384 break;
3385 case 1:
3386 p = "l_ulong";
3387 break;
3388 default:
3389 break;
3391 break;
3392 /* linux_ftruncate */
3393 case 93:
3394 switch(ndx) {
3395 case 0:
3396 p = "int";
3397 break;
3398 case 1:
3399 p = "long";
3400 break;
3401 default:
3402 break;
3404 break;
3405 /* fchmod */
3406 case 94:
3407 switch(ndx) {
3408 case 0:
3409 p = "int";
3410 break;
3411 case 1:
3412 p = "int";
3413 break;
3414 default:
3415 break;
3417 break;
3418 /* fchown */
3419 case 95:
3420 switch(ndx) {
3421 case 0:
3422 p = "int";
3423 break;
3424 case 1:
3425 p = "int";
3426 break;
3427 case 2:
3428 p = "int";
3429 break;
3430 default:
3431 break;
3433 break;
3434 /* linux_getpriority */
3435 case 96:
3436 switch(ndx) {
3437 case 0:
3438 p = "int";
3439 break;
3440 case 1:
3441 p = "int";
3442 break;
3443 default:
3444 break;
3446 break;
3447 /* setpriority */
3448 case 97:
3449 switch(ndx) {
3450 case 0:
3451 p = "int";
3452 break;
3453 case 1:
3454 p = "int";
3455 break;
3456 case 2:
3457 p = "int";
3458 break;
3459 default:
3460 break;
3462 break;
3463 /* linux_statfs */
3464 case 99:
3465 switch(ndx) {
3466 case 0:
3467 p = "char *";
3468 break;
3469 case 1:
3470 p = "struct l_statfs_buf *";
3471 break;
3472 default:
3473 break;
3475 break;
3476 /* linux_fstatfs */
3477 case 100:
3478 switch(ndx) {
3479 case 0:
3480 p = "l_uint";
3481 break;
3482 case 1:
3483 p = "struct l_statfs_buf *";
3484 break;
3485 default:
3486 break;
3488 break;
3489 /* linux_ioperm */
3490 case 101:
3491 switch(ndx) {
3492 case 0:
3493 p = "l_ulong";
3494 break;
3495 case 1:
3496 p = "l_ulong";
3497 break;
3498 case 2:
3499 p = "l_int";
3500 break;
3501 default:
3502 break;
3504 break;
3505 /* linux_socketcall */
3506 case 102:
3507 switch(ndx) {
3508 case 0:
3509 p = "l_int";
3510 break;
3511 case 1:
3512 p = "l_ulong";
3513 break;
3514 default:
3515 break;
3517 break;
3518 /* linux_syslog */
3519 case 103:
3520 switch(ndx) {
3521 case 0:
3522 p = "l_int";
3523 break;
3524 case 1:
3525 p = "char *";
3526 break;
3527 case 2:
3528 p = "l_int";
3529 break;
3530 default:
3531 break;
3533 break;
3534 /* linux_setitimer */
3535 case 104:
3536 switch(ndx) {
3537 case 0:
3538 p = "l_int";
3539 break;
3540 case 1:
3541 p = "struct l_itimerval *";
3542 break;
3543 case 2:
3544 p = "struct l_itimerval *";
3545 break;
3546 default:
3547 break;
3549 break;
3550 /* linux_getitimer */
3551 case 105:
3552 switch(ndx) {
3553 case 0:
3554 p = "l_int";
3555 break;
3556 case 1:
3557 p = "struct l_itimerval *";
3558 break;
3559 default:
3560 break;
3562 break;
3563 /* linux_newstat */
3564 case 106:
3565 switch(ndx) {
3566 case 0:
3567 p = "char *";
3568 break;
3569 case 1:
3570 p = "struct l_newstat *";
3571 break;
3572 default:
3573 break;
3575 break;
3576 /* linux_newlstat */
3577 case 107:
3578 switch(ndx) {
3579 case 0:
3580 p = "char *";
3581 break;
3582 case 1:
3583 p = "struct l_newstat *";
3584 break;
3585 default:
3586 break;
3588 break;
3589 /* linux_newfstat */
3590 case 108:
3591 switch(ndx) {
3592 case 0:
3593 p = "l_uint";
3594 break;
3595 case 1:
3596 p = "struct l_newstat *";
3597 break;
3598 default:
3599 break;
3601 break;
3602 /* linux_uname */
3603 case 109:
3604 break;
3605 /* linux_iopl */
3606 case 110:
3607 switch(ndx) {
3608 case 0:
3609 p = "l_int";
3610 break;
3611 default:
3612 break;
3614 break;
3615 /* linux_vhangup */
3616 case 111:
3617 break;
3618 /* linux_vm86old */
3619 case 113:
3620 break;
3621 /* linux_wait4 */
3622 case 114:
3623 switch(ndx) {
3624 case 0:
3625 p = "l_pid_t";
3626 break;
3627 case 1:
3628 p = "l_int *";
3629 break;
3630 case 2:
3631 p = "l_int";
3632 break;
3633 case 3:
3634 p = "void *";
3635 break;
3636 default:
3637 break;
3639 break;
3640 /* linux_swapoff */
3641 case 115:
3642 break;
3643 /* linux_sysinfo */
3644 case 116:
3645 switch(ndx) {
3646 case 0:
3647 p = "struct l_sysinfo *";
3648 break;
3649 default:
3650 break;
3652 break;
3653 /* linux_ipc */
3654 case 117:
3655 switch(ndx) {
3656 case 0:
3657 p = "l_uint";
3658 break;
3659 case 1:
3660 p = "l_int";
3661 break;
3662 case 2:
3663 p = "l_int";
3664 break;
3665 case 3:
3666 p = "l_int";
3667 break;
3668 case 4:
3669 p = "void *";
3670 break;
3671 case 5:
3672 p = "l_long";
3673 break;
3674 default:
3675 break;
3677 break;
3678 /* fsync */
3679 case 118:
3680 switch(ndx) {
3681 case 0:
3682 p = "int";
3683 break;
3684 default:
3685 break;
3687 break;
3688 /* linux_sigreturn */
3689 case 119:
3690 switch(ndx) {
3691 case 0:
3692 p = "struct l_sigframe *";
3693 break;
3694 default:
3695 break;
3697 break;
3698 /* linux_clone */
3699 case 120:
3700 switch(ndx) {
3701 case 0:
3702 p = "l_int";
3703 break;
3704 case 1:
3705 p = "void *";
3706 break;
3707 case 2:
3708 p = "void *";
3709 break;
3710 case 3:
3711 p = "void *";
3712 break;
3713 case 4:
3714 p = "void *";
3715 break;
3716 default:
3717 break;
3719 break;
3720 /* linux_setdomainname */
3721 case 121:
3722 switch(ndx) {
3723 case 0:
3724 p = "char *";
3725 break;
3726 case 1:
3727 p = "int";
3728 break;
3729 default:
3730 break;
3732 break;
3733 /* linux_newuname */
3734 case 122:
3735 switch(ndx) {
3736 case 0:
3737 p = "struct l_new_utsname *";
3738 break;
3739 default:
3740 break;
3742 break;
3743 /* linux_modify_ldt */
3744 case 123:
3745 switch(ndx) {
3746 case 0:
3747 p = "l_int";
3748 break;
3749 case 1:
3750 p = "void *";
3751 break;
3752 case 2:
3753 p = "l_ulong";
3754 break;
3755 default:
3756 break;
3758 break;
3759 /* linux_adjtimex */
3760 case 124:
3761 break;
3762 /* linux_mprotect */
3763 case 125:
3764 switch(ndx) {
3765 case 0:
3766 p = "caddr_t";
3767 break;
3768 case 1:
3769 p = "int";
3770 break;
3771 case 2:
3772 p = "int";
3773 break;
3774 default:
3775 break;
3777 break;
3778 /* linux_sigprocmask */
3779 case 126:
3780 switch(ndx) {
3781 case 0:
3782 p = "l_int";
3783 break;
3784 case 1:
3785 p = "l_osigset_t *";
3786 break;
3787 case 2:
3788 p = "l_osigset_t *";
3789 break;
3790 default:
3791 break;
3793 break;
3794 /* linux_create_module */
3795 case 127:
3796 break;
3797 /* linux_init_module */
3798 case 128:
3799 break;
3800 /* linux_delete_module */
3801 case 129:
3802 break;
3803 /* linux_get_kernel_syms */
3804 case 130:
3805 break;
3806 /* linux_quotactl */
3807 case 131:
3808 break;
3809 /* getpgid */
3810 case 132:
3811 switch(ndx) {
3812 case 0:
3813 p = "int";
3814 break;
3815 default:
3816 break;
3818 break;
3819 /* fchdir */
3820 case 133:
3821 switch(ndx) {
3822 case 0:
3823 p = "int";
3824 break;
3825 default:
3826 break;
3828 break;
3829 /* linux_bdflush */
3830 case 134:
3831 break;
3832 /* linux_sysfs */
3833 case 135:
3834 switch(ndx) {
3835 case 0:
3836 p = "l_int";
3837 break;
3838 case 1:
3839 p = "l_ulong";
3840 break;
3841 case 2:
3842 p = "l_ulong";
3843 break;
3844 default:
3845 break;
3847 break;
3848 /* linux_personality */
3849 case 136:
3850 switch(ndx) {
3851 case 0:
3852 p = "l_uint";
3853 break;
3854 default:
3855 break;
3857 break;
3858 /* linux_setfsuid16 */
3859 case 138:
3860 switch(ndx) {
3861 case 0:
3862 p = "l_uid16_t";
3863 break;
3864 default:
3865 break;
3867 break;
3868 /* linux_setfsgid16 */
3869 case 139:
3870 switch(ndx) {
3871 case 0:
3872 p = "l_gid16_t";
3873 break;
3874 default:
3875 break;
3877 break;
3878 /* linux_llseek */
3879 case 140:
3880 switch(ndx) {
3881 case 0:
3882 p = "l_int";
3883 break;
3884 case 1:
3885 p = "l_ulong";
3886 break;
3887 case 2:
3888 p = "l_ulong";
3889 break;
3890 case 3:
3891 p = "l_loff_t *";
3892 break;
3893 case 4:
3894 p = "l_uint";
3895 break;
3896 default:
3897 break;
3899 break;
3900 /* linux_getdents */
3901 case 141:
3902 switch(ndx) {
3903 case 0:
3904 p = "l_uint";
3905 break;
3906 case 1:
3907 p = "void *";
3908 break;
3909 case 2:
3910 p = "l_uint";
3911 break;
3912 default:
3913 break;
3915 break;
3916 /* linux_select */
3917 case 142:
3918 switch(ndx) {
3919 case 0:
3920 p = "l_int";
3921 break;
3922 case 1:
3923 p = "l_fd_set *";
3924 break;
3925 case 2:
3926 p = "l_fd_set *";
3927 break;
3928 case 3:
3929 p = "l_fd_set *";
3930 break;
3931 case 4:
3932 p = "struct l_timeval *";
3933 break;
3934 default:
3935 break;
3937 break;
3938 /* flock */
3939 case 143:
3940 switch(ndx) {
3941 case 0:
3942 p = "int";
3943 break;
3944 case 1:
3945 p = "int";
3946 break;
3947 default:
3948 break;
3950 break;
3951 /* linux_msync */
3952 case 144:
3953 switch(ndx) {
3954 case 0:
3955 p = "l_ulong";
3956 break;
3957 case 1:
3958 p = "l_size_t";
3959 break;
3960 case 2:
3961 p = "l_int";
3962 break;
3963 default:
3964 break;
3966 break;
3967 /* readv */
3968 case 145:
3969 switch(ndx) {
3970 case 0:
3971 p = "int";
3972 break;
3973 case 1:
3974 p = "struct iovec *";
3975 break;
3976 case 2:
3977 p = "u_int";
3978 break;
3979 default:
3980 break;
3982 break;
3983 /* writev */
3984 case 146:
3985 switch(ndx) {
3986 case 0:
3987 p = "int";
3988 break;
3989 case 1:
3990 p = "struct iovec *";
3991 break;
3992 case 2:
3993 p = "u_int";
3994 break;
3995 default:
3996 break;
3998 break;
3999 /* linux_getsid */
4000 case 147:
4001 switch(ndx) {
4002 case 0:
4003 p = "l_pid_t";
4004 break;
4005 default:
4006 break;
4008 break;
4009 /* linux_fdatasync */
4010 case 148:
4011 switch(ndx) {
4012 case 0:
4013 p = "l_uint";
4014 break;
4015 default:
4016 break;
4018 break;
4019 /* linux_sysctl */
4020 case 149:
4021 switch(ndx) {
4022 case 0:
4023 p = "struct l___sysctl_args *";
4024 break;
4025 default:
4026 break;
4028 break;
4029 /* mlock */
4030 case 150:
4031 switch(ndx) {
4032 case 0:
4033 p = "const void *";
4034 break;
4035 case 1:
4036 p = "size_t";
4037 break;
4038 default:
4039 break;
4041 break;
4042 /* munlock */
4043 case 151:
4044 switch(ndx) {
4045 case 0:
4046 p = "const void *";
4047 break;
4048 case 1:
4049 p = "size_t";
4050 break;
4051 default:
4052 break;
4054 break;
4055 /* mlockall */
4056 case 152:
4057 switch(ndx) {
4058 case 0:
4059 p = "int";
4060 break;
4061 default:
4062 break;
4064 break;
4065 /* munlockall */
4066 case 153:
4067 break;
4068 /* linux_sched_setparam */
4069 case 154:
4070 switch(ndx) {
4071 case 0:
4072 p = "l_pid_t";
4073 break;
4074 case 1:
4075 p = "struct sched_param *";
4076 break;
4077 default:
4078 break;
4080 break;
4081 /* linux_sched_getparam */
4082 case 155:
4083 switch(ndx) {
4084 case 0:
4085 p = "l_pid_t";
4086 break;
4087 case 1:
4088 p = "struct sched_param *";
4089 break;
4090 default:
4091 break;
4093 break;
4094 /* linux_sched_setscheduler */
4095 case 156:
4096 switch(ndx) {
4097 case 0:
4098 p = "l_pid_t";
4099 break;
4100 case 1:
4101 p = "l_int";
4102 break;
4103 case 2:
4104 p = "struct sched_param *";
4105 break;
4106 default:
4107 break;
4109 break;
4110 /* linux_sched_getscheduler */
4111 case 157:
4112 switch(ndx) {
4113 case 0:
4114 p = "l_pid_t";
4115 break;
4116 default:
4117 break;
4119 break;
4120 /* sched_yield */
4121 case 158:
4122 break;
4123 /* linux_sched_get_priority_max */
4124 case 159:
4125 switch(ndx) {
4126 case 0:
4127 p = "l_int";
4128 break;
4129 default:
4130 break;
4132 break;
4133 /* linux_sched_get_priority_min */
4134 case 160:
4135 switch(ndx) {
4136 case 0:
4137 p = "l_int";
4138 break;
4139 default:
4140 break;
4142 break;
4143 /* linux_sched_rr_get_interval */
4144 case 161:
4145 switch(ndx) {
4146 case 0:
4147 p = "l_pid_t";
4148 break;
4149 case 1:
4150 p = "struct l_timespec *";
4151 break;
4152 default:
4153 break;
4155 break;
4156 /* linux_nanosleep */
4157 case 162:
4158 switch(ndx) {
4159 case 0:
4160 p = "const struct l_timespec *";
4161 break;
4162 case 1:
4163 p = "struct l_timespec *";
4164 break;
4165 default:
4166 break;
4168 break;
4169 /* linux_mremap */
4170 case 163:
4171 switch(ndx) {
4172 case 0:
4173 p = "l_ulong";
4174 break;
4175 case 1:
4176 p = "l_ulong";
4177 break;
4178 case 2:
4179 p = "l_ulong";
4180 break;
4181 case 3:
4182 p = "l_ulong";
4183 break;
4184 case 4:
4185 p = "l_ulong";
4186 break;
4187 default:
4188 break;
4190 break;
4191 /* linux_setresuid16 */
4192 case 164:
4193 switch(ndx) {
4194 case 0:
4195 p = "l_uid16_t";
4196 break;
4197 case 1:
4198 p = "l_uid16_t";
4199 break;
4200 case 2:
4201 p = "l_uid16_t";
4202 break;
4203 default:
4204 break;
4206 break;
4207 /* linux_getresuid16 */
4208 case 165:
4209 switch(ndx) {
4210 case 0:
4211 p = "l_uid16_t *";
4212 break;
4213 case 1:
4214 p = "l_uid16_t *";
4215 break;
4216 case 2:
4217 p = "l_uid16_t *";
4218 break;
4219 default:
4220 break;
4222 break;
4223 /* linux_vm86 */
4224 case 166:
4225 break;
4226 /* linux_query_module */
4227 case 167:
4228 break;
4229 /* poll */
4230 case 168:
4231 switch(ndx) {
4232 case 0:
4233 p = "struct pollfd *";
4234 break;
4235 case 1:
4236 p = "unsigned int";
4237 break;
4238 case 2:
4239 p = "long";
4240 break;
4241 default:
4242 break;
4244 break;
4245 /* linux_nfsservctl */
4246 case 169:
4247 break;
4248 /* linux_setresgid16 */
4249 case 170:
4250 switch(ndx) {
4251 case 0:
4252 p = "l_gid16_t";
4253 break;
4254 case 1:
4255 p = "l_gid16_t";
4256 break;
4257 case 2:
4258 p = "l_gid16_t";
4259 break;
4260 default:
4261 break;
4263 break;
4264 /* linux_getresgid16 */
4265 case 171:
4266 switch(ndx) {
4267 case 0:
4268 p = "l_gid16_t *";
4269 break;
4270 case 1:
4271 p = "l_gid16_t *";
4272 break;
4273 case 2:
4274 p = "l_gid16_t *";
4275 break;
4276 default:
4277 break;
4279 break;
4280 /* linux_prctl */
4281 case 172:
4282 switch(ndx) {
4283 case 0:
4284 p = "l_int";
4285 break;
4286 case 1:
4287 p = "l_int";
4288 break;
4289 case 2:
4290 p = "l_int";
4291 break;
4292 case 3:
4293 p = "l_int";
4294 break;
4295 case 4:
4296 p = "l_int";
4297 break;
4298 default:
4299 break;
4301 break;
4302 /* linux_rt_sigreturn */
4303 case 173:
4304 switch(ndx) {
4305 case 0:
4306 p = "struct l_ucontext *";
4307 break;
4308 default:
4309 break;
4311 break;
4312 /* linux_rt_sigaction */
4313 case 174:
4314 switch(ndx) {
4315 case 0:
4316 p = "l_int";
4317 break;
4318 case 1:
4319 p = "l_sigaction_t *";
4320 break;
4321 case 2:
4322 p = "l_sigaction_t *";
4323 break;
4324 case 3:
4325 p = "l_size_t";
4326 break;
4327 default:
4328 break;
4330 break;
4331 /* linux_rt_sigprocmask */
4332 case 175:
4333 switch(ndx) {
4334 case 0:
4335 p = "l_int";
4336 break;
4337 case 1:
4338 p = "l_sigset_t *";
4339 break;
4340 case 2:
4341 p = "l_sigset_t *";
4342 break;
4343 case 3:
4344 p = "l_size_t";
4345 break;
4346 default:
4347 break;
4349 break;
4350 /* linux_rt_sigpending */
4351 case 176:
4352 switch(ndx) {
4353 case 0:
4354 p = "l_sigset_t *";
4355 break;
4356 case 1:
4357 p = "l_size_t";
4358 break;
4359 default:
4360 break;
4362 break;
4363 /* linux_rt_sigtimedwait */
4364 case 177:
4365 switch(ndx) {
4366 case 0:
4367 p = "l_sigset_t *";
4368 break;
4369 case 1:
4370 p = "l_siginfo_t *";
4371 break;
4372 case 2:
4373 p = "struct l_timeval *";
4374 break;
4375 case 3:
4376 p = "l_size_t";
4377 break;
4378 default:
4379 break;
4381 break;
4382 /* linux_rt_sigqueueinfo */
4383 case 178:
4384 switch(ndx) {
4385 case 0:
4386 p = "l_pid_t";
4387 break;
4388 case 1:
4389 p = "l_int";
4390 break;
4391 case 2:
4392 p = "l_siginfo_t *";
4393 break;
4394 default:
4395 break;
4397 break;
4398 /* linux_rt_sigsuspend */
4399 case 179:
4400 switch(ndx) {
4401 case 0:
4402 p = "l_sigset_t *";
4403 break;
4404 case 1:
4405 p = "l_size_t";
4406 break;
4407 default:
4408 break;
4410 break;
4411 /* linux_pread */
4412 case 180:
4413 switch(ndx) {
4414 case 0:
4415 p = "l_uint";
4416 break;
4417 case 1:
4418 p = "char *";
4419 break;
4420 case 2:
4421 p = "l_size_t";
4422 break;
4423 case 3:
4424 p = "l_loff_t";
4425 break;
4426 default:
4427 break;
4429 break;
4430 /* linux_pwrite */
4431 case 181:
4432 switch(ndx) {
4433 case 0:
4434 p = "l_uint";
4435 break;
4436 case 1:
4437 p = "char *";
4438 break;
4439 case 2:
4440 p = "l_size_t";
4441 break;
4442 case 3:
4443 p = "l_loff_t";
4444 break;
4445 default:
4446 break;
4448 break;
4449 /* linux_chown16 */
4450 case 182:
4451 switch(ndx) {
4452 case 0:
4453 p = "char *";
4454 break;
4455 case 1:
4456 p = "l_uid16_t";
4457 break;
4458 case 2:
4459 p = "l_gid16_t";
4460 break;
4461 default:
4462 break;
4464 break;
4465 /* linux_getcwd */
4466 case 183:
4467 switch(ndx) {
4468 case 0:
4469 p = "char *";
4470 break;
4471 case 1:
4472 p = "l_ulong";
4473 break;
4474 default:
4475 break;
4477 break;
4478 /* linux_capget */
4479 case 184:
4480 switch(ndx) {
4481 case 0:
4482 p = "struct l_user_cap_header *";
4483 break;
4484 case 1:
4485 p = "struct l_user_cap_data *";
4486 break;
4487 default:
4488 break;
4490 break;
4491 /* linux_capset */
4492 case 185:
4493 switch(ndx) {
4494 case 0:
4495 p = "struct l_user_cap_header *";
4496 break;
4497 case 1:
4498 p = "struct l_user_cap_data *";
4499 break;
4500 default:
4501 break;
4503 break;
4504 /* linux_sigaltstack */
4505 case 186:
4506 switch(ndx) {
4507 case 0:
4508 p = "l_stack_t *";
4509 break;
4510 case 1:
4511 p = "l_stack_t *";
4512 break;
4513 default:
4514 break;
4516 break;
4517 /* linux_sendfile */
4518 case 187:
4519 break;
4520 /* linux_vfork */
4521 case 190:
4522 break;
4523 /* linux_getrlimit */
4524 case 191:
4525 switch(ndx) {
4526 case 0:
4527 p = "l_uint";
4528 break;
4529 case 1:
4530 p = "struct l_rlimit *";
4531 break;
4532 default:
4533 break;
4535 break;
4536 /* linux_mmap2 */
4537 case 192:
4538 switch(ndx) {
4539 case 0:
4540 p = "l_ulong";
4541 break;
4542 case 1:
4543 p = "l_ulong";
4544 break;
4545 case 2:
4546 p = "l_ulong";
4547 break;
4548 case 3:
4549 p = "l_ulong";
4550 break;
4551 case 4:
4552 p = "l_ulong";
4553 break;
4554 case 5:
4555 p = "l_ulong";
4556 break;
4557 default:
4558 break;
4560 break;
4561 /* linux_truncate64 */
4562 case 193:
4563 switch(ndx) {
4564 case 0:
4565 p = "char *";
4566 break;
4567 case 1:
4568 p = "l_loff_t";
4569 break;
4570 default:
4571 break;
4573 break;
4574 /* linux_ftruncate64 */
4575 case 194:
4576 switch(ndx) {
4577 case 0:
4578 p = "l_uint";
4579 break;
4580 case 1:
4581 p = "l_loff_t";
4582 break;
4583 default:
4584 break;
4586 break;
4587 /* linux_stat64 */
4588 case 195:
4589 switch(ndx) {
4590 case 0:
4591 p = "const char *";
4592 break;
4593 case 1:
4594 p = "struct l_stat64 *";
4595 break;
4596 default:
4597 break;
4599 break;
4600 /* linux_lstat64 */
4601 case 196:
4602 switch(ndx) {
4603 case 0:
4604 p = "const char *";
4605 break;
4606 case 1:
4607 p = "struct l_stat64 *";
4608 break;
4609 default:
4610 break;
4612 break;
4613 /* linux_fstat64 */
4614 case 197:
4615 switch(ndx) {
4616 case 0:
4617 p = "l_int";
4618 break;
4619 case 1:
4620 p = "struct l_stat64 *";
4621 break;
4622 default:
4623 break;
4625 break;
4626 /* linux_lchown */
4627 case 198:
4628 switch(ndx) {
4629 case 0:
4630 p = "char *";
4631 break;
4632 case 1:
4633 p = "l_uid_t";
4634 break;
4635 case 2:
4636 p = "l_gid_t";
4637 break;
4638 default:
4639 break;
4641 break;
4642 /* linux_getuid */
4643 case 199:
4644 break;
4645 /* linux_getgid */
4646 case 200:
4647 break;
4648 /* geteuid */
4649 case 201:
4650 break;
4651 /* getegid */
4652 case 202:
4653 break;
4654 /* setreuid */
4655 case 203:
4656 switch(ndx) {
4657 case 0:
4658 p = "uid_t";
4659 break;
4660 case 1:
4661 p = "uid_t";
4662 break;
4663 default:
4664 break;
4666 break;
4667 /* setregid */
4668 case 204:
4669 switch(ndx) {
4670 case 0:
4671 p = "gid_t";
4672 break;
4673 case 1:
4674 p = "gid_t";
4675 break;
4676 default:
4677 break;
4679 break;
4680 /* linux_getgroups */
4681 case 205:
4682 switch(ndx) {
4683 case 0:
4684 p = "l_int";
4685 break;
4686 case 1:
4687 p = "l_gid_t *";
4688 break;
4689 default:
4690 break;
4692 break;
4693 /* linux_setgroups */
4694 case 206:
4695 switch(ndx) {
4696 case 0:
4697 p = "l_int";
4698 break;
4699 case 1:
4700 p = "l_gid_t *";
4701 break;
4702 default:
4703 break;
4705 break;
4706 /* fchown */
4707 case 207:
4708 break;
4709 /* setresuid */
4710 case 208:
4711 switch(ndx) {
4712 case 0:
4713 p = "uid_t";
4714 break;
4715 case 1:
4716 p = "uid_t";
4717 break;
4718 case 2:
4719 p = "uid_t";
4720 break;
4721 default:
4722 break;
4724 break;
4725 /* getresuid */
4726 case 209:
4727 switch(ndx) {
4728 case 0:
4729 p = "uid_t *";
4730 break;
4731 case 1:
4732 p = "uid_t *";
4733 break;
4734 case 2:
4735 p = "uid_t *";
4736 break;
4737 default:
4738 break;
4740 break;
4741 /* setresgid */
4742 case 210:
4743 switch(ndx) {
4744 case 0:
4745 p = "gid_t";
4746 break;
4747 case 1:
4748 p = "gid_t";
4749 break;
4750 case 2:
4751 p = "gid_t";
4752 break;
4753 default:
4754 break;
4756 break;
4757 /* getresgid */
4758 case 211:
4759 switch(ndx) {
4760 case 0:
4761 p = "gid_t *";
4762 break;
4763 case 1:
4764 p = "gid_t *";
4765 break;
4766 case 2:
4767 p = "gid_t *";
4768 break;
4769 default:
4770 break;
4772 break;
4773 /* linux_chown */
4774 case 212:
4775 switch(ndx) {
4776 case 0:
4777 p = "char *";
4778 break;
4779 case 1:
4780 p = "l_uid_t";
4781 break;
4782 case 2:
4783 p = "l_gid_t";
4784 break;
4785 default:
4786 break;
4788 break;
4789 /* setuid */
4790 case 213:
4791 switch(ndx) {
4792 case 0:
4793 p = "uid_t";
4794 break;
4795 default:
4796 break;
4798 break;
4799 /* setgid */
4800 case 214:
4801 switch(ndx) {
4802 case 0:
4803 p = "gid_t";
4804 break;
4805 default:
4806 break;
4808 break;
4809 /* linux_setfsuid */
4810 case 215:
4811 switch(ndx) {
4812 case 0:
4813 p = "l_uid_t";
4814 break;
4815 default:
4816 break;
4818 break;
4819 /* linux_setfsgid */
4820 case 216:
4821 switch(ndx) {
4822 case 0:
4823 p = "l_gid_t";
4824 break;
4825 default:
4826 break;
4828 break;
4829 /* linux_pivot_root */
4830 case 217:
4831 switch(ndx) {
4832 case 0:
4833 p = "char *";
4834 break;
4835 case 1:
4836 p = "char *";
4837 break;
4838 default:
4839 break;
4841 break;
4842 /* linux_mincore */
4843 case 218:
4844 switch(ndx) {
4845 case 0:
4846 p = "l_ulong";
4847 break;
4848 case 1:
4849 p = "l_size_t";
4850 break;
4851 case 2:
4852 p = "u_char *";
4853 break;
4854 default:
4855 break;
4857 break;
4858 /* madvise */
4859 case 219:
4860 switch(ndx) {
4861 case 0:
4862 p = "void *";
4863 break;
4864 case 1:
4865 p = "size_t";
4866 break;
4867 case 2:
4868 p = "int";
4869 break;
4870 default:
4871 break;
4873 break;
4874 /* linux_getdents64 */
4875 case 220:
4876 switch(ndx) {
4877 case 0:
4878 p = "l_uint";
4879 break;
4880 case 1:
4881 p = "void *";
4882 break;
4883 case 2:
4884 p = "l_uint";
4885 break;
4886 default:
4887 break;
4889 break;
4890 /* linux_fcntl64 */
4891 case 221:
4892 switch(ndx) {
4893 case 0:
4894 p = "l_uint";
4895 break;
4896 case 1:
4897 p = "l_uint";
4898 break;
4899 case 2:
4900 p = "l_ulong";
4901 break;
4902 default:
4903 break;
4905 break;
4906 /* linux_gettid */
4907 case 224:
4908 break;
4909 /* linux_setxattr */
4910 case 226:
4911 break;
4912 /* linux_lsetxattr */
4913 case 227:
4914 break;
4915 /* linux_fsetxattr */
4916 case 228:
4917 break;
4918 /* linux_getxattr */
4919 case 229:
4920 break;
4921 /* linux_lgetxattr */
4922 case 230:
4923 break;
4924 /* linux_fgetxattr */
4925 case 231:
4926 break;
4927 /* linux_listxattr */
4928 case 232:
4929 break;
4930 /* linux_llistxattr */
4931 case 233:
4932 break;
4933 /* linux_flistxattr */
4934 case 234:
4935 break;
4936 /* linux_removexattr */
4937 case 235:
4938 break;
4939 /* linux_lremovexattr */
4940 case 236:
4941 break;
4942 /* linux_fremovexattr */
4943 case 237:
4944 break;
4945 /* linux_tkill */
4946 case 238:
4947 switch(ndx) {
4948 case 0:
4949 p = "int";
4950 break;
4951 case 1:
4952 p = "int";
4953 break;
4954 default:
4955 break;
4957 break;
4958 /* linux_sys_futex */
4959 case 240:
4960 switch(ndx) {
4961 case 0:
4962 p = "void *";
4963 break;
4964 case 1:
4965 p = "int";
4966 break;
4967 case 2:
4968 p = "uint32_t";
4969 break;
4970 case 3:
4971 p = "struct l_timespec *";
4972 break;
4973 case 4:
4974 p = "uint32_t *";
4975 break;
4976 case 5:
4977 p = "uint32_t";
4978 break;
4979 default:
4980 break;
4982 break;
4983 /* linux_sched_setaffinity */
4984 case 241:
4985 switch(ndx) {
4986 case 0:
4987 p = "l_pid_t";
4988 break;
4989 case 1:
4990 p = "l_uint";
4991 break;
4992 case 2:
4993 p = "l_ulong *";
4994 break;
4995 default:
4996 break;
4998 break;
4999 /* linux_sched_getaffinity */
5000 case 242:
5001 switch(ndx) {
5002 case 0:
5003 p = "l_pid_t";
5004 break;
5005 case 1:
5006 p = "l_uint";
5007 break;
5008 case 2:
5009 p = "l_ulong *";
5010 break;
5011 default:
5012 break;
5014 break;
5015 /* linux_set_thread_area */
5016 case 243:
5017 switch(ndx) {
5018 case 0:
5019 p = "struct l_user_desc *";
5020 break;
5021 default:
5022 break;
5024 break;
5025 /* linux_get_thread_area */
5026 case 244:
5027 switch(ndx) {
5028 case 0:
5029 p = "struct l_user_desc *";
5030 break;
5031 default:
5032 break;
5034 break;
5035 /* linux_fadvise64 */
5036 case 250:
5037 switch(ndx) {
5038 case 0:
5039 p = "int";
5040 break;
5041 case 1:
5042 p = "l_loff_t";
5043 break;
5044 case 2:
5045 p = "l_size_t";
5046 break;
5047 case 3:
5048 p = "int";
5049 break;
5050 default:
5051 break;
5053 break;
5054 /* linux_exit_group */
5055 case 252:
5056 switch(ndx) {
5057 case 0:
5058 p = "int";
5059 break;
5060 default:
5061 break;
5063 break;
5064 /* linux_lookup_dcookie */
5065 case 253:
5066 break;
5067 /* linux_epoll_create */
5068 case 254:
5069 switch(ndx) {
5070 case 0:
5071 p = "l_int";
5072 break;
5073 default:
5074 break;
5076 break;
5077 /* linux_epoll_ctl */
5078 case 255:
5079 switch(ndx) {
5080 case 0:
5081 p = "l_int";
5082 break;
5083 case 1:
5084 p = "l_int";
5085 break;
5086 case 2:
5087 p = "l_int";
5088 break;
5089 case 3:
5090 p = "struct epoll_event *";
5091 break;
5092 default:
5093 break;
5095 break;
5096 /* linux_epoll_wait */
5097 case 256:
5098 switch(ndx) {
5099 case 0:
5100 p = "l_int";
5101 break;
5102 case 1:
5103 p = "struct epoll_event *";
5104 break;
5105 case 2:
5106 p = "l_int";
5107 break;
5108 case 3:
5109 p = "l_int";
5110 break;
5111 default:
5112 break;
5114 break;
5115 /* linux_remap_file_pages */
5116 case 257:
5117 break;
5118 /* linux_set_tid_address */
5119 case 258:
5120 switch(ndx) {
5121 case 0:
5122 p = "int *";
5123 break;
5124 default:
5125 break;
5127 break;
5128 /* linux_timer_create */
5129 case 259:
5130 switch(ndx) {
5131 case 0:
5132 p = "clockid_t";
5133 break;
5134 case 1:
5135 p = "struct sigevent *";
5136 break;
5137 case 2:
5138 p = "l_timer_t *";
5139 break;
5140 default:
5141 break;
5143 break;
5144 /* linux_timer_settime */
5145 case 260:
5146 switch(ndx) {
5147 case 0:
5148 p = "l_timer_t";
5149 break;
5150 case 1:
5151 p = "l_int";
5152 break;
5153 case 2:
5154 p = "const struct itimerspec *";
5155 break;
5156 case 3:
5157 p = "struct itimerspec *";
5158 break;
5159 default:
5160 break;
5162 break;
5163 /* linux_timer_gettime */
5164 case 261:
5165 switch(ndx) {
5166 case 0:
5167 p = "l_timer_t";
5168 break;
5169 case 1:
5170 p = "struct itimerspec *";
5171 break;
5172 default:
5173 break;
5175 break;
5176 /* linux_timer_getoverrun */
5177 case 262:
5178 switch(ndx) {
5179 case 0:
5180 p = "l_timer_t";
5181 break;
5182 default:
5183 break;
5185 break;
5186 /* linux_timer_delete */
5187 case 263:
5188 switch(ndx) {
5189 case 0:
5190 p = "l_timer_t";
5191 break;
5192 default:
5193 break;
5195 break;
5196 /* linux_clock_settime */
5197 case 264:
5198 switch(ndx) {
5199 case 0:
5200 p = "clockid_t";
5201 break;
5202 case 1:
5203 p = "struct l_timespec *";
5204 break;
5205 default:
5206 break;
5208 break;
5209 /* linux_clock_gettime */
5210 case 265:
5211 switch(ndx) {
5212 case 0:
5213 p = "clockid_t";
5214 break;
5215 case 1:
5216 p = "struct l_timespec *";
5217 break;
5218 default:
5219 break;
5221 break;
5222 /* linux_clock_getres */
5223 case 266:
5224 switch(ndx) {
5225 case 0:
5226 p = "clockid_t";
5227 break;
5228 case 1:
5229 p = "struct l_timespec *";
5230 break;
5231 default:
5232 break;
5234 break;
5235 /* linux_clock_nanosleep */
5236 case 267:
5237 switch(ndx) {
5238 case 0:
5239 p = "clockid_t";
5240 break;
5241 case 1:
5242 p = "int";
5243 break;
5244 case 2:
5245 p = "struct l_timespec *";
5246 break;
5247 case 3:
5248 p = "struct l_timespec *";
5249 break;
5250 default:
5251 break;
5253 break;
5254 /* linux_statfs64 */
5255 case 268:
5256 switch(ndx) {
5257 case 0:
5258 p = "char *";
5259 break;
5260 case 1:
5261 p = "size_t";
5262 break;
5263 case 2:
5264 p = "struct l_statfs64_buf *";
5265 break;
5266 default:
5267 break;
5269 break;
5270 /* linux_fstatfs64 */
5271 case 269:
5272 switch(ndx) {
5273 case 0:
5274 p = "l_uint";
5275 break;
5276 case 1:
5277 p = "size_t";
5278 break;
5279 case 2:
5280 p = "struct l_statfs64_buf *";
5281 break;
5282 default:
5283 break;
5285 break;
5286 /* linux_tgkill */
5287 case 270:
5288 switch(ndx) {
5289 case 0:
5290 p = "int";
5291 break;
5292 case 1:
5293 p = "int";
5294 break;
5295 case 2:
5296 p = "int";
5297 break;
5298 default:
5299 break;
5301 break;
5302 /* linux_utimes */
5303 case 271:
5304 switch(ndx) {
5305 case 0:
5306 p = "char *";
5307 break;
5308 case 1:
5309 p = "struct l_timeval *";
5310 break;
5311 default:
5312 break;
5314 break;
5315 /* linux_fadvise64_64 */
5316 case 272:
5317 switch(ndx) {
5318 case 0:
5319 p = "int";
5320 break;
5321 case 1:
5322 p = "l_loff_t";
5323 break;
5324 case 2:
5325 p = "l_loff_t";
5326 break;
5327 case 3:
5328 p = "int";
5329 break;
5330 default:
5331 break;
5333 break;
5334 /* linux_mbind */
5335 case 274:
5336 break;
5337 /* linux_get_mempolicy */
5338 case 275:
5339 break;
5340 /* linux_set_mempolicy */
5341 case 276:
5342 break;
5343 /* linux_mq_open */
5344 case 277:
5345 switch(ndx) {
5346 case 0:
5347 p = "const char *";
5348 break;
5349 case 1:
5350 p = "int";
5351 break;
5352 case 2:
5353 p = "mode_t";
5354 break;
5355 case 3:
5356 p = "struct mq_attr *";
5357 break;
5358 default:
5359 break;
5361 break;
5362 /* linux_mq_unlink */
5363 case 278:
5364 switch(ndx) {
5365 case 0:
5366 p = "const char *";
5367 break;
5368 default:
5369 break;
5371 break;
5372 /* linux_mq_timedsend */
5373 case 279:
5374 switch(ndx) {
5375 case 0:
5376 p = "l_mqd_t";
5377 break;
5378 case 1:
5379 p = "const char *";
5380 break;
5381 case 2:
5382 p = "size_t";
5383 break;
5384 case 3:
5385 p = "unsigned int";
5386 break;
5387 case 4:
5388 p = "const struct l_timespec *";
5389 break;
5390 default:
5391 break;
5393 break;
5394 /* linux_mq_timedreceive */
5395 case 280:
5396 switch(ndx) {
5397 case 0:
5398 p = "l_mqd_t";
5399 break;
5400 case 1:
5401 p = "char *";
5402 break;
5403 case 2:
5404 p = "size_t";
5405 break;
5406 case 3:
5407 p = "unsigned int";
5408 break;
5409 case 4:
5410 p = "const struct l_timespec *";
5411 break;
5412 default:
5413 break;
5415 break;
5416 /* linux_mq_notify */
5417 case 281:
5418 switch(ndx) {
5419 case 0:
5420 p = "l_mqd_t";
5421 break;
5422 case 1:
5423 p = "const struct l_timespec *";
5424 break;
5425 default:
5426 break;
5428 break;
5429 /* linux_mq_getsetattr */
5430 case 282:
5431 switch(ndx) {
5432 case 0:
5433 p = "l_mqd_t";
5434 break;
5435 case 1:
5436 p = "const struct mq_attr *";
5437 break;
5438 case 2:
5439 p = "struct mq_attr *";
5440 break;
5441 default:
5442 break;
5444 break;
5445 /* linux_kexec_load */
5446 case 283:
5447 break;
5448 /* linux_waitid */
5449 case 284:
5450 switch(ndx) {
5451 case 0:
5452 p = "int";
5453 break;
5454 case 1:
5455 p = "l_pid_t";
5456 break;
5457 case 2:
5458 p = "l_siginfo_t *";
5459 break;
5460 case 3:
5461 p = "int";
5462 break;
5463 case 4:
5464 p = "void *";
5465 break;
5466 default:
5467 break;
5469 break;
5470 /* linux_add_key */
5471 case 286:
5472 break;
5473 /* linux_request_key */
5474 case 287:
5475 break;
5476 /* linux_keyctl */
5477 case 288:
5478 break;
5479 /* linux_ioprio_set */
5480 case 289:
5481 break;
5482 /* linux_ioprio_get */
5483 case 290:
5484 break;
5485 /* linux_inotify_init */
5486 case 291:
5487 break;
5488 /* linux_inotify_add_watch */
5489 case 292:
5490 break;
5491 /* linux_inotify_rm_watch */
5492 case 293:
5493 break;
5494 /* linux_migrate_pages */
5495 case 294:
5496 break;
5497 /* linux_openat */
5498 case 295:
5499 switch(ndx) {
5500 case 0:
5501 p = "l_int";
5502 break;
5503 case 1:
5504 p = "const char *";
5505 break;
5506 case 2:
5507 p = "l_int";
5508 break;
5509 case 3:
5510 p = "l_int";
5511 break;
5512 default:
5513 break;
5515 break;
5516 /* linux_mkdirat */
5517 case 296:
5518 switch(ndx) {
5519 case 0:
5520 p = "l_int";
5521 break;
5522 case 1:
5523 p = "const char *";
5524 break;
5525 case 2:
5526 p = "l_int";
5527 break;
5528 default:
5529 break;
5531 break;
5532 /* linux_mknodat */
5533 case 297:
5534 switch(ndx) {
5535 case 0:
5536 p = "l_int";
5537 break;
5538 case 1:
5539 p = "const char *";
5540 break;
5541 case 2:
5542 p = "l_int";
5543 break;
5544 case 3:
5545 p = "l_uint";
5546 break;
5547 default:
5548 break;
5550 break;
5551 /* linux_fchownat */
5552 case 298:
5553 switch(ndx) {
5554 case 0:
5555 p = "l_int";
5556 break;
5557 case 1:
5558 p = "const char *";
5559 break;
5560 case 2:
5561 p = "l_uid16_t";
5562 break;
5563 case 3:
5564 p = "l_gid16_t";
5565 break;
5566 case 4:
5567 p = "l_int";
5568 break;
5569 default:
5570 break;
5572 break;
5573 /* linux_futimesat */
5574 case 299:
5575 switch(ndx) {
5576 case 0:
5577 p = "l_int";
5578 break;
5579 case 1:
5580 p = "char *";
5581 break;
5582 case 2:
5583 p = "struct l_timeval *";
5584 break;
5585 default:
5586 break;
5588 break;
5589 /* linux_fstatat64 */
5590 case 300:
5591 switch(ndx) {
5592 case 0:
5593 p = "l_int";
5594 break;
5595 case 1:
5596 p = "char *";
5597 break;
5598 case 2:
5599 p = "struct l_stat64 *";
5600 break;
5601 case 3:
5602 p = "l_int";
5603 break;
5604 default:
5605 break;
5607 break;
5608 /* linux_unlinkat */
5609 case 301:
5610 switch(ndx) {
5611 case 0:
5612 p = "l_int";
5613 break;
5614 case 1:
5615 p = "const char *";
5616 break;
5617 case 2:
5618 p = "l_int";
5619 break;
5620 default:
5621 break;
5623 break;
5624 /* linux_renameat */
5625 case 302:
5626 switch(ndx) {
5627 case 0:
5628 p = "l_int";
5629 break;
5630 case 1:
5631 p = "const char *";
5632 break;
5633 case 2:
5634 p = "l_int";
5635 break;
5636 case 3:
5637 p = "const char *";
5638 break;
5639 default:
5640 break;
5642 break;
5643 /* linux_linkat */
5644 case 303:
5645 switch(ndx) {
5646 case 0:
5647 p = "l_int";
5648 break;
5649 case 1:
5650 p = "const char *";
5651 break;
5652 case 2:
5653 p = "l_int";
5654 break;
5655 case 3:
5656 p = "const char *";
5657 break;
5658 case 4:
5659 p = "l_int";
5660 break;
5661 default:
5662 break;
5664 break;
5665 /* linux_symlinkat */
5666 case 304:
5667 switch(ndx) {
5668 case 0:
5669 p = "const char *";
5670 break;
5671 case 1:
5672 p = "l_int";
5673 break;
5674 case 2:
5675 p = "const char *";
5676 break;
5677 default:
5678 break;
5680 break;
5681 /* linux_readlinkat */
5682 case 305:
5683 switch(ndx) {
5684 case 0:
5685 p = "l_int";
5686 break;
5687 case 1:
5688 p = "const char *";
5689 break;
5690 case 2:
5691 p = "char *";
5692 break;
5693 case 3:
5694 p = "l_int";
5695 break;
5696 default:
5697 break;
5699 break;
5700 /* linux_fchmodat */
5701 case 306:
5702 switch(ndx) {
5703 case 0:
5704 p = "l_int";
5705 break;
5706 case 1:
5707 p = "const char *";
5708 break;
5709 case 2:
5710 p = "l_mode_t";
5711 break;
5712 default:
5713 break;
5715 break;
5716 /* linux_faccessat */
5717 case 307:
5718 switch(ndx) {
5719 case 0:
5720 p = "l_int";
5721 break;
5722 case 1:
5723 p = "const char *";
5724 break;
5725 case 2:
5726 p = "l_int";
5727 break;
5728 default:
5729 break;
5731 break;
5732 /* linux_pselect6 */
5733 case 308:
5734 switch(ndx) {
5735 case 0:
5736 p = "l_int";
5737 break;
5738 case 1:
5739 p = "l_fd_set *";
5740 break;
5741 case 2:
5742 p = "l_fd_set *";
5743 break;
5744 case 3:
5745 p = "l_fd_set *";
5746 break;
5747 case 4:
5748 p = "struct l_timespec *";
5749 break;
5750 case 5:
5751 p = "l_uintptr_t *";
5752 break;
5753 default:
5754 break;
5756 break;
5757 /* linux_ppoll */
5758 case 309:
5759 switch(ndx) {
5760 case 0:
5761 p = "struct pollfd *";
5762 break;
5763 case 1:
5764 p = "uint32_t";
5765 break;
5766 case 2:
5767 p = "struct l_timespec *";
5768 break;
5769 case 3:
5770 p = "l_sigset_t *";
5771 break;
5772 case 4:
5773 p = "l_size_t";
5774 break;
5775 default:
5776 break;
5778 break;
5779 /* linux_unshare */
5780 case 310:
5781 break;
5782 /* linux_set_robust_list */
5783 case 311:
5784 switch(ndx) {
5785 case 0:
5786 p = "struct linux_robust_list_head *";
5787 break;
5788 case 1:
5789 p = "l_size_t";
5790 break;
5791 default:
5792 break;
5794 break;
5795 /* linux_get_robust_list */
5796 case 312:
5797 switch(ndx) {
5798 case 0:
5799 p = "l_int";
5800 break;
5801 case 1:
5802 p = "struct linux_robust_list_head **";
5803 break;
5804 case 2:
5805 p = "l_size_t *";
5806 break;
5807 default:
5808 break;
5810 break;
5811 /* linux_splice */
5812 case 313:
5813 break;
5814 /* linux_sync_file_range */
5815 case 314:
5816 break;
5817 /* linux_tee */
5818 case 315:
5819 break;
5820 /* linux_vmsplice */
5821 case 316:
5822 break;
5823 /* linux_move_pages */
5824 case 317:
5825 break;
5826 /* linux_getcpu */
5827 case 318:
5828 break;
5829 /* linux_epoll_pwait */
5830 case 319:
5831 switch(ndx) {
5832 case 0:
5833 p = "l_int";
5834 break;
5835 case 1:
5836 p = "struct epoll_event *";
5837 break;
5838 case 2:
5839 p = "l_int";
5840 break;
5841 case 3:
5842 p = "l_int";
5843 break;
5844 case 4:
5845 p = "l_sigset_t *";
5846 break;
5847 default:
5848 break;
5850 break;
5851 /* linux_utimensat */
5852 case 320:
5853 switch(ndx) {
5854 case 0:
5855 p = "l_int";
5856 break;
5857 case 1:
5858 p = "const char *";
5859 break;
5860 case 2:
5861 p = "const struct l_timespec *";
5862 break;
5863 case 3:
5864 p = "l_int";
5865 break;
5866 default:
5867 break;
5869 break;
5870 /* linux_signalfd */
5871 case 321:
5872 break;
5873 /* linux_timerfd_create */
5874 case 322:
5875 break;
5876 /* linux_eventfd */
5877 case 323:
5878 switch(ndx) {
5879 case 0:
5880 p = "l_uint";
5881 break;
5882 default:
5883 break;
5885 break;
5886 /* linux_fallocate */
5887 case 324:
5888 switch(ndx) {
5889 case 0:
5890 p = "l_int";
5891 break;
5892 case 1:
5893 p = "l_int";
5894 break;
5895 case 2:
5896 p = "l_loff_t";
5897 break;
5898 case 3:
5899 p = "l_loff_t";
5900 break;
5901 default:
5902 break;
5904 break;
5905 /* linux_timerfd_settime */
5906 case 325:
5907 break;
5908 /* linux_timerfd_gettime */
5909 case 326:
5910 break;
5911 /* linux_signalfd4 */
5912 case 327:
5913 break;
5914 /* linux_eventfd2 */
5915 case 328:
5916 switch(ndx) {
5917 case 0:
5918 p = "l_uint";
5919 break;
5920 case 1:
5921 p = "l_int";
5922 break;
5923 default:
5924 break;
5926 break;
5927 /* linux_epoll_create1 */
5928 case 329:
5929 switch(ndx) {
5930 case 0:
5931 p = "l_int";
5932 break;
5933 default:
5934 break;
5936 break;
5937 /* linux_dup3 */
5938 case 330:
5939 switch(ndx) {
5940 case 0:
5941 p = "l_int";
5942 break;
5943 case 1:
5944 p = "l_int";
5945 break;
5946 case 2:
5947 p = "l_int";
5948 break;
5949 default:
5950 break;
5952 break;
5953 /* linux_pipe2 */
5954 case 331:
5955 switch(ndx) {
5956 case 0:
5957 p = "l_int *";
5958 break;
5959 case 1:
5960 p = "l_int";
5961 break;
5962 default:
5963 break;
5965 break;
5966 /* linux_inotify_init1 */
5967 case 332:
5968 break;
5969 /* linux_preadv */
5970 case 333:
5971 break;
5972 /* linux_pwritev */
5973 case 334:
5974 break;
5975 /* linux_rt_tsigqueueinfo */
5976 case 335:
5977 break;
5978 /* linux_perf_event_open */
5979 case 336:
5980 break;
5981 /* linux_recvmmsg */
5982 case 337:
5983 switch(ndx) {
5984 case 0:
5985 p = "l_int";
5986 break;
5987 case 1:
5988 p = "struct l_mmsghdr *";
5989 break;
5990 case 2:
5991 p = "l_uint";
5992 break;
5993 case 3:
5994 p = "l_uint";
5995 break;
5996 case 4:
5997 p = "struct l_timespec *";
5998 break;
5999 default:
6000 break;
6002 break;
6003 /* linux_fanotify_init */
6004 case 338:
6005 break;
6006 /* linux_fanotify_mark */
6007 case 339:
6008 break;
6009 /* linux_prlimit64 */
6010 case 340:
6011 switch(ndx) {
6012 case 0:
6013 p = "l_pid_t";
6014 break;
6015 case 1:
6016 p = "l_uint";
6017 break;
6018 case 2:
6019 p = "struct rlimit *";
6020 break;
6021 case 3:
6022 p = "struct rlimit *";
6023 break;
6024 default:
6025 break;
6027 break;
6028 /* linux_name_to_handle_at */
6029 case 341:
6030 break;
6031 /* linux_open_by_handle_at */
6032 case 342:
6033 break;
6034 /* linux_clock_adjtime */
6035 case 343:
6036 break;
6037 /* linux_syncfs */
6038 case 344:
6039 switch(ndx) {
6040 case 0:
6041 p = "l_int";
6042 break;
6043 default:
6044 break;
6046 break;
6047 /* linux_sendmmsg */
6048 case 345:
6049 switch(ndx) {
6050 case 0:
6051 p = "l_int";
6052 break;
6053 case 1:
6054 p = "struct l_mmsghdr *";
6055 break;
6056 case 2:
6057 p = "l_uint";
6058 break;
6059 case 3:
6060 p = "l_uint";
6061 break;
6062 default:
6063 break;
6065 break;
6066 /* linux_setns */
6067 case 346:
6068 break;
6069 /* linux_process_vm_readv */
6070 case 347:
6071 break;
6072 /* linux_process_vm_writev */
6073 case 348:
6074 break;
6075 default:
6076 break;
6078 if (p != NULL)
6079 strlcpy(desc, p, descsz);
6081 static void
6082 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
6084 const char *p = NULL;
6085 switch (sysnum) {
6086 #define nosys linux_nosys
6087 /* linux_exit */
6088 case 1:
6089 if (ndx == 0 || ndx == 1)
6090 p = "void";
6091 break;
6092 /* linux_fork */
6093 case 2:
6094 /* read */
6095 case 3:
6096 if (ndx == 0 || ndx == 1)
6097 p = "int";
6098 break;
6099 /* write */
6100 case 4:
6101 if (ndx == 0 || ndx == 1)
6102 p = "int";
6103 break;
6104 /* linux_open */
6105 case 5:
6106 if (ndx == 0 || ndx == 1)
6107 p = "int";
6108 break;
6109 /* close */
6110 case 6:
6111 if (ndx == 0 || ndx == 1)
6112 p = "int";
6113 break;
6114 /* linux_waitpid */
6115 case 7:
6116 if (ndx == 0 || ndx == 1)
6117 p = "int";
6118 break;
6119 /* linux_creat */
6120 case 8:
6121 if (ndx == 0 || ndx == 1)
6122 p = "int";
6123 break;
6124 /* linux_link */
6125 case 9:
6126 if (ndx == 0 || ndx == 1)
6127 p = "int";
6128 break;
6129 /* linux_unlink */
6130 case 10:
6131 if (ndx == 0 || ndx == 1)
6132 p = "int";
6133 break;
6134 /* linux_execve */
6135 case 11:
6136 if (ndx == 0 || ndx == 1)
6137 p = "int";
6138 break;
6139 /* linux_chdir */
6140 case 12:
6141 if (ndx == 0 || ndx == 1)
6142 p = "int";
6143 break;
6144 /* linux_time */
6145 case 13:
6146 if (ndx == 0 || ndx == 1)
6147 p = "int";
6148 break;
6149 /* linux_mknod */
6150 case 14:
6151 if (ndx == 0 || ndx == 1)
6152 p = "int";
6153 break;
6154 /* linux_chmod */
6155 case 15:
6156 if (ndx == 0 || ndx == 1)
6157 p = "int";
6158 break;
6159 /* linux_lchown16 */
6160 case 16:
6161 if (ndx == 0 || ndx == 1)
6162 p = "int";
6163 break;
6164 /* linux_stat */
6165 case 18:
6166 if (ndx == 0 || ndx == 1)
6167 p = "int";
6168 break;
6169 /* linux_lseek */
6170 case 19:
6171 if (ndx == 0 || ndx == 1)
6172 p = "int";
6173 break;
6174 /* linux_getpid */
6175 case 20:
6176 /* linux_mount */
6177 case 21:
6178 if (ndx == 0 || ndx == 1)
6179 p = "int";
6180 break;
6181 /* linux_oldumount */
6182 case 22:
6183 if (ndx == 0 || ndx == 1)
6184 p = "int";
6185 break;
6186 /* linux_setuid16 */
6187 case 23:
6188 if (ndx == 0 || ndx == 1)
6189 p = "int";
6190 break;
6191 /* linux_getuid16 */
6192 case 24:
6193 /* linux_stime */
6194 case 25:
6195 /* linux_ptrace */
6196 case 26:
6197 if (ndx == 0 || ndx == 1)
6198 p = "int";
6199 break;
6200 /* linux_alarm */
6201 case 27:
6202 if (ndx == 0 || ndx == 1)
6203 p = "int";
6204 break;
6205 /* linux_fstat */
6206 case 28:
6207 if (ndx == 0 || ndx == 1)
6208 p = "int";
6209 break;
6210 /* linux_pause */
6211 case 29:
6212 /* linux_utime */
6213 case 30:
6214 if (ndx == 0 || ndx == 1)
6215 p = "int";
6216 break;
6217 /* linux_access */
6218 case 33:
6219 if (ndx == 0 || ndx == 1)
6220 p = "int";
6221 break;
6222 /* linux_nice */
6223 case 34:
6224 if (ndx == 0 || ndx == 1)
6225 p = "int";
6226 break;
6227 /* sync */
6228 case 36:
6229 /* linux_kill */
6230 case 37:
6231 if (ndx == 0 || ndx == 1)
6232 p = "int";
6233 break;
6234 /* linux_rename */
6235 case 38:
6236 if (ndx == 0 || ndx == 1)
6237 p = "int";
6238 break;
6239 /* linux_mkdir */
6240 case 39:
6241 if (ndx == 0 || ndx == 1)
6242 p = "int";
6243 break;
6244 /* linux_rmdir */
6245 case 40:
6246 if (ndx == 0 || ndx == 1)
6247 p = "int";
6248 break;
6249 /* dup */
6250 case 41:
6251 if (ndx == 0 || ndx == 1)
6252 p = "int";
6253 break;
6254 /* linux_pipe */
6255 case 42:
6256 if (ndx == 0 || ndx == 1)
6257 p = "int";
6258 break;
6259 /* linux_times */
6260 case 43:
6261 if (ndx == 0 || ndx == 1)
6262 p = "int";
6263 break;
6264 /* linux_brk */
6265 case 45:
6266 if (ndx == 0 || ndx == 1)
6267 p = "int";
6268 break;
6269 /* linux_setgid16 */
6270 case 46:
6271 if (ndx == 0 || ndx == 1)
6272 p = "int";
6273 break;
6274 /* linux_getgid16 */
6275 case 47:
6276 /* linux_signal */
6277 case 48:
6278 if (ndx == 0 || ndx == 1)
6279 p = "int";
6280 break;
6281 /* linux_geteuid16 */
6282 case 49:
6283 /* linux_getegid16 */
6284 case 50:
6285 /* acct */
6286 case 51:
6287 if (ndx == 0 || ndx == 1)
6288 p = "int";
6289 break;
6290 /* linux_umount */
6291 case 52:
6292 if (ndx == 0 || ndx == 1)
6293 p = "int";
6294 break;
6295 /* linux_ioctl */
6296 case 54:
6297 if (ndx == 0 || ndx == 1)
6298 p = "int";
6299 break;
6300 /* linux_fcntl */
6301 case 55:
6302 if (ndx == 0 || ndx == 1)
6303 p = "int";
6304 break;
6305 /* setpgid */
6306 case 57:
6307 if (ndx == 0 || ndx == 1)
6308 p = "int";
6309 break;
6310 /* linux_olduname */
6311 case 59:
6312 /* umask */
6313 case 60:
6314 if (ndx == 0 || ndx == 1)
6315 p = "int";
6316 break;
6317 /* chroot */
6318 case 61:
6319 if (ndx == 0 || ndx == 1)
6320 p = "int";
6321 break;
6322 /* linux_ustat */
6323 case 62:
6324 if (ndx == 0 || ndx == 1)
6325 p = "int";
6326 break;
6327 /* dup2 */
6328 case 63:
6329 if (ndx == 0 || ndx == 1)
6330 p = "int";
6331 break;
6332 /* linux_getppid */
6333 case 64:
6334 /* getpgrp */
6335 case 65:
6336 /* setsid */
6337 case 66:
6338 /* linux_sigaction */
6339 case 67:
6340 if (ndx == 0 || ndx == 1)
6341 p = "int";
6342 break;
6343 /* linux_sgetmask */
6344 case 68:
6345 /* linux_ssetmask */
6346 case 69:
6347 if (ndx == 0 || ndx == 1)
6348 p = "int";
6349 break;
6350 /* linux_setreuid16 */
6351 case 70:
6352 if (ndx == 0 || ndx == 1)
6353 p = "int";
6354 break;
6355 /* linux_setregid16 */
6356 case 71:
6357 if (ndx == 0 || ndx == 1)
6358 p = "int";
6359 break;
6360 /* linux_sigsuspend */
6361 case 72:
6362 if (ndx == 0 || ndx == 1)
6363 p = "int";
6364 break;
6365 /* linux_sigpending */
6366 case 73:
6367 if (ndx == 0 || ndx == 1)
6368 p = "int";
6369 break;
6370 /* linux_sethostname */
6371 case 74:
6372 if (ndx == 0 || ndx == 1)
6373 p = "int";
6374 break;
6375 /* linux_setrlimit */
6376 case 75:
6377 if (ndx == 0 || ndx == 1)
6378 p = "int";
6379 break;
6380 /* linux_old_getrlimit */
6381 case 76:
6382 if (ndx == 0 || ndx == 1)
6383 p = "int";
6384 break;
6385 /* getrusage */
6386 case 77:
6387 if (ndx == 0 || ndx == 1)
6388 p = "int";
6389 break;
6390 /* gettimeofday */
6391 case 78:
6392 if (ndx == 0 || ndx == 1)
6393 p = "int";
6394 break;
6395 /* settimeofday */
6396 case 79:
6397 if (ndx == 0 || ndx == 1)
6398 p = "int";
6399 break;
6400 /* linux_getgroups16 */
6401 case 80:
6402 if (ndx == 0 || ndx == 1)
6403 p = "int";
6404 break;
6405 /* linux_setgroups16 */
6406 case 81:
6407 if (ndx == 0 || ndx == 1)
6408 p = "int";
6409 break;
6410 /* linux_old_select */
6411 case 82:
6412 if (ndx == 0 || ndx == 1)
6413 p = "int";
6414 break;
6415 /* linux_symlink */
6416 case 83:
6417 if (ndx == 0 || ndx == 1)
6418 p = "int";
6419 break;
6420 /* linux_lstat */
6421 case 84:
6422 if (ndx == 0 || ndx == 1)
6423 p = "int";
6424 break;
6425 /* linux_readlink */
6426 case 85:
6427 if (ndx == 0 || ndx == 1)
6428 p = "int";
6429 break;
6430 /* linux_uselib */
6431 case 86:
6432 if (ndx == 0 || ndx == 1)
6433 p = "int";
6434 break;
6435 /* swapon */
6436 case 87:
6437 if (ndx == 0 || ndx == 1)
6438 p = "int";
6439 break;
6440 /* linux_reboot */
6441 case 88:
6442 if (ndx == 0 || ndx == 1)
6443 p = "int";
6444 break;
6445 /* linux_readdir */
6446 case 89:
6447 if (ndx == 0 || ndx == 1)
6448 p = "int";
6449 break;
6450 /* linux_mmap */
6451 case 90:
6452 if (ndx == 0 || ndx == 1)
6453 p = "int";
6454 break;
6455 /* munmap */
6456 case 91:
6457 if (ndx == 0 || ndx == 1)
6458 p = "int";
6459 break;
6460 /* linux_truncate */
6461 case 92:
6462 if (ndx == 0 || ndx == 1)
6463 p = "int";
6464 break;
6465 /* linux_ftruncate */
6466 case 93:
6467 if (ndx == 0 || ndx == 1)
6468 p = "int";
6469 break;
6470 /* fchmod */
6471 case 94:
6472 if (ndx == 0 || ndx == 1)
6473 p = "int";
6474 break;
6475 /* fchown */
6476 case 95:
6477 if (ndx == 0 || ndx == 1)
6478 p = "int";
6479 break;
6480 /* linux_getpriority */
6481 case 96:
6482 if (ndx == 0 || ndx == 1)
6483 p = "int";
6484 break;
6485 /* setpriority */
6486 case 97:
6487 if (ndx == 0 || ndx == 1)
6488 p = "int";
6489 break;
6490 /* linux_statfs */
6491 case 99:
6492 if (ndx == 0 || ndx == 1)
6493 p = "int";
6494 break;
6495 /* linux_fstatfs */
6496 case 100:
6497 if (ndx == 0 || ndx == 1)
6498 p = "int";
6499 break;
6500 /* linux_ioperm */
6501 case 101:
6502 if (ndx == 0 || ndx == 1)
6503 p = "int";
6504 break;
6505 /* linux_socketcall */
6506 case 102:
6507 if (ndx == 0 || ndx == 1)
6508 p = "int";
6509 break;
6510 /* linux_syslog */
6511 case 103:
6512 if (ndx == 0 || ndx == 1)
6513 p = "int";
6514 break;
6515 /* linux_setitimer */
6516 case 104:
6517 if (ndx == 0 || ndx == 1)
6518 p = "int";
6519 break;
6520 /* linux_getitimer */
6521 case 105:
6522 if (ndx == 0 || ndx == 1)
6523 p = "int";
6524 break;
6525 /* linux_newstat */
6526 case 106:
6527 if (ndx == 0 || ndx == 1)
6528 p = "int";
6529 break;
6530 /* linux_newlstat */
6531 case 107:
6532 if (ndx == 0 || ndx == 1)
6533 p = "int";
6534 break;
6535 /* linux_newfstat */
6536 case 108:
6537 if (ndx == 0 || ndx == 1)
6538 p = "int";
6539 break;
6540 /* linux_uname */
6541 case 109:
6542 /* linux_iopl */
6543 case 110:
6544 if (ndx == 0 || ndx == 1)
6545 p = "int";
6546 break;
6547 /* linux_vhangup */
6548 case 111:
6549 /* linux_vm86old */
6550 case 113:
6551 /* linux_wait4 */
6552 case 114:
6553 if (ndx == 0 || ndx == 1)
6554 p = "int";
6555 break;
6556 /* linux_swapoff */
6557 case 115:
6558 /* linux_sysinfo */
6559 case 116:
6560 if (ndx == 0 || ndx == 1)
6561 p = "int";
6562 break;
6563 /* linux_ipc */
6564 case 117:
6565 if (ndx == 0 || ndx == 1)
6566 p = "int";
6567 break;
6568 /* fsync */
6569 case 118:
6570 if (ndx == 0 || ndx == 1)
6571 p = "int";
6572 break;
6573 /* linux_sigreturn */
6574 case 119:
6575 if (ndx == 0 || ndx == 1)
6576 p = "int";
6577 break;
6578 /* linux_clone */
6579 case 120:
6580 if (ndx == 0 || ndx == 1)
6581 p = "int";
6582 break;
6583 /* linux_setdomainname */
6584 case 121:
6585 if (ndx == 0 || ndx == 1)
6586 p = "int";
6587 break;
6588 /* linux_newuname */
6589 case 122:
6590 if (ndx == 0 || ndx == 1)
6591 p = "int";
6592 break;
6593 /* linux_modify_ldt */
6594 case 123:
6595 if (ndx == 0 || ndx == 1)
6596 p = "int";
6597 break;
6598 /* linux_adjtimex */
6599 case 124:
6600 /* linux_mprotect */
6601 case 125:
6602 if (ndx == 0 || ndx == 1)
6603 p = "int";
6604 break;
6605 /* linux_sigprocmask */
6606 case 126:
6607 if (ndx == 0 || ndx == 1)
6608 p = "int";
6609 break;
6610 /* linux_create_module */
6611 case 127:
6612 /* linux_init_module */
6613 case 128:
6614 /* linux_delete_module */
6615 case 129:
6616 /* linux_get_kernel_syms */
6617 case 130:
6618 /* linux_quotactl */
6619 case 131:
6620 /* getpgid */
6621 case 132:
6622 if (ndx == 0 || ndx == 1)
6623 p = "int";
6624 break;
6625 /* fchdir */
6626 case 133:
6627 if (ndx == 0 || ndx == 1)
6628 p = "int";
6629 break;
6630 /* linux_bdflush */
6631 case 134:
6632 /* linux_sysfs */
6633 case 135:
6634 if (ndx == 0 || ndx == 1)
6635 p = "int";
6636 break;
6637 /* linux_personality */
6638 case 136:
6639 if (ndx == 0 || ndx == 1)
6640 p = "int";
6641 break;
6642 /* linux_setfsuid16 */
6643 case 138:
6644 if (ndx == 0 || ndx == 1)
6645 p = "int";
6646 break;
6647 /* linux_setfsgid16 */
6648 case 139:
6649 if (ndx == 0 || ndx == 1)
6650 p = "int";
6651 break;
6652 /* linux_llseek */
6653 case 140:
6654 if (ndx == 0 || ndx == 1)
6655 p = "int";
6656 break;
6657 /* linux_getdents */
6658 case 141:
6659 if (ndx == 0 || ndx == 1)
6660 p = "int";
6661 break;
6662 /* linux_select */
6663 case 142:
6664 if (ndx == 0 || ndx == 1)
6665 p = "int";
6666 break;
6667 /* flock */
6668 case 143:
6669 if (ndx == 0 || ndx == 1)
6670 p = "int";
6671 break;
6672 /* linux_msync */
6673 case 144:
6674 if (ndx == 0 || ndx == 1)
6675 p = "int";
6676 break;
6677 /* readv */
6678 case 145:
6679 if (ndx == 0 || ndx == 1)
6680 p = "int";
6681 break;
6682 /* writev */
6683 case 146:
6684 if (ndx == 0 || ndx == 1)
6685 p = "int";
6686 break;
6687 /* linux_getsid */
6688 case 147:
6689 if (ndx == 0 || ndx == 1)
6690 p = "int";
6691 break;
6692 /* linux_fdatasync */
6693 case 148:
6694 if (ndx == 0 || ndx == 1)
6695 p = "int";
6696 break;
6697 /* linux_sysctl */
6698 case 149:
6699 if (ndx == 0 || ndx == 1)
6700 p = "int";
6701 break;
6702 /* mlock */
6703 case 150:
6704 if (ndx == 0 || ndx == 1)
6705 p = "int";
6706 break;
6707 /* munlock */
6708 case 151:
6709 if (ndx == 0 || ndx == 1)
6710 p = "int";
6711 break;
6712 /* mlockall */
6713 case 152:
6714 if (ndx == 0 || ndx == 1)
6715 p = "int";
6716 break;
6717 /* munlockall */
6718 case 153:
6719 /* linux_sched_setparam */
6720 case 154:
6721 if (ndx == 0 || ndx == 1)
6722 p = "int";
6723 break;
6724 /* linux_sched_getparam */
6725 case 155:
6726 if (ndx == 0 || ndx == 1)
6727 p = "int";
6728 break;
6729 /* linux_sched_setscheduler */
6730 case 156:
6731 if (ndx == 0 || ndx == 1)
6732 p = "int";
6733 break;
6734 /* linux_sched_getscheduler */
6735 case 157:
6736 if (ndx == 0 || ndx == 1)
6737 p = "int";
6738 break;
6739 /* sched_yield */
6740 case 158:
6741 /* linux_sched_get_priority_max */
6742 case 159:
6743 if (ndx == 0 || ndx == 1)
6744 p = "int";
6745 break;
6746 /* linux_sched_get_priority_min */
6747 case 160:
6748 if (ndx == 0 || ndx == 1)
6749 p = "int";
6750 break;
6751 /* linux_sched_rr_get_interval */
6752 case 161:
6753 if (ndx == 0 || ndx == 1)
6754 p = "int";
6755 break;
6756 /* linux_nanosleep */
6757 case 162:
6758 if (ndx == 0 || ndx == 1)
6759 p = "int";
6760 break;
6761 /* linux_mremap */
6762 case 163:
6763 if (ndx == 0 || ndx == 1)
6764 p = "int";
6765 break;
6766 /* linux_setresuid16 */
6767 case 164:
6768 if (ndx == 0 || ndx == 1)
6769 p = "int";
6770 break;
6771 /* linux_getresuid16 */
6772 case 165:
6773 if (ndx == 0 || ndx == 1)
6774 p = "int";
6775 break;
6776 /* linux_vm86 */
6777 case 166:
6778 /* linux_query_module */
6779 case 167:
6780 /* poll */
6781 case 168:
6782 if (ndx == 0 || ndx == 1)
6783 p = "int";
6784 break;
6785 /* linux_nfsservctl */
6786 case 169:
6787 /* linux_setresgid16 */
6788 case 170:
6789 if (ndx == 0 || ndx == 1)
6790 p = "int";
6791 break;
6792 /* linux_getresgid16 */
6793 case 171:
6794 if (ndx == 0 || ndx == 1)
6795 p = "int";
6796 break;
6797 /* linux_prctl */
6798 case 172:
6799 if (ndx == 0 || ndx == 1)
6800 p = "int";
6801 break;
6802 /* linux_rt_sigreturn */
6803 case 173:
6804 if (ndx == 0 || ndx == 1)
6805 p = "int";
6806 break;
6807 /* linux_rt_sigaction */
6808 case 174:
6809 if (ndx == 0 || ndx == 1)
6810 p = "int";
6811 break;
6812 /* linux_rt_sigprocmask */
6813 case 175:
6814 if (ndx == 0 || ndx == 1)
6815 p = "int";
6816 break;
6817 /* linux_rt_sigpending */
6818 case 176:
6819 if (ndx == 0 || ndx == 1)
6820 p = "int";
6821 break;
6822 /* linux_rt_sigtimedwait */
6823 case 177:
6824 if (ndx == 0 || ndx == 1)
6825 p = "int";
6826 break;
6827 /* linux_rt_sigqueueinfo */
6828 case 178:
6829 if (ndx == 0 || ndx == 1)
6830 p = "int";
6831 break;
6832 /* linux_rt_sigsuspend */
6833 case 179:
6834 if (ndx == 0 || ndx == 1)
6835 p = "int";
6836 break;
6837 /* linux_pread */
6838 case 180:
6839 if (ndx == 0 || ndx == 1)
6840 p = "int";
6841 break;
6842 /* linux_pwrite */
6843 case 181:
6844 if (ndx == 0 || ndx == 1)
6845 p = "int";
6846 break;
6847 /* linux_chown16 */
6848 case 182:
6849 if (ndx == 0 || ndx == 1)
6850 p = "int";
6851 break;
6852 /* linux_getcwd */
6853 case 183:
6854 if (ndx == 0 || ndx == 1)
6855 p = "int";
6856 break;
6857 /* linux_capget */
6858 case 184:
6859 if (ndx == 0 || ndx == 1)
6860 p = "int";
6861 break;
6862 /* linux_capset */
6863 case 185:
6864 if (ndx == 0 || ndx == 1)
6865 p = "int";
6866 break;
6867 /* linux_sigaltstack */
6868 case 186:
6869 if (ndx == 0 || ndx == 1)
6870 p = "int";
6871 break;
6872 /* linux_sendfile */
6873 case 187:
6874 /* linux_vfork */
6875 case 190:
6876 /* linux_getrlimit */
6877 case 191:
6878 if (ndx == 0 || ndx == 1)
6879 p = "int";
6880 break;
6881 /* linux_mmap2 */
6882 case 192:
6883 if (ndx == 0 || ndx == 1)
6884 p = "int";
6885 break;
6886 /* linux_truncate64 */
6887 case 193:
6888 if (ndx == 0 || ndx == 1)
6889 p = "int";
6890 break;
6891 /* linux_ftruncate64 */
6892 case 194:
6893 if (ndx == 0 || ndx == 1)
6894 p = "int";
6895 break;
6896 /* linux_stat64 */
6897 case 195:
6898 if (ndx == 0 || ndx == 1)
6899 p = "int";
6900 break;
6901 /* linux_lstat64 */
6902 case 196:
6903 if (ndx == 0 || ndx == 1)
6904 p = "int";
6905 break;
6906 /* linux_fstat64 */
6907 case 197:
6908 if (ndx == 0 || ndx == 1)
6909 p = "int";
6910 break;
6911 /* linux_lchown */
6912 case 198:
6913 if (ndx == 0 || ndx == 1)
6914 p = "int";
6915 break;
6916 /* linux_getuid */
6917 case 199:
6918 /* linux_getgid */
6919 case 200:
6920 /* geteuid */
6921 case 201:
6922 /* getegid */
6923 case 202:
6924 /* setreuid */
6925 case 203:
6926 if (ndx == 0 || ndx == 1)
6927 p = "int";
6928 break;
6929 /* setregid */
6930 case 204:
6931 if (ndx == 0 || ndx == 1)
6932 p = "int";
6933 break;
6934 /* linux_getgroups */
6935 case 205:
6936 if (ndx == 0 || ndx == 1)
6937 p = "int";
6938 break;
6939 /* linux_setgroups */
6940 case 206:
6941 if (ndx == 0 || ndx == 1)
6942 p = "int";
6943 break;
6944 /* fchown */
6945 case 207:
6946 /* setresuid */
6947 case 208:
6948 if (ndx == 0 || ndx == 1)
6949 p = "int";
6950 break;
6951 /* getresuid */
6952 case 209:
6953 if (ndx == 0 || ndx == 1)
6954 p = "int";
6955 break;
6956 /* setresgid */
6957 case 210:
6958 if (ndx == 0 || ndx == 1)
6959 p = "int";
6960 break;
6961 /* getresgid */
6962 case 211:
6963 if (ndx == 0 || ndx == 1)
6964 p = "int";
6965 break;
6966 /* linux_chown */
6967 case 212:
6968 if (ndx == 0 || ndx == 1)
6969 p = "int";
6970 break;
6971 /* setuid */
6972 case 213:
6973 if (ndx == 0 || ndx == 1)
6974 p = "int";
6975 break;
6976 /* setgid */
6977 case 214:
6978 if (ndx == 0 || ndx == 1)
6979 p = "int";
6980 break;
6981 /* linux_setfsuid */
6982 case 215:
6983 if (ndx == 0 || ndx == 1)
6984 p = "int";
6985 break;
6986 /* linux_setfsgid */
6987 case 216:
6988 if (ndx == 0 || ndx == 1)
6989 p = "int";
6990 break;
6991 /* linux_pivot_root */
6992 case 217:
6993 if (ndx == 0 || ndx == 1)
6994 p = "int";
6995 break;
6996 /* linux_mincore */
6997 case 218:
6998 if (ndx == 0 || ndx == 1)
6999 p = "int";
7000 break;
7001 /* madvise */
7002 case 219:
7003 if (ndx == 0 || ndx == 1)
7004 p = "int";
7005 break;
7006 /* linux_getdents64 */
7007 case 220:
7008 if (ndx == 0 || ndx == 1)
7009 p = "int";
7010 break;
7011 /* linux_fcntl64 */
7012 case 221:
7013 if (ndx == 0 || ndx == 1)
7014 p = "int";
7015 break;
7016 /* linux_gettid */
7017 case 224:
7018 /* linux_setxattr */
7019 case 226:
7020 /* linux_lsetxattr */
7021 case 227:
7022 /* linux_fsetxattr */
7023 case 228:
7024 /* linux_getxattr */
7025 case 229:
7026 /* linux_lgetxattr */
7027 case 230:
7028 /* linux_fgetxattr */
7029 case 231:
7030 /* linux_listxattr */
7031 case 232:
7032 /* linux_llistxattr */
7033 case 233:
7034 /* linux_flistxattr */
7035 case 234:
7036 /* linux_removexattr */
7037 case 235:
7038 /* linux_lremovexattr */
7039 case 236:
7040 /* linux_fremovexattr */
7041 case 237:
7042 /* linux_tkill */
7043 case 238:
7044 if (ndx == 0 || ndx == 1)
7045 p = "int";
7046 break;
7047 /* linux_sys_futex */
7048 case 240:
7049 if (ndx == 0 || ndx == 1)
7050 p = "int";
7051 break;
7052 /* linux_sched_setaffinity */
7053 case 241:
7054 if (ndx == 0 || ndx == 1)
7055 p = "int";
7056 break;
7057 /* linux_sched_getaffinity */
7058 case 242:
7059 if (ndx == 0 || ndx == 1)
7060 p = "int";
7061 break;
7062 /* linux_set_thread_area */
7063 case 243:
7064 if (ndx == 0 || ndx == 1)
7065 p = "int";
7066 break;
7067 /* linux_get_thread_area */
7068 case 244:
7069 if (ndx == 0 || ndx == 1)
7070 p = "int";
7071 break;
7072 /* linux_fadvise64 */
7073 case 250:
7074 if (ndx == 0 || ndx == 1)
7075 p = "int";
7076 break;
7077 /* linux_exit_group */
7078 case 252:
7079 if (ndx == 0 || ndx == 1)
7080 p = "int";
7081 break;
7082 /* linux_lookup_dcookie */
7083 case 253:
7084 /* linux_epoll_create */
7085 case 254:
7086 if (ndx == 0 || ndx == 1)
7087 p = "int";
7088 break;
7089 /* linux_epoll_ctl */
7090 case 255:
7091 if (ndx == 0 || ndx == 1)
7092 p = "int";
7093 break;
7094 /* linux_epoll_wait */
7095 case 256:
7096 if (ndx == 0 || ndx == 1)
7097 p = "int";
7098 break;
7099 /* linux_remap_file_pages */
7100 case 257:
7101 /* linux_set_tid_address */
7102 case 258:
7103 if (ndx == 0 || ndx == 1)
7104 p = "int";
7105 break;
7106 /* linux_timer_create */
7107 case 259:
7108 if (ndx == 0 || ndx == 1)
7109 p = "int";
7110 break;
7111 /* linux_timer_settime */
7112 case 260:
7113 if (ndx == 0 || ndx == 1)
7114 p = "int";
7115 break;
7116 /* linux_timer_gettime */
7117 case 261:
7118 if (ndx == 0 || ndx == 1)
7119 p = "int";
7120 break;
7121 /* linux_timer_getoverrun */
7122 case 262:
7123 if (ndx == 0 || ndx == 1)
7124 p = "int";
7125 break;
7126 /* linux_timer_delete */
7127 case 263:
7128 if (ndx == 0 || ndx == 1)
7129 p = "int";
7130 break;
7131 /* linux_clock_settime */
7132 case 264:
7133 if (ndx == 0 || ndx == 1)
7134 p = "int";
7135 break;
7136 /* linux_clock_gettime */
7137 case 265:
7138 if (ndx == 0 || ndx == 1)
7139 p = "int";
7140 break;
7141 /* linux_clock_getres */
7142 case 266:
7143 if (ndx == 0 || ndx == 1)
7144 p = "int";
7145 break;
7146 /* linux_clock_nanosleep */
7147 case 267:
7148 if (ndx == 0 || ndx == 1)
7149 p = "int";
7150 break;
7151 /* linux_statfs64 */
7152 case 268:
7153 if (ndx == 0 || ndx == 1)
7154 p = "int";
7155 break;
7156 /* linux_fstatfs64 */
7157 case 269:
7158 if (ndx == 0 || ndx == 1)
7159 p = "int";
7160 break;
7161 /* linux_tgkill */
7162 case 270:
7163 if (ndx == 0 || ndx == 1)
7164 p = "int";
7165 break;
7166 /* linux_utimes */
7167 case 271:
7168 if (ndx == 0 || ndx == 1)
7169 p = "int";
7170 break;
7171 /* linux_fadvise64_64 */
7172 case 272:
7173 if (ndx == 0 || ndx == 1)
7174 p = "int";
7175 break;
7176 /* linux_mbind */
7177 case 274:
7178 /* linux_get_mempolicy */
7179 case 275:
7180 /* linux_set_mempolicy */
7181 case 276:
7182 /* linux_mq_open */
7183 case 277:
7184 if (ndx == 0 || ndx == 1)
7185 p = "int";
7186 break;
7187 /* linux_mq_unlink */
7188 case 278:
7189 if (ndx == 0 || ndx == 1)
7190 p = "int";
7191 break;
7192 /* linux_mq_timedsend */
7193 case 279:
7194 if (ndx == 0 || ndx == 1)
7195 p = "int";
7196 break;
7197 /* linux_mq_timedreceive */
7198 case 280:
7199 if (ndx == 0 || ndx == 1)
7200 p = "int";
7201 break;
7202 /* linux_mq_notify */
7203 case 281:
7204 if (ndx == 0 || ndx == 1)
7205 p = "int";
7206 break;
7207 /* linux_mq_getsetattr */
7208 case 282:
7209 if (ndx == 0 || ndx == 1)
7210 p = "int";
7211 break;
7212 /* linux_kexec_load */
7213 case 283:
7214 /* linux_waitid */
7215 case 284:
7216 if (ndx == 0 || ndx == 1)
7217 p = "int";
7218 break;
7219 /* linux_add_key */
7220 case 286:
7221 /* linux_request_key */
7222 case 287:
7223 /* linux_keyctl */
7224 case 288:
7225 /* linux_ioprio_set */
7226 case 289:
7227 /* linux_ioprio_get */
7228 case 290:
7229 /* linux_inotify_init */
7230 case 291:
7231 /* linux_inotify_add_watch */
7232 case 292:
7233 /* linux_inotify_rm_watch */
7234 case 293:
7235 /* linux_migrate_pages */
7236 case 294:
7237 /* linux_openat */
7238 case 295:
7239 if (ndx == 0 || ndx == 1)
7240 p = "int";
7241 break;
7242 /* linux_mkdirat */
7243 case 296:
7244 if (ndx == 0 || ndx == 1)
7245 p = "int";
7246 break;
7247 /* linux_mknodat */
7248 case 297:
7249 if (ndx == 0 || ndx == 1)
7250 p = "int";
7251 break;
7252 /* linux_fchownat */
7253 case 298:
7254 if (ndx == 0 || ndx == 1)
7255 p = "int";
7256 break;
7257 /* linux_futimesat */
7258 case 299:
7259 if (ndx == 0 || ndx == 1)
7260 p = "int";
7261 break;
7262 /* linux_fstatat64 */
7263 case 300:
7264 if (ndx == 0 || ndx == 1)
7265 p = "int";
7266 break;
7267 /* linux_unlinkat */
7268 case 301:
7269 if (ndx == 0 || ndx == 1)
7270 p = "int";
7271 break;
7272 /* linux_renameat */
7273 case 302:
7274 if (ndx == 0 || ndx == 1)
7275 p = "int";
7276 break;
7277 /* linux_linkat */
7278 case 303:
7279 if (ndx == 0 || ndx == 1)
7280 p = "int";
7281 break;
7282 /* linux_symlinkat */
7283 case 304:
7284 if (ndx == 0 || ndx == 1)
7285 p = "int";
7286 break;
7287 /* linux_readlinkat */
7288 case 305:
7289 if (ndx == 0 || ndx == 1)
7290 p = "int";
7291 break;
7292 /* linux_fchmodat */
7293 case 306:
7294 if (ndx == 0 || ndx == 1)
7295 p = "int";
7296 break;
7297 /* linux_faccessat */
7298 case 307:
7299 if (ndx == 0 || ndx == 1)
7300 p = "int";
7301 break;
7302 /* linux_pselect6 */
7303 case 308:
7304 if (ndx == 0 || ndx == 1)
7305 p = "int";
7306 break;
7307 /* linux_ppoll */
7308 case 309:
7309 if (ndx == 0 || ndx == 1)
7310 p = "int";
7311 break;
7312 /* linux_unshare */
7313 case 310:
7314 /* linux_set_robust_list */
7315 case 311:
7316 if (ndx == 0 || ndx == 1)
7317 p = "int";
7318 break;
7319 /* linux_get_robust_list */
7320 case 312:
7321 if (ndx == 0 || ndx == 1)
7322 p = "int";
7323 break;
7324 /* linux_splice */
7325 case 313:
7326 /* linux_sync_file_range */
7327 case 314:
7328 /* linux_tee */
7329 case 315:
7330 /* linux_vmsplice */
7331 case 316:
7332 /* linux_move_pages */
7333 case 317:
7334 /* linux_getcpu */
7335 case 318:
7336 /* linux_epoll_pwait */
7337 case 319:
7338 if (ndx == 0 || ndx == 1)
7339 p = "int";
7340 break;
7341 /* linux_utimensat */
7342 case 320:
7343 if (ndx == 0 || ndx == 1)
7344 p = "int";
7345 break;
7346 /* linux_signalfd */
7347 case 321:
7348 /* linux_timerfd_create */
7349 case 322:
7350 /* linux_eventfd */
7351 case 323:
7352 if (ndx == 0 || ndx == 1)
7353 p = "int";
7354 break;
7355 /* linux_fallocate */
7356 case 324:
7357 if (ndx == 0 || ndx == 1)
7358 p = "int";
7359 break;
7360 /* linux_timerfd_settime */
7361 case 325:
7362 /* linux_timerfd_gettime */
7363 case 326:
7364 /* linux_signalfd4 */
7365 case 327:
7366 /* linux_eventfd2 */
7367 case 328:
7368 if (ndx == 0 || ndx == 1)
7369 p = "int";
7370 break;
7371 /* linux_epoll_create1 */
7372 case 329:
7373 if (ndx == 0 || ndx == 1)
7374 p = "int";
7375 break;
7376 /* linux_dup3 */
7377 case 330:
7378 if (ndx == 0 || ndx == 1)
7379 p = "int";
7380 break;
7381 /* linux_pipe2 */
7382 case 331:
7383 if (ndx == 0 || ndx == 1)
7384 p = "int";
7385 break;
7386 /* linux_inotify_init1 */
7387 case 332:
7388 /* linux_preadv */
7389 case 333:
7390 /* linux_pwritev */
7391 case 334:
7392 /* linux_rt_tsigqueueinfo */
7393 case 335:
7394 /* linux_perf_event_open */
7395 case 336:
7396 /* linux_recvmmsg */
7397 case 337:
7398 if (ndx == 0 || ndx == 1)
7399 p = "int";
7400 break;
7401 /* linux_fanotify_init */
7402 case 338:
7403 /* linux_fanotify_mark */
7404 case 339:
7405 /* linux_prlimit64 */
7406 case 340:
7407 if (ndx == 0 || ndx == 1)
7408 p = "int";
7409 break;
7410 /* linux_name_to_handle_at */
7411 case 341:
7412 /* linux_open_by_handle_at */
7413 case 342:
7414 /* linux_clock_adjtime */
7415 case 343:
7416 /* linux_syncfs */
7417 case 344:
7418 if (ndx == 0 || ndx == 1)
7419 p = "int";
7420 break;
7421 /* linux_sendmmsg */
7422 case 345:
7423 if (ndx == 0 || ndx == 1)
7424 p = "int";
7425 break;
7426 /* linux_setns */
7427 case 346:
7428 /* linux_process_vm_readv */
7429 case 347:
7430 /* linux_process_vm_writev */
7431 case 348:
7432 default:
7433 break;
7435 if (p != NULL)
7436 strlcpy(desc, p, descsz);