1 /* 2 * System call argument to DTrace register array converstion. 3 * 4 * DO NOT EDIT-- this file is automatically generated. 5 * $FreeBSD$ 6 * This file is part of the DTrace syscall provider. 7 */ 8 9 static void 10 systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) 11 { 12 int64_t *iarg = (int64_t *) uarg; 13 switch (sysnum) { 14 #define nosys linux_nosys 15 /* linux_exit */ 16 case 1: { 17 struct linux_exit_args *p = params; 18 iarg[0] = p->rval; /* int */ 19 *n_args = 1; 20 break; 21 } 22 /* linux_fork */ 23 case 2: { 24 *n_args = 0; 25 break; 26 } 27 /* read */ 28 case 3: { 29 struct read_args *p = params; 30 iarg[0] = p->fd; /* int */ 31 uarg[1] = (intptr_t) p->buf; /* char * */ 32 uarg[2] = p->nbyte; /* u_int */ 33 *n_args = 3; 34 break; 35 } 36 /* write */ 37 case 4: { 38 struct write_args *p = params; 39 iarg[0] = p->fd; /* int */ 40 uarg[1] = (intptr_t) p->buf; /* char * */ 41 uarg[2] = p->nbyte; /* u_int */ 42 *n_args = 3; 43 break; 44 } 45 /* linux_open */ 46 case 5: { 47 struct linux_open_args *p = params; 48 uarg[0] = (intptr_t) p->path; /* char * */ 49 iarg[1] = p->flags; /* l_int */ 50 iarg[2] = p->mode; /* l_int */ 51 *n_args = 3; 52 break; 53 } 54 /* close */ 55 case 6: { 56 struct close_args *p = params; 57 iarg[0] = p->fd; /* int */ 58 *n_args = 1; 59 break; 60 } 61 /* linux_waitpid */ 62 case 7: { 63 struct linux_waitpid_args *p = params; 64 iarg[0] = p->pid; /* l_pid_t */ 65 uarg[1] = (intptr_t) p->status; /* l_int * */ 66 iarg[2] = p->options; /* l_int */ 67 *n_args = 3; 68 break; 69 } 70 /* linux_creat */ 71 case 8: { 72 struct linux_creat_args *p = params; 73 uarg[0] = (intptr_t) p->path; /* char * */ 74 iarg[1] = p->mode; /* l_int */ 75 *n_args = 2; 76 break; 77 } 78 /* linux_link */ 79 case 9: { 80 struct linux_link_args *p = params; 81 uarg[0] = (intptr_t) p->path; /* char * */ 82 uarg[1] = (intptr_t) p->to; /* char * */ 83 *n_args = 2; 84 break; 85 } 86 /* linux_unlink */ 87 case 10: { 88 struct linux_unlink_args *p = params; 89 uarg[0] = (intptr_t) p->path; /* char * */ 90 *n_args = 1; 91 break; 92 } 93 /* linux_execve */ 94 case 11: { 95 struct linux_execve_args *p = params; 96 uarg[0] = (intptr_t) p->path; /* char * */ 97 uarg[1] = (intptr_t) p->argp; /* 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_int * */ 794 iarg[2] = p->options; /* l_int */ 795 uarg[3] = (intptr_t) p->rusage; /* void * */ 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_init_module */ 896 case 128: { 897 *n_args = 0; 898 break; 899 } 900 /* linux_delete_module */ 901 case 129: { 902 *n_args = 0; 903 break; 904 } 905 /* linux_quotactl */ 906 case 131: { 907 *n_args = 0; 908 break; 909 } 910 /* getpgid */ 911 case 132: { 912 struct getpgid_args *p = params; 913 iarg[0] = p->pid; /* int */ 914 *n_args = 1; 915 break; 916 } 917 /* fchdir */ 918 case 133: { 919 struct fchdir_args *p = params; 920 iarg[0] = p->fd; /* int */ 921 *n_args = 1; 922 break; 923 } 924 /* linux_bdflush */ 925 case 134: { 926 *n_args = 0; 927 break; 928 } 929 /* linux_sysfs */ 930 case 135: { 931 struct linux_sysfs_args *p = params; 932 iarg[0] = p->option; /* l_int */ 933 iarg[1] = p->arg1; /* l_ulong */ 934 iarg[2] = p->arg2; /* l_ulong */ 935 *n_args = 3; 936 break; 937 } 938 /* linux_personality */ 939 case 136: { 940 struct linux_personality_args *p = params; 941 iarg[0] = p->per; /* l_uint */ 942 *n_args = 1; 943 break; 944 } 945 /* linux_setfsuid16 */ 946 case 138: { 947 struct linux_setfsuid16_args *p = params; 948 iarg[0] = p->uid; /* l_uid16_t */ 949 *n_args = 1; 950 break; 951 } 952 /* linux_setfsgid16 */ 953 case 139: { 954 struct linux_setfsgid16_args *p = params; 955 iarg[0] = p->gid; /* l_gid16_t */ 956 *n_args = 1; 957 break; 958 } 959 /* linux_llseek */ 960 case 140: { 961 struct linux_llseek_args *p = params; 962 iarg[0] = p->fd; /* l_int */ 963 iarg[1] = p->ohigh; /* l_ulong */ 964 iarg[2] = p->olow; /* l_ulong */ 965 uarg[3] = (intptr_t) p->res; /* l_loff_t * */ 966 iarg[4] = p->whence; /* l_uint */ 967 *n_args = 5; 968 break; 969 } 970 /* linux_getdents */ 971 case 141: { 972 struct linux_getdents_args *p = params; 973 iarg[0] = p->fd; /* l_uint */ 974 uarg[1] = (intptr_t) p->dent; /* void * */ 975 iarg[2] = p->count; /* l_uint */ 976 *n_args = 3; 977 break; 978 } 979 /* linux_select */ 980 case 142: { 981 struct linux_select_args *p = params; 982 iarg[0] = p->nfds; /* l_int */ 983 uarg[1] = (intptr_t) p->readfds; /* l_fd_set * */ 984 uarg[2] = (intptr_t) p->writefds; /* l_fd_set * */ 985 uarg[3] = (intptr_t) p->exceptfds; /* l_fd_set * */ 986 uarg[4] = (intptr_t) p->timeout; /* struct l_timeval * */ 987 *n_args = 5; 988 break; 989 } 990 /* flock */ 991 case 143: { 992 struct flock_args *p = params; 993 iarg[0] = p->fd; /* int */ 994 iarg[1] = p->how; /* int */ 995 *n_args = 2; 996 break; 997 } 998 /* linux_msync */ 999 case 144: { 1000 struct linux_msync_args *p = params; 1001 iarg[0] = p->addr; /* l_ulong */ 1002 iarg[1] = p->len; /* l_size_t */ 1003 iarg[2] = p->fl; /* l_int */ 1004 *n_args = 3; 1005 break; 1006 } 1007 /* readv */ 1008 case 145: { 1009 struct readv_args *p = params; 1010 iarg[0] = p->fd; /* int */ 1011 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */ 1012 uarg[2] = p->iovcnt; /* u_int */ 1013 *n_args = 3; 1014 break; 1015 } 1016 /* writev */ 1017 case 146: { 1018 struct writev_args *p = params; 1019 iarg[0] = p->fd; /* int */ 1020 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */ 1021 uarg[2] = p->iovcnt; /* u_int */ 1022 *n_args = 3; 1023 break; 1024 } 1025 /* linux_getsid */ 1026 case 147: { 1027 struct linux_getsid_args *p = params; 1028 iarg[0] = p->pid; /* l_pid_t */ 1029 *n_args = 1; 1030 break; 1031 } 1032 /* linux_fdatasync */ 1033 case 148: { 1034 struct linux_fdatasync_args *p = params; 1035 iarg[0] = p->fd; /* l_uint */ 1036 *n_args = 1; 1037 break; 1038 } 1039 /* linux_sysctl */ 1040 case 149: { 1041 struct linux_sysctl_args *p = params; 1042 uarg[0] = (intptr_t) p->args; /* struct l___sysctl_args * */ 1043 *n_args = 1; 1044 break; 1045 } 1046 /* mlock */ 1047 case 150: { 1048 struct mlock_args *p = params; 1049 uarg[0] = (intptr_t) p->addr; /* const void * */ 1050 uarg[1] = p->len; /* size_t */ 1051 *n_args = 2; 1052 break; 1053 } 1054 /* munlock */ 1055 case 151: { 1056 struct munlock_args *p = params; 1057 uarg[0] = (intptr_t) p->addr; /* const void * */ 1058 uarg[1] = p->len; /* size_t */ 1059 *n_args = 2; 1060 break; 1061 } 1062 /* mlockall */ 1063 case 152: { 1064 struct mlockall_args *p = params; 1065 iarg[0] = p->how; /* int */ 1066 *n_args = 1; 1067 break; 1068 } 1069 /* munlockall */ 1070 case 153: { 1071 *n_args = 0; 1072 break; 1073 } 1074 /* linux_sched_setparam */ 1075 case 154: { 1076 struct linux_sched_setparam_args *p = params; 1077 iarg[0] = p->pid; /* l_pid_t */ 1078 uarg[1] = (intptr_t) p->param; /* struct sched_param * */ 1079 *n_args = 2; 1080 break; 1081 } 1082 /* linux_sched_getparam */ 1083 case 155: { 1084 struct linux_sched_getparam_args *p = params; 1085 iarg[0] = p->pid; /* l_pid_t */ 1086 uarg[1] = (intptr_t) p->param; /* struct sched_param * */ 1087 *n_args = 2; 1088 break; 1089 } 1090 /* linux_sched_setscheduler */ 1091 case 156: { 1092 struct linux_sched_setscheduler_args *p = params; 1093 iarg[0] = p->pid; /* l_pid_t */ 1094 iarg[1] = p->policy; /* l_int */ 1095 uarg[2] = (intptr_t) p->param; /* struct sched_param * */ 1096 *n_args = 3; 1097 break; 1098 } 1099 /* linux_sched_getscheduler */ 1100 case 157: { 1101 struct linux_sched_getscheduler_args *p = params; 1102 iarg[0] = p->pid; /* l_pid_t */ 1103 *n_args = 1; 1104 break; 1105 } 1106 /* sched_yield */ 1107 case 158: { 1108 *n_args = 0; 1109 break; 1110 } 1111 /* linux_sched_get_priority_max */ 1112 case 159: { 1113 struct linux_sched_get_priority_max_args *p = params; 1114 iarg[0] = p->policy; /* l_int */ 1115 *n_args = 1; 1116 break; 1117 } 1118 /* linux_sched_get_priority_min */ 1119 case 160: { 1120 struct linux_sched_get_priority_min_args *p = params; 1121 iarg[0] = p->policy; /* l_int */ 1122 *n_args = 1; 1123 break; 1124 } 1125 /* linux_sched_rr_get_interval */ 1126 case 161: { 1127 struct linux_sched_rr_get_interval_args *p = params; 1128 iarg[0] = p->pid; /* l_pid_t */ 1129 uarg[1] = (intptr_t) p->interval; /* struct l_timespec * */ 1130 *n_args = 2; 1131 break; 1132 } 1133 /* linux_nanosleep */ 1134 case 162: { 1135 struct linux_nanosleep_args *p = params; 1136 uarg[0] = (intptr_t) p->rqtp; /* const struct l_timespec * */ 1137 uarg[1] = (intptr_t) p->rmtp; /* struct l_timespec * */ 1138 *n_args = 2; 1139 break; 1140 } 1141 /* linux_mremap */ 1142 case 163: { 1143 struct linux_mremap_args *p = params; 1144 iarg[0] = p->addr; /* l_ulong */ 1145 iarg[1] = p->old_len; /* l_ulong */ 1146 iarg[2] = p->new_len; /* l_ulong */ 1147 iarg[3] = p->flags; /* l_ulong */ 1148 iarg[4] = p->new_addr; /* l_ulong */ 1149 *n_args = 5; 1150 break; 1151 } 1152 /* linux_setresuid16 */ 1153 case 164: { 1154 struct linux_setresuid16_args *p = params; 1155 iarg[0] = p->ruid; /* l_uid16_t */ 1156 iarg[1] = p->euid; /* l_uid16_t */ 1157 iarg[2] = p->suid; /* l_uid16_t */ 1158 *n_args = 3; 1159 break; 1160 } 1161 /* linux_getresuid16 */ 1162 case 165: { 1163 struct linux_getresuid16_args *p = params; 1164 uarg[0] = (intptr_t) p->ruid; /* l_uid16_t * */ 1165 uarg[1] = (intptr_t) p->euid; /* l_uid16_t * */ 1166 uarg[2] = (intptr_t) p->suid; /* l_uid16_t * */ 1167 *n_args = 3; 1168 break; 1169 } 1170 /* linux_vm86 */ 1171 case 166: { 1172 *n_args = 0; 1173 break; 1174 } 1175 /* poll */ 1176 case 168: { 1177 struct poll_args *p = params; 1178 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */ 1179 uarg[1] = p->nfds; /* unsigned int */ 1180 iarg[2] = p->timeout; /* long */ 1181 *n_args = 3; 1182 break; 1183 } 1184 /* linux_setresgid16 */ 1185 case 170: { 1186 struct linux_setresgid16_args *p = params; 1187 iarg[0] = p->rgid; /* l_gid16_t */ 1188 iarg[1] = p->egid; /* l_gid16_t */ 1189 iarg[2] = p->sgid; /* l_gid16_t */ 1190 *n_args = 3; 1191 break; 1192 } 1193 /* linux_getresgid16 */ 1194 case 171: { 1195 struct linux_getresgid16_args *p = params; 1196 uarg[0] = (intptr_t) p->rgid; /* l_gid16_t * */ 1197 uarg[1] = (intptr_t) p->egid; /* l_gid16_t * */ 1198 uarg[2] = (intptr_t) p->sgid; /* l_gid16_t * */ 1199 *n_args = 3; 1200 break; 1201 } 1202 /* linux_prctl */ 1203 case 172: { 1204 struct linux_prctl_args *p = params; 1205 iarg[0] = p->option; /* l_int */ 1206 iarg[1] = p->arg2; /* l_int */ 1207 iarg[2] = p->arg3; /* l_int */ 1208 iarg[3] = p->arg4; /* l_int */ 1209 iarg[4] = p->arg5; /* l_int */ 1210 *n_args = 5; 1211 break; 1212 } 1213 /* linux_rt_sigreturn */ 1214 case 173: { 1215 struct linux_rt_sigreturn_args *p = params; 1216 uarg[0] = (intptr_t) p->ucp; /* struct l_ucontext * */ 1217 *n_args = 1; 1218 break; 1219 } 1220 /* linux_rt_sigaction */ 1221 case 174: { 1222 struct linux_rt_sigaction_args *p = params; 1223 iarg[0] = p->sig; /* l_int */ 1224 uarg[1] = (intptr_t) p->act; /* l_sigaction_t * */ 1225 uarg[2] = (intptr_t) p->oact; /* l_sigaction_t * */ 1226 iarg[3] = p->sigsetsize; /* l_size_t */ 1227 *n_args = 4; 1228 break; 1229 } 1230 /* linux_rt_sigprocmask */ 1231 case 175: { 1232 struct linux_rt_sigprocmask_args *p = params; 1233 iarg[0] = p->how; /* l_int */ 1234 uarg[1] = (intptr_t) p->mask; /* l_sigset_t * */ 1235 uarg[2] = (intptr_t) p->omask; /* l_sigset_t * */ 1236 iarg[3] = p->sigsetsize; /* l_size_t */ 1237 *n_args = 4; 1238 break; 1239 } 1240 /* linux_rt_sigpending */ 1241 case 176: { 1242 struct linux_rt_sigpending_args *p = params; 1243 uarg[0] = (intptr_t) p->set; /* l_sigset_t * */ 1244 iarg[1] = p->sigsetsize; /* l_size_t */ 1245 *n_args = 2; 1246 break; 1247 } 1248 /* linux_rt_sigtimedwait */ 1249 case 177: { 1250 struct linux_rt_sigtimedwait_args *p = params; 1251 uarg[0] = (intptr_t) p->mask; /* l_sigset_t * */ 1252 uarg[1] = (intptr_t) p->ptr; /* l_siginfo_t * */ 1253 uarg[2] = (intptr_t) p->timeout; /* struct l_timeval * */ 1254 iarg[3] = p->sigsetsize; /* l_size_t */ 1255 *n_args = 4; 1256 break; 1257 } 1258 /* linux_rt_sigqueueinfo */ 1259 case 178: { 1260 struct linux_rt_sigqueueinfo_args *p = params; 1261 iarg[0] = p->pid; /* l_pid_t */ 1262 iarg[1] = p->sig; /* l_int */ 1263 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */ 1264 *n_args = 3; 1265 break; 1266 } 1267 /* linux_rt_sigsuspend */ 1268 case 179: { 1269 struct linux_rt_sigsuspend_args *p = params; 1270 uarg[0] = (intptr_t) p->newset; /* l_sigset_t * */ 1271 iarg[1] = p->sigsetsize; /* l_size_t */ 1272 *n_args = 2; 1273 break; 1274 } 1275 /* linux_pread */ 1276 case 180: { 1277 struct linux_pread_args *p = params; 1278 iarg[0] = p->fd; /* l_uint */ 1279 uarg[1] = (intptr_t) p->buf; /* char * */ 1280 iarg[2] = p->nbyte; /* l_size_t */ 1281 iarg[3] = p->offset; /* l_loff_t */ 1282 *n_args = 4; 1283 break; 1284 } 1285 /* linux_pwrite */ 1286 case 181: { 1287 struct linux_pwrite_args *p = params; 1288 iarg[0] = p->fd; /* l_uint */ 1289 uarg[1] = (intptr_t) p->buf; /* char * */ 1290 iarg[2] = p->nbyte; /* l_size_t */ 1291 iarg[3] = p->offset; /* l_loff_t */ 1292 *n_args = 4; 1293 break; 1294 } 1295 /* linux_chown16 */ 1296 case 182: { 1297 struct linux_chown16_args *p = params; 1298 uarg[0] = (intptr_t) p->path; /* char * */ 1299 iarg[1] = p->uid; /* l_uid16_t */ 1300 iarg[2] = p->gid; /* l_gid16_t */ 1301 *n_args = 3; 1302 break; 1303 } 1304 /* linux_getcwd */ 1305 case 183: { 1306 struct linux_getcwd_args *p = params; 1307 uarg[0] = (intptr_t) p->buf; /* char * */ 1308 iarg[1] = p->bufsize; /* l_ulong */ 1309 *n_args = 2; 1310 break; 1311 } 1312 /* linux_capget */ 1313 case 184: { 1314 struct linux_capget_args *p = params; 1315 uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */ 1316 uarg[1] = (intptr_t) p->datap; /* struct l_user_cap_data * */ 1317 *n_args = 2; 1318 break; 1319 } 1320 /* linux_capset */ 1321 case 185: { 1322 struct linux_capset_args *p = params; 1323 uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */ 1324 uarg[1] = (intptr_t) p->datap; /* struct l_user_cap_data * */ 1325 *n_args = 2; 1326 break; 1327 } 1328 /* linux_sigaltstack */ 1329 case 186: { 1330 struct linux_sigaltstack_args *p = params; 1331 uarg[0] = (intptr_t) p->uss; /* l_stack_t * */ 1332 uarg[1] = (intptr_t) p->uoss; /* l_stack_t * */ 1333 *n_args = 2; 1334 break; 1335 } 1336 /* linux_sendfile */ 1337 case 187: { 1338 *n_args = 0; 1339 break; 1340 } 1341 /* linux_vfork */ 1342 case 190: { 1343 *n_args = 0; 1344 break; 1345 } 1346 /* linux_getrlimit */ 1347 case 191: { 1348 struct linux_getrlimit_args *p = params; 1349 iarg[0] = p->resource; /* l_uint */ 1350 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */ 1351 *n_args = 2; 1352 break; 1353 } 1354 /* linux_mmap2 */ 1355 case 192: { 1356 struct linux_mmap2_args *p = params; 1357 iarg[0] = p->addr; /* l_ulong */ 1358 iarg[1] = p->len; /* l_ulong */ 1359 iarg[2] = p->prot; /* l_ulong */ 1360 iarg[3] = p->flags; /* l_ulong */ 1361 iarg[4] = p->fd; /* l_ulong */ 1362 iarg[5] = p->pgoff; /* l_ulong */ 1363 *n_args = 6; 1364 break; 1365 } 1366 /* linux_truncate64 */ 1367 case 193: { 1368 struct linux_truncate64_args *p = params; 1369 uarg[0] = (intptr_t) p->path; /* char * */ 1370 iarg[1] = p->length; /* l_loff_t */ 1371 *n_args = 2; 1372 break; 1373 } 1374 /* linux_ftruncate64 */ 1375 case 194: { 1376 struct linux_ftruncate64_args *p = params; 1377 iarg[0] = p->fd; /* l_uint */ 1378 iarg[1] = p->length; /* l_loff_t */ 1379 *n_args = 2; 1380 break; 1381 } 1382 /* linux_stat64 */ 1383 case 195: { 1384 struct linux_stat64_args *p = params; 1385 uarg[0] = (intptr_t) p->filename; /* const char * */ 1386 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */ 1387 *n_args = 2; 1388 break; 1389 } 1390 /* linux_lstat64 */ 1391 case 196: { 1392 struct linux_lstat64_args *p = params; 1393 uarg[0] = (intptr_t) p->filename; /* const char * */ 1394 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */ 1395 *n_args = 2; 1396 break; 1397 } 1398 /* linux_fstat64 */ 1399 case 197: { 1400 struct linux_fstat64_args *p = params; 1401 iarg[0] = p->fd; /* l_int */ 1402 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */ 1403 *n_args = 2; 1404 break; 1405 } 1406 /* linux_lchown */ 1407 case 198: { 1408 struct linux_lchown_args *p = params; 1409 uarg[0] = (intptr_t) p->path; /* char * */ 1410 iarg[1] = p->uid; /* l_uid_t */ 1411 iarg[2] = p->gid; /* l_gid_t */ 1412 *n_args = 3; 1413 break; 1414 } 1415 /* linux_getuid */ 1416 case 199: { 1417 *n_args = 0; 1418 break; 1419 } 1420 /* linux_getgid */ 1421 case 200: { 1422 *n_args = 0; 1423 break; 1424 } 1425 /* geteuid */ 1426 case 201: { 1427 *n_args = 0; 1428 break; 1429 } 1430 /* getegid */ 1431 case 202: { 1432 *n_args = 0; 1433 break; 1434 } 1435 /* setreuid */ 1436 case 203: { 1437 struct setreuid_args *p = params; 1438 uarg[0] = p->ruid; /* uid_t */ 1439 uarg[1] = p->euid; /* uid_t */ 1440 *n_args = 2; 1441 break; 1442 } 1443 /* setregid */ 1444 case 204: { 1445 struct setregid_args *p = params; 1446 iarg[0] = p->rgid; /* gid_t */ 1447 iarg[1] = p->egid; /* gid_t */ 1448 *n_args = 2; 1449 break; 1450 } 1451 /* linux_getgroups */ 1452 case 205: { 1453 struct linux_getgroups_args *p = params; 1454 iarg[0] = p->gidsetsize; /* l_int */ 1455 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */ 1456 *n_args = 2; 1457 break; 1458 } 1459 /* linux_setgroups */ 1460 case 206: { 1461 struct linux_setgroups_args *p = params; 1462 iarg[0] = p->gidsetsize; /* l_int */ 1463 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */ 1464 *n_args = 2; 1465 break; 1466 } 1467 /* fchown */ 1468 case 207: { 1469 *n_args = 0; 1470 break; 1471 } 1472 /* setresuid */ 1473 case 208: { 1474 struct setresuid_args *p = params; 1475 uarg[0] = p->ruid; /* uid_t */ 1476 uarg[1] = p->euid; /* uid_t */ 1477 uarg[2] = p->suid; /* uid_t */ 1478 *n_args = 3; 1479 break; 1480 } 1481 /* getresuid */ 1482 case 209: { 1483 struct getresuid_args *p = params; 1484 uarg[0] = (intptr_t) p->ruid; /* uid_t * */ 1485 uarg[1] = (intptr_t) p->euid; /* uid_t * */ 1486 uarg[2] = (intptr_t) p->suid; /* uid_t * */ 1487 *n_args = 3; 1488 break; 1489 } 1490 /* setresgid */ 1491 case 210: { 1492 struct setresgid_args *p = params; 1493 iarg[0] = p->rgid; /* gid_t */ 1494 iarg[1] = p->egid; /* gid_t */ 1495 iarg[2] = p->sgid; /* gid_t */ 1496 *n_args = 3; 1497 break; 1498 } 1499 /* getresgid */ 1500 case 211: { 1501 struct getresgid_args *p = params; 1502 uarg[0] = (intptr_t) p->rgid; /* gid_t * */ 1503 uarg[1] = (intptr_t) p->egid; /* gid_t * */ 1504 uarg[2] = (intptr_t) p->sgid; /* gid_t * */ 1505 *n_args = 3; 1506 break; 1507 } 1508 /* linux_chown */ 1509 case 212: { 1510 struct linux_chown_args *p = params; 1511 uarg[0] = (intptr_t) p->path; /* char * */ 1512 iarg[1] = p->uid; /* l_uid_t */ 1513 iarg[2] = p->gid; /* l_gid_t */ 1514 *n_args = 3; 1515 break; 1516 } 1517 /* setuid */ 1518 case 213: { 1519 struct setuid_args *p = params; 1520 uarg[0] = p->uid; /* uid_t */ 1521 *n_args = 1; 1522 break; 1523 } 1524 /* setgid */ 1525 case 214: { 1526 struct setgid_args *p = params; 1527 iarg[0] = p->gid; /* gid_t */ 1528 *n_args = 1; 1529 break; 1530 } 1531 /* linux_setfsuid */ 1532 case 215: { 1533 struct linux_setfsuid_args *p = params; 1534 iarg[0] = p->uid; /* l_uid_t */ 1535 *n_args = 1; 1536 break; 1537 } 1538 /* linux_setfsgid */ 1539 case 216: { 1540 struct linux_setfsgid_args *p = params; 1541 iarg[0] = p->gid; /* l_gid_t */ 1542 *n_args = 1; 1543 break; 1544 } 1545 /* linux_pivot_root */ 1546 case 217: { 1547 struct linux_pivot_root_args *p = params; 1548 uarg[0] = (intptr_t) p->new_root; /* char * */ 1549 uarg[1] = (intptr_t) p->put_old; /* char * */ 1550 *n_args = 2; 1551 break; 1552 } 1553 /* linux_mincore */ 1554 case 218: { 1555 struct linux_mincore_args *p = params; 1556 iarg[0] = p->start; /* l_ulong */ 1557 iarg[1] = p->len; /* l_size_t */ 1558 uarg[2] = (intptr_t) p->vec; /* u_char * */ 1559 *n_args = 3; 1560 break; 1561 } 1562 /* madvise */ 1563 case 219: { 1564 struct madvise_args *p = params; 1565 uarg[0] = (intptr_t) p->addr; /* void * */ 1566 uarg[1] = p->len; /* size_t */ 1567 iarg[2] = p->behav; /* int */ 1568 *n_args = 3; 1569 break; 1570 } 1571 /* linux_getdents64 */ 1572 case 220: { 1573 struct linux_getdents64_args *p = params; 1574 iarg[0] = p->fd; /* l_uint */ 1575 uarg[1] = (intptr_t) p->dirent; /* void * */ 1576 iarg[2] = p->count; /* l_uint */ 1577 *n_args = 3; 1578 break; 1579 } 1580 /* linux_fcntl64 */ 1581 case 221: { 1582 struct linux_fcntl64_args *p = params; 1583 iarg[0] = p->fd; /* l_uint */ 1584 iarg[1] = p->cmd; /* l_uint */ 1585 iarg[2] = p->arg; /* l_ulong */ 1586 *n_args = 3; 1587 break; 1588 } 1589 /* linux_gettid */ 1590 case 224: { 1591 *n_args = 0; 1592 break; 1593 } 1594 /* linux_setxattr */ 1595 case 226: { 1596 *n_args = 0; 1597 break; 1598 } 1599 /* linux_lsetxattr */ 1600 case 227: { 1601 *n_args = 0; 1602 break; 1603 } 1604 /* linux_fsetxattr */ 1605 case 228: { 1606 *n_args = 0; 1607 break; 1608 } 1609 /* linux_getxattr */ 1610 case 229: { 1611 *n_args = 0; 1612 break; 1613 } 1614 /* linux_lgetxattr */ 1615 case 230: { 1616 *n_args = 0; 1617 break; 1618 } 1619 /* linux_fgetxattr */ 1620 case 231: { 1621 *n_args = 0; 1622 break; 1623 } 1624 /* linux_listxattr */ 1625 case 232: { 1626 *n_args = 0; 1627 break; 1628 } 1629 /* linux_llistxattr */ 1630 case 233: { 1631 *n_args = 0; 1632 break; 1633 } 1634 /* linux_flistxattr */ 1635 case 234: { 1636 *n_args = 0; 1637 break; 1638 } 1639 /* linux_removexattr */ 1640 case 235: { 1641 *n_args = 0; 1642 break; 1643 } 1644 /* linux_lremovexattr */ 1645 case 236: { 1646 *n_args = 0; 1647 break; 1648 } 1649 /* linux_fremovexattr */ 1650 case 237: { 1651 *n_args = 0; 1652 break; 1653 } 1654 /* linux_tkill */ 1655 case 238: { 1656 struct linux_tkill_args *p = params; 1657 iarg[0] = p->tid; /* int */ 1658 iarg[1] = p->sig; /* int */ 1659 *n_args = 2; 1660 break; 1661 } 1662 /* linux_sys_futex */ 1663 case 240: { 1664 struct linux_sys_futex_args *p = params; 1665 uarg[0] = (intptr_t) p->uaddr; /* void * */ 1666 iarg[1] = p->op; /* int */ 1667 uarg[2] = p->val; /* uint32_t */ 1668 uarg[3] = (intptr_t) p->timeout; /* struct l_timespec * */ 1669 uarg[4] = (intptr_t) p->uaddr2; /* uint32_t * */ 1670 uarg[5] = p->val3; /* uint32_t */ 1671 *n_args = 6; 1672 break; 1673 } 1674 /* linux_sched_setaffinity */ 1675 case 241: { 1676 struct linux_sched_setaffinity_args *p = params; 1677 iarg[0] = p->pid; /* l_pid_t */ 1678 iarg[1] = p->len; /* l_uint */ 1679 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */ 1680 *n_args = 3; 1681 break; 1682 } 1683 /* linux_sched_getaffinity */ 1684 case 242: { 1685 struct linux_sched_getaffinity_args *p = params; 1686 iarg[0] = p->pid; /* l_pid_t */ 1687 iarg[1] = p->len; /* l_uint */ 1688 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */ 1689 *n_args = 3; 1690 break; 1691 } 1692 /* linux_set_thread_area */ 1693 case 243: { 1694 struct linux_set_thread_area_args *p = params; 1695 uarg[0] = (intptr_t) p->desc; /* struct l_user_desc * */ 1696 *n_args = 1; 1697 break; 1698 } 1699 /* linux_get_thread_area */ 1700 case 244: { 1701 struct linux_get_thread_area_args *p = params; 1702 uarg[0] = (intptr_t) p->desc; /* struct l_user_desc * */ 1703 *n_args = 1; 1704 break; 1705 } 1706 /* linux_fadvise64 */ 1707 case 250: { 1708 struct linux_fadvise64_args *p = params; 1709 iarg[0] = p->fd; /* int */ 1710 iarg[1] = p->offset; /* l_loff_t */ 1711 iarg[2] = p->len; /* l_size_t */ 1712 iarg[3] = p->advice; /* int */ 1713 *n_args = 4; 1714 break; 1715 } 1716 /* linux_exit_group */ 1717 case 252: { 1718 struct linux_exit_group_args *p = params; 1719 iarg[0] = p->error_code; /* int */ 1720 *n_args = 1; 1721 break; 1722 } 1723 /* linux_lookup_dcookie */ 1724 case 253: { 1725 *n_args = 0; 1726 break; 1727 } 1728 /* linux_epoll_create */ 1729 case 254: { 1730 struct linux_epoll_create_args *p = params; 1731 iarg[0] = p->size; /* l_int */ 1732 *n_args = 1; 1733 break; 1734 } 1735 /* linux_epoll_ctl */ 1736 case 255: { 1737 struct linux_epoll_ctl_args *p = params; 1738 iarg[0] = p->epfd; /* l_int */ 1739 iarg[1] = p->op; /* l_int */ 1740 iarg[2] = p->fd; /* l_int */ 1741 uarg[3] = (intptr_t) p->event; /* struct epoll_event * */ 1742 *n_args = 4; 1743 break; 1744 } 1745 /* linux_epoll_wait */ 1746 case 256: { 1747 struct linux_epoll_wait_args *p = params; 1748 iarg[0] = p->epfd; /* l_int */ 1749 uarg[1] = (intptr_t) p->events; /* struct epoll_event * */ 1750 iarg[2] = p->maxevents; /* l_int */ 1751 iarg[3] = p->timeout; /* l_int */ 1752 *n_args = 4; 1753 break; 1754 } 1755 /* linux_remap_file_pages */ 1756 case 257: { 1757 *n_args = 0; 1758 break; 1759 } 1760 /* linux_set_tid_address */ 1761 case 258: { 1762 struct linux_set_tid_address_args *p = params; 1763 uarg[0] = (intptr_t) p->tidptr; /* int * */ 1764 *n_args = 1; 1765 break; 1766 } 1767 /* linux_timer_create */ 1768 case 259: { 1769 struct linux_timer_create_args *p = params; 1770 iarg[0] = p->clock_id; /* clockid_t */ 1771 uarg[1] = (intptr_t) p->evp; /* struct sigevent * */ 1772 uarg[2] = (intptr_t) p->timerid; /* l_timer_t * */ 1773 *n_args = 3; 1774 break; 1775 } 1776 /* linux_timer_settime */ 1777 case 260: { 1778 struct linux_timer_settime_args *p = params; 1779 iarg[0] = p->timerid; /* l_timer_t */ 1780 iarg[1] = p->flags; /* l_int */ 1781 uarg[2] = (intptr_t) p->new; /* const struct itimerspec * */ 1782 uarg[3] = (intptr_t) p->old; /* struct itimerspec * */ 1783 *n_args = 4; 1784 break; 1785 } 1786 /* linux_timer_gettime */ 1787 case 261: { 1788 struct linux_timer_gettime_args *p = params; 1789 iarg[0] = p->timerid; /* l_timer_t */ 1790 uarg[1] = (intptr_t) p->setting; /* struct itimerspec * */ 1791 *n_args = 2; 1792 break; 1793 } 1794 /* linux_timer_getoverrun */ 1795 case 262: { 1796 struct linux_timer_getoverrun_args *p = params; 1797 iarg[0] = p->timerid; /* l_timer_t */ 1798 *n_args = 1; 1799 break; 1800 } 1801 /* linux_timer_delete */ 1802 case 263: { 1803 struct linux_timer_delete_args *p = params; 1804 iarg[0] = p->timerid; /* l_timer_t */ 1805 *n_args = 1; 1806 break; 1807 } 1808 /* linux_clock_settime */ 1809 case 264: { 1810 struct linux_clock_settime_args *p = params; 1811 iarg[0] = p->which; /* clockid_t */ 1812 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */ 1813 *n_args = 2; 1814 break; 1815 } 1816 /* linux_clock_gettime */ 1817 case 265: { 1818 struct linux_clock_gettime_args *p = params; 1819 iarg[0] = p->which; /* clockid_t */ 1820 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */ 1821 *n_args = 2; 1822 break; 1823 } 1824 /* linux_clock_getres */ 1825 case 266: { 1826 struct linux_clock_getres_args *p = params; 1827 iarg[0] = p->which; /* clockid_t */ 1828 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */ 1829 *n_args = 2; 1830 break; 1831 } 1832 /* linux_clock_nanosleep */ 1833 case 267: { 1834 struct linux_clock_nanosleep_args *p = params; 1835 iarg[0] = p->which; /* clockid_t */ 1836 iarg[1] = p->flags; /* int */ 1837 uarg[2] = (intptr_t) p->rqtp; /* struct l_timespec * */ 1838 uarg[3] = (intptr_t) p->rmtp; /* struct l_timespec * */ 1839 *n_args = 4; 1840 break; 1841 } 1842 /* linux_statfs64 */ 1843 case 268: { 1844 struct linux_statfs64_args *p = params; 1845 uarg[0] = (intptr_t) p->path; /* char * */ 1846 uarg[1] = p->bufsize; /* size_t */ 1847 uarg[2] = (intptr_t) p->buf; /* struct l_statfs64_buf * */ 1848 *n_args = 3; 1849 break; 1850 } 1851 /* linux_fstatfs64 */ 1852 case 269: { 1853 struct linux_fstatfs64_args *p = params; 1854 iarg[0] = p->fd; /* l_uint */ 1855 uarg[1] = p->bufsize; /* size_t */ 1856 uarg[2] = (intptr_t) p->buf; /* struct l_statfs64_buf * */ 1857 *n_args = 3; 1858 break; 1859 } 1860 /* linux_tgkill */ 1861 case 270: { 1862 struct linux_tgkill_args *p = params; 1863 iarg[0] = p->tgid; /* int */ 1864 iarg[1] = p->pid; /* int */ 1865 iarg[2] = p->sig; /* int */ 1866 *n_args = 3; 1867 break; 1868 } 1869 /* linux_utimes */ 1870 case 271: { 1871 struct linux_utimes_args *p = params; 1872 uarg[0] = (intptr_t) p->fname; /* char * */ 1873 uarg[1] = (intptr_t) p->tptr; /* struct l_timeval * */ 1874 *n_args = 2; 1875 break; 1876 } 1877 /* linux_fadvise64_64 */ 1878 case 272: { 1879 struct linux_fadvise64_64_args *p = params; 1880 iarg[0] = p->fd; /* int */ 1881 iarg[1] = p->offset; /* l_loff_t */ 1882 iarg[2] = p->len; /* l_loff_t */ 1883 iarg[3] = p->advice; /* int */ 1884 *n_args = 4; 1885 break; 1886 } 1887 /* linux_mbind */ 1888 case 274: { 1889 *n_args = 0; 1890 break; 1891 } 1892 /* linux_get_mempolicy */ 1893 case 275: { 1894 *n_args = 0; 1895 break; 1896 } 1897 /* linux_set_mempolicy */ 1898 case 276: { 1899 *n_args = 0; 1900 break; 1901 } 1902 /* linux_mq_open */ 1903 case 277: { 1904 struct linux_mq_open_args *p = params; 1905 uarg[0] = (intptr_t) p->name; /* const char * */ 1906 iarg[1] = p->oflag; /* int */ 1907 iarg[2] = p->mode; /* mode_t */ 1908 uarg[3] = (intptr_t) p->attr; /* struct mq_attr * */ 1909 *n_args = 4; 1910 break; 1911 } 1912 /* linux_mq_unlink */ 1913 case 278: { 1914 struct linux_mq_unlink_args *p = params; 1915 uarg[0] = (intptr_t) p->name; /* const char * */ 1916 *n_args = 1; 1917 break; 1918 } 1919 /* linux_mq_timedsend */ 1920 case 279: { 1921 struct linux_mq_timedsend_args *p = params; 1922 iarg[0] = p->mqd; /* l_mqd_t */ 1923 uarg[1] = (intptr_t) p->msg_ptr; /* const char * */ 1924 uarg[2] = p->msg_len; /* size_t */ 1925 uarg[3] = p->msg_prio; /* unsigned int */ 1926 uarg[4] = (intptr_t) p->abs_timeout; /* const struct l_timespec * */ 1927 *n_args = 5; 1928 break; 1929 } 1930 /* linux_mq_timedreceive */ 1931 case 280: { 1932 struct linux_mq_timedreceive_args *p = params; 1933 iarg[0] = p->mqd; /* l_mqd_t */ 1934 uarg[1] = (intptr_t) p->msg_ptr; /* char * */ 1935 uarg[2] = p->msg_len; /* size_t */ 1936 uarg[3] = p->msg_prio; /* unsigned int */ 1937 uarg[4] = (intptr_t) p->abs_timeout; /* const struct l_timespec * */ 1938 *n_args = 5; 1939 break; 1940 } 1941 /* linux_mq_notify */ 1942 case 281: { 1943 struct linux_mq_notify_args *p = params; 1944 iarg[0] = p->mqd; /* l_mqd_t */ 1945 uarg[1] = (intptr_t) p->abs_timeout; /* const struct l_timespec * */ 1946 *n_args = 2; 1947 break; 1948 } 1949 /* linux_mq_getsetattr */ 1950 case 282: { 1951 struct linux_mq_getsetattr_args *p = params; 1952 iarg[0] = p->mqd; /* l_mqd_t */ 1953 uarg[1] = (intptr_t) p->attr; /* const struct mq_attr * */ 1954 uarg[2] = (intptr_t) p->oattr; /* struct mq_attr * */ 1955 *n_args = 3; 1956 break; 1957 } 1958 /* linux_kexec_load */ 1959 case 283: { 1960 *n_args = 0; 1961 break; 1962 } 1963 /* linux_waitid */ 1964 case 284: { 1965 struct linux_waitid_args *p = params; 1966 iarg[0] = p->idtype; /* int */ 1967 iarg[1] = p->id; /* l_pid_t */ 1968 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */ 1969 iarg[3] = p->options; /* int */ 1970 uarg[4] = (intptr_t) p->rusage; /* void * */ 1971 *n_args = 5; 1972 break; 1973 } 1974 /* linux_add_key */ 1975 case 286: { 1976 *n_args = 0; 1977 break; 1978 } 1979 /* linux_request_key */ 1980 case 287: { 1981 *n_args = 0; 1982 break; 1983 } 1984 /* linux_keyctl */ 1985 case 288: { 1986 *n_args = 0; 1987 break; 1988 } 1989 /* linux_ioprio_set */ 1990 case 289: { 1991 *n_args = 0; 1992 break; 1993 } 1994 /* linux_ioprio_get */ 1995 case 290: { 1996 *n_args = 0; 1997 break; 1998 } 1999 /* linux_inotify_init */ 2000 case 291: { 2001 *n_args = 0; 2002 break; 2003 } 2004 /* linux_inotify_add_watch */ 2005 case 292: { 2006 *n_args = 0; 2007 break; 2008 } 2009 /* linux_inotify_rm_watch */ 2010 case 293: { 2011 *n_args = 0; 2012 break; 2013 } 2014 /* linux_migrate_pages */ 2015 case 294: { 2016 *n_args = 0; 2017 break; 2018 } 2019 /* linux_openat */ 2020 case 295: { 2021 struct linux_openat_args *p = params; 2022 iarg[0] = p->dfd; /* l_int */ 2023 uarg[1] = (intptr_t) p->filename; /* const char * */ 2024 iarg[2] = p->flags; /* l_int */ 2025 iarg[3] = p->mode; /* l_int */ 2026 *n_args = 4; 2027 break; 2028 } 2029 /* linux_mkdirat */ 2030 case 296: { 2031 struct linux_mkdirat_args *p = params; 2032 iarg[0] = p->dfd; /* l_int */ 2033 uarg[1] = (intptr_t) p->pathname; /* const char * */ 2034 iarg[2] = p->mode; /* l_int */ 2035 *n_args = 3; 2036 break; 2037 } 2038 /* linux_mknodat */ 2039 case 297: { 2040 struct linux_mknodat_args *p = params; 2041 iarg[0] = p->dfd; /* l_int */ 2042 uarg[1] = (intptr_t) p->filename; /* const char * */ 2043 iarg[2] = p->mode; /* l_int */ 2044 iarg[3] = p->dev; /* l_uint */ 2045 *n_args = 4; 2046 break; 2047 } 2048 /* linux_fchownat */ 2049 case 298: { 2050 struct linux_fchownat_args *p = params; 2051 iarg[0] = p->dfd; /* l_int */ 2052 uarg[1] = (intptr_t) p->filename; /* const char * */ 2053 iarg[2] = p->uid; /* l_uid16_t */ 2054 iarg[3] = p->gid; /* l_gid16_t */ 2055 iarg[4] = p->flag; /* l_int */ 2056 *n_args = 5; 2057 break; 2058 } 2059 /* linux_futimesat */ 2060 case 299: { 2061 struct linux_futimesat_args *p = params; 2062 iarg[0] = p->dfd; /* l_int */ 2063 uarg[1] = (intptr_t) p->filename; /* char * */ 2064 uarg[2] = (intptr_t) p->utimes; /* struct l_timeval * */ 2065 *n_args = 3; 2066 break; 2067 } 2068 /* linux_fstatat64 */ 2069 case 300: { 2070 struct linux_fstatat64_args *p = params; 2071 iarg[0] = p->dfd; /* l_int */ 2072 uarg[1] = (intptr_t) p->pathname; /* char * */ 2073 uarg[2] = (intptr_t) p->statbuf; /* struct l_stat64 * */ 2074 iarg[3] = p->flag; /* l_int */ 2075 *n_args = 4; 2076 break; 2077 } 2078 /* linux_unlinkat */ 2079 case 301: { 2080 struct linux_unlinkat_args *p = params; 2081 iarg[0] = p->dfd; /* l_int */ 2082 uarg[1] = (intptr_t) p->pathname; /* const char * */ 2083 iarg[2] = p->flag; /* l_int */ 2084 *n_args = 3; 2085 break; 2086 } 2087 /* linux_renameat */ 2088 case 302: { 2089 struct linux_renameat_args *p = params; 2090 iarg[0] = p->olddfd; /* l_int */ 2091 uarg[1] = (intptr_t) p->oldname; /* const char * */ 2092 iarg[2] = p->newdfd; /* l_int */ 2093 uarg[3] = (intptr_t) p->newname; /* const char * */ 2094 *n_args = 4; 2095 break; 2096 } 2097 /* linux_linkat */ 2098 case 303: { 2099 struct linux_linkat_args *p = params; 2100 iarg[0] = p->olddfd; /* l_int */ 2101 uarg[1] = (intptr_t) p->oldname; /* const char * */ 2102 iarg[2] = p->newdfd; /* l_int */ 2103 uarg[3] = (intptr_t) p->newname; /* const char * */ 2104 iarg[4] = p->flag; /* l_int */ 2105 *n_args = 5; 2106 break; 2107 } 2108 /* linux_symlinkat */ 2109 case 304: { 2110 struct linux_symlinkat_args *p = params; 2111 uarg[0] = (intptr_t) p->oldname; /* const char * */ 2112 iarg[1] = p->newdfd; /* l_int */ 2113 uarg[2] = (intptr_t) p->newname; /* const char * */ 2114 *n_args = 3; 2115 break; 2116 } 2117 /* linux_readlinkat */ 2118 case 305: { 2119 struct linux_readlinkat_args *p = params; 2120 iarg[0] = p->dfd; /* l_int */ 2121 uarg[1] = (intptr_t) p->path; /* const char * */ 2122 uarg[2] = (intptr_t) p->buf; /* char * */ 2123 iarg[3] = p->bufsiz; /* l_int */ 2124 *n_args = 4; 2125 break; 2126 } 2127 /* linux_fchmodat */ 2128 case 306: { 2129 struct linux_fchmodat_args *p = params; 2130 iarg[0] = p->dfd; /* l_int */ 2131 uarg[1] = (intptr_t) p->filename; /* const char * */ 2132 iarg[2] = p->mode; /* l_mode_t */ 2133 *n_args = 3; 2134 break; 2135 } 2136 /* linux_faccessat */ 2137 case 307: { 2138 struct linux_faccessat_args *p = params; 2139 iarg[0] = p->dfd; /* l_int */ 2140 uarg[1] = (intptr_t) p->filename; /* const char * */ 2141 iarg[2] = p->amode; /* l_int */ 2142 *n_args = 3; 2143 break; 2144 } 2145 /* linux_pselect6 */ 2146 case 308: { 2147 struct linux_pselect6_args *p = params; 2148 iarg[0] = p->nfds; /* l_int */ 2149 uarg[1] = (intptr_t) p->readfds; /* l_fd_set * */ 2150 uarg[2] = (intptr_t) p->writefds; /* l_fd_set * */ 2151 uarg[3] = (intptr_t) p->exceptfds; /* l_fd_set * */ 2152 uarg[4] = (intptr_t) p->tsp; /* struct l_timespec * */ 2153 uarg[5] = (intptr_t) p->sig; /* l_uintptr_t * */ 2154 *n_args = 6; 2155 break; 2156 } 2157 /* linux_ppoll */ 2158 case 309: { 2159 struct linux_ppoll_args *p = params; 2160 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */ 2161 uarg[1] = p->nfds; /* uint32_t */ 2162 uarg[2] = (intptr_t) p->tsp; /* struct l_timespec * */ 2163 uarg[3] = (intptr_t) p->sset; /* l_sigset_t * */ 2164 iarg[4] = p->ssize; /* l_size_t */ 2165 *n_args = 5; 2166 break; 2167 } 2168 /* linux_unshare */ 2169 case 310: { 2170 *n_args = 0; 2171 break; 2172 } 2173 /* linux_set_robust_list */ 2174 case 311: { 2175 struct linux_set_robust_list_args *p = params; 2176 uarg[0] = (intptr_t) p->head; /* struct linux_robust_list_head * */ 2177 iarg[1] = p->len; /* l_size_t */ 2178 *n_args = 2; 2179 break; 2180 } 2181 /* linux_get_robust_list */ 2182 case 312: { 2183 struct linux_get_robust_list_args *p = params; 2184 iarg[0] = p->pid; /* l_int */ 2185 uarg[1] = (intptr_t) p->head; /* struct linux_robust_list_head ** */ 2186 uarg[2] = (intptr_t) p->len; /* l_size_t * */ 2187 *n_args = 3; 2188 break; 2189 } 2190 /* linux_splice */ 2191 case 313: { 2192 *n_args = 0; 2193 break; 2194 } 2195 /* linux_sync_file_range */ 2196 case 314: { 2197 *n_args = 0; 2198 break; 2199 } 2200 /* linux_tee */ 2201 case 315: { 2202 *n_args = 0; 2203 break; 2204 } 2205 /* linux_vmsplice */ 2206 case 316: { 2207 *n_args = 0; 2208 break; 2209 } 2210 /* linux_move_pages */ 2211 case 317: { 2212 *n_args = 0; 2213 break; 2214 } 2215 /* linux_getcpu */ 2216 case 318: { 2217 *n_args = 0; 2218 break; 2219 } 2220 /* linux_epoll_pwait */ 2221 case 319: { 2222 struct linux_epoll_pwait_args *p = params; 2223 iarg[0] = p->epfd; /* l_int */ 2224 uarg[1] = (intptr_t) p->events; /* struct epoll_event * */ 2225 iarg[2] = p->maxevents; /* l_int */ 2226 iarg[3] = p->timeout; /* l_int */ 2227 uarg[4] = (intptr_t) p->mask; /* l_sigset_t * */ 2228 iarg[5] = p->sigsetsize; /* l_size_t */ 2229 *n_args = 6; 2230 break; 2231 } 2232 /* linux_utimensat */ 2233 case 320: { 2234 struct linux_utimensat_args *p = params; 2235 iarg[0] = p->dfd; /* l_int */ 2236 uarg[1] = (intptr_t) p->pathname; /* const char * */ 2237 uarg[2] = (intptr_t) p->times; /* const struct l_timespec * */ 2238 iarg[3] = p->flags; /* l_int */ 2239 *n_args = 4; 2240 break; 2241 } 2242 /* linux_signalfd */ 2243 case 321: { 2244 *n_args = 0; 2245 break; 2246 } 2247 /* linux_timerfd_create */ 2248 case 322: { 2249 struct linux_timerfd_create_args *p = params; 2250 iarg[0] = p->clockid; /* l_int */ 2251 iarg[1] = p->flags; /* l_int */ 2252 *n_args = 2; 2253 break; 2254 } 2255 /* linux_eventfd */ 2256 case 323: { 2257 struct linux_eventfd_args *p = params; 2258 iarg[0] = p->initval; /* l_uint */ 2259 *n_args = 1; 2260 break; 2261 } 2262 /* linux_fallocate */ 2263 case 324: { 2264 struct linux_fallocate_args *p = params; 2265 iarg[0] = p->fd; /* l_int */ 2266 iarg[1] = p->mode; /* l_int */ 2267 iarg[2] = p->offset; /* l_loff_t */ 2268 iarg[3] = p->len; /* l_loff_t */ 2269 *n_args = 4; 2270 break; 2271 } 2272 /* linux_timerfd_settime */ 2273 case 325: { 2274 struct linux_timerfd_settime_args *p = params; 2275 iarg[0] = p->fd; /* l_int */ 2276 iarg[1] = p->flags; /* l_int */ 2277 uarg[2] = (intptr_t) p->new_value; /* const struct l_itimerspec * */ 2278 uarg[3] = (intptr_t) p->old_value; /* struct l_itimerspec * */ 2279 *n_args = 4; 2280 break; 2281 } 2282 /* linux_timerfd_gettime */ 2283 case 326: { 2284 struct linux_timerfd_gettime_args *p = params; 2285 iarg[0] = p->fd; /* l_int */ 2286 uarg[1] = (intptr_t) p->old_value; /* struct l_itimerspec * */ 2287 *n_args = 2; 2288 break; 2289 } 2290 /* linux_signalfd4 */ 2291 case 327: { 2292 *n_args = 0; 2293 break; 2294 } 2295 /* linux_eventfd2 */ 2296 case 328: { 2297 struct linux_eventfd2_args *p = params; 2298 iarg[0] = p->initval; /* l_uint */ 2299 iarg[1] = p->flags; /* l_int */ 2300 *n_args = 2; 2301 break; 2302 } 2303 /* linux_epoll_create1 */ 2304 case 329: { 2305 struct linux_epoll_create1_args *p = params; 2306 iarg[0] = p->flags; /* l_int */ 2307 *n_args = 1; 2308 break; 2309 } 2310 /* linux_dup3 */ 2311 case 330: { 2312 struct linux_dup3_args *p = params; 2313 iarg[0] = p->oldfd; /* l_int */ 2314 iarg[1] = p->newfd; /* l_int */ 2315 iarg[2] = p->flags; /* l_int */ 2316 *n_args = 3; 2317 break; 2318 } 2319 /* linux_pipe2 */ 2320 case 331: { 2321 struct linux_pipe2_args *p = params; 2322 uarg[0] = (intptr_t) p->pipefds; /* l_int * */ 2323 iarg[1] = p->flags; /* l_int */ 2324 *n_args = 2; 2325 break; 2326 } 2327 /* linux_inotify_init1 */ 2328 case 332: { 2329 *n_args = 0; 2330 break; 2331 } 2332 /* linux_preadv */ 2333 case 333: { 2334 struct linux_preadv_args *p = params; 2335 iarg[0] = p->fd; /* l_ulong */ 2336 uarg[1] = (intptr_t) p->vec; /* struct iovec * */ 2337 iarg[2] = p->vlen; /* l_ulong */ 2338 iarg[3] = p->pos_l; /* l_ulong */ 2339 iarg[4] = p->pos_h; /* l_ulong */ 2340 *n_args = 5; 2341 break; 2342 } 2343 /* linux_pwritev */ 2344 case 334: { 2345 struct linux_pwritev_args *p = params; 2346 iarg[0] = p->fd; /* l_ulong */ 2347 uarg[1] = (intptr_t) p->vec; /* struct iovec * */ 2348 iarg[2] = p->vlen; /* l_ulong */ 2349 iarg[3] = p->pos_l; /* l_ulong */ 2350 iarg[4] = p->pos_h; /* l_ulong */ 2351 *n_args = 5; 2352 break; 2353 } 2354 /* linux_rt_tgsigqueueinfo */ 2355 case 335: { 2356 struct linux_rt_tgsigqueueinfo_args *p = params; 2357 iarg[0] = p->tgid; /* l_pid_t */ 2358 iarg[1] = p->tid; /* l_pid_t */ 2359 iarg[2] = p->sig; /* l_int */ 2360 uarg[3] = (intptr_t) p->uinfo; /* l_siginfo_t * */ 2361 *n_args = 4; 2362 break; 2363 } 2364 /* linux_perf_event_open */ 2365 case 336: { 2366 *n_args = 0; 2367 break; 2368 } 2369 /* linux_recvmmsg */ 2370 case 337: { 2371 struct linux_recvmmsg_args *p = params; 2372 iarg[0] = p->s; /* l_int */ 2373 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */ 2374 iarg[2] = p->vlen; /* l_uint */ 2375 iarg[3] = p->flags; /* l_uint */ 2376 uarg[4] = (intptr_t) p->timeout; /* struct l_timespec * */ 2377 *n_args = 5; 2378 break; 2379 } 2380 /* linux_fanotify_init */ 2381 case 338: { 2382 *n_args = 0; 2383 break; 2384 } 2385 /* linux_fanotify_mark */ 2386 case 339: { 2387 *n_args = 0; 2388 break; 2389 } 2390 /* linux_prlimit64 */ 2391 case 340: { 2392 struct linux_prlimit64_args *p = params; 2393 iarg[0] = p->pid; /* l_pid_t */ 2394 iarg[1] = p->resource; /* l_uint */ 2395 uarg[2] = (intptr_t) p->new; /* struct rlimit * */ 2396 uarg[3] = (intptr_t) p->old; /* struct rlimit * */ 2397 *n_args = 4; 2398 break; 2399 } 2400 /* linux_name_to_handle_at */ 2401 case 341: { 2402 *n_args = 0; 2403 break; 2404 } 2405 /* linux_open_by_handle_at */ 2406 case 342: { 2407 *n_args = 0; 2408 break; 2409 } 2410 /* linux_clock_adjtime */ 2411 case 343: { 2412 *n_args = 0; 2413 break; 2414 } 2415 /* linux_syncfs */ 2416 case 344: { 2417 struct linux_syncfs_args *p = params; 2418 iarg[0] = p->fd; /* l_int */ 2419 *n_args = 1; 2420 break; 2421 } 2422 /* linux_sendmmsg */ 2423 case 345: { 2424 struct linux_sendmmsg_args *p = params; 2425 iarg[0] = p->s; /* l_int */ 2426 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */ 2427 iarg[2] = p->vlen; /* l_uint */ 2428 iarg[3] = p->flags; /* l_uint */ 2429 *n_args = 4; 2430 break; 2431 } 2432 /* linux_setns */ 2433 case 346: { 2434 *n_args = 0; 2435 break; 2436 } 2437 /* linux_process_vm_readv */ 2438 case 347: { 2439 struct linux_process_vm_readv_args *p = params; 2440 iarg[0] = p->pid; /* l_pid_t */ 2441 uarg[1] = (intptr_t) p->lvec; /* const struct iovec * */ 2442 iarg[2] = p->liovcnt; /* l_ulong */ 2443 uarg[3] = (intptr_t) p->rvec; /* const struct iovec * */ 2444 iarg[4] = p->riovcnt; /* l_ulong */ 2445 iarg[5] = p->flags; /* l_ulong */ 2446 *n_args = 6; 2447 break; 2448 } 2449 /* linux_process_vm_writev */ 2450 case 348: { 2451 struct linux_process_vm_writev_args *p = params; 2452 iarg[0] = p->pid; /* l_pid_t */ 2453 uarg[1] = (intptr_t) p->lvec; /* const struct iovec * */ 2454 iarg[2] = p->liovcnt; /* l_ulong */ 2455 uarg[3] = (intptr_t) p->rvec; /* const struct iovec * */ 2456 iarg[4] = p->riovcnt; /* l_ulong */ 2457 iarg[5] = p->flags; /* l_ulong */ 2458 *n_args = 6; 2459 break; 2460 } 2461 /* linux_kcmp */ 2462 case 349: { 2463 struct linux_kcmp_args *p = params; 2464 iarg[0] = p->pid1; /* l_pid_t */ 2465 iarg[1] = p->pid2; /* l_pid_t */ 2466 iarg[2] = p->type; /* l_int */ 2467 iarg[3] = p->idx1; /* l_ulong */ 2468 iarg[4] = p->idx; /* l_ulong */ 2469 *n_args = 5; 2470 break; 2471 } 2472 /* linux_finit_module */ 2473 case 350: { 2474 struct linux_finit_module_args *p = params; 2475 iarg[0] = p->fd; /* l_int */ 2476 uarg[1] = (intptr_t) p->uargs; /* const char * */ 2477 iarg[2] = p->flags; /* l_int */ 2478 *n_args = 3; 2479 break; 2480 } 2481 /* linux_sched_setattr */ 2482 case 351: { 2483 struct linux_sched_setattr_args *p = params; 2484 iarg[0] = p->pid; /* l_pid_t */ 2485 uarg[1] = (intptr_t) p->attr; /* void * */ 2486 iarg[2] = p->flags; /* l_uint */ 2487 *n_args = 3; 2488 break; 2489 } 2490 /* linux_sched_getattr */ 2491 case 352: { 2492 struct linux_sched_getattr_args *p = params; 2493 iarg[0] = p->pid; /* l_pid_t */ 2494 uarg[1] = (intptr_t) p->attr; /* void * */ 2495 iarg[2] = p->size; /* l_uint */ 2496 iarg[3] = p->flags; /* l_uint */ 2497 *n_args = 4; 2498 break; 2499 } 2500 /* linux_renameat2 */ 2501 case 353: { 2502 struct linux_renameat2_args *p = params; 2503 iarg[0] = p->oldfd; /* l_int */ 2504 uarg[1] = (intptr_t) p->oldname; /* const char * */ 2505 iarg[2] = p->newfd; /* l_int */ 2506 uarg[3] = (intptr_t) p->newname; /* const char * */ 2507 uarg[4] = p->flags; /* unsigned int */ 2508 *n_args = 5; 2509 break; 2510 } 2511 /* linux_seccomp */ 2512 case 354: { 2513 struct linux_seccomp_args *p = params; 2514 iarg[0] = p->op; /* l_uint */ 2515 iarg[1] = p->flags; /* l_uint */ 2516 uarg[2] = (intptr_t) p->uargs; /* const char * */ 2517 *n_args = 3; 2518 break; 2519 } 2520 /* linux_getrandom */ 2521 case 355: { 2522 struct linux_getrandom_args *p = params; 2523 uarg[0] = (intptr_t) p->buf; /* char * */ 2524 iarg[1] = p->count; /* l_size_t */ 2525 iarg[2] = p->flags; /* l_uint */ 2526 *n_args = 3; 2527 break; 2528 } 2529 /* linux_memfd_create */ 2530 case 356: { 2531 struct linux_memfd_create_args *p = params; 2532 uarg[0] = (intptr_t) p->uname_ptr; /* const char * */ 2533 iarg[1] = p->flags; /* l_uint */ 2534 *n_args = 2; 2535 break; 2536 } 2537 /* linux_bpf */ 2538 case 357: { 2539 struct linux_bpf_args *p = params; 2540 iarg[0] = p->cmd; /* l_int */ 2541 uarg[1] = (intptr_t) p->attr; /* void * */ 2542 iarg[2] = p->size; /* l_uint */ 2543 *n_args = 3; 2544 break; 2545 } 2546 /* linux_execveat */ 2547 case 358: { 2548 struct linux_execveat_args *p = params; 2549 iarg[0] = p->dfd; /* l_int */ 2550 uarg[1] = (intptr_t) p->filename; /* const char * */ 2551 uarg[2] = (intptr_t) p->argv; /* const char ** */ 2552 uarg[3] = (intptr_t) p->envp; /* const char ** */ 2553 iarg[4] = p->flags; /* l_int */ 2554 *n_args = 5; 2555 break; 2556 } 2557 /* linux_socket */ 2558 case 359: { 2559 struct linux_socket_args *p = params; 2560 iarg[0] = p->domain; /* l_int */ 2561 iarg[1] = p->type; /* l_int */ 2562 iarg[2] = p->protocol; /* l_int */ 2563 *n_args = 3; 2564 break; 2565 } 2566 /* linux_socketpair */ 2567 case 360: { 2568 struct linux_socketpair_args *p = params; 2569 iarg[0] = p->domain; /* l_int */ 2570 iarg[1] = p->type; /* l_int */ 2571 iarg[2] = p->protocol; /* l_int */ 2572 iarg[3] = p->rsv; /* l_uintptr_t */ 2573 *n_args = 4; 2574 break; 2575 } 2576 /* linux_bind */ 2577 case 361: { 2578 struct linux_bind_args *p = params; 2579 iarg[0] = p->s; /* l_int */ 2580 iarg[1] = p->name; /* l_uintptr_t */ 2581 iarg[2] = p->namelen; /* l_int */ 2582 *n_args = 3; 2583 break; 2584 } 2585 /* linux_connect */ 2586 case 362: { 2587 struct linux_connect_args *p = params; 2588 iarg[0] = p->s; /* l_int */ 2589 iarg[1] = p->name; /* l_uintptr_t */ 2590 iarg[2] = p->namelen; /* l_int */ 2591 *n_args = 3; 2592 break; 2593 } 2594 /* linux_listen */ 2595 case 363: { 2596 struct linux_listen_args *p = params; 2597 iarg[0] = p->s; /* l_int */ 2598 iarg[1] = p->backlog; /* l_int */ 2599 *n_args = 2; 2600 break; 2601 } 2602 /* linux_accept4 */ 2603 case 364: { 2604 struct linux_accept4_args *p = params; 2605 iarg[0] = p->s; /* l_int */ 2606 iarg[1] = p->addr; /* l_uintptr_t */ 2607 iarg[2] = p->namelen; /* l_uintptr_t */ 2608 iarg[3] = p->flags; /* l_int */ 2609 *n_args = 4; 2610 break; 2611 } 2612 /* linux_getsockopt */ 2613 case 365: { 2614 struct linux_getsockopt_args *p = params; 2615 iarg[0] = p->s; /* l_int */ 2616 iarg[1] = p->level; /* l_int */ 2617 iarg[2] = p->optname; /* l_int */ 2618 iarg[3] = p->optval; /* l_uintptr_t */ 2619 iarg[4] = p->optlen; /* l_uintptr_t */ 2620 *n_args = 5; 2621 break; 2622 } 2623 /* linux_setsockopt */ 2624 case 366: { 2625 struct linux_setsockopt_args *p = params; 2626 iarg[0] = p->s; /* l_int */ 2627 iarg[1] = p->level; /* l_int */ 2628 iarg[2] = p->optname; /* l_int */ 2629 iarg[3] = p->optval; /* l_uintptr_t */ 2630 iarg[4] = p->optlen; /* l_int */ 2631 *n_args = 5; 2632 break; 2633 } 2634 /* linux_getsockname */ 2635 case 367: { 2636 struct linux_getsockname_args *p = params; 2637 iarg[0] = p->s; /* l_int */ 2638 iarg[1] = p->addr; /* l_uintptr_t */ 2639 iarg[2] = p->namelen; /* l_uintptr_t */ 2640 *n_args = 3; 2641 break; 2642 } 2643 /* linux_getpeername */ 2644 case 368: { 2645 struct linux_getpeername_args *p = params; 2646 iarg[0] = p->s; /* l_int */ 2647 iarg[1] = p->addr; /* l_uintptr_t */ 2648 iarg[2] = p->namelen; /* l_uintptr_t */ 2649 *n_args = 3; 2650 break; 2651 } 2652 /* linux_sendto */ 2653 case 369: { 2654 struct linux_sendto_args *p = params; 2655 iarg[0] = p->s; /* l_int */ 2656 iarg[1] = p->msg; /* l_uintptr_t */ 2657 iarg[2] = p->len; /* l_int */ 2658 iarg[3] = p->flags; /* l_int */ 2659 iarg[4] = p->to; /* l_uintptr_t */ 2660 iarg[5] = p->tolen; /* l_int */ 2661 *n_args = 6; 2662 break; 2663 } 2664 /* linux_sendmsg */ 2665 case 370: { 2666 struct linux_sendmsg_args *p = params; 2667 iarg[0] = p->s; /* l_int */ 2668 iarg[1] = p->msg; /* l_uintptr_t */ 2669 iarg[2] = p->flags; /* l_int */ 2670 *n_args = 3; 2671 break; 2672 } 2673 /* linux_recvfrom */ 2674 case 371: { 2675 struct linux_recvfrom_args *p = params; 2676 iarg[0] = p->s; /* l_int */ 2677 iarg[1] = p->buf; /* l_uintptr_t */ 2678 iarg[2] = p->len; /* l_size_t */ 2679 iarg[3] = p->flags; /* l_int */ 2680 iarg[4] = p->from; /* l_uintptr_t */ 2681 iarg[5] = p->fromlen; /* l_uintptr_t */ 2682 *n_args = 6; 2683 break; 2684 } 2685 /* linux_recvmsg */ 2686 case 372: { 2687 struct linux_recvmsg_args *p = params; 2688 iarg[0] = p->s; /* l_int */ 2689 iarg[1] = p->msg; /* l_uintptr_t */ 2690 iarg[2] = p->flags; /* l_int */ 2691 *n_args = 3; 2692 break; 2693 } 2694 /* linux_shutdown */ 2695 case 373: { 2696 struct linux_shutdown_args *p = params; 2697 iarg[0] = p->s; /* l_int */ 2698 iarg[1] = p->how; /* l_int */ 2699 *n_args = 2; 2700 break; 2701 } 2702 /* linux_userfaultfd */ 2703 case 374: { 2704 struct linux_userfaultfd_args *p = params; 2705 iarg[0] = p->flags; /* l_int */ 2706 *n_args = 1; 2707 break; 2708 } 2709 /* linux_membarrier */ 2710 case 375: { 2711 struct linux_membarrier_args *p = params; 2712 iarg[0] = p->cmd; /* l_int */ 2713 iarg[1] = p->flags; /* l_int */ 2714 *n_args = 2; 2715 break; 2716 } 2717 /* linux_mlock2 */ 2718 case 376: { 2719 struct linux_mlock2_args *p = params; 2720 iarg[0] = p->start; /* l_ulong */ 2721 iarg[1] = p->len; /* l_size_t */ 2722 iarg[2] = p->flags; /* l_int */ 2723 *n_args = 3; 2724 break; 2725 } 2726 /* linux_copy_file_range */ 2727 case 377: { 2728 struct linux_copy_file_range_args *p = params; 2729 iarg[0] = p->fd_in; /* l_int */ 2730 uarg[1] = (intptr_t) p->off_in; /* l_loff_t * */ 2731 iarg[2] = p->fd_out; /* l_int */ 2732 uarg[3] = (intptr_t) p->off_out; /* l_loff_t * */ 2733 iarg[4] = p->len; /* l_size_t */ 2734 iarg[5] = p->flags; /* l_uint */ 2735 *n_args = 6; 2736 break; 2737 } 2738 /* linux_preadv2 */ 2739 case 378: { 2740 struct linux_preadv2_args *p = params; 2741 iarg[0] = p->fd; /* l_ulong */ 2742 uarg[1] = (intptr_t) p->vec; /* const struct iovec * */ 2743 iarg[2] = p->vlen; /* l_ulong */ 2744 iarg[3] = p->pos_l; /* l_ulong */ 2745 iarg[4] = p->pos_h; /* l_ulong */ 2746 iarg[5] = p->flags; /* l_int */ 2747 *n_args = 6; 2748 break; 2749 } 2750 /* linux_pwritev2 */ 2751 case 379: { 2752 struct linux_pwritev2_args *p = params; 2753 iarg[0] = p->fd; /* l_ulong */ 2754 uarg[1] = (intptr_t) p->vec; /* const struct iovec * */ 2755 iarg[2] = p->vlen; /* l_ulong */ 2756 iarg[3] = p->pos_l; /* l_ulong */ 2757 iarg[4] = p->pos_h; /* l_ulong */ 2758 iarg[5] = p->flags; /* l_int */ 2759 *n_args = 6; 2760 break; 2761 } 2762 /* linux_pkey_mprotect */ 2763 case 380: { 2764 struct linux_pkey_mprotect_args *p = params; 2765 iarg[0] = p->start; /* l_ulong */ 2766 iarg[1] = p->len; /* l_size_t */ 2767 iarg[2] = p->prot; /* l_ulong */ 2768 iarg[3] = p->pkey; /* l_int */ 2769 *n_args = 4; 2770 break; 2771 } 2772 /* linux_pkey_alloc */ 2773 case 381: { 2774 struct linux_pkey_alloc_args *p = params; 2775 iarg[0] = p->flags; /* l_ulong */ 2776 iarg[1] = p->init_val; /* l_ulong */ 2777 *n_args = 2; 2778 break; 2779 } 2780 /* linux_pkey_free */ 2781 case 382: { 2782 struct linux_pkey_free_args *p = params; 2783 iarg[0] = p->pkey; /* l_int */ 2784 *n_args = 1; 2785 break; 2786 } 2787 default: 2788 *n_args = 0; 2789 break; 2790 }; 2791 } 2792 static void 2793 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) 2794 { 2795 const char *p = NULL; 2796 switch (sysnum) { 2797 #define nosys linux_nosys 2798 /* linux_exit */ 2799 case 1: 2800 switch(ndx) { 2801 case 0: 2802 p = "int"; 2803 break; 2804 default: 2805 break; 2806 }; 2807 break; 2808 /* linux_fork */ 2809 case 2: 2810 break; 2811 /* read */ 2812 case 3: 2813 switch(ndx) { 2814 case 0: 2815 p = "int"; 2816 break; 2817 case 1: 2818 p = "userland char *"; 2819 break; 2820 case 2: 2821 p = "u_int"; 2822 break; 2823 default: 2824 break; 2825 }; 2826 break; 2827 /* write */ 2828 case 4: 2829 switch(ndx) { 2830 case 0: 2831 p = "int"; 2832 break; 2833 case 1: 2834 p = "userland char *"; 2835 break; 2836 case 2: 2837 p = "u_int"; 2838 break; 2839 default: 2840 break; 2841 }; 2842 break; 2843 /* linux_open */ 2844 case 5: 2845 switch(ndx) { 2846 case 0: 2847 p = "userland char *"; 2848 break; 2849 case 1: 2850 p = "l_int"; 2851 break; 2852 case 2: 2853 p = "l_int"; 2854 break; 2855 default: 2856 break; 2857 }; 2858 break; 2859 /* close */ 2860 case 6: 2861 switch(ndx) { 2862 case 0: 2863 p = "int"; 2864 break; 2865 default: 2866 break; 2867 }; 2868 break; 2869 /* linux_waitpid */ 2870 case 7: 2871 switch(ndx) { 2872 case 0: 2873 p = "l_pid_t"; 2874 break; 2875 case 1: 2876 p = "userland l_int *"; 2877 break; 2878 case 2: 2879 p = "l_int"; 2880 break; 2881 default: 2882 break; 2883 }; 2884 break; 2885 /* linux_creat */ 2886 case 8: 2887 switch(ndx) { 2888 case 0: 2889 p = "userland char *"; 2890 break; 2891 case 1: 2892 p = "l_int"; 2893 break; 2894 default: 2895 break; 2896 }; 2897 break; 2898 /* linux_link */ 2899 case 9: 2900 switch(ndx) { 2901 case 0: 2902 p = "userland char *"; 2903 break; 2904 case 1: 2905 p = "userland char *"; 2906 break; 2907 default: 2908 break; 2909 }; 2910 break; 2911 /* linux_unlink */ 2912 case 10: 2913 switch(ndx) { 2914 case 0: 2915 p = "userland char *"; 2916 break; 2917 default: 2918 break; 2919 }; 2920 break; 2921 /* linux_execve */ 2922 case 11: 2923 switch(ndx) { 2924 case 0: 2925 p = "userland char *"; 2926 break; 2927 case 1: 2928 p = "userland char **"; 2929 break; 2930 case 2: 2931 p = "userland char **"; 2932 break; 2933 default: 2934 break; 2935 }; 2936 break; 2937 /* linux_chdir */ 2938 case 12: 2939 switch(ndx) { 2940 case 0: 2941 p = "userland char *"; 2942 break; 2943 default: 2944 break; 2945 }; 2946 break; 2947 /* linux_time */ 2948 case 13: 2949 switch(ndx) { 2950 case 0: 2951 p = "userland l_time_t *"; 2952 break; 2953 default: 2954 break; 2955 }; 2956 break; 2957 /* linux_mknod */ 2958 case 14: 2959 switch(ndx) { 2960 case 0: 2961 p = "userland char *"; 2962 break; 2963 case 1: 2964 p = "l_int"; 2965 break; 2966 case 2: 2967 p = "l_dev_t"; 2968 break; 2969 default: 2970 break; 2971 }; 2972 break; 2973 /* linux_chmod */ 2974 case 15: 2975 switch(ndx) { 2976 case 0: 2977 p = "userland char *"; 2978 break; 2979 case 1: 2980 p = "l_mode_t"; 2981 break; 2982 default: 2983 break; 2984 }; 2985 break; 2986 /* linux_lchown16 */ 2987 case 16: 2988 switch(ndx) { 2989 case 0: 2990 p = "userland char *"; 2991 break; 2992 case 1: 2993 p = "l_uid16_t"; 2994 break; 2995 case 2: 2996 p = "l_gid16_t"; 2997 break; 2998 default: 2999 break; 3000 }; 3001 break; 3002 /* linux_stat */ 3003 case 18: 3004 switch(ndx) { 3005 case 0: 3006 p = "userland char *"; 3007 break; 3008 case 1: 3009 p = "userland struct linux_stat *"; 3010 break; 3011 default: 3012 break; 3013 }; 3014 break; 3015 /* linux_lseek */ 3016 case 19: 3017 switch(ndx) { 3018 case 0: 3019 p = "l_uint"; 3020 break; 3021 case 1: 3022 p = "l_off_t"; 3023 break; 3024 case 2: 3025 p = "l_int"; 3026 break; 3027 default: 3028 break; 3029 }; 3030 break; 3031 /* linux_getpid */ 3032 case 20: 3033 break; 3034 /* linux_mount */ 3035 case 21: 3036 switch(ndx) { 3037 case 0: 3038 p = "userland char *"; 3039 break; 3040 case 1: 3041 p = "userland char *"; 3042 break; 3043 case 2: 3044 p = "userland char *"; 3045 break; 3046 case 3: 3047 p = "l_ulong"; 3048 break; 3049 case 4: 3050 p = "userland void *"; 3051 break; 3052 default: 3053 break; 3054 }; 3055 break; 3056 /* linux_oldumount */ 3057 case 22: 3058 switch(ndx) { 3059 case 0: 3060 p = "userland char *"; 3061 break; 3062 default: 3063 break; 3064 }; 3065 break; 3066 /* linux_setuid16 */ 3067 case 23: 3068 switch(ndx) { 3069 case 0: 3070 p = "l_uid16_t"; 3071 break; 3072 default: 3073 break; 3074 }; 3075 break; 3076 /* linux_getuid16 */ 3077 case 24: 3078 break; 3079 /* linux_stime */ 3080 case 25: 3081 break; 3082 /* linux_ptrace */ 3083 case 26: 3084 switch(ndx) { 3085 case 0: 3086 p = "l_long"; 3087 break; 3088 case 1: 3089 p = "l_long"; 3090 break; 3091 case 2: 3092 p = "l_long"; 3093 break; 3094 case 3: 3095 p = "l_long"; 3096 break; 3097 default: 3098 break; 3099 }; 3100 break; 3101 /* linux_alarm */ 3102 case 27: 3103 switch(ndx) { 3104 case 0: 3105 p = "l_uint"; 3106 break; 3107 default: 3108 break; 3109 }; 3110 break; 3111 /* linux_fstat */ 3112 case 28: 3113 switch(ndx) { 3114 case 0: 3115 p = "l_uint"; 3116 break; 3117 case 1: 3118 p = "userland struct linux_stat *"; 3119 break; 3120 default: 3121 break; 3122 }; 3123 break; 3124 /* linux_pause */ 3125 case 29: 3126 break; 3127 /* linux_utime */ 3128 case 30: 3129 switch(ndx) { 3130 case 0: 3131 p = "userland char *"; 3132 break; 3133 case 1: 3134 p = "userland struct l_utimbuf *"; 3135 break; 3136 default: 3137 break; 3138 }; 3139 break; 3140 /* linux_access */ 3141 case 33: 3142 switch(ndx) { 3143 case 0: 3144 p = "userland char *"; 3145 break; 3146 case 1: 3147 p = "l_int"; 3148 break; 3149 default: 3150 break; 3151 }; 3152 break; 3153 /* linux_nice */ 3154 case 34: 3155 switch(ndx) { 3156 case 0: 3157 p = "l_int"; 3158 break; 3159 default: 3160 break; 3161 }; 3162 break; 3163 /* sync */ 3164 case 36: 3165 break; 3166 /* linux_kill */ 3167 case 37: 3168 switch(ndx) { 3169 case 0: 3170 p = "l_int"; 3171 break; 3172 case 1: 3173 p = "l_int"; 3174 break; 3175 default: 3176 break; 3177 }; 3178 break; 3179 /* linux_rename */ 3180 case 38: 3181 switch(ndx) { 3182 case 0: 3183 p = "userland char *"; 3184 break; 3185 case 1: 3186 p = "userland char *"; 3187 break; 3188 default: 3189 break; 3190 }; 3191 break; 3192 /* linux_mkdir */ 3193 case 39: 3194 switch(ndx) { 3195 case 0: 3196 p = "userland char *"; 3197 break; 3198 case 1: 3199 p = "l_int"; 3200 break; 3201 default: 3202 break; 3203 }; 3204 break; 3205 /* linux_rmdir */ 3206 case 40: 3207 switch(ndx) { 3208 case 0: 3209 p = "userland char *"; 3210 break; 3211 default: 3212 break; 3213 }; 3214 break; 3215 /* dup */ 3216 case 41: 3217 switch(ndx) { 3218 case 0: 3219 p = "u_int"; 3220 break; 3221 default: 3222 break; 3223 }; 3224 break; 3225 /* linux_pipe */ 3226 case 42: 3227 switch(ndx) { 3228 case 0: 3229 p = "userland l_int *"; 3230 break; 3231 default: 3232 break; 3233 }; 3234 break; 3235 /* linux_times */ 3236 case 43: 3237 switch(ndx) { 3238 case 0: 3239 p = "userland struct l_times_argv *"; 3240 break; 3241 default: 3242 break; 3243 }; 3244 break; 3245 /* linux_brk */ 3246 case 45: 3247 switch(ndx) { 3248 case 0: 3249 p = "l_ulong"; 3250 break; 3251 default: 3252 break; 3253 }; 3254 break; 3255 /* linux_setgid16 */ 3256 case 46: 3257 switch(ndx) { 3258 case 0: 3259 p = "l_gid16_t"; 3260 break; 3261 default: 3262 break; 3263 }; 3264 break; 3265 /* linux_getgid16 */ 3266 case 47: 3267 break; 3268 /* linux_signal */ 3269 case 48: 3270 switch(ndx) { 3271 case 0: 3272 p = "l_int"; 3273 break; 3274 case 1: 3275 p = "userland void *"; 3276 break; 3277 default: 3278 break; 3279 }; 3280 break; 3281 /* linux_geteuid16 */ 3282 case 49: 3283 break; 3284 /* linux_getegid16 */ 3285 case 50: 3286 break; 3287 /* acct */ 3288 case 51: 3289 switch(ndx) { 3290 case 0: 3291 p = "userland char *"; 3292 break; 3293 default: 3294 break; 3295 }; 3296 break; 3297 /* linux_umount */ 3298 case 52: 3299 switch(ndx) { 3300 case 0: 3301 p = "userland char *"; 3302 break; 3303 case 1: 3304 p = "l_int"; 3305 break; 3306 default: 3307 break; 3308 }; 3309 break; 3310 /* linux_ioctl */ 3311 case 54: 3312 switch(ndx) { 3313 case 0: 3314 p = "l_uint"; 3315 break; 3316 case 1: 3317 p = "l_uint"; 3318 break; 3319 case 2: 3320 p = "l_ulong"; 3321 break; 3322 default: 3323 break; 3324 }; 3325 break; 3326 /* linux_fcntl */ 3327 case 55: 3328 switch(ndx) { 3329 case 0: 3330 p = "l_uint"; 3331 break; 3332 case 1: 3333 p = "l_uint"; 3334 break; 3335 case 2: 3336 p = "l_ulong"; 3337 break; 3338 default: 3339 break; 3340 }; 3341 break; 3342 /* setpgid */ 3343 case 57: 3344 switch(ndx) { 3345 case 0: 3346 p = "int"; 3347 break; 3348 case 1: 3349 p = "int"; 3350 break; 3351 default: 3352 break; 3353 }; 3354 break; 3355 /* linux_olduname */ 3356 case 59: 3357 break; 3358 /* umask */ 3359 case 60: 3360 switch(ndx) { 3361 case 0: 3362 p = "int"; 3363 break; 3364 default: 3365 break; 3366 }; 3367 break; 3368 /* chroot */ 3369 case 61: 3370 switch(ndx) { 3371 case 0: 3372 p = "userland char *"; 3373 break; 3374 default: 3375 break; 3376 }; 3377 break; 3378 /* linux_ustat */ 3379 case 62: 3380 switch(ndx) { 3381 case 0: 3382 p = "l_dev_t"; 3383 break; 3384 case 1: 3385 p = "userland struct l_ustat *"; 3386 break; 3387 default: 3388 break; 3389 }; 3390 break; 3391 /* dup2 */ 3392 case 63: 3393 switch(ndx) { 3394 case 0: 3395 p = "u_int"; 3396 break; 3397 case 1: 3398 p = "u_int"; 3399 break; 3400 default: 3401 break; 3402 }; 3403 break; 3404 /* linux_getppid */ 3405 case 64: 3406 break; 3407 /* getpgrp */ 3408 case 65: 3409 break; 3410 /* setsid */ 3411 case 66: 3412 break; 3413 /* linux_sigaction */ 3414 case 67: 3415 switch(ndx) { 3416 case 0: 3417 p = "l_int"; 3418 break; 3419 case 1: 3420 p = "userland l_osigaction_t *"; 3421 break; 3422 case 2: 3423 p = "userland l_osigaction_t *"; 3424 break; 3425 default: 3426 break; 3427 }; 3428 break; 3429 /* linux_sgetmask */ 3430 case 68: 3431 break; 3432 /* linux_ssetmask */ 3433 case 69: 3434 switch(ndx) { 3435 case 0: 3436 p = "l_osigset_t"; 3437 break; 3438 default: 3439 break; 3440 }; 3441 break; 3442 /* linux_setreuid16 */ 3443 case 70: 3444 switch(ndx) { 3445 case 0: 3446 p = "l_uid16_t"; 3447 break; 3448 case 1: 3449 p = "l_uid16_t"; 3450 break; 3451 default: 3452 break; 3453 }; 3454 break; 3455 /* linux_setregid16 */ 3456 case 71: 3457 switch(ndx) { 3458 case 0: 3459 p = "l_gid16_t"; 3460 break; 3461 case 1: 3462 p = "l_gid16_t"; 3463 break; 3464 default: 3465 break; 3466 }; 3467 break; 3468 /* linux_sigsuspend */ 3469 case 72: 3470 switch(ndx) { 3471 case 0: 3472 p = "l_int"; 3473 break; 3474 case 1: 3475 p = "l_int"; 3476 break; 3477 case 2: 3478 p = "l_osigset_t"; 3479 break; 3480 default: 3481 break; 3482 }; 3483 break; 3484 /* linux_sigpending */ 3485 case 73: 3486 switch(ndx) { 3487 case 0: 3488 p = "userland l_osigset_t *"; 3489 break; 3490 default: 3491 break; 3492 }; 3493 break; 3494 /* linux_sethostname */ 3495 case 74: 3496 switch(ndx) { 3497 case 0: 3498 p = "userland char *"; 3499 break; 3500 case 1: 3501 p = "u_int"; 3502 break; 3503 default: 3504 break; 3505 }; 3506 break; 3507 /* linux_setrlimit */ 3508 case 75: 3509 switch(ndx) { 3510 case 0: 3511 p = "l_uint"; 3512 break; 3513 case 1: 3514 p = "userland struct l_rlimit *"; 3515 break; 3516 default: 3517 break; 3518 }; 3519 break; 3520 /* linux_old_getrlimit */ 3521 case 76: 3522 switch(ndx) { 3523 case 0: 3524 p = "l_uint"; 3525 break; 3526 case 1: 3527 p = "userland struct l_rlimit *"; 3528 break; 3529 default: 3530 break; 3531 }; 3532 break; 3533 /* getrusage */ 3534 case 77: 3535 switch(ndx) { 3536 case 0: 3537 p = "int"; 3538 break; 3539 case 1: 3540 p = "userland struct rusage *"; 3541 break; 3542 default: 3543 break; 3544 }; 3545 break; 3546 /* gettimeofday */ 3547 case 78: 3548 switch(ndx) { 3549 case 0: 3550 p = "userland struct timeval *"; 3551 break; 3552 case 1: 3553 p = "userland struct timezone *"; 3554 break; 3555 default: 3556 break; 3557 }; 3558 break; 3559 /* settimeofday */ 3560 case 79: 3561 switch(ndx) { 3562 case 0: 3563 p = "userland struct timeval *"; 3564 break; 3565 case 1: 3566 p = "userland struct timezone *"; 3567 break; 3568 default: 3569 break; 3570 }; 3571 break; 3572 /* linux_getgroups16 */ 3573 case 80: 3574 switch(ndx) { 3575 case 0: 3576 p = "l_uint"; 3577 break; 3578 case 1: 3579 p = "userland l_gid16_t *"; 3580 break; 3581 default: 3582 break; 3583 }; 3584 break; 3585 /* linux_setgroups16 */ 3586 case 81: 3587 switch(ndx) { 3588 case 0: 3589 p = "l_uint"; 3590 break; 3591 case 1: 3592 p = "userland l_gid16_t *"; 3593 break; 3594 default: 3595 break; 3596 }; 3597 break; 3598 /* linux_old_select */ 3599 case 82: 3600 switch(ndx) { 3601 case 0: 3602 p = "userland struct l_old_select_argv *"; 3603 break; 3604 default: 3605 break; 3606 }; 3607 break; 3608 /* linux_symlink */ 3609 case 83: 3610 switch(ndx) { 3611 case 0: 3612 p = "userland char *"; 3613 break; 3614 case 1: 3615 p = "userland char *"; 3616 break; 3617 default: 3618 break; 3619 }; 3620 break; 3621 /* linux_lstat */ 3622 case 84: 3623 switch(ndx) { 3624 case 0: 3625 p = "userland char *"; 3626 break; 3627 case 1: 3628 p = "userland struct l_stat *"; 3629 break; 3630 default: 3631 break; 3632 }; 3633 break; 3634 /* linux_readlink */ 3635 case 85: 3636 switch(ndx) { 3637 case 0: 3638 p = "userland char *"; 3639 break; 3640 case 1: 3641 p = "userland char *"; 3642 break; 3643 case 2: 3644 p = "l_int"; 3645 break; 3646 default: 3647 break; 3648 }; 3649 break; 3650 /* linux_uselib */ 3651 case 86: 3652 switch(ndx) { 3653 case 0: 3654 p = "userland char *"; 3655 break; 3656 default: 3657 break; 3658 }; 3659 break; 3660 /* swapon */ 3661 case 87: 3662 switch(ndx) { 3663 case 0: 3664 p = "userland char *"; 3665 break; 3666 default: 3667 break; 3668 }; 3669 break; 3670 /* linux_reboot */ 3671 case 88: 3672 switch(ndx) { 3673 case 0: 3674 p = "l_int"; 3675 break; 3676 case 1: 3677 p = "l_int"; 3678 break; 3679 case 2: 3680 p = "l_uint"; 3681 break; 3682 case 3: 3683 p = "userland void *"; 3684 break; 3685 default: 3686 break; 3687 }; 3688 break; 3689 /* linux_readdir */ 3690 case 89: 3691 switch(ndx) { 3692 case 0: 3693 p = "l_uint"; 3694 break; 3695 case 1: 3696 p = "userland struct l_dirent *"; 3697 break; 3698 case 2: 3699 p = "l_uint"; 3700 break; 3701 default: 3702 break; 3703 }; 3704 break; 3705 /* linux_mmap */ 3706 case 90: 3707 switch(ndx) { 3708 case 0: 3709 p = "userland struct l_mmap_argv *"; 3710 break; 3711 default: 3712 break; 3713 }; 3714 break; 3715 /* munmap */ 3716 case 91: 3717 switch(ndx) { 3718 case 0: 3719 p = "caddr_t"; 3720 break; 3721 case 1: 3722 p = "int"; 3723 break; 3724 default: 3725 break; 3726 }; 3727 break; 3728 /* linux_truncate */ 3729 case 92: 3730 switch(ndx) { 3731 case 0: 3732 p = "userland char *"; 3733 break; 3734 case 1: 3735 p = "l_ulong"; 3736 break; 3737 default: 3738 break; 3739 }; 3740 break; 3741 /* linux_ftruncate */ 3742 case 93: 3743 switch(ndx) { 3744 case 0: 3745 p = "int"; 3746 break; 3747 case 1: 3748 p = "long"; 3749 break; 3750 default: 3751 break; 3752 }; 3753 break; 3754 /* fchmod */ 3755 case 94: 3756 switch(ndx) { 3757 case 0: 3758 p = "int"; 3759 break; 3760 case 1: 3761 p = "int"; 3762 break; 3763 default: 3764 break; 3765 }; 3766 break; 3767 /* fchown */ 3768 case 95: 3769 switch(ndx) { 3770 case 0: 3771 p = "int"; 3772 break; 3773 case 1: 3774 p = "int"; 3775 break; 3776 case 2: 3777 p = "int"; 3778 break; 3779 default: 3780 break; 3781 }; 3782 break; 3783 /* linux_getpriority */ 3784 case 96: 3785 switch(ndx) { 3786 case 0: 3787 p = "int"; 3788 break; 3789 case 1: 3790 p = "int"; 3791 break; 3792 default: 3793 break; 3794 }; 3795 break; 3796 /* setpriority */ 3797 case 97: 3798 switch(ndx) { 3799 case 0: 3800 p = "int"; 3801 break; 3802 case 1: 3803 p = "int"; 3804 break; 3805 case 2: 3806 p = "int"; 3807 break; 3808 default: 3809 break; 3810 }; 3811 break; 3812 /* linux_statfs */ 3813 case 99: 3814 switch(ndx) { 3815 case 0: 3816 p = "userland char *"; 3817 break; 3818 case 1: 3819 p = "userland struct l_statfs_buf *"; 3820 break; 3821 default: 3822 break; 3823 }; 3824 break; 3825 /* linux_fstatfs */ 3826 case 100: 3827 switch(ndx) { 3828 case 0: 3829 p = "l_uint"; 3830 break; 3831 case 1: 3832 p = "userland struct l_statfs_buf *"; 3833 break; 3834 default: 3835 break; 3836 }; 3837 break; 3838 /* linux_ioperm */ 3839 case 101: 3840 switch(ndx) { 3841 case 0: 3842 p = "l_ulong"; 3843 break; 3844 case 1: 3845 p = "l_ulong"; 3846 break; 3847 case 2: 3848 p = "l_int"; 3849 break; 3850 default: 3851 break; 3852 }; 3853 break; 3854 /* linux_socketcall */ 3855 case 102: 3856 switch(ndx) { 3857 case 0: 3858 p = "l_int"; 3859 break; 3860 case 1: 3861 p = "l_ulong"; 3862 break; 3863 default: 3864 break; 3865 }; 3866 break; 3867 /* linux_syslog */ 3868 case 103: 3869 switch(ndx) { 3870 case 0: 3871 p = "l_int"; 3872 break; 3873 case 1: 3874 p = "userland char *"; 3875 break; 3876 case 2: 3877 p = "l_int"; 3878 break; 3879 default: 3880 break; 3881 }; 3882 break; 3883 /* linux_setitimer */ 3884 case 104: 3885 switch(ndx) { 3886 case 0: 3887 p = "l_int"; 3888 break; 3889 case 1: 3890 p = "userland struct l_itimerval *"; 3891 break; 3892 case 2: 3893 p = "userland struct l_itimerval *"; 3894 break; 3895 default: 3896 break; 3897 }; 3898 break; 3899 /* linux_getitimer */ 3900 case 105: 3901 switch(ndx) { 3902 case 0: 3903 p = "l_int"; 3904 break; 3905 case 1: 3906 p = "userland struct l_itimerval *"; 3907 break; 3908 default: 3909 break; 3910 }; 3911 break; 3912 /* linux_newstat */ 3913 case 106: 3914 switch(ndx) { 3915 case 0: 3916 p = "userland char *"; 3917 break; 3918 case 1: 3919 p = "userland struct l_newstat *"; 3920 break; 3921 default: 3922 break; 3923 }; 3924 break; 3925 /* linux_newlstat */ 3926 case 107: 3927 switch(ndx) { 3928 case 0: 3929 p = "userland char *"; 3930 break; 3931 case 1: 3932 p = "userland struct l_newstat *"; 3933 break; 3934 default: 3935 break; 3936 }; 3937 break; 3938 /* linux_newfstat */ 3939 case 108: 3940 switch(ndx) { 3941 case 0: 3942 p = "l_uint"; 3943 break; 3944 case 1: 3945 p = "userland struct l_newstat *"; 3946 break; 3947 default: 3948 break; 3949 }; 3950 break; 3951 /* linux_uname */ 3952 case 109: 3953 break; 3954 /* linux_iopl */ 3955 case 110: 3956 switch(ndx) { 3957 case 0: 3958 p = "l_int"; 3959 break; 3960 default: 3961 break; 3962 }; 3963 break; 3964 /* linux_vhangup */ 3965 case 111: 3966 break; 3967 /* linux_vm86old */ 3968 case 113: 3969 break; 3970 /* linux_wait4 */ 3971 case 114: 3972 switch(ndx) { 3973 case 0: 3974 p = "l_pid_t"; 3975 break; 3976 case 1: 3977 p = "userland l_int *"; 3978 break; 3979 case 2: 3980 p = "l_int"; 3981 break; 3982 case 3: 3983 p = "userland void *"; 3984 break; 3985 default: 3986 break; 3987 }; 3988 break; 3989 /* linux_swapoff */ 3990 case 115: 3991 break; 3992 /* linux_sysinfo */ 3993 case 116: 3994 switch(ndx) { 3995 case 0: 3996 p = "userland struct l_sysinfo *"; 3997 break; 3998 default: 3999 break; 4000 }; 4001 break; 4002 /* linux_ipc */ 4003 case 117: 4004 switch(ndx) { 4005 case 0: 4006 p = "l_uint"; 4007 break; 4008 case 1: 4009 p = "l_int"; 4010 break; 4011 case 2: 4012 p = "l_int"; 4013 break; 4014 case 3: 4015 p = "l_int"; 4016 break; 4017 case 4: 4018 p = "userland void *"; 4019 break; 4020 case 5: 4021 p = "l_long"; 4022 break; 4023 default: 4024 break; 4025 }; 4026 break; 4027 /* fsync */ 4028 case 118: 4029 switch(ndx) { 4030 case 0: 4031 p = "int"; 4032 break; 4033 default: 4034 break; 4035 }; 4036 break; 4037 /* linux_sigreturn */ 4038 case 119: 4039 switch(ndx) { 4040 case 0: 4041 p = "userland struct l_sigframe *"; 4042 break; 4043 default: 4044 break; 4045 }; 4046 break; 4047 /* linux_clone */ 4048 case 120: 4049 switch(ndx) { 4050 case 0: 4051 p = "l_int"; 4052 break; 4053 case 1: 4054 p = "userland void *"; 4055 break; 4056 case 2: 4057 p = "userland void *"; 4058 break; 4059 case 3: 4060 p = "userland void *"; 4061 break; 4062 case 4: 4063 p = "userland void *"; 4064 break; 4065 default: 4066 break; 4067 }; 4068 break; 4069 /* linux_setdomainname */ 4070 case 121: 4071 switch(ndx) { 4072 case 0: 4073 p = "userland char *"; 4074 break; 4075 case 1: 4076 p = "int"; 4077 break; 4078 default: 4079 break; 4080 }; 4081 break; 4082 /* linux_newuname */ 4083 case 122: 4084 switch(ndx) { 4085 case 0: 4086 p = "userland struct l_new_utsname *"; 4087 break; 4088 default: 4089 break; 4090 }; 4091 break; 4092 /* linux_modify_ldt */ 4093 case 123: 4094 switch(ndx) { 4095 case 0: 4096 p = "l_int"; 4097 break; 4098 case 1: 4099 p = "userland void *"; 4100 break; 4101 case 2: 4102 p = "l_ulong"; 4103 break; 4104 default: 4105 break; 4106 }; 4107 break; 4108 /* linux_adjtimex */ 4109 case 124: 4110 break; 4111 /* linux_mprotect */ 4112 case 125: 4113 switch(ndx) { 4114 case 0: 4115 p = "caddr_t"; 4116 break; 4117 case 1: 4118 p = "int"; 4119 break; 4120 case 2: 4121 p = "int"; 4122 break; 4123 default: 4124 break; 4125 }; 4126 break; 4127 /* linux_sigprocmask */ 4128 case 126: 4129 switch(ndx) { 4130 case 0: 4131 p = "l_int"; 4132 break; 4133 case 1: 4134 p = "userland l_osigset_t *"; 4135 break; 4136 case 2: 4137 p = "userland l_osigset_t *"; 4138 break; 4139 default: 4140 break; 4141 }; 4142 break; 4143 /* linux_init_module */ 4144 case 128: 4145 break; 4146 /* linux_delete_module */ 4147 case 129: 4148 break; 4149 /* linux_quotactl */ 4150 case 131: 4151 break; 4152 /* getpgid */ 4153 case 132: 4154 switch(ndx) { 4155 case 0: 4156 p = "int"; 4157 break; 4158 default: 4159 break; 4160 }; 4161 break; 4162 /* fchdir */ 4163 case 133: 4164 switch(ndx) { 4165 case 0: 4166 p = "int"; 4167 break; 4168 default: 4169 break; 4170 }; 4171 break; 4172 /* linux_bdflush */ 4173 case 134: 4174 break; 4175 /* linux_sysfs */ 4176 case 135: 4177 switch(ndx) { 4178 case 0: 4179 p = "l_int"; 4180 break; 4181 case 1: 4182 p = "l_ulong"; 4183 break; 4184 case 2: 4185 p = "l_ulong"; 4186 break; 4187 default: 4188 break; 4189 }; 4190 break; 4191 /* linux_personality */ 4192 case 136: 4193 switch(ndx) { 4194 case 0: 4195 p = "l_uint"; 4196 break; 4197 default: 4198 break; 4199 }; 4200 break; 4201 /* linux_setfsuid16 */ 4202 case 138: 4203 switch(ndx) { 4204 case 0: 4205 p = "l_uid16_t"; 4206 break; 4207 default: 4208 break; 4209 }; 4210 break; 4211 /* linux_setfsgid16 */ 4212 case 139: 4213 switch(ndx) { 4214 case 0: 4215 p = "l_gid16_t"; 4216 break; 4217 default: 4218 break; 4219 }; 4220 break; 4221 /* linux_llseek */ 4222 case 140: 4223 switch(ndx) { 4224 case 0: 4225 p = "l_int"; 4226 break; 4227 case 1: 4228 p = "l_ulong"; 4229 break; 4230 case 2: 4231 p = "l_ulong"; 4232 break; 4233 case 3: 4234 p = "userland l_loff_t *"; 4235 break; 4236 case 4: 4237 p = "l_uint"; 4238 break; 4239 default: 4240 break; 4241 }; 4242 break; 4243 /* linux_getdents */ 4244 case 141: 4245 switch(ndx) { 4246 case 0: 4247 p = "l_uint"; 4248 break; 4249 case 1: 4250 p = "userland void *"; 4251 break; 4252 case 2: 4253 p = "l_uint"; 4254 break; 4255 default: 4256 break; 4257 }; 4258 break; 4259 /* linux_select */ 4260 case 142: 4261 switch(ndx) { 4262 case 0: 4263 p = "l_int"; 4264 break; 4265 case 1: 4266 p = "userland l_fd_set *"; 4267 break; 4268 case 2: 4269 p = "userland l_fd_set *"; 4270 break; 4271 case 3: 4272 p = "userland l_fd_set *"; 4273 break; 4274 case 4: 4275 p = "userland struct l_timeval *"; 4276 break; 4277 default: 4278 break; 4279 }; 4280 break; 4281 /* flock */ 4282 case 143: 4283 switch(ndx) { 4284 case 0: 4285 p = "int"; 4286 break; 4287 case 1: 4288 p = "int"; 4289 break; 4290 default: 4291 break; 4292 }; 4293 break; 4294 /* linux_msync */ 4295 case 144: 4296 switch(ndx) { 4297 case 0: 4298 p = "l_ulong"; 4299 break; 4300 case 1: 4301 p = "l_size_t"; 4302 break; 4303 case 2: 4304 p = "l_int"; 4305 break; 4306 default: 4307 break; 4308 }; 4309 break; 4310 /* readv */ 4311 case 145: 4312 switch(ndx) { 4313 case 0: 4314 p = "int"; 4315 break; 4316 case 1: 4317 p = "userland struct iovec *"; 4318 break; 4319 case 2: 4320 p = "u_int"; 4321 break; 4322 default: 4323 break; 4324 }; 4325 break; 4326 /* writev */ 4327 case 146: 4328 switch(ndx) { 4329 case 0: 4330 p = "int"; 4331 break; 4332 case 1: 4333 p = "userland struct iovec *"; 4334 break; 4335 case 2: 4336 p = "u_int"; 4337 break; 4338 default: 4339 break; 4340 }; 4341 break; 4342 /* linux_getsid */ 4343 case 147: 4344 switch(ndx) { 4345 case 0: 4346 p = "l_pid_t"; 4347 break; 4348 default: 4349 break; 4350 }; 4351 break; 4352 /* linux_fdatasync */ 4353 case 148: 4354 switch(ndx) { 4355 case 0: 4356 p = "l_uint"; 4357 break; 4358 default: 4359 break; 4360 }; 4361 break; 4362 /* linux_sysctl */ 4363 case 149: 4364 switch(ndx) { 4365 case 0: 4366 p = "userland struct l___sysctl_args *"; 4367 break; 4368 default: 4369 break; 4370 }; 4371 break; 4372 /* mlock */ 4373 case 150: 4374 switch(ndx) { 4375 case 0: 4376 p = "userland const void *"; 4377 break; 4378 case 1: 4379 p = "size_t"; 4380 break; 4381 default: 4382 break; 4383 }; 4384 break; 4385 /* munlock */ 4386 case 151: 4387 switch(ndx) { 4388 case 0: 4389 p = "userland const void *"; 4390 break; 4391 case 1: 4392 p = "size_t"; 4393 break; 4394 default: 4395 break; 4396 }; 4397 break; 4398 /* mlockall */ 4399 case 152: 4400 switch(ndx) { 4401 case 0: 4402 p = "int"; 4403 break; 4404 default: 4405 break; 4406 }; 4407 break; 4408 /* munlockall */ 4409 case 153: 4410 break; 4411 /* linux_sched_setparam */ 4412 case 154: 4413 switch(ndx) { 4414 case 0: 4415 p = "l_pid_t"; 4416 break; 4417 case 1: 4418 p = "userland struct sched_param *"; 4419 break; 4420 default: 4421 break; 4422 }; 4423 break; 4424 /* linux_sched_getparam */ 4425 case 155: 4426 switch(ndx) { 4427 case 0: 4428 p = "l_pid_t"; 4429 break; 4430 case 1: 4431 p = "userland struct sched_param *"; 4432 break; 4433 default: 4434 break; 4435 }; 4436 break; 4437 /* linux_sched_setscheduler */ 4438 case 156: 4439 switch(ndx) { 4440 case 0: 4441 p = "l_pid_t"; 4442 break; 4443 case 1: 4444 p = "l_int"; 4445 break; 4446 case 2: 4447 p = "userland struct sched_param *"; 4448 break; 4449 default: 4450 break; 4451 }; 4452 break; 4453 /* linux_sched_getscheduler */ 4454 case 157: 4455 switch(ndx) { 4456 case 0: 4457 p = "l_pid_t"; 4458 break; 4459 default: 4460 break; 4461 }; 4462 break; 4463 /* sched_yield */ 4464 case 158: 4465 break; 4466 /* linux_sched_get_priority_max */ 4467 case 159: 4468 switch(ndx) { 4469 case 0: 4470 p = "l_int"; 4471 break; 4472 default: 4473 break; 4474 }; 4475 break; 4476 /* linux_sched_get_priority_min */ 4477 case 160: 4478 switch(ndx) { 4479 case 0: 4480 p = "l_int"; 4481 break; 4482 default: 4483 break; 4484 }; 4485 break; 4486 /* linux_sched_rr_get_interval */ 4487 case 161: 4488 switch(ndx) { 4489 case 0: 4490 p = "l_pid_t"; 4491 break; 4492 case 1: 4493 p = "userland struct l_timespec *"; 4494 break; 4495 default: 4496 break; 4497 }; 4498 break; 4499 /* linux_nanosleep */ 4500 case 162: 4501 switch(ndx) { 4502 case 0: 4503 p = "userland const struct l_timespec *"; 4504 break; 4505 case 1: 4506 p = "userland struct l_timespec *"; 4507 break; 4508 default: 4509 break; 4510 }; 4511 break; 4512 /* linux_mremap */ 4513 case 163: 4514 switch(ndx) { 4515 case 0: 4516 p = "l_ulong"; 4517 break; 4518 case 1: 4519 p = "l_ulong"; 4520 break; 4521 case 2: 4522 p = "l_ulong"; 4523 break; 4524 case 3: 4525 p = "l_ulong"; 4526 break; 4527 case 4: 4528 p = "l_ulong"; 4529 break; 4530 default: 4531 break; 4532 }; 4533 break; 4534 /* linux_setresuid16 */ 4535 case 164: 4536 switch(ndx) { 4537 case 0: 4538 p = "l_uid16_t"; 4539 break; 4540 case 1: 4541 p = "l_uid16_t"; 4542 break; 4543 case 2: 4544 p = "l_uid16_t"; 4545 break; 4546 default: 4547 break; 4548 }; 4549 break; 4550 /* linux_getresuid16 */ 4551 case 165: 4552 switch(ndx) { 4553 case 0: 4554 p = "userland l_uid16_t *"; 4555 break; 4556 case 1: 4557 p = "userland l_uid16_t *"; 4558 break; 4559 case 2: 4560 p = "userland l_uid16_t *"; 4561 break; 4562 default: 4563 break; 4564 }; 4565 break; 4566 /* linux_vm86 */ 4567 case 166: 4568 break; 4569 /* poll */ 4570 case 168: 4571 switch(ndx) { 4572 case 0: 4573 p = "userland struct pollfd *"; 4574 break; 4575 case 1: 4576 p = "unsigned int"; 4577 break; 4578 case 2: 4579 p = "long"; 4580 break; 4581 default: 4582 break; 4583 }; 4584 break; 4585 /* linux_setresgid16 */ 4586 case 170: 4587 switch(ndx) { 4588 case 0: 4589 p = "l_gid16_t"; 4590 break; 4591 case 1: 4592 p = "l_gid16_t"; 4593 break; 4594 case 2: 4595 p = "l_gid16_t"; 4596 break; 4597 default: 4598 break; 4599 }; 4600 break; 4601 /* linux_getresgid16 */ 4602 case 171: 4603 switch(ndx) { 4604 case 0: 4605 p = "userland l_gid16_t *"; 4606 break; 4607 case 1: 4608 p = "userland l_gid16_t *"; 4609 break; 4610 case 2: 4611 p = "userland l_gid16_t *"; 4612 break; 4613 default: 4614 break; 4615 }; 4616 break; 4617 /* linux_prctl */ 4618 case 172: 4619 switch(ndx) { 4620 case 0: 4621 p = "l_int"; 4622 break; 4623 case 1: 4624 p = "l_int"; 4625 break; 4626 case 2: 4627 p = "l_int"; 4628 break; 4629 case 3: 4630 p = "l_int"; 4631 break; 4632 case 4: 4633 p = "l_int"; 4634 break; 4635 default: 4636 break; 4637 }; 4638 break; 4639 /* linux_rt_sigreturn */ 4640 case 173: 4641 switch(ndx) { 4642 case 0: 4643 p = "userland struct l_ucontext *"; 4644 break; 4645 default: 4646 break; 4647 }; 4648 break; 4649 /* linux_rt_sigaction */ 4650 case 174: 4651 switch(ndx) { 4652 case 0: 4653 p = "l_int"; 4654 break; 4655 case 1: 4656 p = "userland l_sigaction_t *"; 4657 break; 4658 case 2: 4659 p = "userland l_sigaction_t *"; 4660 break; 4661 case 3: 4662 p = "l_size_t"; 4663 break; 4664 default: 4665 break; 4666 }; 4667 break; 4668 /* linux_rt_sigprocmask */ 4669 case 175: 4670 switch(ndx) { 4671 case 0: 4672 p = "l_int"; 4673 break; 4674 case 1: 4675 p = "userland l_sigset_t *"; 4676 break; 4677 case 2: 4678 p = "userland l_sigset_t *"; 4679 break; 4680 case 3: 4681 p = "l_size_t"; 4682 break; 4683 default: 4684 break; 4685 }; 4686 break; 4687 /* linux_rt_sigpending */ 4688 case 176: 4689 switch(ndx) { 4690 case 0: 4691 p = "userland l_sigset_t *"; 4692 break; 4693 case 1: 4694 p = "l_size_t"; 4695 break; 4696 default: 4697 break; 4698 }; 4699 break; 4700 /* linux_rt_sigtimedwait */ 4701 case 177: 4702 switch(ndx) { 4703 case 0: 4704 p = "userland l_sigset_t *"; 4705 break; 4706 case 1: 4707 p = "userland l_siginfo_t *"; 4708 break; 4709 case 2: 4710 p = "userland struct l_timeval *"; 4711 break; 4712 case 3: 4713 p = "l_size_t"; 4714 break; 4715 default: 4716 break; 4717 }; 4718 break; 4719 /* linux_rt_sigqueueinfo */ 4720 case 178: 4721 switch(ndx) { 4722 case 0: 4723 p = "l_pid_t"; 4724 break; 4725 case 1: 4726 p = "l_int"; 4727 break; 4728 case 2: 4729 p = "userland l_siginfo_t *"; 4730 break; 4731 default: 4732 break; 4733 }; 4734 break; 4735 /* linux_rt_sigsuspend */ 4736 case 179: 4737 switch(ndx) { 4738 case 0: 4739 p = "userland l_sigset_t *"; 4740 break; 4741 case 1: 4742 p = "l_size_t"; 4743 break; 4744 default: 4745 break; 4746 }; 4747 break; 4748 /* linux_pread */ 4749 case 180: 4750 switch(ndx) { 4751 case 0: 4752 p = "l_uint"; 4753 break; 4754 case 1: 4755 p = "userland char *"; 4756 break; 4757 case 2: 4758 p = "l_size_t"; 4759 break; 4760 case 3: 4761 p = "l_loff_t"; 4762 break; 4763 default: 4764 break; 4765 }; 4766 break; 4767 /* linux_pwrite */ 4768 case 181: 4769 switch(ndx) { 4770 case 0: 4771 p = "l_uint"; 4772 break; 4773 case 1: 4774 p = "userland char *"; 4775 break; 4776 case 2: 4777 p = "l_size_t"; 4778 break; 4779 case 3: 4780 p = "l_loff_t"; 4781 break; 4782 default: 4783 break; 4784 }; 4785 break; 4786 /* linux_chown16 */ 4787 case 182: 4788 switch(ndx) { 4789 case 0: 4790 p = "userland char *"; 4791 break; 4792 case 1: 4793 p = "l_uid16_t"; 4794 break; 4795 case 2: 4796 p = "l_gid16_t"; 4797 break; 4798 default: 4799 break; 4800 }; 4801 break; 4802 /* linux_getcwd */ 4803 case 183: 4804 switch(ndx) { 4805 case 0: 4806 p = "userland char *"; 4807 break; 4808 case 1: 4809 p = "l_ulong"; 4810 break; 4811 default: 4812 break; 4813 }; 4814 break; 4815 /* linux_capget */ 4816 case 184: 4817 switch(ndx) { 4818 case 0: 4819 p = "userland struct l_user_cap_header *"; 4820 break; 4821 case 1: 4822 p = "userland struct l_user_cap_data *"; 4823 break; 4824 default: 4825 break; 4826 }; 4827 break; 4828 /* linux_capset */ 4829 case 185: 4830 switch(ndx) { 4831 case 0: 4832 p = "userland struct l_user_cap_header *"; 4833 break; 4834 case 1: 4835 p = "userland struct l_user_cap_data *"; 4836 break; 4837 default: 4838 break; 4839 }; 4840 break; 4841 /* linux_sigaltstack */ 4842 case 186: 4843 switch(ndx) { 4844 case 0: 4845 p = "userland l_stack_t *"; 4846 break; 4847 case 1: 4848 p = "userland l_stack_t *"; 4849 break; 4850 default: 4851 break; 4852 }; 4853 break; 4854 /* linux_sendfile */ 4855 case 187: 4856 break; 4857 /* linux_vfork */ 4858 case 190: 4859 break; 4860 /* linux_getrlimit */ 4861 case 191: 4862 switch(ndx) { 4863 case 0: 4864 p = "l_uint"; 4865 break; 4866 case 1: 4867 p = "userland struct l_rlimit *"; 4868 break; 4869 default: 4870 break; 4871 }; 4872 break; 4873 /* linux_mmap2 */ 4874 case 192: 4875 switch(ndx) { 4876 case 0: 4877 p = "l_ulong"; 4878 break; 4879 case 1: 4880 p = "l_ulong"; 4881 break; 4882 case 2: 4883 p = "l_ulong"; 4884 break; 4885 case 3: 4886 p = "l_ulong"; 4887 break; 4888 case 4: 4889 p = "l_ulong"; 4890 break; 4891 case 5: 4892 p = "l_ulong"; 4893 break; 4894 default: 4895 break; 4896 }; 4897 break; 4898 /* linux_truncate64 */ 4899 case 193: 4900 switch(ndx) { 4901 case 0: 4902 p = "userland char *"; 4903 break; 4904 case 1: 4905 p = "l_loff_t"; 4906 break; 4907 default: 4908 break; 4909 }; 4910 break; 4911 /* linux_ftruncate64 */ 4912 case 194: 4913 switch(ndx) { 4914 case 0: 4915 p = "l_uint"; 4916 break; 4917 case 1: 4918 p = "l_loff_t"; 4919 break; 4920 default: 4921 break; 4922 }; 4923 break; 4924 /* linux_stat64 */ 4925 case 195: 4926 switch(ndx) { 4927 case 0: 4928 p = "userland const char *"; 4929 break; 4930 case 1: 4931 p = "userland struct l_stat64 *"; 4932 break; 4933 default: 4934 break; 4935 }; 4936 break; 4937 /* linux_lstat64 */ 4938 case 196: 4939 switch(ndx) { 4940 case 0: 4941 p = "userland const char *"; 4942 break; 4943 case 1: 4944 p = "userland struct l_stat64 *"; 4945 break; 4946 default: 4947 break; 4948 }; 4949 break; 4950 /* linux_fstat64 */ 4951 case 197: 4952 switch(ndx) { 4953 case 0: 4954 p = "l_int"; 4955 break; 4956 case 1: 4957 p = "userland struct l_stat64 *"; 4958 break; 4959 default: 4960 break; 4961 }; 4962 break; 4963 /* linux_lchown */ 4964 case 198: 4965 switch(ndx) { 4966 case 0: 4967 p = "userland char *"; 4968 break; 4969 case 1: 4970 p = "l_uid_t"; 4971 break; 4972 case 2: 4973 p = "l_gid_t"; 4974 break; 4975 default: 4976 break; 4977 }; 4978 break; 4979 /* linux_getuid */ 4980 case 199: 4981 break; 4982 /* linux_getgid */ 4983 case 200: 4984 break; 4985 /* geteuid */ 4986 case 201: 4987 break; 4988 /* getegid */ 4989 case 202: 4990 break; 4991 /* setreuid */ 4992 case 203: 4993 switch(ndx) { 4994 case 0: 4995 p = "uid_t"; 4996 break; 4997 case 1: 4998 p = "uid_t"; 4999 break; 5000 default: 5001 break; 5002 }; 5003 break; 5004 /* setregid */ 5005 case 204: 5006 switch(ndx) { 5007 case 0: 5008 p = "gid_t"; 5009 break; 5010 case 1: 5011 p = "gid_t"; 5012 break; 5013 default: 5014 break; 5015 }; 5016 break; 5017 /* linux_getgroups */ 5018 case 205: 5019 switch(ndx) { 5020 case 0: 5021 p = "l_int"; 5022 break; 5023 case 1: 5024 p = "userland l_gid_t *"; 5025 break; 5026 default: 5027 break; 5028 }; 5029 break; 5030 /* linux_setgroups */ 5031 case 206: 5032 switch(ndx) { 5033 case 0: 5034 p = "l_int"; 5035 break; 5036 case 1: 5037 p = "userland l_gid_t *"; 5038 break; 5039 default: 5040 break; 5041 }; 5042 break; 5043 /* fchown */ 5044 case 207: 5045 break; 5046 /* setresuid */ 5047 case 208: 5048 switch(ndx) { 5049 case 0: 5050 p = "uid_t"; 5051 break; 5052 case 1: 5053 p = "uid_t"; 5054 break; 5055 case 2: 5056 p = "uid_t"; 5057 break; 5058 default: 5059 break; 5060 }; 5061 break; 5062 /* getresuid */ 5063 case 209: 5064 switch(ndx) { 5065 case 0: 5066 p = "userland uid_t *"; 5067 break; 5068 case 1: 5069 p = "userland uid_t *"; 5070 break; 5071 case 2: 5072 p = "userland uid_t *"; 5073 break; 5074 default: 5075 break; 5076 }; 5077 break; 5078 /* setresgid */ 5079 case 210: 5080 switch(ndx) { 5081 case 0: 5082 p = "gid_t"; 5083 break; 5084 case 1: 5085 p = "gid_t"; 5086 break; 5087 case 2: 5088 p = "gid_t"; 5089 break; 5090 default: 5091 break; 5092 }; 5093 break; 5094 /* getresgid */ 5095 case 211: 5096 switch(ndx) { 5097 case 0: 5098 p = "userland gid_t *"; 5099 break; 5100 case 1: 5101 p = "userland gid_t *"; 5102 break; 5103 case 2: 5104 p = "userland gid_t *"; 5105 break; 5106 default: 5107 break; 5108 }; 5109 break; 5110 /* linux_chown */ 5111 case 212: 5112 switch(ndx) { 5113 case 0: 5114 p = "userland char *"; 5115 break; 5116 case 1: 5117 p = "l_uid_t"; 5118 break; 5119 case 2: 5120 p = "l_gid_t"; 5121 break; 5122 default: 5123 break; 5124 }; 5125 break; 5126 /* setuid */ 5127 case 213: 5128 switch(ndx) { 5129 case 0: 5130 p = "uid_t"; 5131 break; 5132 default: 5133 break; 5134 }; 5135 break; 5136 /* setgid */ 5137 case 214: 5138 switch(ndx) { 5139 case 0: 5140 p = "gid_t"; 5141 break; 5142 default: 5143 break; 5144 }; 5145 break; 5146 /* linux_setfsuid */ 5147 case 215: 5148 switch(ndx) { 5149 case 0: 5150 p = "l_uid_t"; 5151 break; 5152 default: 5153 break; 5154 }; 5155 break; 5156 /* linux_setfsgid */ 5157 case 216: 5158 switch(ndx) { 5159 case 0: 5160 p = "l_gid_t"; 5161 break; 5162 default: 5163 break; 5164 }; 5165 break; 5166 /* linux_pivot_root */ 5167 case 217: 5168 switch(ndx) { 5169 case 0: 5170 p = "userland char *"; 5171 break; 5172 case 1: 5173 p = "userland char *"; 5174 break; 5175 default: 5176 break; 5177 }; 5178 break; 5179 /* linux_mincore */ 5180 case 218: 5181 switch(ndx) { 5182 case 0: 5183 p = "l_ulong"; 5184 break; 5185 case 1: 5186 p = "l_size_t"; 5187 break; 5188 case 2: 5189 p = "userland u_char *"; 5190 break; 5191 default: 5192 break; 5193 }; 5194 break; 5195 /* madvise */ 5196 case 219: 5197 switch(ndx) { 5198 case 0: 5199 p = "userland void *"; 5200 break; 5201 case 1: 5202 p = "size_t"; 5203 break; 5204 case 2: 5205 p = "int"; 5206 break; 5207 default: 5208 break; 5209 }; 5210 break; 5211 /* linux_getdents64 */ 5212 case 220: 5213 switch(ndx) { 5214 case 0: 5215 p = "l_uint"; 5216 break; 5217 case 1: 5218 p = "userland void *"; 5219 break; 5220 case 2: 5221 p = "l_uint"; 5222 break; 5223 default: 5224 break; 5225 }; 5226 break; 5227 /* linux_fcntl64 */ 5228 case 221: 5229 switch(ndx) { 5230 case 0: 5231 p = "l_uint"; 5232 break; 5233 case 1: 5234 p = "l_uint"; 5235 break; 5236 case 2: 5237 p = "l_ulong"; 5238 break; 5239 default: 5240 break; 5241 }; 5242 break; 5243 /* linux_gettid */ 5244 case 224: 5245 break; 5246 /* linux_setxattr */ 5247 case 226: 5248 break; 5249 /* linux_lsetxattr */ 5250 case 227: 5251 break; 5252 /* linux_fsetxattr */ 5253 case 228: 5254 break; 5255 /* linux_getxattr */ 5256 case 229: 5257 break; 5258 /* linux_lgetxattr */ 5259 case 230: 5260 break; 5261 /* linux_fgetxattr */ 5262 case 231: 5263 break; 5264 /* linux_listxattr */ 5265 case 232: 5266 break; 5267 /* linux_llistxattr */ 5268 case 233: 5269 break; 5270 /* linux_flistxattr */ 5271 case 234: 5272 break; 5273 /* linux_removexattr */ 5274 case 235: 5275 break; 5276 /* linux_lremovexattr */ 5277 case 236: 5278 break; 5279 /* linux_fremovexattr */ 5280 case 237: 5281 break; 5282 /* linux_tkill */ 5283 case 238: 5284 switch(ndx) { 5285 case 0: 5286 p = "int"; 5287 break; 5288 case 1: 5289 p = "int"; 5290 break; 5291 default: 5292 break; 5293 }; 5294 break; 5295 /* linux_sys_futex */ 5296 case 240: 5297 switch(ndx) { 5298 case 0: 5299 p = "userland void *"; 5300 break; 5301 case 1: 5302 p = "int"; 5303 break; 5304 case 2: 5305 p = "uint32_t"; 5306 break; 5307 case 3: 5308 p = "userland struct l_timespec *"; 5309 break; 5310 case 4: 5311 p = "userland uint32_t *"; 5312 break; 5313 case 5: 5314 p = "uint32_t"; 5315 break; 5316 default: 5317 break; 5318 }; 5319 break; 5320 /* linux_sched_setaffinity */ 5321 case 241: 5322 switch(ndx) { 5323 case 0: 5324 p = "l_pid_t"; 5325 break; 5326 case 1: 5327 p = "l_uint"; 5328 break; 5329 case 2: 5330 p = "userland l_ulong *"; 5331 break; 5332 default: 5333 break; 5334 }; 5335 break; 5336 /* linux_sched_getaffinity */ 5337 case 242: 5338 switch(ndx) { 5339 case 0: 5340 p = "l_pid_t"; 5341 break; 5342 case 1: 5343 p = "l_uint"; 5344 break; 5345 case 2: 5346 p = "userland l_ulong *"; 5347 break; 5348 default: 5349 break; 5350 }; 5351 break; 5352 /* linux_set_thread_area */ 5353 case 243: 5354 switch(ndx) { 5355 case 0: 5356 p = "userland struct l_user_desc *"; 5357 break; 5358 default: 5359 break; 5360 }; 5361 break; 5362 /* linux_get_thread_area */ 5363 case 244: 5364 switch(ndx) { 5365 case 0: 5366 p = "userland struct l_user_desc *"; 5367 break; 5368 default: 5369 break; 5370 }; 5371 break; 5372 /* linux_fadvise64 */ 5373 case 250: 5374 switch(ndx) { 5375 case 0: 5376 p = "int"; 5377 break; 5378 case 1: 5379 p = "l_loff_t"; 5380 break; 5381 case 2: 5382 p = "l_size_t"; 5383 break; 5384 case 3: 5385 p = "int"; 5386 break; 5387 default: 5388 break; 5389 }; 5390 break; 5391 /* linux_exit_group */ 5392 case 252: 5393 switch(ndx) { 5394 case 0: 5395 p = "int"; 5396 break; 5397 default: 5398 break; 5399 }; 5400 break; 5401 /* linux_lookup_dcookie */ 5402 case 253: 5403 break; 5404 /* linux_epoll_create */ 5405 case 254: 5406 switch(ndx) { 5407 case 0: 5408 p = "l_int"; 5409 break; 5410 default: 5411 break; 5412 }; 5413 break; 5414 /* linux_epoll_ctl */ 5415 case 255: 5416 switch(ndx) { 5417 case 0: 5418 p = "l_int"; 5419 break; 5420 case 1: 5421 p = "l_int"; 5422 break; 5423 case 2: 5424 p = "l_int"; 5425 break; 5426 case 3: 5427 p = "userland struct epoll_event *"; 5428 break; 5429 default: 5430 break; 5431 }; 5432 break; 5433 /* linux_epoll_wait */ 5434 case 256: 5435 switch(ndx) { 5436 case 0: 5437 p = "l_int"; 5438 break; 5439 case 1: 5440 p = "userland struct epoll_event *"; 5441 break; 5442 case 2: 5443 p = "l_int"; 5444 break; 5445 case 3: 5446 p = "l_int"; 5447 break; 5448 default: 5449 break; 5450 }; 5451 break; 5452 /* linux_remap_file_pages */ 5453 case 257: 5454 break; 5455 /* linux_set_tid_address */ 5456 case 258: 5457 switch(ndx) { 5458 case 0: 5459 p = "userland int *"; 5460 break; 5461 default: 5462 break; 5463 }; 5464 break; 5465 /* linux_timer_create */ 5466 case 259: 5467 switch(ndx) { 5468 case 0: 5469 p = "clockid_t"; 5470 break; 5471 case 1: 5472 p = "userland struct sigevent *"; 5473 break; 5474 case 2: 5475 p = "userland l_timer_t *"; 5476 break; 5477 default: 5478 break; 5479 }; 5480 break; 5481 /* linux_timer_settime */ 5482 case 260: 5483 switch(ndx) { 5484 case 0: 5485 p = "l_timer_t"; 5486 break; 5487 case 1: 5488 p = "l_int"; 5489 break; 5490 case 2: 5491 p = "userland const struct itimerspec *"; 5492 break; 5493 case 3: 5494 p = "userland struct itimerspec *"; 5495 break; 5496 default: 5497 break; 5498 }; 5499 break; 5500 /* linux_timer_gettime */ 5501 case 261: 5502 switch(ndx) { 5503 case 0: 5504 p = "l_timer_t"; 5505 break; 5506 case 1: 5507 p = "userland struct itimerspec *"; 5508 break; 5509 default: 5510 break; 5511 }; 5512 break; 5513 /* linux_timer_getoverrun */ 5514 case 262: 5515 switch(ndx) { 5516 case 0: 5517 p = "l_timer_t"; 5518 break; 5519 default: 5520 break; 5521 }; 5522 break; 5523 /* linux_timer_delete */ 5524 case 263: 5525 switch(ndx) { 5526 case 0: 5527 p = "l_timer_t"; 5528 break; 5529 default: 5530 break; 5531 }; 5532 break; 5533 /* linux_clock_settime */ 5534 case 264: 5535 switch(ndx) { 5536 case 0: 5537 p = "clockid_t"; 5538 break; 5539 case 1: 5540 p = "userland struct l_timespec *"; 5541 break; 5542 default: 5543 break; 5544 }; 5545 break; 5546 /* linux_clock_gettime */ 5547 case 265: 5548 switch(ndx) { 5549 case 0: 5550 p = "clockid_t"; 5551 break; 5552 case 1: 5553 p = "userland struct l_timespec *"; 5554 break; 5555 default: 5556 break; 5557 }; 5558 break; 5559 /* linux_clock_getres */ 5560 case 266: 5561 switch(ndx) { 5562 case 0: 5563 p = "clockid_t"; 5564 break; 5565 case 1: 5566 p = "userland struct l_timespec *"; 5567 break; 5568 default: 5569 break; 5570 }; 5571 break; 5572 /* linux_clock_nanosleep */ 5573 case 267: 5574 switch(ndx) { 5575 case 0: 5576 p = "clockid_t"; 5577 break; 5578 case 1: 5579 p = "int"; 5580 break; 5581 case 2: 5582 p = "userland struct l_timespec *"; 5583 break; 5584 case 3: 5585 p = "userland struct l_timespec *"; 5586 break; 5587 default: 5588 break; 5589 }; 5590 break; 5591 /* linux_statfs64 */ 5592 case 268: 5593 switch(ndx) { 5594 case 0: 5595 p = "userland char *"; 5596 break; 5597 case 1: 5598 p = "size_t"; 5599 break; 5600 case 2: 5601 p = "userland struct l_statfs64_buf *"; 5602 break; 5603 default: 5604 break; 5605 }; 5606 break; 5607 /* linux_fstatfs64 */ 5608 case 269: 5609 switch(ndx) { 5610 case 0: 5611 p = "l_uint"; 5612 break; 5613 case 1: 5614 p = "size_t"; 5615 break; 5616 case 2: 5617 p = "userland struct l_statfs64_buf *"; 5618 break; 5619 default: 5620 break; 5621 }; 5622 break; 5623 /* linux_tgkill */ 5624 case 270: 5625 switch(ndx) { 5626 case 0: 5627 p = "int"; 5628 break; 5629 case 1: 5630 p = "int"; 5631 break; 5632 case 2: 5633 p = "int"; 5634 break; 5635 default: 5636 break; 5637 }; 5638 break; 5639 /* linux_utimes */ 5640 case 271: 5641 switch(ndx) { 5642 case 0: 5643 p = "userland char *"; 5644 break; 5645 case 1: 5646 p = "userland struct l_timeval *"; 5647 break; 5648 default: 5649 break; 5650 }; 5651 break; 5652 /* linux_fadvise64_64 */ 5653 case 272: 5654 switch(ndx) { 5655 case 0: 5656 p = "int"; 5657 break; 5658 case 1: 5659 p = "l_loff_t"; 5660 break; 5661 case 2: 5662 p = "l_loff_t"; 5663 break; 5664 case 3: 5665 p = "int"; 5666 break; 5667 default: 5668 break; 5669 }; 5670 break; 5671 /* linux_mbind */ 5672 case 274: 5673 break; 5674 /* linux_get_mempolicy */ 5675 case 275: 5676 break; 5677 /* linux_set_mempolicy */ 5678 case 276: 5679 break; 5680 /* linux_mq_open */ 5681 case 277: 5682 switch(ndx) { 5683 case 0: 5684 p = "userland const char *"; 5685 break; 5686 case 1: 5687 p = "int"; 5688 break; 5689 case 2: 5690 p = "mode_t"; 5691 break; 5692 case 3: 5693 p = "userland struct mq_attr *"; 5694 break; 5695 default: 5696 break; 5697 }; 5698 break; 5699 /* linux_mq_unlink */ 5700 case 278: 5701 switch(ndx) { 5702 case 0: 5703 p = "userland const char *"; 5704 break; 5705 default: 5706 break; 5707 }; 5708 break; 5709 /* linux_mq_timedsend */ 5710 case 279: 5711 switch(ndx) { 5712 case 0: 5713 p = "l_mqd_t"; 5714 break; 5715 case 1: 5716 p = "userland const char *"; 5717 break; 5718 case 2: 5719 p = "size_t"; 5720 break; 5721 case 3: 5722 p = "unsigned int"; 5723 break; 5724 case 4: 5725 p = "userland const struct l_timespec *"; 5726 break; 5727 default: 5728 break; 5729 }; 5730 break; 5731 /* linux_mq_timedreceive */ 5732 case 280: 5733 switch(ndx) { 5734 case 0: 5735 p = "l_mqd_t"; 5736 break; 5737 case 1: 5738 p = "userland char *"; 5739 break; 5740 case 2: 5741 p = "size_t"; 5742 break; 5743 case 3: 5744 p = "unsigned int"; 5745 break; 5746 case 4: 5747 p = "userland const struct l_timespec *"; 5748 break; 5749 default: 5750 break; 5751 }; 5752 break; 5753 /* linux_mq_notify */ 5754 case 281: 5755 switch(ndx) { 5756 case 0: 5757 p = "l_mqd_t"; 5758 break; 5759 case 1: 5760 p = "userland const struct l_timespec *"; 5761 break; 5762 default: 5763 break; 5764 }; 5765 break; 5766 /* linux_mq_getsetattr */ 5767 case 282: 5768 switch(ndx) { 5769 case 0: 5770 p = "l_mqd_t"; 5771 break; 5772 case 1: 5773 p = "userland const struct mq_attr *"; 5774 break; 5775 case 2: 5776 p = "userland struct mq_attr *"; 5777 break; 5778 default: 5779 break; 5780 }; 5781 break; 5782 /* linux_kexec_load */ 5783 case 283: 5784 break; 5785 /* linux_waitid */ 5786 case 284: 5787 switch(ndx) { 5788 case 0: 5789 p = "int"; 5790 break; 5791 case 1: 5792 p = "l_pid_t"; 5793 break; 5794 case 2: 5795 p = "userland l_siginfo_t *"; 5796 break; 5797 case 3: 5798 p = "int"; 5799 break; 5800 case 4: 5801 p = "userland void *"; 5802 break; 5803 default: 5804 break; 5805 }; 5806 break; 5807 /* linux_add_key */ 5808 case 286: 5809 break; 5810 /* linux_request_key */ 5811 case 287: 5812 break; 5813 /* linux_keyctl */ 5814 case 288: 5815 break; 5816 /* linux_ioprio_set */ 5817 case 289: 5818 break; 5819 /* linux_ioprio_get */ 5820 case 290: 5821 break; 5822 /* linux_inotify_init */ 5823 case 291: 5824 break; 5825 /* linux_inotify_add_watch */ 5826 case 292: 5827 break; 5828 /* linux_inotify_rm_watch */ 5829 case 293: 5830 break; 5831 /* linux_migrate_pages */ 5832 case 294: 5833 break; 5834 /* linux_openat */ 5835 case 295: 5836 switch(ndx) { 5837 case 0: 5838 p = "l_int"; 5839 break; 5840 case 1: 5841 p = "userland const char *"; 5842 break; 5843 case 2: 5844 p = "l_int"; 5845 break; 5846 case 3: 5847 p = "l_int"; 5848 break; 5849 default: 5850 break; 5851 }; 5852 break; 5853 /* linux_mkdirat */ 5854 case 296: 5855 switch(ndx) { 5856 case 0: 5857 p = "l_int"; 5858 break; 5859 case 1: 5860 p = "userland const char *"; 5861 break; 5862 case 2: 5863 p = "l_int"; 5864 break; 5865 default: 5866 break; 5867 }; 5868 break; 5869 /* linux_mknodat */ 5870 case 297: 5871 switch(ndx) { 5872 case 0: 5873 p = "l_int"; 5874 break; 5875 case 1: 5876 p = "userland const char *"; 5877 break; 5878 case 2: 5879 p = "l_int"; 5880 break; 5881 case 3: 5882 p = "l_uint"; 5883 break; 5884 default: 5885 break; 5886 }; 5887 break; 5888 /* linux_fchownat */ 5889 case 298: 5890 switch(ndx) { 5891 case 0: 5892 p = "l_int"; 5893 break; 5894 case 1: 5895 p = "userland const char *"; 5896 break; 5897 case 2: 5898 p = "l_uid16_t"; 5899 break; 5900 case 3: 5901 p = "l_gid16_t"; 5902 break; 5903 case 4: 5904 p = "l_int"; 5905 break; 5906 default: 5907 break; 5908 }; 5909 break; 5910 /* linux_futimesat */ 5911 case 299: 5912 switch(ndx) { 5913 case 0: 5914 p = "l_int"; 5915 break; 5916 case 1: 5917 p = "userland char *"; 5918 break; 5919 case 2: 5920 p = "userland struct l_timeval *"; 5921 break; 5922 default: 5923 break; 5924 }; 5925 break; 5926 /* linux_fstatat64 */ 5927 case 300: 5928 switch(ndx) { 5929 case 0: 5930 p = "l_int"; 5931 break; 5932 case 1: 5933 p = "userland char *"; 5934 break; 5935 case 2: 5936 p = "userland struct l_stat64 *"; 5937 break; 5938 case 3: 5939 p = "l_int"; 5940 break; 5941 default: 5942 break; 5943 }; 5944 break; 5945 /* linux_unlinkat */ 5946 case 301: 5947 switch(ndx) { 5948 case 0: 5949 p = "l_int"; 5950 break; 5951 case 1: 5952 p = "userland const char *"; 5953 break; 5954 case 2: 5955 p = "l_int"; 5956 break; 5957 default: 5958 break; 5959 }; 5960 break; 5961 /* linux_renameat */ 5962 case 302: 5963 switch(ndx) { 5964 case 0: 5965 p = "l_int"; 5966 break; 5967 case 1: 5968 p = "userland const char *"; 5969 break; 5970 case 2: 5971 p = "l_int"; 5972 break; 5973 case 3: 5974 p = "userland const char *"; 5975 break; 5976 default: 5977 break; 5978 }; 5979 break; 5980 /* linux_linkat */ 5981 case 303: 5982 switch(ndx) { 5983 case 0: 5984 p = "l_int"; 5985 break; 5986 case 1: 5987 p = "userland const char *"; 5988 break; 5989 case 2: 5990 p = "l_int"; 5991 break; 5992 case 3: 5993 p = "userland const char *"; 5994 break; 5995 case 4: 5996 p = "l_int"; 5997 break; 5998 default: 5999 break; 6000 }; 6001 break; 6002 /* linux_symlinkat */ 6003 case 304: 6004 switch(ndx) { 6005 case 0: 6006 p = "userland const char *"; 6007 break; 6008 case 1: 6009 p = "l_int"; 6010 break; 6011 case 2: 6012 p = "userland const char *"; 6013 break; 6014 default: 6015 break; 6016 }; 6017 break; 6018 /* linux_readlinkat */ 6019 case 305: 6020 switch(ndx) { 6021 case 0: 6022 p = "l_int"; 6023 break; 6024 case 1: 6025 p = "userland const char *"; 6026 break; 6027 case 2: 6028 p = "userland char *"; 6029 break; 6030 case 3: 6031 p = "l_int"; 6032 break; 6033 default: 6034 break; 6035 }; 6036 break; 6037 /* linux_fchmodat */ 6038 case 306: 6039 switch(ndx) { 6040 case 0: 6041 p = "l_int"; 6042 break; 6043 case 1: 6044 p = "userland const char *"; 6045 break; 6046 case 2: 6047 p = "l_mode_t"; 6048 break; 6049 default: 6050 break; 6051 }; 6052 break; 6053 /* linux_faccessat */ 6054 case 307: 6055 switch(ndx) { 6056 case 0: 6057 p = "l_int"; 6058 break; 6059 case 1: 6060 p = "userland const char *"; 6061 break; 6062 case 2: 6063 p = "l_int"; 6064 break; 6065 default: 6066 break; 6067 }; 6068 break; 6069 /* linux_pselect6 */ 6070 case 308: 6071 switch(ndx) { 6072 case 0: 6073 p = "l_int"; 6074 break; 6075 case 1: 6076 p = "userland l_fd_set *"; 6077 break; 6078 case 2: 6079 p = "userland l_fd_set *"; 6080 break; 6081 case 3: 6082 p = "userland l_fd_set *"; 6083 break; 6084 case 4: 6085 p = "userland struct l_timespec *"; 6086 break; 6087 case 5: 6088 p = "userland l_uintptr_t *"; 6089 break; 6090 default: 6091 break; 6092 }; 6093 break; 6094 /* linux_ppoll */ 6095 case 309: 6096 switch(ndx) { 6097 case 0: 6098 p = "userland struct pollfd *"; 6099 break; 6100 case 1: 6101 p = "uint32_t"; 6102 break; 6103 case 2: 6104 p = "userland struct l_timespec *"; 6105 break; 6106 case 3: 6107 p = "userland l_sigset_t *"; 6108 break; 6109 case 4: 6110 p = "l_size_t"; 6111 break; 6112 default: 6113 break; 6114 }; 6115 break; 6116 /* linux_unshare */ 6117 case 310: 6118 break; 6119 /* linux_set_robust_list */ 6120 case 311: 6121 switch(ndx) { 6122 case 0: 6123 p = "userland struct linux_robust_list_head *"; 6124 break; 6125 case 1: 6126 p = "l_size_t"; 6127 break; 6128 default: 6129 break; 6130 }; 6131 break; 6132 /* linux_get_robust_list */ 6133 case 312: 6134 switch(ndx) { 6135 case 0: 6136 p = "l_int"; 6137 break; 6138 case 1: 6139 p = "userland struct linux_robust_list_head **"; 6140 break; 6141 case 2: 6142 p = "userland l_size_t *"; 6143 break; 6144 default: 6145 break; 6146 }; 6147 break; 6148 /* linux_splice */ 6149 case 313: 6150 break; 6151 /* linux_sync_file_range */ 6152 case 314: 6153 break; 6154 /* linux_tee */ 6155 case 315: 6156 break; 6157 /* linux_vmsplice */ 6158 case 316: 6159 break; 6160 /* linux_move_pages */ 6161 case 317: 6162 break; 6163 /* linux_getcpu */ 6164 case 318: 6165 break; 6166 /* linux_epoll_pwait */ 6167 case 319: 6168 switch(ndx) { 6169 case 0: 6170 p = "l_int"; 6171 break; 6172 case 1: 6173 p = "userland struct epoll_event *"; 6174 break; 6175 case 2: 6176 p = "l_int"; 6177 break; 6178 case 3: 6179 p = "l_int"; 6180 break; 6181 case 4: 6182 p = "userland l_sigset_t *"; 6183 break; 6184 case 5: 6185 p = "l_size_t"; 6186 break; 6187 default: 6188 break; 6189 }; 6190 break; 6191 /* linux_utimensat */ 6192 case 320: 6193 switch(ndx) { 6194 case 0: 6195 p = "l_int"; 6196 break; 6197 case 1: 6198 p = "userland const char *"; 6199 break; 6200 case 2: 6201 p = "userland const struct l_timespec *"; 6202 break; 6203 case 3: 6204 p = "l_int"; 6205 break; 6206 default: 6207 break; 6208 }; 6209 break; 6210 /* linux_signalfd */ 6211 case 321: 6212 break; 6213 /* linux_timerfd_create */ 6214 case 322: 6215 switch(ndx) { 6216 case 0: 6217 p = "l_int"; 6218 break; 6219 case 1: 6220 p = "l_int"; 6221 break; 6222 default: 6223 break; 6224 }; 6225 break; 6226 /* linux_eventfd */ 6227 case 323: 6228 switch(ndx) { 6229 case 0: 6230 p = "l_uint"; 6231 break; 6232 default: 6233 break; 6234 }; 6235 break; 6236 /* linux_fallocate */ 6237 case 324: 6238 switch(ndx) { 6239 case 0: 6240 p = "l_int"; 6241 break; 6242 case 1: 6243 p = "l_int"; 6244 break; 6245 case 2: 6246 p = "l_loff_t"; 6247 break; 6248 case 3: 6249 p = "l_loff_t"; 6250 break; 6251 default: 6252 break; 6253 }; 6254 break; 6255 /* linux_timerfd_settime */ 6256 case 325: 6257 switch(ndx) { 6258 case 0: 6259 p = "l_int"; 6260 break; 6261 case 1: 6262 p = "l_int"; 6263 break; 6264 case 2: 6265 p = "userland const struct l_itimerspec *"; 6266 break; 6267 case 3: 6268 p = "userland struct l_itimerspec *"; 6269 break; 6270 default: 6271 break; 6272 }; 6273 break; 6274 /* linux_timerfd_gettime */ 6275 case 326: 6276 switch(ndx) { 6277 case 0: 6278 p = "l_int"; 6279 break; 6280 case 1: 6281 p = "userland struct l_itimerspec *"; 6282 break; 6283 default: 6284 break; 6285 }; 6286 break; 6287 /* linux_signalfd4 */ 6288 case 327: 6289 break; 6290 /* linux_eventfd2 */ 6291 case 328: 6292 switch(ndx) { 6293 case 0: 6294 p = "l_uint"; 6295 break; 6296 case 1: 6297 p = "l_int"; 6298 break; 6299 default: 6300 break; 6301 }; 6302 break; 6303 /* linux_epoll_create1 */ 6304 case 329: 6305 switch(ndx) { 6306 case 0: 6307 p = "l_int"; 6308 break; 6309 default: 6310 break; 6311 }; 6312 break; 6313 /* linux_dup3 */ 6314 case 330: 6315 switch(ndx) { 6316 case 0: 6317 p = "l_int"; 6318 break; 6319 case 1: 6320 p = "l_int"; 6321 break; 6322 case 2: 6323 p = "l_int"; 6324 break; 6325 default: 6326 break; 6327 }; 6328 break; 6329 /* linux_pipe2 */ 6330 case 331: 6331 switch(ndx) { 6332 case 0: 6333 p = "userland l_int *"; 6334 break; 6335 case 1: 6336 p = "l_int"; 6337 break; 6338 default: 6339 break; 6340 }; 6341 break; 6342 /* linux_inotify_init1 */ 6343 case 332: 6344 break; 6345 /* linux_preadv */ 6346 case 333: 6347 switch(ndx) { 6348 case 0: 6349 p = "l_ulong"; 6350 break; 6351 case 1: 6352 p = "userland struct iovec *"; 6353 break; 6354 case 2: 6355 p = "l_ulong"; 6356 break; 6357 case 3: 6358 p = "l_ulong"; 6359 break; 6360 case 4: 6361 p = "l_ulong"; 6362 break; 6363 default: 6364 break; 6365 }; 6366 break; 6367 /* linux_pwritev */ 6368 case 334: 6369 switch(ndx) { 6370 case 0: 6371 p = "l_ulong"; 6372 break; 6373 case 1: 6374 p = "userland struct iovec *"; 6375 break; 6376 case 2: 6377 p = "l_ulong"; 6378 break; 6379 case 3: 6380 p = "l_ulong"; 6381 break; 6382 case 4: 6383 p = "l_ulong"; 6384 break; 6385 default: 6386 break; 6387 }; 6388 break; 6389 /* linux_rt_tgsigqueueinfo */ 6390 case 335: 6391 switch(ndx) { 6392 case 0: 6393 p = "l_pid_t"; 6394 break; 6395 case 1: 6396 p = "l_pid_t"; 6397 break; 6398 case 2: 6399 p = "l_int"; 6400 break; 6401 case 3: 6402 p = "userland l_siginfo_t *"; 6403 break; 6404 default: 6405 break; 6406 }; 6407 break; 6408 /* linux_perf_event_open */ 6409 case 336: 6410 break; 6411 /* linux_recvmmsg */ 6412 case 337: 6413 switch(ndx) { 6414 case 0: 6415 p = "l_int"; 6416 break; 6417 case 1: 6418 p = "userland struct l_mmsghdr *"; 6419 break; 6420 case 2: 6421 p = "l_uint"; 6422 break; 6423 case 3: 6424 p = "l_uint"; 6425 break; 6426 case 4: 6427 p = "userland struct l_timespec *"; 6428 break; 6429 default: 6430 break; 6431 }; 6432 break; 6433 /* linux_fanotify_init */ 6434 case 338: 6435 break; 6436 /* linux_fanotify_mark */ 6437 case 339: 6438 break; 6439 /* linux_prlimit64 */ 6440 case 340: 6441 switch(ndx) { 6442 case 0: 6443 p = "l_pid_t"; 6444 break; 6445 case 1: 6446 p = "l_uint"; 6447 break; 6448 case 2: 6449 p = "userland struct rlimit *"; 6450 break; 6451 case 3: 6452 p = "userland struct rlimit *"; 6453 break; 6454 default: 6455 break; 6456 }; 6457 break; 6458 /* linux_name_to_handle_at */ 6459 case 341: 6460 break; 6461 /* linux_open_by_handle_at */ 6462 case 342: 6463 break; 6464 /* linux_clock_adjtime */ 6465 case 343: 6466 break; 6467 /* linux_syncfs */ 6468 case 344: 6469 switch(ndx) { 6470 case 0: 6471 p = "l_int"; 6472 break; 6473 default: 6474 break; 6475 }; 6476 break; 6477 /* linux_sendmmsg */ 6478 case 345: 6479 switch(ndx) { 6480 case 0: 6481 p = "l_int"; 6482 break; 6483 case 1: 6484 p = "userland struct l_mmsghdr *"; 6485 break; 6486 case 2: 6487 p = "l_uint"; 6488 break; 6489 case 3: 6490 p = "l_uint"; 6491 break; 6492 default: 6493 break; 6494 }; 6495 break; 6496 /* linux_setns */ 6497 case 346: 6498 break; 6499 /* linux_process_vm_readv */ 6500 case 347: 6501 switch(ndx) { 6502 case 0: 6503 p = "l_pid_t"; 6504 break; 6505 case 1: 6506 p = "userland const struct iovec *"; 6507 break; 6508 case 2: 6509 p = "l_ulong"; 6510 break; 6511 case 3: 6512 p = "userland const struct iovec *"; 6513 break; 6514 case 4: 6515 p = "l_ulong"; 6516 break; 6517 case 5: 6518 p = "l_ulong"; 6519 break; 6520 default: 6521 break; 6522 }; 6523 break; 6524 /* linux_process_vm_writev */ 6525 case 348: 6526 switch(ndx) { 6527 case 0: 6528 p = "l_pid_t"; 6529 break; 6530 case 1: 6531 p = "userland const struct iovec *"; 6532 break; 6533 case 2: 6534 p = "l_ulong"; 6535 break; 6536 case 3: 6537 p = "userland const struct iovec *"; 6538 break; 6539 case 4: 6540 p = "l_ulong"; 6541 break; 6542 case 5: 6543 p = "l_ulong"; 6544 break; 6545 default: 6546 break; 6547 }; 6548 break; 6549 /* linux_kcmp */ 6550 case 349: 6551 switch(ndx) { 6552 case 0: 6553 p = "l_pid_t"; 6554 break; 6555 case 1: 6556 p = "l_pid_t"; 6557 break; 6558 case 2: 6559 p = "l_int"; 6560 break; 6561 case 3: 6562 p = "l_ulong"; 6563 break; 6564 case 4: 6565 p = "l_ulong"; 6566 break; 6567 default: 6568 break; 6569 }; 6570 break; 6571 /* linux_finit_module */ 6572 case 350: 6573 switch(ndx) { 6574 case 0: 6575 p = "l_int"; 6576 break; 6577 case 1: 6578 p = "userland const char *"; 6579 break; 6580 case 2: 6581 p = "l_int"; 6582 break; 6583 default: 6584 break; 6585 }; 6586 break; 6587 /* linux_sched_setattr */ 6588 case 351: 6589 switch(ndx) { 6590 case 0: 6591 p = "l_pid_t"; 6592 break; 6593 case 1: 6594 p = "userland void *"; 6595 break; 6596 case 2: 6597 p = "l_uint"; 6598 break; 6599 default: 6600 break; 6601 }; 6602 break; 6603 /* linux_sched_getattr */ 6604 case 352: 6605 switch(ndx) { 6606 case 0: 6607 p = "l_pid_t"; 6608 break; 6609 case 1: 6610 p = "userland void *"; 6611 break; 6612 case 2: 6613 p = "l_uint"; 6614 break; 6615 case 3: 6616 p = "l_uint"; 6617 break; 6618 default: 6619 break; 6620 }; 6621 break; 6622 /* linux_renameat2 */ 6623 case 353: 6624 switch(ndx) { 6625 case 0: 6626 p = "l_int"; 6627 break; 6628 case 1: 6629 p = "userland const char *"; 6630 break; 6631 case 2: 6632 p = "l_int"; 6633 break; 6634 case 3: 6635 p = "userland const char *"; 6636 break; 6637 case 4: 6638 p = "unsigned int"; 6639 break; 6640 default: 6641 break; 6642 }; 6643 break; 6644 /* linux_seccomp */ 6645 case 354: 6646 switch(ndx) { 6647 case 0: 6648 p = "l_uint"; 6649 break; 6650 case 1: 6651 p = "l_uint"; 6652 break; 6653 case 2: 6654 p = "userland const char *"; 6655 break; 6656 default: 6657 break; 6658 }; 6659 break; 6660 /* linux_getrandom */ 6661 case 355: 6662 switch(ndx) { 6663 case 0: 6664 p = "userland char *"; 6665 break; 6666 case 1: 6667 p = "l_size_t"; 6668 break; 6669 case 2: 6670 p = "l_uint"; 6671 break; 6672 default: 6673 break; 6674 }; 6675 break; 6676 /* linux_memfd_create */ 6677 case 356: 6678 switch(ndx) { 6679 case 0: 6680 p = "userland const char *"; 6681 break; 6682 case 1: 6683 p = "l_uint"; 6684 break; 6685 default: 6686 break; 6687 }; 6688 break; 6689 /* linux_bpf */ 6690 case 357: 6691 switch(ndx) { 6692 case 0: 6693 p = "l_int"; 6694 break; 6695 case 1: 6696 p = "userland void *"; 6697 break; 6698 case 2: 6699 p = "l_uint"; 6700 break; 6701 default: 6702 break; 6703 }; 6704 break; 6705 /* linux_execveat */ 6706 case 358: 6707 switch(ndx) { 6708 case 0: 6709 p = "l_int"; 6710 break; 6711 case 1: 6712 p = "userland const char *"; 6713 break; 6714 case 2: 6715 p = "userland const char **"; 6716 break; 6717 case 3: 6718 p = "userland const char **"; 6719 break; 6720 case 4: 6721 p = "l_int"; 6722 break; 6723 default: 6724 break; 6725 }; 6726 break; 6727 /* linux_socket */ 6728 case 359: 6729 switch(ndx) { 6730 case 0: 6731 p = "l_int"; 6732 break; 6733 case 1: 6734 p = "l_int"; 6735 break; 6736 case 2: 6737 p = "l_int"; 6738 break; 6739 default: 6740 break; 6741 }; 6742 break; 6743 /* linux_socketpair */ 6744 case 360: 6745 switch(ndx) { 6746 case 0: 6747 p = "l_int"; 6748 break; 6749 case 1: 6750 p = "l_int"; 6751 break; 6752 case 2: 6753 p = "l_int"; 6754 break; 6755 case 3: 6756 p = "l_uintptr_t"; 6757 break; 6758 default: 6759 break; 6760 }; 6761 break; 6762 /* linux_bind */ 6763 case 361: 6764 switch(ndx) { 6765 case 0: 6766 p = "l_int"; 6767 break; 6768 case 1: 6769 p = "l_uintptr_t"; 6770 break; 6771 case 2: 6772 p = "l_int"; 6773 break; 6774 default: 6775 break; 6776 }; 6777 break; 6778 /* linux_connect */ 6779 case 362: 6780 switch(ndx) { 6781 case 0: 6782 p = "l_int"; 6783 break; 6784 case 1: 6785 p = "l_uintptr_t"; 6786 break; 6787 case 2: 6788 p = "l_int"; 6789 break; 6790 default: 6791 break; 6792 }; 6793 break; 6794 /* linux_listen */ 6795 case 363: 6796 switch(ndx) { 6797 case 0: 6798 p = "l_int"; 6799 break; 6800 case 1: 6801 p = "l_int"; 6802 break; 6803 default: 6804 break; 6805 }; 6806 break; 6807 /* linux_accept4 */ 6808 case 364: 6809 switch(ndx) { 6810 case 0: 6811 p = "l_int"; 6812 break; 6813 case 1: 6814 p = "l_uintptr_t"; 6815 break; 6816 case 2: 6817 p = "l_uintptr_t"; 6818 break; 6819 case 3: 6820 p = "l_int"; 6821 break; 6822 default: 6823 break; 6824 }; 6825 break; 6826 /* linux_getsockopt */ 6827 case 365: 6828 switch(ndx) { 6829 case 0: 6830 p = "l_int"; 6831 break; 6832 case 1: 6833 p = "l_int"; 6834 break; 6835 case 2: 6836 p = "l_int"; 6837 break; 6838 case 3: 6839 p = "l_uintptr_t"; 6840 break; 6841 case 4: 6842 p = "l_uintptr_t"; 6843 break; 6844 default: 6845 break; 6846 }; 6847 break; 6848 /* linux_setsockopt */ 6849 case 366: 6850 switch(ndx) { 6851 case 0: 6852 p = "l_int"; 6853 break; 6854 case 1: 6855 p = "l_int"; 6856 break; 6857 case 2: 6858 p = "l_int"; 6859 break; 6860 case 3: 6861 p = "l_uintptr_t"; 6862 break; 6863 case 4: 6864 p = "l_int"; 6865 break; 6866 default: 6867 break; 6868 }; 6869 break; 6870 /* linux_getsockname */ 6871 case 367: 6872 switch(ndx) { 6873 case 0: 6874 p = "l_int"; 6875 break; 6876 case 1: 6877 p = "l_uintptr_t"; 6878 break; 6879 case 2: 6880 p = "l_uintptr_t"; 6881 break; 6882 default: 6883 break; 6884 }; 6885 break; 6886 /* linux_getpeername */ 6887 case 368: 6888 switch(ndx) { 6889 case 0: 6890 p = "l_int"; 6891 break; 6892 case 1: 6893 p = "l_uintptr_t"; 6894 break; 6895 case 2: 6896 p = "l_uintptr_t"; 6897 break; 6898 default: 6899 break; 6900 }; 6901 break; 6902 /* linux_sendto */ 6903 case 369: 6904 switch(ndx) { 6905 case 0: 6906 p = "l_int"; 6907 break; 6908 case 1: 6909 p = "l_uintptr_t"; 6910 break; 6911 case 2: 6912 p = "l_int"; 6913 break; 6914 case 3: 6915 p = "l_int"; 6916 break; 6917 case 4: 6918 p = "l_uintptr_t"; 6919 break; 6920 case 5: 6921 p = "l_int"; 6922 break; 6923 default: 6924 break; 6925 }; 6926 break; 6927 /* linux_sendmsg */ 6928 case 370: 6929 switch(ndx) { 6930 case 0: 6931 p = "l_int"; 6932 break; 6933 case 1: 6934 p = "l_uintptr_t"; 6935 break; 6936 case 2: 6937 p = "l_int"; 6938 break; 6939 default: 6940 break; 6941 }; 6942 break; 6943 /* linux_recvfrom */ 6944 case 371: 6945 switch(ndx) { 6946 case 0: 6947 p = "l_int"; 6948 break; 6949 case 1: 6950 p = "l_uintptr_t"; 6951 break; 6952 case 2: 6953 p = "l_size_t"; 6954 break; 6955 case 3: 6956 p = "l_int"; 6957 break; 6958 case 4: 6959 p = "l_uintptr_t"; 6960 break; 6961 case 5: 6962 p = "l_uintptr_t"; 6963 break; 6964 default: 6965 break; 6966 }; 6967 break; 6968 /* linux_recvmsg */ 6969 case 372: 6970 switch(ndx) { 6971 case 0: 6972 p = "l_int"; 6973 break; 6974 case 1: 6975 p = "l_uintptr_t"; 6976 break; 6977 case 2: 6978 p = "l_int"; 6979 break; 6980 default: 6981 break; 6982 }; 6983 break; 6984 /* linux_shutdown */ 6985 case 373: 6986 switch(ndx) { 6987 case 0: 6988 p = "l_int"; 6989 break; 6990 case 1: 6991 p = "l_int"; 6992 break; 6993 default: 6994 break; 6995 }; 6996 break; 6997 /* linux_userfaultfd */ 6998 case 374: 6999 switch(ndx) { 7000 case 0: 7001 p = "l_int"; 7002 break; 7003 default: 7004 break; 7005 }; 7006 break; 7007 /* linux_membarrier */ 7008 case 375: 7009 switch(ndx) { 7010 case 0: 7011 p = "l_int"; 7012 break; 7013 case 1: 7014 p = "l_int"; 7015 break; 7016 default: 7017 break; 7018 }; 7019 break; 7020 /* linux_mlock2 */ 7021 case 376: 7022 switch(ndx) { 7023 case 0: 7024 p = "l_ulong"; 7025 break; 7026 case 1: 7027 p = "l_size_t"; 7028 break; 7029 case 2: 7030 p = "l_int"; 7031 break; 7032 default: 7033 break; 7034 }; 7035 break; 7036 /* linux_copy_file_range */ 7037 case 377: 7038 switch(ndx) { 7039 case 0: 7040 p = "l_int"; 7041 break; 7042 case 1: 7043 p = "userland l_loff_t *"; 7044 break; 7045 case 2: 7046 p = "l_int"; 7047 break; 7048 case 3: 7049 p = "userland l_loff_t *"; 7050 break; 7051 case 4: 7052 p = "l_size_t"; 7053 break; 7054 case 5: 7055 p = "l_uint"; 7056 break; 7057 default: 7058 break; 7059 }; 7060 break; 7061 /* linux_preadv2 */ 7062 case 378: 7063 switch(ndx) { 7064 case 0: 7065 p = "l_ulong"; 7066 break; 7067 case 1: 7068 p = "userland const struct iovec *"; 7069 break; 7070 case 2: 7071 p = "l_ulong"; 7072 break; 7073 case 3: 7074 p = "l_ulong"; 7075 break; 7076 case 4: 7077 p = "l_ulong"; 7078 break; 7079 case 5: 7080 p = "l_int"; 7081 break; 7082 default: 7083 break; 7084 }; 7085 break; 7086 /* linux_pwritev2 */ 7087 case 379: 7088 switch(ndx) { 7089 case 0: 7090 p = "l_ulong"; 7091 break; 7092 case 1: 7093 p = "userland const struct iovec *"; 7094 break; 7095 case 2: 7096 p = "l_ulong"; 7097 break; 7098 case 3: 7099 p = "l_ulong"; 7100 break; 7101 case 4: 7102 p = "l_ulong"; 7103 break; 7104 case 5: 7105 p = "l_int"; 7106 break; 7107 default: 7108 break; 7109 }; 7110 break; 7111 /* linux_pkey_mprotect */ 7112 case 380: 7113 switch(ndx) { 7114 case 0: 7115 p = "l_ulong"; 7116 break; 7117 case 1: 7118 p = "l_size_t"; 7119 break; 7120 case 2: 7121 p = "l_ulong"; 7122 break; 7123 case 3: 7124 p = "l_int"; 7125 break; 7126 default: 7127 break; 7128 }; 7129 break; 7130 /* linux_pkey_alloc */ 7131 case 381: 7132 switch(ndx) { 7133 case 0: 7134 p = "l_ulong"; 7135 break; 7136 case 1: 7137 p = "l_ulong"; 7138 break; 7139 default: 7140 break; 7141 }; 7142 break; 7143 /* linux_pkey_free */ 7144 case 382: 7145 switch(ndx) { 7146 case 0: 7147 p = "l_int"; 7148 break; 7149 default: 7150 break; 7151 }; 7152 break; 7153 default: 7154 break; 7155 }; 7156 if (p != NULL) 7157 strlcpy(desc, p, descsz); 7158 } 7159 static void 7160 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) 7161 { 7162 const char *p = NULL; 7163 switch (sysnum) { 7164 #define nosys linux_nosys 7165 /* linux_exit */ 7166 case 1: 7167 if (ndx == 0 || ndx == 1) 7168 p = "void"; 7169 break; 7170 /* linux_fork */ 7171 case 2: 7172 /* read */ 7173 case 3: 7174 if (ndx == 0 || ndx == 1) 7175 p = "int"; 7176 break; 7177 /* write */ 7178 case 4: 7179 if (ndx == 0 || ndx == 1) 7180 p = "int"; 7181 break; 7182 /* linux_open */ 7183 case 5: 7184 if (ndx == 0 || ndx == 1) 7185 p = "int"; 7186 break; 7187 /* close */ 7188 case 6: 7189 if (ndx == 0 || ndx == 1) 7190 p = "int"; 7191 break; 7192 /* linux_waitpid */ 7193 case 7: 7194 if (ndx == 0 || ndx == 1) 7195 p = "int"; 7196 break; 7197 /* linux_creat */ 7198 case 8: 7199 if (ndx == 0 || ndx == 1) 7200 p = "int"; 7201 break; 7202 /* linux_link */ 7203 case 9: 7204 if (ndx == 0 || ndx == 1) 7205 p = "int"; 7206 break; 7207 /* linux_unlink */ 7208 case 10: 7209 if (ndx == 0 || ndx == 1) 7210 p = "int"; 7211 break; 7212 /* linux_execve */ 7213 case 11: 7214 if (ndx == 0 || ndx == 1) 7215 p = "int"; 7216 break; 7217 /* linux_chdir */ 7218 case 12: 7219 if (ndx == 0 || ndx == 1) 7220 p = "int"; 7221 break; 7222 /* linux_time */ 7223 case 13: 7224 if (ndx == 0 || ndx == 1) 7225 p = "int"; 7226 break; 7227 /* linux_mknod */ 7228 case 14: 7229 if (ndx == 0 || ndx == 1) 7230 p = "int"; 7231 break; 7232 /* linux_chmod */ 7233 case 15: 7234 if (ndx == 0 || ndx == 1) 7235 p = "int"; 7236 break; 7237 /* linux_lchown16 */ 7238 case 16: 7239 if (ndx == 0 || ndx == 1) 7240 p = "int"; 7241 break; 7242 /* linux_stat */ 7243 case 18: 7244 if (ndx == 0 || ndx == 1) 7245 p = "int"; 7246 break; 7247 /* linux_lseek */ 7248 case 19: 7249 if (ndx == 0 || ndx == 1) 7250 p = "int"; 7251 break; 7252 /* linux_getpid */ 7253 case 20: 7254 /* linux_mount */ 7255 case 21: 7256 if (ndx == 0 || ndx == 1) 7257 p = "int"; 7258 break; 7259 /* linux_oldumount */ 7260 case 22: 7261 if (ndx == 0 || ndx == 1) 7262 p = "int"; 7263 break; 7264 /* linux_setuid16 */ 7265 case 23: 7266 if (ndx == 0 || ndx == 1) 7267 p = "int"; 7268 break; 7269 /* linux_getuid16 */ 7270 case 24: 7271 /* linux_stime */ 7272 case 25: 7273 /* linux_ptrace */ 7274 case 26: 7275 if (ndx == 0 || ndx == 1) 7276 p = "int"; 7277 break; 7278 /* linux_alarm */ 7279 case 27: 7280 if (ndx == 0 || ndx == 1) 7281 p = "int"; 7282 break; 7283 /* linux_fstat */ 7284 case 28: 7285 if (ndx == 0 || ndx == 1) 7286 p = "int"; 7287 break; 7288 /* linux_pause */ 7289 case 29: 7290 /* linux_utime */ 7291 case 30: 7292 if (ndx == 0 || ndx == 1) 7293 p = "int"; 7294 break; 7295 /* linux_access */ 7296 case 33: 7297 if (ndx == 0 || ndx == 1) 7298 p = "int"; 7299 break; 7300 /* linux_nice */ 7301 case 34: 7302 if (ndx == 0 || ndx == 1) 7303 p = "int"; 7304 break; 7305 /* sync */ 7306 case 36: 7307 /* linux_kill */ 7308 case 37: 7309 if (ndx == 0 || ndx == 1) 7310 p = "int"; 7311 break; 7312 /* linux_rename */ 7313 case 38: 7314 if (ndx == 0 || ndx == 1) 7315 p = "int"; 7316 break; 7317 /* linux_mkdir */ 7318 case 39: 7319 if (ndx == 0 || ndx == 1) 7320 p = "int"; 7321 break; 7322 /* linux_rmdir */ 7323 case 40: 7324 if (ndx == 0 || ndx == 1) 7325 p = "int"; 7326 break; 7327 /* dup */ 7328 case 41: 7329 if (ndx == 0 || ndx == 1) 7330 p = "int"; 7331 break; 7332 /* linux_pipe */ 7333 case 42: 7334 if (ndx == 0 || ndx == 1) 7335 p = "int"; 7336 break; 7337 /* linux_times */ 7338 case 43: 7339 if (ndx == 0 || ndx == 1) 7340 p = "int"; 7341 break; 7342 /* linux_brk */ 7343 case 45: 7344 if (ndx == 0 || ndx == 1) 7345 p = "int"; 7346 break; 7347 /* linux_setgid16 */ 7348 case 46: 7349 if (ndx == 0 || ndx == 1) 7350 p = "int"; 7351 break; 7352 /* linux_getgid16 */ 7353 case 47: 7354 /* linux_signal */ 7355 case 48: 7356 if (ndx == 0 || ndx == 1) 7357 p = "int"; 7358 break; 7359 /* linux_geteuid16 */ 7360 case 49: 7361 /* linux_getegid16 */ 7362 case 50: 7363 /* acct */ 7364 case 51: 7365 if (ndx == 0 || ndx == 1) 7366 p = "int"; 7367 break; 7368 /* linux_umount */ 7369 case 52: 7370 if (ndx == 0 || ndx == 1) 7371 p = "int"; 7372 break; 7373 /* linux_ioctl */ 7374 case 54: 7375 if (ndx == 0 || ndx == 1) 7376 p = "int"; 7377 break; 7378 /* linux_fcntl */ 7379 case 55: 7380 if (ndx == 0 || ndx == 1) 7381 p = "int"; 7382 break; 7383 /* setpgid */ 7384 case 57: 7385 if (ndx == 0 || ndx == 1) 7386 p = "int"; 7387 break; 7388 /* linux_olduname */ 7389 case 59: 7390 /* umask */ 7391 case 60: 7392 if (ndx == 0 || ndx == 1) 7393 p = "int"; 7394 break; 7395 /* chroot */ 7396 case 61: 7397 if (ndx == 0 || ndx == 1) 7398 p = "int"; 7399 break; 7400 /* linux_ustat */ 7401 case 62: 7402 if (ndx == 0 || ndx == 1) 7403 p = "int"; 7404 break; 7405 /* dup2 */ 7406 case 63: 7407 if (ndx == 0 || ndx == 1) 7408 p = "int"; 7409 break; 7410 /* linux_getppid */ 7411 case 64: 7412 /* getpgrp */ 7413 case 65: 7414 /* setsid */ 7415 case 66: 7416 /* linux_sigaction */ 7417 case 67: 7418 if (ndx == 0 || ndx == 1) 7419 p = "int"; 7420 break; 7421 /* linux_sgetmask */ 7422 case 68: 7423 /* linux_ssetmask */ 7424 case 69: 7425 if (ndx == 0 || ndx == 1) 7426 p = "int"; 7427 break; 7428 /* linux_setreuid16 */ 7429 case 70: 7430 if (ndx == 0 || ndx == 1) 7431 p = "int"; 7432 break; 7433 /* linux_setregid16 */ 7434 case 71: 7435 if (ndx == 0 || ndx == 1) 7436 p = "int"; 7437 break; 7438 /* linux_sigsuspend */ 7439 case 72: 7440 if (ndx == 0 || ndx == 1) 7441 p = "int"; 7442 break; 7443 /* linux_sigpending */ 7444 case 73: 7445 if (ndx == 0 || ndx == 1) 7446 p = "int"; 7447 break; 7448 /* linux_sethostname */ 7449 case 74: 7450 if (ndx == 0 || ndx == 1) 7451 p = "int"; 7452 break; 7453 /* linux_setrlimit */ 7454 case 75: 7455 if (ndx == 0 || ndx == 1) 7456 p = "int"; 7457 break; 7458 /* linux_old_getrlimit */ 7459 case 76: 7460 if (ndx == 0 || ndx == 1) 7461 p = "int"; 7462 break; 7463 /* getrusage */ 7464 case 77: 7465 if (ndx == 0 || ndx == 1) 7466 p = "int"; 7467 break; 7468 /* gettimeofday */ 7469 case 78: 7470 if (ndx == 0 || ndx == 1) 7471 p = "int"; 7472 break; 7473 /* settimeofday */ 7474 case 79: 7475 if (ndx == 0 || ndx == 1) 7476 p = "int"; 7477 break; 7478 /* linux_getgroups16 */ 7479 case 80: 7480 if (ndx == 0 || ndx == 1) 7481 p = "int"; 7482 break; 7483 /* linux_setgroups16 */ 7484 case 81: 7485 if (ndx == 0 || ndx == 1) 7486 p = "int"; 7487 break; 7488 /* linux_old_select */ 7489 case 82: 7490 if (ndx == 0 || ndx == 1) 7491 p = "int"; 7492 break; 7493 /* linux_symlink */ 7494 case 83: 7495 if (ndx == 0 || ndx == 1) 7496 p = "int"; 7497 break; 7498 /* linux_lstat */ 7499 case 84: 7500 if (ndx == 0 || ndx == 1) 7501 p = "int"; 7502 break; 7503 /* linux_readlink */ 7504 case 85: 7505 if (ndx == 0 || ndx == 1) 7506 p = "int"; 7507 break; 7508 /* linux_uselib */ 7509 case 86: 7510 if (ndx == 0 || ndx == 1) 7511 p = "int"; 7512 break; 7513 /* swapon */ 7514 case 87: 7515 if (ndx == 0 || ndx == 1) 7516 p = "int"; 7517 break; 7518 /* linux_reboot */ 7519 case 88: 7520 if (ndx == 0 || ndx == 1) 7521 p = "int"; 7522 break; 7523 /* linux_readdir */ 7524 case 89: 7525 if (ndx == 0 || ndx == 1) 7526 p = "int"; 7527 break; 7528 /* linux_mmap */ 7529 case 90: 7530 if (ndx == 0 || ndx == 1) 7531 p = "int"; 7532 break; 7533 /* munmap */ 7534 case 91: 7535 if (ndx == 0 || ndx == 1) 7536 p = "int"; 7537 break; 7538 /* linux_truncate */ 7539 case 92: 7540 if (ndx == 0 || ndx == 1) 7541 p = "int"; 7542 break; 7543 /* linux_ftruncate */ 7544 case 93: 7545 if (ndx == 0 || ndx == 1) 7546 p = "int"; 7547 break; 7548 /* fchmod */ 7549 case 94: 7550 if (ndx == 0 || ndx == 1) 7551 p = "int"; 7552 break; 7553 /* fchown */ 7554 case 95: 7555 if (ndx == 0 || ndx == 1) 7556 p = "int"; 7557 break; 7558 /* linux_getpriority */ 7559 case 96: 7560 if (ndx == 0 || ndx == 1) 7561 p = "int"; 7562 break; 7563 /* setpriority */ 7564 case 97: 7565 if (ndx == 0 || ndx == 1) 7566 p = "int"; 7567 break; 7568 /* linux_statfs */ 7569 case 99: 7570 if (ndx == 0 || ndx == 1) 7571 p = "int"; 7572 break; 7573 /* linux_fstatfs */ 7574 case 100: 7575 if (ndx == 0 || ndx == 1) 7576 p = "int"; 7577 break; 7578 /* linux_ioperm */ 7579 case 101: 7580 if (ndx == 0 || ndx == 1) 7581 p = "int"; 7582 break; 7583 /* linux_socketcall */ 7584 case 102: 7585 if (ndx == 0 || ndx == 1) 7586 p = "int"; 7587 break; 7588 /* linux_syslog */ 7589 case 103: 7590 if (ndx == 0 || ndx == 1) 7591 p = "int"; 7592 break; 7593 /* linux_setitimer */ 7594 case 104: 7595 if (ndx == 0 || ndx == 1) 7596 p = "int"; 7597 break; 7598 /* linux_getitimer */ 7599 case 105: 7600 if (ndx == 0 || ndx == 1) 7601 p = "int"; 7602 break; 7603 /* linux_newstat */ 7604 case 106: 7605 if (ndx == 0 || ndx == 1) 7606 p = "int"; 7607 break; 7608 /* linux_newlstat */ 7609 case 107: 7610 if (ndx == 0 || ndx == 1) 7611 p = "int"; 7612 break; 7613 /* linux_newfstat */ 7614 case 108: 7615 if (ndx == 0 || ndx == 1) 7616 p = "int"; 7617 break; 7618 /* linux_uname */ 7619 case 109: 7620 /* linux_iopl */ 7621 case 110: 7622 if (ndx == 0 || ndx == 1) 7623 p = "int"; 7624 break; 7625 /* linux_vhangup */ 7626 case 111: 7627 /* linux_vm86old */ 7628 case 113: 7629 /* linux_wait4 */ 7630 case 114: 7631 if (ndx == 0 || ndx == 1) 7632 p = "int"; 7633 break; 7634 /* linux_swapoff */ 7635 case 115: 7636 /* linux_sysinfo */ 7637 case 116: 7638 if (ndx == 0 || ndx == 1) 7639 p = "int"; 7640 break; 7641 /* linux_ipc */ 7642 case 117: 7643 if (ndx == 0 || ndx == 1) 7644 p = "int"; 7645 break; 7646 /* fsync */ 7647 case 118: 7648 if (ndx == 0 || ndx == 1) 7649 p = "int"; 7650 break; 7651 /* linux_sigreturn */ 7652 case 119: 7653 if (ndx == 0 || ndx == 1) 7654 p = "int"; 7655 break; 7656 /* linux_clone */ 7657 case 120: 7658 if (ndx == 0 || ndx == 1) 7659 p = "int"; 7660 break; 7661 /* linux_setdomainname */ 7662 case 121: 7663 if (ndx == 0 || ndx == 1) 7664 p = "int"; 7665 break; 7666 /* linux_newuname */ 7667 case 122: 7668 if (ndx == 0 || ndx == 1) 7669 p = "int"; 7670 break; 7671 /* linux_modify_ldt */ 7672 case 123: 7673 if (ndx == 0 || ndx == 1) 7674 p = "int"; 7675 break; 7676 /* linux_adjtimex */ 7677 case 124: 7678 /* linux_mprotect */ 7679 case 125: 7680 if (ndx == 0 || ndx == 1) 7681 p = "int"; 7682 break; 7683 /* linux_sigprocmask */ 7684 case 126: 7685 if (ndx == 0 || ndx == 1) 7686 p = "int"; 7687 break; 7688 /* linux_init_module */ 7689 case 128: 7690 /* linux_delete_module */ 7691 case 129: 7692 /* linux_quotactl */ 7693 case 131: 7694 /* getpgid */ 7695 case 132: 7696 if (ndx == 0 || ndx == 1) 7697 p = "int"; 7698 break; 7699 /* fchdir */ 7700 case 133: 7701 if (ndx == 0 || ndx == 1) 7702 p = "int"; 7703 break; 7704 /* linux_bdflush */ 7705 case 134: 7706 /* linux_sysfs */ 7707 case 135: 7708 if (ndx == 0 || ndx == 1) 7709 p = "int"; 7710 break; 7711 /* linux_personality */ 7712 case 136: 7713 if (ndx == 0 || ndx == 1) 7714 p = "int"; 7715 break; 7716 /* linux_setfsuid16 */ 7717 case 138: 7718 if (ndx == 0 || ndx == 1) 7719 p = "int"; 7720 break; 7721 /* linux_setfsgid16 */ 7722 case 139: 7723 if (ndx == 0 || ndx == 1) 7724 p = "int"; 7725 break; 7726 /* linux_llseek */ 7727 case 140: 7728 if (ndx == 0 || ndx == 1) 7729 p = "int"; 7730 break; 7731 /* linux_getdents */ 7732 case 141: 7733 if (ndx == 0 || ndx == 1) 7734 p = "int"; 7735 break; 7736 /* linux_select */ 7737 case 142: 7738 if (ndx == 0 || ndx == 1) 7739 p = "int"; 7740 break; 7741 /* flock */ 7742 case 143: 7743 if (ndx == 0 || ndx == 1) 7744 p = "int"; 7745 break; 7746 /* linux_msync */ 7747 case 144: 7748 if (ndx == 0 || ndx == 1) 7749 p = "int"; 7750 break; 7751 /* readv */ 7752 case 145: 7753 if (ndx == 0 || ndx == 1) 7754 p = "int"; 7755 break; 7756 /* writev */ 7757 case 146: 7758 if (ndx == 0 || ndx == 1) 7759 p = "int"; 7760 break; 7761 /* linux_getsid */ 7762 case 147: 7763 if (ndx == 0 || ndx == 1) 7764 p = "int"; 7765 break; 7766 /* linux_fdatasync */ 7767 case 148: 7768 if (ndx == 0 || ndx == 1) 7769 p = "int"; 7770 break; 7771 /* linux_sysctl */ 7772 case 149: 7773 if (ndx == 0 || ndx == 1) 7774 p = "int"; 7775 break; 7776 /* mlock */ 7777 case 150: 7778 if (ndx == 0 || ndx == 1) 7779 p = "int"; 7780 break; 7781 /* munlock */ 7782 case 151: 7783 if (ndx == 0 || ndx == 1) 7784 p = "int"; 7785 break; 7786 /* mlockall */ 7787 case 152: 7788 if (ndx == 0 || ndx == 1) 7789 p = "int"; 7790 break; 7791 /* munlockall */ 7792 case 153: 7793 /* linux_sched_setparam */ 7794 case 154: 7795 if (ndx == 0 || ndx == 1) 7796 p = "int"; 7797 break; 7798 /* linux_sched_getparam */ 7799 case 155: 7800 if (ndx == 0 || ndx == 1) 7801 p = "int"; 7802 break; 7803 /* linux_sched_setscheduler */ 7804 case 156: 7805 if (ndx == 0 || ndx == 1) 7806 p = "int"; 7807 break; 7808 /* linux_sched_getscheduler */ 7809 case 157: 7810 if (ndx == 0 || ndx == 1) 7811 p = "int"; 7812 break; 7813 /* sched_yield */ 7814 case 158: 7815 /* linux_sched_get_priority_max */ 7816 case 159: 7817 if (ndx == 0 || ndx == 1) 7818 p = "int"; 7819 break; 7820 /* linux_sched_get_priority_min */ 7821 case 160: 7822 if (ndx == 0 || ndx == 1) 7823 p = "int"; 7824 break; 7825 /* linux_sched_rr_get_interval */ 7826 case 161: 7827 if (ndx == 0 || ndx == 1) 7828 p = "int"; 7829 break; 7830 /* linux_nanosleep */ 7831 case 162: 7832 if (ndx == 0 || ndx == 1) 7833 p = "int"; 7834 break; 7835 /* linux_mremap */ 7836 case 163: 7837 if (ndx == 0 || ndx == 1) 7838 p = "int"; 7839 break; 7840 /* linux_setresuid16 */ 7841 case 164: 7842 if (ndx == 0 || ndx == 1) 7843 p = "int"; 7844 break; 7845 /* linux_getresuid16 */ 7846 case 165: 7847 if (ndx == 0 || ndx == 1) 7848 p = "int"; 7849 break; 7850 /* linux_vm86 */ 7851 case 166: 7852 /* poll */ 7853 case 168: 7854 if (ndx == 0 || ndx == 1) 7855 p = "int"; 7856 break; 7857 /* linux_setresgid16 */ 7858 case 170: 7859 if (ndx == 0 || ndx == 1) 7860 p = "int"; 7861 break; 7862 /* linux_getresgid16 */ 7863 case 171: 7864 if (ndx == 0 || ndx == 1) 7865 p = "int"; 7866 break; 7867 /* linux_prctl */ 7868 case 172: 7869 if (ndx == 0 || ndx == 1) 7870 p = "int"; 7871 break; 7872 /* linux_rt_sigreturn */ 7873 case 173: 7874 if (ndx == 0 || ndx == 1) 7875 p = "int"; 7876 break; 7877 /* linux_rt_sigaction */ 7878 case 174: 7879 if (ndx == 0 || ndx == 1) 7880 p = "int"; 7881 break; 7882 /* linux_rt_sigprocmask */ 7883 case 175: 7884 if (ndx == 0 || ndx == 1) 7885 p = "int"; 7886 break; 7887 /* linux_rt_sigpending */ 7888 case 176: 7889 if (ndx == 0 || ndx == 1) 7890 p = "int"; 7891 break; 7892 /* linux_rt_sigtimedwait */ 7893 case 177: 7894 if (ndx == 0 || ndx == 1) 7895 p = "int"; 7896 break; 7897 /* linux_rt_sigqueueinfo */ 7898 case 178: 7899 if (ndx == 0 || ndx == 1) 7900 p = "int"; 7901 break; 7902 /* linux_rt_sigsuspend */ 7903 case 179: 7904 if (ndx == 0 || ndx == 1) 7905 p = "int"; 7906 break; 7907 /* linux_pread */ 7908 case 180: 7909 if (ndx == 0 || ndx == 1) 7910 p = "int"; 7911 break; 7912 /* linux_pwrite */ 7913 case 181: 7914 if (ndx == 0 || ndx == 1) 7915 p = "int"; 7916 break; 7917 /* linux_chown16 */ 7918 case 182: 7919 if (ndx == 0 || ndx == 1) 7920 p = "int"; 7921 break; 7922 /* linux_getcwd */ 7923 case 183: 7924 if (ndx == 0 || ndx == 1) 7925 p = "int"; 7926 break; 7927 /* linux_capget */ 7928 case 184: 7929 if (ndx == 0 || ndx == 1) 7930 p = "int"; 7931 break; 7932 /* linux_capset */ 7933 case 185: 7934 if (ndx == 0 || ndx == 1) 7935 p = "int"; 7936 break; 7937 /* linux_sigaltstack */ 7938 case 186: 7939 if (ndx == 0 || ndx == 1) 7940 p = "int"; 7941 break; 7942 /* linux_sendfile */ 7943 case 187: 7944 /* linux_vfork */ 7945 case 190: 7946 /* linux_getrlimit */ 7947 case 191: 7948 if (ndx == 0 || ndx == 1) 7949 p = "int"; 7950 break; 7951 /* linux_mmap2 */ 7952 case 192: 7953 if (ndx == 0 || ndx == 1) 7954 p = "int"; 7955 break; 7956 /* linux_truncate64 */ 7957 case 193: 7958 if (ndx == 0 || ndx == 1) 7959 p = "int"; 7960 break; 7961 /* linux_ftruncate64 */ 7962 case 194: 7963 if (ndx == 0 || ndx == 1) 7964 p = "int"; 7965 break; 7966 /* linux_stat64 */ 7967 case 195: 7968 if (ndx == 0 || ndx == 1) 7969 p = "int"; 7970 break; 7971 /* linux_lstat64 */ 7972 case 196: 7973 if (ndx == 0 || ndx == 1) 7974 p = "int"; 7975 break; 7976 /* linux_fstat64 */ 7977 case 197: 7978 if (ndx == 0 || ndx == 1) 7979 p = "int"; 7980 break; 7981 /* linux_lchown */ 7982 case 198: 7983 if (ndx == 0 || ndx == 1) 7984 p = "int"; 7985 break; 7986 /* linux_getuid */ 7987 case 199: 7988 /* linux_getgid */ 7989 case 200: 7990 /* geteuid */ 7991 case 201: 7992 /* getegid */ 7993 case 202: 7994 /* setreuid */ 7995 case 203: 7996 if (ndx == 0 || ndx == 1) 7997 p = "int"; 7998 break; 7999 /* setregid */ 8000 case 204: 8001 if (ndx == 0 || ndx == 1) 8002 p = "int"; 8003 break; 8004 /* linux_getgroups */ 8005 case 205: 8006 if (ndx == 0 || ndx == 1) 8007 p = "int"; 8008 break; 8009 /* linux_setgroups */ 8010 case 206: 8011 if (ndx == 0 || ndx == 1) 8012 p = "int"; 8013 break; 8014 /* fchown */ 8015 case 207: 8016 /* setresuid */ 8017 case 208: 8018 if (ndx == 0 || ndx == 1) 8019 p = "int"; 8020 break; 8021 /* getresuid */ 8022 case 209: 8023 if (ndx == 0 || ndx == 1) 8024 p = "int"; 8025 break; 8026 /* setresgid */ 8027 case 210: 8028 if (ndx == 0 || ndx == 1) 8029 p = "int"; 8030 break; 8031 /* getresgid */ 8032 case 211: 8033 if (ndx == 0 || ndx == 1) 8034 p = "int"; 8035 break; 8036 /* linux_chown */ 8037 case 212: 8038 if (ndx == 0 || ndx == 1) 8039 p = "int"; 8040 break; 8041 /* setuid */ 8042 case 213: 8043 if (ndx == 0 || ndx == 1) 8044 p = "int"; 8045 break; 8046 /* setgid */ 8047 case 214: 8048 if (ndx == 0 || ndx == 1) 8049 p = "int"; 8050 break; 8051 /* linux_setfsuid */ 8052 case 215: 8053 if (ndx == 0 || ndx == 1) 8054 p = "int"; 8055 break; 8056 /* linux_setfsgid */ 8057 case 216: 8058 if (ndx == 0 || ndx == 1) 8059 p = "int"; 8060 break; 8061 /* linux_pivot_root */ 8062 case 217: 8063 if (ndx == 0 || ndx == 1) 8064 p = "int"; 8065 break; 8066 /* linux_mincore */ 8067 case 218: 8068 if (ndx == 0 || ndx == 1) 8069 p = "int"; 8070 break; 8071 /* madvise */ 8072 case 219: 8073 if (ndx == 0 || ndx == 1) 8074 p = "int"; 8075 break; 8076 /* linux_getdents64 */ 8077 case 220: 8078 if (ndx == 0 || ndx == 1) 8079 p = "int"; 8080 break; 8081 /* linux_fcntl64 */ 8082 case 221: 8083 if (ndx == 0 || ndx == 1) 8084 p = "int"; 8085 break; 8086 /* linux_gettid */ 8087 case 224: 8088 /* linux_setxattr */ 8089 case 226: 8090 /* linux_lsetxattr */ 8091 case 227: 8092 /* linux_fsetxattr */ 8093 case 228: 8094 /* linux_getxattr */ 8095 case 229: 8096 /* linux_lgetxattr */ 8097 case 230: 8098 /* linux_fgetxattr */ 8099 case 231: 8100 /* linux_listxattr */ 8101 case 232: 8102 /* linux_llistxattr */ 8103 case 233: 8104 /* linux_flistxattr */ 8105 case 234: 8106 /* linux_removexattr */ 8107 case 235: 8108 /* linux_lremovexattr */ 8109 case 236: 8110 /* linux_fremovexattr */ 8111 case 237: 8112 /* linux_tkill */ 8113 case 238: 8114 if (ndx == 0 || ndx == 1) 8115 p = "int"; 8116 break; 8117 /* linux_sys_futex */ 8118 case 240: 8119 if (ndx == 0 || ndx == 1) 8120 p = "int"; 8121 break; 8122 /* linux_sched_setaffinity */ 8123 case 241: 8124 if (ndx == 0 || ndx == 1) 8125 p = "int"; 8126 break; 8127 /* linux_sched_getaffinity */ 8128 case 242: 8129 if (ndx == 0 || ndx == 1) 8130 p = "int"; 8131 break; 8132 /* linux_set_thread_area */ 8133 case 243: 8134 if (ndx == 0 || ndx == 1) 8135 p = "int"; 8136 break; 8137 /* linux_get_thread_area */ 8138 case 244: 8139 if (ndx == 0 || ndx == 1) 8140 p = "int"; 8141 break; 8142 /* linux_fadvise64 */ 8143 case 250: 8144 if (ndx == 0 || ndx == 1) 8145 p = "int"; 8146 break; 8147 /* linux_exit_group */ 8148 case 252: 8149 if (ndx == 0 || ndx == 1) 8150 p = "int"; 8151 break; 8152 /* linux_lookup_dcookie */ 8153 case 253: 8154 /* linux_epoll_create */ 8155 case 254: 8156 if (ndx == 0 || ndx == 1) 8157 p = "int"; 8158 break; 8159 /* linux_epoll_ctl */ 8160 case 255: 8161 if (ndx == 0 || ndx == 1) 8162 p = "int"; 8163 break; 8164 /* linux_epoll_wait */ 8165 case 256: 8166 if (ndx == 0 || ndx == 1) 8167 p = "int"; 8168 break; 8169 /* linux_remap_file_pages */ 8170 case 257: 8171 /* linux_set_tid_address */ 8172 case 258: 8173 if (ndx == 0 || ndx == 1) 8174 p = "int"; 8175 break; 8176 /* linux_timer_create */ 8177 case 259: 8178 if (ndx == 0 || ndx == 1) 8179 p = "int"; 8180 break; 8181 /* linux_timer_settime */ 8182 case 260: 8183 if (ndx == 0 || ndx == 1) 8184 p = "int"; 8185 break; 8186 /* linux_timer_gettime */ 8187 case 261: 8188 if (ndx == 0 || ndx == 1) 8189 p = "int"; 8190 break; 8191 /* linux_timer_getoverrun */ 8192 case 262: 8193 if (ndx == 0 || ndx == 1) 8194 p = "int"; 8195 break; 8196 /* linux_timer_delete */ 8197 case 263: 8198 if (ndx == 0 || ndx == 1) 8199 p = "int"; 8200 break; 8201 /* linux_clock_settime */ 8202 case 264: 8203 if (ndx == 0 || ndx == 1) 8204 p = "int"; 8205 break; 8206 /* linux_clock_gettime */ 8207 case 265: 8208 if (ndx == 0 || ndx == 1) 8209 p = "int"; 8210 break; 8211 /* linux_clock_getres */ 8212 case 266: 8213 if (ndx == 0 || ndx == 1) 8214 p = "int"; 8215 break; 8216 /* linux_clock_nanosleep */ 8217 case 267: 8218 if (ndx == 0 || ndx == 1) 8219 p = "int"; 8220 break; 8221 /* linux_statfs64 */ 8222 case 268: 8223 if (ndx == 0 || ndx == 1) 8224 p = "int"; 8225 break; 8226 /* linux_fstatfs64 */ 8227 case 269: 8228 if (ndx == 0 || ndx == 1) 8229 p = "int"; 8230 break; 8231 /* linux_tgkill */ 8232 case 270: 8233 if (ndx == 0 || ndx == 1) 8234 p = "int"; 8235 break; 8236 /* linux_utimes */ 8237 case 271: 8238 if (ndx == 0 || ndx == 1) 8239 p = "int"; 8240 break; 8241 /* linux_fadvise64_64 */ 8242 case 272: 8243 if (ndx == 0 || ndx == 1) 8244 p = "int"; 8245 break; 8246 /* linux_mbind */ 8247 case 274: 8248 /* linux_get_mempolicy */ 8249 case 275: 8250 /* linux_set_mempolicy */ 8251 case 276: 8252 /* linux_mq_open */ 8253 case 277: 8254 if (ndx == 0 || ndx == 1) 8255 p = "int"; 8256 break; 8257 /* linux_mq_unlink */ 8258 case 278: 8259 if (ndx == 0 || ndx == 1) 8260 p = "int"; 8261 break; 8262 /* linux_mq_timedsend */ 8263 case 279: 8264 if (ndx == 0 || ndx == 1) 8265 p = "int"; 8266 break; 8267 /* linux_mq_timedreceive */ 8268 case 280: 8269 if (ndx == 0 || ndx == 1) 8270 p = "int"; 8271 break; 8272 /* linux_mq_notify */ 8273 case 281: 8274 if (ndx == 0 || ndx == 1) 8275 p = "int"; 8276 break; 8277 /* linux_mq_getsetattr */ 8278 case 282: 8279 if (ndx == 0 || ndx == 1) 8280 p = "int"; 8281 break; 8282 /* linux_kexec_load */ 8283 case 283: 8284 /* linux_waitid */ 8285 case 284: 8286 if (ndx == 0 || ndx == 1) 8287 p = "int"; 8288 break; 8289 /* linux_add_key */ 8290 case 286: 8291 /* linux_request_key */ 8292 case 287: 8293 /* linux_keyctl */ 8294 case 288: 8295 /* linux_ioprio_set */ 8296 case 289: 8297 /* linux_ioprio_get */ 8298 case 290: 8299 /* linux_inotify_init */ 8300 case 291: 8301 /* linux_inotify_add_watch */ 8302 case 292: 8303 /* linux_inotify_rm_watch */ 8304 case 293: 8305 /* linux_migrate_pages */ 8306 case 294: 8307 /* linux_openat */ 8308 case 295: 8309 if (ndx == 0 || ndx == 1) 8310 p = "int"; 8311 break; 8312 /* linux_mkdirat */ 8313 case 296: 8314 if (ndx == 0 || ndx == 1) 8315 p = "int"; 8316 break; 8317 /* linux_mknodat */ 8318 case 297: 8319 if (ndx == 0 || ndx == 1) 8320 p = "int"; 8321 break; 8322 /* linux_fchownat */ 8323 case 298: 8324 if (ndx == 0 || ndx == 1) 8325 p = "int"; 8326 break; 8327 /* linux_futimesat */ 8328 case 299: 8329 if (ndx == 0 || ndx == 1) 8330 p = "int"; 8331 break; 8332 /* linux_fstatat64 */ 8333 case 300: 8334 if (ndx == 0 || ndx == 1) 8335 p = "int"; 8336 break; 8337 /* linux_unlinkat */ 8338 case 301: 8339 if (ndx == 0 || ndx == 1) 8340 p = "int"; 8341 break; 8342 /* linux_renameat */ 8343 case 302: 8344 if (ndx == 0 || ndx == 1) 8345 p = "int"; 8346 break; 8347 /* linux_linkat */ 8348 case 303: 8349 if (ndx == 0 || ndx == 1) 8350 p = "int"; 8351 break; 8352 /* linux_symlinkat */ 8353 case 304: 8354 if (ndx == 0 || ndx == 1) 8355 p = "int"; 8356 break; 8357 /* linux_readlinkat */ 8358 case 305: 8359 if (ndx == 0 || ndx == 1) 8360 p = "int"; 8361 break; 8362 /* linux_fchmodat */ 8363 case 306: 8364 if (ndx == 0 || ndx == 1) 8365 p = "int"; 8366 break; 8367 /* linux_faccessat */ 8368 case 307: 8369 if (ndx == 0 || ndx == 1) 8370 p = "int"; 8371 break; 8372 /* linux_pselect6 */ 8373 case 308: 8374 if (ndx == 0 || ndx == 1) 8375 p = "int"; 8376 break; 8377 /* linux_ppoll */ 8378 case 309: 8379 if (ndx == 0 || ndx == 1) 8380 p = "int"; 8381 break; 8382 /* linux_unshare */ 8383 case 310: 8384 /* linux_set_robust_list */ 8385 case 311: 8386 if (ndx == 0 || ndx == 1) 8387 p = "int"; 8388 break; 8389 /* linux_get_robust_list */ 8390 case 312: 8391 if (ndx == 0 || ndx == 1) 8392 p = "int"; 8393 break; 8394 /* linux_splice */ 8395 case 313: 8396 /* linux_sync_file_range */ 8397 case 314: 8398 /* linux_tee */ 8399 case 315: 8400 /* linux_vmsplice */ 8401 case 316: 8402 /* linux_move_pages */ 8403 case 317: 8404 /* linux_getcpu */ 8405 case 318: 8406 /* linux_epoll_pwait */ 8407 case 319: 8408 if (ndx == 0 || ndx == 1) 8409 p = "int"; 8410 break; 8411 /* linux_utimensat */ 8412 case 320: 8413 if (ndx == 0 || ndx == 1) 8414 p = "int"; 8415 break; 8416 /* linux_signalfd */ 8417 case 321: 8418 /* linux_timerfd_create */ 8419 case 322: 8420 if (ndx == 0 || ndx == 1) 8421 p = "int"; 8422 break; 8423 /* linux_eventfd */ 8424 case 323: 8425 if (ndx == 0 || ndx == 1) 8426 p = "int"; 8427 break; 8428 /* linux_fallocate */ 8429 case 324: 8430 if (ndx == 0 || ndx == 1) 8431 p = "int"; 8432 break; 8433 /* linux_timerfd_settime */ 8434 case 325: 8435 if (ndx == 0 || ndx == 1) 8436 p = "int"; 8437 break; 8438 /* linux_timerfd_gettime */ 8439 case 326: 8440 if (ndx == 0 || ndx == 1) 8441 p = "int"; 8442 break; 8443 /* linux_signalfd4 */ 8444 case 327: 8445 /* linux_eventfd2 */ 8446 case 328: 8447 if (ndx == 0 || ndx == 1) 8448 p = "int"; 8449 break; 8450 /* linux_epoll_create1 */ 8451 case 329: 8452 if (ndx == 0 || ndx == 1) 8453 p = "int"; 8454 break; 8455 /* linux_dup3 */ 8456 case 330: 8457 if (ndx == 0 || ndx == 1) 8458 p = "int"; 8459 break; 8460 /* linux_pipe2 */ 8461 case 331: 8462 if (ndx == 0 || ndx == 1) 8463 p = "int"; 8464 break; 8465 /* linux_inotify_init1 */ 8466 case 332: 8467 /* linux_preadv */ 8468 case 333: 8469 if (ndx == 0 || ndx == 1) 8470 p = "int"; 8471 break; 8472 /* linux_pwritev */ 8473 case 334: 8474 if (ndx == 0 || ndx == 1) 8475 p = "int"; 8476 break; 8477 /* linux_rt_tgsigqueueinfo */ 8478 case 335: 8479 if (ndx == 0 || ndx == 1) 8480 p = "int"; 8481 break; 8482 /* linux_perf_event_open */ 8483 case 336: 8484 /* linux_recvmmsg */ 8485 case 337: 8486 if (ndx == 0 || ndx == 1) 8487 p = "int"; 8488 break; 8489 /* linux_fanotify_init */ 8490 case 338: 8491 /* linux_fanotify_mark */ 8492 case 339: 8493 /* linux_prlimit64 */ 8494 case 340: 8495 if (ndx == 0 || ndx == 1) 8496 p = "int"; 8497 break; 8498 /* linux_name_to_handle_at */ 8499 case 341: 8500 /* linux_open_by_handle_at */ 8501 case 342: 8502 /* linux_clock_adjtime */ 8503 case 343: 8504 /* linux_syncfs */ 8505 case 344: 8506 if (ndx == 0 || ndx == 1) 8507 p = "int"; 8508 break; 8509 /* linux_sendmmsg */ 8510 case 345: 8511 if (ndx == 0 || ndx == 1) 8512 p = "int"; 8513 break; 8514 /* linux_setns */ 8515 case 346: 8516 /* linux_process_vm_readv */ 8517 case 347: 8518 if (ndx == 0 || ndx == 1) 8519 p = "int"; 8520 break; 8521 /* linux_process_vm_writev */ 8522 case 348: 8523 if (ndx == 0 || ndx == 1) 8524 p = "int"; 8525 break; 8526 /* linux_kcmp */ 8527 case 349: 8528 if (ndx == 0 || ndx == 1) 8529 p = "int"; 8530 break; 8531 /* linux_finit_module */ 8532 case 350: 8533 if (ndx == 0 || ndx == 1) 8534 p = "int"; 8535 break; 8536 /* linux_sched_setattr */ 8537 case 351: 8538 if (ndx == 0 || ndx == 1) 8539 p = "int"; 8540 break; 8541 /* linux_sched_getattr */ 8542 case 352: 8543 if (ndx == 0 || ndx == 1) 8544 p = "int"; 8545 break; 8546 /* linux_renameat2 */ 8547 case 353: 8548 if (ndx == 0 || ndx == 1) 8549 p = "int"; 8550 break; 8551 /* linux_seccomp */ 8552 case 354: 8553 if (ndx == 0 || ndx == 1) 8554 p = "int"; 8555 break; 8556 /* linux_getrandom */ 8557 case 355: 8558 if (ndx == 0 || ndx == 1) 8559 p = "int"; 8560 break; 8561 /* linux_memfd_create */ 8562 case 356: 8563 if (ndx == 0 || ndx == 1) 8564 p = "int"; 8565 break; 8566 /* linux_bpf */ 8567 case 357: 8568 if (ndx == 0 || ndx == 1) 8569 p = "int"; 8570 break; 8571 /* linux_execveat */ 8572 case 358: 8573 if (ndx == 0 || ndx == 1) 8574 p = "int"; 8575 break; 8576 /* linux_socket */ 8577 case 359: 8578 if (ndx == 0 || ndx == 1) 8579 p = "int"; 8580 break; 8581 /* linux_socketpair */ 8582 case 360: 8583 if (ndx == 0 || ndx == 1) 8584 p = "int"; 8585 break; 8586 /* linux_bind */ 8587 case 361: 8588 if (ndx == 0 || ndx == 1) 8589 p = "int"; 8590 break; 8591 /* linux_connect */ 8592 case 362: 8593 if (ndx == 0 || ndx == 1) 8594 p = "int"; 8595 break; 8596 /* linux_listen */ 8597 case 363: 8598 if (ndx == 0 || ndx == 1) 8599 p = "int"; 8600 break; 8601 /* linux_accept4 */ 8602 case 364: 8603 if (ndx == 0 || ndx == 1) 8604 p = "int"; 8605 break; 8606 /* linux_getsockopt */ 8607 case 365: 8608 if (ndx == 0 || ndx == 1) 8609 p = "int"; 8610 break; 8611 /* linux_setsockopt */ 8612 case 366: 8613 if (ndx == 0 || ndx == 1) 8614 p = "int"; 8615 break; 8616 /* linux_getsockname */ 8617 case 367: 8618 if (ndx == 0 || ndx == 1) 8619 p = "int"; 8620 break; 8621 /* linux_getpeername */ 8622 case 368: 8623 if (ndx == 0 || ndx == 1) 8624 p = "int"; 8625 break; 8626 /* linux_sendto */ 8627 case 369: 8628 if (ndx == 0 || ndx == 1) 8629 p = "int"; 8630 break; 8631 /* linux_sendmsg */ 8632 case 370: 8633 if (ndx == 0 || ndx == 1) 8634 p = "int"; 8635 break; 8636 /* linux_recvfrom */ 8637 case 371: 8638 if (ndx == 0 || ndx == 1) 8639 p = "int"; 8640 break; 8641 /* linux_recvmsg */ 8642 case 372: 8643 if (ndx == 0 || ndx == 1) 8644 p = "int"; 8645 break; 8646 /* linux_shutdown */ 8647 case 373: 8648 if (ndx == 0 || ndx == 1) 8649 p = "int"; 8650 break; 8651 /* linux_userfaultfd */ 8652 case 374: 8653 if (ndx == 0 || ndx == 1) 8654 p = "int"; 8655 break; 8656 /* linux_membarrier */ 8657 case 375: 8658 if (ndx == 0 || ndx == 1) 8659 p = "int"; 8660 break; 8661 /* linux_mlock2 */ 8662 case 376: 8663 if (ndx == 0 || ndx == 1) 8664 p = "int"; 8665 break; 8666 /* linux_copy_file_range */ 8667 case 377: 8668 if (ndx == 0 || ndx == 1) 8669 p = "int"; 8670 break; 8671 /* linux_preadv2 */ 8672 case 378: 8673 if (ndx == 0 || ndx == 1) 8674 p = "int"; 8675 break; 8676 /* linux_pwritev2 */ 8677 case 379: 8678 if (ndx == 0 || ndx == 1) 8679 p = "int"; 8680 break; 8681 /* linux_pkey_mprotect */ 8682 case 380: 8683 if (ndx == 0 || ndx == 1) 8684 p = "int"; 8685 break; 8686 /* linux_pkey_alloc */ 8687 case 381: 8688 if (ndx == 0 || ndx == 1) 8689 p = "int"; 8690 break; 8691 /* linux_pkey_free */ 8692 case 382: 8693 if (ndx == 0 || ndx == 1) 8694 p = "int"; 8695 break; 8696 default: 8697 break; 8698 }; 8699 if (p != NULL) 8700 strlcpy(desc, p, descsz); 8701 } 8702