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 /* sys_exit */ 16 case 1: { 17 struct sys_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; /* u_int32_t * */ 98 uarg[2] = (intptr_t) p->envp; /* u_int32_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->flags; /* 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_ulong * */ 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_ulong */ 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_uint * */ 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 /* sched_setparam */ 1047 case 154: { 1048 struct sched_setparam_args *p = params; 1049 iarg[0] = p->pid; /* pid_t */ 1050 uarg[1] = (intptr_t) p->param; /* const struct sched_param * */ 1051 *n_args = 2; 1052 break; 1053 } 1054 /* sched_getparam */ 1055 case 155: { 1056 struct sched_getparam_args *p = params; 1057 iarg[0] = p->pid; /* pid_t */ 1058 uarg[1] = (intptr_t) p->param; /* struct 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 *n_args = 0; 1238 break; 1239 } 1240 /* linux_rt_sigsuspend */ 1241 case 179: { 1242 struct linux_rt_sigsuspend_args *p = params; 1243 uarg[0] = (intptr_t) p->newset; /* l_sigset_t * */ 1244 iarg[1] = p->sigsetsize; /* l_size_t */ 1245 *n_args = 2; 1246 break; 1247 } 1248 /* linux_pread */ 1249 case 180: { 1250 struct linux_pread_args *p = params; 1251 iarg[0] = p->fd; /* l_uint */ 1252 uarg[1] = (intptr_t) p->buf; /* char * */ 1253 iarg[2] = p->nbyte; /* l_size_t */ 1254 iarg[3] = p->offset; /* l_loff_t */ 1255 *n_args = 4; 1256 break; 1257 } 1258 /* linux_pwrite */ 1259 case 181: { 1260 struct linux_pwrite_args *p = params; 1261 iarg[0] = p->fd; /* l_uint */ 1262 uarg[1] = (intptr_t) p->buf; /* char * */ 1263 iarg[2] = p->nbyte; /* l_size_t */ 1264 iarg[3] = p->offset; /* l_loff_t */ 1265 *n_args = 4; 1266 break; 1267 } 1268 /* linux_chown16 */ 1269 case 182: { 1270 struct linux_chown16_args *p = params; 1271 uarg[0] = (intptr_t) p->path; /* char * */ 1272 iarg[1] = p->uid; /* l_uid16_t */ 1273 iarg[2] = p->gid; /* l_gid16_t */ 1274 *n_args = 3; 1275 break; 1276 } 1277 /* linux_getcwd */ 1278 case 183: { 1279 struct linux_getcwd_args *p = params; 1280 uarg[0] = (intptr_t) p->buf; /* char * */ 1281 iarg[1] = p->bufsize; /* l_ulong */ 1282 *n_args = 2; 1283 break; 1284 } 1285 /* linux_capget */ 1286 case 184: { 1287 struct linux_capget_args *p = params; 1288 uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */ 1289 uarg[1] = (intptr_t) p->datap; /* struct l_user_cap_data * */ 1290 *n_args = 2; 1291 break; 1292 } 1293 /* linux_capset */ 1294 case 185: { 1295 struct linux_capset_args *p = params; 1296 uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */ 1297 uarg[1] = (intptr_t) p->datap; /* struct l_user_cap_data * */ 1298 *n_args = 2; 1299 break; 1300 } 1301 /* linux_sigaltstack */ 1302 case 186: { 1303 struct linux_sigaltstack_args *p = params; 1304 uarg[0] = (intptr_t) p->uss; /* l_stack_t * */ 1305 uarg[1] = (intptr_t) p->uoss; /* l_stack_t * */ 1306 *n_args = 2; 1307 break; 1308 } 1309 /* linux_sendfile */ 1310 case 187: { 1311 *n_args = 0; 1312 break; 1313 } 1314 /* linux_vfork */ 1315 case 190: { 1316 *n_args = 0; 1317 break; 1318 } 1319 /* linux_getrlimit */ 1320 case 191: { 1321 struct linux_getrlimit_args *p = params; 1322 iarg[0] = p->resource; /* l_uint */ 1323 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */ 1324 *n_args = 2; 1325 break; 1326 } 1327 /* linux_mmap2 */ 1328 case 192: { 1329 struct linux_mmap2_args *p = params; 1330 iarg[0] = p->addr; /* l_ulong */ 1331 iarg[1] = p->len; /* l_ulong */ 1332 iarg[2] = p->prot; /* l_ulong */ 1333 iarg[3] = p->flags; /* l_ulong */ 1334 iarg[4] = p->fd; /* l_ulong */ 1335 iarg[5] = p->pgoff; /* l_ulong */ 1336 *n_args = 6; 1337 break; 1338 } 1339 /* linux_truncate64 */ 1340 case 193: { 1341 struct linux_truncate64_args *p = params; 1342 uarg[0] = (intptr_t) p->path; /* char * */ 1343 iarg[1] = p->length; /* l_loff_t */ 1344 *n_args = 2; 1345 break; 1346 } 1347 /* linux_ftruncate64 */ 1348 case 194: { 1349 struct linux_ftruncate64_args *p = params; 1350 iarg[0] = p->fd; /* l_uint */ 1351 iarg[1] = p->length; /* l_loff_t */ 1352 *n_args = 2; 1353 break; 1354 } 1355 /* linux_stat64 */ 1356 case 195: { 1357 struct linux_stat64_args *p = params; 1358 uarg[0] = (intptr_t) p->filename; /* char * */ 1359 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */ 1360 iarg[2] = p->flags; /* l_long */ 1361 *n_args = 3; 1362 break; 1363 } 1364 /* linux_lstat64 */ 1365 case 196: { 1366 struct linux_lstat64_args *p = params; 1367 uarg[0] = (intptr_t) p->filename; /* char * */ 1368 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */ 1369 iarg[2] = p->flags; /* l_long */ 1370 *n_args = 3; 1371 break; 1372 } 1373 /* linux_fstat64 */ 1374 case 197: { 1375 struct linux_fstat64_args *p = params; 1376 iarg[0] = p->fd; /* l_ulong */ 1377 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */ 1378 iarg[2] = p->flags; /* l_long */ 1379 *n_args = 3; 1380 break; 1381 } 1382 /* linux_lchown */ 1383 case 198: { 1384 struct linux_lchown_args *p = params; 1385 uarg[0] = (intptr_t) p->path; /* char * */ 1386 iarg[1] = p->uid; /* l_uid_t */ 1387 iarg[2] = p->gid; /* l_gid_t */ 1388 *n_args = 3; 1389 break; 1390 } 1391 /* linux_getuid */ 1392 case 199: { 1393 *n_args = 0; 1394 break; 1395 } 1396 /* linux_getgid */ 1397 case 200: { 1398 *n_args = 0; 1399 break; 1400 } 1401 /* geteuid */ 1402 case 201: { 1403 *n_args = 0; 1404 break; 1405 } 1406 /* getegid */ 1407 case 202: { 1408 *n_args = 0; 1409 break; 1410 } 1411 /* setreuid */ 1412 case 203: { 1413 struct setreuid_args *p = params; 1414 uarg[0] = p->ruid; /* uid_t */ 1415 uarg[1] = p->euid; /* uid_t */ 1416 *n_args = 2; 1417 break; 1418 } 1419 /* setregid */ 1420 case 204: { 1421 struct setregid_args *p = params; 1422 iarg[0] = p->rgid; /* gid_t */ 1423 iarg[1] = p->egid; /* gid_t */ 1424 *n_args = 2; 1425 break; 1426 } 1427 /* linux_getgroups */ 1428 case 205: { 1429 struct linux_getgroups_args *p = params; 1430 iarg[0] = p->gidsetsize; /* l_int */ 1431 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */ 1432 *n_args = 2; 1433 break; 1434 } 1435 /* linux_setgroups */ 1436 case 206: { 1437 struct linux_setgroups_args *p = params; 1438 iarg[0] = p->gidsetsize; /* l_int */ 1439 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */ 1440 *n_args = 2; 1441 break; 1442 } 1443 /* fchown */ 1444 case 207: { 1445 *n_args = 0; 1446 break; 1447 } 1448 /* setresuid */ 1449 case 208: { 1450 struct setresuid_args *p = params; 1451 uarg[0] = p->ruid; /* uid_t */ 1452 uarg[1] = p->euid; /* uid_t */ 1453 uarg[2] = p->suid; /* uid_t */ 1454 *n_args = 3; 1455 break; 1456 } 1457 /* getresuid */ 1458 case 209: { 1459 struct getresuid_args *p = params; 1460 uarg[0] = (intptr_t) p->ruid; /* uid_t * */ 1461 uarg[1] = (intptr_t) p->euid; /* uid_t * */ 1462 uarg[2] = (intptr_t) p->suid; /* uid_t * */ 1463 *n_args = 3; 1464 break; 1465 } 1466 /* setresgid */ 1467 case 210: { 1468 struct setresgid_args *p = params; 1469 iarg[0] = p->rgid; /* gid_t */ 1470 iarg[1] = p->egid; /* gid_t */ 1471 iarg[2] = p->sgid; /* gid_t */ 1472 *n_args = 3; 1473 break; 1474 } 1475 /* getresgid */ 1476 case 211: { 1477 struct getresgid_args *p = params; 1478 uarg[0] = (intptr_t) p->rgid; /* gid_t * */ 1479 uarg[1] = (intptr_t) p->egid; /* gid_t * */ 1480 uarg[2] = (intptr_t) p->sgid; /* gid_t * */ 1481 *n_args = 3; 1482 break; 1483 } 1484 /* linux_chown */ 1485 case 212: { 1486 struct linux_chown_args *p = params; 1487 uarg[0] = (intptr_t) p->path; /* char * */ 1488 iarg[1] = p->uid; /* l_uid_t */ 1489 iarg[2] = p->gid; /* l_gid_t */ 1490 *n_args = 3; 1491 break; 1492 } 1493 /* setuid */ 1494 case 213: { 1495 struct setuid_args *p = params; 1496 uarg[0] = p->uid; /* uid_t */ 1497 *n_args = 1; 1498 break; 1499 } 1500 /* setgid */ 1501 case 214: { 1502 struct setgid_args *p = params; 1503 iarg[0] = p->gid; /* gid_t */ 1504 *n_args = 1; 1505 break; 1506 } 1507 /* linux_setfsuid */ 1508 case 215: { 1509 struct linux_setfsuid_args *p = params; 1510 iarg[0] = p->uid; /* l_uid_t */ 1511 *n_args = 1; 1512 break; 1513 } 1514 /* linux_setfsgid */ 1515 case 216: { 1516 struct linux_setfsgid_args *p = params; 1517 iarg[0] = p->gid; /* l_gid_t */ 1518 *n_args = 1; 1519 break; 1520 } 1521 /* linux_pivot_root */ 1522 case 217: { 1523 struct linux_pivot_root_args *p = params; 1524 uarg[0] = (intptr_t) p->new_root; /* char * */ 1525 uarg[1] = (intptr_t) p->put_old; /* char * */ 1526 *n_args = 2; 1527 break; 1528 } 1529 /* linux_mincore */ 1530 case 218: { 1531 struct linux_mincore_args *p = params; 1532 iarg[0] = p->start; /* l_ulong */ 1533 iarg[1] = p->len; /* l_size_t */ 1534 uarg[2] = (intptr_t) p->vec; /* u_char * */ 1535 *n_args = 3; 1536 break; 1537 } 1538 /* madvise */ 1539 case 219: { 1540 struct madvise_args *p = params; 1541 uarg[0] = (intptr_t) p->addr; /* void * */ 1542 uarg[1] = p->len; /* size_t */ 1543 iarg[2] = p->behav; /* int */ 1544 *n_args = 3; 1545 break; 1546 } 1547 /* linux_getdents64 */ 1548 case 220: { 1549 struct linux_getdents64_args *p = params; 1550 iarg[0] = p->fd; /* l_uint */ 1551 uarg[1] = (intptr_t) p->dirent; /* void * */ 1552 iarg[2] = p->count; /* l_uint */ 1553 *n_args = 3; 1554 break; 1555 } 1556 /* linux_fcntl64 */ 1557 case 221: { 1558 struct linux_fcntl64_args *p = params; 1559 iarg[0] = p->fd; /* l_uint */ 1560 iarg[1] = p->cmd; /* l_uint */ 1561 uarg[2] = p->arg; /* uintptr_t */ 1562 *n_args = 3; 1563 break; 1564 } 1565 /* linux_gettid */ 1566 case 224: { 1567 *n_args = 0; 1568 break; 1569 } 1570 /* linux_setxattr */ 1571 case 226: { 1572 *n_args = 0; 1573 break; 1574 } 1575 /* linux_lsetxattr */ 1576 case 227: { 1577 *n_args = 0; 1578 break; 1579 } 1580 /* linux_fsetxattr */ 1581 case 228: { 1582 *n_args = 0; 1583 break; 1584 } 1585 /* linux_getxattr */ 1586 case 229: { 1587 *n_args = 0; 1588 break; 1589 } 1590 /* linux_lgetxattr */ 1591 case 230: { 1592 *n_args = 0; 1593 break; 1594 } 1595 /* linux_fgetxattr */ 1596 case 231: { 1597 *n_args = 0; 1598 break; 1599 } 1600 /* linux_listxattr */ 1601 case 232: { 1602 *n_args = 0; 1603 break; 1604 } 1605 /* linux_llistxattr */ 1606 case 233: { 1607 *n_args = 0; 1608 break; 1609 } 1610 /* linux_flistxattr */ 1611 case 234: { 1612 *n_args = 0; 1613 break; 1614 } 1615 /* linux_removexattr */ 1616 case 235: { 1617 *n_args = 0; 1618 break; 1619 } 1620 /* linux_lremovexattr */ 1621 case 236: { 1622 *n_args = 0; 1623 break; 1624 } 1625 /* linux_fremovexattr */ 1626 case 237: { 1627 *n_args = 0; 1628 break; 1629 } 1630 /* linux_tkill */ 1631 case 238: { 1632 struct linux_tkill_args *p = params; 1633 iarg[0] = p->tid; /* int */ 1634 iarg[1] = p->sig; /* int */ 1635 *n_args = 2; 1636 break; 1637 } 1638 /* linux_sys_futex */ 1639 case 240: { 1640 struct linux_sys_futex_args *p = params; 1641 uarg[0] = (intptr_t) p->uaddr; /* void * */ 1642 iarg[1] = p->op; /* int */ 1643 uarg[2] = p->val; /* uint32_t */ 1644 uarg[3] = (intptr_t) p->timeout; /* struct l_timespec * */ 1645 uarg[4] = (intptr_t) p->uaddr2; /* uint32_t * */ 1646 uarg[5] = p->val3; /* uint32_t */ 1647 *n_args = 6; 1648 break; 1649 } 1650 /* linux_sched_setaffinity */ 1651 case 241: { 1652 struct linux_sched_setaffinity_args *p = params; 1653 iarg[0] = p->pid; /* l_pid_t */ 1654 iarg[1] = p->len; /* l_uint */ 1655 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */ 1656 *n_args = 3; 1657 break; 1658 } 1659 /* linux_sched_getaffinity */ 1660 case 242: { 1661 struct linux_sched_getaffinity_args *p = params; 1662 iarg[0] = p->pid; /* l_pid_t */ 1663 iarg[1] = p->len; /* l_uint */ 1664 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */ 1665 *n_args = 3; 1666 break; 1667 } 1668 /* linux_set_thread_area */ 1669 case 243: { 1670 struct linux_set_thread_area_args *p = params; 1671 uarg[0] = (intptr_t) p->desc; /* struct l_user_desc * */ 1672 *n_args = 1; 1673 break; 1674 } 1675 /* linux_fadvise64 */ 1676 case 250: { 1677 *n_args = 0; 1678 break; 1679 } 1680 /* linux_exit_group */ 1681 case 252: { 1682 struct linux_exit_group_args *p = params; 1683 iarg[0] = p->error_code; /* int */ 1684 *n_args = 1; 1685 break; 1686 } 1687 /* linux_lookup_dcookie */ 1688 case 253: { 1689 *n_args = 0; 1690 break; 1691 } 1692 /* linux_epoll_create */ 1693 case 254: { 1694 *n_args = 0; 1695 break; 1696 } 1697 /* linux_epoll_ctl */ 1698 case 255: { 1699 *n_args = 0; 1700 break; 1701 } 1702 /* linux_epoll_wait */ 1703 case 256: { 1704 *n_args = 0; 1705 break; 1706 } 1707 /* linux_remap_file_pages */ 1708 case 257: { 1709 *n_args = 0; 1710 break; 1711 } 1712 /* linux_set_tid_address */ 1713 case 258: { 1714 struct linux_set_tid_address_args *p = params; 1715 uarg[0] = (intptr_t) p->tidptr; /* int * */ 1716 *n_args = 1; 1717 break; 1718 } 1719 /* linux_timer_create */ 1720 case 259: { 1721 *n_args = 0; 1722 break; 1723 } 1724 /* linux_timer_settime */ 1725 case 260: { 1726 *n_args = 0; 1727 break; 1728 } 1729 /* linux_timer_gettime */ 1730 case 261: { 1731 *n_args = 0; 1732 break; 1733 } 1734 /* linux_timer_getoverrun */ 1735 case 262: { 1736 *n_args = 0; 1737 break; 1738 } 1739 /* linux_timer_delete */ 1740 case 263: { 1741 *n_args = 0; 1742 break; 1743 } 1744 /* linux_clock_settime */ 1745 case 264: { 1746 struct linux_clock_settime_args *p = params; 1747 iarg[0] = p->which; /* clockid_t */ 1748 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */ 1749 *n_args = 2; 1750 break; 1751 } 1752 /* linux_clock_gettime */ 1753 case 265: { 1754 struct linux_clock_gettime_args *p = params; 1755 iarg[0] = p->which; /* clockid_t */ 1756 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */ 1757 *n_args = 2; 1758 break; 1759 } 1760 /* linux_clock_getres */ 1761 case 266: { 1762 struct linux_clock_getres_args *p = params; 1763 iarg[0] = p->which; /* clockid_t */ 1764 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */ 1765 *n_args = 2; 1766 break; 1767 } 1768 /* linux_clock_nanosleep */ 1769 case 267: { 1770 struct linux_clock_nanosleep_args *p = params; 1771 iarg[0] = p->which; /* clockid_t */ 1772 iarg[1] = p->flags; /* int */ 1773 uarg[2] = (intptr_t) p->rqtp; /* struct l_timespec * */ 1774 uarg[3] = (intptr_t) p->rmtp; /* struct l_timespec * */ 1775 *n_args = 4; 1776 break; 1777 } 1778 /* linux_statfs64 */ 1779 case 268: { 1780 struct linux_statfs64_args *p = params; 1781 uarg[0] = (intptr_t) p->path; /* char * */ 1782 uarg[1] = p->bufsize; /* size_t */ 1783 uarg[2] = (intptr_t) p->buf; /* struct l_statfs64_buf * */ 1784 *n_args = 3; 1785 break; 1786 } 1787 /* linux_fstatfs64 */ 1788 case 269: { 1789 *n_args = 0; 1790 break; 1791 } 1792 /* linux_tgkill */ 1793 case 270: { 1794 struct linux_tgkill_args *p = params; 1795 iarg[0] = p->tgid; /* int */ 1796 iarg[1] = p->pid; /* int */ 1797 iarg[2] = p->sig; /* int */ 1798 *n_args = 3; 1799 break; 1800 } 1801 /* linux_utimes */ 1802 case 271: { 1803 struct linux_utimes_args *p = params; 1804 uarg[0] = (intptr_t) p->fname; /* char * */ 1805 uarg[1] = (intptr_t) p->tptr; /* struct l_timeval * */ 1806 *n_args = 2; 1807 break; 1808 } 1809 /* linux_fadvise64_64 */ 1810 case 272: { 1811 *n_args = 0; 1812 break; 1813 } 1814 /* linux_mbind */ 1815 case 274: { 1816 *n_args = 0; 1817 break; 1818 } 1819 /* linux_get_mempolicy */ 1820 case 275: { 1821 *n_args = 0; 1822 break; 1823 } 1824 /* linux_set_mempolicy */ 1825 case 276: { 1826 *n_args = 0; 1827 break; 1828 } 1829 /* linux_mq_open */ 1830 case 277: { 1831 *n_args = 0; 1832 break; 1833 } 1834 /* linux_mq_unlink */ 1835 case 278: { 1836 *n_args = 0; 1837 break; 1838 } 1839 /* linux_mq_timedsend */ 1840 case 279: { 1841 *n_args = 0; 1842 break; 1843 } 1844 /* linux_mq_timedreceive */ 1845 case 280: { 1846 *n_args = 0; 1847 break; 1848 } 1849 /* linux_mq_notify */ 1850 case 281: { 1851 *n_args = 0; 1852 break; 1853 } 1854 /* linux_mq_getsetattr */ 1855 case 282: { 1856 *n_args = 0; 1857 break; 1858 } 1859 /* linux_kexec_load */ 1860 case 283: { 1861 *n_args = 0; 1862 break; 1863 } 1864 /* linux_waitid */ 1865 case 284: { 1866 *n_args = 0; 1867 break; 1868 } 1869 /* linux_add_key */ 1870 case 286: { 1871 *n_args = 0; 1872 break; 1873 } 1874 /* linux_request_key */ 1875 case 287: { 1876 *n_args = 0; 1877 break; 1878 } 1879 /* linux_keyctl */ 1880 case 288: { 1881 *n_args = 0; 1882 break; 1883 } 1884 /* linux_ioprio_set */ 1885 case 289: { 1886 *n_args = 0; 1887 break; 1888 } 1889 /* linux_ioprio_get */ 1890 case 290: { 1891 *n_args = 0; 1892 break; 1893 } 1894 /* linux_inotify_init */ 1895 case 291: { 1896 *n_args = 0; 1897 break; 1898 } 1899 /* linux_inotify_add_watch */ 1900 case 292: { 1901 *n_args = 0; 1902 break; 1903 } 1904 /* linux_inotify_rm_watch */ 1905 case 293: { 1906 *n_args = 0; 1907 break; 1908 } 1909 /* linux_migrate_pages */ 1910 case 294: { 1911 *n_args = 0; 1912 break; 1913 } 1914 /* linux_openat */ 1915 case 295: { 1916 struct linux_openat_args *p = params; 1917 iarg[0] = p->dfd; /* l_int */ 1918 uarg[1] = (intptr_t) p->filename; /* const char * */ 1919 iarg[2] = p->flags; /* l_int */ 1920 iarg[3] = p->mode; /* l_int */ 1921 *n_args = 4; 1922 break; 1923 } 1924 /* linux_mkdirat */ 1925 case 296: { 1926 struct linux_mkdirat_args *p = params; 1927 iarg[0] = p->dfd; /* l_int */ 1928 uarg[1] = (intptr_t) p->pathname; /* const char * */ 1929 iarg[2] = p->mode; /* l_int */ 1930 *n_args = 3; 1931 break; 1932 } 1933 /* linux_mknodat */ 1934 case 297: { 1935 struct linux_mknodat_args *p = params; 1936 iarg[0] = p->dfd; /* l_int */ 1937 uarg[1] = (intptr_t) p->filename; /* const char * */ 1938 iarg[2] = p->mode; /* l_int */ 1939 iarg[3] = p->dev; /* l_uint */ 1940 *n_args = 4; 1941 break; 1942 } 1943 /* linux_fchownat */ 1944 case 298: { 1945 struct linux_fchownat_args *p = params; 1946 iarg[0] = p->dfd; /* l_int */ 1947 uarg[1] = (intptr_t) p->filename; /* const char * */ 1948 iarg[2] = p->uid; /* l_uid16_t */ 1949 iarg[3] = p->gid; /* l_gid16_t */ 1950 iarg[4] = p->flag; /* l_int */ 1951 *n_args = 5; 1952 break; 1953 } 1954 /* linux_futimesat */ 1955 case 299: { 1956 struct linux_futimesat_args *p = params; 1957 iarg[0] = p->dfd; /* l_int */ 1958 uarg[1] = (intptr_t) p->filename; /* char * */ 1959 uarg[2] = (intptr_t) p->utimes; /* struct l_timeval * */ 1960 *n_args = 3; 1961 break; 1962 } 1963 /* linux_fstatat64 */ 1964 case 300: { 1965 struct linux_fstatat64_args *p = params; 1966 iarg[0] = p->dfd; /* l_int */ 1967 uarg[1] = (intptr_t) p->pathname; /* char * */ 1968 uarg[2] = (intptr_t) p->statbuf; /* struct l_stat64 * */ 1969 iarg[3] = p->flag; /* l_int */ 1970 *n_args = 4; 1971 break; 1972 } 1973 /* linux_unlinkat */ 1974 case 301: { 1975 struct linux_unlinkat_args *p = params; 1976 iarg[0] = p->dfd; /* l_int */ 1977 uarg[1] = (intptr_t) p->pathname; /* const char * */ 1978 iarg[2] = p->flag; /* l_int */ 1979 *n_args = 3; 1980 break; 1981 } 1982 /* linux_renameat */ 1983 case 302: { 1984 struct linux_renameat_args *p = params; 1985 iarg[0] = p->olddfd; /* l_int */ 1986 uarg[1] = (intptr_t) p->oldname; /* const char * */ 1987 iarg[2] = p->newdfd; /* l_int */ 1988 uarg[3] = (intptr_t) p->newname; /* const char * */ 1989 *n_args = 4; 1990 break; 1991 } 1992 /* linux_linkat */ 1993 case 303: { 1994 struct linux_linkat_args *p = params; 1995 iarg[0] = p->olddfd; /* l_int */ 1996 uarg[1] = (intptr_t) p->oldname; /* const char * */ 1997 iarg[2] = p->newdfd; /* l_int */ 1998 uarg[3] = (intptr_t) p->newname; /* const char * */ 1999 iarg[4] = p->flags; /* l_int */ 2000 *n_args = 5; 2001 break; 2002 } 2003 /* linux_symlinkat */ 2004 case 304: { 2005 struct linux_symlinkat_args *p = params; 2006 uarg[0] = (intptr_t) p->oldname; /* const char * */ 2007 iarg[1] = p->newdfd; /* l_int */ 2008 uarg[2] = (intptr_t) p->newname; /* const char * */ 2009 *n_args = 3; 2010 break; 2011 } 2012 /* linux_readlinkat */ 2013 case 305: { 2014 struct linux_readlinkat_args *p = params; 2015 iarg[0] = p->dfd; /* l_int */ 2016 uarg[1] = (intptr_t) p->path; /* const char * */ 2017 uarg[2] = (intptr_t) p->buf; /* char * */ 2018 iarg[3] = p->bufsiz; /* l_int */ 2019 *n_args = 4; 2020 break; 2021 } 2022 /* linux_fchmodat */ 2023 case 306: { 2024 struct linux_fchmodat_args *p = params; 2025 iarg[0] = p->dfd; /* l_int */ 2026 uarg[1] = (intptr_t) p->filename; /* const char * */ 2027 iarg[2] = p->mode; /* l_mode_t */ 2028 *n_args = 3; 2029 break; 2030 } 2031 /* linux_faccessat */ 2032 case 307: { 2033 struct linux_faccessat_args *p = params; 2034 iarg[0] = p->dfd; /* l_int */ 2035 uarg[1] = (intptr_t) p->filename; /* const char * */ 2036 iarg[2] = p->mode; /* l_int */ 2037 *n_args = 3; 2038 break; 2039 } 2040 /* linux_pselect6 */ 2041 case 308: { 2042 *n_args = 0; 2043 break; 2044 } 2045 /* linux_ppoll */ 2046 case 309: { 2047 *n_args = 0; 2048 break; 2049 } 2050 /* linux_unshare */ 2051 case 310: { 2052 *n_args = 0; 2053 break; 2054 } 2055 /* linux_set_robust_list */ 2056 case 311: { 2057 struct linux_set_robust_list_args *p = params; 2058 uarg[0] = (intptr_t) p->head; /* struct linux_robust_list_head * */ 2059 iarg[1] = p->len; /* l_size_t */ 2060 *n_args = 2; 2061 break; 2062 } 2063 /* linux_get_robust_list */ 2064 case 312: { 2065 struct linux_get_robust_list_args *p = params; 2066 iarg[0] = p->pid; /* l_int */ 2067 uarg[1] = (intptr_t) p->head; /* struct linux_robust_list_head * */ 2068 uarg[2] = (intptr_t) p->len; /* l_size_t * */ 2069 *n_args = 3; 2070 break; 2071 } 2072 /* linux_splice */ 2073 case 313: { 2074 *n_args = 0; 2075 break; 2076 } 2077 /* linux_sync_file_range */ 2078 case 314: { 2079 *n_args = 0; 2080 break; 2081 } 2082 /* linux_tee */ 2083 case 315: { 2084 *n_args = 0; 2085 break; 2086 } 2087 /* linux_vmsplice */ 2088 case 316: { 2089 *n_args = 0; 2090 break; 2091 } 2092 default: 2093 *n_args = 0; 2094 break; 2095 }; 2096 } 2097 static void 2098 systrace_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) 2099 { 2100 const char *p = NULL; 2101 switch (sysnum) { 2102 #define nosys linux_nosys 2103 /* sys_exit */ 2104 case 1: 2105 switch(ndx) { 2106 case 0: 2107 p = "int"; 2108 break; 2109 default: 2110 break; 2111 }; 2112 break; 2113 /* linux_fork */ 2114 case 2: 2115 break; 2116 /* read */ 2117 case 3: 2118 switch(ndx) { 2119 case 0: 2120 p = "int"; 2121 break; 2122 case 1: 2123 p = "char *"; 2124 break; 2125 case 2: 2126 p = "u_int"; 2127 break; 2128 default: 2129 break; 2130 }; 2131 break; 2132 /* write */ 2133 case 4: 2134 switch(ndx) { 2135 case 0: 2136 p = "int"; 2137 break; 2138 case 1: 2139 p = "char *"; 2140 break; 2141 case 2: 2142 p = "u_int"; 2143 break; 2144 default: 2145 break; 2146 }; 2147 break; 2148 /* linux_open */ 2149 case 5: 2150 switch(ndx) { 2151 case 0: 2152 p = "char *"; 2153 break; 2154 case 1: 2155 p = "l_int"; 2156 break; 2157 case 2: 2158 p = "l_int"; 2159 break; 2160 default: 2161 break; 2162 }; 2163 break; 2164 /* close */ 2165 case 6: 2166 switch(ndx) { 2167 case 0: 2168 p = "int"; 2169 break; 2170 default: 2171 break; 2172 }; 2173 break; 2174 /* linux_waitpid */ 2175 case 7: 2176 switch(ndx) { 2177 case 0: 2178 p = "l_pid_t"; 2179 break; 2180 case 1: 2181 p = "l_int *"; 2182 break; 2183 case 2: 2184 p = "l_int"; 2185 break; 2186 default: 2187 break; 2188 }; 2189 break; 2190 /* linux_creat */ 2191 case 8: 2192 switch(ndx) { 2193 case 0: 2194 p = "char *"; 2195 break; 2196 case 1: 2197 p = "l_int"; 2198 break; 2199 default: 2200 break; 2201 }; 2202 break; 2203 /* linux_link */ 2204 case 9: 2205 switch(ndx) { 2206 case 0: 2207 p = "char *"; 2208 break; 2209 case 1: 2210 p = "char *"; 2211 break; 2212 default: 2213 break; 2214 }; 2215 break; 2216 /* linux_unlink */ 2217 case 10: 2218 switch(ndx) { 2219 case 0: 2220 p = "char *"; 2221 break; 2222 default: 2223 break; 2224 }; 2225 break; 2226 /* linux_execve */ 2227 case 11: 2228 switch(ndx) { 2229 case 0: 2230 p = "char *"; 2231 break; 2232 case 1: 2233 p = "u_int32_t *"; 2234 break; 2235 case 2: 2236 p = "u_int32_t *"; 2237 break; 2238 default: 2239 break; 2240 }; 2241 break; 2242 /* linux_chdir */ 2243 case 12: 2244 switch(ndx) { 2245 case 0: 2246 p = "char *"; 2247 break; 2248 default: 2249 break; 2250 }; 2251 break; 2252 /* linux_time */ 2253 case 13: 2254 switch(ndx) { 2255 case 0: 2256 p = "l_time_t *"; 2257 break; 2258 default: 2259 break; 2260 }; 2261 break; 2262 /* linux_mknod */ 2263 case 14: 2264 switch(ndx) { 2265 case 0: 2266 p = "char *"; 2267 break; 2268 case 1: 2269 p = "l_int"; 2270 break; 2271 case 2: 2272 p = "l_dev_t"; 2273 break; 2274 default: 2275 break; 2276 }; 2277 break; 2278 /* linux_chmod */ 2279 case 15: 2280 switch(ndx) { 2281 case 0: 2282 p = "char *"; 2283 break; 2284 case 1: 2285 p = "l_mode_t"; 2286 break; 2287 default: 2288 break; 2289 }; 2290 break; 2291 /* linux_lchown16 */ 2292 case 16: 2293 switch(ndx) { 2294 case 0: 2295 p = "char *"; 2296 break; 2297 case 1: 2298 p = "l_uid16_t"; 2299 break; 2300 case 2: 2301 p = "l_gid16_t"; 2302 break; 2303 default: 2304 break; 2305 }; 2306 break; 2307 /* linux_stat */ 2308 case 18: 2309 switch(ndx) { 2310 case 0: 2311 p = "char *"; 2312 break; 2313 case 1: 2314 p = "struct linux_stat *"; 2315 break; 2316 default: 2317 break; 2318 }; 2319 break; 2320 /* linux_lseek */ 2321 case 19: 2322 switch(ndx) { 2323 case 0: 2324 p = "l_uint"; 2325 break; 2326 case 1: 2327 p = "l_off_t"; 2328 break; 2329 case 2: 2330 p = "l_int"; 2331 break; 2332 default: 2333 break; 2334 }; 2335 break; 2336 /* linux_getpid */ 2337 case 20: 2338 break; 2339 /* linux_mount */ 2340 case 21: 2341 switch(ndx) { 2342 case 0: 2343 p = "char *"; 2344 break; 2345 case 1: 2346 p = "char *"; 2347 break; 2348 case 2: 2349 p = "char *"; 2350 break; 2351 case 3: 2352 p = "l_ulong"; 2353 break; 2354 case 4: 2355 p = "void *"; 2356 break; 2357 default: 2358 break; 2359 }; 2360 break; 2361 /* linux_oldumount */ 2362 case 22: 2363 switch(ndx) { 2364 case 0: 2365 p = "char *"; 2366 break; 2367 default: 2368 break; 2369 }; 2370 break; 2371 /* linux_setuid16 */ 2372 case 23: 2373 switch(ndx) { 2374 case 0: 2375 p = "l_uid16_t"; 2376 break; 2377 default: 2378 break; 2379 }; 2380 break; 2381 /* linux_getuid16 */ 2382 case 24: 2383 break; 2384 /* linux_stime */ 2385 case 25: 2386 break; 2387 /* linux_ptrace */ 2388 case 26: 2389 switch(ndx) { 2390 case 0: 2391 p = "l_long"; 2392 break; 2393 case 1: 2394 p = "l_long"; 2395 break; 2396 case 2: 2397 p = "l_long"; 2398 break; 2399 case 3: 2400 p = "l_long"; 2401 break; 2402 default: 2403 break; 2404 }; 2405 break; 2406 /* linux_alarm */ 2407 case 27: 2408 switch(ndx) { 2409 case 0: 2410 p = "l_uint"; 2411 break; 2412 default: 2413 break; 2414 }; 2415 break; 2416 /* linux_pause */ 2417 case 29: 2418 break; 2419 /* linux_utime */ 2420 case 30: 2421 switch(ndx) { 2422 case 0: 2423 p = "char *"; 2424 break; 2425 case 1: 2426 p = "struct l_utimbuf *"; 2427 break; 2428 default: 2429 break; 2430 }; 2431 break; 2432 /* linux_access */ 2433 case 33: 2434 switch(ndx) { 2435 case 0: 2436 p = "char *"; 2437 break; 2438 case 1: 2439 p = "l_int"; 2440 break; 2441 default: 2442 break; 2443 }; 2444 break; 2445 /* linux_nice */ 2446 case 34: 2447 switch(ndx) { 2448 case 0: 2449 p = "l_int"; 2450 break; 2451 default: 2452 break; 2453 }; 2454 break; 2455 /* sync */ 2456 case 36: 2457 break; 2458 /* linux_kill */ 2459 case 37: 2460 switch(ndx) { 2461 case 0: 2462 p = "l_int"; 2463 break; 2464 case 1: 2465 p = "l_int"; 2466 break; 2467 default: 2468 break; 2469 }; 2470 break; 2471 /* linux_rename */ 2472 case 38: 2473 switch(ndx) { 2474 case 0: 2475 p = "char *"; 2476 break; 2477 case 1: 2478 p = "char *"; 2479 break; 2480 default: 2481 break; 2482 }; 2483 break; 2484 /* linux_mkdir */ 2485 case 39: 2486 switch(ndx) { 2487 case 0: 2488 p = "char *"; 2489 break; 2490 case 1: 2491 p = "l_int"; 2492 break; 2493 default: 2494 break; 2495 }; 2496 break; 2497 /* linux_rmdir */ 2498 case 40: 2499 switch(ndx) { 2500 case 0: 2501 p = "char *"; 2502 break; 2503 default: 2504 break; 2505 }; 2506 break; 2507 /* dup */ 2508 case 41: 2509 switch(ndx) { 2510 case 0: 2511 p = "u_int"; 2512 break; 2513 default: 2514 break; 2515 }; 2516 break; 2517 /* linux_pipe */ 2518 case 42: 2519 switch(ndx) { 2520 case 0: 2521 p = "l_ulong *"; 2522 break; 2523 default: 2524 break; 2525 }; 2526 break; 2527 /* linux_times */ 2528 case 43: 2529 switch(ndx) { 2530 case 0: 2531 p = "struct l_times_argv *"; 2532 break; 2533 default: 2534 break; 2535 }; 2536 break; 2537 /* linux_brk */ 2538 case 45: 2539 switch(ndx) { 2540 case 0: 2541 p = "l_ulong"; 2542 break; 2543 default: 2544 break; 2545 }; 2546 break; 2547 /* linux_setgid16 */ 2548 case 46: 2549 switch(ndx) { 2550 case 0: 2551 p = "l_gid16_t"; 2552 break; 2553 default: 2554 break; 2555 }; 2556 break; 2557 /* linux_getgid16 */ 2558 case 47: 2559 break; 2560 /* linux_signal */ 2561 case 48: 2562 switch(ndx) { 2563 case 0: 2564 p = "l_int"; 2565 break; 2566 case 1: 2567 p = "l_handler_t"; 2568 break; 2569 default: 2570 break; 2571 }; 2572 break; 2573 /* linux_geteuid16 */ 2574 case 49: 2575 break; 2576 /* linux_getegid16 */ 2577 case 50: 2578 break; 2579 /* acct */ 2580 case 51: 2581 switch(ndx) { 2582 case 0: 2583 p = "char *"; 2584 break; 2585 default: 2586 break; 2587 }; 2588 break; 2589 /* linux_umount */ 2590 case 52: 2591 switch(ndx) { 2592 case 0: 2593 p = "char *"; 2594 break; 2595 case 1: 2596 p = "l_int"; 2597 break; 2598 default: 2599 break; 2600 }; 2601 break; 2602 /* linux_ioctl */ 2603 case 54: 2604 switch(ndx) { 2605 case 0: 2606 p = "l_uint"; 2607 break; 2608 case 1: 2609 p = "l_uint"; 2610 break; 2611 case 2: 2612 p = "uintptr_t"; 2613 break; 2614 default: 2615 break; 2616 }; 2617 break; 2618 /* linux_fcntl */ 2619 case 55: 2620 switch(ndx) { 2621 case 0: 2622 p = "l_uint"; 2623 break; 2624 case 1: 2625 p = "l_uint"; 2626 break; 2627 case 2: 2628 p = "uintptr_t"; 2629 break; 2630 default: 2631 break; 2632 }; 2633 break; 2634 /* setpgid */ 2635 case 57: 2636 switch(ndx) { 2637 case 0: 2638 p = "int"; 2639 break; 2640 case 1: 2641 p = "int"; 2642 break; 2643 default: 2644 break; 2645 }; 2646 break; 2647 /* linux_olduname */ 2648 case 59: 2649 break; 2650 /* umask */ 2651 case 60: 2652 switch(ndx) { 2653 case 0: 2654 p = "int"; 2655 break; 2656 default: 2657 break; 2658 }; 2659 break; 2660 /* chroot */ 2661 case 61: 2662 switch(ndx) { 2663 case 0: 2664 p = "char *"; 2665 break; 2666 default: 2667 break; 2668 }; 2669 break; 2670 /* linux_ustat */ 2671 case 62: 2672 switch(ndx) { 2673 case 0: 2674 p = "l_dev_t"; 2675 break; 2676 case 1: 2677 p = "struct l_ustat *"; 2678 break; 2679 default: 2680 break; 2681 }; 2682 break; 2683 /* dup2 */ 2684 case 63: 2685 switch(ndx) { 2686 case 0: 2687 p = "u_int"; 2688 break; 2689 case 1: 2690 p = "u_int"; 2691 break; 2692 default: 2693 break; 2694 }; 2695 break; 2696 /* linux_getppid */ 2697 case 64: 2698 break; 2699 /* getpgrp */ 2700 case 65: 2701 break; 2702 /* setsid */ 2703 case 66: 2704 break; 2705 /* linux_sigaction */ 2706 case 67: 2707 switch(ndx) { 2708 case 0: 2709 p = "l_int"; 2710 break; 2711 case 1: 2712 p = "l_osigaction_t *"; 2713 break; 2714 case 2: 2715 p = "l_osigaction_t *"; 2716 break; 2717 default: 2718 break; 2719 }; 2720 break; 2721 /* linux_sgetmask */ 2722 case 68: 2723 break; 2724 /* linux_ssetmask */ 2725 case 69: 2726 switch(ndx) { 2727 case 0: 2728 p = "l_osigset_t"; 2729 break; 2730 default: 2731 break; 2732 }; 2733 break; 2734 /* linux_setreuid16 */ 2735 case 70: 2736 switch(ndx) { 2737 case 0: 2738 p = "l_uid16_t"; 2739 break; 2740 case 1: 2741 p = "l_uid16_t"; 2742 break; 2743 default: 2744 break; 2745 }; 2746 break; 2747 /* linux_setregid16 */ 2748 case 71: 2749 switch(ndx) { 2750 case 0: 2751 p = "l_gid16_t"; 2752 break; 2753 case 1: 2754 p = "l_gid16_t"; 2755 break; 2756 default: 2757 break; 2758 }; 2759 break; 2760 /* linux_sigsuspend */ 2761 case 72: 2762 switch(ndx) { 2763 case 0: 2764 p = "l_int"; 2765 break; 2766 case 1: 2767 p = "l_int"; 2768 break; 2769 case 2: 2770 p = "l_osigset_t"; 2771 break; 2772 default: 2773 break; 2774 }; 2775 break; 2776 /* linux_sigpending */ 2777 case 73: 2778 switch(ndx) { 2779 case 0: 2780 p = "l_osigset_t *"; 2781 break; 2782 default: 2783 break; 2784 }; 2785 break; 2786 /* linux_sethostname */ 2787 case 74: 2788 switch(ndx) { 2789 case 0: 2790 p = "char *"; 2791 break; 2792 case 1: 2793 p = "u_int"; 2794 break; 2795 default: 2796 break; 2797 }; 2798 break; 2799 /* linux_setrlimit */ 2800 case 75: 2801 switch(ndx) { 2802 case 0: 2803 p = "l_uint"; 2804 break; 2805 case 1: 2806 p = "struct l_rlimit *"; 2807 break; 2808 default: 2809 break; 2810 }; 2811 break; 2812 /* linux_old_getrlimit */ 2813 case 76: 2814 switch(ndx) { 2815 case 0: 2816 p = "l_uint"; 2817 break; 2818 case 1: 2819 p = "struct l_rlimit *"; 2820 break; 2821 default: 2822 break; 2823 }; 2824 break; 2825 /* linux_getrusage */ 2826 case 77: 2827 switch(ndx) { 2828 case 0: 2829 p = "int"; 2830 break; 2831 case 1: 2832 p = "struct l_rusage *"; 2833 break; 2834 default: 2835 break; 2836 }; 2837 break; 2838 /* linux_gettimeofday */ 2839 case 78: 2840 switch(ndx) { 2841 case 0: 2842 p = "struct l_timeval *"; 2843 break; 2844 case 1: 2845 p = "struct timezone *"; 2846 break; 2847 default: 2848 break; 2849 }; 2850 break; 2851 /* linux_settimeofday */ 2852 case 79: 2853 switch(ndx) { 2854 case 0: 2855 p = "struct l_timeval *"; 2856 break; 2857 case 1: 2858 p = "struct timezone *"; 2859 break; 2860 default: 2861 break; 2862 }; 2863 break; 2864 /* linux_getgroups16 */ 2865 case 80: 2866 switch(ndx) { 2867 case 0: 2868 p = "l_uint"; 2869 break; 2870 case 1: 2871 p = "l_gid16_t *"; 2872 break; 2873 default: 2874 break; 2875 }; 2876 break; 2877 /* linux_setgroups16 */ 2878 case 81: 2879 switch(ndx) { 2880 case 0: 2881 p = "l_uint"; 2882 break; 2883 case 1: 2884 p = "l_gid16_t *"; 2885 break; 2886 default: 2887 break; 2888 }; 2889 break; 2890 /* linux_old_select */ 2891 case 82: 2892 switch(ndx) { 2893 case 0: 2894 p = "struct l_old_select_argv *"; 2895 break; 2896 default: 2897 break; 2898 }; 2899 break; 2900 /* linux_symlink */ 2901 case 83: 2902 switch(ndx) { 2903 case 0: 2904 p = "char *"; 2905 break; 2906 case 1: 2907 p = "char *"; 2908 break; 2909 default: 2910 break; 2911 }; 2912 break; 2913 /* linux_lstat */ 2914 case 84: 2915 switch(ndx) { 2916 case 0: 2917 p = "char *"; 2918 break; 2919 case 1: 2920 p = "struct linux_lstat *"; 2921 break; 2922 default: 2923 break; 2924 }; 2925 break; 2926 /* linux_readlink */ 2927 case 85: 2928 switch(ndx) { 2929 case 0: 2930 p = "char *"; 2931 break; 2932 case 1: 2933 p = "char *"; 2934 break; 2935 case 2: 2936 p = "l_int"; 2937 break; 2938 default: 2939 break; 2940 }; 2941 break; 2942 /* swapon */ 2943 case 87: 2944 switch(ndx) { 2945 case 0: 2946 p = "char *"; 2947 break; 2948 default: 2949 break; 2950 }; 2951 break; 2952 /* linux_reboot */ 2953 case 88: 2954 switch(ndx) { 2955 case 0: 2956 p = "l_int"; 2957 break; 2958 case 1: 2959 p = "l_int"; 2960 break; 2961 case 2: 2962 p = "l_uint"; 2963 break; 2964 case 3: 2965 p = "void *"; 2966 break; 2967 default: 2968 break; 2969 }; 2970 break; 2971 /* linux_readdir */ 2972 case 89: 2973 switch(ndx) { 2974 case 0: 2975 p = "l_uint"; 2976 break; 2977 case 1: 2978 p = "struct l_dirent *"; 2979 break; 2980 case 2: 2981 p = "l_uint"; 2982 break; 2983 default: 2984 break; 2985 }; 2986 break; 2987 /* linux_mmap */ 2988 case 90: 2989 switch(ndx) { 2990 case 0: 2991 p = "struct l_mmap_argv *"; 2992 break; 2993 default: 2994 break; 2995 }; 2996 break; 2997 /* munmap */ 2998 case 91: 2999 switch(ndx) { 3000 case 0: 3001 p = "caddr_t"; 3002 break; 3003 case 1: 3004 p = "int"; 3005 break; 3006 default: 3007 break; 3008 }; 3009 break; 3010 /* linux_truncate */ 3011 case 92: 3012 switch(ndx) { 3013 case 0: 3014 p = "char *"; 3015 break; 3016 case 1: 3017 p = "l_ulong"; 3018 break; 3019 default: 3020 break; 3021 }; 3022 break; 3023 /* linux_ftruncate */ 3024 case 93: 3025 switch(ndx) { 3026 case 0: 3027 p = "int"; 3028 break; 3029 case 1: 3030 p = "long"; 3031 break; 3032 default: 3033 break; 3034 }; 3035 break; 3036 /* fchmod */ 3037 case 94: 3038 switch(ndx) { 3039 case 0: 3040 p = "int"; 3041 break; 3042 case 1: 3043 p = "int"; 3044 break; 3045 default: 3046 break; 3047 }; 3048 break; 3049 /* fchown */ 3050 case 95: 3051 switch(ndx) { 3052 case 0: 3053 p = "int"; 3054 break; 3055 case 1: 3056 p = "int"; 3057 break; 3058 case 2: 3059 p = "int"; 3060 break; 3061 default: 3062 break; 3063 }; 3064 break; 3065 /* linux_getpriority */ 3066 case 96: 3067 switch(ndx) { 3068 case 0: 3069 p = "int"; 3070 break; 3071 case 1: 3072 p = "int"; 3073 break; 3074 default: 3075 break; 3076 }; 3077 break; 3078 /* setpriority */ 3079 case 97: 3080 switch(ndx) { 3081 case 0: 3082 p = "int"; 3083 break; 3084 case 1: 3085 p = "int"; 3086 break; 3087 case 2: 3088 p = "int"; 3089 break; 3090 default: 3091 break; 3092 }; 3093 break; 3094 /* linux_statfs */ 3095 case 99: 3096 switch(ndx) { 3097 case 0: 3098 p = "char *"; 3099 break; 3100 case 1: 3101 p = "struct l_statfs_buf *"; 3102 break; 3103 default: 3104 break; 3105 }; 3106 break; 3107 /* linux_fstatfs */ 3108 case 100: 3109 switch(ndx) { 3110 case 0: 3111 p = "l_uint"; 3112 break; 3113 case 1: 3114 p = "struct l_statfs_buf *"; 3115 break; 3116 default: 3117 break; 3118 }; 3119 break; 3120 /* linux_socketcall */ 3121 case 102: 3122 switch(ndx) { 3123 case 0: 3124 p = "l_int"; 3125 break; 3126 case 1: 3127 p = "l_ulong"; 3128 break; 3129 default: 3130 break; 3131 }; 3132 break; 3133 /* linux_syslog */ 3134 case 103: 3135 switch(ndx) { 3136 case 0: 3137 p = "l_int"; 3138 break; 3139 case 1: 3140 p = "char *"; 3141 break; 3142 case 2: 3143 p = "l_int"; 3144 break; 3145 default: 3146 break; 3147 }; 3148 break; 3149 /* linux_setitimer */ 3150 case 104: 3151 switch(ndx) { 3152 case 0: 3153 p = "l_int"; 3154 break; 3155 case 1: 3156 p = "struct l_itimerval *"; 3157 break; 3158 case 2: 3159 p = "struct l_itimerval *"; 3160 break; 3161 default: 3162 break; 3163 }; 3164 break; 3165 /* linux_getitimer */ 3166 case 105: 3167 switch(ndx) { 3168 case 0: 3169 p = "l_int"; 3170 break; 3171 case 1: 3172 p = "struct l_itimerval *"; 3173 break; 3174 default: 3175 break; 3176 }; 3177 break; 3178 /* linux_newstat */ 3179 case 106: 3180 switch(ndx) { 3181 case 0: 3182 p = "char *"; 3183 break; 3184 case 1: 3185 p = "struct l_newstat *"; 3186 break; 3187 default: 3188 break; 3189 }; 3190 break; 3191 /* linux_newlstat */ 3192 case 107: 3193 switch(ndx) { 3194 case 0: 3195 p = "char *"; 3196 break; 3197 case 1: 3198 p = "struct l_newstat *"; 3199 break; 3200 default: 3201 break; 3202 }; 3203 break; 3204 /* linux_newfstat */ 3205 case 108: 3206 switch(ndx) { 3207 case 0: 3208 p = "l_uint"; 3209 break; 3210 case 1: 3211 p = "struct l_newstat *"; 3212 break; 3213 default: 3214 break; 3215 }; 3216 break; 3217 /* linux_uname */ 3218 case 109: 3219 break; 3220 /* linux_iopl */ 3221 case 110: 3222 switch(ndx) { 3223 case 0: 3224 p = "l_ulong"; 3225 break; 3226 default: 3227 break; 3228 }; 3229 break; 3230 /* linux_vhangup */ 3231 case 111: 3232 break; 3233 /* linux_wait4 */ 3234 case 114: 3235 switch(ndx) { 3236 case 0: 3237 p = "l_pid_t"; 3238 break; 3239 case 1: 3240 p = "l_uint *"; 3241 break; 3242 case 2: 3243 p = "l_int"; 3244 break; 3245 case 3: 3246 p = "struct l_rusage *"; 3247 break; 3248 default: 3249 break; 3250 }; 3251 break; 3252 /* linux_swapoff */ 3253 case 115: 3254 break; 3255 /* linux_sysinfo */ 3256 case 116: 3257 switch(ndx) { 3258 case 0: 3259 p = "struct l_sysinfo *"; 3260 break; 3261 default: 3262 break; 3263 }; 3264 break; 3265 /* linux_ipc */ 3266 case 117: 3267 switch(ndx) { 3268 case 0: 3269 p = "l_uint"; 3270 break; 3271 case 1: 3272 p = "l_int"; 3273 break; 3274 case 2: 3275 p = "l_int"; 3276 break; 3277 case 3: 3278 p = "l_int"; 3279 break; 3280 case 4: 3281 p = "void *"; 3282 break; 3283 case 5: 3284 p = "l_long"; 3285 break; 3286 default: 3287 break; 3288 }; 3289 break; 3290 /* fsync */ 3291 case 118: 3292 switch(ndx) { 3293 case 0: 3294 p = "int"; 3295 break; 3296 default: 3297 break; 3298 }; 3299 break; 3300 /* linux_sigreturn */ 3301 case 119: 3302 switch(ndx) { 3303 case 0: 3304 p = "struct l_sigframe *"; 3305 break; 3306 default: 3307 break; 3308 }; 3309 break; 3310 /* linux_clone */ 3311 case 120: 3312 switch(ndx) { 3313 case 0: 3314 p = "l_int"; 3315 break; 3316 case 1: 3317 p = "void *"; 3318 break; 3319 case 2: 3320 p = "void *"; 3321 break; 3322 case 3: 3323 p = "void *"; 3324 break; 3325 case 4: 3326 p = "void *"; 3327 break; 3328 default: 3329 break; 3330 }; 3331 break; 3332 /* linux_setdomainname */ 3333 case 121: 3334 switch(ndx) { 3335 case 0: 3336 p = "char *"; 3337 break; 3338 case 1: 3339 p = "int"; 3340 break; 3341 default: 3342 break; 3343 }; 3344 break; 3345 /* linux_newuname */ 3346 case 122: 3347 switch(ndx) { 3348 case 0: 3349 p = "struct l_new_utsname *"; 3350 break; 3351 default: 3352 break; 3353 }; 3354 break; 3355 /* linux_adjtimex */ 3356 case 124: 3357 break; 3358 /* linux_mprotect */ 3359 case 125: 3360 switch(ndx) { 3361 case 0: 3362 p = "caddr_t"; 3363 break; 3364 case 1: 3365 p = "int"; 3366 break; 3367 case 2: 3368 p = "int"; 3369 break; 3370 default: 3371 break; 3372 }; 3373 break; 3374 /* linux_sigprocmask */ 3375 case 126: 3376 switch(ndx) { 3377 case 0: 3378 p = "l_int"; 3379 break; 3380 case 1: 3381 p = "l_osigset_t *"; 3382 break; 3383 case 2: 3384 p = "l_osigset_t *"; 3385 break; 3386 default: 3387 break; 3388 }; 3389 break; 3390 /* linux_create_module */ 3391 case 127: 3392 break; 3393 /* linux_init_module */ 3394 case 128: 3395 break; 3396 /* linux_delete_module */ 3397 case 129: 3398 break; 3399 /* linux_get_kernel_syms */ 3400 case 130: 3401 break; 3402 /* linux_quotactl */ 3403 case 131: 3404 break; 3405 /* getpgid */ 3406 case 132: 3407 switch(ndx) { 3408 case 0: 3409 p = "int"; 3410 break; 3411 default: 3412 break; 3413 }; 3414 break; 3415 /* fchdir */ 3416 case 133: 3417 switch(ndx) { 3418 case 0: 3419 p = "int"; 3420 break; 3421 default: 3422 break; 3423 }; 3424 break; 3425 /* linux_bdflush */ 3426 case 134: 3427 break; 3428 /* linux_sysfs */ 3429 case 135: 3430 switch(ndx) { 3431 case 0: 3432 p = "l_int"; 3433 break; 3434 case 1: 3435 p = "l_ulong"; 3436 break; 3437 case 2: 3438 p = "l_ulong"; 3439 break; 3440 default: 3441 break; 3442 }; 3443 break; 3444 /* linux_personality */ 3445 case 136: 3446 switch(ndx) { 3447 case 0: 3448 p = "l_ulong"; 3449 break; 3450 default: 3451 break; 3452 }; 3453 break; 3454 /* linux_setfsuid16 */ 3455 case 138: 3456 switch(ndx) { 3457 case 0: 3458 p = "l_uid16_t"; 3459 break; 3460 default: 3461 break; 3462 }; 3463 break; 3464 /* linux_setfsgid16 */ 3465 case 139: 3466 switch(ndx) { 3467 case 0: 3468 p = "l_gid16_t"; 3469 break; 3470 default: 3471 break; 3472 }; 3473 break; 3474 /* linux_llseek */ 3475 case 140: 3476 switch(ndx) { 3477 case 0: 3478 p = "l_int"; 3479 break; 3480 case 1: 3481 p = "l_ulong"; 3482 break; 3483 case 2: 3484 p = "l_ulong"; 3485 break; 3486 case 3: 3487 p = "l_loff_t *"; 3488 break; 3489 case 4: 3490 p = "l_uint"; 3491 break; 3492 default: 3493 break; 3494 }; 3495 break; 3496 /* linux_getdents */ 3497 case 141: 3498 switch(ndx) { 3499 case 0: 3500 p = "l_uint"; 3501 break; 3502 case 1: 3503 p = "void *"; 3504 break; 3505 case 2: 3506 p = "l_uint"; 3507 break; 3508 default: 3509 break; 3510 }; 3511 break; 3512 /* linux_select */ 3513 case 142: 3514 switch(ndx) { 3515 case 0: 3516 p = "l_int"; 3517 break; 3518 case 1: 3519 p = "l_fd_set *"; 3520 break; 3521 case 2: 3522 p = "l_fd_set *"; 3523 break; 3524 case 3: 3525 p = "l_fd_set *"; 3526 break; 3527 case 4: 3528 p = "struct l_timeval *"; 3529 break; 3530 default: 3531 break; 3532 }; 3533 break; 3534 /* flock */ 3535 case 143: 3536 switch(ndx) { 3537 case 0: 3538 p = "int"; 3539 break; 3540 case 1: 3541 p = "int"; 3542 break; 3543 default: 3544 break; 3545 }; 3546 break; 3547 /* linux_msync */ 3548 case 144: 3549 switch(ndx) { 3550 case 0: 3551 p = "l_ulong"; 3552 break; 3553 case 1: 3554 p = "l_size_t"; 3555 break; 3556 case 2: 3557 p = "l_int"; 3558 break; 3559 default: 3560 break; 3561 }; 3562 break; 3563 /* linux_readv */ 3564 case 145: 3565 switch(ndx) { 3566 case 0: 3567 p = "l_ulong"; 3568 break; 3569 case 1: 3570 p = "struct l_iovec32 *"; 3571 break; 3572 case 2: 3573 p = "l_ulong"; 3574 break; 3575 default: 3576 break; 3577 }; 3578 break; 3579 /* linux_writev */ 3580 case 146: 3581 switch(ndx) { 3582 case 0: 3583 p = "l_ulong"; 3584 break; 3585 case 1: 3586 p = "struct l_iovec32 *"; 3587 break; 3588 case 2: 3589 p = "l_ulong"; 3590 break; 3591 default: 3592 break; 3593 }; 3594 break; 3595 /* linux_getsid */ 3596 case 147: 3597 switch(ndx) { 3598 case 0: 3599 p = "l_pid_t"; 3600 break; 3601 default: 3602 break; 3603 }; 3604 break; 3605 /* linux_fdatasync */ 3606 case 148: 3607 switch(ndx) { 3608 case 0: 3609 p = "l_uint"; 3610 break; 3611 default: 3612 break; 3613 }; 3614 break; 3615 /* linux_sysctl */ 3616 case 149: 3617 switch(ndx) { 3618 case 0: 3619 p = "struct l___sysctl_args *"; 3620 break; 3621 default: 3622 break; 3623 }; 3624 break; 3625 /* mlock */ 3626 case 150: 3627 switch(ndx) { 3628 case 0: 3629 p = "const void *"; 3630 break; 3631 case 1: 3632 p = "size_t"; 3633 break; 3634 default: 3635 break; 3636 }; 3637 break; 3638 /* munlock */ 3639 case 151: 3640 switch(ndx) { 3641 case 0: 3642 p = "const void *"; 3643 break; 3644 case 1: 3645 p = "size_t"; 3646 break; 3647 default: 3648 break; 3649 }; 3650 break; 3651 /* mlockall */ 3652 case 152: 3653 switch(ndx) { 3654 case 0: 3655 p = "int"; 3656 break; 3657 default: 3658 break; 3659 }; 3660 break; 3661 /* munlockall */ 3662 case 153: 3663 break; 3664 /* sched_setparam */ 3665 case 154: 3666 switch(ndx) { 3667 case 0: 3668 p = "pid_t"; 3669 break; 3670 case 1: 3671 p = "const struct sched_param *"; 3672 break; 3673 default: 3674 break; 3675 }; 3676 break; 3677 /* sched_getparam */ 3678 case 155: 3679 switch(ndx) { 3680 case 0: 3681 p = "pid_t"; 3682 break; 3683 case 1: 3684 p = "struct sched_param *"; 3685 break; 3686 default: 3687 break; 3688 }; 3689 break; 3690 /* linux_sched_setscheduler */ 3691 case 156: 3692 switch(ndx) { 3693 case 0: 3694 p = "l_pid_t"; 3695 break; 3696 case 1: 3697 p = "l_int"; 3698 break; 3699 case 2: 3700 p = "struct l_sched_param *"; 3701 break; 3702 default: 3703 break; 3704 }; 3705 break; 3706 /* linux_sched_getscheduler */ 3707 case 157: 3708 switch(ndx) { 3709 case 0: 3710 p = "l_pid_t"; 3711 break; 3712 default: 3713 break; 3714 }; 3715 break; 3716 /* sched_yield */ 3717 case 158: 3718 break; 3719 /* linux_sched_get_priority_max */ 3720 case 159: 3721 switch(ndx) { 3722 case 0: 3723 p = "l_int"; 3724 break; 3725 default: 3726 break; 3727 }; 3728 break; 3729 /* linux_sched_get_priority_min */ 3730 case 160: 3731 switch(ndx) { 3732 case 0: 3733 p = "l_int"; 3734 break; 3735 default: 3736 break; 3737 }; 3738 break; 3739 /* linux_sched_rr_get_interval */ 3740 case 161: 3741 switch(ndx) { 3742 case 0: 3743 p = "l_pid_t"; 3744 break; 3745 case 1: 3746 p = "struct l_timespec *"; 3747 break; 3748 default: 3749 break; 3750 }; 3751 break; 3752 /* linux_nanosleep */ 3753 case 162: 3754 switch(ndx) { 3755 case 0: 3756 p = "const struct l_timespec *"; 3757 break; 3758 case 1: 3759 p = "struct l_timespec *"; 3760 break; 3761 default: 3762 break; 3763 }; 3764 break; 3765 /* linux_mremap */ 3766 case 163: 3767 switch(ndx) { 3768 case 0: 3769 p = "l_ulong"; 3770 break; 3771 case 1: 3772 p = "l_ulong"; 3773 break; 3774 case 2: 3775 p = "l_ulong"; 3776 break; 3777 case 3: 3778 p = "l_ulong"; 3779 break; 3780 case 4: 3781 p = "l_ulong"; 3782 break; 3783 default: 3784 break; 3785 }; 3786 break; 3787 /* linux_setresuid16 */ 3788 case 164: 3789 switch(ndx) { 3790 case 0: 3791 p = "l_uid16_t"; 3792 break; 3793 case 1: 3794 p = "l_uid16_t"; 3795 break; 3796 case 2: 3797 p = "l_uid16_t"; 3798 break; 3799 default: 3800 break; 3801 }; 3802 break; 3803 /* linux_getresuid16 */ 3804 case 165: 3805 switch(ndx) { 3806 case 0: 3807 p = "l_uid16_t *"; 3808 break; 3809 case 1: 3810 p = "l_uid16_t *"; 3811 break; 3812 case 2: 3813 p = "l_uid16_t *"; 3814 break; 3815 default: 3816 break; 3817 }; 3818 break; 3819 /* linux_query_module */ 3820 case 167: 3821 break; 3822 /* poll */ 3823 case 168: 3824 switch(ndx) { 3825 case 0: 3826 p = "struct pollfd *"; 3827 break; 3828 case 1: 3829 p = "unsigned int"; 3830 break; 3831 case 2: 3832 p = "int"; 3833 break; 3834 default: 3835 break; 3836 }; 3837 break; 3838 /* linux_nfsservctl */ 3839 case 169: 3840 break; 3841 /* linux_setresgid16 */ 3842 case 170: 3843 switch(ndx) { 3844 case 0: 3845 p = "l_gid16_t"; 3846 break; 3847 case 1: 3848 p = "l_gid16_t"; 3849 break; 3850 case 2: 3851 p = "l_gid16_t"; 3852 break; 3853 default: 3854 break; 3855 }; 3856 break; 3857 /* linux_getresgid16 */ 3858 case 171: 3859 switch(ndx) { 3860 case 0: 3861 p = "l_gid16_t *"; 3862 break; 3863 case 1: 3864 p = "l_gid16_t *"; 3865 break; 3866 case 2: 3867 p = "l_gid16_t *"; 3868 break; 3869 default: 3870 break; 3871 }; 3872 break; 3873 /* linux_prctl */ 3874 case 172: 3875 switch(ndx) { 3876 case 0: 3877 p = "l_int"; 3878 break; 3879 case 1: 3880 p = "l_int"; 3881 break; 3882 case 2: 3883 p = "l_int"; 3884 break; 3885 case 3: 3886 p = "l_int"; 3887 break; 3888 case 4: 3889 p = "l_int"; 3890 break; 3891 default: 3892 break; 3893 }; 3894 break; 3895 /* linux_rt_sigreturn */ 3896 case 173: 3897 switch(ndx) { 3898 case 0: 3899 p = "struct l_ucontext *"; 3900 break; 3901 default: 3902 break; 3903 }; 3904 break; 3905 /* linux_rt_sigaction */ 3906 case 174: 3907 switch(ndx) { 3908 case 0: 3909 p = "l_int"; 3910 break; 3911 case 1: 3912 p = "l_sigaction_t *"; 3913 break; 3914 case 2: 3915 p = "l_sigaction_t *"; 3916 break; 3917 case 3: 3918 p = "l_size_t"; 3919 break; 3920 default: 3921 break; 3922 }; 3923 break; 3924 /* linux_rt_sigprocmask */ 3925 case 175: 3926 switch(ndx) { 3927 case 0: 3928 p = "l_int"; 3929 break; 3930 case 1: 3931 p = "l_sigset_t *"; 3932 break; 3933 case 2: 3934 p = "l_sigset_t *"; 3935 break; 3936 case 3: 3937 p = "l_size_t"; 3938 break; 3939 default: 3940 break; 3941 }; 3942 break; 3943 /* linux_rt_sigpending */ 3944 case 176: 3945 switch(ndx) { 3946 case 0: 3947 p = "l_sigset_t *"; 3948 break; 3949 case 1: 3950 p = "l_size_t"; 3951 break; 3952 default: 3953 break; 3954 }; 3955 break; 3956 /* linux_rt_sigtimedwait */ 3957 case 177: 3958 switch(ndx) { 3959 case 0: 3960 p = "l_sigset_t *"; 3961 break; 3962 case 1: 3963 p = "l_siginfo_t *"; 3964 break; 3965 case 2: 3966 p = "struct l_timeval *"; 3967 break; 3968 case 3: 3969 p = "l_size_t"; 3970 break; 3971 default: 3972 break; 3973 }; 3974 break; 3975 /* linux_rt_sigqueueinfo */ 3976 case 178: 3977 break; 3978 /* linux_rt_sigsuspend */ 3979 case 179: 3980 switch(ndx) { 3981 case 0: 3982 p = "l_sigset_t *"; 3983 break; 3984 case 1: 3985 p = "l_size_t"; 3986 break; 3987 default: 3988 break; 3989 }; 3990 break; 3991 /* linux_pread */ 3992 case 180: 3993 switch(ndx) { 3994 case 0: 3995 p = "l_uint"; 3996 break; 3997 case 1: 3998 p = "char *"; 3999 break; 4000 case 2: 4001 p = "l_size_t"; 4002 break; 4003 case 3: 4004 p = "l_loff_t"; 4005 break; 4006 default: 4007 break; 4008 }; 4009 break; 4010 /* linux_pwrite */ 4011 case 181: 4012 switch(ndx) { 4013 case 0: 4014 p = "l_uint"; 4015 break; 4016 case 1: 4017 p = "char *"; 4018 break; 4019 case 2: 4020 p = "l_size_t"; 4021 break; 4022 case 3: 4023 p = "l_loff_t"; 4024 break; 4025 default: 4026 break; 4027 }; 4028 break; 4029 /* linux_chown16 */ 4030 case 182: 4031 switch(ndx) { 4032 case 0: 4033 p = "char *"; 4034 break; 4035 case 1: 4036 p = "l_uid16_t"; 4037 break; 4038 case 2: 4039 p = "l_gid16_t"; 4040 break; 4041 default: 4042 break; 4043 }; 4044 break; 4045 /* linux_getcwd */ 4046 case 183: 4047 switch(ndx) { 4048 case 0: 4049 p = "char *"; 4050 break; 4051 case 1: 4052 p = "l_ulong"; 4053 break; 4054 default: 4055 break; 4056 }; 4057 break; 4058 /* linux_capget */ 4059 case 184: 4060 switch(ndx) { 4061 case 0: 4062 p = "struct l_user_cap_header *"; 4063 break; 4064 case 1: 4065 p = "struct l_user_cap_data *"; 4066 break; 4067 default: 4068 break; 4069 }; 4070 break; 4071 /* linux_capset */ 4072 case 185: 4073 switch(ndx) { 4074 case 0: 4075 p = "struct l_user_cap_header *"; 4076 break; 4077 case 1: 4078 p = "struct l_user_cap_data *"; 4079 break; 4080 default: 4081 break; 4082 }; 4083 break; 4084 /* linux_sigaltstack */ 4085 case 186: 4086 switch(ndx) { 4087 case 0: 4088 p = "l_stack_t *"; 4089 break; 4090 case 1: 4091 p = "l_stack_t *"; 4092 break; 4093 default: 4094 break; 4095 }; 4096 break; 4097 /* linux_sendfile */ 4098 case 187: 4099 break; 4100 /* linux_vfork */ 4101 case 190: 4102 break; 4103 /* linux_getrlimit */ 4104 case 191: 4105 switch(ndx) { 4106 case 0: 4107 p = "l_uint"; 4108 break; 4109 case 1: 4110 p = "struct l_rlimit *"; 4111 break; 4112 default: 4113 break; 4114 }; 4115 break; 4116 /* linux_mmap2 */ 4117 case 192: 4118 switch(ndx) { 4119 case 0: 4120 p = "l_ulong"; 4121 break; 4122 case 1: 4123 p = "l_ulong"; 4124 break; 4125 case 2: 4126 p = "l_ulong"; 4127 break; 4128 case 3: 4129 p = "l_ulong"; 4130 break; 4131 case 4: 4132 p = "l_ulong"; 4133 break; 4134 case 5: 4135 p = "l_ulong"; 4136 break; 4137 default: 4138 break; 4139 }; 4140 break; 4141 /* linux_truncate64 */ 4142 case 193: 4143 switch(ndx) { 4144 case 0: 4145 p = "char *"; 4146 break; 4147 case 1: 4148 p = "l_loff_t"; 4149 break; 4150 default: 4151 break; 4152 }; 4153 break; 4154 /* linux_ftruncate64 */ 4155 case 194: 4156 switch(ndx) { 4157 case 0: 4158 p = "l_uint"; 4159 break; 4160 case 1: 4161 p = "l_loff_t"; 4162 break; 4163 default: 4164 break; 4165 }; 4166 break; 4167 /* linux_stat64 */ 4168 case 195: 4169 switch(ndx) { 4170 case 0: 4171 p = "char *"; 4172 break; 4173 case 1: 4174 p = "struct l_stat64 *"; 4175 break; 4176 case 2: 4177 p = "l_long"; 4178 break; 4179 default: 4180 break; 4181 }; 4182 break; 4183 /* linux_lstat64 */ 4184 case 196: 4185 switch(ndx) { 4186 case 0: 4187 p = "char *"; 4188 break; 4189 case 1: 4190 p = "struct l_stat64 *"; 4191 break; 4192 case 2: 4193 p = "l_long"; 4194 break; 4195 default: 4196 break; 4197 }; 4198 break; 4199 /* linux_fstat64 */ 4200 case 197: 4201 switch(ndx) { 4202 case 0: 4203 p = "l_ulong"; 4204 break; 4205 case 1: 4206 p = "struct l_stat64 *"; 4207 break; 4208 case 2: 4209 p = "l_long"; 4210 break; 4211 default: 4212 break; 4213 }; 4214 break; 4215 /* linux_lchown */ 4216 case 198: 4217 switch(ndx) { 4218 case 0: 4219 p = "char *"; 4220 break; 4221 case 1: 4222 p = "l_uid_t"; 4223 break; 4224 case 2: 4225 p = "l_gid_t"; 4226 break; 4227 default: 4228 break; 4229 }; 4230 break; 4231 /* linux_getuid */ 4232 case 199: 4233 break; 4234 /* linux_getgid */ 4235 case 200: 4236 break; 4237 /* geteuid */ 4238 case 201: 4239 break; 4240 /* getegid */ 4241 case 202: 4242 break; 4243 /* setreuid */ 4244 case 203: 4245 switch(ndx) { 4246 case 0: 4247 p = "uid_t"; 4248 break; 4249 case 1: 4250 p = "uid_t"; 4251 break; 4252 default: 4253 break; 4254 }; 4255 break; 4256 /* setregid */ 4257 case 204: 4258 switch(ndx) { 4259 case 0: 4260 p = "gid_t"; 4261 break; 4262 case 1: 4263 p = "gid_t"; 4264 break; 4265 default: 4266 break; 4267 }; 4268 break; 4269 /* linux_getgroups */ 4270 case 205: 4271 switch(ndx) { 4272 case 0: 4273 p = "l_int"; 4274 break; 4275 case 1: 4276 p = "l_gid_t *"; 4277 break; 4278 default: 4279 break; 4280 }; 4281 break; 4282 /* linux_setgroups */ 4283 case 206: 4284 switch(ndx) { 4285 case 0: 4286 p = "l_int"; 4287 break; 4288 case 1: 4289 p = "l_gid_t *"; 4290 break; 4291 default: 4292 break; 4293 }; 4294 break; 4295 /* fchown */ 4296 case 207: 4297 break; 4298 /* setresuid */ 4299 case 208: 4300 switch(ndx) { 4301 case 0: 4302 p = "uid_t"; 4303 break; 4304 case 1: 4305 p = "uid_t"; 4306 break; 4307 case 2: 4308 p = "uid_t"; 4309 break; 4310 default: 4311 break; 4312 }; 4313 break; 4314 /* getresuid */ 4315 case 209: 4316 switch(ndx) { 4317 case 0: 4318 p = "uid_t *"; 4319 break; 4320 case 1: 4321 p = "uid_t *"; 4322 break; 4323 case 2: 4324 p = "uid_t *"; 4325 break; 4326 default: 4327 break; 4328 }; 4329 break; 4330 /* setresgid */ 4331 case 210: 4332 switch(ndx) { 4333 case 0: 4334 p = "gid_t"; 4335 break; 4336 case 1: 4337 p = "gid_t"; 4338 break; 4339 case 2: 4340 p = "gid_t"; 4341 break; 4342 default: 4343 break; 4344 }; 4345 break; 4346 /* getresgid */ 4347 case 211: 4348 switch(ndx) { 4349 case 0: 4350 p = "gid_t *"; 4351 break; 4352 case 1: 4353 p = "gid_t *"; 4354 break; 4355 case 2: 4356 p = "gid_t *"; 4357 break; 4358 default: 4359 break; 4360 }; 4361 break; 4362 /* linux_chown */ 4363 case 212: 4364 switch(ndx) { 4365 case 0: 4366 p = "char *"; 4367 break; 4368 case 1: 4369 p = "l_uid_t"; 4370 break; 4371 case 2: 4372 p = "l_gid_t"; 4373 break; 4374 default: 4375 break; 4376 }; 4377 break; 4378 /* setuid */ 4379 case 213: 4380 switch(ndx) { 4381 case 0: 4382 p = "uid_t"; 4383 break; 4384 default: 4385 break; 4386 }; 4387 break; 4388 /* setgid */ 4389 case 214: 4390 switch(ndx) { 4391 case 0: 4392 p = "gid_t"; 4393 break; 4394 default: 4395 break; 4396 }; 4397 break; 4398 /* linux_setfsuid */ 4399 case 215: 4400 switch(ndx) { 4401 case 0: 4402 p = "l_uid_t"; 4403 break; 4404 default: 4405 break; 4406 }; 4407 break; 4408 /* linux_setfsgid */ 4409 case 216: 4410 switch(ndx) { 4411 case 0: 4412 p = "l_gid_t"; 4413 break; 4414 default: 4415 break; 4416 }; 4417 break; 4418 /* linux_pivot_root */ 4419 case 217: 4420 switch(ndx) { 4421 case 0: 4422 p = "char *"; 4423 break; 4424 case 1: 4425 p = "char *"; 4426 break; 4427 default: 4428 break; 4429 }; 4430 break; 4431 /* linux_mincore */ 4432 case 218: 4433 switch(ndx) { 4434 case 0: 4435 p = "l_ulong"; 4436 break; 4437 case 1: 4438 p = "l_size_t"; 4439 break; 4440 case 2: 4441 p = "u_char *"; 4442 break; 4443 default: 4444 break; 4445 }; 4446 break; 4447 /* madvise */ 4448 case 219: 4449 switch(ndx) { 4450 case 0: 4451 p = "void *"; 4452 break; 4453 case 1: 4454 p = "size_t"; 4455 break; 4456 case 2: 4457 p = "int"; 4458 break; 4459 default: 4460 break; 4461 }; 4462 break; 4463 /* linux_getdents64 */ 4464 case 220: 4465 switch(ndx) { 4466 case 0: 4467 p = "l_uint"; 4468 break; 4469 case 1: 4470 p = "void *"; 4471 break; 4472 case 2: 4473 p = "l_uint"; 4474 break; 4475 default: 4476 break; 4477 }; 4478 break; 4479 /* linux_fcntl64 */ 4480 case 221: 4481 switch(ndx) { 4482 case 0: 4483 p = "l_uint"; 4484 break; 4485 case 1: 4486 p = "l_uint"; 4487 break; 4488 case 2: 4489 p = "uintptr_t"; 4490 break; 4491 default: 4492 break; 4493 }; 4494 break; 4495 /* linux_gettid */ 4496 case 224: 4497 break; 4498 /* linux_setxattr */ 4499 case 226: 4500 break; 4501 /* linux_lsetxattr */ 4502 case 227: 4503 break; 4504 /* linux_fsetxattr */ 4505 case 228: 4506 break; 4507 /* linux_getxattr */ 4508 case 229: 4509 break; 4510 /* linux_lgetxattr */ 4511 case 230: 4512 break; 4513 /* linux_fgetxattr */ 4514 case 231: 4515 break; 4516 /* linux_listxattr */ 4517 case 232: 4518 break; 4519 /* linux_llistxattr */ 4520 case 233: 4521 break; 4522 /* linux_flistxattr */ 4523 case 234: 4524 break; 4525 /* linux_removexattr */ 4526 case 235: 4527 break; 4528 /* linux_lremovexattr */ 4529 case 236: 4530 break; 4531 /* linux_fremovexattr */ 4532 case 237: 4533 break; 4534 /* linux_tkill */ 4535 case 238: 4536 switch(ndx) { 4537 case 0: 4538 p = "int"; 4539 break; 4540 case 1: 4541 p = "int"; 4542 break; 4543 default: 4544 break; 4545 }; 4546 break; 4547 /* linux_sys_futex */ 4548 case 240: 4549 switch(ndx) { 4550 case 0: 4551 p = "void *"; 4552 break; 4553 case 1: 4554 p = "int"; 4555 break; 4556 case 2: 4557 p = "uint32_t"; 4558 break; 4559 case 3: 4560 p = "struct l_timespec *"; 4561 break; 4562 case 4: 4563 p = "uint32_t *"; 4564 break; 4565 case 5: 4566 p = "uint32_t"; 4567 break; 4568 default: 4569 break; 4570 }; 4571 break; 4572 /* linux_sched_setaffinity */ 4573 case 241: 4574 switch(ndx) { 4575 case 0: 4576 p = "l_pid_t"; 4577 break; 4578 case 1: 4579 p = "l_uint"; 4580 break; 4581 case 2: 4582 p = "l_ulong *"; 4583 break; 4584 default: 4585 break; 4586 }; 4587 break; 4588 /* linux_sched_getaffinity */ 4589 case 242: 4590 switch(ndx) { 4591 case 0: 4592 p = "l_pid_t"; 4593 break; 4594 case 1: 4595 p = "l_uint"; 4596 break; 4597 case 2: 4598 p = "l_ulong *"; 4599 break; 4600 default: 4601 break; 4602 }; 4603 break; 4604 /* linux_set_thread_area */ 4605 case 243: 4606 switch(ndx) { 4607 case 0: 4608 p = "struct l_user_desc *"; 4609 break; 4610 default: 4611 break; 4612 }; 4613 break; 4614 /* linux_fadvise64 */ 4615 case 250: 4616 break; 4617 /* linux_exit_group */ 4618 case 252: 4619 switch(ndx) { 4620 case 0: 4621 p = "int"; 4622 break; 4623 default: 4624 break; 4625 }; 4626 break; 4627 /* linux_lookup_dcookie */ 4628 case 253: 4629 break; 4630 /* linux_epoll_create */ 4631 case 254: 4632 break; 4633 /* linux_epoll_ctl */ 4634 case 255: 4635 break; 4636 /* linux_epoll_wait */ 4637 case 256: 4638 break; 4639 /* linux_remap_file_pages */ 4640 case 257: 4641 break; 4642 /* linux_set_tid_address */ 4643 case 258: 4644 switch(ndx) { 4645 case 0: 4646 p = "int *"; 4647 break; 4648 default: 4649 break; 4650 }; 4651 break; 4652 /* linux_timer_create */ 4653 case 259: 4654 break; 4655 /* linux_timer_settime */ 4656 case 260: 4657 break; 4658 /* linux_timer_gettime */ 4659 case 261: 4660 break; 4661 /* linux_timer_getoverrun */ 4662 case 262: 4663 break; 4664 /* linux_timer_delete */ 4665 case 263: 4666 break; 4667 /* linux_clock_settime */ 4668 case 264: 4669 switch(ndx) { 4670 case 0: 4671 p = "clockid_t"; 4672 break; 4673 case 1: 4674 p = "struct l_timespec *"; 4675 break; 4676 default: 4677 break; 4678 }; 4679 break; 4680 /* linux_clock_gettime */ 4681 case 265: 4682 switch(ndx) { 4683 case 0: 4684 p = "clockid_t"; 4685 break; 4686 case 1: 4687 p = "struct l_timespec *"; 4688 break; 4689 default: 4690 break; 4691 }; 4692 break; 4693 /* linux_clock_getres */ 4694 case 266: 4695 switch(ndx) { 4696 case 0: 4697 p = "clockid_t"; 4698 break; 4699 case 1: 4700 p = "struct l_timespec *"; 4701 break; 4702 default: 4703 break; 4704 }; 4705 break; 4706 /* linux_clock_nanosleep */ 4707 case 267: 4708 switch(ndx) { 4709 case 0: 4710 p = "clockid_t"; 4711 break; 4712 case 1: 4713 p = "int"; 4714 break; 4715 case 2: 4716 p = "struct l_timespec *"; 4717 break; 4718 case 3: 4719 p = "struct l_timespec *"; 4720 break; 4721 default: 4722 break; 4723 }; 4724 break; 4725 /* linux_statfs64 */ 4726 case 268: 4727 switch(ndx) { 4728 case 0: 4729 p = "char *"; 4730 break; 4731 case 1: 4732 p = "size_t"; 4733 break; 4734 case 2: 4735 p = "struct l_statfs64_buf *"; 4736 break; 4737 default: 4738 break; 4739 }; 4740 break; 4741 /* linux_fstatfs64 */ 4742 case 269: 4743 break; 4744 /* linux_tgkill */ 4745 case 270: 4746 switch(ndx) { 4747 case 0: 4748 p = "int"; 4749 break; 4750 case 1: 4751 p = "int"; 4752 break; 4753 case 2: 4754 p = "int"; 4755 break; 4756 default: 4757 break; 4758 }; 4759 break; 4760 /* linux_utimes */ 4761 case 271: 4762 switch(ndx) { 4763 case 0: 4764 p = "char *"; 4765 break; 4766 case 1: 4767 p = "struct l_timeval *"; 4768 break; 4769 default: 4770 break; 4771 }; 4772 break; 4773 /* linux_fadvise64_64 */ 4774 case 272: 4775 break; 4776 /* linux_mbind */ 4777 case 274: 4778 break; 4779 /* linux_get_mempolicy */ 4780 case 275: 4781 break; 4782 /* linux_set_mempolicy */ 4783 case 276: 4784 break; 4785 /* linux_mq_open */ 4786 case 277: 4787 break; 4788 /* linux_mq_unlink */ 4789 case 278: 4790 break; 4791 /* linux_mq_timedsend */ 4792 case 279: 4793 break; 4794 /* linux_mq_timedreceive */ 4795 case 280: 4796 break; 4797 /* linux_mq_notify */ 4798 case 281: 4799 break; 4800 /* linux_mq_getsetattr */ 4801 case 282: 4802 break; 4803 /* linux_kexec_load */ 4804 case 283: 4805 break; 4806 /* linux_waitid */ 4807 case 284: 4808 break; 4809 /* linux_add_key */ 4810 case 286: 4811 break; 4812 /* linux_request_key */ 4813 case 287: 4814 break; 4815 /* linux_keyctl */ 4816 case 288: 4817 break; 4818 /* linux_ioprio_set */ 4819 case 289: 4820 break; 4821 /* linux_ioprio_get */ 4822 case 290: 4823 break; 4824 /* linux_inotify_init */ 4825 case 291: 4826 break; 4827 /* linux_inotify_add_watch */ 4828 case 292: 4829 break; 4830 /* linux_inotify_rm_watch */ 4831 case 293: 4832 break; 4833 /* linux_migrate_pages */ 4834 case 294: 4835 break; 4836 /* linux_openat */ 4837 case 295: 4838 switch(ndx) { 4839 case 0: 4840 p = "l_int"; 4841 break; 4842 case 1: 4843 p = "const char *"; 4844 break; 4845 case 2: 4846 p = "l_int"; 4847 break; 4848 case 3: 4849 p = "l_int"; 4850 break; 4851 default: 4852 break; 4853 }; 4854 break; 4855 /* linux_mkdirat */ 4856 case 296: 4857 switch(ndx) { 4858 case 0: 4859 p = "l_int"; 4860 break; 4861 case 1: 4862 p = "const char *"; 4863 break; 4864 case 2: 4865 p = "l_int"; 4866 break; 4867 default: 4868 break; 4869 }; 4870 break; 4871 /* linux_mknodat */ 4872 case 297: 4873 switch(ndx) { 4874 case 0: 4875 p = "l_int"; 4876 break; 4877 case 1: 4878 p = "const char *"; 4879 break; 4880 case 2: 4881 p = "l_int"; 4882 break; 4883 case 3: 4884 p = "l_uint"; 4885 break; 4886 default: 4887 break; 4888 }; 4889 break; 4890 /* linux_fchownat */ 4891 case 298: 4892 switch(ndx) { 4893 case 0: 4894 p = "l_int"; 4895 break; 4896 case 1: 4897 p = "const char *"; 4898 break; 4899 case 2: 4900 p = "l_uid16_t"; 4901 break; 4902 case 3: 4903 p = "l_gid16_t"; 4904 break; 4905 case 4: 4906 p = "l_int"; 4907 break; 4908 default: 4909 break; 4910 }; 4911 break; 4912 /* linux_futimesat */ 4913 case 299: 4914 switch(ndx) { 4915 case 0: 4916 p = "l_int"; 4917 break; 4918 case 1: 4919 p = "char *"; 4920 break; 4921 case 2: 4922 p = "struct l_timeval *"; 4923 break; 4924 default: 4925 break; 4926 }; 4927 break; 4928 /* linux_fstatat64 */ 4929 case 300: 4930 switch(ndx) { 4931 case 0: 4932 p = "l_int"; 4933 break; 4934 case 1: 4935 p = "char *"; 4936 break; 4937 case 2: 4938 p = "struct l_stat64 *"; 4939 break; 4940 case 3: 4941 p = "l_int"; 4942 break; 4943 default: 4944 break; 4945 }; 4946 break; 4947 /* linux_unlinkat */ 4948 case 301: 4949 switch(ndx) { 4950 case 0: 4951 p = "l_int"; 4952 break; 4953 case 1: 4954 p = "const char *"; 4955 break; 4956 case 2: 4957 p = "l_int"; 4958 break; 4959 default: 4960 break; 4961 }; 4962 break; 4963 /* linux_renameat */ 4964 case 302: 4965 switch(ndx) { 4966 case 0: 4967 p = "l_int"; 4968 break; 4969 case 1: 4970 p = "const char *"; 4971 break; 4972 case 2: 4973 p = "l_int"; 4974 break; 4975 case 3: 4976 p = "const char *"; 4977 break; 4978 default: 4979 break; 4980 }; 4981 break; 4982 /* linux_linkat */ 4983 case 303: 4984 switch(ndx) { 4985 case 0: 4986 p = "l_int"; 4987 break; 4988 case 1: 4989 p = "const char *"; 4990 break; 4991 case 2: 4992 p = "l_int"; 4993 break; 4994 case 3: 4995 p = "const char *"; 4996 break; 4997 case 4: 4998 p = "l_int"; 4999 break; 5000 default: 5001 break; 5002 }; 5003 break; 5004 /* linux_symlinkat */ 5005 case 304: 5006 switch(ndx) { 5007 case 0: 5008 p = "const char *"; 5009 break; 5010 case 1: 5011 p = "l_int"; 5012 break; 5013 case 2: 5014 p = "const char *"; 5015 break; 5016 default: 5017 break; 5018 }; 5019 break; 5020 /* linux_readlinkat */ 5021 case 305: 5022 switch(ndx) { 5023 case 0: 5024 p = "l_int"; 5025 break; 5026 case 1: 5027 p = "const char *"; 5028 break; 5029 case 2: 5030 p = "char *"; 5031 break; 5032 case 3: 5033 p = "l_int"; 5034 break; 5035 default: 5036 break; 5037 }; 5038 break; 5039 /* linux_fchmodat */ 5040 case 306: 5041 switch(ndx) { 5042 case 0: 5043 p = "l_int"; 5044 break; 5045 case 1: 5046 p = "const char *"; 5047 break; 5048 case 2: 5049 p = "l_mode_t"; 5050 break; 5051 default: 5052 break; 5053 }; 5054 break; 5055 /* linux_faccessat */ 5056 case 307: 5057 switch(ndx) { 5058 case 0: 5059 p = "l_int"; 5060 break; 5061 case 1: 5062 p = "const char *"; 5063 break; 5064 case 2: 5065 p = "l_int"; 5066 break; 5067 default: 5068 break; 5069 }; 5070 break; 5071 /* linux_pselect6 */ 5072 case 308: 5073 break; 5074 /* linux_ppoll */ 5075 case 309: 5076 break; 5077 /* linux_unshare */ 5078 case 310: 5079 break; 5080 /* linux_set_robust_list */ 5081 case 311: 5082 switch(ndx) { 5083 case 0: 5084 p = "struct linux_robust_list_head *"; 5085 break; 5086 case 1: 5087 p = "l_size_t"; 5088 break; 5089 default: 5090 break; 5091 }; 5092 break; 5093 /* linux_get_robust_list */ 5094 case 312: 5095 switch(ndx) { 5096 case 0: 5097 p = "l_int"; 5098 break; 5099 case 1: 5100 p = "struct linux_robust_list_head *"; 5101 break; 5102 case 2: 5103 p = "l_size_t *"; 5104 break; 5105 default: 5106 break; 5107 }; 5108 break; 5109 /* linux_splice */ 5110 case 313: 5111 break; 5112 /* linux_sync_file_range */ 5113 case 314: 5114 break; 5115 /* linux_tee */ 5116 case 315: 5117 break; 5118 /* linux_vmsplice */ 5119 case 316: 5120 break; 5121 default: 5122 break; 5123 }; 5124 if (p != NULL) 5125 strlcpy(desc, p, descsz); 5126 } 5127