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