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; /* char ** */ 98 uarg[2] = (intptr_t) p->envp; /* char ** */ 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_fstat */ 217 case 28: { 218 struct linux_fstat_args *p = params; 219 iarg[0] = p->fd; /* l_uint */ 220 uarg[1] = (intptr_t) p->up; /* struct linux_stat * */ 221 *n_args = 2; 222 break; 223 } 224 /* linux_pause */ 225 case 29: { 226 *n_args = 0; 227 break; 228 } 229 /* linux_utime */ 230 case 30: { 231 struct linux_utime_args *p = params; 232 uarg[0] = (intptr_t) p->fname; /* char * */ 233 uarg[1] = (intptr_t) p->times; /* struct l_utimbuf * */ 234 *n_args = 2; 235 break; 236 } 237 /* linux_access */ 238 case 33: { 239 struct linux_access_args *p = params; 240 uarg[0] = (intptr_t) p->path; /* char * */ 241 iarg[1] = p->flags; /* l_int */ 242 *n_args = 2; 243 break; 244 } 245 /* linux_nice */ 246 case 34: { 247 struct linux_nice_args *p = params; 248 iarg[0] = p->inc; /* l_int */ 249 *n_args = 1; 250 break; 251 } 252 /* sync */ 253 case 36: { 254 *n_args = 0; 255 break; 256 } 257 /* linux_kill */ 258 case 37: { 259 struct linux_kill_args *p = params; 260 iarg[0] = p->pid; /* l_int */ 261 iarg[1] = p->signum; /* l_int */ 262 *n_args = 2; 263 break; 264 } 265 /* linux_rename */ 266 case 38: { 267 struct linux_rename_args *p = params; 268 uarg[0] = (intptr_t) p->from; /* char * */ 269 uarg[1] = (intptr_t) p->to; /* char * */ 270 *n_args = 2; 271 break; 272 } 273 /* linux_mkdir */ 274 case 39: { 275 struct linux_mkdir_args *p = params; 276 uarg[0] = (intptr_t) p->path; /* char * */ 277 iarg[1] = p->mode; /* l_int */ 278 *n_args = 2; 279 break; 280 } 281 /* linux_rmdir */ 282 case 40: { 283 struct linux_rmdir_args *p = params; 284 uarg[0] = (intptr_t) p->path; /* char * */ 285 *n_args = 1; 286 break; 287 } 288 /* dup */ 289 case 41: { 290 struct dup_args *p = params; 291 uarg[0] = p->fd; /* u_int */ 292 *n_args = 1; 293 break; 294 } 295 /* linux_pipe */ 296 case 42: { 297 struct linux_pipe_args *p = params; 298 uarg[0] = (intptr_t) p->pipefds; /* l_ulong * */ 299 *n_args = 1; 300 break; 301 } 302 /* linux_times */ 303 case 43: { 304 struct linux_times_args *p = params; 305 uarg[0] = (intptr_t) p->buf; /* struct l_times_argv * */ 306 *n_args = 1; 307 break; 308 } 309 /* linux_brk */ 310 case 45: { 311 struct linux_brk_args *p = params; 312 iarg[0] = p->dsend; /* l_ulong */ 313 *n_args = 1; 314 break; 315 } 316 /* linux_setgid16 */ 317 case 46: { 318 struct linux_setgid16_args *p = params; 319 iarg[0] = p->gid; /* l_gid16_t */ 320 *n_args = 1; 321 break; 322 } 323 /* linux_getgid16 */ 324 case 47: { 325 *n_args = 0; 326 break; 327 } 328 /* linux_signal */ 329 case 48: { 330 struct linux_signal_args *p = params; 331 iarg[0] = p->sig; /* l_int */ 332 uarg[1] = (intptr_t) p->handler; /* void * */ 333 *n_args = 2; 334 break; 335 } 336 /* linux_geteuid16 */ 337 case 49: { 338 *n_args = 0; 339 break; 340 } 341 /* linux_getegid16 */ 342 case 50: { 343 *n_args = 0; 344 break; 345 } 346 /* acct */ 347 case 51: { 348 struct acct_args *p = params; 349 uarg[0] = (intptr_t) p->path; /* char * */ 350 *n_args = 1; 351 break; 352 } 353 /* linux_umount */ 354 case 52: { 355 struct linux_umount_args *p = params; 356 uarg[0] = (intptr_t) p->path; /* char * */ 357 iarg[1] = p->flags; /* l_int */ 358 *n_args = 2; 359 break; 360 } 361 /* linux_ioctl */ 362 case 54: { 363 struct linux_ioctl_args *p = params; 364 iarg[0] = p->fd; /* l_uint */ 365 iarg[1] = p->cmd; /* l_uint */ 366 iarg[2] = p->arg; /* l_ulong */ 367 *n_args = 3; 368 break; 369 } 370 /* linux_fcntl */ 371 case 55: { 372 struct linux_fcntl_args *p = params; 373 iarg[0] = p->fd; /* l_uint */ 374 iarg[1] = p->cmd; /* l_uint */ 375 iarg[2] = p->arg; /* l_ulong */ 376 *n_args = 3; 377 break; 378 } 379 /* setpgid */ 380 case 57: { 381 struct setpgid_args *p = params; 382 iarg[0] = p->pid; /* int */ 383 iarg[1] = p->pgid; /* int */ 384 *n_args = 2; 385 break; 386 } 387 /* linux_olduname */ 388 case 59: { 389 *n_args = 0; 390 break; 391 } 392 /* umask */ 393 case 60: { 394 struct umask_args *p = params; 395 iarg[0] = p->newmask; /* int */ 396 *n_args = 1; 397 break; 398 } 399 /* chroot */ 400 case 61: { 401 struct chroot_args *p = params; 402 uarg[0] = (intptr_t) p->path; /* char * */ 403 *n_args = 1; 404 break; 405 } 406 /* linux_ustat */ 407 case 62: { 408 struct linux_ustat_args *p = params; 409 iarg[0] = p->dev; /* l_dev_t */ 410 uarg[1] = (intptr_t) p->ubuf; /* struct l_ustat * */ 411 *n_args = 2; 412 break; 413 } 414 /* dup2 */ 415 case 63: { 416 struct dup2_args *p = params; 417 uarg[0] = p->from; /* u_int */ 418 uarg[1] = p->to; /* u_int */ 419 *n_args = 2; 420 break; 421 } 422 /* linux_getppid */ 423 case 64: { 424 *n_args = 0; 425 break; 426 } 427 /* getpgrp */ 428 case 65: { 429 *n_args = 0; 430 break; 431 } 432 /* setsid */ 433 case 66: { 434 *n_args = 0; 435 break; 436 } 437 /* linux_sigaction */ 438 case 67: { 439 struct linux_sigaction_args *p = params; 440 iarg[0] = p->sig; /* l_int */ 441 uarg[1] = (intptr_t) p->nsa; /* l_osigaction_t * */ 442 uarg[2] = (intptr_t) p->osa; /* l_osigaction_t * */ 443 *n_args = 3; 444 break; 445 } 446 /* linux_sgetmask */ 447 case 68: { 448 *n_args = 0; 449 break; 450 } 451 /* linux_ssetmask */ 452 case 69: { 453 struct linux_ssetmask_args *p = params; 454 iarg[0] = p->mask; /* l_osigset_t */ 455 *n_args = 1; 456 break; 457 } 458 /* linux_setreuid16 */ 459 case 70: { 460 struct linux_setreuid16_args *p = params; 461 iarg[0] = p->ruid; /* l_uid16_t */ 462 iarg[1] = p->euid; /* l_uid16_t */ 463 *n_args = 2; 464 break; 465 } 466 /* linux_setregid16 */ 467 case 71: { 468 struct linux_setregid16_args *p = params; 469 iarg[0] = p->rgid; /* l_gid16_t */ 470 iarg[1] = p->egid; /* l_gid16_t */ 471 *n_args = 2; 472 break; 473 } 474 /* linux_sigsuspend */ 475 case 72: { 476 struct linux_sigsuspend_args *p = params; 477 iarg[0] = p->hist0; /* l_int */ 478 iarg[1] = p->hist1; /* l_int */ 479 iarg[2] = p->mask; /* l_osigset_t */ 480 *n_args = 3; 481 break; 482 } 483 /* linux_sigpending */ 484 case 73: { 485 struct linux_sigpending_args *p = params; 486 uarg[0] = (intptr_t) p->mask; /* l_osigset_t * */ 487 *n_args = 1; 488 break; 489 } 490 /* linux_sethostname */ 491 case 74: { 492 struct linux_sethostname_args *p = params; 493 uarg[0] = (intptr_t) p->hostname; /* char * */ 494 uarg[1] = p->len; /* u_int */ 495 *n_args = 2; 496 break; 497 } 498 /* linux_setrlimit */ 499 case 75: { 500 struct linux_setrlimit_args *p = params; 501 iarg[0] = p->resource; /* l_uint */ 502 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */ 503 *n_args = 2; 504 break; 505 } 506 /* linux_old_getrlimit */ 507 case 76: { 508 struct linux_old_getrlimit_args *p = params; 509 iarg[0] = p->resource; /* l_uint */ 510 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */ 511 *n_args = 2; 512 break; 513 } 514 /* getrusage */ 515 case 77: { 516 struct getrusage_args *p = params; 517 iarg[0] = p->who; /* int */ 518 uarg[1] = (intptr_t) p->rusage; /* struct rusage * */ 519 *n_args = 2; 520 break; 521 } 522 /* gettimeofday */ 523 case 78: { 524 struct gettimeofday_args *p = params; 525 uarg[0] = (intptr_t) p->tp; /* struct timeval * */ 526 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */ 527 *n_args = 2; 528 break; 529 } 530 /* settimeofday */ 531 case 79: { 532 struct settimeofday_args *p = params; 533 uarg[0] = (intptr_t) p->tv; /* struct timeval * */ 534 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */ 535 *n_args = 2; 536 break; 537 } 538 /* linux_getgroups16 */ 539 case 80: { 540 struct linux_getgroups16_args *p = params; 541 iarg[0] = p->gidsetsize; /* l_uint */ 542 uarg[1] = (intptr_t) p->gidset; /* l_gid16_t * */ 543 *n_args = 2; 544 break; 545 } 546 /* linux_setgroups16 */ 547 case 81: { 548 struct linux_setgroups16_args *p = params; 549 iarg[0] = p->gidsetsize; /* l_uint */ 550 uarg[1] = (intptr_t) p->gidset; /* l_gid16_t * */ 551 *n_args = 2; 552 break; 553 } 554 /* linux_old_select */ 555 case 82: { 556 struct linux_old_select_args *p = params; 557 uarg[0] = (intptr_t) p->ptr; /* struct l_old_select_argv * */ 558 *n_args = 1; 559 break; 560 } 561 /* linux_symlink */ 562 case 83: { 563 struct linux_symlink_args *p = params; 564 uarg[0] = (intptr_t) p->path; /* char * */ 565 uarg[1] = (intptr_t) p->to; /* char * */ 566 *n_args = 2; 567 break; 568 } 569 /* linux_lstat */ 570 case 84: { 571 struct linux_lstat_args *p = params; 572 uarg[0] = (intptr_t) p->path; /* char * */ 573 uarg[1] = (intptr_t) p->up; /* struct ostat * */ 574 *n_args = 2; 575 break; 576 } 577 /* linux_readlink */ 578 case 85: { 579 struct linux_readlink_args *p = params; 580 uarg[0] = (intptr_t) p->name; /* char * */ 581 uarg[1] = (intptr_t) p->buf; /* char * */ 582 iarg[2] = p->count; /* l_int */ 583 *n_args = 3; 584 break; 585 } 586 /* linux_uselib */ 587 case 86: { 588 struct linux_uselib_args *p = params; 589 uarg[0] = (intptr_t) p->library; /* char * */ 590 *n_args = 1; 591 break; 592 } 593 /* swapon */ 594 case 87: { 595 struct swapon_args *p = params; 596 uarg[0] = (intptr_t) p->name; /* char * */ 597 *n_args = 1; 598 break; 599 } 600 /* linux_reboot */ 601 case 88: { 602 struct linux_reboot_args *p = params; 603 iarg[0] = p->magic1; /* l_int */ 604 iarg[1] = p->magic2; /* l_int */ 605 iarg[2] = p->cmd; /* l_uint */ 606 uarg[3] = (intptr_t) p->arg; /* void * */ 607 *n_args = 4; 608 break; 609 } 610 /* linux_readdir */ 611 case 89: { 612 struct linux_readdir_args *p = params; 613 iarg[0] = p->fd; /* l_uint */ 614 uarg[1] = (intptr_t) p->dent; /* struct l_dirent * */ 615 iarg[2] = p->count; /* l_uint */ 616 *n_args = 3; 617 break; 618 } 619 /* linux_mmap */ 620 case 90: { 621 struct linux_mmap_args *p = params; 622 uarg[0] = (intptr_t) p->ptr; /* struct l_mmap_argv * */ 623 *n_args = 1; 624 break; 625 } 626 /* munmap */ 627 case 91: { 628 struct munmap_args *p = params; 629 uarg[0] = (intptr_t) p->addr; /* caddr_t */ 630 iarg[1] = p->len; /* int */ 631 *n_args = 2; 632 break; 633 } 634 /* linux_truncate */ 635 case 92: { 636 struct linux_truncate_args *p = params; 637 uarg[0] = (intptr_t) p->path; /* char * */ 638 iarg[1] = p->length; /* l_ulong */ 639 *n_args = 2; 640 break; 641 } 642 /* linux_ftruncate */ 643 case 93: { 644 struct linux_ftruncate_args *p = params; 645 iarg[0] = p->fd; /* int */ 646 iarg[1] = p->length; /* long */ 647 *n_args = 2; 648 break; 649 } 650 /* fchmod */ 651 case 94: { 652 struct fchmod_args *p = params; 653 iarg[0] = p->fd; /* int */ 654 iarg[1] = p->mode; /* int */ 655 *n_args = 2; 656 break; 657 } 658 /* fchown */ 659 case 95: { 660 struct fchown_args *p = params; 661 iarg[0] = p->fd; /* int */ 662 iarg[1] = p->uid; /* int */ 663 iarg[2] = p->gid; /* int */ 664 *n_args = 3; 665 break; 666 } 667 /* linux_getpriority */ 668 case 96: { 669 struct linux_getpriority_args *p = params; 670 iarg[0] = p->which; /* int */ 671 iarg[1] = p->who; /* int */ 672 *n_args = 2; 673 break; 674 } 675 /* setpriority */ 676 case 97: { 677 struct setpriority_args *p = params; 678 iarg[0] = p->which; /* int */ 679 iarg[1] = p->who; /* int */ 680 iarg[2] = p->prio; /* int */ 681 *n_args = 3; 682 break; 683 } 684 /* linux_statfs */ 685 case 99: { 686 struct linux_statfs_args *p = params; 687 uarg[0] = (intptr_t) p->path; /* char * */ 688 uarg[1] = (intptr_t) p->buf; /* struct l_statfs_buf * */ 689 *n_args = 2; 690 break; 691 } 692 /* linux_fstatfs */ 693 case 100: { 694 struct linux_fstatfs_args *p = params; 695 iarg[0] = p->fd; /* l_uint */ 696 uarg[1] = (intptr_t) p->buf; /* struct l_statfs_buf * */ 697 *n_args = 2; 698 break; 699 } 700 /* linux_ioperm */ 701 case 101: { 702 struct linux_ioperm_args *p = params; 703 iarg[0] = p->start; /* l_ulong */ 704 iarg[1] = p->length; /* l_ulong */ 705 iarg[2] = p->enable; /* l_int */ 706 *n_args = 3; 707 break; 708 } 709 /* linux_socketcall */ 710 case 102: { 711 struct linux_socketcall_args *p = params; 712 iarg[0] = p->what; /* l_int */ 713 iarg[1] = p->args; /* l_ulong */ 714 *n_args = 2; 715 break; 716 } 717 /* linux_syslog */ 718 case 103: { 719 struct linux_syslog_args *p = params; 720 iarg[0] = p->type; /* l_int */ 721 uarg[1] = (intptr_t) p->buf; /* char * */ 722 iarg[2] = p->len; /* l_int */ 723 *n_args = 3; 724 break; 725 } 726 /* linux_setitimer */ 727 case 104: { 728 struct linux_setitimer_args *p = params; 729 iarg[0] = p->which; /* l_int */ 730 uarg[1] = (intptr_t) p->itv; /* struct l_itimerval * */ 731 uarg[2] = (intptr_t) p->oitv; /* struct l_itimerval * */ 732 *n_args = 3; 733 break; 734 } 735 /* linux_getitimer */ 736 case 105: { 737 struct linux_getitimer_args *p = params; 738 iarg[0] = p->which; /* l_int */ 739 uarg[1] = (intptr_t) p->itv; /* struct l_itimerval * */ 740 *n_args = 2; 741 break; 742 } 743 /* linux_newstat */ 744 case 106: { 745 struct linux_newstat_args *p = params; 746 uarg[0] = (intptr_t) p->path; /* char * */ 747 uarg[1] = (intptr_t) p->buf; /* struct l_newstat * */ 748 *n_args = 2; 749 break; 750 } 751 /* linux_newlstat */ 752 case 107: { 753 struct linux_newlstat_args *p = params; 754 uarg[0] = (intptr_t) p->path; /* char * */ 755 uarg[1] = (intptr_t) p->buf; /* struct l_newstat * */ 756 *n_args = 2; 757 break; 758 } 759 /* linux_newfstat */ 760 case 108: { 761 struct linux_newfstat_args *p = params; 762 iarg[0] = p->fd; /* l_uint */ 763 uarg[1] = (intptr_t) p->buf; /* struct l_newstat * */ 764 *n_args = 2; 765 break; 766 } 767 /* linux_uname */ 768 case 109: { 769 *n_args = 0; 770 break; 771 } 772 /* linux_iopl */ 773 case 110: { 774 struct linux_iopl_args *p = params; 775 iarg[0] = p->level; /* l_ulong */ 776 *n_args = 1; 777 break; 778 } 779 /* linux_vhangup */ 780 case 111: { 781 *n_args = 0; 782 break; 783 } 784 /* linux_vm86old */ 785 case 113: { 786 *n_args = 0; 787 break; 788 } 789 /* linux_wait4 */ 790 case 114: { 791 struct linux_wait4_args *p = params; 792 iarg[0] = p->pid; /* l_pid_t */ 793 uarg[1] = (intptr_t) p->status; /* l_uint * */ 794 iarg[2] = p->options; /* l_int */ 795 uarg[3] = (intptr_t) p->rusage; /* struct l_rusage * */ 796 *n_args = 4; 797 break; 798 } 799 /* linux_swapoff */ 800 case 115: { 801 *n_args = 0; 802 break; 803 } 804 /* linux_sysinfo */ 805 case 116: { 806 struct linux_sysinfo_args *p = params; 807 uarg[0] = (intptr_t) p->info; /* struct l_sysinfo * */ 808 *n_args = 1; 809 break; 810 } 811 /* linux_ipc */ 812 case 117: { 813 struct linux_ipc_args *p = params; 814 iarg[0] = p->what; /* l_uint */ 815 iarg[1] = p->arg1; /* l_int */ 816 iarg[2] = p->arg2; /* l_int */ 817 iarg[3] = p->arg3; /* l_int */ 818 uarg[4] = (intptr_t) p->ptr; /* void * */ 819 iarg[5] = p->arg5; /* l_long */ 820 *n_args = 6; 821 break; 822 } 823 /* fsync */ 824 case 118: { 825 struct fsync_args *p = params; 826 iarg[0] = p->fd; /* int */ 827 *n_args = 1; 828 break; 829 } 830 /* linux_sigreturn */ 831 case 119: { 832 struct linux_sigreturn_args *p = params; 833 uarg[0] = (intptr_t) p->sfp; /* struct l_sigframe * */ 834 *n_args = 1; 835 break; 836 } 837 /* linux_clone */ 838 case 120: { 839 struct linux_clone_args *p = params; 840 iarg[0] = p->flags; /* l_int */ 841 uarg[1] = (intptr_t) p->stack; /* void * */ 842 uarg[2] = (intptr_t) p->parent_tidptr; /* void * */ 843 uarg[3] = (intptr_t) p->tls; /* void * */ 844 uarg[4] = (intptr_t) p->child_tidptr; /* void * */ 845 *n_args = 5; 846 break; 847 } 848 /* linux_setdomainname */ 849 case 121: { 850 struct linux_setdomainname_args *p = params; 851 uarg[0] = (intptr_t) p->name; /* char * */ 852 iarg[1] = p->len; /* int */ 853 *n_args = 2; 854 break; 855 } 856 /* linux_newuname */ 857 case 122: { 858 struct linux_newuname_args *p = params; 859 uarg[0] = (intptr_t) p->buf; /* struct l_new_utsname * */ 860 *n_args = 1; 861 break; 862 } 863 /* linux_modify_ldt */ 864 case 123: { 865 struct linux_modify_ldt_args *p = params; 866 iarg[0] = p->func; /* l_int */ 867 uarg[1] = (intptr_t) p->ptr; /* void * */ 868 iarg[2] = p->bytecount; /* l_ulong */ 869 *n_args = 3; 870 break; 871 } 872 /* linux_adjtimex */ 873 case 124: { 874 *n_args = 0; 875 break; 876 } 877 /* linux_mprotect */ 878 case 125: { 879 struct linux_mprotect_args *p = params; 880 uarg[0] = (intptr_t) p->addr; /* caddr_t */ 881 iarg[1] = p->len; /* int */ 882 iarg[2] = p->prot; /* int */ 883 *n_args = 3; 884 break; 885 } 886 /* linux_sigprocmask */ 887 case 126: { 888 struct linux_sigprocmask_args *p = params; 889 iarg[0] = p->how; /* l_int */ 890 uarg[1] = (intptr_t) p->mask; /* l_osigset_t * */ 891 uarg[2] = (intptr_t) p->omask; /* l_osigset_t * */ 892 *n_args = 3; 893 break; 894 } 895 /* linux_create_module */ 896 case 127: { 897 *n_args = 0; 898 break; 899 } 900 /* linux_init_module */ 901 case 128: { 902 *n_args = 0; 903 break; 904 } 905 /* linux_delete_module */ 906 case 129: { 907 *n_args = 0; 908 break; 909 } 910 /* linux_get_kernel_syms */ 911 case 130: { 912 *n_args = 0; 913 break; 914 } 915 /* linux_quotactl */ 916 case 131: { 917 *n_args = 0; 918 break; 919 } 920 /* getpgid */ 921 case 132: { 922 struct getpgid_args *p = params; 923 iarg[0] = p->pid; /* int */ 924 *n_args = 1; 925 break; 926 } 927 /* fchdir */ 928 case 133: { 929 struct fchdir_args *p = params; 930 iarg[0] = p->fd; /* int */ 931 *n_args = 1; 932 break; 933 } 934 /* linux_bdflush */ 935 case 134: { 936 *n_args = 0; 937 break; 938 } 939 /* linux_sysfs */ 940 case 135: { 941 struct linux_sysfs_args *p = params; 942 iarg[0] = p->option; /* l_int */ 943 iarg[1] = p->arg1; /* l_ulong */ 944 iarg[2] = p->arg2; /* l_ulong */ 945 *n_args = 3; 946 break; 947 } 948 /* linux_personality */ 949 case 136: { 950 struct linux_personality_args *p = params; 951 iarg[0] = p->per; /* l_ulong */ 952 *n_args = 1; 953 break; 954 } 955 /* linux_setfsuid16 */ 956 case 138: { 957 struct linux_setfsuid16_args *p = params; 958 iarg[0] = p->uid; /* l_uid16_t */ 959 *n_args = 1; 960 break; 961 } 962 /* linux_setfsgid16 */ 963 case 139: { 964 struct linux_setfsgid16_args *p = params; 965 iarg[0] = p->gid; /* l_gid16_t */ 966 *n_args = 1; 967 break; 968 } 969 /* linux_llseek */ 970 case 140: { 971 struct linux_llseek_args *p = params; 972 iarg[0] = p->fd; /* l_int */ 973 iarg[1] = p->ohigh; /* l_ulong */ 974 iarg[2] = p->olow; /* l_ulong */ 975 uarg[3] = (intptr_t) p->res; /* l_loff_t * */ 976 iarg[4] = p->whence; /* l_uint */ 977 *n_args = 5; 978 break; 979 } 980 /* linux_getdents */ 981 case 141: { 982 struct linux_getdents_args *p = params; 983 iarg[0] = p->fd; /* l_uint */ 984 uarg[1] = (intptr_t) p->dent; /* void * */ 985 iarg[2] = p->count; /* l_uint */ 986 *n_args = 3; 987 break; 988 } 989 /* linux_select */ 990 case 142: { 991 struct linux_select_args *p = params; 992 iarg[0] = p->nfds; /* l_int */ 993 uarg[1] = (intptr_t) p->readfds; /* l_fd_set * */ 994 uarg[2] = (intptr_t) p->writefds; /* l_fd_set * */ 995 uarg[3] = (intptr_t) p->exceptfds; /* l_fd_set * */ 996 uarg[4] = (intptr_t) p->timeout; /* struct l_timeval * */ 997 *n_args = 5; 998 break; 999 } 1000 /* flock */ 1001 case 143: { 1002 struct flock_args *p = params; 1003 iarg[0] = p->fd; /* int */ 1004 iarg[1] = p->how; /* int */ 1005 *n_args = 2; 1006 break; 1007 } 1008 /* linux_msync */ 1009 case 144: { 1010 struct linux_msync_args *p = params; 1011 iarg[0] = p->addr; /* l_ulong */ 1012 iarg[1] = p->len; /* l_size_t */ 1013 iarg[2] = p->fl; /* l_int */ 1014 *n_args = 3; 1015 break; 1016 } 1017 /* readv */ 1018 case 145: { 1019 struct readv_args *p = params; 1020 iarg[0] = p->fd; /* int */ 1021 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */ 1022 uarg[2] = p->iovcnt; /* u_int */ 1023 *n_args = 3; 1024 break; 1025 } 1026 /* writev */ 1027 case 146: { 1028 struct writev_args *p = params; 1029 iarg[0] = p->fd; /* int */ 1030 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */ 1031 uarg[2] = p->iovcnt; /* u_int */ 1032 *n_args = 3; 1033 break; 1034 } 1035 /* linux_getsid */ 1036 case 147: { 1037 struct linux_getsid_args *p = params; 1038 iarg[0] = p->pid; /* l_pid_t */ 1039 *n_args = 1; 1040 break; 1041 } 1042 /* linux_fdatasync */ 1043 case 148: { 1044 struct linux_fdatasync_args *p = params; 1045 iarg[0] = p->fd; /* l_uint */ 1046 *n_args = 1; 1047 break; 1048 } 1049 /* linux_sysctl */ 1050 case 149: { 1051 struct linux_sysctl_args *p = params; 1052 uarg[0] = (intptr_t) p->args; /* struct l___sysctl_args * */ 1053 *n_args = 1; 1054 break; 1055 } 1056 /* mlock */ 1057 case 150: { 1058 struct mlock_args *p = params; 1059 uarg[0] = (intptr_t) p->addr; /* const void * */ 1060 uarg[1] = p->len; /* size_t */ 1061 *n_args = 2; 1062 break; 1063 } 1064 /* munlock */ 1065 case 151: { 1066 struct munlock_args *p = params; 1067 uarg[0] = (intptr_t) p->addr; /* const void * */ 1068 uarg[1] = p->len; /* size_t */ 1069 *n_args = 2; 1070 break; 1071 } 1072 /* mlockall */ 1073 case 152: { 1074 struct mlockall_args *p = params; 1075 iarg[0] = p->how; /* int */ 1076 *n_args = 1; 1077 break; 1078 } 1079 /* munlockall */ 1080 case 153: { 1081 *n_args = 0; 1082 break; 1083 } 1084 /* sched_setparam */ 1085 case 154: { 1086 struct sched_setparam_args *p = params; 1087 iarg[0] = p->pid; /* pid_t */ 1088 uarg[1] = (intptr_t) p->param; /* const struct sched_param * */ 1089 *n_args = 2; 1090 break; 1091 } 1092 /* sched_getparam */ 1093 case 155: { 1094 struct sched_getparam_args *p = params; 1095 iarg[0] = p->pid; /* pid_t */ 1096 uarg[1] = (intptr_t) p->param; /* struct sched_param * */ 1097 *n_args = 2; 1098 break; 1099 } 1100 /* linux_sched_setscheduler */ 1101 case 156: { 1102 struct linux_sched_setscheduler_args *p = params; 1103 iarg[0] = p->pid; /* l_pid_t */ 1104 iarg[1] = p->policy; /* l_int */ 1105 uarg[2] = (intptr_t) p->param; /* struct l_sched_param * */ 1106 *n_args = 3; 1107 break; 1108 } 1109 /* linux_sched_getscheduler */ 1110 case 157: { 1111 struct linux_sched_getscheduler_args *p = params; 1112 iarg[0] = p->pid; /* l_pid_t */ 1113 *n_args = 1; 1114 break; 1115 } 1116 /* sched_yield */ 1117 case 158: { 1118 *n_args = 0; 1119 break; 1120 } 1121 /* linux_sched_get_priority_max */ 1122 case 159: { 1123 struct linux_sched_get_priority_max_args *p = params; 1124 iarg[0] = p->policy; /* l_int */ 1125 *n_args = 1; 1126 break; 1127 } 1128 /* linux_sched_get_priority_min */ 1129 case 160: { 1130 struct linux_sched_get_priority_min_args *p = params; 1131 iarg[0] = p->policy; /* l_int */ 1132 *n_args = 1; 1133 break; 1134 } 1135 /* sched_rr_get_interval */ 1136 case 161: { 1137 struct sched_rr_get_interval_args *p = params; 1138 iarg[0] = p->pid; /* l_pid_t */ 1139 uarg[1] = (intptr_t) p->interval; /* struct l_timespec * */ 1140 *n_args = 2; 1141 break; 1142 } 1143 /* linux_nanosleep */ 1144 case 162: { 1145 struct linux_nanosleep_args *p = params; 1146 uarg[0] = (intptr_t) p->rqtp; /* const struct l_timespec * */ 1147 uarg[1] = (intptr_t) p->rmtp; /* struct l_timespec * */ 1148 *n_args = 2; 1149 break; 1150 } 1151 /* linux_mremap */ 1152 case 163: { 1153 struct linux_mremap_args *p = params; 1154 iarg[0] = p->addr; /* l_ulong */ 1155 iarg[1] = p->old_len; /* l_ulong */ 1156 iarg[2] = p->new_len; /* l_ulong */ 1157 iarg[3] = p->flags; /* l_ulong */ 1158 iarg[4] = p->new_addr; /* l_ulong */ 1159 *n_args = 5; 1160 break; 1161 } 1162 /* linux_setresuid16 */ 1163 case 164: { 1164 struct linux_setresuid16_args *p = params; 1165 iarg[0] = p->ruid; /* l_uid16_t */ 1166 iarg[1] = p->euid; /* l_uid16_t */ 1167 iarg[2] = p->suid; /* l_uid16_t */ 1168 *n_args = 3; 1169 break; 1170 } 1171 /* linux_getresuid16 */ 1172 case 165: { 1173 struct linux_getresuid16_args *p = params; 1174 uarg[0] = (intptr_t) p->ruid; /* l_uid16_t * */ 1175 uarg[1] = (intptr_t) p->euid; /* l_uid16_t * */ 1176 uarg[2] = (intptr_t) p->suid; /* l_uid16_t * */ 1177 *n_args = 3; 1178 break; 1179 } 1180 /* linux_vm86 */ 1181 case 166: { 1182 *n_args = 0; 1183 break; 1184 } 1185 /* linux_query_module */ 1186 case 167: { 1187 *n_args = 0; 1188 break; 1189 } 1190 /* poll */ 1191 case 168: { 1192 struct poll_args *p = params; 1193 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */ 1194 uarg[1] = p->nfds; /* unsigned int */ 1195 iarg[2] = p->timeout; /* long */ 1196 *n_args = 3; 1197 break; 1198 } 1199 /* linux_nfsservctl */ 1200 case 169: { 1201 *n_args = 0; 1202 break; 1203 } 1204 /* linux_setresgid16 */ 1205 case 170: { 1206 struct linux_setresgid16_args *p = params; 1207 iarg[0] = p->rgid; /* l_gid16_t */ 1208 iarg[1] = p->egid; /* l_gid16_t */ 1209 iarg[2] = p->sgid; /* l_gid16_t */ 1210 *n_args = 3; 1211 break; 1212 } 1213 /* linux_getresgid16 */ 1214 case 171: { 1215 struct linux_getresgid16_args *p = params; 1216 uarg[0] = (intptr_t) p->rgid; /* l_gid16_t * */ 1217 uarg[1] = (intptr_t) p->egid; /* l_gid16_t * */ 1218 uarg[2] = (intptr_t) p->sgid; /* l_gid16_t * */ 1219 *n_args = 3; 1220 break; 1221 } 1222 /* linux_prctl */ 1223 case 172: { 1224 struct linux_prctl_args *p = params; 1225 iarg[0] = p->option; /* l_int */ 1226 iarg[1] = p->arg2; /* l_int */ 1227 iarg[2] = p->arg3; /* l_int */ 1228 iarg[3] = p->arg4; /* l_int */ 1229 iarg[4] = p->arg5; /* l_int */ 1230 *n_args = 5; 1231 break; 1232 } 1233 /* linux_rt_sigreturn */ 1234 case 173: { 1235 struct linux_rt_sigreturn_args *p = params; 1236 uarg[0] = (intptr_t) p->ucp; /* struct l_ucontext * */ 1237 *n_args = 1; 1238 break; 1239 } 1240 /* linux_rt_sigaction */ 1241 case 174: { 1242 struct linux_rt_sigaction_args *p = params; 1243 iarg[0] = p->sig; /* l_int */ 1244 uarg[1] = (intptr_t) p->act; /* l_sigaction_t * */ 1245 uarg[2] = (intptr_t) p->oact; /* l_sigaction_t * */ 1246 iarg[3] = p->sigsetsize; /* l_size_t */ 1247 *n_args = 4; 1248 break; 1249 } 1250 /* linux_rt_sigprocmask */ 1251 case 175: { 1252 struct linux_rt_sigprocmask_args *p = params; 1253 iarg[0] = p->how; /* l_int */ 1254 uarg[1] = (intptr_t) p->mask; /* l_sigset_t * */ 1255 uarg[2] = (intptr_t) p->omask; /* l_sigset_t * */ 1256 iarg[3] = p->sigsetsize; /* l_size_t */ 1257 *n_args = 4; 1258 break; 1259 } 1260 /* linux_rt_sigpending */ 1261 case 176: { 1262 struct linux_rt_sigpending_args *p = params; 1263 uarg[0] = (intptr_t) p->set; /* l_sigset_t * */ 1264 iarg[1] = p->sigsetsize; /* l_size_t */ 1265 *n_args = 2; 1266 break; 1267 } 1268 /* linux_rt_sigtimedwait */ 1269 case 177: { 1270 struct linux_rt_sigtimedwait_args *p = params; 1271 uarg[0] = (intptr_t) p->mask; /* l_sigset_t * */ 1272 uarg[1] = (intptr_t) p->ptr; /* l_siginfo_t * */ 1273 uarg[2] = (intptr_t) p->timeout; /* struct l_timeval * */ 1274 iarg[3] = p->sigsetsize; /* l_size_t */ 1275 *n_args = 4; 1276 break; 1277 } 1278 /* linux_rt_sigqueueinfo */ 1279 case 178: { 1280 *n_args = 0; 1281 break; 1282 } 1283 /* linux_rt_sigsuspend */ 1284 case 179: { 1285 struct linux_rt_sigsuspend_args *p = params; 1286 uarg[0] = (intptr_t) p->newset; /* l_sigset_t * */ 1287 iarg[1] = p->sigsetsize; /* l_size_t */ 1288 *n_args = 2; 1289 break; 1290 } 1291 /* linux_pread */ 1292 case 180: { 1293 struct linux_pread_args *p = params; 1294 iarg[0] = p->fd; /* l_uint */ 1295 uarg[1] = (intptr_t) p->buf; /* char * */ 1296 iarg[2] = p->nbyte; /* l_size_t */ 1297 iarg[3] = p->offset; /* l_loff_t */ 1298 *n_args = 4; 1299 break; 1300 } 1301 /* linux_pwrite */ 1302 case 181: { 1303 struct linux_pwrite_args *p = params; 1304 iarg[0] = p->fd; /* l_uint */ 1305 uarg[1] = (intptr_t) p->buf; /* char * */ 1306 iarg[2] = p->nbyte; /* l_size_t */ 1307 iarg[3] = p->offset; /* l_loff_t */ 1308 *n_args = 4; 1309 break; 1310 } 1311 /* linux_chown16 */ 1312 case 182: { 1313 struct linux_chown16_args *p = params; 1314 uarg[0] = (intptr_t) p->path; /* char * */ 1315 iarg[1] = p->uid; /* l_uid16_t */ 1316 iarg[2] = p->gid; /* l_gid16_t */ 1317 *n_args = 3; 1318 break; 1319 } 1320 /* linux_getcwd */ 1321 case 183: { 1322 struct linux_getcwd_args *p = params; 1323 uarg[0] = (intptr_t) p->buf; /* char * */ 1324 iarg[1] = p->bufsize; /* l_ulong */ 1325 *n_args = 2; 1326 break; 1327 } 1328 /* linux_capget */ 1329 case 184: { 1330 struct linux_capget_args *p = params; 1331 uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */ 1332 uarg[1] = (intptr_t) p->datap; /* struct l_user_cap_data * */ 1333 *n_args = 2; 1334 break; 1335 } 1336 /* linux_capset */ 1337 case 185: { 1338 struct linux_capset_args *p = params; 1339 uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */ 1340 uarg[1] = (intptr_t) p->datap; /* struct l_user_cap_data * */ 1341 *n_args = 2; 1342 break; 1343 } 1344 /* linux_sigaltstack */ 1345 case 186: { 1346 struct linux_sigaltstack_args *p = params; 1347 uarg[0] = (intptr_t) p->uss; /* l_stack_t * */ 1348 uarg[1] = (intptr_t) p->uoss; /* l_stack_t * */ 1349 *n_args = 2; 1350 break; 1351 } 1352 /* linux_sendfile */ 1353 case 187: { 1354 *n_args = 0; 1355 break; 1356 } 1357 /* linux_vfork */ 1358 case 190: { 1359 *n_args = 0; 1360 break; 1361 } 1362 /* linux_getrlimit */ 1363 case 191: { 1364 struct linux_getrlimit_args *p = params; 1365 iarg[0] = p->resource; /* l_uint */ 1366 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */ 1367 *n_args = 2; 1368 break; 1369 } 1370 /* linux_mmap2 */ 1371 case 192: { 1372 struct linux_mmap2_args *p = params; 1373 iarg[0] = p->addr; /* l_ulong */ 1374 iarg[1] = p->len; /* l_ulong */ 1375 iarg[2] = p->prot; /* l_ulong */ 1376 iarg[3] = p->flags; /* l_ulong */ 1377 iarg[4] = p->fd; /* l_ulong */ 1378 iarg[5] = p->pgoff; /* l_ulong */ 1379 *n_args = 6; 1380 break; 1381 } 1382 /* linux_truncate64 */ 1383 case 193: { 1384 struct linux_truncate64_args *p = params; 1385 uarg[0] = (intptr_t) p->path; /* char * */ 1386 iarg[1] = p->length; /* l_loff_t */ 1387 *n_args = 2; 1388 break; 1389 } 1390 /* linux_ftruncate64 */ 1391 case 194: { 1392 struct linux_ftruncate64_args *p = params; 1393 iarg[0] = p->fd; /* l_uint */ 1394 iarg[1] = p->length; /* l_loff_t */ 1395 *n_args = 2; 1396 break; 1397 } 1398 /* linux_stat64 */ 1399 case 195: { 1400 struct linux_stat64_args *p = params; 1401 uarg[0] = (intptr_t) p->filename; /* char * */ 1402 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */ 1403 iarg[2] = p->flags; /* l_long */ 1404 *n_args = 3; 1405 break; 1406 } 1407 /* linux_lstat64 */ 1408 case 196: { 1409 struct linux_lstat64_args *p = params; 1410 uarg[0] = (intptr_t) p->filename; /* char * */ 1411 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */ 1412 iarg[2] = p->flags; /* l_long */ 1413 *n_args = 3; 1414 break; 1415 } 1416 /* linux_fstat64 */ 1417 case 197: { 1418 struct linux_fstat64_args *p = params; 1419 iarg[0] = p->fd; /* l_ulong */ 1420 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */ 1421 iarg[2] = p->flags; /* l_long */ 1422 *n_args = 3; 1423 break; 1424 } 1425 /* linux_lchown */ 1426 case 198: { 1427 struct linux_lchown_args *p = params; 1428 uarg[0] = (intptr_t) p->path; /* char * */ 1429 iarg[1] = p->uid; /* l_uid_t */ 1430 iarg[2] = p->gid; /* l_gid_t */ 1431 *n_args = 3; 1432 break; 1433 } 1434 /* linux_getuid */ 1435 case 199: { 1436 *n_args = 0; 1437 break; 1438 } 1439 /* linux_getgid */ 1440 case 200: { 1441 *n_args = 0; 1442 break; 1443 } 1444 /* geteuid */ 1445 case 201: { 1446 *n_args = 0; 1447 break; 1448 } 1449 /* getegid */ 1450 case 202: { 1451 *n_args = 0; 1452 break; 1453 } 1454 /* setreuid */ 1455 case 203: { 1456 struct setreuid_args *p = params; 1457 uarg[0] = p->ruid; /* uid_t */ 1458 uarg[1] = p->euid; /* uid_t */ 1459 *n_args = 2; 1460 break; 1461 } 1462 /* setregid */ 1463 case 204: { 1464 struct setregid_args *p = params; 1465 iarg[0] = p->rgid; /* gid_t */ 1466 iarg[1] = p->egid; /* gid_t */ 1467 *n_args = 2; 1468 break; 1469 } 1470 /* linux_getgroups */ 1471 case 205: { 1472 struct linux_getgroups_args *p = params; 1473 iarg[0] = p->gidsetsize; /* l_int */ 1474 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */ 1475 *n_args = 2; 1476 break; 1477 } 1478 /* linux_setgroups */ 1479 case 206: { 1480 struct linux_setgroups_args *p = params; 1481 iarg[0] = p->gidsetsize; /* l_int */ 1482 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */ 1483 *n_args = 2; 1484 break; 1485 } 1486 /* fchown */ 1487 case 207: { 1488 *n_args = 0; 1489 break; 1490 } 1491 /* setresuid */ 1492 case 208: { 1493 struct setresuid_args *p = params; 1494 uarg[0] = p->ruid; /* uid_t */ 1495 uarg[1] = p->euid; /* uid_t */ 1496 uarg[2] = p->suid; /* uid_t */ 1497 *n_args = 3; 1498 break; 1499 } 1500 /* getresuid */ 1501 case 209: { 1502 struct getresuid_args *p = params; 1503 uarg[0] = (intptr_t) p->ruid; /* uid_t * */ 1504 uarg[1] = (intptr_t) p->euid; /* uid_t * */ 1505 uarg[2] = (intptr_t) p->suid; /* uid_t * */ 1506 *n_args = 3; 1507 break; 1508 } 1509 /* setresgid */ 1510 case 210: { 1511 struct setresgid_args *p = params; 1512 iarg[0] = p->rgid; /* gid_t */ 1513 iarg[1] = p->egid; /* gid_t */ 1514 iarg[2] = p->sgid; /* gid_t */ 1515 *n_args = 3; 1516 break; 1517 } 1518 /* getresgid */ 1519 case 211: { 1520 struct getresgid_args *p = params; 1521 uarg[0] = (intptr_t) p->rgid; /* gid_t * */ 1522 uarg[1] = (intptr_t) p->egid; /* gid_t * */ 1523 uarg[2] = (intptr_t) p->sgid; /* gid_t * */ 1524 *n_args = 3; 1525 break; 1526 } 1527 /* linux_chown */ 1528 case 212: { 1529 struct linux_chown_args *p = params; 1530 uarg[0] = (intptr_t) p->path; /* char * */ 1531 iarg[1] = p->uid; /* l_uid_t */ 1532 iarg[2] = p->gid; /* l_gid_t */ 1533 *n_args = 3; 1534 break; 1535 } 1536 /* setuid */ 1537 case 213: { 1538 struct setuid_args *p = params; 1539 uarg[0] = p->uid; /* uid_t */ 1540 *n_args = 1; 1541 break; 1542 } 1543 /* setgid */ 1544 case 214: { 1545 struct setgid_args *p = params; 1546 iarg[0] = p->gid; /* gid_t */ 1547 *n_args = 1; 1548 break; 1549 } 1550 /* linux_setfsuid */ 1551 case 215: { 1552 struct linux_setfsuid_args *p = params; 1553 iarg[0] = p->uid; /* l_uid_t */ 1554 *n_args = 1; 1555 break; 1556 } 1557 /* linux_setfsgid */ 1558 case 216: { 1559 struct linux_setfsgid_args *p = params; 1560 iarg[0] = p->gid; /* l_gid_t */ 1561 *n_args = 1; 1562 break; 1563 } 1564 /* linux_pivot_root */ 1565 case 217: { 1566 struct linux_pivot_root_args *p = params; 1567 uarg[0] = (intptr_t) p->new_root; /* char * */ 1568 uarg[1] = (intptr_t) p->put_old; /* char * */ 1569 *n_args = 2; 1570 break; 1571 } 1572 /* linux_mincore */ 1573 case 218: { 1574 struct linux_mincore_args *p = params; 1575 iarg[0] = p->start; /* l_ulong */ 1576 iarg[1] = p->len; /* l_size_t */ 1577 uarg[2] = (intptr_t) p->vec; /* u_char * */ 1578 *n_args = 3; 1579 break; 1580 } 1581 /* madvise */ 1582 case 219: { 1583 struct madvise_args *p = params; 1584 uarg[0] = (intptr_t) p->addr; /* void * */ 1585 uarg[1] = p->len; /* size_t */ 1586 iarg[2] = p->behav; /* int */ 1587 *n_args = 3; 1588 break; 1589 } 1590 /* linux_getdents64 */ 1591 case 220: { 1592 struct linux_getdents64_args *p = params; 1593 iarg[0] = p->fd; /* l_uint */ 1594 uarg[1] = (intptr_t) p->dirent; /* void * */ 1595 iarg[2] = p->count; /* l_uint */ 1596 *n_args = 3; 1597 break; 1598 } 1599 /* linux_fcntl64 */ 1600 case 221: { 1601 struct linux_fcntl64_args *p = params; 1602 iarg[0] = p->fd; /* l_uint */ 1603 iarg[1] = p->cmd; /* l_uint */ 1604 iarg[2] = p->arg; /* l_ulong */ 1605 *n_args = 3; 1606 break; 1607 } 1608 /* linux_gettid */ 1609 case 224: { 1610 *n_args = 0; 1611 break; 1612 } 1613 /* linux_setxattr */ 1614 case 226: { 1615 *n_args = 0; 1616 break; 1617 } 1618 /* linux_lsetxattr */ 1619 case 227: { 1620 *n_args = 0; 1621 break; 1622 } 1623 /* linux_fsetxattr */ 1624 case 228: { 1625 *n_args = 0; 1626 break; 1627 } 1628 /* linux_getxattr */ 1629 case 229: { 1630 *n_args = 0; 1631 break; 1632 } 1633 /* linux_lgetxattr */ 1634 case 230: { 1635 *n_args = 0; 1636 break; 1637 } 1638 /* linux_fgetxattr */ 1639 case 231: { 1640 *n_args = 0; 1641 break; 1642 } 1643 /* linux_listxattr */ 1644 case 232: { 1645 *n_args = 0; 1646 break; 1647 } 1648 /* linux_llistxattr */ 1649 case 233: { 1650 *n_args = 0; 1651 break; 1652 } 1653 /* linux_flistxattr */ 1654 case 234: { 1655 *n_args = 0; 1656 break; 1657 } 1658 /* linux_removexattr */ 1659 case 235: { 1660 *n_args = 0; 1661 break; 1662 } 1663 /* linux_lremovexattr */ 1664 case 236: { 1665 *n_args = 0; 1666 break; 1667 } 1668 /* linux_fremovexattr */ 1669 case 237: { 1670 *n_args = 0; 1671 break; 1672 } 1673 /* linux_tkill */ 1674 case 238: { 1675 struct linux_tkill_args *p = params; 1676 iarg[0] = p->tid; /* int */ 1677 iarg[1] = p->sig; /* int */ 1678 *n_args = 2; 1679 break; 1680 } 1681 /* linux_sys_futex */ 1682 case 240: { 1683 struct linux_sys_futex_args *p = params; 1684 uarg[0] = (intptr_t) p->uaddr; /* void * */ 1685 iarg[1] = p->op; /* int */ 1686 uarg[2] = p->val; /* uint32_t */ 1687 uarg[3] = (intptr_t) p->timeout; /* struct l_timespec * */ 1688 uarg[4] = (intptr_t) p->uaddr2; /* uint32_t * */ 1689 uarg[5] = p->val3; /* uint32_t */ 1690 *n_args = 6; 1691 break; 1692 } 1693 /* linux_sched_setaffinity */ 1694 case 241: { 1695 struct linux_sched_setaffinity_args *p = params; 1696 iarg[0] = p->pid; /* l_pid_t */ 1697 iarg[1] = p->len; /* l_uint */ 1698 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */ 1699 *n_args = 3; 1700 break; 1701 } 1702 /* linux_sched_getaffinity */ 1703 case 242: { 1704 struct linux_sched_getaffinity_args *p = params; 1705 iarg[0] = p->pid; /* l_pid_t */ 1706 iarg[1] = p->len; /* l_uint */ 1707 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */ 1708 *n_args = 3; 1709 break; 1710 } 1711 /* linux_set_thread_area */ 1712 case 243: { 1713 struct linux_set_thread_area_args *p = params; 1714 uarg[0] = (intptr_t) p->desc; /* struct l_user_desc * */ 1715 *n_args = 1; 1716 break; 1717 } 1718 /* linux_get_thread_area */ 1719 case 244: { 1720 struct linux_get_thread_area_args *p = params; 1721 uarg[0] = (intptr_t) p->desc; /* struct l_user_desc * */ 1722 *n_args = 1; 1723 break; 1724 } 1725 /* linux_fadvise64 */ 1726 case 250: { 1727 *n_args = 0; 1728 break; 1729 } 1730 /* linux_exit_group */ 1731 case 252: { 1732 struct linux_exit_group_args *p = params; 1733 iarg[0] = p->error_code; /* int */ 1734 *n_args = 1; 1735 break; 1736 } 1737 /* linux_lookup_dcookie */ 1738 case 253: { 1739 *n_args = 0; 1740 break; 1741 } 1742 /* linux_epoll_create */ 1743 case 254: { 1744 *n_args = 0; 1745 break; 1746 } 1747 /* linux_epoll_ctl */ 1748 case 255: { 1749 *n_args = 0; 1750 break; 1751 } 1752 /* linux_epoll_wait */ 1753 case 256: { 1754 *n_args = 0; 1755 break; 1756 } 1757 /* linux_remap_file_pages */ 1758 case 257: { 1759 *n_args = 0; 1760 break; 1761 } 1762 /* linux_set_tid_address */ 1763 case 258: { 1764 struct linux_set_tid_address_args *p = params; 1765 uarg[0] = (intptr_t) p->tidptr; /* int * */ 1766 *n_args = 1; 1767 break; 1768 } 1769 /* linux_timer_create */ 1770 case 259: { 1771 struct linux_timer_create_args *p = params; 1772 iarg[0] = p->clock_id; /* clockid_t */ 1773 uarg[1] = (intptr_t) p->evp; /* struct sigevent * */ 1774 uarg[2] = (intptr_t) p->timerid; /* l_timer_t * */ 1775 *n_args = 3; 1776 break; 1777 } 1778 /* linux_timer_settime */ 1779 case 260: { 1780 struct linux_timer_settime_args *p = params; 1781 iarg[0] = p->timerid; /* l_timer_t */ 1782 uarg[1] = (intptr_t) p->new; /* const struct itimerspec * */ 1783 uarg[2] = (intptr_t) p->old; /* struct itimerspec * */ 1784 *n_args = 3; 1785 break; 1786 } 1787 /* linux_timer_gettime */ 1788 case 261: { 1789 struct linux_timer_gettime_args *p = params; 1790 iarg[0] = p->timerid; /* l_timer_t */ 1791 uarg[1] = (intptr_t) p->setting; /* struct itimerspec * */ 1792 *n_args = 2; 1793 break; 1794 } 1795 /* linux_timer_getoverrun */ 1796 case 262: { 1797 struct linux_timer_getoverrun_args *p = params; 1798 iarg[0] = p->timerid; /* l_timer_t */ 1799 *n_args = 1; 1800 break; 1801 } 1802 /* linux_timer_delete */ 1803 case 263: { 1804 struct linux_timer_delete_args *p = params; 1805 iarg[0] = p->timerid; /* l_timer_t */ 1806 *n_args = 1; 1807 break; 1808 } 1809 /* linux_clock_settime */ 1810 case 264: { 1811 struct linux_clock_settime_args *p = params; 1812 iarg[0] = p->which; /* clockid_t */ 1813 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */ 1814 *n_args = 2; 1815 break; 1816 } 1817 /* linux_clock_gettime */ 1818 case 265: { 1819 struct linux_clock_gettime_args *p = params; 1820 iarg[0] = p->which; /* clockid_t */ 1821 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */ 1822 *n_args = 2; 1823 break; 1824 } 1825 /* linux_clock_getres */ 1826 case 266: { 1827 struct linux_clock_getres_args *p = params; 1828 iarg[0] = p->which; /* clockid_t */ 1829 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */ 1830 *n_args = 2; 1831 break; 1832 } 1833 /* linux_clock_nanosleep */ 1834 case 267: { 1835 struct linux_clock_nanosleep_args *p = params; 1836 iarg[0] = p->which; /* clockid_t */ 1837 iarg[1] = p->flags; /* int */ 1838 uarg[2] = (intptr_t) p->rqtp; /* struct l_timespec * */ 1839 uarg[3] = (intptr_t) p->rmtp; /* struct l_timespec * */ 1840 *n_args = 4; 1841 break; 1842 } 1843 /* linux_statfs64 */ 1844 case 268: { 1845 struct linux_statfs64_args *p = params; 1846 uarg[0] = (intptr_t) p->path; /* char * */ 1847 uarg[1] = p->bufsize; /* size_t */ 1848 uarg[2] = (intptr_t) p->buf; /* struct l_statfs64_buf * */ 1849 *n_args = 3; 1850 break; 1851 } 1852 /* linux_fstatfs64 */ 1853 case 269: { 1854 *n_args = 0; 1855 break; 1856 } 1857 /* linux_tgkill */ 1858 case 270: { 1859 struct linux_tgkill_args *p = params; 1860 iarg[0] = p->tgid; /* int */ 1861 iarg[1] = p->pid; /* int */ 1862 iarg[2] = p->sig; /* int */ 1863 *n_args = 3; 1864 break; 1865 } 1866 /* linux_utimes */ 1867 case 271: { 1868 struct linux_utimes_args *p = params; 1869 uarg[0] = (intptr_t) p->fname; /* char * */ 1870 uarg[1] = (intptr_t) p->tptr; /* struct l_timeval * */ 1871 *n_args = 2; 1872 break; 1873 } 1874 /* linux_fadvise64_64 */ 1875 case 272: { 1876 *n_args = 0; 1877 break; 1878 } 1879 /* linux_mbind */ 1880 case 274: { 1881 *n_args = 0; 1882 break; 1883 } 1884 /* linux_get_mempolicy */ 1885 case 275: { 1886 *n_args = 0; 1887 break; 1888 } 1889 /* linux_set_mempolicy */ 1890 case 276: { 1891 *n_args = 0; 1892 break; 1893 } 1894 /* linux_mq_open */ 1895 case 277: { 1896 struct linux_mq_open_args *p = params; 1897 uarg[0] = (intptr_t) p->name; /* const char * */ 1898 iarg[1] = p->oflag; /* int */ 1899 iarg[2] = p->mode; /* mode_t */ 1900 uarg[3] = (intptr_t) p->attr; /* struct mq_attr * */ 1901 *n_args = 4; 1902 break; 1903 } 1904 /* linux_mq_unlink */ 1905 case 278: { 1906 struct linux_mq_unlink_args *p = params; 1907 uarg[0] = (intptr_t) p->name; /* const char * */ 1908 *n_args = 1; 1909 break; 1910 } 1911 /* linux_mq_timedsend */ 1912 case 279: { 1913 struct linux_mq_timedsend_args *p = params; 1914 iarg[0] = p->mqd; /* l_mqd_t */ 1915 uarg[1] = (intptr_t) p->msg_ptr; /* const char * */ 1916 uarg[2] = p->msg_len; /* size_t */ 1917 uarg[3] = p->msg_prio; /* unsigned int */ 1918 uarg[4] = (intptr_t) p->abs_timeout; /* const struct l_timespec * */ 1919 *n_args = 5; 1920 break; 1921 } 1922 /* linux_mq_timedreceive */ 1923 case 280: { 1924 struct linux_mq_timedreceive_args *p = params; 1925 iarg[0] = p->mqd; /* l_mqd_t */ 1926 uarg[1] = (intptr_t) p->msg_ptr; /* char * */ 1927 uarg[2] = p->msg_len; /* size_t */ 1928 uarg[3] = p->msg_prio; /* unsigned int */ 1929 uarg[4] = (intptr_t) p->abs_timeout; /* const struct l_timespec * */ 1930 *n_args = 5; 1931 break; 1932 } 1933 /* linux_mq_notify */ 1934 case 281: { 1935 struct linux_mq_notify_args *p = params; 1936 iarg[0] = p->mqd; /* l_mqd_t */ 1937 uarg[1] = (intptr_t) p->abs_timeout; /* const struct l_timespec * */ 1938 *n_args = 2; 1939 break; 1940 } 1941 /* linux_mq_getsetattr */ 1942 case 282: { 1943 struct linux_mq_getsetattr_args *p = params; 1944 iarg[0] = p->mqd; /* l_mqd_t */ 1945 uarg[1] = (intptr_t) p->attr; /* const struct mq_attr * */ 1946 uarg[2] = (intptr_t) p->oattr; /* struct mq_attr * */ 1947 *n_args = 3; 1948 break; 1949 } 1950 /* linux_kexec_load */ 1951 case 283: { 1952 *n_args = 0; 1953 break; 1954 } 1955 /* linux_waitid */ 1956 case 284: { 1957 *n_args = 0; 1958 break; 1959 } 1960 /* linux_add_key */ 1961 case 286: { 1962 *n_args = 0; 1963 break; 1964 } 1965 /* linux_request_key */ 1966 case 287: { 1967 *n_args = 0; 1968 break; 1969 } 1970 /* linux_keyctl */ 1971 case 288: { 1972 *n_args = 0; 1973 break; 1974 } 1975 /* linux_ioprio_set */ 1976 case 289: { 1977 *n_args = 0; 1978 break; 1979 } 1980 /* linux_ioprio_get */ 1981 case 290: { 1982 *n_args = 0; 1983 break; 1984 } 1985 /* linux_inotify_init */ 1986 case 291: { 1987 *n_args = 0; 1988 break; 1989 } 1990 /* linux_inotify_add_watch */ 1991 case 292: { 1992 *n_args = 0; 1993 break; 1994 } 1995 /* linux_inotify_rm_watch */ 1996 case 293: { 1997 *n_args = 0; 1998 break; 1999 } 2000 /* linux_migrate_pages */ 2001 case 294: { 2002 *n_args = 0; 2003 break; 2004 } 2005 /* linux_openat */ 2006 case 295: { 2007 struct linux_openat_args *p = params; 2008 iarg[0] = p->dfd; /* l_int */ 2009 uarg[1] = (intptr_t) p->filename; /* const char * */ 2010 iarg[2] = p->flags; /* l_int */ 2011 iarg[3] = p->mode; /* l_int */ 2012 *n_args = 4; 2013 break; 2014 } 2015 /* linux_mkdirat */ 2016 case 296: { 2017 struct linux_mkdirat_args *p = params; 2018 iarg[0] = p->dfd; /* l_int */ 2019 uarg[1] = (intptr_t) p->pathname; /* const char * */ 2020 iarg[2] = p->mode; /* l_int */ 2021 *n_args = 3; 2022 break; 2023 } 2024 /* linux_mknodat */ 2025 case 297: { 2026 struct linux_mknodat_args *p = params; 2027 iarg[0] = p->dfd; /* l_int */ 2028 uarg[1] = (intptr_t) p->filename; /* const char * */ 2029 iarg[2] = p->mode; /* l_int */ 2030 iarg[3] = p->dev; /* l_uint */ 2031 *n_args = 4; 2032 break; 2033 } 2034 /* linux_fchownat */ 2035 case 298: { 2036 struct linux_fchownat_args *p = params; 2037 iarg[0] = p->dfd; /* l_int */ 2038 uarg[1] = (intptr_t) p->filename; /* const char * */ 2039 iarg[2] = p->uid; /* l_uid16_t */ 2040 iarg[3] = p->gid; /* l_gid16_t */ 2041 iarg[4] = p->flag; /* l_int */ 2042 *n_args = 5; 2043 break; 2044 } 2045 /* linux_futimesat */ 2046 case 299: { 2047 struct linux_futimesat_args *p = params; 2048 iarg[0] = p->dfd; /* l_int */ 2049 uarg[1] = (intptr_t) p->filename; /* char * */ 2050 uarg[2] = (intptr_t) p->utimes; /* struct l_timeval * */ 2051 *n_args = 3; 2052 break; 2053 } 2054 /* linux_fstatat64 */ 2055 case 300: { 2056 struct linux_fstatat64_args *p = params; 2057 iarg[0] = p->dfd; /* l_int */ 2058 uarg[1] = (intptr_t) p->pathname; /* char * */ 2059 uarg[2] = (intptr_t) p->statbuf; /* struct l_stat64 * */ 2060 iarg[3] = p->flag; /* l_int */ 2061 *n_args = 4; 2062 break; 2063 } 2064 /* linux_unlinkat */ 2065 case 301: { 2066 struct linux_unlinkat_args *p = params; 2067 iarg[0] = p->dfd; /* l_int */ 2068 uarg[1] = (intptr_t) p->pathname; /* const char * */ 2069 iarg[2] = p->flag; /* l_int */ 2070 *n_args = 3; 2071 break; 2072 } 2073 /* linux_renameat */ 2074 case 302: { 2075 struct linux_renameat_args *p = params; 2076 iarg[0] = p->olddfd; /* l_int */ 2077 uarg[1] = (intptr_t) p->oldname; /* const char * */ 2078 iarg[2] = p->newdfd; /* l_int */ 2079 uarg[3] = (intptr_t) p->newname; /* const char * */ 2080 *n_args = 4; 2081 break; 2082 } 2083 /* linux_linkat */ 2084 case 303: { 2085 struct linux_linkat_args *p = params; 2086 iarg[0] = p->olddfd; /* l_int */ 2087 uarg[1] = (intptr_t) p->oldname; /* const char * */ 2088 iarg[2] = p->newdfd; /* l_int */ 2089 uarg[3] = (intptr_t) p->newname; /* const char * */ 2090 iarg[4] = p->flags; /* l_int */ 2091 *n_args = 5; 2092 break; 2093 } 2094 /* linux_symlinkat */ 2095 case 304: { 2096 struct linux_symlinkat_args *p = params; 2097 uarg[0] = (intptr_t) p->oldname; /* const char * */ 2098 iarg[1] = p->newdfd; /* l_int */ 2099 uarg[2] = (intptr_t) p->newname; /* const char * */ 2100 *n_args = 3; 2101 break; 2102 } 2103 /* linux_readlinkat */ 2104 case 305: { 2105 struct linux_readlinkat_args *p = params; 2106 iarg[0] = p->dfd; /* l_int */ 2107 uarg[1] = (intptr_t) p->path; /* const char * */ 2108 uarg[2] = (intptr_t) p->buf; /* char * */ 2109 iarg[3] = p->bufsiz; /* l_int */ 2110 *n_args = 4; 2111 break; 2112 } 2113 /* linux_fchmodat */ 2114 case 306: { 2115 struct linux_fchmodat_args *p = params; 2116 iarg[0] = p->dfd; /* l_int */ 2117 uarg[1] = (intptr_t) p->filename; /* const char * */ 2118 iarg[2] = p->mode; /* l_mode_t */ 2119 *n_args = 3; 2120 break; 2121 } 2122 /* linux_faccessat */ 2123 case 307: { 2124 struct linux_faccessat_args *p = params; 2125 iarg[0] = p->dfd; /* l_int */ 2126 uarg[1] = (intptr_t) p->filename; /* const char * */ 2127 iarg[2] = p->mode; /* l_int */ 2128 *n_args = 3; 2129 break; 2130 } 2131 /* linux_pselect6 */ 2132 case 308: { 2133 *n_args = 0; 2134 break; 2135 } 2136 /* linux_ppoll */ 2137 case 309: { 2138 *n_args = 0; 2139 break; 2140 } 2141 /* linux_unshare */ 2142 case 310: { 2143 *n_args = 0; 2144 break; 2145 } 2146 /* linux_set_robust_list */ 2147 case 311: { 2148 struct linux_set_robust_list_args *p = params; 2149 uarg[0] = (intptr_t) p->head; /* struct linux_robust_list_head * */ 2150 iarg[1] = p->len; /* l_size_t */ 2151 *n_args = 2; 2152 break; 2153 } 2154 /* linux_get_robust_list */ 2155 case 312: { 2156 struct linux_get_robust_list_args *p = params; 2157 iarg[0] = p->pid; /* l_int */ 2158 uarg[1] = (intptr_t) p->head; /* struct linux_robust_list_head ** */ 2159 uarg[2] = (intptr_t) p->len; /* l_size_t * */ 2160 *n_args = 3; 2161 break; 2162 } 2163 /* linux_splice */ 2164 case 313: { 2165 *n_args = 0; 2166 break; 2167 } 2168 /* linux_sync_file_range */ 2169 case 314: { 2170 *n_args = 0; 2171 break; 2172 } 2173 /* linux_tee */ 2174 case 315: { 2175 *n_args = 0; 2176 break; 2177 } 2178 /* linux_vmsplice */ 2179 case 316: { 2180 *n_args = 0; 2181 break; 2182 } 2183 default: 2184 *n_args = 0; 2185 break; 2186 }; 2187 } 2188 static void 2189 systrace_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) 2190 { 2191 const char *p = NULL; 2192 switch (sysnum) { 2193 #define nosys linux_nosys 2194 /* sys_exit */ 2195 case 1: 2196 switch(ndx) { 2197 case 0: 2198 p = "int"; 2199 break; 2200 default: 2201 break; 2202 }; 2203 break; 2204 /* linux_fork */ 2205 case 2: 2206 break; 2207 /* read */ 2208 case 3: 2209 switch(ndx) { 2210 case 0: 2211 p = "int"; 2212 break; 2213 case 1: 2214 p = "char *"; 2215 break; 2216 case 2: 2217 p = "u_int"; 2218 break; 2219 default: 2220 break; 2221 }; 2222 break; 2223 /* write */ 2224 case 4: 2225 switch(ndx) { 2226 case 0: 2227 p = "int"; 2228 break; 2229 case 1: 2230 p = "char *"; 2231 break; 2232 case 2: 2233 p = "u_int"; 2234 break; 2235 default: 2236 break; 2237 }; 2238 break; 2239 /* linux_open */ 2240 case 5: 2241 switch(ndx) { 2242 case 0: 2243 p = "char *"; 2244 break; 2245 case 1: 2246 p = "l_int"; 2247 break; 2248 case 2: 2249 p = "l_int"; 2250 break; 2251 default: 2252 break; 2253 }; 2254 break; 2255 /* close */ 2256 case 6: 2257 switch(ndx) { 2258 case 0: 2259 p = "int"; 2260 break; 2261 default: 2262 break; 2263 }; 2264 break; 2265 /* linux_waitpid */ 2266 case 7: 2267 switch(ndx) { 2268 case 0: 2269 p = "l_pid_t"; 2270 break; 2271 case 1: 2272 p = "l_int *"; 2273 break; 2274 case 2: 2275 p = "l_int"; 2276 break; 2277 default: 2278 break; 2279 }; 2280 break; 2281 /* linux_creat */ 2282 case 8: 2283 switch(ndx) { 2284 case 0: 2285 p = "char *"; 2286 break; 2287 case 1: 2288 p = "l_int"; 2289 break; 2290 default: 2291 break; 2292 }; 2293 break; 2294 /* linux_link */ 2295 case 9: 2296 switch(ndx) { 2297 case 0: 2298 p = "char *"; 2299 break; 2300 case 1: 2301 p = "char *"; 2302 break; 2303 default: 2304 break; 2305 }; 2306 break; 2307 /* linux_unlink */ 2308 case 10: 2309 switch(ndx) { 2310 case 0: 2311 p = "char *"; 2312 break; 2313 default: 2314 break; 2315 }; 2316 break; 2317 /* linux_execve */ 2318 case 11: 2319 switch(ndx) { 2320 case 0: 2321 p = "char *"; 2322 break; 2323 case 1: 2324 p = "char **"; 2325 break; 2326 case 2: 2327 p = "char **"; 2328 break; 2329 default: 2330 break; 2331 }; 2332 break; 2333 /* linux_chdir */ 2334 case 12: 2335 switch(ndx) { 2336 case 0: 2337 p = "char *"; 2338 break; 2339 default: 2340 break; 2341 }; 2342 break; 2343 /* linux_time */ 2344 case 13: 2345 switch(ndx) { 2346 case 0: 2347 p = "l_time_t *"; 2348 break; 2349 default: 2350 break; 2351 }; 2352 break; 2353 /* linux_mknod */ 2354 case 14: 2355 switch(ndx) { 2356 case 0: 2357 p = "char *"; 2358 break; 2359 case 1: 2360 p = "l_int"; 2361 break; 2362 case 2: 2363 p = "l_dev_t"; 2364 break; 2365 default: 2366 break; 2367 }; 2368 break; 2369 /* linux_chmod */ 2370 case 15: 2371 switch(ndx) { 2372 case 0: 2373 p = "char *"; 2374 break; 2375 case 1: 2376 p = "l_mode_t"; 2377 break; 2378 default: 2379 break; 2380 }; 2381 break; 2382 /* linux_lchown16 */ 2383 case 16: 2384 switch(ndx) { 2385 case 0: 2386 p = "char *"; 2387 break; 2388 case 1: 2389 p = "l_uid16_t"; 2390 break; 2391 case 2: 2392 p = "l_gid16_t"; 2393 break; 2394 default: 2395 break; 2396 }; 2397 break; 2398 /* linux_stat */ 2399 case 18: 2400 switch(ndx) { 2401 case 0: 2402 p = "char *"; 2403 break; 2404 case 1: 2405 p = "struct linux_stat *"; 2406 break; 2407 default: 2408 break; 2409 }; 2410 break; 2411 /* linux_lseek */ 2412 case 19: 2413 switch(ndx) { 2414 case 0: 2415 p = "l_uint"; 2416 break; 2417 case 1: 2418 p = "l_off_t"; 2419 break; 2420 case 2: 2421 p = "l_int"; 2422 break; 2423 default: 2424 break; 2425 }; 2426 break; 2427 /* linux_getpid */ 2428 case 20: 2429 break; 2430 /* linux_mount */ 2431 case 21: 2432 switch(ndx) { 2433 case 0: 2434 p = "char *"; 2435 break; 2436 case 1: 2437 p = "char *"; 2438 break; 2439 case 2: 2440 p = "char *"; 2441 break; 2442 case 3: 2443 p = "l_ulong"; 2444 break; 2445 case 4: 2446 p = "void *"; 2447 break; 2448 default: 2449 break; 2450 }; 2451 break; 2452 /* linux_oldumount */ 2453 case 22: 2454 switch(ndx) { 2455 case 0: 2456 p = "char *"; 2457 break; 2458 default: 2459 break; 2460 }; 2461 break; 2462 /* linux_setuid16 */ 2463 case 23: 2464 switch(ndx) { 2465 case 0: 2466 p = "l_uid16_t"; 2467 break; 2468 default: 2469 break; 2470 }; 2471 break; 2472 /* linux_getuid16 */ 2473 case 24: 2474 break; 2475 /* linux_stime */ 2476 case 25: 2477 break; 2478 /* linux_ptrace */ 2479 case 26: 2480 switch(ndx) { 2481 case 0: 2482 p = "l_long"; 2483 break; 2484 case 1: 2485 p = "l_long"; 2486 break; 2487 case 2: 2488 p = "l_long"; 2489 break; 2490 case 3: 2491 p = "l_long"; 2492 break; 2493 default: 2494 break; 2495 }; 2496 break; 2497 /* linux_alarm */ 2498 case 27: 2499 switch(ndx) { 2500 case 0: 2501 p = "l_uint"; 2502 break; 2503 default: 2504 break; 2505 }; 2506 break; 2507 /* linux_fstat */ 2508 case 28: 2509 switch(ndx) { 2510 case 0: 2511 p = "l_uint"; 2512 break; 2513 case 1: 2514 p = "struct linux_stat *"; 2515 break; 2516 default: 2517 break; 2518 }; 2519 break; 2520 /* linux_pause */ 2521 case 29: 2522 break; 2523 /* linux_utime */ 2524 case 30: 2525 switch(ndx) { 2526 case 0: 2527 p = "char *"; 2528 break; 2529 case 1: 2530 p = "struct l_utimbuf *"; 2531 break; 2532 default: 2533 break; 2534 }; 2535 break; 2536 /* linux_access */ 2537 case 33: 2538 switch(ndx) { 2539 case 0: 2540 p = "char *"; 2541 break; 2542 case 1: 2543 p = "l_int"; 2544 break; 2545 default: 2546 break; 2547 }; 2548 break; 2549 /* linux_nice */ 2550 case 34: 2551 switch(ndx) { 2552 case 0: 2553 p = "l_int"; 2554 break; 2555 default: 2556 break; 2557 }; 2558 break; 2559 /* sync */ 2560 case 36: 2561 break; 2562 /* linux_kill */ 2563 case 37: 2564 switch(ndx) { 2565 case 0: 2566 p = "l_int"; 2567 break; 2568 case 1: 2569 p = "l_int"; 2570 break; 2571 default: 2572 break; 2573 }; 2574 break; 2575 /* linux_rename */ 2576 case 38: 2577 switch(ndx) { 2578 case 0: 2579 p = "char *"; 2580 break; 2581 case 1: 2582 p = "char *"; 2583 break; 2584 default: 2585 break; 2586 }; 2587 break; 2588 /* linux_mkdir */ 2589 case 39: 2590 switch(ndx) { 2591 case 0: 2592 p = "char *"; 2593 break; 2594 case 1: 2595 p = "l_int"; 2596 break; 2597 default: 2598 break; 2599 }; 2600 break; 2601 /* linux_rmdir */ 2602 case 40: 2603 switch(ndx) { 2604 case 0: 2605 p = "char *"; 2606 break; 2607 default: 2608 break; 2609 }; 2610 break; 2611 /* dup */ 2612 case 41: 2613 switch(ndx) { 2614 case 0: 2615 p = "u_int"; 2616 break; 2617 default: 2618 break; 2619 }; 2620 break; 2621 /* linux_pipe */ 2622 case 42: 2623 switch(ndx) { 2624 case 0: 2625 p = "l_ulong *"; 2626 break; 2627 default: 2628 break; 2629 }; 2630 break; 2631 /* linux_times */ 2632 case 43: 2633 switch(ndx) { 2634 case 0: 2635 p = "struct l_times_argv *"; 2636 break; 2637 default: 2638 break; 2639 }; 2640 break; 2641 /* linux_brk */ 2642 case 45: 2643 switch(ndx) { 2644 case 0: 2645 p = "l_ulong"; 2646 break; 2647 default: 2648 break; 2649 }; 2650 break; 2651 /* linux_setgid16 */ 2652 case 46: 2653 switch(ndx) { 2654 case 0: 2655 p = "l_gid16_t"; 2656 break; 2657 default: 2658 break; 2659 }; 2660 break; 2661 /* linux_getgid16 */ 2662 case 47: 2663 break; 2664 /* linux_signal */ 2665 case 48: 2666 switch(ndx) { 2667 case 0: 2668 p = "l_int"; 2669 break; 2670 case 1: 2671 p = "void *"; 2672 break; 2673 default: 2674 break; 2675 }; 2676 break; 2677 /* linux_geteuid16 */ 2678 case 49: 2679 break; 2680 /* linux_getegid16 */ 2681 case 50: 2682 break; 2683 /* acct */ 2684 case 51: 2685 switch(ndx) { 2686 case 0: 2687 p = "char *"; 2688 break; 2689 default: 2690 break; 2691 }; 2692 break; 2693 /* linux_umount */ 2694 case 52: 2695 switch(ndx) { 2696 case 0: 2697 p = "char *"; 2698 break; 2699 case 1: 2700 p = "l_int"; 2701 break; 2702 default: 2703 break; 2704 }; 2705 break; 2706 /* linux_ioctl */ 2707 case 54: 2708 switch(ndx) { 2709 case 0: 2710 p = "l_uint"; 2711 break; 2712 case 1: 2713 p = "l_uint"; 2714 break; 2715 case 2: 2716 p = "l_ulong"; 2717 break; 2718 default: 2719 break; 2720 }; 2721 break; 2722 /* linux_fcntl */ 2723 case 55: 2724 switch(ndx) { 2725 case 0: 2726 p = "l_uint"; 2727 break; 2728 case 1: 2729 p = "l_uint"; 2730 break; 2731 case 2: 2732 p = "l_ulong"; 2733 break; 2734 default: 2735 break; 2736 }; 2737 break; 2738 /* setpgid */ 2739 case 57: 2740 switch(ndx) { 2741 case 0: 2742 p = "int"; 2743 break; 2744 case 1: 2745 p = "int"; 2746 break; 2747 default: 2748 break; 2749 }; 2750 break; 2751 /* linux_olduname */ 2752 case 59: 2753 break; 2754 /* umask */ 2755 case 60: 2756 switch(ndx) { 2757 case 0: 2758 p = "int"; 2759 break; 2760 default: 2761 break; 2762 }; 2763 break; 2764 /* chroot */ 2765 case 61: 2766 switch(ndx) { 2767 case 0: 2768 p = "char *"; 2769 break; 2770 default: 2771 break; 2772 }; 2773 break; 2774 /* linux_ustat */ 2775 case 62: 2776 switch(ndx) { 2777 case 0: 2778 p = "l_dev_t"; 2779 break; 2780 case 1: 2781 p = "struct l_ustat *"; 2782 break; 2783 default: 2784 break; 2785 }; 2786 break; 2787 /* dup2 */ 2788 case 63: 2789 switch(ndx) { 2790 case 0: 2791 p = "u_int"; 2792 break; 2793 case 1: 2794 p = "u_int"; 2795 break; 2796 default: 2797 break; 2798 }; 2799 break; 2800 /* linux_getppid */ 2801 case 64: 2802 break; 2803 /* getpgrp */ 2804 case 65: 2805 break; 2806 /* setsid */ 2807 case 66: 2808 break; 2809 /* linux_sigaction */ 2810 case 67: 2811 switch(ndx) { 2812 case 0: 2813 p = "l_int"; 2814 break; 2815 case 1: 2816 p = "l_osigaction_t *"; 2817 break; 2818 case 2: 2819 p = "l_osigaction_t *"; 2820 break; 2821 default: 2822 break; 2823 }; 2824 break; 2825 /* linux_sgetmask */ 2826 case 68: 2827 break; 2828 /* linux_ssetmask */ 2829 case 69: 2830 switch(ndx) { 2831 case 0: 2832 p = "l_osigset_t"; 2833 break; 2834 default: 2835 break; 2836 }; 2837 break; 2838 /* linux_setreuid16 */ 2839 case 70: 2840 switch(ndx) { 2841 case 0: 2842 p = "l_uid16_t"; 2843 break; 2844 case 1: 2845 p = "l_uid16_t"; 2846 break; 2847 default: 2848 break; 2849 }; 2850 break; 2851 /* linux_setregid16 */ 2852 case 71: 2853 switch(ndx) { 2854 case 0: 2855 p = "l_gid16_t"; 2856 break; 2857 case 1: 2858 p = "l_gid16_t"; 2859 break; 2860 default: 2861 break; 2862 }; 2863 break; 2864 /* linux_sigsuspend */ 2865 case 72: 2866 switch(ndx) { 2867 case 0: 2868 p = "l_int"; 2869 break; 2870 case 1: 2871 p = "l_int"; 2872 break; 2873 case 2: 2874 p = "l_osigset_t"; 2875 break; 2876 default: 2877 break; 2878 }; 2879 break; 2880 /* linux_sigpending */ 2881 case 73: 2882 switch(ndx) { 2883 case 0: 2884 p = "l_osigset_t *"; 2885 break; 2886 default: 2887 break; 2888 }; 2889 break; 2890 /* linux_sethostname */ 2891 case 74: 2892 switch(ndx) { 2893 case 0: 2894 p = "char *"; 2895 break; 2896 case 1: 2897 p = "u_int"; 2898 break; 2899 default: 2900 break; 2901 }; 2902 break; 2903 /* linux_setrlimit */ 2904 case 75: 2905 switch(ndx) { 2906 case 0: 2907 p = "l_uint"; 2908 break; 2909 case 1: 2910 p = "struct l_rlimit *"; 2911 break; 2912 default: 2913 break; 2914 }; 2915 break; 2916 /* linux_old_getrlimit */ 2917 case 76: 2918 switch(ndx) { 2919 case 0: 2920 p = "l_uint"; 2921 break; 2922 case 1: 2923 p = "struct l_rlimit *"; 2924 break; 2925 default: 2926 break; 2927 }; 2928 break; 2929 /* getrusage */ 2930 case 77: 2931 switch(ndx) { 2932 case 0: 2933 p = "int"; 2934 break; 2935 case 1: 2936 p = "struct rusage *"; 2937 break; 2938 default: 2939 break; 2940 }; 2941 break; 2942 /* gettimeofday */ 2943 case 78: 2944 switch(ndx) { 2945 case 0: 2946 p = "struct timeval *"; 2947 break; 2948 case 1: 2949 p = "struct timezone *"; 2950 break; 2951 default: 2952 break; 2953 }; 2954 break; 2955 /* settimeofday */ 2956 case 79: 2957 switch(ndx) { 2958 case 0: 2959 p = "struct timeval *"; 2960 break; 2961 case 1: 2962 p = "struct timezone *"; 2963 break; 2964 default: 2965 break; 2966 }; 2967 break; 2968 /* linux_getgroups16 */ 2969 case 80: 2970 switch(ndx) { 2971 case 0: 2972 p = "l_uint"; 2973 break; 2974 case 1: 2975 p = "l_gid16_t *"; 2976 break; 2977 default: 2978 break; 2979 }; 2980 break; 2981 /* linux_setgroups16 */ 2982 case 81: 2983 switch(ndx) { 2984 case 0: 2985 p = "l_uint"; 2986 break; 2987 case 1: 2988 p = "l_gid16_t *"; 2989 break; 2990 default: 2991 break; 2992 }; 2993 break; 2994 /* linux_old_select */ 2995 case 82: 2996 switch(ndx) { 2997 case 0: 2998 p = "struct l_old_select_argv *"; 2999 break; 3000 default: 3001 break; 3002 }; 3003 break; 3004 /* linux_symlink */ 3005 case 83: 3006 switch(ndx) { 3007 case 0: 3008 p = "char *"; 3009 break; 3010 case 1: 3011 p = "char *"; 3012 break; 3013 default: 3014 break; 3015 }; 3016 break; 3017 /* linux_lstat */ 3018 case 84: 3019 switch(ndx) { 3020 case 0: 3021 p = "char *"; 3022 break; 3023 case 1: 3024 p = "struct ostat *"; 3025 break; 3026 default: 3027 break; 3028 }; 3029 break; 3030 /* linux_readlink */ 3031 case 85: 3032 switch(ndx) { 3033 case 0: 3034 p = "char *"; 3035 break; 3036 case 1: 3037 p = "char *"; 3038 break; 3039 case 2: 3040 p = "l_int"; 3041 break; 3042 default: 3043 break; 3044 }; 3045 break; 3046 /* linux_uselib */ 3047 case 86: 3048 switch(ndx) { 3049 case 0: 3050 p = "char *"; 3051 break; 3052 default: 3053 break; 3054 }; 3055 break; 3056 /* swapon */ 3057 case 87: 3058 switch(ndx) { 3059 case 0: 3060 p = "char *"; 3061 break; 3062 default: 3063 break; 3064 }; 3065 break; 3066 /* linux_reboot */ 3067 case 88: 3068 switch(ndx) { 3069 case 0: 3070 p = "l_int"; 3071 break; 3072 case 1: 3073 p = "l_int"; 3074 break; 3075 case 2: 3076 p = "l_uint"; 3077 break; 3078 case 3: 3079 p = "void *"; 3080 break; 3081 default: 3082 break; 3083 }; 3084 break; 3085 /* linux_readdir */ 3086 case 89: 3087 switch(ndx) { 3088 case 0: 3089 p = "l_uint"; 3090 break; 3091 case 1: 3092 p = "struct l_dirent *"; 3093 break; 3094 case 2: 3095 p = "l_uint"; 3096 break; 3097 default: 3098 break; 3099 }; 3100 break; 3101 /* linux_mmap */ 3102 case 90: 3103 switch(ndx) { 3104 case 0: 3105 p = "struct l_mmap_argv *"; 3106 break; 3107 default: 3108 break; 3109 }; 3110 break; 3111 /* munmap */ 3112 case 91: 3113 switch(ndx) { 3114 case 0: 3115 p = "caddr_t"; 3116 break; 3117 case 1: 3118 p = "int"; 3119 break; 3120 default: 3121 break; 3122 }; 3123 break; 3124 /* linux_truncate */ 3125 case 92: 3126 switch(ndx) { 3127 case 0: 3128 p = "char *"; 3129 break; 3130 case 1: 3131 p = "l_ulong"; 3132 break; 3133 default: 3134 break; 3135 }; 3136 break; 3137 /* linux_ftruncate */ 3138 case 93: 3139 switch(ndx) { 3140 case 0: 3141 p = "int"; 3142 break; 3143 case 1: 3144 p = "long"; 3145 break; 3146 default: 3147 break; 3148 }; 3149 break; 3150 /* fchmod */ 3151 case 94: 3152 switch(ndx) { 3153 case 0: 3154 p = "int"; 3155 break; 3156 case 1: 3157 p = "int"; 3158 break; 3159 default: 3160 break; 3161 }; 3162 break; 3163 /* fchown */ 3164 case 95: 3165 switch(ndx) { 3166 case 0: 3167 p = "int"; 3168 break; 3169 case 1: 3170 p = "int"; 3171 break; 3172 case 2: 3173 p = "int"; 3174 break; 3175 default: 3176 break; 3177 }; 3178 break; 3179 /* linux_getpriority */ 3180 case 96: 3181 switch(ndx) { 3182 case 0: 3183 p = "int"; 3184 break; 3185 case 1: 3186 p = "int"; 3187 break; 3188 default: 3189 break; 3190 }; 3191 break; 3192 /* setpriority */ 3193 case 97: 3194 switch(ndx) { 3195 case 0: 3196 p = "int"; 3197 break; 3198 case 1: 3199 p = "int"; 3200 break; 3201 case 2: 3202 p = "int"; 3203 break; 3204 default: 3205 break; 3206 }; 3207 break; 3208 /* linux_statfs */ 3209 case 99: 3210 switch(ndx) { 3211 case 0: 3212 p = "char *"; 3213 break; 3214 case 1: 3215 p = "struct l_statfs_buf *"; 3216 break; 3217 default: 3218 break; 3219 }; 3220 break; 3221 /* linux_fstatfs */ 3222 case 100: 3223 switch(ndx) { 3224 case 0: 3225 p = "l_uint"; 3226 break; 3227 case 1: 3228 p = "struct l_statfs_buf *"; 3229 break; 3230 default: 3231 break; 3232 }; 3233 break; 3234 /* linux_ioperm */ 3235 case 101: 3236 switch(ndx) { 3237 case 0: 3238 p = "l_ulong"; 3239 break; 3240 case 1: 3241 p = "l_ulong"; 3242 break; 3243 case 2: 3244 p = "l_int"; 3245 break; 3246 default: 3247 break; 3248 }; 3249 break; 3250 /* linux_socketcall */ 3251 case 102: 3252 switch(ndx) { 3253 case 0: 3254 p = "l_int"; 3255 break; 3256 case 1: 3257 p = "l_ulong"; 3258 break; 3259 default: 3260 break; 3261 }; 3262 break; 3263 /* linux_syslog */ 3264 case 103: 3265 switch(ndx) { 3266 case 0: 3267 p = "l_int"; 3268 break; 3269 case 1: 3270 p = "char *"; 3271 break; 3272 case 2: 3273 p = "l_int"; 3274 break; 3275 default: 3276 break; 3277 }; 3278 break; 3279 /* linux_setitimer */ 3280 case 104: 3281 switch(ndx) { 3282 case 0: 3283 p = "l_int"; 3284 break; 3285 case 1: 3286 p = "struct l_itimerval *"; 3287 break; 3288 case 2: 3289 p = "struct l_itimerval *"; 3290 break; 3291 default: 3292 break; 3293 }; 3294 break; 3295 /* linux_getitimer */ 3296 case 105: 3297 switch(ndx) { 3298 case 0: 3299 p = "l_int"; 3300 break; 3301 case 1: 3302 p = "struct l_itimerval *"; 3303 break; 3304 default: 3305 break; 3306 }; 3307 break; 3308 /* linux_newstat */ 3309 case 106: 3310 switch(ndx) { 3311 case 0: 3312 p = "char *"; 3313 break; 3314 case 1: 3315 p = "struct l_newstat *"; 3316 break; 3317 default: 3318 break; 3319 }; 3320 break; 3321 /* linux_newlstat */ 3322 case 107: 3323 switch(ndx) { 3324 case 0: 3325 p = "char *"; 3326 break; 3327 case 1: 3328 p = "struct l_newstat *"; 3329 break; 3330 default: 3331 break; 3332 }; 3333 break; 3334 /* linux_newfstat */ 3335 case 108: 3336 switch(ndx) { 3337 case 0: 3338 p = "l_uint"; 3339 break; 3340 case 1: 3341 p = "struct l_newstat *"; 3342 break; 3343 default: 3344 break; 3345 }; 3346 break; 3347 /* linux_uname */ 3348 case 109: 3349 break; 3350 /* linux_iopl */ 3351 case 110: 3352 switch(ndx) { 3353 case 0: 3354 p = "l_ulong"; 3355 break; 3356 default: 3357 break; 3358 }; 3359 break; 3360 /* linux_vhangup */ 3361 case 111: 3362 break; 3363 /* linux_vm86old */ 3364 case 113: 3365 break; 3366 /* linux_wait4 */ 3367 case 114: 3368 switch(ndx) { 3369 case 0: 3370 p = "l_pid_t"; 3371 break; 3372 case 1: 3373 p = "l_uint *"; 3374 break; 3375 case 2: 3376 p = "l_int"; 3377 break; 3378 case 3: 3379 p = "struct l_rusage *"; 3380 break; 3381 default: 3382 break; 3383 }; 3384 break; 3385 /* linux_swapoff */ 3386 case 115: 3387 break; 3388 /* linux_sysinfo */ 3389 case 116: 3390 switch(ndx) { 3391 case 0: 3392 p = "struct l_sysinfo *"; 3393 break; 3394 default: 3395 break; 3396 }; 3397 break; 3398 /* linux_ipc */ 3399 case 117: 3400 switch(ndx) { 3401 case 0: 3402 p = "l_uint"; 3403 break; 3404 case 1: 3405 p = "l_int"; 3406 break; 3407 case 2: 3408 p = "l_int"; 3409 break; 3410 case 3: 3411 p = "l_int"; 3412 break; 3413 case 4: 3414 p = "void *"; 3415 break; 3416 case 5: 3417 p = "l_long"; 3418 break; 3419 default: 3420 break; 3421 }; 3422 break; 3423 /* fsync */ 3424 case 118: 3425 switch(ndx) { 3426 case 0: 3427 p = "int"; 3428 break; 3429 default: 3430 break; 3431 }; 3432 break; 3433 /* linux_sigreturn */ 3434 case 119: 3435 switch(ndx) { 3436 case 0: 3437 p = "struct l_sigframe *"; 3438 break; 3439 default: 3440 break; 3441 }; 3442 break; 3443 /* linux_clone */ 3444 case 120: 3445 switch(ndx) { 3446 case 0: 3447 p = "l_int"; 3448 break; 3449 case 1: 3450 p = "void *"; 3451 break; 3452 case 2: 3453 p = "void *"; 3454 break; 3455 case 3: 3456 p = "void *"; 3457 break; 3458 case 4: 3459 p = "void *"; 3460 break; 3461 default: 3462 break; 3463 }; 3464 break; 3465 /* linux_setdomainname */ 3466 case 121: 3467 switch(ndx) { 3468 case 0: 3469 p = "char *"; 3470 break; 3471 case 1: 3472 p = "int"; 3473 break; 3474 default: 3475 break; 3476 }; 3477 break; 3478 /* linux_newuname */ 3479 case 122: 3480 switch(ndx) { 3481 case 0: 3482 p = "struct l_new_utsname *"; 3483 break; 3484 default: 3485 break; 3486 }; 3487 break; 3488 /* linux_modify_ldt */ 3489 case 123: 3490 switch(ndx) { 3491 case 0: 3492 p = "l_int"; 3493 break; 3494 case 1: 3495 p = "void *"; 3496 break; 3497 case 2: 3498 p = "l_ulong"; 3499 break; 3500 default: 3501 break; 3502 }; 3503 break; 3504 /* linux_adjtimex */ 3505 case 124: 3506 break; 3507 /* linux_mprotect */ 3508 case 125: 3509 switch(ndx) { 3510 case 0: 3511 p = "caddr_t"; 3512 break; 3513 case 1: 3514 p = "int"; 3515 break; 3516 case 2: 3517 p = "int"; 3518 break; 3519 default: 3520 break; 3521 }; 3522 break; 3523 /* linux_sigprocmask */ 3524 case 126: 3525 switch(ndx) { 3526 case 0: 3527 p = "l_int"; 3528 break; 3529 case 1: 3530 p = "l_osigset_t *"; 3531 break; 3532 case 2: 3533 p = "l_osigset_t *"; 3534 break; 3535 default: 3536 break; 3537 }; 3538 break; 3539 /* linux_create_module */ 3540 case 127: 3541 break; 3542 /* linux_init_module */ 3543 case 128: 3544 break; 3545 /* linux_delete_module */ 3546 case 129: 3547 break; 3548 /* linux_get_kernel_syms */ 3549 case 130: 3550 break; 3551 /* linux_quotactl */ 3552 case 131: 3553 break; 3554 /* getpgid */ 3555 case 132: 3556 switch(ndx) { 3557 case 0: 3558 p = "int"; 3559 break; 3560 default: 3561 break; 3562 }; 3563 break; 3564 /* fchdir */ 3565 case 133: 3566 switch(ndx) { 3567 case 0: 3568 p = "int"; 3569 break; 3570 default: 3571 break; 3572 }; 3573 break; 3574 /* linux_bdflush */ 3575 case 134: 3576 break; 3577 /* linux_sysfs */ 3578 case 135: 3579 switch(ndx) { 3580 case 0: 3581 p = "l_int"; 3582 break; 3583 case 1: 3584 p = "l_ulong"; 3585 break; 3586 case 2: 3587 p = "l_ulong"; 3588 break; 3589 default: 3590 break; 3591 }; 3592 break; 3593 /* linux_personality */ 3594 case 136: 3595 switch(ndx) { 3596 case 0: 3597 p = "l_ulong"; 3598 break; 3599 default: 3600 break; 3601 }; 3602 break; 3603 /* linux_setfsuid16 */ 3604 case 138: 3605 switch(ndx) { 3606 case 0: 3607 p = "l_uid16_t"; 3608 break; 3609 default: 3610 break; 3611 }; 3612 break; 3613 /* linux_setfsgid16 */ 3614 case 139: 3615 switch(ndx) { 3616 case 0: 3617 p = "l_gid16_t"; 3618 break; 3619 default: 3620 break; 3621 }; 3622 break; 3623 /* linux_llseek */ 3624 case 140: 3625 switch(ndx) { 3626 case 0: 3627 p = "l_int"; 3628 break; 3629 case 1: 3630 p = "l_ulong"; 3631 break; 3632 case 2: 3633 p = "l_ulong"; 3634 break; 3635 case 3: 3636 p = "l_loff_t *"; 3637 break; 3638 case 4: 3639 p = "l_uint"; 3640 break; 3641 default: 3642 break; 3643 }; 3644 break; 3645 /* linux_getdents */ 3646 case 141: 3647 switch(ndx) { 3648 case 0: 3649 p = "l_uint"; 3650 break; 3651 case 1: 3652 p = "void *"; 3653 break; 3654 case 2: 3655 p = "l_uint"; 3656 break; 3657 default: 3658 break; 3659 }; 3660 break; 3661 /* linux_select */ 3662 case 142: 3663 switch(ndx) { 3664 case 0: 3665 p = "l_int"; 3666 break; 3667 case 1: 3668 p = "l_fd_set *"; 3669 break; 3670 case 2: 3671 p = "l_fd_set *"; 3672 break; 3673 case 3: 3674 p = "l_fd_set *"; 3675 break; 3676 case 4: 3677 p = "struct l_timeval *"; 3678 break; 3679 default: 3680 break; 3681 }; 3682 break; 3683 /* flock */ 3684 case 143: 3685 switch(ndx) { 3686 case 0: 3687 p = "int"; 3688 break; 3689 case 1: 3690 p = "int"; 3691 break; 3692 default: 3693 break; 3694 }; 3695 break; 3696 /* linux_msync */ 3697 case 144: 3698 switch(ndx) { 3699 case 0: 3700 p = "l_ulong"; 3701 break; 3702 case 1: 3703 p = "l_size_t"; 3704 break; 3705 case 2: 3706 p = "l_int"; 3707 break; 3708 default: 3709 break; 3710 }; 3711 break; 3712 /* readv */ 3713 case 145: 3714 switch(ndx) { 3715 case 0: 3716 p = "int"; 3717 break; 3718 case 1: 3719 p = "struct iovec *"; 3720 break; 3721 case 2: 3722 p = "u_int"; 3723 break; 3724 default: 3725 break; 3726 }; 3727 break; 3728 /* writev */ 3729 case 146: 3730 switch(ndx) { 3731 case 0: 3732 p = "int"; 3733 break; 3734 case 1: 3735 p = "struct iovec *"; 3736 break; 3737 case 2: 3738 p = "u_int"; 3739 break; 3740 default: 3741 break; 3742 }; 3743 break; 3744 /* linux_getsid */ 3745 case 147: 3746 switch(ndx) { 3747 case 0: 3748 p = "l_pid_t"; 3749 break; 3750 default: 3751 break; 3752 }; 3753 break; 3754 /* linux_fdatasync */ 3755 case 148: 3756 switch(ndx) { 3757 case 0: 3758 p = "l_uint"; 3759 break; 3760 default: 3761 break; 3762 }; 3763 break; 3764 /* linux_sysctl */ 3765 case 149: 3766 switch(ndx) { 3767 case 0: 3768 p = "struct l___sysctl_args *"; 3769 break; 3770 default: 3771 break; 3772 }; 3773 break; 3774 /* mlock */ 3775 case 150: 3776 switch(ndx) { 3777 case 0: 3778 p = "const void *"; 3779 break; 3780 case 1: 3781 p = "size_t"; 3782 break; 3783 default: 3784 break; 3785 }; 3786 break; 3787 /* munlock */ 3788 case 151: 3789 switch(ndx) { 3790 case 0: 3791 p = "const void *"; 3792 break; 3793 case 1: 3794 p = "size_t"; 3795 break; 3796 default: 3797 break; 3798 }; 3799 break; 3800 /* mlockall */ 3801 case 152: 3802 switch(ndx) { 3803 case 0: 3804 p = "int"; 3805 break; 3806 default: 3807 break; 3808 }; 3809 break; 3810 /* munlockall */ 3811 case 153: 3812 break; 3813 /* sched_setparam */ 3814 case 154: 3815 switch(ndx) { 3816 case 0: 3817 p = "pid_t"; 3818 break; 3819 case 1: 3820 p = "const struct sched_param *"; 3821 break; 3822 default: 3823 break; 3824 }; 3825 break; 3826 /* sched_getparam */ 3827 case 155: 3828 switch(ndx) { 3829 case 0: 3830 p = "pid_t"; 3831 break; 3832 case 1: 3833 p = "struct sched_param *"; 3834 break; 3835 default: 3836 break; 3837 }; 3838 break; 3839 /* linux_sched_setscheduler */ 3840 case 156: 3841 switch(ndx) { 3842 case 0: 3843 p = "l_pid_t"; 3844 break; 3845 case 1: 3846 p = "l_int"; 3847 break; 3848 case 2: 3849 p = "struct l_sched_param *"; 3850 break; 3851 default: 3852 break; 3853 }; 3854 break; 3855 /* linux_sched_getscheduler */ 3856 case 157: 3857 switch(ndx) { 3858 case 0: 3859 p = "l_pid_t"; 3860 break; 3861 default: 3862 break; 3863 }; 3864 break; 3865 /* sched_yield */ 3866 case 158: 3867 break; 3868 /* linux_sched_get_priority_max */ 3869 case 159: 3870 switch(ndx) { 3871 case 0: 3872 p = "l_int"; 3873 break; 3874 default: 3875 break; 3876 }; 3877 break; 3878 /* linux_sched_get_priority_min */ 3879 case 160: 3880 switch(ndx) { 3881 case 0: 3882 p = "l_int"; 3883 break; 3884 default: 3885 break; 3886 }; 3887 break; 3888 /* sched_rr_get_interval */ 3889 case 161: 3890 switch(ndx) { 3891 case 0: 3892 p = "l_pid_t"; 3893 break; 3894 case 1: 3895 p = "struct l_timespec *"; 3896 break; 3897 default: 3898 break; 3899 }; 3900 break; 3901 /* linux_nanosleep */ 3902 case 162: 3903 switch(ndx) { 3904 case 0: 3905 p = "const struct l_timespec *"; 3906 break; 3907 case 1: 3908 p = "struct l_timespec *"; 3909 break; 3910 default: 3911 break; 3912 }; 3913 break; 3914 /* linux_mremap */ 3915 case 163: 3916 switch(ndx) { 3917 case 0: 3918 p = "l_ulong"; 3919 break; 3920 case 1: 3921 p = "l_ulong"; 3922 break; 3923 case 2: 3924 p = "l_ulong"; 3925 break; 3926 case 3: 3927 p = "l_ulong"; 3928 break; 3929 case 4: 3930 p = "l_ulong"; 3931 break; 3932 default: 3933 break; 3934 }; 3935 break; 3936 /* linux_setresuid16 */ 3937 case 164: 3938 switch(ndx) { 3939 case 0: 3940 p = "l_uid16_t"; 3941 break; 3942 case 1: 3943 p = "l_uid16_t"; 3944 break; 3945 case 2: 3946 p = "l_uid16_t"; 3947 break; 3948 default: 3949 break; 3950 }; 3951 break; 3952 /* linux_getresuid16 */ 3953 case 165: 3954 switch(ndx) { 3955 case 0: 3956 p = "l_uid16_t *"; 3957 break; 3958 case 1: 3959 p = "l_uid16_t *"; 3960 break; 3961 case 2: 3962 p = "l_uid16_t *"; 3963 break; 3964 default: 3965 break; 3966 }; 3967 break; 3968 /* linux_vm86 */ 3969 case 166: 3970 break; 3971 /* linux_query_module */ 3972 case 167: 3973 break; 3974 /* poll */ 3975 case 168: 3976 switch(ndx) { 3977 case 0: 3978 p = "struct pollfd *"; 3979 break; 3980 case 1: 3981 p = "unsigned int"; 3982 break; 3983 case 2: 3984 p = "long"; 3985 break; 3986 default: 3987 break; 3988 }; 3989 break; 3990 /* linux_nfsservctl */ 3991 case 169: 3992 break; 3993 /* linux_setresgid16 */ 3994 case 170: 3995 switch(ndx) { 3996 case 0: 3997 p = "l_gid16_t"; 3998 break; 3999 case 1: 4000 p = "l_gid16_t"; 4001 break; 4002 case 2: 4003 p = "l_gid16_t"; 4004 break; 4005 default: 4006 break; 4007 }; 4008 break; 4009 /* linux_getresgid16 */ 4010 case 171: 4011 switch(ndx) { 4012 case 0: 4013 p = "l_gid16_t *"; 4014 break; 4015 case 1: 4016 p = "l_gid16_t *"; 4017 break; 4018 case 2: 4019 p = "l_gid16_t *"; 4020 break; 4021 default: 4022 break; 4023 }; 4024 break; 4025 /* linux_prctl */ 4026 case 172: 4027 switch(ndx) { 4028 case 0: 4029 p = "l_int"; 4030 break; 4031 case 1: 4032 p = "l_int"; 4033 break; 4034 case 2: 4035 p = "l_int"; 4036 break; 4037 case 3: 4038 p = "l_int"; 4039 break; 4040 case 4: 4041 p = "l_int"; 4042 break; 4043 default: 4044 break; 4045 }; 4046 break; 4047 /* linux_rt_sigreturn */ 4048 case 173: 4049 switch(ndx) { 4050 case 0: 4051 p = "struct l_ucontext *"; 4052 break; 4053 default: 4054 break; 4055 }; 4056 break; 4057 /* linux_rt_sigaction */ 4058 case 174: 4059 switch(ndx) { 4060 case 0: 4061 p = "l_int"; 4062 break; 4063 case 1: 4064 p = "l_sigaction_t *"; 4065 break; 4066 case 2: 4067 p = "l_sigaction_t *"; 4068 break; 4069 case 3: 4070 p = "l_size_t"; 4071 break; 4072 default: 4073 break; 4074 }; 4075 break; 4076 /* linux_rt_sigprocmask */ 4077 case 175: 4078 switch(ndx) { 4079 case 0: 4080 p = "l_int"; 4081 break; 4082 case 1: 4083 p = "l_sigset_t *"; 4084 break; 4085 case 2: 4086 p = "l_sigset_t *"; 4087 break; 4088 case 3: 4089 p = "l_size_t"; 4090 break; 4091 default: 4092 break; 4093 }; 4094 break; 4095 /* linux_rt_sigpending */ 4096 case 176: 4097 switch(ndx) { 4098 case 0: 4099 p = "l_sigset_t *"; 4100 break; 4101 case 1: 4102 p = "l_size_t"; 4103 break; 4104 default: 4105 break; 4106 }; 4107 break; 4108 /* linux_rt_sigtimedwait */ 4109 case 177: 4110 switch(ndx) { 4111 case 0: 4112 p = "l_sigset_t *"; 4113 break; 4114 case 1: 4115 p = "l_siginfo_t *"; 4116 break; 4117 case 2: 4118 p = "struct l_timeval *"; 4119 break; 4120 case 3: 4121 p = "l_size_t"; 4122 break; 4123 default: 4124 break; 4125 }; 4126 break; 4127 /* linux_rt_sigqueueinfo */ 4128 case 178: 4129 break; 4130 /* linux_rt_sigsuspend */ 4131 case 179: 4132 switch(ndx) { 4133 case 0: 4134 p = "l_sigset_t *"; 4135 break; 4136 case 1: 4137 p = "l_size_t"; 4138 break; 4139 default: 4140 break; 4141 }; 4142 break; 4143 /* linux_pread */ 4144 case 180: 4145 switch(ndx) { 4146 case 0: 4147 p = "l_uint"; 4148 break; 4149 case 1: 4150 p = "char *"; 4151 break; 4152 case 2: 4153 p = "l_size_t"; 4154 break; 4155 case 3: 4156 p = "l_loff_t"; 4157 break; 4158 default: 4159 break; 4160 }; 4161 break; 4162 /* linux_pwrite */ 4163 case 181: 4164 switch(ndx) { 4165 case 0: 4166 p = "l_uint"; 4167 break; 4168 case 1: 4169 p = "char *"; 4170 break; 4171 case 2: 4172 p = "l_size_t"; 4173 break; 4174 case 3: 4175 p = "l_loff_t"; 4176 break; 4177 default: 4178 break; 4179 }; 4180 break; 4181 /* linux_chown16 */ 4182 case 182: 4183 switch(ndx) { 4184 case 0: 4185 p = "char *"; 4186 break; 4187 case 1: 4188 p = "l_uid16_t"; 4189 break; 4190 case 2: 4191 p = "l_gid16_t"; 4192 break; 4193 default: 4194 break; 4195 }; 4196 break; 4197 /* linux_getcwd */ 4198 case 183: 4199 switch(ndx) { 4200 case 0: 4201 p = "char *"; 4202 break; 4203 case 1: 4204 p = "l_ulong"; 4205 break; 4206 default: 4207 break; 4208 }; 4209 break; 4210 /* linux_capget */ 4211 case 184: 4212 switch(ndx) { 4213 case 0: 4214 p = "struct l_user_cap_header *"; 4215 break; 4216 case 1: 4217 p = "struct l_user_cap_data *"; 4218 break; 4219 default: 4220 break; 4221 }; 4222 break; 4223 /* linux_capset */ 4224 case 185: 4225 switch(ndx) { 4226 case 0: 4227 p = "struct l_user_cap_header *"; 4228 break; 4229 case 1: 4230 p = "struct l_user_cap_data *"; 4231 break; 4232 default: 4233 break; 4234 }; 4235 break; 4236 /* linux_sigaltstack */ 4237 case 186: 4238 switch(ndx) { 4239 case 0: 4240 p = "l_stack_t *"; 4241 break; 4242 case 1: 4243 p = "l_stack_t *"; 4244 break; 4245 default: 4246 break; 4247 }; 4248 break; 4249 /* linux_sendfile */ 4250 case 187: 4251 break; 4252 /* linux_vfork */ 4253 case 190: 4254 break; 4255 /* linux_getrlimit */ 4256 case 191: 4257 switch(ndx) { 4258 case 0: 4259 p = "l_uint"; 4260 break; 4261 case 1: 4262 p = "struct l_rlimit *"; 4263 break; 4264 default: 4265 break; 4266 }; 4267 break; 4268 /* linux_mmap2 */ 4269 case 192: 4270 switch(ndx) { 4271 case 0: 4272 p = "l_ulong"; 4273 break; 4274 case 1: 4275 p = "l_ulong"; 4276 break; 4277 case 2: 4278 p = "l_ulong"; 4279 break; 4280 case 3: 4281 p = "l_ulong"; 4282 break; 4283 case 4: 4284 p = "l_ulong"; 4285 break; 4286 case 5: 4287 p = "l_ulong"; 4288 break; 4289 default: 4290 break; 4291 }; 4292 break; 4293 /* linux_truncate64 */ 4294 case 193: 4295 switch(ndx) { 4296 case 0: 4297 p = "char *"; 4298 break; 4299 case 1: 4300 p = "l_loff_t"; 4301 break; 4302 default: 4303 break; 4304 }; 4305 break; 4306 /* linux_ftruncate64 */ 4307 case 194: 4308 switch(ndx) { 4309 case 0: 4310 p = "l_uint"; 4311 break; 4312 case 1: 4313 p = "l_loff_t"; 4314 break; 4315 default: 4316 break; 4317 }; 4318 break; 4319 /* linux_stat64 */ 4320 case 195: 4321 switch(ndx) { 4322 case 0: 4323 p = "char *"; 4324 break; 4325 case 1: 4326 p = "struct l_stat64 *"; 4327 break; 4328 case 2: 4329 p = "l_long"; 4330 break; 4331 default: 4332 break; 4333 }; 4334 break; 4335 /* linux_lstat64 */ 4336 case 196: 4337 switch(ndx) { 4338 case 0: 4339 p = "char *"; 4340 break; 4341 case 1: 4342 p = "struct l_stat64 *"; 4343 break; 4344 case 2: 4345 p = "l_long"; 4346 break; 4347 default: 4348 break; 4349 }; 4350 break; 4351 /* linux_fstat64 */ 4352 case 197: 4353 switch(ndx) { 4354 case 0: 4355 p = "l_ulong"; 4356 break; 4357 case 1: 4358 p = "struct l_stat64 *"; 4359 break; 4360 case 2: 4361 p = "l_long"; 4362 break; 4363 default: 4364 break; 4365 }; 4366 break; 4367 /* linux_lchown */ 4368 case 198: 4369 switch(ndx) { 4370 case 0: 4371 p = "char *"; 4372 break; 4373 case 1: 4374 p = "l_uid_t"; 4375 break; 4376 case 2: 4377 p = "l_gid_t"; 4378 break; 4379 default: 4380 break; 4381 }; 4382 break; 4383 /* linux_getuid */ 4384 case 199: 4385 break; 4386 /* linux_getgid */ 4387 case 200: 4388 break; 4389 /* geteuid */ 4390 case 201: 4391 break; 4392 /* getegid */ 4393 case 202: 4394 break; 4395 /* setreuid */ 4396 case 203: 4397 switch(ndx) { 4398 case 0: 4399 p = "uid_t"; 4400 break; 4401 case 1: 4402 p = "uid_t"; 4403 break; 4404 default: 4405 break; 4406 }; 4407 break; 4408 /* setregid */ 4409 case 204: 4410 switch(ndx) { 4411 case 0: 4412 p = "gid_t"; 4413 break; 4414 case 1: 4415 p = "gid_t"; 4416 break; 4417 default: 4418 break; 4419 }; 4420 break; 4421 /* linux_getgroups */ 4422 case 205: 4423 switch(ndx) { 4424 case 0: 4425 p = "l_int"; 4426 break; 4427 case 1: 4428 p = "l_gid_t *"; 4429 break; 4430 default: 4431 break; 4432 }; 4433 break; 4434 /* linux_setgroups */ 4435 case 206: 4436 switch(ndx) { 4437 case 0: 4438 p = "l_int"; 4439 break; 4440 case 1: 4441 p = "l_gid_t *"; 4442 break; 4443 default: 4444 break; 4445 }; 4446 break; 4447 /* fchown */ 4448 case 207: 4449 break; 4450 /* setresuid */ 4451 case 208: 4452 switch(ndx) { 4453 case 0: 4454 p = "uid_t"; 4455 break; 4456 case 1: 4457 p = "uid_t"; 4458 break; 4459 case 2: 4460 p = "uid_t"; 4461 break; 4462 default: 4463 break; 4464 }; 4465 break; 4466 /* getresuid */ 4467 case 209: 4468 switch(ndx) { 4469 case 0: 4470 p = "uid_t *"; 4471 break; 4472 case 1: 4473 p = "uid_t *"; 4474 break; 4475 case 2: 4476 p = "uid_t *"; 4477 break; 4478 default: 4479 break; 4480 }; 4481 break; 4482 /* setresgid */ 4483 case 210: 4484 switch(ndx) { 4485 case 0: 4486 p = "gid_t"; 4487 break; 4488 case 1: 4489 p = "gid_t"; 4490 break; 4491 case 2: 4492 p = "gid_t"; 4493 break; 4494 default: 4495 break; 4496 }; 4497 break; 4498 /* getresgid */ 4499 case 211: 4500 switch(ndx) { 4501 case 0: 4502 p = "gid_t *"; 4503 break; 4504 case 1: 4505 p = "gid_t *"; 4506 break; 4507 case 2: 4508 p = "gid_t *"; 4509 break; 4510 default: 4511 break; 4512 }; 4513 break; 4514 /* linux_chown */ 4515 case 212: 4516 switch(ndx) { 4517 case 0: 4518 p = "char *"; 4519 break; 4520 case 1: 4521 p = "l_uid_t"; 4522 break; 4523 case 2: 4524 p = "l_gid_t"; 4525 break; 4526 default: 4527 break; 4528 }; 4529 break; 4530 /* setuid */ 4531 case 213: 4532 switch(ndx) { 4533 case 0: 4534 p = "uid_t"; 4535 break; 4536 default: 4537 break; 4538 }; 4539 break; 4540 /* setgid */ 4541 case 214: 4542 switch(ndx) { 4543 case 0: 4544 p = "gid_t"; 4545 break; 4546 default: 4547 break; 4548 }; 4549 break; 4550 /* linux_setfsuid */ 4551 case 215: 4552 switch(ndx) { 4553 case 0: 4554 p = "l_uid_t"; 4555 break; 4556 default: 4557 break; 4558 }; 4559 break; 4560 /* linux_setfsgid */ 4561 case 216: 4562 switch(ndx) { 4563 case 0: 4564 p = "l_gid_t"; 4565 break; 4566 default: 4567 break; 4568 }; 4569 break; 4570 /* linux_pivot_root */ 4571 case 217: 4572 switch(ndx) { 4573 case 0: 4574 p = "char *"; 4575 break; 4576 case 1: 4577 p = "char *"; 4578 break; 4579 default: 4580 break; 4581 }; 4582 break; 4583 /* linux_mincore */ 4584 case 218: 4585 switch(ndx) { 4586 case 0: 4587 p = "l_ulong"; 4588 break; 4589 case 1: 4590 p = "l_size_t"; 4591 break; 4592 case 2: 4593 p = "u_char *"; 4594 break; 4595 default: 4596 break; 4597 }; 4598 break; 4599 /* madvise */ 4600 case 219: 4601 switch(ndx) { 4602 case 0: 4603 p = "void *"; 4604 break; 4605 case 1: 4606 p = "size_t"; 4607 break; 4608 case 2: 4609 p = "int"; 4610 break; 4611 default: 4612 break; 4613 }; 4614 break; 4615 /* linux_getdents64 */ 4616 case 220: 4617 switch(ndx) { 4618 case 0: 4619 p = "l_uint"; 4620 break; 4621 case 1: 4622 p = "void *"; 4623 break; 4624 case 2: 4625 p = "l_uint"; 4626 break; 4627 default: 4628 break; 4629 }; 4630 break; 4631 /* linux_fcntl64 */ 4632 case 221: 4633 switch(ndx) { 4634 case 0: 4635 p = "l_uint"; 4636 break; 4637 case 1: 4638 p = "l_uint"; 4639 break; 4640 case 2: 4641 p = "l_ulong"; 4642 break; 4643 default: 4644 break; 4645 }; 4646 break; 4647 /* linux_gettid */ 4648 case 224: 4649 break; 4650 /* linux_setxattr */ 4651 case 226: 4652 break; 4653 /* linux_lsetxattr */ 4654 case 227: 4655 break; 4656 /* linux_fsetxattr */ 4657 case 228: 4658 break; 4659 /* linux_getxattr */ 4660 case 229: 4661 break; 4662 /* linux_lgetxattr */ 4663 case 230: 4664 break; 4665 /* linux_fgetxattr */ 4666 case 231: 4667 break; 4668 /* linux_listxattr */ 4669 case 232: 4670 break; 4671 /* linux_llistxattr */ 4672 case 233: 4673 break; 4674 /* linux_flistxattr */ 4675 case 234: 4676 break; 4677 /* linux_removexattr */ 4678 case 235: 4679 break; 4680 /* linux_lremovexattr */ 4681 case 236: 4682 break; 4683 /* linux_fremovexattr */ 4684 case 237: 4685 break; 4686 /* linux_tkill */ 4687 case 238: 4688 switch(ndx) { 4689 case 0: 4690 p = "int"; 4691 break; 4692 case 1: 4693 p = "int"; 4694 break; 4695 default: 4696 break; 4697 }; 4698 break; 4699 /* linux_sys_futex */ 4700 case 240: 4701 switch(ndx) { 4702 case 0: 4703 p = "void *"; 4704 break; 4705 case 1: 4706 p = "int"; 4707 break; 4708 case 2: 4709 p = "uint32_t"; 4710 break; 4711 case 3: 4712 p = "struct l_timespec *"; 4713 break; 4714 case 4: 4715 p = "uint32_t *"; 4716 break; 4717 case 5: 4718 p = "uint32_t"; 4719 break; 4720 default: 4721 break; 4722 }; 4723 break; 4724 /* linux_sched_setaffinity */ 4725 case 241: 4726 switch(ndx) { 4727 case 0: 4728 p = "l_pid_t"; 4729 break; 4730 case 1: 4731 p = "l_uint"; 4732 break; 4733 case 2: 4734 p = "l_ulong *"; 4735 break; 4736 default: 4737 break; 4738 }; 4739 break; 4740 /* linux_sched_getaffinity */ 4741 case 242: 4742 switch(ndx) { 4743 case 0: 4744 p = "l_pid_t"; 4745 break; 4746 case 1: 4747 p = "l_uint"; 4748 break; 4749 case 2: 4750 p = "l_ulong *"; 4751 break; 4752 default: 4753 break; 4754 }; 4755 break; 4756 /* linux_set_thread_area */ 4757 case 243: 4758 switch(ndx) { 4759 case 0: 4760 p = "struct l_user_desc *"; 4761 break; 4762 default: 4763 break; 4764 }; 4765 break; 4766 /* linux_get_thread_area */ 4767 case 244: 4768 switch(ndx) { 4769 case 0: 4770 p = "struct l_user_desc *"; 4771 break; 4772 default: 4773 break; 4774 }; 4775 break; 4776 /* linux_fadvise64 */ 4777 case 250: 4778 break; 4779 /* linux_exit_group */ 4780 case 252: 4781 switch(ndx) { 4782 case 0: 4783 p = "int"; 4784 break; 4785 default: 4786 break; 4787 }; 4788 break; 4789 /* linux_lookup_dcookie */ 4790 case 253: 4791 break; 4792 /* linux_epoll_create */ 4793 case 254: 4794 break; 4795 /* linux_epoll_ctl */ 4796 case 255: 4797 break; 4798 /* linux_epoll_wait */ 4799 case 256: 4800 break; 4801 /* linux_remap_file_pages */ 4802 case 257: 4803 break; 4804 /* linux_set_tid_address */ 4805 case 258: 4806 switch(ndx) { 4807 case 0: 4808 p = "int *"; 4809 break; 4810 default: 4811 break; 4812 }; 4813 break; 4814 /* linux_timer_create */ 4815 case 259: 4816 switch(ndx) { 4817 case 0: 4818 p = "clockid_t"; 4819 break; 4820 case 1: 4821 p = "struct sigevent *"; 4822 break; 4823 case 2: 4824 p = "l_timer_t *"; 4825 break; 4826 default: 4827 break; 4828 }; 4829 break; 4830 /* linux_timer_settime */ 4831 case 260: 4832 switch(ndx) { 4833 case 0: 4834 p = "l_timer_t"; 4835 break; 4836 case 1: 4837 p = "const struct itimerspec *"; 4838 break; 4839 case 2: 4840 p = "struct itimerspec *"; 4841 break; 4842 default: 4843 break; 4844 }; 4845 break; 4846 /* linux_timer_gettime */ 4847 case 261: 4848 switch(ndx) { 4849 case 0: 4850 p = "l_timer_t"; 4851 break; 4852 case 1: 4853 p = "struct itimerspec *"; 4854 break; 4855 default: 4856 break; 4857 }; 4858 break; 4859 /* linux_timer_getoverrun */ 4860 case 262: 4861 switch(ndx) { 4862 case 0: 4863 p = "l_timer_t"; 4864 break; 4865 default: 4866 break; 4867 }; 4868 break; 4869 /* linux_timer_delete */ 4870 case 263: 4871 switch(ndx) { 4872 case 0: 4873 p = "l_timer_t"; 4874 break; 4875 default: 4876 break; 4877 }; 4878 break; 4879 /* linux_clock_settime */ 4880 case 264: 4881 switch(ndx) { 4882 case 0: 4883 p = "clockid_t"; 4884 break; 4885 case 1: 4886 p = "struct l_timespec *"; 4887 break; 4888 default: 4889 break; 4890 }; 4891 break; 4892 /* linux_clock_gettime */ 4893 case 265: 4894 switch(ndx) { 4895 case 0: 4896 p = "clockid_t"; 4897 break; 4898 case 1: 4899 p = "struct l_timespec *"; 4900 break; 4901 default: 4902 break; 4903 }; 4904 break; 4905 /* linux_clock_getres */ 4906 case 266: 4907 switch(ndx) { 4908 case 0: 4909 p = "clockid_t"; 4910 break; 4911 case 1: 4912 p = "struct l_timespec *"; 4913 break; 4914 default: 4915 break; 4916 }; 4917 break; 4918 /* linux_clock_nanosleep */ 4919 case 267: 4920 switch(ndx) { 4921 case 0: 4922 p = "clockid_t"; 4923 break; 4924 case 1: 4925 p = "int"; 4926 break; 4927 case 2: 4928 p = "struct l_timespec *"; 4929 break; 4930 case 3: 4931 p = "struct l_timespec *"; 4932 break; 4933 default: 4934 break; 4935 }; 4936 break; 4937 /* linux_statfs64 */ 4938 case 268: 4939 switch(ndx) { 4940 case 0: 4941 p = "char *"; 4942 break; 4943 case 1: 4944 p = "size_t"; 4945 break; 4946 case 2: 4947 p = "struct l_statfs64_buf *"; 4948 break; 4949 default: 4950 break; 4951 }; 4952 break; 4953 /* linux_fstatfs64 */ 4954 case 269: 4955 break; 4956 /* linux_tgkill */ 4957 case 270: 4958 switch(ndx) { 4959 case 0: 4960 p = "int"; 4961 break; 4962 case 1: 4963 p = "int"; 4964 break; 4965 case 2: 4966 p = "int"; 4967 break; 4968 default: 4969 break; 4970 }; 4971 break; 4972 /* linux_utimes */ 4973 case 271: 4974 switch(ndx) { 4975 case 0: 4976 p = "char *"; 4977 break; 4978 case 1: 4979 p = "struct l_timeval *"; 4980 break; 4981 default: 4982 break; 4983 }; 4984 break; 4985 /* linux_fadvise64_64 */ 4986 case 272: 4987 break; 4988 /* linux_mbind */ 4989 case 274: 4990 break; 4991 /* linux_get_mempolicy */ 4992 case 275: 4993 break; 4994 /* linux_set_mempolicy */ 4995 case 276: 4996 break; 4997 /* linux_mq_open */ 4998 case 277: 4999 switch(ndx) { 5000 case 0: 5001 p = "const char *"; 5002 break; 5003 case 1: 5004 p = "int"; 5005 break; 5006 case 2: 5007 p = "mode_t"; 5008 break; 5009 case 3: 5010 p = "struct mq_attr *"; 5011 break; 5012 default: 5013 break; 5014 }; 5015 break; 5016 /* linux_mq_unlink */ 5017 case 278: 5018 switch(ndx) { 5019 case 0: 5020 p = "const char *"; 5021 break; 5022 default: 5023 break; 5024 }; 5025 break; 5026 /* linux_mq_timedsend */ 5027 case 279: 5028 switch(ndx) { 5029 case 0: 5030 p = "l_mqd_t"; 5031 break; 5032 case 1: 5033 p = "const char *"; 5034 break; 5035 case 2: 5036 p = "size_t"; 5037 break; 5038 case 3: 5039 p = "unsigned int"; 5040 break; 5041 case 4: 5042 p = "const struct l_timespec *"; 5043 break; 5044 default: 5045 break; 5046 }; 5047 break; 5048 /* linux_mq_timedreceive */ 5049 case 280: 5050 switch(ndx) { 5051 case 0: 5052 p = "l_mqd_t"; 5053 break; 5054 case 1: 5055 p = "char *"; 5056 break; 5057 case 2: 5058 p = "size_t"; 5059 break; 5060 case 3: 5061 p = "unsigned int"; 5062 break; 5063 case 4: 5064 p = "const struct l_timespec *"; 5065 break; 5066 default: 5067 break; 5068 }; 5069 break; 5070 /* linux_mq_notify */ 5071 case 281: 5072 switch(ndx) { 5073 case 0: 5074 p = "l_mqd_t"; 5075 break; 5076 case 1: 5077 p = "const struct l_timespec *"; 5078 break; 5079 default: 5080 break; 5081 }; 5082 break; 5083 /* linux_mq_getsetattr */ 5084 case 282: 5085 switch(ndx) { 5086 case 0: 5087 p = "l_mqd_t"; 5088 break; 5089 case 1: 5090 p = "const struct mq_attr *"; 5091 break; 5092 case 2: 5093 p = "struct mq_attr *"; 5094 break; 5095 default: 5096 break; 5097 }; 5098 break; 5099 /* linux_kexec_load */ 5100 case 283: 5101 break; 5102 /* linux_waitid */ 5103 case 284: 5104 break; 5105 /* linux_add_key */ 5106 case 286: 5107 break; 5108 /* linux_request_key */ 5109 case 287: 5110 break; 5111 /* linux_keyctl */ 5112 case 288: 5113 break; 5114 /* linux_ioprio_set */ 5115 case 289: 5116 break; 5117 /* linux_ioprio_get */ 5118 case 290: 5119 break; 5120 /* linux_inotify_init */ 5121 case 291: 5122 break; 5123 /* linux_inotify_add_watch */ 5124 case 292: 5125 break; 5126 /* linux_inotify_rm_watch */ 5127 case 293: 5128 break; 5129 /* linux_migrate_pages */ 5130 case 294: 5131 break; 5132 /* linux_openat */ 5133 case 295: 5134 switch(ndx) { 5135 case 0: 5136 p = "l_int"; 5137 break; 5138 case 1: 5139 p = "const char *"; 5140 break; 5141 case 2: 5142 p = "l_int"; 5143 break; 5144 case 3: 5145 p = "l_int"; 5146 break; 5147 default: 5148 break; 5149 }; 5150 break; 5151 /* linux_mkdirat */ 5152 case 296: 5153 switch(ndx) { 5154 case 0: 5155 p = "l_int"; 5156 break; 5157 case 1: 5158 p = "const char *"; 5159 break; 5160 case 2: 5161 p = "l_int"; 5162 break; 5163 default: 5164 break; 5165 }; 5166 break; 5167 /* linux_mknodat */ 5168 case 297: 5169 switch(ndx) { 5170 case 0: 5171 p = "l_int"; 5172 break; 5173 case 1: 5174 p = "const char *"; 5175 break; 5176 case 2: 5177 p = "l_int"; 5178 break; 5179 case 3: 5180 p = "l_uint"; 5181 break; 5182 default: 5183 break; 5184 }; 5185 break; 5186 /* linux_fchownat */ 5187 case 298: 5188 switch(ndx) { 5189 case 0: 5190 p = "l_int"; 5191 break; 5192 case 1: 5193 p = "const char *"; 5194 break; 5195 case 2: 5196 p = "l_uid16_t"; 5197 break; 5198 case 3: 5199 p = "l_gid16_t"; 5200 break; 5201 case 4: 5202 p = "l_int"; 5203 break; 5204 default: 5205 break; 5206 }; 5207 break; 5208 /* linux_futimesat */ 5209 case 299: 5210 switch(ndx) { 5211 case 0: 5212 p = "l_int"; 5213 break; 5214 case 1: 5215 p = "char *"; 5216 break; 5217 case 2: 5218 p = "struct l_timeval *"; 5219 break; 5220 default: 5221 break; 5222 }; 5223 break; 5224 /* linux_fstatat64 */ 5225 case 300: 5226 switch(ndx) { 5227 case 0: 5228 p = "l_int"; 5229 break; 5230 case 1: 5231 p = "char *"; 5232 break; 5233 case 2: 5234 p = "struct l_stat64 *"; 5235 break; 5236 case 3: 5237 p = "l_int"; 5238 break; 5239 default: 5240 break; 5241 }; 5242 break; 5243 /* linux_unlinkat */ 5244 case 301: 5245 switch(ndx) { 5246 case 0: 5247 p = "l_int"; 5248 break; 5249 case 1: 5250 p = "const char *"; 5251 break; 5252 case 2: 5253 p = "l_int"; 5254 break; 5255 default: 5256 break; 5257 }; 5258 break; 5259 /* linux_renameat */ 5260 case 302: 5261 switch(ndx) { 5262 case 0: 5263 p = "l_int"; 5264 break; 5265 case 1: 5266 p = "const char *"; 5267 break; 5268 case 2: 5269 p = "l_int"; 5270 break; 5271 case 3: 5272 p = "const char *"; 5273 break; 5274 default: 5275 break; 5276 }; 5277 break; 5278 /* linux_linkat */ 5279 case 303: 5280 switch(ndx) { 5281 case 0: 5282 p = "l_int"; 5283 break; 5284 case 1: 5285 p = "const char *"; 5286 break; 5287 case 2: 5288 p = "l_int"; 5289 break; 5290 case 3: 5291 p = "const char *"; 5292 break; 5293 case 4: 5294 p = "l_int"; 5295 break; 5296 default: 5297 break; 5298 }; 5299 break; 5300 /* linux_symlinkat */ 5301 case 304: 5302 switch(ndx) { 5303 case 0: 5304 p = "const char *"; 5305 break; 5306 case 1: 5307 p = "l_int"; 5308 break; 5309 case 2: 5310 p = "const char *"; 5311 break; 5312 default: 5313 break; 5314 }; 5315 break; 5316 /* linux_readlinkat */ 5317 case 305: 5318 switch(ndx) { 5319 case 0: 5320 p = "l_int"; 5321 break; 5322 case 1: 5323 p = "const char *"; 5324 break; 5325 case 2: 5326 p = "char *"; 5327 break; 5328 case 3: 5329 p = "l_int"; 5330 break; 5331 default: 5332 break; 5333 }; 5334 break; 5335 /* linux_fchmodat */ 5336 case 306: 5337 switch(ndx) { 5338 case 0: 5339 p = "l_int"; 5340 break; 5341 case 1: 5342 p = "const char *"; 5343 break; 5344 case 2: 5345 p = "l_mode_t"; 5346 break; 5347 default: 5348 break; 5349 }; 5350 break; 5351 /* linux_faccessat */ 5352 case 307: 5353 switch(ndx) { 5354 case 0: 5355 p = "l_int"; 5356 break; 5357 case 1: 5358 p = "const char *"; 5359 break; 5360 case 2: 5361 p = "l_int"; 5362 break; 5363 default: 5364 break; 5365 }; 5366 break; 5367 /* linux_pselect6 */ 5368 case 308: 5369 break; 5370 /* linux_ppoll */ 5371 case 309: 5372 break; 5373 /* linux_unshare */ 5374 case 310: 5375 break; 5376 /* linux_set_robust_list */ 5377 case 311: 5378 switch(ndx) { 5379 case 0: 5380 p = "struct linux_robust_list_head *"; 5381 break; 5382 case 1: 5383 p = "l_size_t"; 5384 break; 5385 default: 5386 break; 5387 }; 5388 break; 5389 /* linux_get_robust_list */ 5390 case 312: 5391 switch(ndx) { 5392 case 0: 5393 p = "l_int"; 5394 break; 5395 case 1: 5396 p = "struct linux_robust_list_head **"; 5397 break; 5398 case 2: 5399 p = "l_size_t *"; 5400 break; 5401 default: 5402 break; 5403 }; 5404 break; 5405 /* linux_splice */ 5406 case 313: 5407 break; 5408 /* linux_sync_file_range */ 5409 case 314: 5410 break; 5411 /* linux_tee */ 5412 case 315: 5413 break; 5414 /* linux_vmsplice */ 5415 case 316: 5416 break; 5417 default: 5418 break; 5419 }; 5420 if (p != NULL) 5421 strlcpy(desc, p, descsz); 5422 } 5423