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->amode; /* 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->flag; /* 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->amode; /* l_int */ 2128 iarg[3] = p->flag; /* l_int */ 2129 *n_args = 4; 2130 break; 2131 } 2132 /* linux_pselect6 */ 2133 case 308: { 2134 *n_args = 0; 2135 break; 2136 } 2137 /* linux_ppoll */ 2138 case 309: { 2139 *n_args = 0; 2140 break; 2141 } 2142 /* linux_unshare */ 2143 case 310: { 2144 *n_args = 0; 2145 break; 2146 } 2147 /* linux_set_robust_list */ 2148 case 311: { 2149 struct linux_set_robust_list_args *p = params; 2150 uarg[0] = (intptr_t) p->head; /* struct linux_robust_list_head * */ 2151 iarg[1] = p->len; /* l_size_t */ 2152 *n_args = 2; 2153 break; 2154 } 2155 /* linux_get_robust_list */ 2156 case 312: { 2157 struct linux_get_robust_list_args *p = params; 2158 iarg[0] = p->pid; /* l_int */ 2159 uarg[1] = (intptr_t) p->head; /* struct linux_robust_list_head ** */ 2160 uarg[2] = (intptr_t) p->len; /* l_size_t * */ 2161 *n_args = 3; 2162 break; 2163 } 2164 /* linux_splice */ 2165 case 313: { 2166 *n_args = 0; 2167 break; 2168 } 2169 /* linux_sync_file_range */ 2170 case 314: { 2171 *n_args = 0; 2172 break; 2173 } 2174 /* linux_tee */ 2175 case 315: { 2176 *n_args = 0; 2177 break; 2178 } 2179 /* linux_vmsplice */ 2180 case 316: { 2181 *n_args = 0; 2182 break; 2183 } 2184 default: 2185 *n_args = 0; 2186 break; 2187 }; 2188 } 2189 static void 2190 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) 2191 { 2192 const char *p = NULL; 2193 switch (sysnum) { 2194 #define nosys linux_nosys 2195 /* sys_exit */ 2196 case 1: 2197 switch(ndx) { 2198 case 0: 2199 p = "int"; 2200 break; 2201 default: 2202 break; 2203 }; 2204 break; 2205 /* linux_fork */ 2206 case 2: 2207 break; 2208 /* read */ 2209 case 3: 2210 switch(ndx) { 2211 case 0: 2212 p = "int"; 2213 break; 2214 case 1: 2215 p = "char *"; 2216 break; 2217 case 2: 2218 p = "u_int"; 2219 break; 2220 default: 2221 break; 2222 }; 2223 break; 2224 /* write */ 2225 case 4: 2226 switch(ndx) { 2227 case 0: 2228 p = "int"; 2229 break; 2230 case 1: 2231 p = "char *"; 2232 break; 2233 case 2: 2234 p = "u_int"; 2235 break; 2236 default: 2237 break; 2238 }; 2239 break; 2240 /* linux_open */ 2241 case 5: 2242 switch(ndx) { 2243 case 0: 2244 p = "char *"; 2245 break; 2246 case 1: 2247 p = "l_int"; 2248 break; 2249 case 2: 2250 p = "l_int"; 2251 break; 2252 default: 2253 break; 2254 }; 2255 break; 2256 /* close */ 2257 case 6: 2258 switch(ndx) { 2259 case 0: 2260 p = "int"; 2261 break; 2262 default: 2263 break; 2264 }; 2265 break; 2266 /* linux_waitpid */ 2267 case 7: 2268 switch(ndx) { 2269 case 0: 2270 p = "l_pid_t"; 2271 break; 2272 case 1: 2273 p = "l_int *"; 2274 break; 2275 case 2: 2276 p = "l_int"; 2277 break; 2278 default: 2279 break; 2280 }; 2281 break; 2282 /* linux_creat */ 2283 case 8: 2284 switch(ndx) { 2285 case 0: 2286 p = "char *"; 2287 break; 2288 case 1: 2289 p = "l_int"; 2290 break; 2291 default: 2292 break; 2293 }; 2294 break; 2295 /* linux_link */ 2296 case 9: 2297 switch(ndx) { 2298 case 0: 2299 p = "char *"; 2300 break; 2301 case 1: 2302 p = "char *"; 2303 break; 2304 default: 2305 break; 2306 }; 2307 break; 2308 /* linux_unlink */ 2309 case 10: 2310 switch(ndx) { 2311 case 0: 2312 p = "char *"; 2313 break; 2314 default: 2315 break; 2316 }; 2317 break; 2318 /* linux_execve */ 2319 case 11: 2320 switch(ndx) { 2321 case 0: 2322 p = "char *"; 2323 break; 2324 case 1: 2325 p = "char **"; 2326 break; 2327 case 2: 2328 p = "char **"; 2329 break; 2330 default: 2331 break; 2332 }; 2333 break; 2334 /* linux_chdir */ 2335 case 12: 2336 switch(ndx) { 2337 case 0: 2338 p = "char *"; 2339 break; 2340 default: 2341 break; 2342 }; 2343 break; 2344 /* linux_time */ 2345 case 13: 2346 switch(ndx) { 2347 case 0: 2348 p = "l_time_t *"; 2349 break; 2350 default: 2351 break; 2352 }; 2353 break; 2354 /* linux_mknod */ 2355 case 14: 2356 switch(ndx) { 2357 case 0: 2358 p = "char *"; 2359 break; 2360 case 1: 2361 p = "l_int"; 2362 break; 2363 case 2: 2364 p = "l_dev_t"; 2365 break; 2366 default: 2367 break; 2368 }; 2369 break; 2370 /* linux_chmod */ 2371 case 15: 2372 switch(ndx) { 2373 case 0: 2374 p = "char *"; 2375 break; 2376 case 1: 2377 p = "l_mode_t"; 2378 break; 2379 default: 2380 break; 2381 }; 2382 break; 2383 /* linux_lchown16 */ 2384 case 16: 2385 switch(ndx) { 2386 case 0: 2387 p = "char *"; 2388 break; 2389 case 1: 2390 p = "l_uid16_t"; 2391 break; 2392 case 2: 2393 p = "l_gid16_t"; 2394 break; 2395 default: 2396 break; 2397 }; 2398 break; 2399 /* linux_stat */ 2400 case 18: 2401 switch(ndx) { 2402 case 0: 2403 p = "char *"; 2404 break; 2405 case 1: 2406 p = "struct linux_stat *"; 2407 break; 2408 default: 2409 break; 2410 }; 2411 break; 2412 /* linux_lseek */ 2413 case 19: 2414 switch(ndx) { 2415 case 0: 2416 p = "l_uint"; 2417 break; 2418 case 1: 2419 p = "l_off_t"; 2420 break; 2421 case 2: 2422 p = "l_int"; 2423 break; 2424 default: 2425 break; 2426 }; 2427 break; 2428 /* linux_getpid */ 2429 case 20: 2430 break; 2431 /* linux_mount */ 2432 case 21: 2433 switch(ndx) { 2434 case 0: 2435 p = "char *"; 2436 break; 2437 case 1: 2438 p = "char *"; 2439 break; 2440 case 2: 2441 p = "char *"; 2442 break; 2443 case 3: 2444 p = "l_ulong"; 2445 break; 2446 case 4: 2447 p = "void *"; 2448 break; 2449 default: 2450 break; 2451 }; 2452 break; 2453 /* linux_oldumount */ 2454 case 22: 2455 switch(ndx) { 2456 case 0: 2457 p = "char *"; 2458 break; 2459 default: 2460 break; 2461 }; 2462 break; 2463 /* linux_setuid16 */ 2464 case 23: 2465 switch(ndx) { 2466 case 0: 2467 p = "l_uid16_t"; 2468 break; 2469 default: 2470 break; 2471 }; 2472 break; 2473 /* linux_getuid16 */ 2474 case 24: 2475 break; 2476 /* linux_stime */ 2477 case 25: 2478 break; 2479 /* linux_ptrace */ 2480 case 26: 2481 switch(ndx) { 2482 case 0: 2483 p = "l_long"; 2484 break; 2485 case 1: 2486 p = "l_long"; 2487 break; 2488 case 2: 2489 p = "l_long"; 2490 break; 2491 case 3: 2492 p = "l_long"; 2493 break; 2494 default: 2495 break; 2496 }; 2497 break; 2498 /* linux_alarm */ 2499 case 27: 2500 switch(ndx) { 2501 case 0: 2502 p = "l_uint"; 2503 break; 2504 default: 2505 break; 2506 }; 2507 break; 2508 /* linux_fstat */ 2509 case 28: 2510 switch(ndx) { 2511 case 0: 2512 p = "l_uint"; 2513 break; 2514 case 1: 2515 p = "struct linux_stat *"; 2516 break; 2517 default: 2518 break; 2519 }; 2520 break; 2521 /* linux_pause */ 2522 case 29: 2523 break; 2524 /* linux_utime */ 2525 case 30: 2526 switch(ndx) { 2527 case 0: 2528 p = "char *"; 2529 break; 2530 case 1: 2531 p = "struct l_utimbuf *"; 2532 break; 2533 default: 2534 break; 2535 }; 2536 break; 2537 /* linux_access */ 2538 case 33: 2539 switch(ndx) { 2540 case 0: 2541 p = "char *"; 2542 break; 2543 case 1: 2544 p = "l_int"; 2545 break; 2546 default: 2547 break; 2548 }; 2549 break; 2550 /* linux_nice */ 2551 case 34: 2552 switch(ndx) { 2553 case 0: 2554 p = "l_int"; 2555 break; 2556 default: 2557 break; 2558 }; 2559 break; 2560 /* sync */ 2561 case 36: 2562 break; 2563 /* linux_kill */ 2564 case 37: 2565 switch(ndx) { 2566 case 0: 2567 p = "l_int"; 2568 break; 2569 case 1: 2570 p = "l_int"; 2571 break; 2572 default: 2573 break; 2574 }; 2575 break; 2576 /* linux_rename */ 2577 case 38: 2578 switch(ndx) { 2579 case 0: 2580 p = "char *"; 2581 break; 2582 case 1: 2583 p = "char *"; 2584 break; 2585 default: 2586 break; 2587 }; 2588 break; 2589 /* linux_mkdir */ 2590 case 39: 2591 switch(ndx) { 2592 case 0: 2593 p = "char *"; 2594 break; 2595 case 1: 2596 p = "l_int"; 2597 break; 2598 default: 2599 break; 2600 }; 2601 break; 2602 /* linux_rmdir */ 2603 case 40: 2604 switch(ndx) { 2605 case 0: 2606 p = "char *"; 2607 break; 2608 default: 2609 break; 2610 }; 2611 break; 2612 /* dup */ 2613 case 41: 2614 switch(ndx) { 2615 case 0: 2616 p = "u_int"; 2617 break; 2618 default: 2619 break; 2620 }; 2621 break; 2622 /* linux_pipe */ 2623 case 42: 2624 switch(ndx) { 2625 case 0: 2626 p = "l_ulong *"; 2627 break; 2628 default: 2629 break; 2630 }; 2631 break; 2632 /* linux_times */ 2633 case 43: 2634 switch(ndx) { 2635 case 0: 2636 p = "struct l_times_argv *"; 2637 break; 2638 default: 2639 break; 2640 }; 2641 break; 2642 /* linux_brk */ 2643 case 45: 2644 switch(ndx) { 2645 case 0: 2646 p = "l_ulong"; 2647 break; 2648 default: 2649 break; 2650 }; 2651 break; 2652 /* linux_setgid16 */ 2653 case 46: 2654 switch(ndx) { 2655 case 0: 2656 p = "l_gid16_t"; 2657 break; 2658 default: 2659 break; 2660 }; 2661 break; 2662 /* linux_getgid16 */ 2663 case 47: 2664 break; 2665 /* linux_signal */ 2666 case 48: 2667 switch(ndx) { 2668 case 0: 2669 p = "l_int"; 2670 break; 2671 case 1: 2672 p = "void *"; 2673 break; 2674 default: 2675 break; 2676 }; 2677 break; 2678 /* linux_geteuid16 */ 2679 case 49: 2680 break; 2681 /* linux_getegid16 */ 2682 case 50: 2683 break; 2684 /* acct */ 2685 case 51: 2686 switch(ndx) { 2687 case 0: 2688 p = "char *"; 2689 break; 2690 default: 2691 break; 2692 }; 2693 break; 2694 /* linux_umount */ 2695 case 52: 2696 switch(ndx) { 2697 case 0: 2698 p = "char *"; 2699 break; 2700 case 1: 2701 p = "l_int"; 2702 break; 2703 default: 2704 break; 2705 }; 2706 break; 2707 /* linux_ioctl */ 2708 case 54: 2709 switch(ndx) { 2710 case 0: 2711 p = "l_uint"; 2712 break; 2713 case 1: 2714 p = "l_uint"; 2715 break; 2716 case 2: 2717 p = "l_ulong"; 2718 break; 2719 default: 2720 break; 2721 }; 2722 break; 2723 /* linux_fcntl */ 2724 case 55: 2725 switch(ndx) { 2726 case 0: 2727 p = "l_uint"; 2728 break; 2729 case 1: 2730 p = "l_uint"; 2731 break; 2732 case 2: 2733 p = "l_ulong"; 2734 break; 2735 default: 2736 break; 2737 }; 2738 break; 2739 /* setpgid */ 2740 case 57: 2741 switch(ndx) { 2742 case 0: 2743 p = "int"; 2744 break; 2745 case 1: 2746 p = "int"; 2747 break; 2748 default: 2749 break; 2750 }; 2751 break; 2752 /* linux_olduname */ 2753 case 59: 2754 break; 2755 /* umask */ 2756 case 60: 2757 switch(ndx) { 2758 case 0: 2759 p = "int"; 2760 break; 2761 default: 2762 break; 2763 }; 2764 break; 2765 /* chroot */ 2766 case 61: 2767 switch(ndx) { 2768 case 0: 2769 p = "char *"; 2770 break; 2771 default: 2772 break; 2773 }; 2774 break; 2775 /* linux_ustat */ 2776 case 62: 2777 switch(ndx) { 2778 case 0: 2779 p = "l_dev_t"; 2780 break; 2781 case 1: 2782 p = "struct l_ustat *"; 2783 break; 2784 default: 2785 break; 2786 }; 2787 break; 2788 /* dup2 */ 2789 case 63: 2790 switch(ndx) { 2791 case 0: 2792 p = "u_int"; 2793 break; 2794 case 1: 2795 p = "u_int"; 2796 break; 2797 default: 2798 break; 2799 }; 2800 break; 2801 /* linux_getppid */ 2802 case 64: 2803 break; 2804 /* getpgrp */ 2805 case 65: 2806 break; 2807 /* setsid */ 2808 case 66: 2809 break; 2810 /* linux_sigaction */ 2811 case 67: 2812 switch(ndx) { 2813 case 0: 2814 p = "l_int"; 2815 break; 2816 case 1: 2817 p = "l_osigaction_t *"; 2818 break; 2819 case 2: 2820 p = "l_osigaction_t *"; 2821 break; 2822 default: 2823 break; 2824 }; 2825 break; 2826 /* linux_sgetmask */ 2827 case 68: 2828 break; 2829 /* linux_ssetmask */ 2830 case 69: 2831 switch(ndx) { 2832 case 0: 2833 p = "l_osigset_t"; 2834 break; 2835 default: 2836 break; 2837 }; 2838 break; 2839 /* linux_setreuid16 */ 2840 case 70: 2841 switch(ndx) { 2842 case 0: 2843 p = "l_uid16_t"; 2844 break; 2845 case 1: 2846 p = "l_uid16_t"; 2847 break; 2848 default: 2849 break; 2850 }; 2851 break; 2852 /* linux_setregid16 */ 2853 case 71: 2854 switch(ndx) { 2855 case 0: 2856 p = "l_gid16_t"; 2857 break; 2858 case 1: 2859 p = "l_gid16_t"; 2860 break; 2861 default: 2862 break; 2863 }; 2864 break; 2865 /* linux_sigsuspend */ 2866 case 72: 2867 switch(ndx) { 2868 case 0: 2869 p = "l_int"; 2870 break; 2871 case 1: 2872 p = "l_int"; 2873 break; 2874 case 2: 2875 p = "l_osigset_t"; 2876 break; 2877 default: 2878 break; 2879 }; 2880 break; 2881 /* linux_sigpending */ 2882 case 73: 2883 switch(ndx) { 2884 case 0: 2885 p = "l_osigset_t *"; 2886 break; 2887 default: 2888 break; 2889 }; 2890 break; 2891 /* linux_sethostname */ 2892 case 74: 2893 switch(ndx) { 2894 case 0: 2895 p = "char *"; 2896 break; 2897 case 1: 2898 p = "u_int"; 2899 break; 2900 default: 2901 break; 2902 }; 2903 break; 2904 /* linux_setrlimit */ 2905 case 75: 2906 switch(ndx) { 2907 case 0: 2908 p = "l_uint"; 2909 break; 2910 case 1: 2911 p = "struct l_rlimit *"; 2912 break; 2913 default: 2914 break; 2915 }; 2916 break; 2917 /* linux_old_getrlimit */ 2918 case 76: 2919 switch(ndx) { 2920 case 0: 2921 p = "l_uint"; 2922 break; 2923 case 1: 2924 p = "struct l_rlimit *"; 2925 break; 2926 default: 2927 break; 2928 }; 2929 break; 2930 /* getrusage */ 2931 case 77: 2932 switch(ndx) { 2933 case 0: 2934 p = "int"; 2935 break; 2936 case 1: 2937 p = "struct rusage *"; 2938 break; 2939 default: 2940 break; 2941 }; 2942 break; 2943 /* gettimeofday */ 2944 case 78: 2945 switch(ndx) { 2946 case 0: 2947 p = "struct timeval *"; 2948 break; 2949 case 1: 2950 p = "struct timezone *"; 2951 break; 2952 default: 2953 break; 2954 }; 2955 break; 2956 /* settimeofday */ 2957 case 79: 2958 switch(ndx) { 2959 case 0: 2960 p = "struct timeval *"; 2961 break; 2962 case 1: 2963 p = "struct timezone *"; 2964 break; 2965 default: 2966 break; 2967 }; 2968 break; 2969 /* linux_getgroups16 */ 2970 case 80: 2971 switch(ndx) { 2972 case 0: 2973 p = "l_uint"; 2974 break; 2975 case 1: 2976 p = "l_gid16_t *"; 2977 break; 2978 default: 2979 break; 2980 }; 2981 break; 2982 /* linux_setgroups16 */ 2983 case 81: 2984 switch(ndx) { 2985 case 0: 2986 p = "l_uint"; 2987 break; 2988 case 1: 2989 p = "l_gid16_t *"; 2990 break; 2991 default: 2992 break; 2993 }; 2994 break; 2995 /* linux_old_select */ 2996 case 82: 2997 switch(ndx) { 2998 case 0: 2999 p = "struct l_old_select_argv *"; 3000 break; 3001 default: 3002 break; 3003 }; 3004 break; 3005 /* linux_symlink */ 3006 case 83: 3007 switch(ndx) { 3008 case 0: 3009 p = "char *"; 3010 break; 3011 case 1: 3012 p = "char *"; 3013 break; 3014 default: 3015 break; 3016 }; 3017 break; 3018 /* linux_lstat */ 3019 case 84: 3020 switch(ndx) { 3021 case 0: 3022 p = "char *"; 3023 break; 3024 case 1: 3025 p = "struct ostat *"; 3026 break; 3027 default: 3028 break; 3029 }; 3030 break; 3031 /* linux_readlink */ 3032 case 85: 3033 switch(ndx) { 3034 case 0: 3035 p = "char *"; 3036 break; 3037 case 1: 3038 p = "char *"; 3039 break; 3040 case 2: 3041 p = "l_int"; 3042 break; 3043 default: 3044 break; 3045 }; 3046 break; 3047 /* linux_uselib */ 3048 case 86: 3049 switch(ndx) { 3050 case 0: 3051 p = "char *"; 3052 break; 3053 default: 3054 break; 3055 }; 3056 break; 3057 /* swapon */ 3058 case 87: 3059 switch(ndx) { 3060 case 0: 3061 p = "char *"; 3062 break; 3063 default: 3064 break; 3065 }; 3066 break; 3067 /* linux_reboot */ 3068 case 88: 3069 switch(ndx) { 3070 case 0: 3071 p = "l_int"; 3072 break; 3073 case 1: 3074 p = "l_int"; 3075 break; 3076 case 2: 3077 p = "l_uint"; 3078 break; 3079 case 3: 3080 p = "void *"; 3081 break; 3082 default: 3083 break; 3084 }; 3085 break; 3086 /* linux_readdir */ 3087 case 89: 3088 switch(ndx) { 3089 case 0: 3090 p = "l_uint"; 3091 break; 3092 case 1: 3093 p = "struct l_dirent *"; 3094 break; 3095 case 2: 3096 p = "l_uint"; 3097 break; 3098 default: 3099 break; 3100 }; 3101 break; 3102 /* linux_mmap */ 3103 case 90: 3104 switch(ndx) { 3105 case 0: 3106 p = "struct l_mmap_argv *"; 3107 break; 3108 default: 3109 break; 3110 }; 3111 break; 3112 /* munmap */ 3113 case 91: 3114 switch(ndx) { 3115 case 0: 3116 p = "caddr_t"; 3117 break; 3118 case 1: 3119 p = "int"; 3120 break; 3121 default: 3122 break; 3123 }; 3124 break; 3125 /* linux_truncate */ 3126 case 92: 3127 switch(ndx) { 3128 case 0: 3129 p = "char *"; 3130 break; 3131 case 1: 3132 p = "l_ulong"; 3133 break; 3134 default: 3135 break; 3136 }; 3137 break; 3138 /* linux_ftruncate */ 3139 case 93: 3140 switch(ndx) { 3141 case 0: 3142 p = "int"; 3143 break; 3144 case 1: 3145 p = "long"; 3146 break; 3147 default: 3148 break; 3149 }; 3150 break; 3151 /* fchmod */ 3152 case 94: 3153 switch(ndx) { 3154 case 0: 3155 p = "int"; 3156 break; 3157 case 1: 3158 p = "int"; 3159 break; 3160 default: 3161 break; 3162 }; 3163 break; 3164 /* fchown */ 3165 case 95: 3166 switch(ndx) { 3167 case 0: 3168 p = "int"; 3169 break; 3170 case 1: 3171 p = "int"; 3172 break; 3173 case 2: 3174 p = "int"; 3175 break; 3176 default: 3177 break; 3178 }; 3179 break; 3180 /* linux_getpriority */ 3181 case 96: 3182 switch(ndx) { 3183 case 0: 3184 p = "int"; 3185 break; 3186 case 1: 3187 p = "int"; 3188 break; 3189 default: 3190 break; 3191 }; 3192 break; 3193 /* setpriority */ 3194 case 97: 3195 switch(ndx) { 3196 case 0: 3197 p = "int"; 3198 break; 3199 case 1: 3200 p = "int"; 3201 break; 3202 case 2: 3203 p = "int"; 3204 break; 3205 default: 3206 break; 3207 }; 3208 break; 3209 /* linux_statfs */ 3210 case 99: 3211 switch(ndx) { 3212 case 0: 3213 p = "char *"; 3214 break; 3215 case 1: 3216 p = "struct l_statfs_buf *"; 3217 break; 3218 default: 3219 break; 3220 }; 3221 break; 3222 /* linux_fstatfs */ 3223 case 100: 3224 switch(ndx) { 3225 case 0: 3226 p = "l_uint"; 3227 break; 3228 case 1: 3229 p = "struct l_statfs_buf *"; 3230 break; 3231 default: 3232 break; 3233 }; 3234 break; 3235 /* linux_ioperm */ 3236 case 101: 3237 switch(ndx) { 3238 case 0: 3239 p = "l_ulong"; 3240 break; 3241 case 1: 3242 p = "l_ulong"; 3243 break; 3244 case 2: 3245 p = "l_int"; 3246 break; 3247 default: 3248 break; 3249 }; 3250 break; 3251 /* linux_socketcall */ 3252 case 102: 3253 switch(ndx) { 3254 case 0: 3255 p = "l_int"; 3256 break; 3257 case 1: 3258 p = "l_ulong"; 3259 break; 3260 default: 3261 break; 3262 }; 3263 break; 3264 /* linux_syslog */ 3265 case 103: 3266 switch(ndx) { 3267 case 0: 3268 p = "l_int"; 3269 break; 3270 case 1: 3271 p = "char *"; 3272 break; 3273 case 2: 3274 p = "l_int"; 3275 break; 3276 default: 3277 break; 3278 }; 3279 break; 3280 /* linux_setitimer */ 3281 case 104: 3282 switch(ndx) { 3283 case 0: 3284 p = "l_int"; 3285 break; 3286 case 1: 3287 p = "struct l_itimerval *"; 3288 break; 3289 case 2: 3290 p = "struct l_itimerval *"; 3291 break; 3292 default: 3293 break; 3294 }; 3295 break; 3296 /* linux_getitimer */ 3297 case 105: 3298 switch(ndx) { 3299 case 0: 3300 p = "l_int"; 3301 break; 3302 case 1: 3303 p = "struct l_itimerval *"; 3304 break; 3305 default: 3306 break; 3307 }; 3308 break; 3309 /* linux_newstat */ 3310 case 106: 3311 switch(ndx) { 3312 case 0: 3313 p = "char *"; 3314 break; 3315 case 1: 3316 p = "struct l_newstat *"; 3317 break; 3318 default: 3319 break; 3320 }; 3321 break; 3322 /* linux_newlstat */ 3323 case 107: 3324 switch(ndx) { 3325 case 0: 3326 p = "char *"; 3327 break; 3328 case 1: 3329 p = "struct l_newstat *"; 3330 break; 3331 default: 3332 break; 3333 }; 3334 break; 3335 /* linux_newfstat */ 3336 case 108: 3337 switch(ndx) { 3338 case 0: 3339 p = "l_uint"; 3340 break; 3341 case 1: 3342 p = "struct l_newstat *"; 3343 break; 3344 default: 3345 break; 3346 }; 3347 break; 3348 /* linux_uname */ 3349 case 109: 3350 break; 3351 /* linux_iopl */ 3352 case 110: 3353 switch(ndx) { 3354 case 0: 3355 p = "l_ulong"; 3356 break; 3357 default: 3358 break; 3359 }; 3360 break; 3361 /* linux_vhangup */ 3362 case 111: 3363 break; 3364 /* linux_vm86old */ 3365 case 113: 3366 break; 3367 /* linux_wait4 */ 3368 case 114: 3369 switch(ndx) { 3370 case 0: 3371 p = "l_pid_t"; 3372 break; 3373 case 1: 3374 p = "l_uint *"; 3375 break; 3376 case 2: 3377 p = "l_int"; 3378 break; 3379 case 3: 3380 p = "struct l_rusage *"; 3381 break; 3382 default: 3383 break; 3384 }; 3385 break; 3386 /* linux_swapoff */ 3387 case 115: 3388 break; 3389 /* linux_sysinfo */ 3390 case 116: 3391 switch(ndx) { 3392 case 0: 3393 p = "struct l_sysinfo *"; 3394 break; 3395 default: 3396 break; 3397 }; 3398 break; 3399 /* linux_ipc */ 3400 case 117: 3401 switch(ndx) { 3402 case 0: 3403 p = "l_uint"; 3404 break; 3405 case 1: 3406 p = "l_int"; 3407 break; 3408 case 2: 3409 p = "l_int"; 3410 break; 3411 case 3: 3412 p = "l_int"; 3413 break; 3414 case 4: 3415 p = "void *"; 3416 break; 3417 case 5: 3418 p = "l_long"; 3419 break; 3420 default: 3421 break; 3422 }; 3423 break; 3424 /* fsync */ 3425 case 118: 3426 switch(ndx) { 3427 case 0: 3428 p = "int"; 3429 break; 3430 default: 3431 break; 3432 }; 3433 break; 3434 /* linux_sigreturn */ 3435 case 119: 3436 switch(ndx) { 3437 case 0: 3438 p = "struct l_sigframe *"; 3439 break; 3440 default: 3441 break; 3442 }; 3443 break; 3444 /* linux_clone */ 3445 case 120: 3446 switch(ndx) { 3447 case 0: 3448 p = "l_int"; 3449 break; 3450 case 1: 3451 p = "void *"; 3452 break; 3453 case 2: 3454 p = "void *"; 3455 break; 3456 case 3: 3457 p = "void *"; 3458 break; 3459 case 4: 3460 p = "void *"; 3461 break; 3462 default: 3463 break; 3464 }; 3465 break; 3466 /* linux_setdomainname */ 3467 case 121: 3468 switch(ndx) { 3469 case 0: 3470 p = "char *"; 3471 break; 3472 case 1: 3473 p = "int"; 3474 break; 3475 default: 3476 break; 3477 }; 3478 break; 3479 /* linux_newuname */ 3480 case 122: 3481 switch(ndx) { 3482 case 0: 3483 p = "struct l_new_utsname *"; 3484 break; 3485 default: 3486 break; 3487 }; 3488 break; 3489 /* linux_modify_ldt */ 3490 case 123: 3491 switch(ndx) { 3492 case 0: 3493 p = "l_int"; 3494 break; 3495 case 1: 3496 p = "void *"; 3497 break; 3498 case 2: 3499 p = "l_ulong"; 3500 break; 3501 default: 3502 break; 3503 }; 3504 break; 3505 /* linux_adjtimex */ 3506 case 124: 3507 break; 3508 /* linux_mprotect */ 3509 case 125: 3510 switch(ndx) { 3511 case 0: 3512 p = "caddr_t"; 3513 break; 3514 case 1: 3515 p = "int"; 3516 break; 3517 case 2: 3518 p = "int"; 3519 break; 3520 default: 3521 break; 3522 }; 3523 break; 3524 /* linux_sigprocmask */ 3525 case 126: 3526 switch(ndx) { 3527 case 0: 3528 p = "l_int"; 3529 break; 3530 case 1: 3531 p = "l_osigset_t *"; 3532 break; 3533 case 2: 3534 p = "l_osigset_t *"; 3535 break; 3536 default: 3537 break; 3538 }; 3539 break; 3540 /* linux_create_module */ 3541 case 127: 3542 break; 3543 /* linux_init_module */ 3544 case 128: 3545 break; 3546 /* linux_delete_module */ 3547 case 129: 3548 break; 3549 /* linux_get_kernel_syms */ 3550 case 130: 3551 break; 3552 /* linux_quotactl */ 3553 case 131: 3554 break; 3555 /* getpgid */ 3556 case 132: 3557 switch(ndx) { 3558 case 0: 3559 p = "int"; 3560 break; 3561 default: 3562 break; 3563 }; 3564 break; 3565 /* fchdir */ 3566 case 133: 3567 switch(ndx) { 3568 case 0: 3569 p = "int"; 3570 break; 3571 default: 3572 break; 3573 }; 3574 break; 3575 /* linux_bdflush */ 3576 case 134: 3577 break; 3578 /* linux_sysfs */ 3579 case 135: 3580 switch(ndx) { 3581 case 0: 3582 p = "l_int"; 3583 break; 3584 case 1: 3585 p = "l_ulong"; 3586 break; 3587 case 2: 3588 p = "l_ulong"; 3589 break; 3590 default: 3591 break; 3592 }; 3593 break; 3594 /* linux_personality */ 3595 case 136: 3596 switch(ndx) { 3597 case 0: 3598 p = "l_ulong"; 3599 break; 3600 default: 3601 break; 3602 }; 3603 break; 3604 /* linux_setfsuid16 */ 3605 case 138: 3606 switch(ndx) { 3607 case 0: 3608 p = "l_uid16_t"; 3609 break; 3610 default: 3611 break; 3612 }; 3613 break; 3614 /* linux_setfsgid16 */ 3615 case 139: 3616 switch(ndx) { 3617 case 0: 3618 p = "l_gid16_t"; 3619 break; 3620 default: 3621 break; 3622 }; 3623 break; 3624 /* linux_llseek */ 3625 case 140: 3626 switch(ndx) { 3627 case 0: 3628 p = "l_int"; 3629 break; 3630 case 1: 3631 p = "l_ulong"; 3632 break; 3633 case 2: 3634 p = "l_ulong"; 3635 break; 3636 case 3: 3637 p = "l_loff_t *"; 3638 break; 3639 case 4: 3640 p = "l_uint"; 3641 break; 3642 default: 3643 break; 3644 }; 3645 break; 3646 /* linux_getdents */ 3647 case 141: 3648 switch(ndx) { 3649 case 0: 3650 p = "l_uint"; 3651 break; 3652 case 1: 3653 p = "void *"; 3654 break; 3655 case 2: 3656 p = "l_uint"; 3657 break; 3658 default: 3659 break; 3660 }; 3661 break; 3662 /* linux_select */ 3663 case 142: 3664 switch(ndx) { 3665 case 0: 3666 p = "l_int"; 3667 break; 3668 case 1: 3669 p = "l_fd_set *"; 3670 break; 3671 case 2: 3672 p = "l_fd_set *"; 3673 break; 3674 case 3: 3675 p = "l_fd_set *"; 3676 break; 3677 case 4: 3678 p = "struct l_timeval *"; 3679 break; 3680 default: 3681 break; 3682 }; 3683 break; 3684 /* flock */ 3685 case 143: 3686 switch(ndx) { 3687 case 0: 3688 p = "int"; 3689 break; 3690 case 1: 3691 p = "int"; 3692 break; 3693 default: 3694 break; 3695 }; 3696 break; 3697 /* linux_msync */ 3698 case 144: 3699 switch(ndx) { 3700 case 0: 3701 p = "l_ulong"; 3702 break; 3703 case 1: 3704 p = "l_size_t"; 3705 break; 3706 case 2: 3707 p = "l_int"; 3708 break; 3709 default: 3710 break; 3711 }; 3712 break; 3713 /* readv */ 3714 case 145: 3715 switch(ndx) { 3716 case 0: 3717 p = "int"; 3718 break; 3719 case 1: 3720 p = "struct iovec *"; 3721 break; 3722 case 2: 3723 p = "u_int"; 3724 break; 3725 default: 3726 break; 3727 }; 3728 break; 3729 /* writev */ 3730 case 146: 3731 switch(ndx) { 3732 case 0: 3733 p = "int"; 3734 break; 3735 case 1: 3736 p = "struct iovec *"; 3737 break; 3738 case 2: 3739 p = "u_int"; 3740 break; 3741 default: 3742 break; 3743 }; 3744 break; 3745 /* linux_getsid */ 3746 case 147: 3747 switch(ndx) { 3748 case 0: 3749 p = "l_pid_t"; 3750 break; 3751 default: 3752 break; 3753 }; 3754 break; 3755 /* linux_fdatasync */ 3756 case 148: 3757 switch(ndx) { 3758 case 0: 3759 p = "l_uint"; 3760 break; 3761 default: 3762 break; 3763 }; 3764 break; 3765 /* linux_sysctl */ 3766 case 149: 3767 switch(ndx) { 3768 case 0: 3769 p = "struct l___sysctl_args *"; 3770 break; 3771 default: 3772 break; 3773 }; 3774 break; 3775 /* mlock */ 3776 case 150: 3777 switch(ndx) { 3778 case 0: 3779 p = "const void *"; 3780 break; 3781 case 1: 3782 p = "size_t"; 3783 break; 3784 default: 3785 break; 3786 }; 3787 break; 3788 /* munlock */ 3789 case 151: 3790 switch(ndx) { 3791 case 0: 3792 p = "const void *"; 3793 break; 3794 case 1: 3795 p = "size_t"; 3796 break; 3797 default: 3798 break; 3799 }; 3800 break; 3801 /* mlockall */ 3802 case 152: 3803 switch(ndx) { 3804 case 0: 3805 p = "int"; 3806 break; 3807 default: 3808 break; 3809 }; 3810 break; 3811 /* munlockall */ 3812 case 153: 3813 break; 3814 /* sched_setparam */ 3815 case 154: 3816 switch(ndx) { 3817 case 0: 3818 p = "pid_t"; 3819 break; 3820 case 1: 3821 p = "const struct sched_param *"; 3822 break; 3823 default: 3824 break; 3825 }; 3826 break; 3827 /* sched_getparam */ 3828 case 155: 3829 switch(ndx) { 3830 case 0: 3831 p = "pid_t"; 3832 break; 3833 case 1: 3834 p = "struct sched_param *"; 3835 break; 3836 default: 3837 break; 3838 }; 3839 break; 3840 /* linux_sched_setscheduler */ 3841 case 156: 3842 switch(ndx) { 3843 case 0: 3844 p = "l_pid_t"; 3845 break; 3846 case 1: 3847 p = "l_int"; 3848 break; 3849 case 2: 3850 p = "struct l_sched_param *"; 3851 break; 3852 default: 3853 break; 3854 }; 3855 break; 3856 /* linux_sched_getscheduler */ 3857 case 157: 3858 switch(ndx) { 3859 case 0: 3860 p = "l_pid_t"; 3861 break; 3862 default: 3863 break; 3864 }; 3865 break; 3866 /* sched_yield */ 3867 case 158: 3868 break; 3869 /* linux_sched_get_priority_max */ 3870 case 159: 3871 switch(ndx) { 3872 case 0: 3873 p = "l_int"; 3874 break; 3875 default: 3876 break; 3877 }; 3878 break; 3879 /* linux_sched_get_priority_min */ 3880 case 160: 3881 switch(ndx) { 3882 case 0: 3883 p = "l_int"; 3884 break; 3885 default: 3886 break; 3887 }; 3888 break; 3889 /* sched_rr_get_interval */ 3890 case 161: 3891 switch(ndx) { 3892 case 0: 3893 p = "l_pid_t"; 3894 break; 3895 case 1: 3896 p = "struct l_timespec *"; 3897 break; 3898 default: 3899 break; 3900 }; 3901 break; 3902 /* linux_nanosleep */ 3903 case 162: 3904 switch(ndx) { 3905 case 0: 3906 p = "const struct l_timespec *"; 3907 break; 3908 case 1: 3909 p = "struct l_timespec *"; 3910 break; 3911 default: 3912 break; 3913 }; 3914 break; 3915 /* linux_mremap */ 3916 case 163: 3917 switch(ndx) { 3918 case 0: 3919 p = "l_ulong"; 3920 break; 3921 case 1: 3922 p = "l_ulong"; 3923 break; 3924 case 2: 3925 p = "l_ulong"; 3926 break; 3927 case 3: 3928 p = "l_ulong"; 3929 break; 3930 case 4: 3931 p = "l_ulong"; 3932 break; 3933 default: 3934 break; 3935 }; 3936 break; 3937 /* linux_setresuid16 */ 3938 case 164: 3939 switch(ndx) { 3940 case 0: 3941 p = "l_uid16_t"; 3942 break; 3943 case 1: 3944 p = "l_uid16_t"; 3945 break; 3946 case 2: 3947 p = "l_uid16_t"; 3948 break; 3949 default: 3950 break; 3951 }; 3952 break; 3953 /* linux_getresuid16 */ 3954 case 165: 3955 switch(ndx) { 3956 case 0: 3957 p = "l_uid16_t *"; 3958 break; 3959 case 1: 3960 p = "l_uid16_t *"; 3961 break; 3962 case 2: 3963 p = "l_uid16_t *"; 3964 break; 3965 default: 3966 break; 3967 }; 3968 break; 3969 /* linux_vm86 */ 3970 case 166: 3971 break; 3972 /* linux_query_module */ 3973 case 167: 3974 break; 3975 /* poll */ 3976 case 168: 3977 switch(ndx) { 3978 case 0: 3979 p = "struct pollfd *"; 3980 break; 3981 case 1: 3982 p = "unsigned int"; 3983 break; 3984 case 2: 3985 p = "long"; 3986 break; 3987 default: 3988 break; 3989 }; 3990 break; 3991 /* linux_nfsservctl */ 3992 case 169: 3993 break; 3994 /* linux_setresgid16 */ 3995 case 170: 3996 switch(ndx) { 3997 case 0: 3998 p = "l_gid16_t"; 3999 break; 4000 case 1: 4001 p = "l_gid16_t"; 4002 break; 4003 case 2: 4004 p = "l_gid16_t"; 4005 break; 4006 default: 4007 break; 4008 }; 4009 break; 4010 /* linux_getresgid16 */ 4011 case 171: 4012 switch(ndx) { 4013 case 0: 4014 p = "l_gid16_t *"; 4015 break; 4016 case 1: 4017 p = "l_gid16_t *"; 4018 break; 4019 case 2: 4020 p = "l_gid16_t *"; 4021 break; 4022 default: 4023 break; 4024 }; 4025 break; 4026 /* linux_prctl */ 4027 case 172: 4028 switch(ndx) { 4029 case 0: 4030 p = "l_int"; 4031 break; 4032 case 1: 4033 p = "l_int"; 4034 break; 4035 case 2: 4036 p = "l_int"; 4037 break; 4038 case 3: 4039 p = "l_int"; 4040 break; 4041 case 4: 4042 p = "l_int"; 4043 break; 4044 default: 4045 break; 4046 }; 4047 break; 4048 /* linux_rt_sigreturn */ 4049 case 173: 4050 switch(ndx) { 4051 case 0: 4052 p = "struct l_ucontext *"; 4053 break; 4054 default: 4055 break; 4056 }; 4057 break; 4058 /* linux_rt_sigaction */ 4059 case 174: 4060 switch(ndx) { 4061 case 0: 4062 p = "l_int"; 4063 break; 4064 case 1: 4065 p = "l_sigaction_t *"; 4066 break; 4067 case 2: 4068 p = "l_sigaction_t *"; 4069 break; 4070 case 3: 4071 p = "l_size_t"; 4072 break; 4073 default: 4074 break; 4075 }; 4076 break; 4077 /* linux_rt_sigprocmask */ 4078 case 175: 4079 switch(ndx) { 4080 case 0: 4081 p = "l_int"; 4082 break; 4083 case 1: 4084 p = "l_sigset_t *"; 4085 break; 4086 case 2: 4087 p = "l_sigset_t *"; 4088 break; 4089 case 3: 4090 p = "l_size_t"; 4091 break; 4092 default: 4093 break; 4094 }; 4095 break; 4096 /* linux_rt_sigpending */ 4097 case 176: 4098 switch(ndx) { 4099 case 0: 4100 p = "l_sigset_t *"; 4101 break; 4102 case 1: 4103 p = "l_size_t"; 4104 break; 4105 default: 4106 break; 4107 }; 4108 break; 4109 /* linux_rt_sigtimedwait */ 4110 case 177: 4111 switch(ndx) { 4112 case 0: 4113 p = "l_sigset_t *"; 4114 break; 4115 case 1: 4116 p = "l_siginfo_t *"; 4117 break; 4118 case 2: 4119 p = "struct l_timeval *"; 4120 break; 4121 case 3: 4122 p = "l_size_t"; 4123 break; 4124 default: 4125 break; 4126 }; 4127 break; 4128 /* linux_rt_sigqueueinfo */ 4129 case 178: 4130 break; 4131 /* linux_rt_sigsuspend */ 4132 case 179: 4133 switch(ndx) { 4134 case 0: 4135 p = "l_sigset_t *"; 4136 break; 4137 case 1: 4138 p = "l_size_t"; 4139 break; 4140 default: 4141 break; 4142 }; 4143 break; 4144 /* linux_pread */ 4145 case 180: 4146 switch(ndx) { 4147 case 0: 4148 p = "l_uint"; 4149 break; 4150 case 1: 4151 p = "char *"; 4152 break; 4153 case 2: 4154 p = "l_size_t"; 4155 break; 4156 case 3: 4157 p = "l_loff_t"; 4158 break; 4159 default: 4160 break; 4161 }; 4162 break; 4163 /* linux_pwrite */ 4164 case 181: 4165 switch(ndx) { 4166 case 0: 4167 p = "l_uint"; 4168 break; 4169 case 1: 4170 p = "char *"; 4171 break; 4172 case 2: 4173 p = "l_size_t"; 4174 break; 4175 case 3: 4176 p = "l_loff_t"; 4177 break; 4178 default: 4179 break; 4180 }; 4181 break; 4182 /* linux_chown16 */ 4183 case 182: 4184 switch(ndx) { 4185 case 0: 4186 p = "char *"; 4187 break; 4188 case 1: 4189 p = "l_uid16_t"; 4190 break; 4191 case 2: 4192 p = "l_gid16_t"; 4193 break; 4194 default: 4195 break; 4196 }; 4197 break; 4198 /* linux_getcwd */ 4199 case 183: 4200 switch(ndx) { 4201 case 0: 4202 p = "char *"; 4203 break; 4204 case 1: 4205 p = "l_ulong"; 4206 break; 4207 default: 4208 break; 4209 }; 4210 break; 4211 /* linux_capget */ 4212 case 184: 4213 switch(ndx) { 4214 case 0: 4215 p = "struct l_user_cap_header *"; 4216 break; 4217 case 1: 4218 p = "struct l_user_cap_data *"; 4219 break; 4220 default: 4221 break; 4222 }; 4223 break; 4224 /* linux_capset */ 4225 case 185: 4226 switch(ndx) { 4227 case 0: 4228 p = "struct l_user_cap_header *"; 4229 break; 4230 case 1: 4231 p = "struct l_user_cap_data *"; 4232 break; 4233 default: 4234 break; 4235 }; 4236 break; 4237 /* linux_sigaltstack */ 4238 case 186: 4239 switch(ndx) { 4240 case 0: 4241 p = "l_stack_t *"; 4242 break; 4243 case 1: 4244 p = "l_stack_t *"; 4245 break; 4246 default: 4247 break; 4248 }; 4249 break; 4250 /* linux_sendfile */ 4251 case 187: 4252 break; 4253 /* linux_vfork */ 4254 case 190: 4255 break; 4256 /* linux_getrlimit */ 4257 case 191: 4258 switch(ndx) { 4259 case 0: 4260 p = "l_uint"; 4261 break; 4262 case 1: 4263 p = "struct l_rlimit *"; 4264 break; 4265 default: 4266 break; 4267 }; 4268 break; 4269 /* linux_mmap2 */ 4270 case 192: 4271 switch(ndx) { 4272 case 0: 4273 p = "l_ulong"; 4274 break; 4275 case 1: 4276 p = "l_ulong"; 4277 break; 4278 case 2: 4279 p = "l_ulong"; 4280 break; 4281 case 3: 4282 p = "l_ulong"; 4283 break; 4284 case 4: 4285 p = "l_ulong"; 4286 break; 4287 case 5: 4288 p = "l_ulong"; 4289 break; 4290 default: 4291 break; 4292 }; 4293 break; 4294 /* linux_truncate64 */ 4295 case 193: 4296 switch(ndx) { 4297 case 0: 4298 p = "char *"; 4299 break; 4300 case 1: 4301 p = "l_loff_t"; 4302 break; 4303 default: 4304 break; 4305 }; 4306 break; 4307 /* linux_ftruncate64 */ 4308 case 194: 4309 switch(ndx) { 4310 case 0: 4311 p = "l_uint"; 4312 break; 4313 case 1: 4314 p = "l_loff_t"; 4315 break; 4316 default: 4317 break; 4318 }; 4319 break; 4320 /* linux_stat64 */ 4321 case 195: 4322 switch(ndx) { 4323 case 0: 4324 p = "char *"; 4325 break; 4326 case 1: 4327 p = "struct l_stat64 *"; 4328 break; 4329 case 2: 4330 p = "l_long"; 4331 break; 4332 default: 4333 break; 4334 }; 4335 break; 4336 /* linux_lstat64 */ 4337 case 196: 4338 switch(ndx) { 4339 case 0: 4340 p = "char *"; 4341 break; 4342 case 1: 4343 p = "struct l_stat64 *"; 4344 break; 4345 case 2: 4346 p = "l_long"; 4347 break; 4348 default: 4349 break; 4350 }; 4351 break; 4352 /* linux_fstat64 */ 4353 case 197: 4354 switch(ndx) { 4355 case 0: 4356 p = "l_ulong"; 4357 break; 4358 case 1: 4359 p = "struct l_stat64 *"; 4360 break; 4361 case 2: 4362 p = "l_long"; 4363 break; 4364 default: 4365 break; 4366 }; 4367 break; 4368 /* linux_lchown */ 4369 case 198: 4370 switch(ndx) { 4371 case 0: 4372 p = "char *"; 4373 break; 4374 case 1: 4375 p = "l_uid_t"; 4376 break; 4377 case 2: 4378 p = "l_gid_t"; 4379 break; 4380 default: 4381 break; 4382 }; 4383 break; 4384 /* linux_getuid */ 4385 case 199: 4386 break; 4387 /* linux_getgid */ 4388 case 200: 4389 break; 4390 /* geteuid */ 4391 case 201: 4392 break; 4393 /* getegid */ 4394 case 202: 4395 break; 4396 /* setreuid */ 4397 case 203: 4398 switch(ndx) { 4399 case 0: 4400 p = "uid_t"; 4401 break; 4402 case 1: 4403 p = "uid_t"; 4404 break; 4405 default: 4406 break; 4407 }; 4408 break; 4409 /* setregid */ 4410 case 204: 4411 switch(ndx) { 4412 case 0: 4413 p = "gid_t"; 4414 break; 4415 case 1: 4416 p = "gid_t"; 4417 break; 4418 default: 4419 break; 4420 }; 4421 break; 4422 /* linux_getgroups */ 4423 case 205: 4424 switch(ndx) { 4425 case 0: 4426 p = "l_int"; 4427 break; 4428 case 1: 4429 p = "l_gid_t *"; 4430 break; 4431 default: 4432 break; 4433 }; 4434 break; 4435 /* linux_setgroups */ 4436 case 206: 4437 switch(ndx) { 4438 case 0: 4439 p = "l_int"; 4440 break; 4441 case 1: 4442 p = "l_gid_t *"; 4443 break; 4444 default: 4445 break; 4446 }; 4447 break; 4448 /* fchown */ 4449 case 207: 4450 break; 4451 /* setresuid */ 4452 case 208: 4453 switch(ndx) { 4454 case 0: 4455 p = "uid_t"; 4456 break; 4457 case 1: 4458 p = "uid_t"; 4459 break; 4460 case 2: 4461 p = "uid_t"; 4462 break; 4463 default: 4464 break; 4465 }; 4466 break; 4467 /* getresuid */ 4468 case 209: 4469 switch(ndx) { 4470 case 0: 4471 p = "uid_t *"; 4472 break; 4473 case 1: 4474 p = "uid_t *"; 4475 break; 4476 case 2: 4477 p = "uid_t *"; 4478 break; 4479 default: 4480 break; 4481 }; 4482 break; 4483 /* setresgid */ 4484 case 210: 4485 switch(ndx) { 4486 case 0: 4487 p = "gid_t"; 4488 break; 4489 case 1: 4490 p = "gid_t"; 4491 break; 4492 case 2: 4493 p = "gid_t"; 4494 break; 4495 default: 4496 break; 4497 }; 4498 break; 4499 /* getresgid */ 4500 case 211: 4501 switch(ndx) { 4502 case 0: 4503 p = "gid_t *"; 4504 break; 4505 case 1: 4506 p = "gid_t *"; 4507 break; 4508 case 2: 4509 p = "gid_t *"; 4510 break; 4511 default: 4512 break; 4513 }; 4514 break; 4515 /* linux_chown */ 4516 case 212: 4517 switch(ndx) { 4518 case 0: 4519 p = "char *"; 4520 break; 4521 case 1: 4522 p = "l_uid_t"; 4523 break; 4524 case 2: 4525 p = "l_gid_t"; 4526 break; 4527 default: 4528 break; 4529 }; 4530 break; 4531 /* setuid */ 4532 case 213: 4533 switch(ndx) { 4534 case 0: 4535 p = "uid_t"; 4536 break; 4537 default: 4538 break; 4539 }; 4540 break; 4541 /* setgid */ 4542 case 214: 4543 switch(ndx) { 4544 case 0: 4545 p = "gid_t"; 4546 break; 4547 default: 4548 break; 4549 }; 4550 break; 4551 /* linux_setfsuid */ 4552 case 215: 4553 switch(ndx) { 4554 case 0: 4555 p = "l_uid_t"; 4556 break; 4557 default: 4558 break; 4559 }; 4560 break; 4561 /* linux_setfsgid */ 4562 case 216: 4563 switch(ndx) { 4564 case 0: 4565 p = "l_gid_t"; 4566 break; 4567 default: 4568 break; 4569 }; 4570 break; 4571 /* linux_pivot_root */ 4572 case 217: 4573 switch(ndx) { 4574 case 0: 4575 p = "char *"; 4576 break; 4577 case 1: 4578 p = "char *"; 4579 break; 4580 default: 4581 break; 4582 }; 4583 break; 4584 /* linux_mincore */ 4585 case 218: 4586 switch(ndx) { 4587 case 0: 4588 p = "l_ulong"; 4589 break; 4590 case 1: 4591 p = "l_size_t"; 4592 break; 4593 case 2: 4594 p = "u_char *"; 4595 break; 4596 default: 4597 break; 4598 }; 4599 break; 4600 /* madvise */ 4601 case 219: 4602 switch(ndx) { 4603 case 0: 4604 p = "void *"; 4605 break; 4606 case 1: 4607 p = "size_t"; 4608 break; 4609 case 2: 4610 p = "int"; 4611 break; 4612 default: 4613 break; 4614 }; 4615 break; 4616 /* linux_getdents64 */ 4617 case 220: 4618 switch(ndx) { 4619 case 0: 4620 p = "l_uint"; 4621 break; 4622 case 1: 4623 p = "void *"; 4624 break; 4625 case 2: 4626 p = "l_uint"; 4627 break; 4628 default: 4629 break; 4630 }; 4631 break; 4632 /* linux_fcntl64 */ 4633 case 221: 4634 switch(ndx) { 4635 case 0: 4636 p = "l_uint"; 4637 break; 4638 case 1: 4639 p = "l_uint"; 4640 break; 4641 case 2: 4642 p = "l_ulong"; 4643 break; 4644 default: 4645 break; 4646 }; 4647 break; 4648 /* linux_gettid */ 4649 case 224: 4650 break; 4651 /* linux_setxattr */ 4652 case 226: 4653 break; 4654 /* linux_lsetxattr */ 4655 case 227: 4656 break; 4657 /* linux_fsetxattr */ 4658 case 228: 4659 break; 4660 /* linux_getxattr */ 4661 case 229: 4662 break; 4663 /* linux_lgetxattr */ 4664 case 230: 4665 break; 4666 /* linux_fgetxattr */ 4667 case 231: 4668 break; 4669 /* linux_listxattr */ 4670 case 232: 4671 break; 4672 /* linux_llistxattr */ 4673 case 233: 4674 break; 4675 /* linux_flistxattr */ 4676 case 234: 4677 break; 4678 /* linux_removexattr */ 4679 case 235: 4680 break; 4681 /* linux_lremovexattr */ 4682 case 236: 4683 break; 4684 /* linux_fremovexattr */ 4685 case 237: 4686 break; 4687 /* linux_tkill */ 4688 case 238: 4689 switch(ndx) { 4690 case 0: 4691 p = "int"; 4692 break; 4693 case 1: 4694 p = "int"; 4695 break; 4696 default: 4697 break; 4698 }; 4699 break; 4700 /* linux_sys_futex */ 4701 case 240: 4702 switch(ndx) { 4703 case 0: 4704 p = "void *"; 4705 break; 4706 case 1: 4707 p = "int"; 4708 break; 4709 case 2: 4710 p = "uint32_t"; 4711 break; 4712 case 3: 4713 p = "struct l_timespec *"; 4714 break; 4715 case 4: 4716 p = "uint32_t *"; 4717 break; 4718 case 5: 4719 p = "uint32_t"; 4720 break; 4721 default: 4722 break; 4723 }; 4724 break; 4725 /* linux_sched_setaffinity */ 4726 case 241: 4727 switch(ndx) { 4728 case 0: 4729 p = "l_pid_t"; 4730 break; 4731 case 1: 4732 p = "l_uint"; 4733 break; 4734 case 2: 4735 p = "l_ulong *"; 4736 break; 4737 default: 4738 break; 4739 }; 4740 break; 4741 /* linux_sched_getaffinity */ 4742 case 242: 4743 switch(ndx) { 4744 case 0: 4745 p = "l_pid_t"; 4746 break; 4747 case 1: 4748 p = "l_uint"; 4749 break; 4750 case 2: 4751 p = "l_ulong *"; 4752 break; 4753 default: 4754 break; 4755 }; 4756 break; 4757 /* linux_set_thread_area */ 4758 case 243: 4759 switch(ndx) { 4760 case 0: 4761 p = "struct l_user_desc *"; 4762 break; 4763 default: 4764 break; 4765 }; 4766 break; 4767 /* linux_get_thread_area */ 4768 case 244: 4769 switch(ndx) { 4770 case 0: 4771 p = "struct l_user_desc *"; 4772 break; 4773 default: 4774 break; 4775 }; 4776 break; 4777 /* linux_fadvise64 */ 4778 case 250: 4779 break; 4780 /* linux_exit_group */ 4781 case 252: 4782 switch(ndx) { 4783 case 0: 4784 p = "int"; 4785 break; 4786 default: 4787 break; 4788 }; 4789 break; 4790 /* linux_lookup_dcookie */ 4791 case 253: 4792 break; 4793 /* linux_epoll_create */ 4794 case 254: 4795 break; 4796 /* linux_epoll_ctl */ 4797 case 255: 4798 break; 4799 /* linux_epoll_wait */ 4800 case 256: 4801 break; 4802 /* linux_remap_file_pages */ 4803 case 257: 4804 break; 4805 /* linux_set_tid_address */ 4806 case 258: 4807 switch(ndx) { 4808 case 0: 4809 p = "int *"; 4810 break; 4811 default: 4812 break; 4813 }; 4814 break; 4815 /* linux_timer_create */ 4816 case 259: 4817 switch(ndx) { 4818 case 0: 4819 p = "clockid_t"; 4820 break; 4821 case 1: 4822 p = "struct sigevent *"; 4823 break; 4824 case 2: 4825 p = "l_timer_t *"; 4826 break; 4827 default: 4828 break; 4829 }; 4830 break; 4831 /* linux_timer_settime */ 4832 case 260: 4833 switch(ndx) { 4834 case 0: 4835 p = "l_timer_t"; 4836 break; 4837 case 1: 4838 p = "const struct itimerspec *"; 4839 break; 4840 case 2: 4841 p = "struct itimerspec *"; 4842 break; 4843 default: 4844 break; 4845 }; 4846 break; 4847 /* linux_timer_gettime */ 4848 case 261: 4849 switch(ndx) { 4850 case 0: 4851 p = "l_timer_t"; 4852 break; 4853 case 1: 4854 p = "struct itimerspec *"; 4855 break; 4856 default: 4857 break; 4858 }; 4859 break; 4860 /* linux_timer_getoverrun */ 4861 case 262: 4862 switch(ndx) { 4863 case 0: 4864 p = "l_timer_t"; 4865 break; 4866 default: 4867 break; 4868 }; 4869 break; 4870 /* linux_timer_delete */ 4871 case 263: 4872 switch(ndx) { 4873 case 0: 4874 p = "l_timer_t"; 4875 break; 4876 default: 4877 break; 4878 }; 4879 break; 4880 /* linux_clock_settime */ 4881 case 264: 4882 switch(ndx) { 4883 case 0: 4884 p = "clockid_t"; 4885 break; 4886 case 1: 4887 p = "struct l_timespec *"; 4888 break; 4889 default: 4890 break; 4891 }; 4892 break; 4893 /* linux_clock_gettime */ 4894 case 265: 4895 switch(ndx) { 4896 case 0: 4897 p = "clockid_t"; 4898 break; 4899 case 1: 4900 p = "struct l_timespec *"; 4901 break; 4902 default: 4903 break; 4904 }; 4905 break; 4906 /* linux_clock_getres */ 4907 case 266: 4908 switch(ndx) { 4909 case 0: 4910 p = "clockid_t"; 4911 break; 4912 case 1: 4913 p = "struct l_timespec *"; 4914 break; 4915 default: 4916 break; 4917 }; 4918 break; 4919 /* linux_clock_nanosleep */ 4920 case 267: 4921 switch(ndx) { 4922 case 0: 4923 p = "clockid_t"; 4924 break; 4925 case 1: 4926 p = "int"; 4927 break; 4928 case 2: 4929 p = "struct l_timespec *"; 4930 break; 4931 case 3: 4932 p = "struct l_timespec *"; 4933 break; 4934 default: 4935 break; 4936 }; 4937 break; 4938 /* linux_statfs64 */ 4939 case 268: 4940 switch(ndx) { 4941 case 0: 4942 p = "char *"; 4943 break; 4944 case 1: 4945 p = "size_t"; 4946 break; 4947 case 2: 4948 p = "struct l_statfs64_buf *"; 4949 break; 4950 default: 4951 break; 4952 }; 4953 break; 4954 /* linux_fstatfs64 */ 4955 case 269: 4956 break; 4957 /* linux_tgkill */ 4958 case 270: 4959 switch(ndx) { 4960 case 0: 4961 p = "int"; 4962 break; 4963 case 1: 4964 p = "int"; 4965 break; 4966 case 2: 4967 p = "int"; 4968 break; 4969 default: 4970 break; 4971 }; 4972 break; 4973 /* linux_utimes */ 4974 case 271: 4975 switch(ndx) { 4976 case 0: 4977 p = "char *"; 4978 break; 4979 case 1: 4980 p = "struct l_timeval *"; 4981 break; 4982 default: 4983 break; 4984 }; 4985 break; 4986 /* linux_fadvise64_64 */ 4987 case 272: 4988 break; 4989 /* linux_mbind */ 4990 case 274: 4991 break; 4992 /* linux_get_mempolicy */ 4993 case 275: 4994 break; 4995 /* linux_set_mempolicy */ 4996 case 276: 4997 break; 4998 /* linux_mq_open */ 4999 case 277: 5000 switch(ndx) { 5001 case 0: 5002 p = "const char *"; 5003 break; 5004 case 1: 5005 p = "int"; 5006 break; 5007 case 2: 5008 p = "mode_t"; 5009 break; 5010 case 3: 5011 p = "struct mq_attr *"; 5012 break; 5013 default: 5014 break; 5015 }; 5016 break; 5017 /* linux_mq_unlink */ 5018 case 278: 5019 switch(ndx) { 5020 case 0: 5021 p = "const char *"; 5022 break; 5023 default: 5024 break; 5025 }; 5026 break; 5027 /* linux_mq_timedsend */ 5028 case 279: 5029 switch(ndx) { 5030 case 0: 5031 p = "l_mqd_t"; 5032 break; 5033 case 1: 5034 p = "const char *"; 5035 break; 5036 case 2: 5037 p = "size_t"; 5038 break; 5039 case 3: 5040 p = "unsigned int"; 5041 break; 5042 case 4: 5043 p = "const struct l_timespec *"; 5044 break; 5045 default: 5046 break; 5047 }; 5048 break; 5049 /* linux_mq_timedreceive */ 5050 case 280: 5051 switch(ndx) { 5052 case 0: 5053 p = "l_mqd_t"; 5054 break; 5055 case 1: 5056 p = "char *"; 5057 break; 5058 case 2: 5059 p = "size_t"; 5060 break; 5061 case 3: 5062 p = "unsigned int"; 5063 break; 5064 case 4: 5065 p = "const struct l_timespec *"; 5066 break; 5067 default: 5068 break; 5069 }; 5070 break; 5071 /* linux_mq_notify */ 5072 case 281: 5073 switch(ndx) { 5074 case 0: 5075 p = "l_mqd_t"; 5076 break; 5077 case 1: 5078 p = "const struct l_timespec *"; 5079 break; 5080 default: 5081 break; 5082 }; 5083 break; 5084 /* linux_mq_getsetattr */ 5085 case 282: 5086 switch(ndx) { 5087 case 0: 5088 p = "l_mqd_t"; 5089 break; 5090 case 1: 5091 p = "const struct mq_attr *"; 5092 break; 5093 case 2: 5094 p = "struct mq_attr *"; 5095 break; 5096 default: 5097 break; 5098 }; 5099 break; 5100 /* linux_kexec_load */ 5101 case 283: 5102 break; 5103 /* linux_waitid */ 5104 case 284: 5105 break; 5106 /* linux_add_key */ 5107 case 286: 5108 break; 5109 /* linux_request_key */ 5110 case 287: 5111 break; 5112 /* linux_keyctl */ 5113 case 288: 5114 break; 5115 /* linux_ioprio_set */ 5116 case 289: 5117 break; 5118 /* linux_ioprio_get */ 5119 case 290: 5120 break; 5121 /* linux_inotify_init */ 5122 case 291: 5123 break; 5124 /* linux_inotify_add_watch */ 5125 case 292: 5126 break; 5127 /* linux_inotify_rm_watch */ 5128 case 293: 5129 break; 5130 /* linux_migrate_pages */ 5131 case 294: 5132 break; 5133 /* linux_openat */ 5134 case 295: 5135 switch(ndx) { 5136 case 0: 5137 p = "l_int"; 5138 break; 5139 case 1: 5140 p = "const char *"; 5141 break; 5142 case 2: 5143 p = "l_int"; 5144 break; 5145 case 3: 5146 p = "l_int"; 5147 break; 5148 default: 5149 break; 5150 }; 5151 break; 5152 /* linux_mkdirat */ 5153 case 296: 5154 switch(ndx) { 5155 case 0: 5156 p = "l_int"; 5157 break; 5158 case 1: 5159 p = "const char *"; 5160 break; 5161 case 2: 5162 p = "l_int"; 5163 break; 5164 default: 5165 break; 5166 }; 5167 break; 5168 /* linux_mknodat */ 5169 case 297: 5170 switch(ndx) { 5171 case 0: 5172 p = "l_int"; 5173 break; 5174 case 1: 5175 p = "const char *"; 5176 break; 5177 case 2: 5178 p = "l_int"; 5179 break; 5180 case 3: 5181 p = "l_uint"; 5182 break; 5183 default: 5184 break; 5185 }; 5186 break; 5187 /* linux_fchownat */ 5188 case 298: 5189 switch(ndx) { 5190 case 0: 5191 p = "l_int"; 5192 break; 5193 case 1: 5194 p = "const char *"; 5195 break; 5196 case 2: 5197 p = "l_uid16_t"; 5198 break; 5199 case 3: 5200 p = "l_gid16_t"; 5201 break; 5202 case 4: 5203 p = "l_int"; 5204 break; 5205 default: 5206 break; 5207 }; 5208 break; 5209 /* linux_futimesat */ 5210 case 299: 5211 switch(ndx) { 5212 case 0: 5213 p = "l_int"; 5214 break; 5215 case 1: 5216 p = "char *"; 5217 break; 5218 case 2: 5219 p = "struct l_timeval *"; 5220 break; 5221 default: 5222 break; 5223 }; 5224 break; 5225 /* linux_fstatat64 */ 5226 case 300: 5227 switch(ndx) { 5228 case 0: 5229 p = "l_int"; 5230 break; 5231 case 1: 5232 p = "char *"; 5233 break; 5234 case 2: 5235 p = "struct l_stat64 *"; 5236 break; 5237 case 3: 5238 p = "l_int"; 5239 break; 5240 default: 5241 break; 5242 }; 5243 break; 5244 /* linux_unlinkat */ 5245 case 301: 5246 switch(ndx) { 5247 case 0: 5248 p = "l_int"; 5249 break; 5250 case 1: 5251 p = "const char *"; 5252 break; 5253 case 2: 5254 p = "l_int"; 5255 break; 5256 default: 5257 break; 5258 }; 5259 break; 5260 /* linux_renameat */ 5261 case 302: 5262 switch(ndx) { 5263 case 0: 5264 p = "l_int"; 5265 break; 5266 case 1: 5267 p = "const char *"; 5268 break; 5269 case 2: 5270 p = "l_int"; 5271 break; 5272 case 3: 5273 p = "const char *"; 5274 break; 5275 default: 5276 break; 5277 }; 5278 break; 5279 /* linux_linkat */ 5280 case 303: 5281 switch(ndx) { 5282 case 0: 5283 p = "l_int"; 5284 break; 5285 case 1: 5286 p = "const char *"; 5287 break; 5288 case 2: 5289 p = "l_int"; 5290 break; 5291 case 3: 5292 p = "const char *"; 5293 break; 5294 case 4: 5295 p = "l_int"; 5296 break; 5297 default: 5298 break; 5299 }; 5300 break; 5301 /* linux_symlinkat */ 5302 case 304: 5303 switch(ndx) { 5304 case 0: 5305 p = "const char *"; 5306 break; 5307 case 1: 5308 p = "l_int"; 5309 break; 5310 case 2: 5311 p = "const char *"; 5312 break; 5313 default: 5314 break; 5315 }; 5316 break; 5317 /* linux_readlinkat */ 5318 case 305: 5319 switch(ndx) { 5320 case 0: 5321 p = "l_int"; 5322 break; 5323 case 1: 5324 p = "const char *"; 5325 break; 5326 case 2: 5327 p = "char *"; 5328 break; 5329 case 3: 5330 p = "l_int"; 5331 break; 5332 default: 5333 break; 5334 }; 5335 break; 5336 /* linux_fchmodat */ 5337 case 306: 5338 switch(ndx) { 5339 case 0: 5340 p = "l_int"; 5341 break; 5342 case 1: 5343 p = "const char *"; 5344 break; 5345 case 2: 5346 p = "l_mode_t"; 5347 break; 5348 default: 5349 break; 5350 }; 5351 break; 5352 /* linux_faccessat */ 5353 case 307: 5354 switch(ndx) { 5355 case 0: 5356 p = "l_int"; 5357 break; 5358 case 1: 5359 p = "const char *"; 5360 break; 5361 case 2: 5362 p = "l_int"; 5363 break; 5364 case 3: 5365 p = "l_int"; 5366 break; 5367 default: 5368 break; 5369 }; 5370 break; 5371 /* linux_pselect6 */ 5372 case 308: 5373 break; 5374 /* linux_ppoll */ 5375 case 309: 5376 break; 5377 /* linux_unshare */ 5378 case 310: 5379 break; 5380 /* linux_set_robust_list */ 5381 case 311: 5382 switch(ndx) { 5383 case 0: 5384 p = "struct linux_robust_list_head *"; 5385 break; 5386 case 1: 5387 p = "l_size_t"; 5388 break; 5389 default: 5390 break; 5391 }; 5392 break; 5393 /* linux_get_robust_list */ 5394 case 312: 5395 switch(ndx) { 5396 case 0: 5397 p = "l_int"; 5398 break; 5399 case 1: 5400 p = "struct linux_robust_list_head **"; 5401 break; 5402 case 2: 5403 p = "l_size_t *"; 5404 break; 5405 default: 5406 break; 5407 }; 5408 break; 5409 /* linux_splice */ 5410 case 313: 5411 break; 5412 /* linux_sync_file_range */ 5413 case 314: 5414 break; 5415 /* linux_tee */ 5416 case 315: 5417 break; 5418 /* linux_vmsplice */ 5419 case 316: 5420 break; 5421 default: 5422 break; 5423 }; 5424 if (p != NULL) 5425 strlcpy(desc, p, descsz); 5426 } 5427 static void 5428 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) 5429 { 5430 const char *p = NULL; 5431 switch (sysnum) { 5432 #define nosys linux_nosys 5433 /* sys_exit */ 5434 case 1: 5435 if (ndx == 0 || ndx == 1) 5436 p = "void"; 5437 break; 5438 /* linux_fork */ 5439 case 2: 5440 /* read */ 5441 case 3: 5442 if (ndx == 0 || ndx == 1) 5443 p = "int"; 5444 break; 5445 /* write */ 5446 case 4: 5447 if (ndx == 0 || ndx == 1) 5448 p = "int"; 5449 break; 5450 /* linux_open */ 5451 case 5: 5452 if (ndx == 0 || ndx == 1) 5453 p = "int"; 5454 break; 5455 /* close */ 5456 case 6: 5457 if (ndx == 0 || ndx == 1) 5458 p = "int"; 5459 break; 5460 /* linux_waitpid */ 5461 case 7: 5462 if (ndx == 0 || ndx == 1) 5463 p = "int"; 5464 break; 5465 /* linux_creat */ 5466 case 8: 5467 if (ndx == 0 || ndx == 1) 5468 p = "int"; 5469 break; 5470 /* linux_link */ 5471 case 9: 5472 if (ndx == 0 || ndx == 1) 5473 p = "int"; 5474 break; 5475 /* linux_unlink */ 5476 case 10: 5477 if (ndx == 0 || ndx == 1) 5478 p = "int"; 5479 break; 5480 /* linux_execve */ 5481 case 11: 5482 if (ndx == 0 || ndx == 1) 5483 p = "int"; 5484 break; 5485 /* linux_chdir */ 5486 case 12: 5487 if (ndx == 0 || ndx == 1) 5488 p = "int"; 5489 break; 5490 /* linux_time */ 5491 case 13: 5492 if (ndx == 0 || ndx == 1) 5493 p = "int"; 5494 break; 5495 /* linux_mknod */ 5496 case 14: 5497 if (ndx == 0 || ndx == 1) 5498 p = "int"; 5499 break; 5500 /* linux_chmod */ 5501 case 15: 5502 if (ndx == 0 || ndx == 1) 5503 p = "int"; 5504 break; 5505 /* linux_lchown16 */ 5506 case 16: 5507 if (ndx == 0 || ndx == 1) 5508 p = "int"; 5509 break; 5510 /* linux_stat */ 5511 case 18: 5512 if (ndx == 0 || ndx == 1) 5513 p = "int"; 5514 break; 5515 /* linux_lseek */ 5516 case 19: 5517 if (ndx == 0 || ndx == 1) 5518 p = "int"; 5519 break; 5520 /* linux_getpid */ 5521 case 20: 5522 /* linux_mount */ 5523 case 21: 5524 if (ndx == 0 || ndx == 1) 5525 p = "int"; 5526 break; 5527 /* linux_oldumount */ 5528 case 22: 5529 if (ndx == 0 || ndx == 1) 5530 p = "int"; 5531 break; 5532 /* linux_setuid16 */ 5533 case 23: 5534 if (ndx == 0 || ndx == 1) 5535 p = "int"; 5536 break; 5537 /* linux_getuid16 */ 5538 case 24: 5539 /* linux_stime */ 5540 case 25: 5541 /* linux_ptrace */ 5542 case 26: 5543 if (ndx == 0 || ndx == 1) 5544 p = "int"; 5545 break; 5546 /* linux_alarm */ 5547 case 27: 5548 if (ndx == 0 || ndx == 1) 5549 p = "int"; 5550 break; 5551 /* linux_fstat */ 5552 case 28: 5553 if (ndx == 0 || ndx == 1) 5554 p = "int"; 5555 break; 5556 /* linux_pause */ 5557 case 29: 5558 /* linux_utime */ 5559 case 30: 5560 if (ndx == 0 || ndx == 1) 5561 p = "int"; 5562 break; 5563 /* linux_access */ 5564 case 33: 5565 if (ndx == 0 || ndx == 1) 5566 p = "int"; 5567 break; 5568 /* linux_nice */ 5569 case 34: 5570 if (ndx == 0 || ndx == 1) 5571 p = "int"; 5572 break; 5573 /* sync */ 5574 case 36: 5575 /* linux_kill */ 5576 case 37: 5577 if (ndx == 0 || ndx == 1) 5578 p = "int"; 5579 break; 5580 /* linux_rename */ 5581 case 38: 5582 if (ndx == 0 || ndx == 1) 5583 p = "int"; 5584 break; 5585 /* linux_mkdir */ 5586 case 39: 5587 if (ndx == 0 || ndx == 1) 5588 p = "int"; 5589 break; 5590 /* linux_rmdir */ 5591 case 40: 5592 if (ndx == 0 || ndx == 1) 5593 p = "int"; 5594 break; 5595 /* dup */ 5596 case 41: 5597 if (ndx == 0 || ndx == 1) 5598 p = "int"; 5599 break; 5600 /* linux_pipe */ 5601 case 42: 5602 if (ndx == 0 || ndx == 1) 5603 p = "int"; 5604 break; 5605 /* linux_times */ 5606 case 43: 5607 if (ndx == 0 || ndx == 1) 5608 p = "int"; 5609 break; 5610 /* linux_brk */ 5611 case 45: 5612 if (ndx == 0 || ndx == 1) 5613 p = "int"; 5614 break; 5615 /* linux_setgid16 */ 5616 case 46: 5617 if (ndx == 0 || ndx == 1) 5618 p = "int"; 5619 break; 5620 /* linux_getgid16 */ 5621 case 47: 5622 /* linux_signal */ 5623 case 48: 5624 if (ndx == 0 || ndx == 1) 5625 p = "int"; 5626 break; 5627 /* linux_geteuid16 */ 5628 case 49: 5629 /* linux_getegid16 */ 5630 case 50: 5631 /* acct */ 5632 case 51: 5633 if (ndx == 0 || ndx == 1) 5634 p = "int"; 5635 break; 5636 /* linux_umount */ 5637 case 52: 5638 if (ndx == 0 || ndx == 1) 5639 p = "int"; 5640 break; 5641 /* linux_ioctl */ 5642 case 54: 5643 if (ndx == 0 || ndx == 1) 5644 p = "int"; 5645 break; 5646 /* linux_fcntl */ 5647 case 55: 5648 if (ndx == 0 || ndx == 1) 5649 p = "int"; 5650 break; 5651 /* setpgid */ 5652 case 57: 5653 if (ndx == 0 || ndx == 1) 5654 p = "int"; 5655 break; 5656 /* linux_olduname */ 5657 case 59: 5658 /* umask */ 5659 case 60: 5660 if (ndx == 0 || ndx == 1) 5661 p = "int"; 5662 break; 5663 /* chroot */ 5664 case 61: 5665 if (ndx == 0 || ndx == 1) 5666 p = "int"; 5667 break; 5668 /* linux_ustat */ 5669 case 62: 5670 if (ndx == 0 || ndx == 1) 5671 p = "int"; 5672 break; 5673 /* dup2 */ 5674 case 63: 5675 if (ndx == 0 || ndx == 1) 5676 p = "int"; 5677 break; 5678 /* linux_getppid */ 5679 case 64: 5680 /* getpgrp */ 5681 case 65: 5682 /* setsid */ 5683 case 66: 5684 /* linux_sigaction */ 5685 case 67: 5686 if (ndx == 0 || ndx == 1) 5687 p = "int"; 5688 break; 5689 /* linux_sgetmask */ 5690 case 68: 5691 /* linux_ssetmask */ 5692 case 69: 5693 if (ndx == 0 || ndx == 1) 5694 p = "int"; 5695 break; 5696 /* linux_setreuid16 */ 5697 case 70: 5698 if (ndx == 0 || ndx == 1) 5699 p = "int"; 5700 break; 5701 /* linux_setregid16 */ 5702 case 71: 5703 if (ndx == 0 || ndx == 1) 5704 p = "int"; 5705 break; 5706 /* linux_sigsuspend */ 5707 case 72: 5708 if (ndx == 0 || ndx == 1) 5709 p = "int"; 5710 break; 5711 /* linux_sigpending */ 5712 case 73: 5713 if (ndx == 0 || ndx == 1) 5714 p = "int"; 5715 break; 5716 /* linux_sethostname */ 5717 case 74: 5718 if (ndx == 0 || ndx == 1) 5719 p = "int"; 5720 break; 5721 /* linux_setrlimit */ 5722 case 75: 5723 if (ndx == 0 || ndx == 1) 5724 p = "int"; 5725 break; 5726 /* linux_old_getrlimit */ 5727 case 76: 5728 if (ndx == 0 || ndx == 1) 5729 p = "int"; 5730 break; 5731 /* getrusage */ 5732 case 77: 5733 if (ndx == 0 || ndx == 1) 5734 p = "int"; 5735 break; 5736 /* gettimeofday */ 5737 case 78: 5738 if (ndx == 0 || ndx == 1) 5739 p = "int"; 5740 break; 5741 /* settimeofday */ 5742 case 79: 5743 if (ndx == 0 || ndx == 1) 5744 p = "int"; 5745 break; 5746 /* linux_getgroups16 */ 5747 case 80: 5748 if (ndx == 0 || ndx == 1) 5749 p = "int"; 5750 break; 5751 /* linux_setgroups16 */ 5752 case 81: 5753 if (ndx == 0 || ndx == 1) 5754 p = "int"; 5755 break; 5756 /* linux_old_select */ 5757 case 82: 5758 if (ndx == 0 || ndx == 1) 5759 p = "int"; 5760 break; 5761 /* linux_symlink */ 5762 case 83: 5763 if (ndx == 0 || ndx == 1) 5764 p = "int"; 5765 break; 5766 /* linux_lstat */ 5767 case 84: 5768 if (ndx == 0 || ndx == 1) 5769 p = "int"; 5770 break; 5771 /* linux_readlink */ 5772 case 85: 5773 if (ndx == 0 || ndx == 1) 5774 p = "int"; 5775 break; 5776 /* linux_uselib */ 5777 case 86: 5778 if (ndx == 0 || ndx == 1) 5779 p = "int"; 5780 break; 5781 /* swapon */ 5782 case 87: 5783 if (ndx == 0 || ndx == 1) 5784 p = "int"; 5785 break; 5786 /* linux_reboot */ 5787 case 88: 5788 if (ndx == 0 || ndx == 1) 5789 p = "int"; 5790 break; 5791 /* linux_readdir */ 5792 case 89: 5793 if (ndx == 0 || ndx == 1) 5794 p = "int"; 5795 break; 5796 /* linux_mmap */ 5797 case 90: 5798 if (ndx == 0 || ndx == 1) 5799 p = "int"; 5800 break; 5801 /* munmap */ 5802 case 91: 5803 if (ndx == 0 || ndx == 1) 5804 p = "int"; 5805 break; 5806 /* linux_truncate */ 5807 case 92: 5808 if (ndx == 0 || ndx == 1) 5809 p = "int"; 5810 break; 5811 /* linux_ftruncate */ 5812 case 93: 5813 if (ndx == 0 || ndx == 1) 5814 p = "int"; 5815 break; 5816 /* fchmod */ 5817 case 94: 5818 if (ndx == 0 || ndx == 1) 5819 p = "int"; 5820 break; 5821 /* fchown */ 5822 case 95: 5823 if (ndx == 0 || ndx == 1) 5824 p = "int"; 5825 break; 5826 /* linux_getpriority */ 5827 case 96: 5828 if (ndx == 0 || ndx == 1) 5829 p = "int"; 5830 break; 5831 /* setpriority */ 5832 case 97: 5833 if (ndx == 0 || ndx == 1) 5834 p = "int"; 5835 break; 5836 /* linux_statfs */ 5837 case 99: 5838 if (ndx == 0 || ndx == 1) 5839 p = "int"; 5840 break; 5841 /* linux_fstatfs */ 5842 case 100: 5843 if (ndx == 0 || ndx == 1) 5844 p = "int"; 5845 break; 5846 /* linux_ioperm */ 5847 case 101: 5848 if (ndx == 0 || ndx == 1) 5849 p = "int"; 5850 break; 5851 /* linux_socketcall */ 5852 case 102: 5853 if (ndx == 0 || ndx == 1) 5854 p = "int"; 5855 break; 5856 /* linux_syslog */ 5857 case 103: 5858 if (ndx == 0 || ndx == 1) 5859 p = "int"; 5860 break; 5861 /* linux_setitimer */ 5862 case 104: 5863 if (ndx == 0 || ndx == 1) 5864 p = "int"; 5865 break; 5866 /* linux_getitimer */ 5867 case 105: 5868 if (ndx == 0 || ndx == 1) 5869 p = "int"; 5870 break; 5871 /* linux_newstat */ 5872 case 106: 5873 if (ndx == 0 || ndx == 1) 5874 p = "int"; 5875 break; 5876 /* linux_newlstat */ 5877 case 107: 5878 if (ndx == 0 || ndx == 1) 5879 p = "int"; 5880 break; 5881 /* linux_newfstat */ 5882 case 108: 5883 if (ndx == 0 || ndx == 1) 5884 p = "int"; 5885 break; 5886 /* linux_uname */ 5887 case 109: 5888 /* linux_iopl */ 5889 case 110: 5890 if (ndx == 0 || ndx == 1) 5891 p = "int"; 5892 break; 5893 /* linux_vhangup */ 5894 case 111: 5895 /* linux_vm86old */ 5896 case 113: 5897 /* linux_wait4 */ 5898 case 114: 5899 if (ndx == 0 || ndx == 1) 5900 p = "int"; 5901 break; 5902 /* linux_swapoff */ 5903 case 115: 5904 /* linux_sysinfo */ 5905 case 116: 5906 if (ndx == 0 || ndx == 1) 5907 p = "int"; 5908 break; 5909 /* linux_ipc */ 5910 case 117: 5911 if (ndx == 0 || ndx == 1) 5912 p = "int"; 5913 break; 5914 /* fsync */ 5915 case 118: 5916 if (ndx == 0 || ndx == 1) 5917 p = "int"; 5918 break; 5919 /* linux_sigreturn */ 5920 case 119: 5921 if (ndx == 0 || ndx == 1) 5922 p = "int"; 5923 break; 5924 /* linux_clone */ 5925 case 120: 5926 if (ndx == 0 || ndx == 1) 5927 p = "int"; 5928 break; 5929 /* linux_setdomainname */ 5930 case 121: 5931 if (ndx == 0 || ndx == 1) 5932 p = "int"; 5933 break; 5934 /* linux_newuname */ 5935 case 122: 5936 if (ndx == 0 || ndx == 1) 5937 p = "int"; 5938 break; 5939 /* linux_modify_ldt */ 5940 case 123: 5941 if (ndx == 0 || ndx == 1) 5942 p = "int"; 5943 break; 5944 /* linux_adjtimex */ 5945 case 124: 5946 /* linux_mprotect */ 5947 case 125: 5948 if (ndx == 0 || ndx == 1) 5949 p = "int"; 5950 break; 5951 /* linux_sigprocmask */ 5952 case 126: 5953 if (ndx == 0 || ndx == 1) 5954 p = "int"; 5955 break; 5956 /* linux_create_module */ 5957 case 127: 5958 /* linux_init_module */ 5959 case 128: 5960 /* linux_delete_module */ 5961 case 129: 5962 /* linux_get_kernel_syms */ 5963 case 130: 5964 /* linux_quotactl */ 5965 case 131: 5966 /* getpgid */ 5967 case 132: 5968 if (ndx == 0 || ndx == 1) 5969 p = "int"; 5970 break; 5971 /* fchdir */ 5972 case 133: 5973 if (ndx == 0 || ndx == 1) 5974 p = "int"; 5975 break; 5976 /* linux_bdflush */ 5977 case 134: 5978 /* linux_sysfs */ 5979 case 135: 5980 if (ndx == 0 || ndx == 1) 5981 p = "int"; 5982 break; 5983 /* linux_personality */ 5984 case 136: 5985 if (ndx == 0 || ndx == 1) 5986 p = "int"; 5987 break; 5988 /* linux_setfsuid16 */ 5989 case 138: 5990 if (ndx == 0 || ndx == 1) 5991 p = "int"; 5992 break; 5993 /* linux_setfsgid16 */ 5994 case 139: 5995 if (ndx == 0 || ndx == 1) 5996 p = "int"; 5997 break; 5998 /* linux_llseek */ 5999 case 140: 6000 if (ndx == 0 || ndx == 1) 6001 p = "int"; 6002 break; 6003 /* linux_getdents */ 6004 case 141: 6005 if (ndx == 0 || ndx == 1) 6006 p = "int"; 6007 break; 6008 /* linux_select */ 6009 case 142: 6010 if (ndx == 0 || ndx == 1) 6011 p = "int"; 6012 break; 6013 /* flock */ 6014 case 143: 6015 if (ndx == 0 || ndx == 1) 6016 p = "int"; 6017 break; 6018 /* linux_msync */ 6019 case 144: 6020 if (ndx == 0 || ndx == 1) 6021 p = "int"; 6022 break; 6023 /* readv */ 6024 case 145: 6025 if (ndx == 0 || ndx == 1) 6026 p = "int"; 6027 break; 6028 /* writev */ 6029 case 146: 6030 if (ndx == 0 || ndx == 1) 6031 p = "int"; 6032 break; 6033 /* linux_getsid */ 6034 case 147: 6035 if (ndx == 0 || ndx == 1) 6036 p = "int"; 6037 break; 6038 /* linux_fdatasync */ 6039 case 148: 6040 if (ndx == 0 || ndx == 1) 6041 p = "int"; 6042 break; 6043 /* linux_sysctl */ 6044 case 149: 6045 if (ndx == 0 || ndx == 1) 6046 p = "int"; 6047 break; 6048 /* mlock */ 6049 case 150: 6050 if (ndx == 0 || ndx == 1) 6051 p = "int"; 6052 break; 6053 /* munlock */ 6054 case 151: 6055 if (ndx == 0 || ndx == 1) 6056 p = "int"; 6057 break; 6058 /* mlockall */ 6059 case 152: 6060 if (ndx == 0 || ndx == 1) 6061 p = "int"; 6062 break; 6063 /* munlockall */ 6064 case 153: 6065 /* sched_setparam */ 6066 case 154: 6067 if (ndx == 0 || ndx == 1) 6068 p = "int"; 6069 break; 6070 /* sched_getparam */ 6071 case 155: 6072 if (ndx == 0 || ndx == 1) 6073 p = "int"; 6074 break; 6075 /* linux_sched_setscheduler */ 6076 case 156: 6077 if (ndx == 0 || ndx == 1) 6078 p = "int"; 6079 break; 6080 /* linux_sched_getscheduler */ 6081 case 157: 6082 if (ndx == 0 || ndx == 1) 6083 p = "int"; 6084 break; 6085 /* sched_yield */ 6086 case 158: 6087 /* linux_sched_get_priority_max */ 6088 case 159: 6089 if (ndx == 0 || ndx == 1) 6090 p = "int"; 6091 break; 6092 /* linux_sched_get_priority_min */ 6093 case 160: 6094 if (ndx == 0 || ndx == 1) 6095 p = "int"; 6096 break; 6097 /* sched_rr_get_interval */ 6098 case 161: 6099 if (ndx == 0 || ndx == 1) 6100 p = "int"; 6101 break; 6102 /* linux_nanosleep */ 6103 case 162: 6104 if (ndx == 0 || ndx == 1) 6105 p = "int"; 6106 break; 6107 /* linux_mremap */ 6108 case 163: 6109 if (ndx == 0 || ndx == 1) 6110 p = "int"; 6111 break; 6112 /* linux_setresuid16 */ 6113 case 164: 6114 if (ndx == 0 || ndx == 1) 6115 p = "int"; 6116 break; 6117 /* linux_getresuid16 */ 6118 case 165: 6119 if (ndx == 0 || ndx == 1) 6120 p = "int"; 6121 break; 6122 /* linux_vm86 */ 6123 case 166: 6124 /* linux_query_module */ 6125 case 167: 6126 /* poll */ 6127 case 168: 6128 if (ndx == 0 || ndx == 1) 6129 p = "int"; 6130 break; 6131 /* linux_nfsservctl */ 6132 case 169: 6133 /* linux_setresgid16 */ 6134 case 170: 6135 if (ndx == 0 || ndx == 1) 6136 p = "int"; 6137 break; 6138 /* linux_getresgid16 */ 6139 case 171: 6140 if (ndx == 0 || ndx == 1) 6141 p = "int"; 6142 break; 6143 /* linux_prctl */ 6144 case 172: 6145 if (ndx == 0 || ndx == 1) 6146 p = "int"; 6147 break; 6148 /* linux_rt_sigreturn */ 6149 case 173: 6150 if (ndx == 0 || ndx == 1) 6151 p = "int"; 6152 break; 6153 /* linux_rt_sigaction */ 6154 case 174: 6155 if (ndx == 0 || ndx == 1) 6156 p = "int"; 6157 break; 6158 /* linux_rt_sigprocmask */ 6159 case 175: 6160 if (ndx == 0 || ndx == 1) 6161 p = "int"; 6162 break; 6163 /* linux_rt_sigpending */ 6164 case 176: 6165 if (ndx == 0 || ndx == 1) 6166 p = "int"; 6167 break; 6168 /* linux_rt_sigtimedwait */ 6169 case 177: 6170 if (ndx == 0 || ndx == 1) 6171 p = "int"; 6172 break; 6173 /* linux_rt_sigqueueinfo */ 6174 case 178: 6175 /* linux_rt_sigsuspend */ 6176 case 179: 6177 if (ndx == 0 || ndx == 1) 6178 p = "int"; 6179 break; 6180 /* linux_pread */ 6181 case 180: 6182 if (ndx == 0 || ndx == 1) 6183 p = "int"; 6184 break; 6185 /* linux_pwrite */ 6186 case 181: 6187 if (ndx == 0 || ndx == 1) 6188 p = "int"; 6189 break; 6190 /* linux_chown16 */ 6191 case 182: 6192 if (ndx == 0 || ndx == 1) 6193 p = "int"; 6194 break; 6195 /* linux_getcwd */ 6196 case 183: 6197 if (ndx == 0 || ndx == 1) 6198 p = "int"; 6199 break; 6200 /* linux_capget */ 6201 case 184: 6202 if (ndx == 0 || ndx == 1) 6203 p = "int"; 6204 break; 6205 /* linux_capset */ 6206 case 185: 6207 if (ndx == 0 || ndx == 1) 6208 p = "int"; 6209 break; 6210 /* linux_sigaltstack */ 6211 case 186: 6212 if (ndx == 0 || ndx == 1) 6213 p = "int"; 6214 break; 6215 /* linux_sendfile */ 6216 case 187: 6217 /* linux_vfork */ 6218 case 190: 6219 /* linux_getrlimit */ 6220 case 191: 6221 if (ndx == 0 || ndx == 1) 6222 p = "int"; 6223 break; 6224 /* linux_mmap2 */ 6225 case 192: 6226 if (ndx == 0 || ndx == 1) 6227 p = "int"; 6228 break; 6229 /* linux_truncate64 */ 6230 case 193: 6231 if (ndx == 0 || ndx == 1) 6232 p = "int"; 6233 break; 6234 /* linux_ftruncate64 */ 6235 case 194: 6236 if (ndx == 0 || ndx == 1) 6237 p = "int"; 6238 break; 6239 /* linux_stat64 */ 6240 case 195: 6241 if (ndx == 0 || ndx == 1) 6242 p = "int"; 6243 break; 6244 /* linux_lstat64 */ 6245 case 196: 6246 if (ndx == 0 || ndx == 1) 6247 p = "int"; 6248 break; 6249 /* linux_fstat64 */ 6250 case 197: 6251 if (ndx == 0 || ndx == 1) 6252 p = "int"; 6253 break; 6254 /* linux_lchown */ 6255 case 198: 6256 if (ndx == 0 || ndx == 1) 6257 p = "int"; 6258 break; 6259 /* linux_getuid */ 6260 case 199: 6261 /* linux_getgid */ 6262 case 200: 6263 /* geteuid */ 6264 case 201: 6265 /* getegid */ 6266 case 202: 6267 /* setreuid */ 6268 case 203: 6269 if (ndx == 0 || ndx == 1) 6270 p = "int"; 6271 break; 6272 /* setregid */ 6273 case 204: 6274 if (ndx == 0 || ndx == 1) 6275 p = "int"; 6276 break; 6277 /* linux_getgroups */ 6278 case 205: 6279 if (ndx == 0 || ndx == 1) 6280 p = "int"; 6281 break; 6282 /* linux_setgroups */ 6283 case 206: 6284 if (ndx == 0 || ndx == 1) 6285 p = "int"; 6286 break; 6287 /* fchown */ 6288 case 207: 6289 /* setresuid */ 6290 case 208: 6291 if (ndx == 0 || ndx == 1) 6292 p = "int"; 6293 break; 6294 /* getresuid */ 6295 case 209: 6296 if (ndx == 0 || ndx == 1) 6297 p = "int"; 6298 break; 6299 /* setresgid */ 6300 case 210: 6301 if (ndx == 0 || ndx == 1) 6302 p = "int"; 6303 break; 6304 /* getresgid */ 6305 case 211: 6306 if (ndx == 0 || ndx == 1) 6307 p = "int"; 6308 break; 6309 /* linux_chown */ 6310 case 212: 6311 if (ndx == 0 || ndx == 1) 6312 p = "int"; 6313 break; 6314 /* setuid */ 6315 case 213: 6316 if (ndx == 0 || ndx == 1) 6317 p = "int"; 6318 break; 6319 /* setgid */ 6320 case 214: 6321 if (ndx == 0 || ndx == 1) 6322 p = "int"; 6323 break; 6324 /* linux_setfsuid */ 6325 case 215: 6326 if (ndx == 0 || ndx == 1) 6327 p = "int"; 6328 break; 6329 /* linux_setfsgid */ 6330 case 216: 6331 if (ndx == 0 || ndx == 1) 6332 p = "int"; 6333 break; 6334 /* linux_pivot_root */ 6335 case 217: 6336 if (ndx == 0 || ndx == 1) 6337 p = "int"; 6338 break; 6339 /* linux_mincore */ 6340 case 218: 6341 if (ndx == 0 || ndx == 1) 6342 p = "int"; 6343 break; 6344 /* madvise */ 6345 case 219: 6346 if (ndx == 0 || ndx == 1) 6347 p = "int"; 6348 break; 6349 /* linux_getdents64 */ 6350 case 220: 6351 if (ndx == 0 || ndx == 1) 6352 p = "int"; 6353 break; 6354 /* linux_fcntl64 */ 6355 case 221: 6356 if (ndx == 0 || ndx == 1) 6357 p = "int"; 6358 break; 6359 /* linux_gettid */ 6360 case 224: 6361 /* linux_setxattr */ 6362 case 226: 6363 /* linux_lsetxattr */ 6364 case 227: 6365 /* linux_fsetxattr */ 6366 case 228: 6367 /* linux_getxattr */ 6368 case 229: 6369 /* linux_lgetxattr */ 6370 case 230: 6371 /* linux_fgetxattr */ 6372 case 231: 6373 /* linux_listxattr */ 6374 case 232: 6375 /* linux_llistxattr */ 6376 case 233: 6377 /* linux_flistxattr */ 6378 case 234: 6379 /* linux_removexattr */ 6380 case 235: 6381 /* linux_lremovexattr */ 6382 case 236: 6383 /* linux_fremovexattr */ 6384 case 237: 6385 /* linux_tkill */ 6386 case 238: 6387 if (ndx == 0 || ndx == 1) 6388 p = "int"; 6389 break; 6390 /* linux_sys_futex */ 6391 case 240: 6392 if (ndx == 0 || ndx == 1) 6393 p = "int"; 6394 break; 6395 /* linux_sched_setaffinity */ 6396 case 241: 6397 if (ndx == 0 || ndx == 1) 6398 p = "int"; 6399 break; 6400 /* linux_sched_getaffinity */ 6401 case 242: 6402 if (ndx == 0 || ndx == 1) 6403 p = "int"; 6404 break; 6405 /* linux_set_thread_area */ 6406 case 243: 6407 if (ndx == 0 || ndx == 1) 6408 p = "int"; 6409 break; 6410 /* linux_get_thread_area */ 6411 case 244: 6412 if (ndx == 0 || ndx == 1) 6413 p = "int"; 6414 break; 6415 /* linux_fadvise64 */ 6416 case 250: 6417 /* linux_exit_group */ 6418 case 252: 6419 if (ndx == 0 || ndx == 1) 6420 p = "int"; 6421 break; 6422 /* linux_lookup_dcookie */ 6423 case 253: 6424 /* linux_epoll_create */ 6425 case 254: 6426 /* linux_epoll_ctl */ 6427 case 255: 6428 /* linux_epoll_wait */ 6429 case 256: 6430 /* linux_remap_file_pages */ 6431 case 257: 6432 /* linux_set_tid_address */ 6433 case 258: 6434 if (ndx == 0 || ndx == 1) 6435 p = "int"; 6436 break; 6437 /* linux_timer_create */ 6438 case 259: 6439 if (ndx == 0 || ndx == 1) 6440 p = "int"; 6441 break; 6442 /* linux_timer_settime */ 6443 case 260: 6444 if (ndx == 0 || ndx == 1) 6445 p = "int"; 6446 break; 6447 /* linux_timer_gettime */ 6448 case 261: 6449 if (ndx == 0 || ndx == 1) 6450 p = "int"; 6451 break; 6452 /* linux_timer_getoverrun */ 6453 case 262: 6454 if (ndx == 0 || ndx == 1) 6455 p = "int"; 6456 break; 6457 /* linux_timer_delete */ 6458 case 263: 6459 if (ndx == 0 || ndx == 1) 6460 p = "int"; 6461 break; 6462 /* linux_clock_settime */ 6463 case 264: 6464 if (ndx == 0 || ndx == 1) 6465 p = "int"; 6466 break; 6467 /* linux_clock_gettime */ 6468 case 265: 6469 if (ndx == 0 || ndx == 1) 6470 p = "int"; 6471 break; 6472 /* linux_clock_getres */ 6473 case 266: 6474 if (ndx == 0 || ndx == 1) 6475 p = "int"; 6476 break; 6477 /* linux_clock_nanosleep */ 6478 case 267: 6479 if (ndx == 0 || ndx == 1) 6480 p = "int"; 6481 break; 6482 /* linux_statfs64 */ 6483 case 268: 6484 if (ndx == 0 || ndx == 1) 6485 p = "int"; 6486 break; 6487 /* linux_fstatfs64 */ 6488 case 269: 6489 /* linux_tgkill */ 6490 case 270: 6491 if (ndx == 0 || ndx == 1) 6492 p = "int"; 6493 break; 6494 /* linux_utimes */ 6495 case 271: 6496 if (ndx == 0 || ndx == 1) 6497 p = "int"; 6498 break; 6499 /* linux_fadvise64_64 */ 6500 case 272: 6501 /* linux_mbind */ 6502 case 274: 6503 /* linux_get_mempolicy */ 6504 case 275: 6505 /* linux_set_mempolicy */ 6506 case 276: 6507 /* linux_mq_open */ 6508 case 277: 6509 if (ndx == 0 || ndx == 1) 6510 p = "int"; 6511 break; 6512 /* linux_mq_unlink */ 6513 case 278: 6514 if (ndx == 0 || ndx == 1) 6515 p = "int"; 6516 break; 6517 /* linux_mq_timedsend */ 6518 case 279: 6519 if (ndx == 0 || ndx == 1) 6520 p = "int"; 6521 break; 6522 /* linux_mq_timedreceive */ 6523 case 280: 6524 if (ndx == 0 || ndx == 1) 6525 p = "int"; 6526 break; 6527 /* linux_mq_notify */ 6528 case 281: 6529 if (ndx == 0 || ndx == 1) 6530 p = "int"; 6531 break; 6532 /* linux_mq_getsetattr */ 6533 case 282: 6534 if (ndx == 0 || ndx == 1) 6535 p = "int"; 6536 break; 6537 /* linux_kexec_load */ 6538 case 283: 6539 /* linux_waitid */ 6540 case 284: 6541 /* linux_add_key */ 6542 case 286: 6543 /* linux_request_key */ 6544 case 287: 6545 /* linux_keyctl */ 6546 case 288: 6547 /* linux_ioprio_set */ 6548 case 289: 6549 /* linux_ioprio_get */ 6550 case 290: 6551 /* linux_inotify_init */ 6552 case 291: 6553 /* linux_inotify_add_watch */ 6554 case 292: 6555 /* linux_inotify_rm_watch */ 6556 case 293: 6557 /* linux_migrate_pages */ 6558 case 294: 6559 /* linux_openat */ 6560 case 295: 6561 if (ndx == 0 || ndx == 1) 6562 p = "int"; 6563 break; 6564 /* linux_mkdirat */ 6565 case 296: 6566 if (ndx == 0 || ndx == 1) 6567 p = "int"; 6568 break; 6569 /* linux_mknodat */ 6570 case 297: 6571 if (ndx == 0 || ndx == 1) 6572 p = "int"; 6573 break; 6574 /* linux_fchownat */ 6575 case 298: 6576 if (ndx == 0 || ndx == 1) 6577 p = "int"; 6578 break; 6579 /* linux_futimesat */ 6580 case 299: 6581 if (ndx == 0 || ndx == 1) 6582 p = "int"; 6583 break; 6584 /* linux_fstatat64 */ 6585 case 300: 6586 if (ndx == 0 || ndx == 1) 6587 p = "int"; 6588 break; 6589 /* linux_unlinkat */ 6590 case 301: 6591 if (ndx == 0 || ndx == 1) 6592 p = "int"; 6593 break; 6594 /* linux_renameat */ 6595 case 302: 6596 if (ndx == 0 || ndx == 1) 6597 p = "int"; 6598 break; 6599 /* linux_linkat */ 6600 case 303: 6601 if (ndx == 0 || ndx == 1) 6602 p = "int"; 6603 break; 6604 /* linux_symlinkat */ 6605 case 304: 6606 if (ndx == 0 || ndx == 1) 6607 p = "int"; 6608 break; 6609 /* linux_readlinkat */ 6610 case 305: 6611 if (ndx == 0 || ndx == 1) 6612 p = "int"; 6613 break; 6614 /* linux_fchmodat */ 6615 case 306: 6616 if (ndx == 0 || ndx == 1) 6617 p = "int"; 6618 break; 6619 /* linux_faccessat */ 6620 case 307: 6621 if (ndx == 0 || ndx == 1) 6622 p = "int"; 6623 break; 6624 /* linux_pselect6 */ 6625 case 308: 6626 /* linux_ppoll */ 6627 case 309: 6628 /* linux_unshare */ 6629 case 310: 6630 /* linux_set_robust_list */ 6631 case 311: 6632 if (ndx == 0 || ndx == 1) 6633 p = "int"; 6634 break; 6635 /* linux_get_robust_list */ 6636 case 312: 6637 if (ndx == 0 || ndx == 1) 6638 p = "int"; 6639 break; 6640 /* linux_splice */ 6641 case 313: 6642 /* linux_sync_file_range */ 6643 case 314: 6644 /* linux_tee */ 6645 case 315: 6646 /* linux_vmsplice */ 6647 case 316: 6648 default: 6649 break; 6650 }; 6651 if (p != NULL) 6652 strlcpy(desc, p, descsz); 6653 } 6654