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