1 /* 2 * System call argument to DTrace register array converstion. 3 * 4 * DO NOT EDIT-- this file is automatically @generated. 5 * This file is part of the DTrace syscall provider. 6 */ 7 8 static void 9 systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) 10 { 11 int64_t *iarg = (int64_t *)uarg; 12 int a = 0; 13 switch (sysnum) { 14 #define nosys linux_nosys 15 /* linux_exit */ 16 case 1: { 17 struct linux_exit_args *p = params; 18 iarg[a++] = 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[a++] = p->fd; /* int */ 31 uarg[a++] = (intptr_t)p->buf; /* char * */ 32 uarg[a++] = p->nbyte; /* u_int */ 33 *n_args = 3; 34 break; 35 } 36 /* linux_write */ 37 case 4: { 38 struct linux_write_args *p = params; 39 iarg[a++] = p->fd; /* int */ 40 uarg[a++] = (intptr_t)p->buf; /* char * */ 41 iarg[a++] = p->nbyte; /* l_size_t */ 42 *n_args = 3; 43 break; 44 } 45 /* linux_open */ 46 case 5: { 47 struct linux_open_args *p = params; 48 uarg[a++] = (intptr_t)p->path; /* char * */ 49 iarg[a++] = p->flags; /* l_int */ 50 iarg[a++] = p->mode; /* l_int */ 51 *n_args = 3; 52 break; 53 } 54 /* close */ 55 case 6: { 56 struct close_args *p = params; 57 iarg[a++] = 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[a++] = p->pid; /* l_pid_t */ 65 uarg[a++] = (intptr_t)p->status; /* l_int * */ 66 iarg[a++] = 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[a++] = (intptr_t)p->path; /* char * */ 74 iarg[a++] = 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[a++] = (intptr_t)p->path; /* char * */ 82 uarg[a++] = (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[a++] = (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[a++] = (intptr_t)p->path; /* char * */ 97 uarg[a++] = (intptr_t)p->argp; /* l_uintptr_t * */ 98 uarg[a++] = (intptr_t)p->envp; /* l_uintptr_t * */ 99 *n_args = 3; 100 break; 101 } 102 /* linux_chdir */ 103 case 12: { 104 struct linux_chdir_args *p = params; 105 uarg[a++] = (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[a++] = (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[a++] = (intptr_t)p->path; /* char * */ 120 iarg[a++] = p->mode; /* l_int */ 121 iarg[a++] = 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[a++] = (intptr_t)p->path; /* char * */ 129 iarg[a++] = 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[a++] = (intptr_t)p->path; /* char * */ 137 iarg[a++] = p->uid; /* l_uid16_t */ 138 iarg[a++] = 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[a++] = (intptr_t)p->path; /* char * */ 146 uarg[a++] = (intptr_t)p->up; /* struct l_old_stat * */ 147 *n_args = 2; 148 break; 149 } 150 /* linux_lseek */ 151 case 19: { 152 struct linux_lseek_args *p = params; 153 iarg[a++] = p->fdes; /* l_uint */ 154 iarg[a++] = p->off; /* l_off_t */ 155 iarg[a++] = 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[a++] = (intptr_t)p->specialfile; /* char * */ 168 uarg[a++] = (intptr_t)p->dir; /* char * */ 169 uarg[a++] = (intptr_t)p->filesystemtype; /* char * */ 170 iarg[a++] = p->rwflag; /* l_ulong */ 171 uarg[a++] = (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[a++] = (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[a++] = 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[a++] = p->req; /* l_long */ 203 iarg[a++] = p->pid; /* l_long */ 204 iarg[a++] = p->addr; /* l_long */ 205 iarg[a++] = 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[a++] = p->secs; /* l_uint */ 213 *n_args = 1; 214 break; 215 } 216 /* linux_pause */ 217 case 29: { 218 *n_args = 0; 219 break; 220 } 221 /* linux_utime */ 222 case 30: { 223 struct linux_utime_args *p = params; 224 uarg[a++] = (intptr_t)p->fname; /* char * */ 225 uarg[a++] = (intptr_t)p->times; /* struct l_utimbuf * */ 226 *n_args = 2; 227 break; 228 } 229 /* linux_access */ 230 case 33: { 231 struct linux_access_args *p = params; 232 uarg[a++] = (intptr_t)p->path; /* char * */ 233 iarg[a++] = p->amode; /* l_int */ 234 *n_args = 2; 235 break; 236 } 237 /* linux_nice */ 238 case 34: { 239 struct linux_nice_args *p = params; 240 iarg[a++] = p->inc; /* l_int */ 241 *n_args = 1; 242 break; 243 } 244 /* sync */ 245 case 36: { 246 *n_args = 0; 247 break; 248 } 249 /* linux_kill */ 250 case 37: { 251 struct linux_kill_args *p = params; 252 iarg[a++] = p->pid; /* l_int */ 253 iarg[a++] = p->signum; /* l_int */ 254 *n_args = 2; 255 break; 256 } 257 /* linux_rename */ 258 case 38: { 259 struct linux_rename_args *p = params; 260 uarg[a++] = (intptr_t)p->from; /* char * */ 261 uarg[a++] = (intptr_t)p->to; /* char * */ 262 *n_args = 2; 263 break; 264 } 265 /* linux_mkdir */ 266 case 39: { 267 struct linux_mkdir_args *p = params; 268 uarg[a++] = (intptr_t)p->path; /* char * */ 269 iarg[a++] = p->mode; /* l_int */ 270 *n_args = 2; 271 break; 272 } 273 /* linux_rmdir */ 274 case 40: { 275 struct linux_rmdir_args *p = params; 276 uarg[a++] = (intptr_t)p->path; /* char * */ 277 *n_args = 1; 278 break; 279 } 280 /* dup */ 281 case 41: { 282 struct dup_args *p = params; 283 uarg[a++] = p->fd; /* u_int */ 284 *n_args = 1; 285 break; 286 } 287 /* linux_pipe */ 288 case 42: { 289 struct linux_pipe_args *p = params; 290 uarg[a++] = (intptr_t)p->pipefds; /* l_int * */ 291 *n_args = 1; 292 break; 293 } 294 /* linux_times */ 295 case 43: { 296 struct linux_times_args *p = params; 297 uarg[a++] = (intptr_t)p->buf; /* struct l_times_argv * */ 298 *n_args = 1; 299 break; 300 } 301 /* linux_brk */ 302 case 45: { 303 struct linux_brk_args *p = params; 304 iarg[a++] = p->dsend; /* l_ulong */ 305 *n_args = 1; 306 break; 307 } 308 /* linux_setgid16 */ 309 case 46: { 310 struct linux_setgid16_args *p = params; 311 iarg[a++] = p->gid; /* l_gid16_t */ 312 *n_args = 1; 313 break; 314 } 315 /* linux_getgid16 */ 316 case 47: { 317 *n_args = 0; 318 break; 319 } 320 /* linux_signal */ 321 case 48: { 322 struct linux_signal_args *p = params; 323 iarg[a++] = p->sig; /* l_int */ 324 uarg[a++] = (intptr_t)p->handler; /* void * */ 325 *n_args = 2; 326 break; 327 } 328 /* linux_geteuid16 */ 329 case 49: { 330 *n_args = 0; 331 break; 332 } 333 /* linux_getegid16 */ 334 case 50: { 335 *n_args = 0; 336 break; 337 } 338 /* acct */ 339 case 51: { 340 struct acct_args *p = params; 341 uarg[a++] = (intptr_t)p->path; /* char * */ 342 *n_args = 1; 343 break; 344 } 345 /* linux_umount */ 346 case 52: { 347 struct linux_umount_args *p = params; 348 uarg[a++] = (intptr_t)p->path; /* char * */ 349 iarg[a++] = p->flags; /* l_int */ 350 *n_args = 2; 351 break; 352 } 353 /* linux_ioctl */ 354 case 54: { 355 struct linux_ioctl_args *p = params; 356 iarg[a++] = p->fd; /* l_uint */ 357 iarg[a++] = p->cmd; /* l_uint */ 358 iarg[a++] = p->arg; /* l_ulong */ 359 *n_args = 3; 360 break; 361 } 362 /* linux_fcntl */ 363 case 55: { 364 struct linux_fcntl_args *p = params; 365 iarg[a++] = p->fd; /* l_uint */ 366 iarg[a++] = p->cmd; /* l_uint */ 367 iarg[a++] = p->arg; /* l_ulong */ 368 *n_args = 3; 369 break; 370 } 371 /* setpgid */ 372 case 57: { 373 struct setpgid_args *p = params; 374 iarg[a++] = p->pid; /* int */ 375 iarg[a++] = p->pgid; /* int */ 376 *n_args = 2; 377 break; 378 } 379 /* linux_olduname */ 380 case 59: { 381 *n_args = 0; 382 break; 383 } 384 /* umask */ 385 case 60: { 386 struct umask_args *p = params; 387 iarg[a++] = p->newmask; /* int */ 388 *n_args = 1; 389 break; 390 } 391 /* chroot */ 392 case 61: { 393 struct chroot_args *p = params; 394 uarg[a++] = (intptr_t)p->path; /* char * */ 395 *n_args = 1; 396 break; 397 } 398 /* linux_ustat */ 399 case 62: { 400 struct linux_ustat_args *p = params; 401 iarg[a++] = p->dev; /* l_dev_t */ 402 uarg[a++] = (intptr_t)p->ubuf; /* struct l_ustat * */ 403 *n_args = 2; 404 break; 405 } 406 /* dup2 */ 407 case 63: { 408 struct dup2_args *p = params; 409 uarg[a++] = p->from; /* u_int */ 410 uarg[a++] = p->to; /* u_int */ 411 *n_args = 2; 412 break; 413 } 414 /* linux_getppid */ 415 case 64: { 416 *n_args = 0; 417 break; 418 } 419 /* getpgrp */ 420 case 65: { 421 *n_args = 0; 422 break; 423 } 424 /* setsid */ 425 case 66: { 426 *n_args = 0; 427 break; 428 } 429 /* linux_sigaction */ 430 case 67: { 431 struct linux_sigaction_args *p = params; 432 iarg[a++] = p->sig; /* l_int */ 433 uarg[a++] = (intptr_t)p->nsa; /* l_osigaction_t * */ 434 uarg[a++] = (intptr_t)p->osa; /* l_osigaction_t * */ 435 *n_args = 3; 436 break; 437 } 438 /* linux_sgetmask */ 439 case 68: { 440 *n_args = 0; 441 break; 442 } 443 /* linux_ssetmask */ 444 case 69: { 445 struct linux_ssetmask_args *p = params; 446 iarg[a++] = p->mask; /* l_osigset_t */ 447 *n_args = 1; 448 break; 449 } 450 /* linux_setreuid16 */ 451 case 70: { 452 struct linux_setreuid16_args *p = params; 453 iarg[a++] = p->ruid; /* l_uid16_t */ 454 iarg[a++] = p->euid; /* l_uid16_t */ 455 *n_args = 2; 456 break; 457 } 458 /* linux_setregid16 */ 459 case 71: { 460 struct linux_setregid16_args *p = params; 461 iarg[a++] = p->rgid; /* l_gid16_t */ 462 iarg[a++] = p->egid; /* l_gid16_t */ 463 *n_args = 2; 464 break; 465 } 466 /* linux_sigsuspend */ 467 case 72: { 468 struct linux_sigsuspend_args *p = params; 469 iarg[a++] = p->hist0; /* l_int */ 470 iarg[a++] = p->hist1; /* l_int */ 471 iarg[a++] = p->mask; /* l_osigset_t */ 472 *n_args = 3; 473 break; 474 } 475 /* linux_sigpending */ 476 case 73: { 477 struct linux_sigpending_args *p = params; 478 uarg[a++] = (intptr_t)p->mask; /* l_osigset_t * */ 479 *n_args = 1; 480 break; 481 } 482 /* linux_sethostname */ 483 case 74: { 484 struct linux_sethostname_args *p = params; 485 uarg[a++] = (intptr_t)p->hostname; /* char * */ 486 uarg[a++] = p->len; /* u_int */ 487 *n_args = 2; 488 break; 489 } 490 /* linux_setrlimit */ 491 case 75: { 492 struct linux_setrlimit_args *p = params; 493 iarg[a++] = p->resource; /* l_uint */ 494 uarg[a++] = (intptr_t)p->rlim; /* struct l_rlimit * */ 495 *n_args = 2; 496 break; 497 } 498 /* linux_old_getrlimit */ 499 case 76: { 500 struct linux_old_getrlimit_args *p = params; 501 iarg[a++] = p->resource; /* l_uint */ 502 uarg[a++] = (intptr_t)p->rlim; /* struct l_rlimit * */ 503 *n_args = 2; 504 break; 505 } 506 /* getrusage */ 507 case 77: { 508 struct getrusage_args *p = params; 509 iarg[a++] = p->who; /* int */ 510 uarg[a++] = (intptr_t)p->rusage; /* struct rusage * */ 511 *n_args = 2; 512 break; 513 } 514 /* gettimeofday */ 515 case 78: { 516 struct gettimeofday_args *p = params; 517 uarg[a++] = (intptr_t)p->tp; /* struct timeval * */ 518 uarg[a++] = (intptr_t)p->tzp; /* struct timezone * */ 519 *n_args = 2; 520 break; 521 } 522 /* settimeofday */ 523 case 79: { 524 struct settimeofday_args *p = params; 525 uarg[a++] = (intptr_t)p->tv; /* struct timeval * */ 526 uarg[a++] = (intptr_t)p->tzp; /* struct timezone * */ 527 *n_args = 2; 528 break; 529 } 530 /* linux_getgroups16 */ 531 case 80: { 532 struct linux_getgroups16_args *p = params; 533 iarg[a++] = p->gidsetsize; /* l_uint */ 534 uarg[a++] = (intptr_t)p->gidset; /* l_gid16_t * */ 535 *n_args = 2; 536 break; 537 } 538 /* linux_setgroups16 */ 539 case 81: { 540 struct linux_setgroups16_args *p = params; 541 iarg[a++] = p->gidsetsize; /* l_uint */ 542 uarg[a++] = (intptr_t)p->gidset; /* l_gid16_t * */ 543 *n_args = 2; 544 break; 545 } 546 /* linux_old_select */ 547 case 82: { 548 struct linux_old_select_args *p = params; 549 uarg[a++] = (intptr_t)p->ptr; /* struct l_old_select_argv * */ 550 *n_args = 1; 551 break; 552 } 553 /* linux_symlink */ 554 case 83: { 555 struct linux_symlink_args *p = params; 556 uarg[a++] = (intptr_t)p->path; /* char * */ 557 uarg[a++] = (intptr_t)p->to; /* char * */ 558 *n_args = 2; 559 break; 560 } 561 /* linux_lstat */ 562 case 84: { 563 struct linux_lstat_args *p = params; 564 uarg[a++] = (intptr_t)p->path; /* char * */ 565 uarg[a++] = (intptr_t)p->up; /* struct l_old_stat * */ 566 *n_args = 2; 567 break; 568 } 569 /* linux_readlink */ 570 case 85: { 571 struct linux_readlink_args *p = params; 572 uarg[a++] = (intptr_t)p->name; /* char * */ 573 uarg[a++] = (intptr_t)p->buf; /* char * */ 574 iarg[a++] = p->count; /* l_int */ 575 *n_args = 3; 576 break; 577 } 578 /* linux_uselib */ 579 case 86: { 580 struct linux_uselib_args *p = params; 581 uarg[a++] = (intptr_t)p->library; /* char * */ 582 *n_args = 1; 583 break; 584 } 585 /* swapon */ 586 case 87: { 587 struct swapon_args *p = params; 588 uarg[a++] = (intptr_t)p->name; /* char * */ 589 *n_args = 1; 590 break; 591 } 592 /* linux_reboot */ 593 case 88: { 594 struct linux_reboot_args *p = params; 595 iarg[a++] = p->magic1; /* l_int */ 596 iarg[a++] = p->magic2; /* l_int */ 597 iarg[a++] = p->cmd; /* l_uint */ 598 uarg[a++] = (intptr_t)p->arg; /* void * */ 599 *n_args = 4; 600 break; 601 } 602 /* linux_readdir */ 603 case 89: { 604 struct linux_readdir_args *p = params; 605 iarg[a++] = p->fd; /* l_uint */ 606 uarg[a++] = (intptr_t)p->dent; /* struct l_dirent * */ 607 iarg[a++] = p->count; /* l_uint */ 608 *n_args = 3; 609 break; 610 } 611 /* linux_mmap */ 612 case 90: { 613 struct linux_mmap_args *p = params; 614 uarg[a++] = (intptr_t)p->ptr; /* struct l_mmap_argv * */ 615 *n_args = 1; 616 break; 617 } 618 /* munmap */ 619 case 91: { 620 struct munmap_args *p = params; 621 uarg[a++] = (intptr_t)p->addr; /* caddr_t */ 622 iarg[a++] = p->len; /* int */ 623 *n_args = 2; 624 break; 625 } 626 /* linux_truncate */ 627 case 92: { 628 struct linux_truncate_args *p = params; 629 uarg[a++] = (intptr_t)p->path; /* char * */ 630 iarg[a++] = p->length; /* l_ulong */ 631 *n_args = 2; 632 break; 633 } 634 /* linux_ftruncate */ 635 case 93: { 636 struct linux_ftruncate_args *p = params; 637 iarg[a++] = p->fd; /* int */ 638 iarg[a++] = p->length; /* long */ 639 *n_args = 2; 640 break; 641 } 642 /* fchmod */ 643 case 94: { 644 struct fchmod_args *p = params; 645 iarg[a++] = p->fd; /* int */ 646 iarg[a++] = p->mode; /* int */ 647 *n_args = 2; 648 break; 649 } 650 /* fchown */ 651 case 95: { 652 struct fchown_args *p = params; 653 iarg[a++] = p->fd; /* int */ 654 iarg[a++] = p->uid; /* int */ 655 iarg[a++] = p->gid; /* int */ 656 *n_args = 3; 657 break; 658 } 659 /* linux_getpriority */ 660 case 96: { 661 struct linux_getpriority_args *p = params; 662 iarg[a++] = p->which; /* int */ 663 iarg[a++] = p->who; /* int */ 664 *n_args = 2; 665 break; 666 } 667 /* setpriority */ 668 case 97: { 669 struct setpriority_args *p = params; 670 iarg[a++] = p->which; /* int */ 671 iarg[a++] = p->who; /* int */ 672 iarg[a++] = p->prio; /* int */ 673 *n_args = 3; 674 break; 675 } 676 /* linux_statfs */ 677 case 99: { 678 struct linux_statfs_args *p = params; 679 uarg[a++] = (intptr_t)p->path; /* char * */ 680 uarg[a++] = (intptr_t)p->buf; /* struct l_statfs_buf * */ 681 *n_args = 2; 682 break; 683 } 684 /* linux_fstatfs */ 685 case 100: { 686 struct linux_fstatfs_args *p = params; 687 iarg[a++] = p->fd; /* l_uint */ 688 uarg[a++] = (intptr_t)p->buf; /* struct l_statfs_buf * */ 689 *n_args = 2; 690 break; 691 } 692 /* linux_ioperm */ 693 case 101: { 694 struct linux_ioperm_args *p = params; 695 iarg[a++] = p->start; /* l_ulong */ 696 iarg[a++] = p->length; /* l_ulong */ 697 iarg[a++] = p->enable; /* l_int */ 698 *n_args = 3; 699 break; 700 } 701 /* linux_socketcall */ 702 case 102: { 703 struct linux_socketcall_args *p = params; 704 iarg[a++] = p->what; /* l_int */ 705 iarg[a++] = p->args; /* l_ulong */ 706 *n_args = 2; 707 break; 708 } 709 /* linux_syslog */ 710 case 103: { 711 struct linux_syslog_args *p = params; 712 iarg[a++] = p->type; /* l_int */ 713 uarg[a++] = (intptr_t)p->buf; /* char * */ 714 iarg[a++] = p->len; /* l_int */ 715 *n_args = 3; 716 break; 717 } 718 /* linux_setitimer */ 719 case 104: { 720 struct linux_setitimer_args *p = params; 721 iarg[a++] = p->which; /* l_int */ 722 uarg[a++] = (intptr_t)p->itv; /* struct l_itimerval * */ 723 uarg[a++] = (intptr_t)p->oitv; /* struct l_itimerval * */ 724 *n_args = 3; 725 break; 726 } 727 /* linux_getitimer */ 728 case 105: { 729 struct linux_getitimer_args *p = params; 730 iarg[a++] = p->which; /* l_int */ 731 uarg[a++] = (intptr_t)p->itv; /* struct l_itimerval * */ 732 *n_args = 2; 733 break; 734 } 735 /* linux_newstat */ 736 case 106: { 737 struct linux_newstat_args *p = params; 738 uarg[a++] = (intptr_t)p->path; /* char * */ 739 uarg[a++] = (intptr_t)p->buf; /* struct l_newstat * */ 740 *n_args = 2; 741 break; 742 } 743 /* linux_newlstat */ 744 case 107: { 745 struct linux_newlstat_args *p = params; 746 uarg[a++] = (intptr_t)p->path; /* char * */ 747 uarg[a++] = (intptr_t)p->buf; /* struct l_newstat * */ 748 *n_args = 2; 749 break; 750 } 751 /* linux_newfstat */ 752 case 108: { 753 struct linux_newfstat_args *p = params; 754 iarg[a++] = p->fd; /* l_uint */ 755 uarg[a++] = (intptr_t)p->buf; /* struct l_newstat * */ 756 *n_args = 2; 757 break; 758 } 759 /* linux_uname */ 760 case 109: { 761 *n_args = 0; 762 break; 763 } 764 /* linux_iopl */ 765 case 110: { 766 struct linux_iopl_args *p = params; 767 iarg[a++] = p->level; /* l_int */ 768 *n_args = 1; 769 break; 770 } 771 /* linux_vhangup */ 772 case 111: { 773 *n_args = 0; 774 break; 775 } 776 /* linux_vm86old */ 777 case 113: { 778 *n_args = 0; 779 break; 780 } 781 /* linux_wait4 */ 782 case 114: { 783 struct linux_wait4_args *p = params; 784 iarg[a++] = p->pid; /* l_pid_t */ 785 uarg[a++] = (intptr_t)p->status; /* l_int * */ 786 iarg[a++] = p->options; /* l_int */ 787 uarg[a++] = (intptr_t)p->rusage; /* void * */ 788 *n_args = 4; 789 break; 790 } 791 /* linux_swapoff */ 792 case 115: { 793 *n_args = 0; 794 break; 795 } 796 /* linux_sysinfo */ 797 case 116: { 798 struct linux_sysinfo_args *p = params; 799 uarg[a++] = (intptr_t)p->info; /* struct l_sysinfo * */ 800 *n_args = 1; 801 break; 802 } 803 /* linux_ipc */ 804 case 117: { 805 struct linux_ipc_args *p = params; 806 iarg[a++] = p->what; /* l_uint */ 807 iarg[a++] = p->arg1; /* l_int */ 808 iarg[a++] = p->arg2; /* l_int */ 809 iarg[a++] = p->arg3; /* l_uint */ 810 uarg[a++] = (intptr_t)p->ptr; /* l_uintptr_t */ 811 iarg[a++] = p->arg5; /* l_uint */ 812 *n_args = 6; 813 break; 814 } 815 /* fsync */ 816 case 118: { 817 struct fsync_args *p = params; 818 iarg[a++] = p->fd; /* int */ 819 *n_args = 1; 820 break; 821 } 822 /* linux_sigreturn */ 823 case 119: { 824 struct linux_sigreturn_args *p = params; 825 uarg[a++] = (intptr_t)p->sfp; /* struct l_sigframe * */ 826 *n_args = 1; 827 break; 828 } 829 /* linux_clone */ 830 case 120: { 831 struct linux_clone_args *p = params; 832 iarg[a++] = p->flags; /* l_ulong */ 833 iarg[a++] = p->stack; /* l_ulong */ 834 uarg[a++] = (intptr_t)p->parent_tidptr; /* l_int * */ 835 iarg[a++] = p->tls; /* l_ulong */ 836 uarg[a++] = (intptr_t)p->child_tidptr; /* l_int * */ 837 *n_args = 5; 838 break; 839 } 840 /* linux_setdomainname */ 841 case 121: { 842 struct linux_setdomainname_args *p = params; 843 uarg[a++] = (intptr_t)p->name; /* char * */ 844 iarg[a++] = p->len; /* int */ 845 *n_args = 2; 846 break; 847 } 848 /* linux_newuname */ 849 case 122: { 850 struct linux_newuname_args *p = params; 851 uarg[a++] = (intptr_t)p->buf; /* struct l_new_utsname * */ 852 *n_args = 1; 853 break; 854 } 855 /* linux_modify_ldt */ 856 case 123: { 857 struct linux_modify_ldt_args *p = params; 858 iarg[a++] = p->func; /* l_int */ 859 uarg[a++] = (intptr_t)p->ptr; /* void * */ 860 iarg[a++] = p->bytecount; /* l_ulong */ 861 *n_args = 3; 862 break; 863 } 864 /* linux_adjtimex */ 865 case 124: { 866 *n_args = 0; 867 break; 868 } 869 /* linux_mprotect */ 870 case 125: { 871 struct linux_mprotect_args *p = params; 872 uarg[a++] = (intptr_t)p->addr; /* caddr_t */ 873 iarg[a++] = p->len; /* int */ 874 iarg[a++] = p->prot; /* int */ 875 *n_args = 3; 876 break; 877 } 878 /* linux_sigprocmask */ 879 case 126: { 880 struct linux_sigprocmask_args *p = params; 881 iarg[a++] = p->how; /* l_int */ 882 uarg[a++] = (intptr_t)p->mask; /* l_osigset_t * */ 883 uarg[a++] = (intptr_t)p->omask; /* l_osigset_t * */ 884 *n_args = 3; 885 break; 886 } 887 /* linux_init_module */ 888 case 128: { 889 *n_args = 0; 890 break; 891 } 892 /* linux_delete_module */ 893 case 129: { 894 *n_args = 0; 895 break; 896 } 897 /* linux_quotactl */ 898 case 131: { 899 *n_args = 0; 900 break; 901 } 902 /* getpgid */ 903 case 132: { 904 struct getpgid_args *p = params; 905 iarg[a++] = p->pid; /* int */ 906 *n_args = 1; 907 break; 908 } 909 /* fchdir */ 910 case 133: { 911 struct fchdir_args *p = params; 912 iarg[a++] = p->fd; /* int */ 913 *n_args = 1; 914 break; 915 } 916 /* linux_bdflush */ 917 case 134: { 918 *n_args = 0; 919 break; 920 } 921 /* linux_sysfs */ 922 case 135: { 923 struct linux_sysfs_args *p = params; 924 iarg[a++] = p->option; /* l_int */ 925 iarg[a++] = p->arg1; /* l_ulong */ 926 iarg[a++] = p->arg2; /* l_ulong */ 927 *n_args = 3; 928 break; 929 } 930 /* linux_personality */ 931 case 136: { 932 struct linux_personality_args *p = params; 933 iarg[a++] = p->per; /* l_uint */ 934 *n_args = 1; 935 break; 936 } 937 /* linux_setfsuid16 */ 938 case 138: { 939 struct linux_setfsuid16_args *p = params; 940 iarg[a++] = p->uid; /* l_uid16_t */ 941 *n_args = 1; 942 break; 943 } 944 /* linux_setfsgid16 */ 945 case 139: { 946 struct linux_setfsgid16_args *p = params; 947 iarg[a++] = p->gid; /* l_gid16_t */ 948 *n_args = 1; 949 break; 950 } 951 /* linux_llseek */ 952 case 140: { 953 struct linux_llseek_args *p = params; 954 iarg[a++] = p->fd; /* l_int */ 955 iarg[a++] = p->ohigh; /* l_ulong */ 956 iarg[a++] = p->olow; /* l_ulong */ 957 uarg[a++] = (intptr_t)p->res; /* l_loff_t * */ 958 iarg[a++] = p->whence; /* l_uint */ 959 *n_args = 5; 960 break; 961 } 962 /* linux_getdents */ 963 case 141: { 964 struct linux_getdents_args *p = params; 965 iarg[a++] = p->fd; /* l_uint */ 966 uarg[a++] = (intptr_t)p->dent; /* void * */ 967 iarg[a++] = p->count; /* l_uint */ 968 *n_args = 3; 969 break; 970 } 971 /* linux_select */ 972 case 142: { 973 struct linux_select_args *p = params; 974 iarg[a++] = p->nfds; /* l_int */ 975 uarg[a++] = (intptr_t)p->readfds; /* l_fd_set * */ 976 uarg[a++] = (intptr_t)p->writefds; /* l_fd_set * */ 977 uarg[a++] = (intptr_t)p->exceptfds; /* l_fd_set * */ 978 uarg[a++] = (intptr_t)p->timeout; /* struct l_timeval * */ 979 *n_args = 5; 980 break; 981 } 982 /* flock */ 983 case 143: { 984 struct flock_args *p = params; 985 iarg[a++] = p->fd; /* int */ 986 iarg[a++] = p->how; /* int */ 987 *n_args = 2; 988 break; 989 } 990 /* linux_msync */ 991 case 144: { 992 struct linux_msync_args *p = params; 993 iarg[a++] = p->addr; /* l_ulong */ 994 iarg[a++] = p->len; /* l_size_t */ 995 iarg[a++] = p->fl; /* l_int */ 996 *n_args = 3; 997 break; 998 } 999 /* readv */ 1000 case 145: { 1001 struct readv_args *p = params; 1002 iarg[a++] = p->fd; /* int */ 1003 uarg[a++] = (intptr_t)p->iovp; /* struct iovec * */ 1004 uarg[a++] = p->iovcnt; /* u_int */ 1005 *n_args = 3; 1006 break; 1007 } 1008 /* linux_writev */ 1009 case 146: { 1010 struct linux_writev_args *p = params; 1011 iarg[a++] = p->fd; /* int */ 1012 uarg[a++] = (intptr_t)p->iovp; /* struct iovec * */ 1013 uarg[a++] = p->iovcnt; /* u_int */ 1014 *n_args = 3; 1015 break; 1016 } 1017 /* linux_getsid */ 1018 case 147: { 1019 struct linux_getsid_args *p = params; 1020 iarg[a++] = p->pid; /* l_pid_t */ 1021 *n_args = 1; 1022 break; 1023 } 1024 /* linux_fdatasync */ 1025 case 148: { 1026 struct linux_fdatasync_args *p = params; 1027 iarg[a++] = p->fd; /* l_uint */ 1028 *n_args = 1; 1029 break; 1030 } 1031 /* linux_sysctl */ 1032 case 149: { 1033 struct linux_sysctl_args *p = params; 1034 uarg[a++] = (intptr_t)p->args; /* struct l___sysctl_args * */ 1035 *n_args = 1; 1036 break; 1037 } 1038 /* mlock */ 1039 case 150: { 1040 struct mlock_args *p = params; 1041 uarg[a++] = (intptr_t)p->addr; /* const void * */ 1042 uarg[a++] = p->len; /* size_t */ 1043 *n_args = 2; 1044 break; 1045 } 1046 /* munlock */ 1047 case 151: { 1048 struct munlock_args *p = params; 1049 uarg[a++] = (intptr_t)p->addr; /* const void * */ 1050 uarg[a++] = p->len; /* size_t */ 1051 *n_args = 2; 1052 break; 1053 } 1054 /* mlockall */ 1055 case 152: { 1056 struct mlockall_args *p = params; 1057 iarg[a++] = p->how; /* int */ 1058 *n_args = 1; 1059 break; 1060 } 1061 /* munlockall */ 1062 case 153: { 1063 *n_args = 0; 1064 break; 1065 } 1066 /* linux_sched_setparam */ 1067 case 154: { 1068 struct linux_sched_setparam_args *p = params; 1069 iarg[a++] = p->pid; /* l_pid_t */ 1070 uarg[a++] = (intptr_t)p->param; /* struct sched_param * */ 1071 *n_args = 2; 1072 break; 1073 } 1074 /* linux_sched_getparam */ 1075 case 155: { 1076 struct linux_sched_getparam_args *p = params; 1077 iarg[a++] = p->pid; /* l_pid_t */ 1078 uarg[a++] = (intptr_t)p->param; /* struct sched_param * */ 1079 *n_args = 2; 1080 break; 1081 } 1082 /* linux_sched_setscheduler */ 1083 case 156: { 1084 struct linux_sched_setscheduler_args *p = params; 1085 iarg[a++] = p->pid; /* l_pid_t */ 1086 iarg[a++] = p->policy; /* l_int */ 1087 uarg[a++] = (intptr_t)p->param; /* struct sched_param * */ 1088 *n_args = 3; 1089 break; 1090 } 1091 /* linux_sched_getscheduler */ 1092 case 157: { 1093 struct linux_sched_getscheduler_args *p = params; 1094 iarg[a++] = p->pid; /* l_pid_t */ 1095 *n_args = 1; 1096 break; 1097 } 1098 /* sched_yield */ 1099 case 158: { 1100 *n_args = 0; 1101 break; 1102 } 1103 /* linux_sched_get_priority_max */ 1104 case 159: { 1105 struct linux_sched_get_priority_max_args *p = params; 1106 iarg[a++] = p->policy; /* l_int */ 1107 *n_args = 1; 1108 break; 1109 } 1110 /* linux_sched_get_priority_min */ 1111 case 160: { 1112 struct linux_sched_get_priority_min_args *p = params; 1113 iarg[a++] = p->policy; /* l_int */ 1114 *n_args = 1; 1115 break; 1116 } 1117 /* linux_sched_rr_get_interval */ 1118 case 161: { 1119 struct linux_sched_rr_get_interval_args *p = params; 1120 iarg[a++] = p->pid; /* l_pid_t */ 1121 uarg[a++] = (intptr_t)p->interval; /* struct l_timespec * */ 1122 *n_args = 2; 1123 break; 1124 } 1125 /* linux_nanosleep */ 1126 case 162: { 1127 struct linux_nanosleep_args *p = params; 1128 uarg[a++] = (intptr_t)p->rqtp; /* const struct l_timespec * */ 1129 uarg[a++] = (intptr_t)p->rmtp; /* struct l_timespec * */ 1130 *n_args = 2; 1131 break; 1132 } 1133 /* linux_mremap */ 1134 case 163: { 1135 struct linux_mremap_args *p = params; 1136 iarg[a++] = p->addr; /* l_ulong */ 1137 iarg[a++] = p->old_len; /* l_ulong */ 1138 iarg[a++] = p->new_len; /* l_ulong */ 1139 iarg[a++] = p->flags; /* l_ulong */ 1140 iarg[a++] = p->new_addr; /* l_ulong */ 1141 *n_args = 5; 1142 break; 1143 } 1144 /* linux_setresuid16 */ 1145 case 164: { 1146 struct linux_setresuid16_args *p = params; 1147 iarg[a++] = p->ruid; /* l_uid16_t */ 1148 iarg[a++] = p->euid; /* l_uid16_t */ 1149 iarg[a++] = p->suid; /* l_uid16_t */ 1150 *n_args = 3; 1151 break; 1152 } 1153 /* linux_getresuid16 */ 1154 case 165: { 1155 struct linux_getresuid16_args *p = params; 1156 uarg[a++] = (intptr_t)p->ruid; /* l_uid16_t * */ 1157 uarg[a++] = (intptr_t)p->euid; /* l_uid16_t * */ 1158 uarg[a++] = (intptr_t)p->suid; /* l_uid16_t * */ 1159 *n_args = 3; 1160 break; 1161 } 1162 /* linux_vm86 */ 1163 case 166: { 1164 *n_args = 0; 1165 break; 1166 } 1167 /* linux_poll */ 1168 case 168: { 1169 struct linux_poll_args *p = params; 1170 uarg[a++] = (intptr_t)p->fds; /* struct pollfd * */ 1171 uarg[a++] = p->nfds; /* unsigned int */ 1172 iarg[a++] = p->timeout; /* long */ 1173 *n_args = 3; 1174 break; 1175 } 1176 /* linux_setresgid16 */ 1177 case 170: { 1178 struct linux_setresgid16_args *p = params; 1179 iarg[a++] = p->rgid; /* l_gid16_t */ 1180 iarg[a++] = p->egid; /* l_gid16_t */ 1181 iarg[a++] = p->sgid; /* l_gid16_t */ 1182 *n_args = 3; 1183 break; 1184 } 1185 /* linux_getresgid16 */ 1186 case 171: { 1187 struct linux_getresgid16_args *p = params; 1188 uarg[a++] = (intptr_t)p->rgid; /* l_gid16_t * */ 1189 uarg[a++] = (intptr_t)p->egid; /* l_gid16_t * */ 1190 uarg[a++] = (intptr_t)p->sgid; /* l_gid16_t * */ 1191 *n_args = 3; 1192 break; 1193 } 1194 /* linux_prctl */ 1195 case 172: { 1196 struct linux_prctl_args *p = params; 1197 iarg[a++] = p->option; /* l_int */ 1198 uarg[a++] = (intptr_t)p->arg2; /* l_uintptr_t */ 1199 uarg[a++] = (intptr_t)p->arg3; /* l_uintptr_t */ 1200 uarg[a++] = (intptr_t)p->arg4; /* l_uintptr_t */ 1201 uarg[a++] = (intptr_t)p->arg5; /* l_uintptr_t */ 1202 *n_args = 5; 1203 break; 1204 } 1205 /* linux_rt_sigreturn */ 1206 case 173: { 1207 struct linux_rt_sigreturn_args *p = params; 1208 uarg[a++] = (intptr_t)p->ucp; /* struct l_ucontext * */ 1209 *n_args = 1; 1210 break; 1211 } 1212 /* linux_rt_sigaction */ 1213 case 174: { 1214 struct linux_rt_sigaction_args *p = params; 1215 iarg[a++] = p->sig; /* l_int */ 1216 uarg[a++] = (intptr_t)p->act; /* l_sigaction_t * */ 1217 uarg[a++] = (intptr_t)p->oact; /* l_sigaction_t * */ 1218 iarg[a++] = p->sigsetsize; /* l_size_t */ 1219 *n_args = 4; 1220 break; 1221 } 1222 /* linux_rt_sigprocmask */ 1223 case 175: { 1224 struct linux_rt_sigprocmask_args *p = params; 1225 iarg[a++] = p->how; /* l_int */ 1226 uarg[a++] = (intptr_t)p->mask; /* l_sigset_t * */ 1227 uarg[a++] = (intptr_t)p->omask; /* l_sigset_t * */ 1228 iarg[a++] = p->sigsetsize; /* l_size_t */ 1229 *n_args = 4; 1230 break; 1231 } 1232 /* linux_rt_sigpending */ 1233 case 176: { 1234 struct linux_rt_sigpending_args *p = params; 1235 uarg[a++] = (intptr_t)p->set; /* l_sigset_t * */ 1236 iarg[a++] = p->sigsetsize; /* l_size_t */ 1237 *n_args = 2; 1238 break; 1239 } 1240 /* linux_rt_sigtimedwait */ 1241 case 177: { 1242 struct linux_rt_sigtimedwait_args *p = params; 1243 uarg[a++] = (intptr_t)p->mask; /* l_sigset_t * */ 1244 uarg[a++] = (intptr_t)p->ptr; /* l_siginfo_t * */ 1245 uarg[a++] = (intptr_t)p->timeout; /* struct l_timespec * */ 1246 iarg[a++] = p->sigsetsize; /* l_size_t */ 1247 *n_args = 4; 1248 break; 1249 } 1250 /* linux_rt_sigqueueinfo */ 1251 case 178: { 1252 struct linux_rt_sigqueueinfo_args *p = params; 1253 iarg[a++] = p->pid; /* l_pid_t */ 1254 iarg[a++] = p->sig; /* l_int */ 1255 uarg[a++] = (intptr_t)p->info; /* l_siginfo_t * */ 1256 *n_args = 3; 1257 break; 1258 } 1259 /* linux_rt_sigsuspend */ 1260 case 179: { 1261 struct linux_rt_sigsuspend_args *p = params; 1262 uarg[a++] = (intptr_t)p->newset; /* l_sigset_t * */ 1263 iarg[a++] = p->sigsetsize; /* l_size_t */ 1264 *n_args = 2; 1265 break; 1266 } 1267 /* linux_pread */ 1268 case 180: { 1269 struct linux_pread_args *p = params; 1270 iarg[a++] = p->fd; /* l_uint */ 1271 uarg[a++] = (intptr_t)p->buf; /* char * */ 1272 iarg[a++] = p->nbyte; /* l_size_t */ 1273 iarg[a++] = p->offset; /* l_loff_t */ 1274 *n_args = 4; 1275 break; 1276 } 1277 /* linux_pwrite */ 1278 case 181: { 1279 struct linux_pwrite_args *p = params; 1280 iarg[a++] = p->fd; /* l_uint */ 1281 uarg[a++] = (intptr_t)p->buf; /* char * */ 1282 iarg[a++] = p->nbyte; /* l_size_t */ 1283 iarg[a++] = p->offset; /* l_loff_t */ 1284 *n_args = 4; 1285 break; 1286 } 1287 /* linux_chown16 */ 1288 case 182: { 1289 struct linux_chown16_args *p = params; 1290 uarg[a++] = (intptr_t)p->path; /* char * */ 1291 iarg[a++] = p->uid; /* l_uid16_t */ 1292 iarg[a++] = p->gid; /* l_gid16_t */ 1293 *n_args = 3; 1294 break; 1295 } 1296 /* linux_getcwd */ 1297 case 183: { 1298 struct linux_getcwd_args *p = params; 1299 uarg[a++] = (intptr_t)p->buf; /* char * */ 1300 iarg[a++] = p->bufsize; /* l_ulong */ 1301 *n_args = 2; 1302 break; 1303 } 1304 /* linux_capget */ 1305 case 184: { 1306 struct linux_capget_args *p = params; 1307 uarg[a++] = (intptr_t)p->hdrp; /* struct l_user_cap_header * */ 1308 uarg[a++] = (intptr_t)p->datap; /* struct l_user_cap_data * */ 1309 *n_args = 2; 1310 break; 1311 } 1312 /* linux_capset */ 1313 case 185: { 1314 struct linux_capset_args *p = params; 1315 uarg[a++] = (intptr_t)p->hdrp; /* struct l_user_cap_header * */ 1316 uarg[a++] = (intptr_t)p->datap; /* struct l_user_cap_data * */ 1317 *n_args = 2; 1318 break; 1319 } 1320 /* linux_sigaltstack */ 1321 case 186: { 1322 struct linux_sigaltstack_args *p = params; 1323 uarg[a++] = (intptr_t)p->uss; /* l_stack_t * */ 1324 uarg[a++] = (intptr_t)p->uoss; /* l_stack_t * */ 1325 *n_args = 2; 1326 break; 1327 } 1328 /* linux_sendfile */ 1329 case 187: { 1330 struct linux_sendfile_args *p = params; 1331 iarg[a++] = p->out; /* l_int */ 1332 iarg[a++] = p->in; /* l_int */ 1333 uarg[a++] = (intptr_t)p->offset; /* l_off_t * */ 1334 iarg[a++] = p->count; /* l_size_t */ 1335 *n_args = 4; 1336 break; 1337 } 1338 /* linux_vfork */ 1339 case 190: { 1340 *n_args = 0; 1341 break; 1342 } 1343 /* linux_getrlimit */ 1344 case 191: { 1345 struct linux_getrlimit_args *p = params; 1346 iarg[a++] = p->resource; /* l_uint */ 1347 uarg[a++] = (intptr_t)p->rlim; /* struct l_rlimit * */ 1348 *n_args = 2; 1349 break; 1350 } 1351 /* linux_mmap2 */ 1352 case 192: { 1353 struct linux_mmap2_args *p = params; 1354 iarg[a++] = p->addr; /* l_ulong */ 1355 iarg[a++] = p->len; /* l_ulong */ 1356 iarg[a++] = p->prot; /* l_ulong */ 1357 iarg[a++] = p->flags; /* l_ulong */ 1358 iarg[a++] = p->fd; /* l_ulong */ 1359 iarg[a++] = p->pgoff; /* l_ulong */ 1360 *n_args = 6; 1361 break; 1362 } 1363 /* linux_truncate64 */ 1364 case 193: { 1365 struct linux_truncate64_args *p = params; 1366 uarg[a++] = (intptr_t)p->path; /* char * */ 1367 iarg[a++] = p->length; /* l_loff_t */ 1368 *n_args = 2; 1369 break; 1370 } 1371 /* linux_ftruncate64 */ 1372 case 194: { 1373 struct linux_ftruncate64_args *p = params; 1374 iarg[a++] = p->fd; /* l_uint */ 1375 iarg[a++] = p->length; /* l_loff_t */ 1376 *n_args = 2; 1377 break; 1378 } 1379 /* linux_stat64 */ 1380 case 195: { 1381 struct linux_stat64_args *p = params; 1382 uarg[a++] = (intptr_t)p->filename; /* const char * */ 1383 uarg[a++] = (intptr_t)p->statbuf; /* struct l_stat64 * */ 1384 *n_args = 2; 1385 break; 1386 } 1387 /* linux_lstat64 */ 1388 case 196: { 1389 struct linux_lstat64_args *p = params; 1390 uarg[a++] = (intptr_t)p->filename; /* const char * */ 1391 uarg[a++] = (intptr_t)p->statbuf; /* struct l_stat64 * */ 1392 *n_args = 2; 1393 break; 1394 } 1395 /* linux_fstat64 */ 1396 case 197: { 1397 struct linux_fstat64_args *p = params; 1398 iarg[a++] = p->fd; /* l_int */ 1399 uarg[a++] = (intptr_t)p->statbuf; /* struct l_stat64 * */ 1400 *n_args = 2; 1401 break; 1402 } 1403 /* linux_lchown */ 1404 case 198: { 1405 struct linux_lchown_args *p = params; 1406 uarg[a++] = (intptr_t)p->path; /* char * */ 1407 iarg[a++] = p->uid; /* l_uid_t */ 1408 iarg[a++] = p->gid; /* l_gid_t */ 1409 *n_args = 3; 1410 break; 1411 } 1412 /* linux_getuid */ 1413 case 199: { 1414 *n_args = 0; 1415 break; 1416 } 1417 /* linux_getgid */ 1418 case 200: { 1419 *n_args = 0; 1420 break; 1421 } 1422 /* geteuid */ 1423 case 201: { 1424 *n_args = 0; 1425 break; 1426 } 1427 /* getegid */ 1428 case 202: { 1429 *n_args = 0; 1430 break; 1431 } 1432 /* setreuid */ 1433 case 203: { 1434 struct setreuid_args *p = params; 1435 uarg[a++] = p->ruid; /* uid_t */ 1436 uarg[a++] = p->euid; /* uid_t */ 1437 *n_args = 2; 1438 break; 1439 } 1440 /* setregid */ 1441 case 204: { 1442 struct setregid_args *p = params; 1443 iarg[a++] = p->rgid; /* gid_t */ 1444 iarg[a++] = p->egid; /* gid_t */ 1445 *n_args = 2; 1446 break; 1447 } 1448 /* linux_getgroups */ 1449 case 205: { 1450 struct linux_getgroups_args *p = params; 1451 iarg[a++] = p->gidsetsize; /* l_int */ 1452 uarg[a++] = (intptr_t)p->grouplist; /* l_gid_t * */ 1453 *n_args = 2; 1454 break; 1455 } 1456 /* linux_setgroups */ 1457 case 206: { 1458 struct linux_setgroups_args *p = params; 1459 iarg[a++] = p->gidsetsize; /* l_int */ 1460 uarg[a++] = (intptr_t)p->grouplist; /* l_gid_t * */ 1461 *n_args = 2; 1462 break; 1463 } 1464 /* fchown */ 1465 case 207: { 1466 *n_args = 0; 1467 break; 1468 } 1469 /* setresuid */ 1470 case 208: { 1471 struct setresuid_args *p = params; 1472 uarg[a++] = p->ruid; /* uid_t */ 1473 uarg[a++] = p->euid; /* uid_t */ 1474 uarg[a++] = p->suid; /* uid_t */ 1475 *n_args = 3; 1476 break; 1477 } 1478 /* getresuid */ 1479 case 209: { 1480 struct getresuid_args *p = params; 1481 uarg[a++] = (intptr_t)p->ruid; /* uid_t * */ 1482 uarg[a++] = (intptr_t)p->euid; /* uid_t * */ 1483 uarg[a++] = (intptr_t)p->suid; /* uid_t * */ 1484 *n_args = 3; 1485 break; 1486 } 1487 /* setresgid */ 1488 case 210: { 1489 struct setresgid_args *p = params; 1490 iarg[a++] = p->rgid; /* gid_t */ 1491 iarg[a++] = p->egid; /* gid_t */ 1492 iarg[a++] = p->sgid; /* gid_t */ 1493 *n_args = 3; 1494 break; 1495 } 1496 /* getresgid */ 1497 case 211: { 1498 struct getresgid_args *p = params; 1499 uarg[a++] = (intptr_t)p->rgid; /* gid_t * */ 1500 uarg[a++] = (intptr_t)p->egid; /* gid_t * */ 1501 uarg[a++] = (intptr_t)p->sgid; /* gid_t * */ 1502 *n_args = 3; 1503 break; 1504 } 1505 /* linux_chown */ 1506 case 212: { 1507 struct linux_chown_args *p = params; 1508 uarg[a++] = (intptr_t)p->path; /* char * */ 1509 iarg[a++] = p->uid; /* l_uid_t */ 1510 iarg[a++] = p->gid; /* l_gid_t */ 1511 *n_args = 3; 1512 break; 1513 } 1514 /* setuid */ 1515 case 213: { 1516 struct setuid_args *p = params; 1517 uarg[a++] = p->uid; /* uid_t */ 1518 *n_args = 1; 1519 break; 1520 } 1521 /* setgid */ 1522 case 214: { 1523 struct setgid_args *p = params; 1524 iarg[a++] = p->gid; /* gid_t */ 1525 *n_args = 1; 1526 break; 1527 } 1528 /* linux_setfsuid */ 1529 case 215: { 1530 struct linux_setfsuid_args *p = params; 1531 iarg[a++] = p->uid; /* l_uid_t */ 1532 *n_args = 1; 1533 break; 1534 } 1535 /* linux_setfsgid */ 1536 case 216: { 1537 struct linux_setfsgid_args *p = params; 1538 iarg[a++] = p->gid; /* l_gid_t */ 1539 *n_args = 1; 1540 break; 1541 } 1542 /* linux_pivot_root */ 1543 case 217: { 1544 struct linux_pivot_root_args *p = params; 1545 uarg[a++] = (intptr_t)p->new_root; /* char * */ 1546 uarg[a++] = (intptr_t)p->put_old; /* char * */ 1547 *n_args = 2; 1548 break; 1549 } 1550 /* linux_mincore */ 1551 case 218: { 1552 struct linux_mincore_args *p = params; 1553 iarg[a++] = p->start; /* l_ulong */ 1554 iarg[a++] = p->len; /* l_size_t */ 1555 uarg[a++] = (intptr_t)p->vec; /* u_char * */ 1556 *n_args = 3; 1557 break; 1558 } 1559 /* linux_madvise */ 1560 case 219: { 1561 struct linux_madvise_args *p = params; 1562 uarg[a++] = (intptr_t)p->addr; /* void * */ 1563 uarg[a++] = p->len; /* size_t */ 1564 iarg[a++] = p->behav; /* int */ 1565 *n_args = 3; 1566 break; 1567 } 1568 /* linux_getdents64 */ 1569 case 220: { 1570 struct linux_getdents64_args *p = params; 1571 iarg[a++] = p->fd; /* l_uint */ 1572 uarg[a++] = (intptr_t)p->dirent; /* void * */ 1573 iarg[a++] = p->count; /* l_uint */ 1574 *n_args = 3; 1575 break; 1576 } 1577 /* linux_fcntl64 */ 1578 case 221: { 1579 struct linux_fcntl64_args *p = params; 1580 iarg[a++] = p->fd; /* l_uint */ 1581 iarg[a++] = p->cmd; /* l_uint */ 1582 iarg[a++] = p->arg; /* l_ulong */ 1583 *n_args = 3; 1584 break; 1585 } 1586 /* linux_gettid */ 1587 case 224: { 1588 *n_args = 0; 1589 break; 1590 } 1591 /* linux_setxattr */ 1592 case 226: { 1593 struct linux_setxattr_args *p = params; 1594 uarg[a++] = (intptr_t)p->path; /* const char * */ 1595 uarg[a++] = (intptr_t)p->name; /* const char * */ 1596 uarg[a++] = (intptr_t)p->value; /* void * */ 1597 iarg[a++] = p->size; /* l_size_t */ 1598 iarg[a++] = p->flags; /* l_int */ 1599 *n_args = 5; 1600 break; 1601 } 1602 /* linux_lsetxattr */ 1603 case 227: { 1604 struct linux_lsetxattr_args *p = params; 1605 uarg[a++] = (intptr_t)p->path; /* const char * */ 1606 uarg[a++] = (intptr_t)p->name; /* const char * */ 1607 uarg[a++] = (intptr_t)p->value; /* void * */ 1608 iarg[a++] = p->size; /* l_size_t */ 1609 iarg[a++] = p->flags; /* l_int */ 1610 *n_args = 5; 1611 break; 1612 } 1613 /* linux_fsetxattr */ 1614 case 228: { 1615 struct linux_fsetxattr_args *p = params; 1616 iarg[a++] = p->fd; /* l_int */ 1617 uarg[a++] = (intptr_t)p->name; /* const char * */ 1618 uarg[a++] = (intptr_t)p->value; /* void * */ 1619 iarg[a++] = p->size; /* l_size_t */ 1620 iarg[a++] = p->flags; /* l_int */ 1621 *n_args = 5; 1622 break; 1623 } 1624 /* linux_getxattr */ 1625 case 229: { 1626 struct linux_getxattr_args *p = params; 1627 uarg[a++] = (intptr_t)p->path; /* const char * */ 1628 uarg[a++] = (intptr_t)p->name; /* const char * */ 1629 uarg[a++] = (intptr_t)p->value; /* void * */ 1630 iarg[a++] = p->size; /* l_size_t */ 1631 *n_args = 4; 1632 break; 1633 } 1634 /* linux_lgetxattr */ 1635 case 230: { 1636 struct linux_lgetxattr_args *p = params; 1637 uarg[a++] = (intptr_t)p->path; /* const char * */ 1638 uarg[a++] = (intptr_t)p->name; /* const char * */ 1639 uarg[a++] = (intptr_t)p->value; /* void * */ 1640 iarg[a++] = p->size; /* l_size_t */ 1641 *n_args = 4; 1642 break; 1643 } 1644 /* linux_fgetxattr */ 1645 case 231: { 1646 struct linux_fgetxattr_args *p = params; 1647 iarg[a++] = p->fd; /* l_int */ 1648 uarg[a++] = (intptr_t)p->name; /* const char * */ 1649 uarg[a++] = (intptr_t)p->value; /* void * */ 1650 iarg[a++] = p->size; /* l_size_t */ 1651 *n_args = 4; 1652 break; 1653 } 1654 /* linux_listxattr */ 1655 case 232: { 1656 struct linux_listxattr_args *p = params; 1657 uarg[a++] = (intptr_t)p->path; /* const char * */ 1658 uarg[a++] = (intptr_t)p->list; /* char * */ 1659 iarg[a++] = p->size; /* l_size_t */ 1660 *n_args = 3; 1661 break; 1662 } 1663 /* linux_llistxattr */ 1664 case 233: { 1665 struct linux_llistxattr_args *p = params; 1666 uarg[a++] = (intptr_t)p->path; /* const char * */ 1667 uarg[a++] = (intptr_t)p->list; /* char * */ 1668 iarg[a++] = p->size; /* l_size_t */ 1669 *n_args = 3; 1670 break; 1671 } 1672 /* linux_flistxattr */ 1673 case 234: { 1674 struct linux_flistxattr_args *p = params; 1675 iarg[a++] = p->fd; /* l_int */ 1676 uarg[a++] = (intptr_t)p->list; /* char * */ 1677 iarg[a++] = p->size; /* l_size_t */ 1678 *n_args = 3; 1679 break; 1680 } 1681 /* linux_removexattr */ 1682 case 235: { 1683 struct linux_removexattr_args *p = params; 1684 uarg[a++] = (intptr_t)p->path; /* const char * */ 1685 uarg[a++] = (intptr_t)p->name; /* const char * */ 1686 *n_args = 2; 1687 break; 1688 } 1689 /* linux_lremovexattr */ 1690 case 236: { 1691 struct linux_lremovexattr_args *p = params; 1692 uarg[a++] = (intptr_t)p->path; /* const char * */ 1693 uarg[a++] = (intptr_t)p->name; /* const char * */ 1694 *n_args = 2; 1695 break; 1696 } 1697 /* linux_fremovexattr */ 1698 case 237: { 1699 struct linux_fremovexattr_args *p = params; 1700 iarg[a++] = p->fd; /* l_int */ 1701 uarg[a++] = (intptr_t)p->name; /* const char * */ 1702 *n_args = 2; 1703 break; 1704 } 1705 /* linux_tkill */ 1706 case 238: { 1707 struct linux_tkill_args *p = params; 1708 iarg[a++] = p->tid; /* int */ 1709 iarg[a++] = p->sig; /* int */ 1710 *n_args = 2; 1711 break; 1712 } 1713 /* linux_sendfile64 */ 1714 case 239: { 1715 struct linux_sendfile64_args *p = params; 1716 iarg[a++] = p->out; /* l_int */ 1717 iarg[a++] = p->in; /* l_int */ 1718 uarg[a++] = (intptr_t)p->offset; /* l_loff_t * */ 1719 iarg[a++] = p->count; /* l_size_t */ 1720 *n_args = 4; 1721 break; 1722 } 1723 /* linux_sys_futex */ 1724 case 240: { 1725 struct linux_sys_futex_args *p = params; 1726 uarg[a++] = (intptr_t)p->uaddr; /* uint32_t * */ 1727 iarg[a++] = p->op; /* l_int */ 1728 uarg[a++] = p->val; /* uint32_t */ 1729 uarg[a++] = (intptr_t)p->timeout; /* struct l_timespec * */ 1730 uarg[a++] = (intptr_t)p->uaddr2; /* uint32_t * */ 1731 uarg[a++] = p->val3; /* uint32_t */ 1732 *n_args = 6; 1733 break; 1734 } 1735 /* linux_sched_setaffinity */ 1736 case 241: { 1737 struct linux_sched_setaffinity_args *p = params; 1738 iarg[a++] = p->pid; /* l_pid_t */ 1739 iarg[a++] = p->len; /* l_uint */ 1740 uarg[a++] = (intptr_t)p->user_mask_ptr; /* l_ulong * */ 1741 *n_args = 3; 1742 break; 1743 } 1744 /* linux_sched_getaffinity */ 1745 case 242: { 1746 struct linux_sched_getaffinity_args *p = params; 1747 iarg[a++] = p->pid; /* l_pid_t */ 1748 iarg[a++] = p->len; /* l_uint */ 1749 uarg[a++] = (intptr_t)p->user_mask_ptr; /* l_ulong * */ 1750 *n_args = 3; 1751 break; 1752 } 1753 /* linux_set_thread_area */ 1754 case 243: { 1755 struct linux_set_thread_area_args *p = params; 1756 uarg[a++] = (intptr_t)p->desc; /* struct l_user_desc * */ 1757 *n_args = 1; 1758 break; 1759 } 1760 /* linux_get_thread_area */ 1761 case 244: { 1762 struct linux_get_thread_area_args *p = params; 1763 uarg[a++] = (intptr_t)p->desc; /* struct l_user_desc * */ 1764 *n_args = 1; 1765 break; 1766 } 1767 /* linux_fadvise64 */ 1768 case 250: { 1769 struct linux_fadvise64_args *p = params; 1770 iarg[a++] = p->fd; /* int */ 1771 iarg[a++] = p->offset; /* l_loff_t */ 1772 iarg[a++] = p->len; /* l_size_t */ 1773 iarg[a++] = p->advice; /* int */ 1774 *n_args = 4; 1775 break; 1776 } 1777 /* linux_exit_group */ 1778 case 252: { 1779 struct linux_exit_group_args *p = params; 1780 iarg[a++] = p->error_code; /* int */ 1781 *n_args = 1; 1782 break; 1783 } 1784 /* linux_lookup_dcookie */ 1785 case 253: { 1786 *n_args = 0; 1787 break; 1788 } 1789 /* linux_epoll_create */ 1790 case 254: { 1791 struct linux_epoll_create_args *p = params; 1792 iarg[a++] = p->size; /* l_int */ 1793 *n_args = 1; 1794 break; 1795 } 1796 /* linux_epoll_ctl */ 1797 case 255: { 1798 struct linux_epoll_ctl_args *p = params; 1799 iarg[a++] = p->epfd; /* l_int */ 1800 iarg[a++] = p->op; /* l_int */ 1801 iarg[a++] = p->fd; /* l_int */ 1802 uarg[a++] = (intptr_t)p->event; /* struct epoll_event * */ 1803 *n_args = 4; 1804 break; 1805 } 1806 /* linux_epoll_wait */ 1807 case 256: { 1808 struct linux_epoll_wait_args *p = params; 1809 iarg[a++] = p->epfd; /* l_int */ 1810 uarg[a++] = (intptr_t)p->events; /* struct epoll_event * */ 1811 iarg[a++] = p->maxevents; /* l_int */ 1812 iarg[a++] = p->timeout; /* l_int */ 1813 *n_args = 4; 1814 break; 1815 } 1816 /* linux_remap_file_pages */ 1817 case 257: { 1818 *n_args = 0; 1819 break; 1820 } 1821 /* linux_set_tid_address */ 1822 case 258: { 1823 struct linux_set_tid_address_args *p = params; 1824 uarg[a++] = (intptr_t)p->tidptr; /* int * */ 1825 *n_args = 1; 1826 break; 1827 } 1828 /* linux_timer_create */ 1829 case 259: { 1830 struct linux_timer_create_args *p = params; 1831 iarg[a++] = p->clock_id; /* clockid_t */ 1832 uarg[a++] = (intptr_t)p->evp; /* struct sigevent * */ 1833 uarg[a++] = (intptr_t)p->timerid; /* l_timer_t * */ 1834 *n_args = 3; 1835 break; 1836 } 1837 /* linux_timer_settime */ 1838 case 260: { 1839 struct linux_timer_settime_args *p = params; 1840 iarg[a++] = p->timerid; /* l_timer_t */ 1841 iarg[a++] = p->flags; /* l_int */ 1842 uarg[a++] = (intptr_t)p->new; /* const struct itimerspec * */ 1843 uarg[a++] = (intptr_t)p->old; /* struct itimerspec * */ 1844 *n_args = 4; 1845 break; 1846 } 1847 /* linux_timer_gettime */ 1848 case 261: { 1849 struct linux_timer_gettime_args *p = params; 1850 iarg[a++] = p->timerid; /* l_timer_t */ 1851 uarg[a++] = (intptr_t)p->setting; /* struct itimerspec * */ 1852 *n_args = 2; 1853 break; 1854 } 1855 /* linux_timer_getoverrun */ 1856 case 262: { 1857 struct linux_timer_getoverrun_args *p = params; 1858 iarg[a++] = p->timerid; /* l_timer_t */ 1859 *n_args = 1; 1860 break; 1861 } 1862 /* linux_timer_delete */ 1863 case 263: { 1864 struct linux_timer_delete_args *p = params; 1865 iarg[a++] = p->timerid; /* l_timer_t */ 1866 *n_args = 1; 1867 break; 1868 } 1869 /* linux_clock_settime */ 1870 case 264: { 1871 struct linux_clock_settime_args *p = params; 1872 iarg[a++] = p->which; /* clockid_t */ 1873 uarg[a++] = (intptr_t)p->tp; /* struct l_timespec * */ 1874 *n_args = 2; 1875 break; 1876 } 1877 /* linux_clock_gettime */ 1878 case 265: { 1879 struct linux_clock_gettime_args *p = params; 1880 iarg[a++] = p->which; /* clockid_t */ 1881 uarg[a++] = (intptr_t)p->tp; /* struct l_timespec * */ 1882 *n_args = 2; 1883 break; 1884 } 1885 /* linux_clock_getres */ 1886 case 266: { 1887 struct linux_clock_getres_args *p = params; 1888 iarg[a++] = p->which; /* clockid_t */ 1889 uarg[a++] = (intptr_t)p->tp; /* struct l_timespec * */ 1890 *n_args = 2; 1891 break; 1892 } 1893 /* linux_clock_nanosleep */ 1894 case 267: { 1895 struct linux_clock_nanosleep_args *p = params; 1896 iarg[a++] = p->which; /* clockid_t */ 1897 iarg[a++] = p->flags; /* int */ 1898 uarg[a++] = (intptr_t)p->rqtp; /* struct l_timespec * */ 1899 uarg[a++] = (intptr_t)p->rmtp; /* struct l_timespec * */ 1900 *n_args = 4; 1901 break; 1902 } 1903 /* linux_statfs64 */ 1904 case 268: { 1905 struct linux_statfs64_args *p = params; 1906 uarg[a++] = (intptr_t)p->path; /* char * */ 1907 uarg[a++] = p->bufsize; /* size_t */ 1908 uarg[a++] = (intptr_t)p->buf; /* struct l_statfs64_buf * */ 1909 *n_args = 3; 1910 break; 1911 } 1912 /* linux_fstatfs64 */ 1913 case 269: { 1914 struct linux_fstatfs64_args *p = params; 1915 iarg[a++] = p->fd; /* l_uint */ 1916 uarg[a++] = p->bufsize; /* size_t */ 1917 uarg[a++] = (intptr_t)p->buf; /* struct l_statfs64_buf * */ 1918 *n_args = 3; 1919 break; 1920 } 1921 /* linux_tgkill */ 1922 case 270: { 1923 struct linux_tgkill_args *p = params; 1924 iarg[a++] = p->tgid; /* int */ 1925 iarg[a++] = p->pid; /* int */ 1926 iarg[a++] = p->sig; /* int */ 1927 *n_args = 3; 1928 break; 1929 } 1930 /* linux_utimes */ 1931 case 271: { 1932 struct linux_utimes_args *p = params; 1933 uarg[a++] = (intptr_t)p->fname; /* char * */ 1934 uarg[a++] = (intptr_t)p->tptr; /* struct l_timeval * */ 1935 *n_args = 2; 1936 break; 1937 } 1938 /* linux_fadvise64_64 */ 1939 case 272: { 1940 struct linux_fadvise64_64_args *p = params; 1941 iarg[a++] = p->fd; /* int */ 1942 iarg[a++] = p->offset; /* l_loff_t */ 1943 iarg[a++] = p->len; /* l_loff_t */ 1944 iarg[a++] = p->advice; /* int */ 1945 *n_args = 4; 1946 break; 1947 } 1948 /* linux_mbind */ 1949 case 274: { 1950 *n_args = 0; 1951 break; 1952 } 1953 /* linux_get_mempolicy */ 1954 case 275: { 1955 *n_args = 0; 1956 break; 1957 } 1958 /* linux_set_mempolicy */ 1959 case 276: { 1960 *n_args = 0; 1961 break; 1962 } 1963 /* linux_mq_open */ 1964 case 277: { 1965 struct linux_mq_open_args *p = params; 1966 uarg[a++] = (intptr_t)p->name; /* const char * */ 1967 iarg[a++] = p->oflag; /* l_int */ 1968 iarg[a++] = p->mode; /* l_mode_t */ 1969 uarg[a++] = (intptr_t)p->attr; /* struct mq_attr * */ 1970 *n_args = 4; 1971 break; 1972 } 1973 /* linux_mq_unlink */ 1974 case 278: { 1975 struct linux_mq_unlink_args *p = params; 1976 uarg[a++] = (intptr_t)p->name; /* const char * */ 1977 *n_args = 1; 1978 break; 1979 } 1980 /* linux_mq_timedsend */ 1981 case 279: { 1982 struct linux_mq_timedsend_args *p = params; 1983 iarg[a++] = p->mqd; /* l_mqd_t */ 1984 uarg[a++] = (intptr_t)p->msg_ptr; /* const char * */ 1985 iarg[a++] = p->msg_len; /* l_size_t */ 1986 iarg[a++] = p->msg_prio; /* l_uint */ 1987 uarg[a++] = (intptr_t)p->abs_timeout; /* const struct l_timespec * */ 1988 *n_args = 5; 1989 break; 1990 } 1991 /* linux_mq_timedreceive */ 1992 case 280: { 1993 struct linux_mq_timedreceive_args *p = params; 1994 iarg[a++] = p->mqd; /* l_mqd_t */ 1995 uarg[a++] = (intptr_t)p->msg_ptr; /* char * */ 1996 iarg[a++] = p->msg_len; /* l_size_t */ 1997 uarg[a++] = (intptr_t)p->msg_prio; /* l_uint * */ 1998 uarg[a++] = (intptr_t)p->abs_timeout; /* const struct l_timespec * */ 1999 *n_args = 5; 2000 break; 2001 } 2002 /* linux_mq_notify */ 2003 case 281: { 2004 struct linux_mq_notify_args *p = params; 2005 iarg[a++] = p->mqd; /* l_mqd_t */ 2006 uarg[a++] = (intptr_t)p->abs_timeout; /* const struct l_timespec * */ 2007 *n_args = 2; 2008 break; 2009 } 2010 /* linux_mq_getsetattr */ 2011 case 282: { 2012 struct linux_mq_getsetattr_args *p = params; 2013 iarg[a++] = p->mqd; /* l_mqd_t */ 2014 uarg[a++] = (intptr_t)p->attr; /* const struct mq_attr * */ 2015 uarg[a++] = (intptr_t)p->oattr; /* struct mq_attr * */ 2016 *n_args = 3; 2017 break; 2018 } 2019 /* linux_kexec_load */ 2020 case 283: { 2021 *n_args = 0; 2022 break; 2023 } 2024 /* linux_waitid */ 2025 case 284: { 2026 struct linux_waitid_args *p = params; 2027 iarg[a++] = p->idtype; /* int */ 2028 iarg[a++] = p->id; /* l_pid_t */ 2029 uarg[a++] = (intptr_t)p->info; /* l_siginfo_t * */ 2030 iarg[a++] = p->options; /* int */ 2031 uarg[a++] = (intptr_t)p->rusage; /* void * */ 2032 *n_args = 5; 2033 break; 2034 } 2035 /* linux_add_key */ 2036 case 286: { 2037 *n_args = 0; 2038 break; 2039 } 2040 /* linux_request_key */ 2041 case 287: { 2042 *n_args = 0; 2043 break; 2044 } 2045 /* linux_keyctl */ 2046 case 288: { 2047 *n_args = 0; 2048 break; 2049 } 2050 /* linux_ioprio_set */ 2051 case 289: { 2052 struct linux_ioprio_set_args *p = params; 2053 iarg[a++] = p->which; /* l_int */ 2054 iarg[a++] = p->who; /* l_int */ 2055 iarg[a++] = p->ioprio; /* l_int */ 2056 *n_args = 3; 2057 break; 2058 } 2059 /* linux_ioprio_get */ 2060 case 290: { 2061 struct linux_ioprio_get_args *p = params; 2062 iarg[a++] = p->which; /* l_int */ 2063 iarg[a++] = p->who; /* l_int */ 2064 *n_args = 2; 2065 break; 2066 } 2067 /* linux_inotify_init */ 2068 case 291: { 2069 *n_args = 0; 2070 break; 2071 } 2072 /* linux_inotify_add_watch */ 2073 case 292: { 2074 *n_args = 0; 2075 break; 2076 } 2077 /* linux_inotify_rm_watch */ 2078 case 293: { 2079 *n_args = 0; 2080 break; 2081 } 2082 /* linux_migrate_pages */ 2083 case 294: { 2084 *n_args = 0; 2085 break; 2086 } 2087 /* linux_openat */ 2088 case 295: { 2089 struct linux_openat_args *p = params; 2090 iarg[a++] = p->dfd; /* l_int */ 2091 uarg[a++] = (intptr_t)p->filename; /* const char * */ 2092 iarg[a++] = p->flags; /* l_int */ 2093 iarg[a++] = p->mode; /* l_int */ 2094 *n_args = 4; 2095 break; 2096 } 2097 /* linux_mkdirat */ 2098 case 296: { 2099 struct linux_mkdirat_args *p = params; 2100 iarg[a++] = p->dfd; /* l_int */ 2101 uarg[a++] = (intptr_t)p->pathname; /* const char * */ 2102 iarg[a++] = p->mode; /* l_int */ 2103 *n_args = 3; 2104 break; 2105 } 2106 /* linux_mknodat */ 2107 case 297: { 2108 struct linux_mknodat_args *p = params; 2109 iarg[a++] = p->dfd; /* l_int */ 2110 uarg[a++] = (intptr_t)p->filename; /* const char * */ 2111 iarg[a++] = p->mode; /* l_int */ 2112 iarg[a++] = p->dev; /* l_dev_t */ 2113 *n_args = 4; 2114 break; 2115 } 2116 /* linux_fchownat */ 2117 case 298: { 2118 struct linux_fchownat_args *p = params; 2119 iarg[a++] = p->dfd; /* l_int */ 2120 uarg[a++] = (intptr_t)p->filename; /* const char * */ 2121 iarg[a++] = p->uid; /* l_uid16_t */ 2122 iarg[a++] = p->gid; /* l_gid16_t */ 2123 iarg[a++] = p->flag; /* l_int */ 2124 *n_args = 5; 2125 break; 2126 } 2127 /* linux_futimesat */ 2128 case 299: { 2129 struct linux_futimesat_args *p = params; 2130 iarg[a++] = p->dfd; /* l_int */ 2131 uarg[a++] = (intptr_t)p->filename; /* char * */ 2132 uarg[a++] = (intptr_t)p->utimes; /* struct l_timeval * */ 2133 *n_args = 3; 2134 break; 2135 } 2136 /* linux_fstatat64 */ 2137 case 300: { 2138 struct linux_fstatat64_args *p = params; 2139 iarg[a++] = p->dfd; /* l_int */ 2140 uarg[a++] = (intptr_t)p->pathname; /* char * */ 2141 uarg[a++] = (intptr_t)p->statbuf; /* struct l_stat64 * */ 2142 iarg[a++] = p->flag; /* l_int */ 2143 *n_args = 4; 2144 break; 2145 } 2146 /* linux_unlinkat */ 2147 case 301: { 2148 struct linux_unlinkat_args *p = params; 2149 iarg[a++] = p->dfd; /* l_int */ 2150 uarg[a++] = (intptr_t)p->pathname; /* const char * */ 2151 iarg[a++] = p->flag; /* l_int */ 2152 *n_args = 3; 2153 break; 2154 } 2155 /* linux_renameat */ 2156 case 302: { 2157 struct linux_renameat_args *p = params; 2158 iarg[a++] = p->olddfd; /* l_int */ 2159 uarg[a++] = (intptr_t)p->oldname; /* const char * */ 2160 iarg[a++] = p->newdfd; /* l_int */ 2161 uarg[a++] = (intptr_t)p->newname; /* const char * */ 2162 *n_args = 4; 2163 break; 2164 } 2165 /* linux_linkat */ 2166 case 303: { 2167 struct linux_linkat_args *p = params; 2168 iarg[a++] = p->olddfd; /* l_int */ 2169 uarg[a++] = (intptr_t)p->oldname; /* const char * */ 2170 iarg[a++] = p->newdfd; /* l_int */ 2171 uarg[a++] = (intptr_t)p->newname; /* const char * */ 2172 iarg[a++] = p->flag; /* l_int */ 2173 *n_args = 5; 2174 break; 2175 } 2176 /* linux_symlinkat */ 2177 case 304: { 2178 struct linux_symlinkat_args *p = params; 2179 uarg[a++] = (intptr_t)p->oldname; /* const char * */ 2180 iarg[a++] = p->newdfd; /* l_int */ 2181 uarg[a++] = (intptr_t)p->newname; /* const char * */ 2182 *n_args = 3; 2183 break; 2184 } 2185 /* linux_readlinkat */ 2186 case 305: { 2187 struct linux_readlinkat_args *p = params; 2188 iarg[a++] = p->dfd; /* l_int */ 2189 uarg[a++] = (intptr_t)p->path; /* const char * */ 2190 uarg[a++] = (intptr_t)p->buf; /* char * */ 2191 iarg[a++] = p->bufsiz; /* l_int */ 2192 *n_args = 4; 2193 break; 2194 } 2195 /* linux_fchmodat */ 2196 case 306: { 2197 struct linux_fchmodat_args *p = params; 2198 iarg[a++] = p->dfd; /* l_int */ 2199 uarg[a++] = (intptr_t)p->filename; /* const char * */ 2200 iarg[a++] = p->mode; /* l_mode_t */ 2201 *n_args = 3; 2202 break; 2203 } 2204 /* linux_faccessat */ 2205 case 307: { 2206 struct linux_faccessat_args *p = params; 2207 iarg[a++] = p->dfd; /* l_int */ 2208 uarg[a++] = (intptr_t)p->filename; /* const char * */ 2209 iarg[a++] = p->amode; /* l_int */ 2210 *n_args = 3; 2211 break; 2212 } 2213 /* linux_pselect6 */ 2214 case 308: { 2215 struct linux_pselect6_args *p = params; 2216 iarg[a++] = p->nfds; /* l_int */ 2217 uarg[a++] = (intptr_t)p->readfds; /* l_fd_set * */ 2218 uarg[a++] = (intptr_t)p->writefds; /* l_fd_set * */ 2219 uarg[a++] = (intptr_t)p->exceptfds; /* l_fd_set * */ 2220 uarg[a++] = (intptr_t)p->tsp; /* struct l_timespec * */ 2221 uarg[a++] = (intptr_t)p->sig; /* l_uintptr_t * */ 2222 *n_args = 6; 2223 break; 2224 } 2225 /* linux_ppoll */ 2226 case 309: { 2227 struct linux_ppoll_args *p = params; 2228 uarg[a++] = (intptr_t)p->fds; /* struct pollfd * */ 2229 uarg[a++] = p->nfds; /* uint32_t */ 2230 uarg[a++] = (intptr_t)p->tsp; /* struct l_timespec * */ 2231 uarg[a++] = (intptr_t)p->sset; /* l_sigset_t * */ 2232 iarg[a++] = p->ssize; /* l_size_t */ 2233 *n_args = 5; 2234 break; 2235 } 2236 /* linux_unshare */ 2237 case 310: { 2238 *n_args = 0; 2239 break; 2240 } 2241 /* linux_set_robust_list */ 2242 case 311: { 2243 struct linux_set_robust_list_args *p = params; 2244 uarg[a++] = (intptr_t)p->head; /* struct linux_robust_list_head * */ 2245 iarg[a++] = p->len; /* l_size_t */ 2246 *n_args = 2; 2247 break; 2248 } 2249 /* linux_get_robust_list */ 2250 case 312: { 2251 struct linux_get_robust_list_args *p = params; 2252 iarg[a++] = p->pid; /* l_int */ 2253 uarg[a++] = (intptr_t)p->head; /* struct linux_robust_list_head ** */ 2254 uarg[a++] = (intptr_t)p->len; /* l_size_t * */ 2255 *n_args = 3; 2256 break; 2257 } 2258 /* linux_splice */ 2259 case 313: { 2260 struct linux_splice_args *p = params; 2261 iarg[a++] = p->fd_in; /* int */ 2262 uarg[a++] = (intptr_t)p->off_in; /* l_loff_t * */ 2263 iarg[a++] = p->fd_out; /* int */ 2264 uarg[a++] = (intptr_t)p->off_out; /* l_loff_t * */ 2265 iarg[a++] = p->len; /* l_size_t */ 2266 iarg[a++] = p->flags; /* l_uint */ 2267 *n_args = 6; 2268 break; 2269 } 2270 /* linux_sync_file_range */ 2271 case 314: { 2272 struct linux_sync_file_range_args *p = params; 2273 iarg[a++] = p->fd; /* l_int */ 2274 iarg[a++] = p->offset; /* l_loff_t */ 2275 iarg[a++] = p->nbytes; /* l_loff_t */ 2276 uarg[a++] = p->flags; /* unsigned int */ 2277 *n_args = 4; 2278 break; 2279 } 2280 /* linux_tee */ 2281 case 315: { 2282 *n_args = 0; 2283 break; 2284 } 2285 /* linux_vmsplice */ 2286 case 316: { 2287 *n_args = 0; 2288 break; 2289 } 2290 /* linux_move_pages */ 2291 case 317: { 2292 *n_args = 0; 2293 break; 2294 } 2295 /* linux_getcpu */ 2296 case 318: { 2297 struct linux_getcpu_args *p = params; 2298 uarg[a++] = (intptr_t)p->cpu; /* l_uint * */ 2299 uarg[a++] = (intptr_t)p->node; /* l_uint * */ 2300 uarg[a++] = (intptr_t)p->cache; /* void * */ 2301 *n_args = 3; 2302 break; 2303 } 2304 /* linux_epoll_pwait */ 2305 case 319: { 2306 struct linux_epoll_pwait_args *p = params; 2307 iarg[a++] = p->epfd; /* l_int */ 2308 uarg[a++] = (intptr_t)p->events; /* struct epoll_event * */ 2309 iarg[a++] = p->maxevents; /* l_int */ 2310 iarg[a++] = p->timeout; /* l_int */ 2311 uarg[a++] = (intptr_t)p->mask; /* l_sigset_t * */ 2312 iarg[a++] = p->sigsetsize; /* l_size_t */ 2313 *n_args = 6; 2314 break; 2315 } 2316 /* linux_utimensat */ 2317 case 320: { 2318 struct linux_utimensat_args *p = params; 2319 iarg[a++] = p->dfd; /* l_int */ 2320 uarg[a++] = (intptr_t)p->pathname; /* const char * */ 2321 uarg[a++] = (intptr_t)p->times; /* const struct l_timespec * */ 2322 iarg[a++] = p->flags; /* l_int */ 2323 *n_args = 4; 2324 break; 2325 } 2326 /* linux_signalfd */ 2327 case 321: { 2328 *n_args = 0; 2329 break; 2330 } 2331 /* linux_timerfd_create */ 2332 case 322: { 2333 struct linux_timerfd_create_args *p = params; 2334 iarg[a++] = p->clockid; /* l_int */ 2335 iarg[a++] = p->flags; /* l_int */ 2336 *n_args = 2; 2337 break; 2338 } 2339 /* linux_eventfd */ 2340 case 323: { 2341 struct linux_eventfd_args *p = params; 2342 iarg[a++] = p->initval; /* l_uint */ 2343 *n_args = 1; 2344 break; 2345 } 2346 /* linux_fallocate */ 2347 case 324: { 2348 struct linux_fallocate_args *p = params; 2349 iarg[a++] = p->fd; /* l_int */ 2350 iarg[a++] = p->mode; /* l_int */ 2351 iarg[a++] = p->offset; /* l_loff_t */ 2352 iarg[a++] = p->len; /* l_loff_t */ 2353 *n_args = 4; 2354 break; 2355 } 2356 /* linux_timerfd_settime */ 2357 case 325: { 2358 struct linux_timerfd_settime_args *p = params; 2359 iarg[a++] = p->fd; /* l_int */ 2360 iarg[a++] = p->flags; /* l_int */ 2361 uarg[a++] = (intptr_t)p->new_value; /* const struct l_itimerspec * */ 2362 uarg[a++] = (intptr_t)p->old_value; /* struct l_itimerspec * */ 2363 *n_args = 4; 2364 break; 2365 } 2366 /* linux_timerfd_gettime */ 2367 case 326: { 2368 struct linux_timerfd_gettime_args *p = params; 2369 iarg[a++] = p->fd; /* l_int */ 2370 uarg[a++] = (intptr_t)p->old_value; /* struct l_itimerspec * */ 2371 *n_args = 2; 2372 break; 2373 } 2374 /* linux_signalfd4 */ 2375 case 327: { 2376 *n_args = 0; 2377 break; 2378 } 2379 /* linux_eventfd2 */ 2380 case 328: { 2381 struct linux_eventfd2_args *p = params; 2382 iarg[a++] = p->initval; /* l_uint */ 2383 iarg[a++] = p->flags; /* l_int */ 2384 *n_args = 2; 2385 break; 2386 } 2387 /* linux_epoll_create1 */ 2388 case 329: { 2389 struct linux_epoll_create1_args *p = params; 2390 iarg[a++] = p->flags; /* l_int */ 2391 *n_args = 1; 2392 break; 2393 } 2394 /* linux_dup3 */ 2395 case 330: { 2396 struct linux_dup3_args *p = params; 2397 iarg[a++] = p->oldfd; /* l_int */ 2398 iarg[a++] = p->newfd; /* l_int */ 2399 iarg[a++] = p->flags; /* l_int */ 2400 *n_args = 3; 2401 break; 2402 } 2403 /* linux_pipe2 */ 2404 case 331: { 2405 struct linux_pipe2_args *p = params; 2406 uarg[a++] = (intptr_t)p->pipefds; /* l_int * */ 2407 iarg[a++] = p->flags; /* l_int */ 2408 *n_args = 2; 2409 break; 2410 } 2411 /* linux_inotify_init1 */ 2412 case 332: { 2413 *n_args = 0; 2414 break; 2415 } 2416 /* linux_preadv */ 2417 case 333: { 2418 struct linux_preadv_args *p = params; 2419 iarg[a++] = p->fd; /* l_ulong */ 2420 uarg[a++] = (intptr_t)p->vec; /* struct iovec * */ 2421 iarg[a++] = p->vlen; /* l_ulong */ 2422 iarg[a++] = p->pos_l; /* l_ulong */ 2423 iarg[a++] = p->pos_h; /* l_ulong */ 2424 *n_args = 5; 2425 break; 2426 } 2427 /* linux_pwritev */ 2428 case 334: { 2429 struct linux_pwritev_args *p = params; 2430 iarg[a++] = p->fd; /* l_ulong */ 2431 uarg[a++] = (intptr_t)p->vec; /* struct iovec * */ 2432 iarg[a++] = p->vlen; /* l_ulong */ 2433 iarg[a++] = p->pos_l; /* l_ulong */ 2434 iarg[a++] = p->pos_h; /* l_ulong */ 2435 *n_args = 5; 2436 break; 2437 } 2438 /* linux_rt_tgsigqueueinfo */ 2439 case 335: { 2440 struct linux_rt_tgsigqueueinfo_args *p = params; 2441 iarg[a++] = p->tgid; /* l_pid_t */ 2442 iarg[a++] = p->tid; /* l_pid_t */ 2443 iarg[a++] = p->sig; /* l_int */ 2444 uarg[a++] = (intptr_t)p->uinfo; /* l_siginfo_t * */ 2445 *n_args = 4; 2446 break; 2447 } 2448 /* linux_perf_event_open */ 2449 case 336: { 2450 *n_args = 0; 2451 break; 2452 } 2453 /* linux_recvmmsg */ 2454 case 337: { 2455 struct linux_recvmmsg_args *p = params; 2456 iarg[a++] = p->s; /* l_int */ 2457 uarg[a++] = (intptr_t)p->msg; /* struct l_mmsghdr * */ 2458 iarg[a++] = p->vlen; /* l_uint */ 2459 iarg[a++] = p->flags; /* l_uint */ 2460 uarg[a++] = (intptr_t)p->timeout; /* struct l_timespec * */ 2461 *n_args = 5; 2462 break; 2463 } 2464 /* linux_fanotify_init */ 2465 case 338: { 2466 *n_args = 0; 2467 break; 2468 } 2469 /* linux_fanotify_mark */ 2470 case 339: { 2471 *n_args = 0; 2472 break; 2473 } 2474 /* linux_prlimit64 */ 2475 case 340: { 2476 struct linux_prlimit64_args *p = params; 2477 iarg[a++] = p->pid; /* l_pid_t */ 2478 iarg[a++] = p->resource; /* l_uint */ 2479 uarg[a++] = (intptr_t)p->new; /* struct rlimit * */ 2480 uarg[a++] = (intptr_t)p->old; /* struct rlimit * */ 2481 *n_args = 4; 2482 break; 2483 } 2484 /* linux_name_to_handle_at */ 2485 case 341: { 2486 struct linux_name_to_handle_at_args *p = params; 2487 iarg[a++] = p->dirfd; /* l_int */ 2488 uarg[a++] = (intptr_t)p->name; /* const char * */ 2489 uarg[a++] = (intptr_t)p->handle; /* struct l_file_handle * */ 2490 uarg[a++] = (intptr_t)p->mnt_id; /* l_int * */ 2491 iarg[a++] = p->flags; /* l_int */ 2492 *n_args = 5; 2493 break; 2494 } 2495 /* linux_open_by_handle_at */ 2496 case 342: { 2497 struct linux_open_by_handle_at_args *p = params; 2498 iarg[a++] = p->mountdirfd; /* l_int */ 2499 uarg[a++] = (intptr_t)p->handle; /* struct l_file_handle * */ 2500 iarg[a++] = p->flags; /* l_int */ 2501 *n_args = 3; 2502 break; 2503 } 2504 /* linux_clock_adjtime */ 2505 case 343: { 2506 *n_args = 0; 2507 break; 2508 } 2509 /* linux_syncfs */ 2510 case 344: { 2511 struct linux_syncfs_args *p = params; 2512 iarg[a++] = p->fd; /* l_int */ 2513 *n_args = 1; 2514 break; 2515 } 2516 /* linux_sendmmsg */ 2517 case 345: { 2518 struct linux_sendmmsg_args *p = params; 2519 iarg[a++] = p->s; /* l_int */ 2520 uarg[a++] = (intptr_t)p->msg; /* struct l_mmsghdr * */ 2521 iarg[a++] = p->vlen; /* l_uint */ 2522 iarg[a++] = p->flags; /* l_uint */ 2523 *n_args = 4; 2524 break; 2525 } 2526 /* linux_setns */ 2527 case 346: { 2528 *n_args = 0; 2529 break; 2530 } 2531 /* linux_process_vm_readv */ 2532 case 347: { 2533 struct linux_process_vm_readv_args *p = params; 2534 iarg[a++] = p->pid; /* l_pid_t */ 2535 uarg[a++] = (intptr_t)p->lvec; /* const struct iovec * */ 2536 iarg[a++] = p->liovcnt; /* l_ulong */ 2537 uarg[a++] = (intptr_t)p->rvec; /* const struct iovec * */ 2538 iarg[a++] = p->riovcnt; /* l_ulong */ 2539 iarg[a++] = p->flags; /* l_ulong */ 2540 *n_args = 6; 2541 break; 2542 } 2543 /* linux_process_vm_writev */ 2544 case 348: { 2545 struct linux_process_vm_writev_args *p = params; 2546 iarg[a++] = p->pid; /* l_pid_t */ 2547 uarg[a++] = (intptr_t)p->lvec; /* const struct iovec * */ 2548 iarg[a++] = p->liovcnt; /* l_ulong */ 2549 uarg[a++] = (intptr_t)p->rvec; /* const struct iovec * */ 2550 iarg[a++] = p->riovcnt; /* l_ulong */ 2551 iarg[a++] = p->flags; /* l_ulong */ 2552 *n_args = 6; 2553 break; 2554 } 2555 /* linux_kcmp */ 2556 case 349: { 2557 struct linux_kcmp_args *p = params; 2558 iarg[a++] = p->pid1; /* l_pid_t */ 2559 iarg[a++] = p->pid2; /* l_pid_t */ 2560 iarg[a++] = p->type; /* l_int */ 2561 iarg[a++] = p->idx1; /* l_ulong */ 2562 iarg[a++] = p->idx; /* l_ulong */ 2563 *n_args = 5; 2564 break; 2565 } 2566 /* linux_finit_module */ 2567 case 350: { 2568 struct linux_finit_module_args *p = params; 2569 iarg[a++] = p->fd; /* l_int */ 2570 uarg[a++] = (intptr_t)p->uargs; /* const char * */ 2571 iarg[a++] = p->flags; /* l_int */ 2572 *n_args = 3; 2573 break; 2574 } 2575 /* linux_sched_setattr */ 2576 case 351: { 2577 struct linux_sched_setattr_args *p = params; 2578 iarg[a++] = p->pid; /* l_pid_t */ 2579 uarg[a++] = (intptr_t)p->attr; /* void * */ 2580 iarg[a++] = p->flags; /* l_uint */ 2581 *n_args = 3; 2582 break; 2583 } 2584 /* linux_sched_getattr */ 2585 case 352: { 2586 struct linux_sched_getattr_args *p = params; 2587 iarg[a++] = p->pid; /* l_pid_t */ 2588 uarg[a++] = (intptr_t)p->attr; /* void * */ 2589 iarg[a++] = p->size; /* l_uint */ 2590 iarg[a++] = p->flags; /* l_uint */ 2591 *n_args = 4; 2592 break; 2593 } 2594 /* linux_renameat2 */ 2595 case 353: { 2596 struct linux_renameat2_args *p = params; 2597 iarg[a++] = p->olddfd; /* l_int */ 2598 uarg[a++] = (intptr_t)p->oldname; /* const char * */ 2599 iarg[a++] = p->newdfd; /* l_int */ 2600 uarg[a++] = (intptr_t)p->newname; /* const char * */ 2601 uarg[a++] = p->flags; /* unsigned int */ 2602 *n_args = 5; 2603 break; 2604 } 2605 /* linux_seccomp */ 2606 case 354: { 2607 struct linux_seccomp_args *p = params; 2608 iarg[a++] = p->op; /* l_uint */ 2609 iarg[a++] = p->flags; /* l_uint */ 2610 uarg[a++] = (intptr_t)p->uargs; /* const char * */ 2611 *n_args = 3; 2612 break; 2613 } 2614 /* linux_getrandom */ 2615 case 355: { 2616 struct linux_getrandom_args *p = params; 2617 uarg[a++] = (intptr_t)p->buf; /* char * */ 2618 iarg[a++] = p->count; /* l_size_t */ 2619 iarg[a++] = p->flags; /* l_uint */ 2620 *n_args = 3; 2621 break; 2622 } 2623 /* linux_memfd_create */ 2624 case 356: { 2625 struct linux_memfd_create_args *p = params; 2626 uarg[a++] = (intptr_t)p->uname_ptr; /* const char * */ 2627 iarg[a++] = p->flags; /* l_uint */ 2628 *n_args = 2; 2629 break; 2630 } 2631 /* linux_bpf */ 2632 case 357: { 2633 struct linux_bpf_args *p = params; 2634 iarg[a++] = p->cmd; /* l_int */ 2635 uarg[a++] = (intptr_t)p->attr; /* void * */ 2636 iarg[a++] = p->size; /* l_uint */ 2637 *n_args = 3; 2638 break; 2639 } 2640 /* linux_execveat */ 2641 case 358: { 2642 struct linux_execveat_args *p = params; 2643 iarg[a++] = p->dfd; /* l_int */ 2644 uarg[a++] = (intptr_t)p->filename; /* const char * */ 2645 uarg[a++] = (intptr_t)p->argv; /* const char ** */ 2646 uarg[a++] = (intptr_t)p->envp; /* const char ** */ 2647 iarg[a++] = p->flags; /* l_int */ 2648 *n_args = 5; 2649 break; 2650 } 2651 /* linux_socket */ 2652 case 359: { 2653 struct linux_socket_args *p = params; 2654 iarg[a++] = p->domain; /* l_int */ 2655 iarg[a++] = p->type; /* l_int */ 2656 iarg[a++] = p->protocol; /* l_int */ 2657 *n_args = 3; 2658 break; 2659 } 2660 /* linux_socketpair */ 2661 case 360: { 2662 struct linux_socketpair_args *p = params; 2663 iarg[a++] = p->domain; /* l_int */ 2664 iarg[a++] = p->type; /* l_int */ 2665 iarg[a++] = p->protocol; /* l_int */ 2666 uarg[a++] = (intptr_t)p->rsv; /* l_uintptr_t */ 2667 *n_args = 4; 2668 break; 2669 } 2670 /* linux_bind */ 2671 case 361: { 2672 struct linux_bind_args *p = params; 2673 iarg[a++] = p->s; /* l_int */ 2674 uarg[a++] = (intptr_t)p->name; /* l_uintptr_t */ 2675 iarg[a++] = p->namelen; /* l_int */ 2676 *n_args = 3; 2677 break; 2678 } 2679 /* linux_connect */ 2680 case 362: { 2681 struct linux_connect_args *p = params; 2682 iarg[a++] = p->s; /* l_int */ 2683 uarg[a++] = (intptr_t)p->name; /* l_uintptr_t */ 2684 iarg[a++] = p->namelen; /* l_int */ 2685 *n_args = 3; 2686 break; 2687 } 2688 /* linux_listen */ 2689 case 363: { 2690 struct linux_listen_args *p = params; 2691 iarg[a++] = p->s; /* l_int */ 2692 iarg[a++] = p->backlog; /* l_int */ 2693 *n_args = 2; 2694 break; 2695 } 2696 /* linux_accept4 */ 2697 case 364: { 2698 struct linux_accept4_args *p = params; 2699 iarg[a++] = p->s; /* l_int */ 2700 uarg[a++] = (intptr_t)p->addr; /* l_uintptr_t */ 2701 uarg[a++] = (intptr_t)p->namelen; /* l_uintptr_t */ 2702 iarg[a++] = p->flags; /* l_int */ 2703 *n_args = 4; 2704 break; 2705 } 2706 /* linux_getsockopt */ 2707 case 365: { 2708 struct linux_getsockopt_args *p = params; 2709 iarg[a++] = p->s; /* l_int */ 2710 iarg[a++] = p->level; /* l_int */ 2711 iarg[a++] = p->optname; /* l_int */ 2712 uarg[a++] = (intptr_t)p->optval; /* l_uintptr_t */ 2713 uarg[a++] = (intptr_t)p->optlen; /* l_uintptr_t */ 2714 *n_args = 5; 2715 break; 2716 } 2717 /* linux_setsockopt */ 2718 case 366: { 2719 struct linux_setsockopt_args *p = params; 2720 iarg[a++] = p->s; /* l_int */ 2721 iarg[a++] = p->level; /* l_int */ 2722 iarg[a++] = p->optname; /* l_int */ 2723 uarg[a++] = (intptr_t)p->optval; /* l_uintptr_t */ 2724 iarg[a++] = p->optlen; /* l_int */ 2725 *n_args = 5; 2726 break; 2727 } 2728 /* linux_getsockname */ 2729 case 367: { 2730 struct linux_getsockname_args *p = params; 2731 iarg[a++] = p->s; /* l_int */ 2732 uarg[a++] = (intptr_t)p->addr; /* l_uintptr_t */ 2733 uarg[a++] = (intptr_t)p->namelen; /* l_uintptr_t */ 2734 *n_args = 3; 2735 break; 2736 } 2737 /* linux_getpeername */ 2738 case 368: { 2739 struct linux_getpeername_args *p = params; 2740 iarg[a++] = p->s; /* l_int */ 2741 uarg[a++] = (intptr_t)p->addr; /* l_uintptr_t */ 2742 uarg[a++] = (intptr_t)p->namelen; /* l_uintptr_t */ 2743 *n_args = 3; 2744 break; 2745 } 2746 /* linux_sendto */ 2747 case 369: { 2748 struct linux_sendto_args *p = params; 2749 iarg[a++] = p->s; /* l_int */ 2750 uarg[a++] = (intptr_t)p->msg; /* l_uintptr_t */ 2751 iarg[a++] = p->len; /* l_int */ 2752 iarg[a++] = p->flags; /* l_int */ 2753 uarg[a++] = (intptr_t)p->to; /* l_uintptr_t */ 2754 iarg[a++] = p->tolen; /* l_int */ 2755 *n_args = 6; 2756 break; 2757 } 2758 /* linux_sendmsg */ 2759 case 370: { 2760 struct linux_sendmsg_args *p = params; 2761 iarg[a++] = p->s; /* l_int */ 2762 uarg[a++] = (intptr_t)p->msg; /* l_uintptr_t */ 2763 iarg[a++] = p->flags; /* l_int */ 2764 *n_args = 3; 2765 break; 2766 } 2767 /* linux_recvfrom */ 2768 case 371: { 2769 struct linux_recvfrom_args *p = params; 2770 iarg[a++] = p->s; /* l_int */ 2771 uarg[a++] = (intptr_t)p->buf; /* l_uintptr_t */ 2772 iarg[a++] = p->len; /* l_size_t */ 2773 iarg[a++] = p->flags; /* l_int */ 2774 uarg[a++] = (intptr_t)p->from; /* l_uintptr_t */ 2775 uarg[a++] = (intptr_t)p->fromlen; /* l_uintptr_t */ 2776 *n_args = 6; 2777 break; 2778 } 2779 /* linux_recvmsg */ 2780 case 372: { 2781 struct linux_recvmsg_args *p = params; 2782 iarg[a++] = p->s; /* l_int */ 2783 uarg[a++] = (intptr_t)p->msg; /* l_uintptr_t */ 2784 iarg[a++] = p->flags; /* l_int */ 2785 *n_args = 3; 2786 break; 2787 } 2788 /* linux_shutdown */ 2789 case 373: { 2790 struct linux_shutdown_args *p = params; 2791 iarg[a++] = p->s; /* l_int */ 2792 iarg[a++] = p->how; /* l_int */ 2793 *n_args = 2; 2794 break; 2795 } 2796 /* linux_userfaultfd */ 2797 case 374: { 2798 struct linux_userfaultfd_args *p = params; 2799 iarg[a++] = p->flags; /* l_int */ 2800 *n_args = 1; 2801 break; 2802 } 2803 /* linux_membarrier */ 2804 case 375: { 2805 struct linux_membarrier_args *p = params; 2806 iarg[a++] = p->cmd; /* l_int */ 2807 iarg[a++] = p->flags; /* l_int */ 2808 *n_args = 2; 2809 break; 2810 } 2811 /* linux_mlock2 */ 2812 case 376: { 2813 struct linux_mlock2_args *p = params; 2814 iarg[a++] = p->start; /* l_ulong */ 2815 iarg[a++] = p->len; /* l_size_t */ 2816 iarg[a++] = p->flags; /* l_int */ 2817 *n_args = 3; 2818 break; 2819 } 2820 /* linux_copy_file_range */ 2821 case 377: { 2822 struct linux_copy_file_range_args *p = params; 2823 iarg[a++] = p->fd_in; /* l_int */ 2824 uarg[a++] = (intptr_t)p->off_in; /* l_loff_t * */ 2825 iarg[a++] = p->fd_out; /* l_int */ 2826 uarg[a++] = (intptr_t)p->off_out; /* l_loff_t * */ 2827 iarg[a++] = p->len; /* l_size_t */ 2828 iarg[a++] = p->flags; /* l_uint */ 2829 *n_args = 6; 2830 break; 2831 } 2832 /* linux_preadv2 */ 2833 case 378: { 2834 struct linux_preadv2_args *p = params; 2835 iarg[a++] = p->fd; /* l_ulong */ 2836 uarg[a++] = (intptr_t)p->vec; /* const struct iovec * */ 2837 iarg[a++] = p->vlen; /* l_ulong */ 2838 iarg[a++] = p->pos_l; /* l_ulong */ 2839 iarg[a++] = p->pos_h; /* l_ulong */ 2840 iarg[a++] = p->flags; /* l_int */ 2841 *n_args = 6; 2842 break; 2843 } 2844 /* linux_pwritev2 */ 2845 case 379: { 2846 struct linux_pwritev2_args *p = params; 2847 iarg[a++] = p->fd; /* l_ulong */ 2848 uarg[a++] = (intptr_t)p->vec; /* const struct iovec * */ 2849 iarg[a++] = p->vlen; /* l_ulong */ 2850 iarg[a++] = p->pos_l; /* l_ulong */ 2851 iarg[a++] = p->pos_h; /* l_ulong */ 2852 iarg[a++] = p->flags; /* l_int */ 2853 *n_args = 6; 2854 break; 2855 } 2856 /* linux_pkey_mprotect */ 2857 case 380: { 2858 struct linux_pkey_mprotect_args *p = params; 2859 iarg[a++] = p->start; /* l_ulong */ 2860 iarg[a++] = p->len; /* l_size_t */ 2861 iarg[a++] = p->prot; /* l_ulong */ 2862 iarg[a++] = p->pkey; /* l_int */ 2863 *n_args = 4; 2864 break; 2865 } 2866 /* linux_pkey_alloc */ 2867 case 381: { 2868 struct linux_pkey_alloc_args *p = params; 2869 iarg[a++] = p->flags; /* l_ulong */ 2870 iarg[a++] = p->init_val; /* l_ulong */ 2871 *n_args = 2; 2872 break; 2873 } 2874 /* linux_pkey_free */ 2875 case 382: { 2876 struct linux_pkey_free_args *p = params; 2877 iarg[a++] = p->pkey; /* l_int */ 2878 *n_args = 1; 2879 break; 2880 } 2881 /* linux_statx */ 2882 case 383: { 2883 struct linux_statx_args *p = params; 2884 iarg[a++] = p->dirfd; /* l_int */ 2885 uarg[a++] = (intptr_t)p->pathname; /* const char * */ 2886 iarg[a++] = p->flags; /* l_uint */ 2887 iarg[a++] = p->mask; /* l_uint */ 2888 uarg[a++] = (intptr_t)p->statxbuf; /* void * */ 2889 *n_args = 5; 2890 break; 2891 } 2892 /* linux_arch_prctl */ 2893 case 384: { 2894 struct linux_arch_prctl_args *p = params; 2895 iarg[a++] = p->option; /* l_int */ 2896 iarg[a++] = p->arg2; /* l_ulong */ 2897 *n_args = 2; 2898 break; 2899 } 2900 /* linux_io_pgetevents */ 2901 case 385: { 2902 *n_args = 0; 2903 break; 2904 } 2905 /* linux_rseq */ 2906 case 386: { 2907 struct linux_rseq_args *p = params; 2908 uarg[a++] = (intptr_t)p->rseq; /* struct linux_rseq * */ 2909 uarg[a++] = p->rseq_len; /* uint32_t */ 2910 iarg[a++] = p->flags; /* l_int */ 2911 uarg[a++] = p->sig; /* uint32_t */ 2912 *n_args = 4; 2913 break; 2914 } 2915 /* linux_semget */ 2916 case 393: { 2917 struct linux_semget_args *p = params; 2918 iarg[a++] = p->key; /* l_key_t */ 2919 iarg[a++] = p->nsems; /* l_int */ 2920 iarg[a++] = p->semflg; /* l_int */ 2921 *n_args = 3; 2922 break; 2923 } 2924 /* linux_semctl */ 2925 case 394: { 2926 struct linux_semctl_args *p = params; 2927 iarg[a++] = p->semid; /* l_int */ 2928 iarg[a++] = p->semnum; /* l_int */ 2929 iarg[a++] = p->cmd; /* l_int */ 2930 uarg[a++] = p->arg.buf; /* union l_semun */ 2931 *n_args = 4; 2932 break; 2933 } 2934 /* linux_shmget */ 2935 case 395: { 2936 struct linux_shmget_args *p = params; 2937 iarg[a++] = p->key; /* l_key_t */ 2938 iarg[a++] = p->size; /* l_size_t */ 2939 iarg[a++] = p->shmflg; /* l_int */ 2940 *n_args = 3; 2941 break; 2942 } 2943 /* linux_shmctl */ 2944 case 396: { 2945 struct linux_shmctl_args *p = params; 2946 iarg[a++] = p->shmid; /* l_int */ 2947 iarg[a++] = p->cmd; /* l_int */ 2948 uarg[a++] = (intptr_t)p->buf; /* struct l_shmid_ds * */ 2949 *n_args = 3; 2950 break; 2951 } 2952 /* linux_shmat */ 2953 case 397: { 2954 struct linux_shmat_args *p = params; 2955 iarg[a++] = p->shmid; /* l_int */ 2956 uarg[a++] = (intptr_t)p->shmaddr; /* char * */ 2957 iarg[a++] = p->shmflg; /* l_int */ 2958 *n_args = 3; 2959 break; 2960 } 2961 /* linux_shmdt */ 2962 case 398: { 2963 struct linux_shmdt_args *p = params; 2964 uarg[a++] = (intptr_t)p->shmaddr; /* char * */ 2965 *n_args = 1; 2966 break; 2967 } 2968 /* linux_msgget */ 2969 case 399: { 2970 struct linux_msgget_args *p = params; 2971 iarg[a++] = p->key; /* l_key_t */ 2972 iarg[a++] = p->msgflg; /* l_int */ 2973 *n_args = 2; 2974 break; 2975 } 2976 /* linux_msgsnd */ 2977 case 400: { 2978 struct linux_msgsnd_args *p = params; 2979 iarg[a++] = p->msqid; /* l_int */ 2980 uarg[a++] = (intptr_t)p->msgp; /* struct l_msgbuf * */ 2981 iarg[a++] = p->msgsz; /* l_size_t */ 2982 iarg[a++] = p->msgflg; /* l_int */ 2983 *n_args = 4; 2984 break; 2985 } 2986 /* linux_msgrcv */ 2987 case 401: { 2988 struct linux_msgrcv_args *p = params; 2989 iarg[a++] = p->msqid; /* l_int */ 2990 uarg[a++] = (intptr_t)p->msgp; /* struct l_msgbuf * */ 2991 iarg[a++] = p->msgsz; /* l_size_t */ 2992 iarg[a++] = p->msgtyp; /* l_long */ 2993 iarg[a++] = p->msgflg; /* l_int */ 2994 *n_args = 5; 2995 break; 2996 } 2997 /* linux_msgctl */ 2998 case 402: { 2999 struct linux_msgctl_args *p = params; 3000 iarg[a++] = p->msqid; /* l_int */ 3001 iarg[a++] = p->cmd; /* l_int */ 3002 uarg[a++] = (intptr_t)p->buf; /* struct l_msqid_ds * */ 3003 *n_args = 3; 3004 break; 3005 } 3006 /* linux_clock_gettime64 */ 3007 case 403: { 3008 struct linux_clock_gettime64_args *p = params; 3009 iarg[a++] = p->which; /* clockid_t */ 3010 uarg[a++] = (intptr_t)p->tp; /* struct l_timespec64 * */ 3011 *n_args = 2; 3012 break; 3013 } 3014 /* linux_clock_settime64 */ 3015 case 404: { 3016 struct linux_clock_settime64_args *p = params; 3017 iarg[a++] = p->which; /* clockid_t */ 3018 uarg[a++] = (intptr_t)p->tp; /* struct l_timespec64 * */ 3019 *n_args = 2; 3020 break; 3021 } 3022 /* linux_clock_adjtime64 */ 3023 case 405: { 3024 *n_args = 0; 3025 break; 3026 } 3027 /* linux_clock_getres_time64 */ 3028 case 406: { 3029 struct linux_clock_getres_time64_args *p = params; 3030 iarg[a++] = p->which; /* clockid_t */ 3031 uarg[a++] = (intptr_t)p->tp; /* struct l_timespec64 * */ 3032 *n_args = 2; 3033 break; 3034 } 3035 /* linux_clock_nanosleep_time64 */ 3036 case 407: { 3037 struct linux_clock_nanosleep_time64_args *p = params; 3038 iarg[a++] = p->which; /* clockid_t */ 3039 iarg[a++] = p->flags; /* l_int */ 3040 uarg[a++] = (intptr_t)p->rqtp; /* struct l_timespec64 * */ 3041 uarg[a++] = (intptr_t)p->rmtp; /* struct l_timespec64 * */ 3042 *n_args = 4; 3043 break; 3044 } 3045 /* linux_timer_gettime64 */ 3046 case 408: { 3047 struct linux_timer_gettime64_args *p = params; 3048 iarg[a++] = p->timerid; /* l_timer_t */ 3049 uarg[a++] = (intptr_t)p->setting; /* struct l_itimerspec64 * */ 3050 *n_args = 2; 3051 break; 3052 } 3053 /* linux_timer_settime64 */ 3054 case 409: { 3055 struct linux_timer_settime64_args *p = params; 3056 iarg[a++] = p->timerid; /* l_timer_t */ 3057 iarg[a++] = p->flags; /* l_int */ 3058 uarg[a++] = (intptr_t)p->new; /* const struct l_itimerspec64 * */ 3059 uarg[a++] = (intptr_t)p->old; /* struct l_itimerspec64 * */ 3060 *n_args = 4; 3061 break; 3062 } 3063 /* linux_timerfd_gettime64 */ 3064 case 410: { 3065 struct linux_timerfd_gettime64_args *p = params; 3066 iarg[a++] = p->fd; /* l_int */ 3067 uarg[a++] = (intptr_t)p->old_value; /* struct l_itimerspec64 * */ 3068 *n_args = 2; 3069 break; 3070 } 3071 /* linux_timerfd_settime64 */ 3072 case 411: { 3073 struct linux_timerfd_settime64_args *p = params; 3074 iarg[a++] = p->fd; /* l_int */ 3075 iarg[a++] = p->flags; /* l_int */ 3076 uarg[a++] = (intptr_t)p->new_value; /* const struct l_itimerspec64 * */ 3077 uarg[a++] = (intptr_t)p->old_value; /* struct l_itimerspec64 * */ 3078 *n_args = 4; 3079 break; 3080 } 3081 /* linux_utimensat_time64 */ 3082 case 412: { 3083 struct linux_utimensat_time64_args *p = params; 3084 iarg[a++] = p->dfd; /* l_int */ 3085 uarg[a++] = (intptr_t)p->pathname; /* const char * */ 3086 uarg[a++] = (intptr_t)p->times64; /* const struct l_timespec64 * */ 3087 iarg[a++] = p->flags; /* l_int */ 3088 *n_args = 4; 3089 break; 3090 } 3091 /* linux_pselect6_time64 */ 3092 case 413: { 3093 struct linux_pselect6_time64_args *p = params; 3094 iarg[a++] = p->nfds; /* l_int */ 3095 uarg[a++] = (intptr_t)p->readfds; /* l_fd_set * */ 3096 uarg[a++] = (intptr_t)p->writefds; /* l_fd_set * */ 3097 uarg[a++] = (intptr_t)p->exceptfds; /* l_fd_set * */ 3098 uarg[a++] = (intptr_t)p->tsp; /* struct l_timespec64 * */ 3099 uarg[a++] = (intptr_t)p->sig; /* l_uintptr_t * */ 3100 *n_args = 6; 3101 break; 3102 } 3103 /* linux_ppoll_time64 */ 3104 case 414: { 3105 struct linux_ppoll_time64_args *p = params; 3106 uarg[a++] = (intptr_t)p->fds; /* struct pollfd * */ 3107 uarg[a++] = p->nfds; /* uint32_t */ 3108 uarg[a++] = (intptr_t)p->tsp; /* struct l_timespec64 * */ 3109 uarg[a++] = (intptr_t)p->sset; /* l_sigset_t * */ 3110 iarg[a++] = p->ssize; /* l_size_t */ 3111 *n_args = 5; 3112 break; 3113 } 3114 /* linux_io_pgetevents_time64 */ 3115 case 416: { 3116 *n_args = 0; 3117 break; 3118 } 3119 /* linux_recvmmsg_time64 */ 3120 case 417: { 3121 struct linux_recvmmsg_time64_args *p = params; 3122 iarg[a++] = p->s; /* l_int */ 3123 uarg[a++] = (intptr_t)p->msg; /* struct l_mmsghdr * */ 3124 iarg[a++] = p->vlen; /* l_uint */ 3125 iarg[a++] = p->flags; /* l_uint */ 3126 uarg[a++] = (intptr_t)p->timeout; /* struct l_timespec64 * */ 3127 *n_args = 5; 3128 break; 3129 } 3130 /* linux_mq_timedsend_time64 */ 3131 case 418: { 3132 *n_args = 0; 3133 break; 3134 } 3135 /* linux_mq_timedreceive_time64 */ 3136 case 419: { 3137 *n_args = 0; 3138 break; 3139 } 3140 /* linux_semtimedop_time64 */ 3141 case 420: { 3142 struct linux_semtimedop_time64_args *p = params; 3143 iarg[a++] = p->semid; /* l_int */ 3144 uarg[a++] = (intptr_t)p->tsops; /* struct sembuf * */ 3145 iarg[a++] = p->nsops; /* l_size_t */ 3146 uarg[a++] = (intptr_t)p->timeout; /* struct l_timespec64 * */ 3147 *n_args = 4; 3148 break; 3149 } 3150 /* linux_rt_sigtimedwait_time64 */ 3151 case 421: { 3152 struct linux_rt_sigtimedwait_time64_args *p = params; 3153 uarg[a++] = (intptr_t)p->mask; /* l_sigset_t * */ 3154 uarg[a++] = (intptr_t)p->ptr; /* l_siginfo_t * */ 3155 uarg[a++] = (intptr_t)p->timeout; /* struct l_timespec64 * */ 3156 iarg[a++] = p->sigsetsize; /* l_size_t */ 3157 *n_args = 4; 3158 break; 3159 } 3160 /* linux_sys_futex_time64 */ 3161 case 422: { 3162 struct linux_sys_futex_time64_args *p = params; 3163 uarg[a++] = (intptr_t)p->uaddr; /* uint32_t * */ 3164 iarg[a++] = p->op; /* l_int */ 3165 uarg[a++] = p->val; /* uint32_t */ 3166 uarg[a++] = (intptr_t)p->timeout; /* struct l_timespec64 * */ 3167 uarg[a++] = (intptr_t)p->uaddr2; /* uint32_t * */ 3168 uarg[a++] = p->val3; /* uint32_t */ 3169 *n_args = 6; 3170 break; 3171 } 3172 /* linux_sched_rr_get_interval_time64 */ 3173 case 423: { 3174 struct linux_sched_rr_get_interval_time64_args *p = params; 3175 iarg[a++] = p->pid; /* l_pid_t */ 3176 uarg[a++] = (intptr_t)p->interval; /* struct l_timespec64 * */ 3177 *n_args = 2; 3178 break; 3179 } 3180 /* linux_pidfd_send_signal */ 3181 case 424: { 3182 struct linux_pidfd_send_signal_args *p = params; 3183 iarg[a++] = p->pidfd; /* l_int */ 3184 iarg[a++] = p->sig; /* l_int */ 3185 uarg[a++] = (intptr_t)p->info; /* l_siginfo_t * */ 3186 iarg[a++] = p->flags; /* l_uint */ 3187 *n_args = 4; 3188 break; 3189 } 3190 /* linux_io_uring_setup */ 3191 case 425: { 3192 *n_args = 0; 3193 break; 3194 } 3195 /* linux_io_uring_enter */ 3196 case 426: { 3197 *n_args = 0; 3198 break; 3199 } 3200 /* linux_io_uring_register */ 3201 case 427: { 3202 *n_args = 0; 3203 break; 3204 } 3205 /* linux_open_tree */ 3206 case 428: { 3207 *n_args = 0; 3208 break; 3209 } 3210 /* linux_move_mount */ 3211 case 429: { 3212 *n_args = 0; 3213 break; 3214 } 3215 /* linux_fsopen */ 3216 case 430: { 3217 *n_args = 0; 3218 break; 3219 } 3220 /* linux_fsconfig */ 3221 case 431: { 3222 *n_args = 0; 3223 break; 3224 } 3225 /* linux_fsmount */ 3226 case 432: { 3227 *n_args = 0; 3228 break; 3229 } 3230 /* linux_fspick */ 3231 case 433: { 3232 *n_args = 0; 3233 break; 3234 } 3235 /* linux_pidfd_open */ 3236 case 434: { 3237 *n_args = 0; 3238 break; 3239 } 3240 /* linux_clone3 */ 3241 case 435: { 3242 struct linux_clone3_args *p = params; 3243 uarg[a++] = (intptr_t)p->uargs; /* struct l_user_clone_args * */ 3244 iarg[a++] = p->usize; /* l_size_t */ 3245 *n_args = 2; 3246 break; 3247 } 3248 /* linux_close_range */ 3249 case 436: { 3250 struct linux_close_range_args *p = params; 3251 iarg[a++] = p->first; /* l_uint */ 3252 iarg[a++] = p->last; /* l_uint */ 3253 iarg[a++] = p->flags; /* l_uint */ 3254 *n_args = 3; 3255 break; 3256 } 3257 /* linux_openat2 */ 3258 case 437: { 3259 *n_args = 0; 3260 break; 3261 } 3262 /* linux_pidfd_getfd */ 3263 case 438: { 3264 *n_args = 0; 3265 break; 3266 } 3267 /* linux_faccessat2 */ 3268 case 439: { 3269 struct linux_faccessat2_args *p = params; 3270 iarg[a++] = p->dfd; /* l_int */ 3271 uarg[a++] = (intptr_t)p->filename; /* const char * */ 3272 iarg[a++] = p->amode; /* l_int */ 3273 iarg[a++] = p->flags; /* l_int */ 3274 *n_args = 4; 3275 break; 3276 } 3277 /* linux_process_madvise */ 3278 case 440: { 3279 *n_args = 0; 3280 break; 3281 } 3282 /* linux_epoll_pwait2_64 */ 3283 case 441: { 3284 struct linux_epoll_pwait2_64_args *p = params; 3285 iarg[a++] = p->epfd; /* l_int */ 3286 uarg[a++] = (intptr_t)p->events; /* struct epoll_event * */ 3287 iarg[a++] = p->maxevents; /* l_int */ 3288 uarg[a++] = (intptr_t)p->timeout; /* struct l_timespec64 * */ 3289 uarg[a++] = (intptr_t)p->mask; /* l_sigset_t * */ 3290 iarg[a++] = p->sigsetsize; /* l_size_t */ 3291 *n_args = 6; 3292 break; 3293 } 3294 /* linux_mount_setattr */ 3295 case 442: { 3296 *n_args = 0; 3297 break; 3298 } 3299 default: 3300 *n_args = 0; 3301 break; 3302 }; 3303 } 3304 static void 3305 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) 3306 { 3307 const char *p = NULL; 3308 switch (sysnum) { 3309 #define nosys linux_nosys 3310 /* linux_exit */ 3311 case 1: 3312 switch (ndx) { 3313 case 0: 3314 p = "int"; 3315 break; 3316 default: 3317 break; 3318 }; 3319 break; 3320 /* linux_fork */ 3321 case 2: 3322 break; 3323 /* read */ 3324 case 3: 3325 switch (ndx) { 3326 case 0: 3327 p = "int"; 3328 break; 3329 case 1: 3330 p = "userland char *"; 3331 break; 3332 case 2: 3333 p = "u_int"; 3334 break; 3335 default: 3336 break; 3337 }; 3338 break; 3339 /* linux_write */ 3340 case 4: 3341 switch (ndx) { 3342 case 0: 3343 p = "int"; 3344 break; 3345 case 1: 3346 p = "userland char *"; 3347 break; 3348 case 2: 3349 p = "l_size_t"; 3350 break; 3351 default: 3352 break; 3353 }; 3354 break; 3355 /* linux_open */ 3356 case 5: 3357 switch (ndx) { 3358 case 0: 3359 p = "userland char *"; 3360 break; 3361 case 1: 3362 p = "l_int"; 3363 break; 3364 case 2: 3365 p = "l_int"; 3366 break; 3367 default: 3368 break; 3369 }; 3370 break; 3371 /* close */ 3372 case 6: 3373 switch (ndx) { 3374 case 0: 3375 p = "int"; 3376 break; 3377 default: 3378 break; 3379 }; 3380 break; 3381 /* linux_waitpid */ 3382 case 7: 3383 switch (ndx) { 3384 case 0: 3385 p = "l_pid_t"; 3386 break; 3387 case 1: 3388 p = "userland l_int *"; 3389 break; 3390 case 2: 3391 p = "l_int"; 3392 break; 3393 default: 3394 break; 3395 }; 3396 break; 3397 /* linux_creat */ 3398 case 8: 3399 switch (ndx) { 3400 case 0: 3401 p = "userland char *"; 3402 break; 3403 case 1: 3404 p = "l_int"; 3405 break; 3406 default: 3407 break; 3408 }; 3409 break; 3410 /* linux_link */ 3411 case 9: 3412 switch (ndx) { 3413 case 0: 3414 p = "userland char *"; 3415 break; 3416 case 1: 3417 p = "userland char *"; 3418 break; 3419 default: 3420 break; 3421 }; 3422 break; 3423 /* linux_unlink */ 3424 case 10: 3425 switch (ndx) { 3426 case 0: 3427 p = "userland char *"; 3428 break; 3429 default: 3430 break; 3431 }; 3432 break; 3433 /* linux_execve */ 3434 case 11: 3435 switch (ndx) { 3436 case 0: 3437 p = "userland char *"; 3438 break; 3439 case 1: 3440 p = "userland l_uintptr_t *"; 3441 break; 3442 case 2: 3443 p = "userland l_uintptr_t *"; 3444 break; 3445 default: 3446 break; 3447 }; 3448 break; 3449 /* linux_chdir */ 3450 case 12: 3451 switch (ndx) { 3452 case 0: 3453 p = "userland char *"; 3454 break; 3455 default: 3456 break; 3457 }; 3458 break; 3459 /* linux_time */ 3460 case 13: 3461 switch (ndx) { 3462 case 0: 3463 p = "userland l_time_t *"; 3464 break; 3465 default: 3466 break; 3467 }; 3468 break; 3469 /* linux_mknod */ 3470 case 14: 3471 switch (ndx) { 3472 case 0: 3473 p = "userland char *"; 3474 break; 3475 case 1: 3476 p = "l_int"; 3477 break; 3478 case 2: 3479 p = "l_dev_t"; 3480 break; 3481 default: 3482 break; 3483 }; 3484 break; 3485 /* linux_chmod */ 3486 case 15: 3487 switch (ndx) { 3488 case 0: 3489 p = "userland char *"; 3490 break; 3491 case 1: 3492 p = "l_mode_t"; 3493 break; 3494 default: 3495 break; 3496 }; 3497 break; 3498 /* linux_lchown16 */ 3499 case 16: 3500 switch (ndx) { 3501 case 0: 3502 p = "userland char *"; 3503 break; 3504 case 1: 3505 p = "l_uid16_t"; 3506 break; 3507 case 2: 3508 p = "l_gid16_t"; 3509 break; 3510 default: 3511 break; 3512 }; 3513 break; 3514 /* linux_stat */ 3515 case 18: 3516 switch (ndx) { 3517 case 0: 3518 p = "userland char *"; 3519 break; 3520 case 1: 3521 p = "userland struct l_old_stat *"; 3522 break; 3523 default: 3524 break; 3525 }; 3526 break; 3527 /* linux_lseek */ 3528 case 19: 3529 switch (ndx) { 3530 case 0: 3531 p = "l_uint"; 3532 break; 3533 case 1: 3534 p = "l_off_t"; 3535 break; 3536 case 2: 3537 p = "l_int"; 3538 break; 3539 default: 3540 break; 3541 }; 3542 break; 3543 /* linux_getpid */ 3544 case 20: 3545 break; 3546 /* linux_mount */ 3547 case 21: 3548 switch (ndx) { 3549 case 0: 3550 p = "userland char *"; 3551 break; 3552 case 1: 3553 p = "userland char *"; 3554 break; 3555 case 2: 3556 p = "userland char *"; 3557 break; 3558 case 3: 3559 p = "l_ulong"; 3560 break; 3561 case 4: 3562 p = "userland void *"; 3563 break; 3564 default: 3565 break; 3566 }; 3567 break; 3568 /* linux_oldumount */ 3569 case 22: 3570 switch (ndx) { 3571 case 0: 3572 p = "userland char *"; 3573 break; 3574 default: 3575 break; 3576 }; 3577 break; 3578 /* linux_setuid16 */ 3579 case 23: 3580 switch (ndx) { 3581 case 0: 3582 p = "l_uid16_t"; 3583 break; 3584 default: 3585 break; 3586 }; 3587 break; 3588 /* linux_getuid16 */ 3589 case 24: 3590 break; 3591 /* linux_stime */ 3592 case 25: 3593 break; 3594 /* linux_ptrace */ 3595 case 26: 3596 switch (ndx) { 3597 case 0: 3598 p = "l_long"; 3599 break; 3600 case 1: 3601 p = "l_long"; 3602 break; 3603 case 2: 3604 p = "l_long"; 3605 break; 3606 case 3: 3607 p = "l_long"; 3608 break; 3609 default: 3610 break; 3611 }; 3612 break; 3613 /* linux_alarm */ 3614 case 27: 3615 switch (ndx) { 3616 case 0: 3617 p = "l_uint"; 3618 break; 3619 default: 3620 break; 3621 }; 3622 break; 3623 /* linux_pause */ 3624 case 29: 3625 break; 3626 /* linux_utime */ 3627 case 30: 3628 switch (ndx) { 3629 case 0: 3630 p = "userland char *"; 3631 break; 3632 case 1: 3633 p = "userland struct l_utimbuf *"; 3634 break; 3635 default: 3636 break; 3637 }; 3638 break; 3639 /* linux_access */ 3640 case 33: 3641 switch (ndx) { 3642 case 0: 3643 p = "userland char *"; 3644 break; 3645 case 1: 3646 p = "l_int"; 3647 break; 3648 default: 3649 break; 3650 }; 3651 break; 3652 /* linux_nice */ 3653 case 34: 3654 switch (ndx) { 3655 case 0: 3656 p = "l_int"; 3657 break; 3658 default: 3659 break; 3660 }; 3661 break; 3662 /* sync */ 3663 case 36: 3664 break; 3665 /* linux_kill */ 3666 case 37: 3667 switch (ndx) { 3668 case 0: 3669 p = "l_int"; 3670 break; 3671 case 1: 3672 p = "l_int"; 3673 break; 3674 default: 3675 break; 3676 }; 3677 break; 3678 /* linux_rename */ 3679 case 38: 3680 switch (ndx) { 3681 case 0: 3682 p = "userland char *"; 3683 break; 3684 case 1: 3685 p = "userland char *"; 3686 break; 3687 default: 3688 break; 3689 }; 3690 break; 3691 /* linux_mkdir */ 3692 case 39: 3693 switch (ndx) { 3694 case 0: 3695 p = "userland char *"; 3696 break; 3697 case 1: 3698 p = "l_int"; 3699 break; 3700 default: 3701 break; 3702 }; 3703 break; 3704 /* linux_rmdir */ 3705 case 40: 3706 switch (ndx) { 3707 case 0: 3708 p = "userland char *"; 3709 break; 3710 default: 3711 break; 3712 }; 3713 break; 3714 /* dup */ 3715 case 41: 3716 switch (ndx) { 3717 case 0: 3718 p = "u_int"; 3719 break; 3720 default: 3721 break; 3722 }; 3723 break; 3724 /* linux_pipe */ 3725 case 42: 3726 switch (ndx) { 3727 case 0: 3728 p = "userland l_int *"; 3729 break; 3730 default: 3731 break; 3732 }; 3733 break; 3734 /* linux_times */ 3735 case 43: 3736 switch (ndx) { 3737 case 0: 3738 p = "userland struct l_times_argv *"; 3739 break; 3740 default: 3741 break; 3742 }; 3743 break; 3744 /* linux_brk */ 3745 case 45: 3746 switch (ndx) { 3747 case 0: 3748 p = "l_ulong"; 3749 break; 3750 default: 3751 break; 3752 }; 3753 break; 3754 /* linux_setgid16 */ 3755 case 46: 3756 switch (ndx) { 3757 case 0: 3758 p = "l_gid16_t"; 3759 break; 3760 default: 3761 break; 3762 }; 3763 break; 3764 /* linux_getgid16 */ 3765 case 47: 3766 break; 3767 /* linux_signal */ 3768 case 48: 3769 switch (ndx) { 3770 case 0: 3771 p = "l_int"; 3772 break; 3773 case 1: 3774 p = "userland void *"; 3775 break; 3776 default: 3777 break; 3778 }; 3779 break; 3780 /* linux_geteuid16 */ 3781 case 49: 3782 break; 3783 /* linux_getegid16 */ 3784 case 50: 3785 break; 3786 /* acct */ 3787 case 51: 3788 switch (ndx) { 3789 case 0: 3790 p = "userland char *"; 3791 break; 3792 default: 3793 break; 3794 }; 3795 break; 3796 /* linux_umount */ 3797 case 52: 3798 switch (ndx) { 3799 case 0: 3800 p = "userland char *"; 3801 break; 3802 case 1: 3803 p = "l_int"; 3804 break; 3805 default: 3806 break; 3807 }; 3808 break; 3809 /* linux_ioctl */ 3810 case 54: 3811 switch (ndx) { 3812 case 0: 3813 p = "l_uint"; 3814 break; 3815 case 1: 3816 p = "l_uint"; 3817 break; 3818 case 2: 3819 p = "l_ulong"; 3820 break; 3821 default: 3822 break; 3823 }; 3824 break; 3825 /* linux_fcntl */ 3826 case 55: 3827 switch (ndx) { 3828 case 0: 3829 p = "l_uint"; 3830 break; 3831 case 1: 3832 p = "l_uint"; 3833 break; 3834 case 2: 3835 p = "l_ulong"; 3836 break; 3837 default: 3838 break; 3839 }; 3840 break; 3841 /* setpgid */ 3842 case 57: 3843 switch (ndx) { 3844 case 0: 3845 p = "int"; 3846 break; 3847 case 1: 3848 p = "int"; 3849 break; 3850 default: 3851 break; 3852 }; 3853 break; 3854 /* linux_olduname */ 3855 case 59: 3856 break; 3857 /* umask */ 3858 case 60: 3859 switch (ndx) { 3860 case 0: 3861 p = "int"; 3862 break; 3863 default: 3864 break; 3865 }; 3866 break; 3867 /* chroot */ 3868 case 61: 3869 switch (ndx) { 3870 case 0: 3871 p = "userland char *"; 3872 break; 3873 default: 3874 break; 3875 }; 3876 break; 3877 /* linux_ustat */ 3878 case 62: 3879 switch (ndx) { 3880 case 0: 3881 p = "l_dev_t"; 3882 break; 3883 case 1: 3884 p = "userland struct l_ustat *"; 3885 break; 3886 default: 3887 break; 3888 }; 3889 break; 3890 /* dup2 */ 3891 case 63: 3892 switch (ndx) { 3893 case 0: 3894 p = "u_int"; 3895 break; 3896 case 1: 3897 p = "u_int"; 3898 break; 3899 default: 3900 break; 3901 }; 3902 break; 3903 /* linux_getppid */ 3904 case 64: 3905 break; 3906 /* getpgrp */ 3907 case 65: 3908 break; 3909 /* setsid */ 3910 case 66: 3911 break; 3912 /* linux_sigaction */ 3913 case 67: 3914 switch (ndx) { 3915 case 0: 3916 p = "l_int"; 3917 break; 3918 case 1: 3919 p = "userland l_osigaction_t *"; 3920 break; 3921 case 2: 3922 p = "userland l_osigaction_t *"; 3923 break; 3924 default: 3925 break; 3926 }; 3927 break; 3928 /* linux_sgetmask */ 3929 case 68: 3930 break; 3931 /* linux_ssetmask */ 3932 case 69: 3933 switch (ndx) { 3934 case 0: 3935 p = "l_osigset_t"; 3936 break; 3937 default: 3938 break; 3939 }; 3940 break; 3941 /* linux_setreuid16 */ 3942 case 70: 3943 switch (ndx) { 3944 case 0: 3945 p = "l_uid16_t"; 3946 break; 3947 case 1: 3948 p = "l_uid16_t"; 3949 break; 3950 default: 3951 break; 3952 }; 3953 break; 3954 /* linux_setregid16 */ 3955 case 71: 3956 switch (ndx) { 3957 case 0: 3958 p = "l_gid16_t"; 3959 break; 3960 case 1: 3961 p = "l_gid16_t"; 3962 break; 3963 default: 3964 break; 3965 }; 3966 break; 3967 /* linux_sigsuspend */ 3968 case 72: 3969 switch (ndx) { 3970 case 0: 3971 p = "l_int"; 3972 break; 3973 case 1: 3974 p = "l_int"; 3975 break; 3976 case 2: 3977 p = "l_osigset_t"; 3978 break; 3979 default: 3980 break; 3981 }; 3982 break; 3983 /* linux_sigpending */ 3984 case 73: 3985 switch (ndx) { 3986 case 0: 3987 p = "userland l_osigset_t *"; 3988 break; 3989 default: 3990 break; 3991 }; 3992 break; 3993 /* linux_sethostname */ 3994 case 74: 3995 switch (ndx) { 3996 case 0: 3997 p = "userland char *"; 3998 break; 3999 case 1: 4000 p = "u_int"; 4001 break; 4002 default: 4003 break; 4004 }; 4005 break; 4006 /* linux_setrlimit */ 4007 case 75: 4008 switch (ndx) { 4009 case 0: 4010 p = "l_uint"; 4011 break; 4012 case 1: 4013 p = "userland struct l_rlimit *"; 4014 break; 4015 default: 4016 break; 4017 }; 4018 break; 4019 /* linux_old_getrlimit */ 4020 case 76: 4021 switch (ndx) { 4022 case 0: 4023 p = "l_uint"; 4024 break; 4025 case 1: 4026 p = "userland struct l_rlimit *"; 4027 break; 4028 default: 4029 break; 4030 }; 4031 break; 4032 /* getrusage */ 4033 case 77: 4034 switch (ndx) { 4035 case 0: 4036 p = "int"; 4037 break; 4038 case 1: 4039 p = "userland struct rusage *"; 4040 break; 4041 default: 4042 break; 4043 }; 4044 break; 4045 /* gettimeofday */ 4046 case 78: 4047 switch (ndx) { 4048 case 0: 4049 p = "userland struct timeval *"; 4050 break; 4051 case 1: 4052 p = "userland struct timezone *"; 4053 break; 4054 default: 4055 break; 4056 }; 4057 break; 4058 /* settimeofday */ 4059 case 79: 4060 switch (ndx) { 4061 case 0: 4062 p = "userland struct timeval *"; 4063 break; 4064 case 1: 4065 p = "userland struct timezone *"; 4066 break; 4067 default: 4068 break; 4069 }; 4070 break; 4071 /* linux_getgroups16 */ 4072 case 80: 4073 switch (ndx) { 4074 case 0: 4075 p = "l_uint"; 4076 break; 4077 case 1: 4078 p = "userland l_gid16_t *"; 4079 break; 4080 default: 4081 break; 4082 }; 4083 break; 4084 /* linux_setgroups16 */ 4085 case 81: 4086 switch (ndx) { 4087 case 0: 4088 p = "l_uint"; 4089 break; 4090 case 1: 4091 p = "userland l_gid16_t *"; 4092 break; 4093 default: 4094 break; 4095 }; 4096 break; 4097 /* linux_old_select */ 4098 case 82: 4099 switch (ndx) { 4100 case 0: 4101 p = "userland struct l_old_select_argv *"; 4102 break; 4103 default: 4104 break; 4105 }; 4106 break; 4107 /* linux_symlink */ 4108 case 83: 4109 switch (ndx) { 4110 case 0: 4111 p = "userland char *"; 4112 break; 4113 case 1: 4114 p = "userland char *"; 4115 break; 4116 default: 4117 break; 4118 }; 4119 break; 4120 /* linux_lstat */ 4121 case 84: 4122 switch (ndx) { 4123 case 0: 4124 p = "userland char *"; 4125 break; 4126 case 1: 4127 p = "userland struct l_old_stat *"; 4128 break; 4129 default: 4130 break; 4131 }; 4132 break; 4133 /* linux_readlink */ 4134 case 85: 4135 switch (ndx) { 4136 case 0: 4137 p = "userland char *"; 4138 break; 4139 case 1: 4140 p = "userland char *"; 4141 break; 4142 case 2: 4143 p = "l_int"; 4144 break; 4145 default: 4146 break; 4147 }; 4148 break; 4149 /* linux_uselib */ 4150 case 86: 4151 switch (ndx) { 4152 case 0: 4153 p = "userland char *"; 4154 break; 4155 default: 4156 break; 4157 }; 4158 break; 4159 /* swapon */ 4160 case 87: 4161 switch (ndx) { 4162 case 0: 4163 p = "userland char *"; 4164 break; 4165 default: 4166 break; 4167 }; 4168 break; 4169 /* linux_reboot */ 4170 case 88: 4171 switch (ndx) { 4172 case 0: 4173 p = "l_int"; 4174 break; 4175 case 1: 4176 p = "l_int"; 4177 break; 4178 case 2: 4179 p = "l_uint"; 4180 break; 4181 case 3: 4182 p = "userland void *"; 4183 break; 4184 default: 4185 break; 4186 }; 4187 break; 4188 /* linux_readdir */ 4189 case 89: 4190 switch (ndx) { 4191 case 0: 4192 p = "l_uint"; 4193 break; 4194 case 1: 4195 p = "userland struct l_dirent *"; 4196 break; 4197 case 2: 4198 p = "l_uint"; 4199 break; 4200 default: 4201 break; 4202 }; 4203 break; 4204 /* linux_mmap */ 4205 case 90: 4206 switch (ndx) { 4207 case 0: 4208 p = "userland struct l_mmap_argv *"; 4209 break; 4210 default: 4211 break; 4212 }; 4213 break; 4214 /* munmap */ 4215 case 91: 4216 switch (ndx) { 4217 case 0: 4218 p = "caddr_t"; 4219 break; 4220 case 1: 4221 p = "int"; 4222 break; 4223 default: 4224 break; 4225 }; 4226 break; 4227 /* linux_truncate */ 4228 case 92: 4229 switch (ndx) { 4230 case 0: 4231 p = "userland char *"; 4232 break; 4233 case 1: 4234 p = "l_ulong"; 4235 break; 4236 default: 4237 break; 4238 }; 4239 break; 4240 /* linux_ftruncate */ 4241 case 93: 4242 switch (ndx) { 4243 case 0: 4244 p = "int"; 4245 break; 4246 case 1: 4247 p = "long"; 4248 break; 4249 default: 4250 break; 4251 }; 4252 break; 4253 /* fchmod */ 4254 case 94: 4255 switch (ndx) { 4256 case 0: 4257 p = "int"; 4258 break; 4259 case 1: 4260 p = "int"; 4261 break; 4262 default: 4263 break; 4264 }; 4265 break; 4266 /* fchown */ 4267 case 95: 4268 switch (ndx) { 4269 case 0: 4270 p = "int"; 4271 break; 4272 case 1: 4273 p = "int"; 4274 break; 4275 case 2: 4276 p = "int"; 4277 break; 4278 default: 4279 break; 4280 }; 4281 break; 4282 /* linux_getpriority */ 4283 case 96: 4284 switch (ndx) { 4285 case 0: 4286 p = "int"; 4287 break; 4288 case 1: 4289 p = "int"; 4290 break; 4291 default: 4292 break; 4293 }; 4294 break; 4295 /* setpriority */ 4296 case 97: 4297 switch (ndx) { 4298 case 0: 4299 p = "int"; 4300 break; 4301 case 1: 4302 p = "int"; 4303 break; 4304 case 2: 4305 p = "int"; 4306 break; 4307 default: 4308 break; 4309 }; 4310 break; 4311 /* linux_statfs */ 4312 case 99: 4313 switch (ndx) { 4314 case 0: 4315 p = "userland char *"; 4316 break; 4317 case 1: 4318 p = "userland struct l_statfs_buf *"; 4319 break; 4320 default: 4321 break; 4322 }; 4323 break; 4324 /* linux_fstatfs */ 4325 case 100: 4326 switch (ndx) { 4327 case 0: 4328 p = "l_uint"; 4329 break; 4330 case 1: 4331 p = "userland struct l_statfs_buf *"; 4332 break; 4333 default: 4334 break; 4335 }; 4336 break; 4337 /* linux_ioperm */ 4338 case 101: 4339 switch (ndx) { 4340 case 0: 4341 p = "l_ulong"; 4342 break; 4343 case 1: 4344 p = "l_ulong"; 4345 break; 4346 case 2: 4347 p = "l_int"; 4348 break; 4349 default: 4350 break; 4351 }; 4352 break; 4353 /* linux_socketcall */ 4354 case 102: 4355 switch (ndx) { 4356 case 0: 4357 p = "l_int"; 4358 break; 4359 case 1: 4360 p = "l_ulong"; 4361 break; 4362 default: 4363 break; 4364 }; 4365 break; 4366 /* linux_syslog */ 4367 case 103: 4368 switch (ndx) { 4369 case 0: 4370 p = "l_int"; 4371 break; 4372 case 1: 4373 p = "userland char *"; 4374 break; 4375 case 2: 4376 p = "l_int"; 4377 break; 4378 default: 4379 break; 4380 }; 4381 break; 4382 /* linux_setitimer */ 4383 case 104: 4384 switch (ndx) { 4385 case 0: 4386 p = "l_int"; 4387 break; 4388 case 1: 4389 p = "userland struct l_itimerval *"; 4390 break; 4391 case 2: 4392 p = "userland struct l_itimerval *"; 4393 break; 4394 default: 4395 break; 4396 }; 4397 break; 4398 /* linux_getitimer */ 4399 case 105: 4400 switch (ndx) { 4401 case 0: 4402 p = "l_int"; 4403 break; 4404 case 1: 4405 p = "userland struct l_itimerval *"; 4406 break; 4407 default: 4408 break; 4409 }; 4410 break; 4411 /* linux_newstat */ 4412 case 106: 4413 switch (ndx) { 4414 case 0: 4415 p = "userland char *"; 4416 break; 4417 case 1: 4418 p = "userland struct l_newstat *"; 4419 break; 4420 default: 4421 break; 4422 }; 4423 break; 4424 /* linux_newlstat */ 4425 case 107: 4426 switch (ndx) { 4427 case 0: 4428 p = "userland char *"; 4429 break; 4430 case 1: 4431 p = "userland struct l_newstat *"; 4432 break; 4433 default: 4434 break; 4435 }; 4436 break; 4437 /* linux_newfstat */ 4438 case 108: 4439 switch (ndx) { 4440 case 0: 4441 p = "l_uint"; 4442 break; 4443 case 1: 4444 p = "userland struct l_newstat *"; 4445 break; 4446 default: 4447 break; 4448 }; 4449 break; 4450 /* linux_uname */ 4451 case 109: 4452 break; 4453 /* linux_iopl */ 4454 case 110: 4455 switch (ndx) { 4456 case 0: 4457 p = "l_int"; 4458 break; 4459 default: 4460 break; 4461 }; 4462 break; 4463 /* linux_vhangup */ 4464 case 111: 4465 break; 4466 /* linux_vm86old */ 4467 case 113: 4468 break; 4469 /* linux_wait4 */ 4470 case 114: 4471 switch (ndx) { 4472 case 0: 4473 p = "l_pid_t"; 4474 break; 4475 case 1: 4476 p = "userland l_int *"; 4477 break; 4478 case 2: 4479 p = "l_int"; 4480 break; 4481 case 3: 4482 p = "userland void *"; 4483 break; 4484 default: 4485 break; 4486 }; 4487 break; 4488 /* linux_swapoff */ 4489 case 115: 4490 break; 4491 /* linux_sysinfo */ 4492 case 116: 4493 switch (ndx) { 4494 case 0: 4495 p = "userland struct l_sysinfo *"; 4496 break; 4497 default: 4498 break; 4499 }; 4500 break; 4501 /* linux_ipc */ 4502 case 117: 4503 switch (ndx) { 4504 case 0: 4505 p = "l_uint"; 4506 break; 4507 case 1: 4508 p = "l_int"; 4509 break; 4510 case 2: 4511 p = "l_int"; 4512 break; 4513 case 3: 4514 p = "l_uint"; 4515 break; 4516 case 4: 4517 p = "l_uintptr_t"; 4518 break; 4519 case 5: 4520 p = "l_uint"; 4521 break; 4522 default: 4523 break; 4524 }; 4525 break; 4526 /* fsync */ 4527 case 118: 4528 switch (ndx) { 4529 case 0: 4530 p = "int"; 4531 break; 4532 default: 4533 break; 4534 }; 4535 break; 4536 /* linux_sigreturn */ 4537 case 119: 4538 switch (ndx) { 4539 case 0: 4540 p = "userland struct l_sigframe *"; 4541 break; 4542 default: 4543 break; 4544 }; 4545 break; 4546 /* linux_clone */ 4547 case 120: 4548 switch (ndx) { 4549 case 0: 4550 p = "l_ulong"; 4551 break; 4552 case 1: 4553 p = "l_ulong"; 4554 break; 4555 case 2: 4556 p = "userland l_int *"; 4557 break; 4558 case 3: 4559 p = "l_ulong"; 4560 break; 4561 case 4: 4562 p = "userland l_int *"; 4563 break; 4564 default: 4565 break; 4566 }; 4567 break; 4568 /* linux_setdomainname */ 4569 case 121: 4570 switch (ndx) { 4571 case 0: 4572 p = "userland char *"; 4573 break; 4574 case 1: 4575 p = "int"; 4576 break; 4577 default: 4578 break; 4579 }; 4580 break; 4581 /* linux_newuname */ 4582 case 122: 4583 switch (ndx) { 4584 case 0: 4585 p = "userland struct l_new_utsname *"; 4586 break; 4587 default: 4588 break; 4589 }; 4590 break; 4591 /* linux_modify_ldt */ 4592 case 123: 4593 switch (ndx) { 4594 case 0: 4595 p = "l_int"; 4596 break; 4597 case 1: 4598 p = "userland void *"; 4599 break; 4600 case 2: 4601 p = "l_ulong"; 4602 break; 4603 default: 4604 break; 4605 }; 4606 break; 4607 /* linux_adjtimex */ 4608 case 124: 4609 break; 4610 /* linux_mprotect */ 4611 case 125: 4612 switch (ndx) { 4613 case 0: 4614 p = "caddr_t"; 4615 break; 4616 case 1: 4617 p = "int"; 4618 break; 4619 case 2: 4620 p = "int"; 4621 break; 4622 default: 4623 break; 4624 }; 4625 break; 4626 /* linux_sigprocmask */ 4627 case 126: 4628 switch (ndx) { 4629 case 0: 4630 p = "l_int"; 4631 break; 4632 case 1: 4633 p = "userland l_osigset_t *"; 4634 break; 4635 case 2: 4636 p = "userland l_osigset_t *"; 4637 break; 4638 default: 4639 break; 4640 }; 4641 break; 4642 /* linux_init_module */ 4643 case 128: 4644 break; 4645 /* linux_delete_module */ 4646 case 129: 4647 break; 4648 /* linux_quotactl */ 4649 case 131: 4650 break; 4651 /* getpgid */ 4652 case 132: 4653 switch (ndx) { 4654 case 0: 4655 p = "int"; 4656 break; 4657 default: 4658 break; 4659 }; 4660 break; 4661 /* fchdir */ 4662 case 133: 4663 switch (ndx) { 4664 case 0: 4665 p = "int"; 4666 break; 4667 default: 4668 break; 4669 }; 4670 break; 4671 /* linux_bdflush */ 4672 case 134: 4673 break; 4674 /* linux_sysfs */ 4675 case 135: 4676 switch (ndx) { 4677 case 0: 4678 p = "l_int"; 4679 break; 4680 case 1: 4681 p = "l_ulong"; 4682 break; 4683 case 2: 4684 p = "l_ulong"; 4685 break; 4686 default: 4687 break; 4688 }; 4689 break; 4690 /* linux_personality */ 4691 case 136: 4692 switch (ndx) { 4693 case 0: 4694 p = "l_uint"; 4695 break; 4696 default: 4697 break; 4698 }; 4699 break; 4700 /* linux_setfsuid16 */ 4701 case 138: 4702 switch (ndx) { 4703 case 0: 4704 p = "l_uid16_t"; 4705 break; 4706 default: 4707 break; 4708 }; 4709 break; 4710 /* linux_setfsgid16 */ 4711 case 139: 4712 switch (ndx) { 4713 case 0: 4714 p = "l_gid16_t"; 4715 break; 4716 default: 4717 break; 4718 }; 4719 break; 4720 /* linux_llseek */ 4721 case 140: 4722 switch (ndx) { 4723 case 0: 4724 p = "l_int"; 4725 break; 4726 case 1: 4727 p = "l_ulong"; 4728 break; 4729 case 2: 4730 p = "l_ulong"; 4731 break; 4732 case 3: 4733 p = "userland l_loff_t *"; 4734 break; 4735 case 4: 4736 p = "l_uint"; 4737 break; 4738 default: 4739 break; 4740 }; 4741 break; 4742 /* linux_getdents */ 4743 case 141: 4744 switch (ndx) { 4745 case 0: 4746 p = "l_uint"; 4747 break; 4748 case 1: 4749 p = "userland void *"; 4750 break; 4751 case 2: 4752 p = "l_uint"; 4753 break; 4754 default: 4755 break; 4756 }; 4757 break; 4758 /* linux_select */ 4759 case 142: 4760 switch (ndx) { 4761 case 0: 4762 p = "l_int"; 4763 break; 4764 case 1: 4765 p = "userland l_fd_set *"; 4766 break; 4767 case 2: 4768 p = "userland l_fd_set *"; 4769 break; 4770 case 3: 4771 p = "userland l_fd_set *"; 4772 break; 4773 case 4: 4774 p = "userland struct l_timeval *"; 4775 break; 4776 default: 4777 break; 4778 }; 4779 break; 4780 /* flock */ 4781 case 143: 4782 switch (ndx) { 4783 case 0: 4784 p = "int"; 4785 break; 4786 case 1: 4787 p = "int"; 4788 break; 4789 default: 4790 break; 4791 }; 4792 break; 4793 /* linux_msync */ 4794 case 144: 4795 switch (ndx) { 4796 case 0: 4797 p = "l_ulong"; 4798 break; 4799 case 1: 4800 p = "l_size_t"; 4801 break; 4802 case 2: 4803 p = "l_int"; 4804 break; 4805 default: 4806 break; 4807 }; 4808 break; 4809 /* readv */ 4810 case 145: 4811 switch (ndx) { 4812 case 0: 4813 p = "int"; 4814 break; 4815 case 1: 4816 p = "userland struct iovec *"; 4817 break; 4818 case 2: 4819 p = "u_int"; 4820 break; 4821 default: 4822 break; 4823 }; 4824 break; 4825 /* linux_writev */ 4826 case 146: 4827 switch (ndx) { 4828 case 0: 4829 p = "int"; 4830 break; 4831 case 1: 4832 p = "userland struct iovec *"; 4833 break; 4834 case 2: 4835 p = "u_int"; 4836 break; 4837 default: 4838 break; 4839 }; 4840 break; 4841 /* linux_getsid */ 4842 case 147: 4843 switch (ndx) { 4844 case 0: 4845 p = "l_pid_t"; 4846 break; 4847 default: 4848 break; 4849 }; 4850 break; 4851 /* linux_fdatasync */ 4852 case 148: 4853 switch (ndx) { 4854 case 0: 4855 p = "l_uint"; 4856 break; 4857 default: 4858 break; 4859 }; 4860 break; 4861 /* linux_sysctl */ 4862 case 149: 4863 switch (ndx) { 4864 case 0: 4865 p = "userland struct l___sysctl_args *"; 4866 break; 4867 default: 4868 break; 4869 }; 4870 break; 4871 /* mlock */ 4872 case 150: 4873 switch (ndx) { 4874 case 0: 4875 p = "userland const void *"; 4876 break; 4877 case 1: 4878 p = "size_t"; 4879 break; 4880 default: 4881 break; 4882 }; 4883 break; 4884 /* munlock */ 4885 case 151: 4886 switch (ndx) { 4887 case 0: 4888 p = "userland const void *"; 4889 break; 4890 case 1: 4891 p = "size_t"; 4892 break; 4893 default: 4894 break; 4895 }; 4896 break; 4897 /* mlockall */ 4898 case 152: 4899 switch (ndx) { 4900 case 0: 4901 p = "int"; 4902 break; 4903 default: 4904 break; 4905 }; 4906 break; 4907 /* munlockall */ 4908 case 153: 4909 break; 4910 /* linux_sched_setparam */ 4911 case 154: 4912 switch (ndx) { 4913 case 0: 4914 p = "l_pid_t"; 4915 break; 4916 case 1: 4917 p = "userland struct sched_param *"; 4918 break; 4919 default: 4920 break; 4921 }; 4922 break; 4923 /* linux_sched_getparam */ 4924 case 155: 4925 switch (ndx) { 4926 case 0: 4927 p = "l_pid_t"; 4928 break; 4929 case 1: 4930 p = "userland struct sched_param *"; 4931 break; 4932 default: 4933 break; 4934 }; 4935 break; 4936 /* linux_sched_setscheduler */ 4937 case 156: 4938 switch (ndx) { 4939 case 0: 4940 p = "l_pid_t"; 4941 break; 4942 case 1: 4943 p = "l_int"; 4944 break; 4945 case 2: 4946 p = "userland struct sched_param *"; 4947 break; 4948 default: 4949 break; 4950 }; 4951 break; 4952 /* linux_sched_getscheduler */ 4953 case 157: 4954 switch (ndx) { 4955 case 0: 4956 p = "l_pid_t"; 4957 break; 4958 default: 4959 break; 4960 }; 4961 break; 4962 /* sched_yield */ 4963 case 158: 4964 break; 4965 /* linux_sched_get_priority_max */ 4966 case 159: 4967 switch (ndx) { 4968 case 0: 4969 p = "l_int"; 4970 break; 4971 default: 4972 break; 4973 }; 4974 break; 4975 /* linux_sched_get_priority_min */ 4976 case 160: 4977 switch (ndx) { 4978 case 0: 4979 p = "l_int"; 4980 break; 4981 default: 4982 break; 4983 }; 4984 break; 4985 /* linux_sched_rr_get_interval */ 4986 case 161: 4987 switch (ndx) { 4988 case 0: 4989 p = "l_pid_t"; 4990 break; 4991 case 1: 4992 p = "userland struct l_timespec *"; 4993 break; 4994 default: 4995 break; 4996 }; 4997 break; 4998 /* linux_nanosleep */ 4999 case 162: 5000 switch (ndx) { 5001 case 0: 5002 p = "userland const struct l_timespec *"; 5003 break; 5004 case 1: 5005 p = "userland struct l_timespec *"; 5006 break; 5007 default: 5008 break; 5009 }; 5010 break; 5011 /* linux_mremap */ 5012 case 163: 5013 switch (ndx) { 5014 case 0: 5015 p = "l_ulong"; 5016 break; 5017 case 1: 5018 p = "l_ulong"; 5019 break; 5020 case 2: 5021 p = "l_ulong"; 5022 break; 5023 case 3: 5024 p = "l_ulong"; 5025 break; 5026 case 4: 5027 p = "l_ulong"; 5028 break; 5029 default: 5030 break; 5031 }; 5032 break; 5033 /* linux_setresuid16 */ 5034 case 164: 5035 switch (ndx) { 5036 case 0: 5037 p = "l_uid16_t"; 5038 break; 5039 case 1: 5040 p = "l_uid16_t"; 5041 break; 5042 case 2: 5043 p = "l_uid16_t"; 5044 break; 5045 default: 5046 break; 5047 }; 5048 break; 5049 /* linux_getresuid16 */ 5050 case 165: 5051 switch (ndx) { 5052 case 0: 5053 p = "userland l_uid16_t *"; 5054 break; 5055 case 1: 5056 p = "userland l_uid16_t *"; 5057 break; 5058 case 2: 5059 p = "userland l_uid16_t *"; 5060 break; 5061 default: 5062 break; 5063 }; 5064 break; 5065 /* linux_vm86 */ 5066 case 166: 5067 break; 5068 /* linux_poll */ 5069 case 168: 5070 switch (ndx) { 5071 case 0: 5072 p = "userland struct pollfd *"; 5073 break; 5074 case 1: 5075 p = "unsigned int"; 5076 break; 5077 case 2: 5078 p = "long"; 5079 break; 5080 default: 5081 break; 5082 }; 5083 break; 5084 /* linux_setresgid16 */ 5085 case 170: 5086 switch (ndx) { 5087 case 0: 5088 p = "l_gid16_t"; 5089 break; 5090 case 1: 5091 p = "l_gid16_t"; 5092 break; 5093 case 2: 5094 p = "l_gid16_t"; 5095 break; 5096 default: 5097 break; 5098 }; 5099 break; 5100 /* linux_getresgid16 */ 5101 case 171: 5102 switch (ndx) { 5103 case 0: 5104 p = "userland l_gid16_t *"; 5105 break; 5106 case 1: 5107 p = "userland l_gid16_t *"; 5108 break; 5109 case 2: 5110 p = "userland l_gid16_t *"; 5111 break; 5112 default: 5113 break; 5114 }; 5115 break; 5116 /* linux_prctl */ 5117 case 172: 5118 switch (ndx) { 5119 case 0: 5120 p = "l_int"; 5121 break; 5122 case 1: 5123 p = "l_uintptr_t"; 5124 break; 5125 case 2: 5126 p = "l_uintptr_t"; 5127 break; 5128 case 3: 5129 p = "l_uintptr_t"; 5130 break; 5131 case 4: 5132 p = "l_uintptr_t"; 5133 break; 5134 default: 5135 break; 5136 }; 5137 break; 5138 /* linux_rt_sigreturn */ 5139 case 173: 5140 switch (ndx) { 5141 case 0: 5142 p = "userland struct l_ucontext *"; 5143 break; 5144 default: 5145 break; 5146 }; 5147 break; 5148 /* linux_rt_sigaction */ 5149 case 174: 5150 switch (ndx) { 5151 case 0: 5152 p = "l_int"; 5153 break; 5154 case 1: 5155 p = "userland l_sigaction_t *"; 5156 break; 5157 case 2: 5158 p = "userland l_sigaction_t *"; 5159 break; 5160 case 3: 5161 p = "l_size_t"; 5162 break; 5163 default: 5164 break; 5165 }; 5166 break; 5167 /* linux_rt_sigprocmask */ 5168 case 175: 5169 switch (ndx) { 5170 case 0: 5171 p = "l_int"; 5172 break; 5173 case 1: 5174 p = "userland l_sigset_t *"; 5175 break; 5176 case 2: 5177 p = "userland l_sigset_t *"; 5178 break; 5179 case 3: 5180 p = "l_size_t"; 5181 break; 5182 default: 5183 break; 5184 }; 5185 break; 5186 /* linux_rt_sigpending */ 5187 case 176: 5188 switch (ndx) { 5189 case 0: 5190 p = "userland l_sigset_t *"; 5191 break; 5192 case 1: 5193 p = "l_size_t"; 5194 break; 5195 default: 5196 break; 5197 }; 5198 break; 5199 /* linux_rt_sigtimedwait */ 5200 case 177: 5201 switch (ndx) { 5202 case 0: 5203 p = "userland l_sigset_t *"; 5204 break; 5205 case 1: 5206 p = "userland l_siginfo_t *"; 5207 break; 5208 case 2: 5209 p = "userland struct l_timespec *"; 5210 break; 5211 case 3: 5212 p = "l_size_t"; 5213 break; 5214 default: 5215 break; 5216 }; 5217 break; 5218 /* linux_rt_sigqueueinfo */ 5219 case 178: 5220 switch (ndx) { 5221 case 0: 5222 p = "l_pid_t"; 5223 break; 5224 case 1: 5225 p = "l_int"; 5226 break; 5227 case 2: 5228 p = "userland l_siginfo_t *"; 5229 break; 5230 default: 5231 break; 5232 }; 5233 break; 5234 /* linux_rt_sigsuspend */ 5235 case 179: 5236 switch (ndx) { 5237 case 0: 5238 p = "userland l_sigset_t *"; 5239 break; 5240 case 1: 5241 p = "l_size_t"; 5242 break; 5243 default: 5244 break; 5245 }; 5246 break; 5247 /* linux_pread */ 5248 case 180: 5249 switch (ndx) { 5250 case 0: 5251 p = "l_uint"; 5252 break; 5253 case 1: 5254 p = "userland char *"; 5255 break; 5256 case 2: 5257 p = "l_size_t"; 5258 break; 5259 case 3: 5260 p = "l_loff_t"; 5261 break; 5262 default: 5263 break; 5264 }; 5265 break; 5266 /* linux_pwrite */ 5267 case 181: 5268 switch (ndx) { 5269 case 0: 5270 p = "l_uint"; 5271 break; 5272 case 1: 5273 p = "userland char *"; 5274 break; 5275 case 2: 5276 p = "l_size_t"; 5277 break; 5278 case 3: 5279 p = "l_loff_t"; 5280 break; 5281 default: 5282 break; 5283 }; 5284 break; 5285 /* linux_chown16 */ 5286 case 182: 5287 switch (ndx) { 5288 case 0: 5289 p = "userland char *"; 5290 break; 5291 case 1: 5292 p = "l_uid16_t"; 5293 break; 5294 case 2: 5295 p = "l_gid16_t"; 5296 break; 5297 default: 5298 break; 5299 }; 5300 break; 5301 /* linux_getcwd */ 5302 case 183: 5303 switch (ndx) { 5304 case 0: 5305 p = "userland char *"; 5306 break; 5307 case 1: 5308 p = "l_ulong"; 5309 break; 5310 default: 5311 break; 5312 }; 5313 break; 5314 /* linux_capget */ 5315 case 184: 5316 switch (ndx) { 5317 case 0: 5318 p = "userland struct l_user_cap_header *"; 5319 break; 5320 case 1: 5321 p = "userland struct l_user_cap_data *"; 5322 break; 5323 default: 5324 break; 5325 }; 5326 break; 5327 /* linux_capset */ 5328 case 185: 5329 switch (ndx) { 5330 case 0: 5331 p = "userland struct l_user_cap_header *"; 5332 break; 5333 case 1: 5334 p = "userland struct l_user_cap_data *"; 5335 break; 5336 default: 5337 break; 5338 }; 5339 break; 5340 /* linux_sigaltstack */ 5341 case 186: 5342 switch (ndx) { 5343 case 0: 5344 p = "userland l_stack_t *"; 5345 break; 5346 case 1: 5347 p = "userland l_stack_t *"; 5348 break; 5349 default: 5350 break; 5351 }; 5352 break; 5353 /* linux_sendfile */ 5354 case 187: 5355 switch (ndx) { 5356 case 0: 5357 p = "l_int"; 5358 break; 5359 case 1: 5360 p = "l_int"; 5361 break; 5362 case 2: 5363 p = "userland l_off_t *"; 5364 break; 5365 case 3: 5366 p = "l_size_t"; 5367 break; 5368 default: 5369 break; 5370 }; 5371 break; 5372 /* linux_vfork */ 5373 case 190: 5374 break; 5375 /* linux_getrlimit */ 5376 case 191: 5377 switch (ndx) { 5378 case 0: 5379 p = "l_uint"; 5380 break; 5381 case 1: 5382 p = "userland struct l_rlimit *"; 5383 break; 5384 default: 5385 break; 5386 }; 5387 break; 5388 /* linux_mmap2 */ 5389 case 192: 5390 switch (ndx) { 5391 case 0: 5392 p = "l_ulong"; 5393 break; 5394 case 1: 5395 p = "l_ulong"; 5396 break; 5397 case 2: 5398 p = "l_ulong"; 5399 break; 5400 case 3: 5401 p = "l_ulong"; 5402 break; 5403 case 4: 5404 p = "l_ulong"; 5405 break; 5406 case 5: 5407 p = "l_ulong"; 5408 break; 5409 default: 5410 break; 5411 }; 5412 break; 5413 /* linux_truncate64 */ 5414 case 193: 5415 switch (ndx) { 5416 case 0: 5417 p = "userland char *"; 5418 break; 5419 case 1: 5420 p = "l_loff_t"; 5421 break; 5422 default: 5423 break; 5424 }; 5425 break; 5426 /* linux_ftruncate64 */ 5427 case 194: 5428 switch (ndx) { 5429 case 0: 5430 p = "l_uint"; 5431 break; 5432 case 1: 5433 p = "l_loff_t"; 5434 break; 5435 default: 5436 break; 5437 }; 5438 break; 5439 /* linux_stat64 */ 5440 case 195: 5441 switch (ndx) { 5442 case 0: 5443 p = "userland const char *"; 5444 break; 5445 case 1: 5446 p = "userland struct l_stat64 *"; 5447 break; 5448 default: 5449 break; 5450 }; 5451 break; 5452 /* linux_lstat64 */ 5453 case 196: 5454 switch (ndx) { 5455 case 0: 5456 p = "userland const char *"; 5457 break; 5458 case 1: 5459 p = "userland struct l_stat64 *"; 5460 break; 5461 default: 5462 break; 5463 }; 5464 break; 5465 /* linux_fstat64 */ 5466 case 197: 5467 switch (ndx) { 5468 case 0: 5469 p = "l_int"; 5470 break; 5471 case 1: 5472 p = "userland struct l_stat64 *"; 5473 break; 5474 default: 5475 break; 5476 }; 5477 break; 5478 /* linux_lchown */ 5479 case 198: 5480 switch (ndx) { 5481 case 0: 5482 p = "userland char *"; 5483 break; 5484 case 1: 5485 p = "l_uid_t"; 5486 break; 5487 case 2: 5488 p = "l_gid_t"; 5489 break; 5490 default: 5491 break; 5492 }; 5493 break; 5494 /* linux_getuid */ 5495 case 199: 5496 break; 5497 /* linux_getgid */ 5498 case 200: 5499 break; 5500 /* geteuid */ 5501 case 201: 5502 break; 5503 /* getegid */ 5504 case 202: 5505 break; 5506 /* setreuid */ 5507 case 203: 5508 switch (ndx) { 5509 case 0: 5510 p = "uid_t"; 5511 break; 5512 case 1: 5513 p = "uid_t"; 5514 break; 5515 default: 5516 break; 5517 }; 5518 break; 5519 /* setregid */ 5520 case 204: 5521 switch (ndx) { 5522 case 0: 5523 p = "gid_t"; 5524 break; 5525 case 1: 5526 p = "gid_t"; 5527 break; 5528 default: 5529 break; 5530 }; 5531 break; 5532 /* linux_getgroups */ 5533 case 205: 5534 switch (ndx) { 5535 case 0: 5536 p = "l_int"; 5537 break; 5538 case 1: 5539 p = "userland l_gid_t *"; 5540 break; 5541 default: 5542 break; 5543 }; 5544 break; 5545 /* linux_setgroups */ 5546 case 206: 5547 switch (ndx) { 5548 case 0: 5549 p = "l_int"; 5550 break; 5551 case 1: 5552 p = "userland l_gid_t *"; 5553 break; 5554 default: 5555 break; 5556 }; 5557 break; 5558 /* fchown */ 5559 case 207: 5560 break; 5561 /* setresuid */ 5562 case 208: 5563 switch (ndx) { 5564 case 0: 5565 p = "uid_t"; 5566 break; 5567 case 1: 5568 p = "uid_t"; 5569 break; 5570 case 2: 5571 p = "uid_t"; 5572 break; 5573 default: 5574 break; 5575 }; 5576 break; 5577 /* getresuid */ 5578 case 209: 5579 switch (ndx) { 5580 case 0: 5581 p = "userland uid_t *"; 5582 break; 5583 case 1: 5584 p = "userland uid_t *"; 5585 break; 5586 case 2: 5587 p = "userland uid_t *"; 5588 break; 5589 default: 5590 break; 5591 }; 5592 break; 5593 /* setresgid */ 5594 case 210: 5595 switch (ndx) { 5596 case 0: 5597 p = "gid_t"; 5598 break; 5599 case 1: 5600 p = "gid_t"; 5601 break; 5602 case 2: 5603 p = "gid_t"; 5604 break; 5605 default: 5606 break; 5607 }; 5608 break; 5609 /* getresgid */ 5610 case 211: 5611 switch (ndx) { 5612 case 0: 5613 p = "userland gid_t *"; 5614 break; 5615 case 1: 5616 p = "userland gid_t *"; 5617 break; 5618 case 2: 5619 p = "userland gid_t *"; 5620 break; 5621 default: 5622 break; 5623 }; 5624 break; 5625 /* linux_chown */ 5626 case 212: 5627 switch (ndx) { 5628 case 0: 5629 p = "userland char *"; 5630 break; 5631 case 1: 5632 p = "l_uid_t"; 5633 break; 5634 case 2: 5635 p = "l_gid_t"; 5636 break; 5637 default: 5638 break; 5639 }; 5640 break; 5641 /* setuid */ 5642 case 213: 5643 switch (ndx) { 5644 case 0: 5645 p = "uid_t"; 5646 break; 5647 default: 5648 break; 5649 }; 5650 break; 5651 /* setgid */ 5652 case 214: 5653 switch (ndx) { 5654 case 0: 5655 p = "gid_t"; 5656 break; 5657 default: 5658 break; 5659 }; 5660 break; 5661 /* linux_setfsuid */ 5662 case 215: 5663 switch (ndx) { 5664 case 0: 5665 p = "l_uid_t"; 5666 break; 5667 default: 5668 break; 5669 }; 5670 break; 5671 /* linux_setfsgid */ 5672 case 216: 5673 switch (ndx) { 5674 case 0: 5675 p = "l_gid_t"; 5676 break; 5677 default: 5678 break; 5679 }; 5680 break; 5681 /* linux_pivot_root */ 5682 case 217: 5683 switch (ndx) { 5684 case 0: 5685 p = "userland char *"; 5686 break; 5687 case 1: 5688 p = "userland char *"; 5689 break; 5690 default: 5691 break; 5692 }; 5693 break; 5694 /* linux_mincore */ 5695 case 218: 5696 switch (ndx) { 5697 case 0: 5698 p = "l_ulong"; 5699 break; 5700 case 1: 5701 p = "l_size_t"; 5702 break; 5703 case 2: 5704 p = "userland u_char *"; 5705 break; 5706 default: 5707 break; 5708 }; 5709 break; 5710 /* linux_madvise */ 5711 case 219: 5712 switch (ndx) { 5713 case 0: 5714 p = "userland void *"; 5715 break; 5716 case 1: 5717 p = "size_t"; 5718 break; 5719 case 2: 5720 p = "int"; 5721 break; 5722 default: 5723 break; 5724 }; 5725 break; 5726 /* linux_getdents64 */ 5727 case 220: 5728 switch (ndx) { 5729 case 0: 5730 p = "l_uint"; 5731 break; 5732 case 1: 5733 p = "userland void *"; 5734 break; 5735 case 2: 5736 p = "l_uint"; 5737 break; 5738 default: 5739 break; 5740 }; 5741 break; 5742 /* linux_fcntl64 */ 5743 case 221: 5744 switch (ndx) { 5745 case 0: 5746 p = "l_uint"; 5747 break; 5748 case 1: 5749 p = "l_uint"; 5750 break; 5751 case 2: 5752 p = "l_ulong"; 5753 break; 5754 default: 5755 break; 5756 }; 5757 break; 5758 /* linux_gettid */ 5759 case 224: 5760 break; 5761 /* linux_setxattr */ 5762 case 226: 5763 switch (ndx) { 5764 case 0: 5765 p = "userland const char *"; 5766 break; 5767 case 1: 5768 p = "userland const char *"; 5769 break; 5770 case 2: 5771 p = "userland void *"; 5772 break; 5773 case 3: 5774 p = "l_size_t"; 5775 break; 5776 case 4: 5777 p = "l_int"; 5778 break; 5779 default: 5780 break; 5781 }; 5782 break; 5783 /* linux_lsetxattr */ 5784 case 227: 5785 switch (ndx) { 5786 case 0: 5787 p = "userland const char *"; 5788 break; 5789 case 1: 5790 p = "userland const char *"; 5791 break; 5792 case 2: 5793 p = "userland void *"; 5794 break; 5795 case 3: 5796 p = "l_size_t"; 5797 break; 5798 case 4: 5799 p = "l_int"; 5800 break; 5801 default: 5802 break; 5803 }; 5804 break; 5805 /* linux_fsetxattr */ 5806 case 228: 5807 switch (ndx) { 5808 case 0: 5809 p = "l_int"; 5810 break; 5811 case 1: 5812 p = "userland const char *"; 5813 break; 5814 case 2: 5815 p = "userland void *"; 5816 break; 5817 case 3: 5818 p = "l_size_t"; 5819 break; 5820 case 4: 5821 p = "l_int"; 5822 break; 5823 default: 5824 break; 5825 }; 5826 break; 5827 /* linux_getxattr */ 5828 case 229: 5829 switch (ndx) { 5830 case 0: 5831 p = "userland const char *"; 5832 break; 5833 case 1: 5834 p = "userland const char *"; 5835 break; 5836 case 2: 5837 p = "userland void *"; 5838 break; 5839 case 3: 5840 p = "l_size_t"; 5841 break; 5842 default: 5843 break; 5844 }; 5845 break; 5846 /* linux_lgetxattr */ 5847 case 230: 5848 switch (ndx) { 5849 case 0: 5850 p = "userland const char *"; 5851 break; 5852 case 1: 5853 p = "userland const char *"; 5854 break; 5855 case 2: 5856 p = "userland void *"; 5857 break; 5858 case 3: 5859 p = "l_size_t"; 5860 break; 5861 default: 5862 break; 5863 }; 5864 break; 5865 /* linux_fgetxattr */ 5866 case 231: 5867 switch (ndx) { 5868 case 0: 5869 p = "l_int"; 5870 break; 5871 case 1: 5872 p = "userland const char *"; 5873 break; 5874 case 2: 5875 p = "userland void *"; 5876 break; 5877 case 3: 5878 p = "l_size_t"; 5879 break; 5880 default: 5881 break; 5882 }; 5883 break; 5884 /* linux_listxattr */ 5885 case 232: 5886 switch (ndx) { 5887 case 0: 5888 p = "userland const char *"; 5889 break; 5890 case 1: 5891 p = "userland char *"; 5892 break; 5893 case 2: 5894 p = "l_size_t"; 5895 break; 5896 default: 5897 break; 5898 }; 5899 break; 5900 /* linux_llistxattr */ 5901 case 233: 5902 switch (ndx) { 5903 case 0: 5904 p = "userland const char *"; 5905 break; 5906 case 1: 5907 p = "userland char *"; 5908 break; 5909 case 2: 5910 p = "l_size_t"; 5911 break; 5912 default: 5913 break; 5914 }; 5915 break; 5916 /* linux_flistxattr */ 5917 case 234: 5918 switch (ndx) { 5919 case 0: 5920 p = "l_int"; 5921 break; 5922 case 1: 5923 p = "userland char *"; 5924 break; 5925 case 2: 5926 p = "l_size_t"; 5927 break; 5928 default: 5929 break; 5930 }; 5931 break; 5932 /* linux_removexattr */ 5933 case 235: 5934 switch (ndx) { 5935 case 0: 5936 p = "userland const char *"; 5937 break; 5938 case 1: 5939 p = "userland const char *"; 5940 break; 5941 default: 5942 break; 5943 }; 5944 break; 5945 /* linux_lremovexattr */ 5946 case 236: 5947 switch (ndx) { 5948 case 0: 5949 p = "userland const char *"; 5950 break; 5951 case 1: 5952 p = "userland const char *"; 5953 break; 5954 default: 5955 break; 5956 }; 5957 break; 5958 /* linux_fremovexattr */ 5959 case 237: 5960 switch (ndx) { 5961 case 0: 5962 p = "l_int"; 5963 break; 5964 case 1: 5965 p = "userland const char *"; 5966 break; 5967 default: 5968 break; 5969 }; 5970 break; 5971 /* linux_tkill */ 5972 case 238: 5973 switch (ndx) { 5974 case 0: 5975 p = "int"; 5976 break; 5977 case 1: 5978 p = "int"; 5979 break; 5980 default: 5981 break; 5982 }; 5983 break; 5984 /* linux_sendfile64 */ 5985 case 239: 5986 switch (ndx) { 5987 case 0: 5988 p = "l_int"; 5989 break; 5990 case 1: 5991 p = "l_int"; 5992 break; 5993 case 2: 5994 p = "userland l_loff_t *"; 5995 break; 5996 case 3: 5997 p = "l_size_t"; 5998 break; 5999 default: 6000 break; 6001 }; 6002 break; 6003 /* linux_sys_futex */ 6004 case 240: 6005 switch (ndx) { 6006 case 0: 6007 p = "userland uint32_t *"; 6008 break; 6009 case 1: 6010 p = "l_int"; 6011 break; 6012 case 2: 6013 p = "uint32_t"; 6014 break; 6015 case 3: 6016 p = "userland struct l_timespec *"; 6017 break; 6018 case 4: 6019 p = "userland uint32_t *"; 6020 break; 6021 case 5: 6022 p = "uint32_t"; 6023 break; 6024 default: 6025 break; 6026 }; 6027 break; 6028 /* linux_sched_setaffinity */ 6029 case 241: 6030 switch (ndx) { 6031 case 0: 6032 p = "l_pid_t"; 6033 break; 6034 case 1: 6035 p = "l_uint"; 6036 break; 6037 case 2: 6038 p = "userland l_ulong *"; 6039 break; 6040 default: 6041 break; 6042 }; 6043 break; 6044 /* linux_sched_getaffinity */ 6045 case 242: 6046 switch (ndx) { 6047 case 0: 6048 p = "l_pid_t"; 6049 break; 6050 case 1: 6051 p = "l_uint"; 6052 break; 6053 case 2: 6054 p = "userland l_ulong *"; 6055 break; 6056 default: 6057 break; 6058 }; 6059 break; 6060 /* linux_set_thread_area */ 6061 case 243: 6062 switch (ndx) { 6063 case 0: 6064 p = "userland struct l_user_desc *"; 6065 break; 6066 default: 6067 break; 6068 }; 6069 break; 6070 /* linux_get_thread_area */ 6071 case 244: 6072 switch (ndx) { 6073 case 0: 6074 p = "userland struct l_user_desc *"; 6075 break; 6076 default: 6077 break; 6078 }; 6079 break; 6080 /* linux_fadvise64 */ 6081 case 250: 6082 switch (ndx) { 6083 case 0: 6084 p = "int"; 6085 break; 6086 case 1: 6087 p = "l_loff_t"; 6088 break; 6089 case 2: 6090 p = "l_size_t"; 6091 break; 6092 case 3: 6093 p = "int"; 6094 break; 6095 default: 6096 break; 6097 }; 6098 break; 6099 /* linux_exit_group */ 6100 case 252: 6101 switch (ndx) { 6102 case 0: 6103 p = "int"; 6104 break; 6105 default: 6106 break; 6107 }; 6108 break; 6109 /* linux_lookup_dcookie */ 6110 case 253: 6111 break; 6112 /* linux_epoll_create */ 6113 case 254: 6114 switch (ndx) { 6115 case 0: 6116 p = "l_int"; 6117 break; 6118 default: 6119 break; 6120 }; 6121 break; 6122 /* linux_epoll_ctl */ 6123 case 255: 6124 switch (ndx) { 6125 case 0: 6126 p = "l_int"; 6127 break; 6128 case 1: 6129 p = "l_int"; 6130 break; 6131 case 2: 6132 p = "l_int"; 6133 break; 6134 case 3: 6135 p = "userland struct epoll_event *"; 6136 break; 6137 default: 6138 break; 6139 }; 6140 break; 6141 /* linux_epoll_wait */ 6142 case 256: 6143 switch (ndx) { 6144 case 0: 6145 p = "l_int"; 6146 break; 6147 case 1: 6148 p = "userland struct epoll_event *"; 6149 break; 6150 case 2: 6151 p = "l_int"; 6152 break; 6153 case 3: 6154 p = "l_int"; 6155 break; 6156 default: 6157 break; 6158 }; 6159 break; 6160 /* linux_remap_file_pages */ 6161 case 257: 6162 break; 6163 /* linux_set_tid_address */ 6164 case 258: 6165 switch (ndx) { 6166 case 0: 6167 p = "userland int *"; 6168 break; 6169 default: 6170 break; 6171 }; 6172 break; 6173 /* linux_timer_create */ 6174 case 259: 6175 switch (ndx) { 6176 case 0: 6177 p = "clockid_t"; 6178 break; 6179 case 1: 6180 p = "userland struct sigevent *"; 6181 break; 6182 case 2: 6183 p = "userland l_timer_t *"; 6184 break; 6185 default: 6186 break; 6187 }; 6188 break; 6189 /* linux_timer_settime */ 6190 case 260: 6191 switch (ndx) { 6192 case 0: 6193 p = "l_timer_t"; 6194 break; 6195 case 1: 6196 p = "l_int"; 6197 break; 6198 case 2: 6199 p = "userland const struct itimerspec *"; 6200 break; 6201 case 3: 6202 p = "userland struct itimerspec *"; 6203 break; 6204 default: 6205 break; 6206 }; 6207 break; 6208 /* linux_timer_gettime */ 6209 case 261: 6210 switch (ndx) { 6211 case 0: 6212 p = "l_timer_t"; 6213 break; 6214 case 1: 6215 p = "userland struct itimerspec *"; 6216 break; 6217 default: 6218 break; 6219 }; 6220 break; 6221 /* linux_timer_getoverrun */ 6222 case 262: 6223 switch (ndx) { 6224 case 0: 6225 p = "l_timer_t"; 6226 break; 6227 default: 6228 break; 6229 }; 6230 break; 6231 /* linux_timer_delete */ 6232 case 263: 6233 switch (ndx) { 6234 case 0: 6235 p = "l_timer_t"; 6236 break; 6237 default: 6238 break; 6239 }; 6240 break; 6241 /* linux_clock_settime */ 6242 case 264: 6243 switch (ndx) { 6244 case 0: 6245 p = "clockid_t"; 6246 break; 6247 case 1: 6248 p = "userland struct l_timespec *"; 6249 break; 6250 default: 6251 break; 6252 }; 6253 break; 6254 /* linux_clock_gettime */ 6255 case 265: 6256 switch (ndx) { 6257 case 0: 6258 p = "clockid_t"; 6259 break; 6260 case 1: 6261 p = "userland struct l_timespec *"; 6262 break; 6263 default: 6264 break; 6265 }; 6266 break; 6267 /* linux_clock_getres */ 6268 case 266: 6269 switch (ndx) { 6270 case 0: 6271 p = "clockid_t"; 6272 break; 6273 case 1: 6274 p = "userland struct l_timespec *"; 6275 break; 6276 default: 6277 break; 6278 }; 6279 break; 6280 /* linux_clock_nanosleep */ 6281 case 267: 6282 switch (ndx) { 6283 case 0: 6284 p = "clockid_t"; 6285 break; 6286 case 1: 6287 p = "int"; 6288 break; 6289 case 2: 6290 p = "userland struct l_timespec *"; 6291 break; 6292 case 3: 6293 p = "userland struct l_timespec *"; 6294 break; 6295 default: 6296 break; 6297 }; 6298 break; 6299 /* linux_statfs64 */ 6300 case 268: 6301 switch (ndx) { 6302 case 0: 6303 p = "userland char *"; 6304 break; 6305 case 1: 6306 p = "size_t"; 6307 break; 6308 case 2: 6309 p = "userland struct l_statfs64_buf *"; 6310 break; 6311 default: 6312 break; 6313 }; 6314 break; 6315 /* linux_fstatfs64 */ 6316 case 269: 6317 switch (ndx) { 6318 case 0: 6319 p = "l_uint"; 6320 break; 6321 case 1: 6322 p = "size_t"; 6323 break; 6324 case 2: 6325 p = "userland struct l_statfs64_buf *"; 6326 break; 6327 default: 6328 break; 6329 }; 6330 break; 6331 /* linux_tgkill */ 6332 case 270: 6333 switch (ndx) { 6334 case 0: 6335 p = "int"; 6336 break; 6337 case 1: 6338 p = "int"; 6339 break; 6340 case 2: 6341 p = "int"; 6342 break; 6343 default: 6344 break; 6345 }; 6346 break; 6347 /* linux_utimes */ 6348 case 271: 6349 switch (ndx) { 6350 case 0: 6351 p = "userland char *"; 6352 break; 6353 case 1: 6354 p = "userland struct l_timeval *"; 6355 break; 6356 default: 6357 break; 6358 }; 6359 break; 6360 /* linux_fadvise64_64 */ 6361 case 272: 6362 switch (ndx) { 6363 case 0: 6364 p = "int"; 6365 break; 6366 case 1: 6367 p = "l_loff_t"; 6368 break; 6369 case 2: 6370 p = "l_loff_t"; 6371 break; 6372 case 3: 6373 p = "int"; 6374 break; 6375 default: 6376 break; 6377 }; 6378 break; 6379 /* linux_mbind */ 6380 case 274: 6381 break; 6382 /* linux_get_mempolicy */ 6383 case 275: 6384 break; 6385 /* linux_set_mempolicy */ 6386 case 276: 6387 break; 6388 /* linux_mq_open */ 6389 case 277: 6390 switch (ndx) { 6391 case 0: 6392 p = "userland const char *"; 6393 break; 6394 case 1: 6395 p = "l_int"; 6396 break; 6397 case 2: 6398 p = "l_mode_t"; 6399 break; 6400 case 3: 6401 p = "userland struct mq_attr *"; 6402 break; 6403 default: 6404 break; 6405 }; 6406 break; 6407 /* linux_mq_unlink */ 6408 case 278: 6409 switch (ndx) { 6410 case 0: 6411 p = "userland const char *"; 6412 break; 6413 default: 6414 break; 6415 }; 6416 break; 6417 /* linux_mq_timedsend */ 6418 case 279: 6419 switch (ndx) { 6420 case 0: 6421 p = "l_mqd_t"; 6422 break; 6423 case 1: 6424 p = "userland const char *"; 6425 break; 6426 case 2: 6427 p = "l_size_t"; 6428 break; 6429 case 3: 6430 p = "l_uint"; 6431 break; 6432 case 4: 6433 p = "userland const struct l_timespec *"; 6434 break; 6435 default: 6436 break; 6437 }; 6438 break; 6439 /* linux_mq_timedreceive */ 6440 case 280: 6441 switch (ndx) { 6442 case 0: 6443 p = "l_mqd_t"; 6444 break; 6445 case 1: 6446 p = "userland char *"; 6447 break; 6448 case 2: 6449 p = "l_size_t"; 6450 break; 6451 case 3: 6452 p = "userland l_uint *"; 6453 break; 6454 case 4: 6455 p = "userland const struct l_timespec *"; 6456 break; 6457 default: 6458 break; 6459 }; 6460 break; 6461 /* linux_mq_notify */ 6462 case 281: 6463 switch (ndx) { 6464 case 0: 6465 p = "l_mqd_t"; 6466 break; 6467 case 1: 6468 p = "userland const struct l_timespec *"; 6469 break; 6470 default: 6471 break; 6472 }; 6473 break; 6474 /* linux_mq_getsetattr */ 6475 case 282: 6476 switch (ndx) { 6477 case 0: 6478 p = "l_mqd_t"; 6479 break; 6480 case 1: 6481 p = "userland const struct mq_attr *"; 6482 break; 6483 case 2: 6484 p = "userland struct mq_attr *"; 6485 break; 6486 default: 6487 break; 6488 }; 6489 break; 6490 /* linux_kexec_load */ 6491 case 283: 6492 break; 6493 /* linux_waitid */ 6494 case 284: 6495 switch (ndx) { 6496 case 0: 6497 p = "int"; 6498 break; 6499 case 1: 6500 p = "l_pid_t"; 6501 break; 6502 case 2: 6503 p = "userland l_siginfo_t *"; 6504 break; 6505 case 3: 6506 p = "int"; 6507 break; 6508 case 4: 6509 p = "userland void *"; 6510 break; 6511 default: 6512 break; 6513 }; 6514 break; 6515 /* linux_add_key */ 6516 case 286: 6517 break; 6518 /* linux_request_key */ 6519 case 287: 6520 break; 6521 /* linux_keyctl */ 6522 case 288: 6523 break; 6524 /* linux_ioprio_set */ 6525 case 289: 6526 switch (ndx) { 6527 case 0: 6528 p = "l_int"; 6529 break; 6530 case 1: 6531 p = "l_int"; 6532 break; 6533 case 2: 6534 p = "l_int"; 6535 break; 6536 default: 6537 break; 6538 }; 6539 break; 6540 /* linux_ioprio_get */ 6541 case 290: 6542 switch (ndx) { 6543 case 0: 6544 p = "l_int"; 6545 break; 6546 case 1: 6547 p = "l_int"; 6548 break; 6549 default: 6550 break; 6551 }; 6552 break; 6553 /* linux_inotify_init */ 6554 case 291: 6555 break; 6556 /* linux_inotify_add_watch */ 6557 case 292: 6558 break; 6559 /* linux_inotify_rm_watch */ 6560 case 293: 6561 break; 6562 /* linux_migrate_pages */ 6563 case 294: 6564 break; 6565 /* linux_openat */ 6566 case 295: 6567 switch (ndx) { 6568 case 0: 6569 p = "l_int"; 6570 break; 6571 case 1: 6572 p = "userland const char *"; 6573 break; 6574 case 2: 6575 p = "l_int"; 6576 break; 6577 case 3: 6578 p = "l_int"; 6579 break; 6580 default: 6581 break; 6582 }; 6583 break; 6584 /* linux_mkdirat */ 6585 case 296: 6586 switch (ndx) { 6587 case 0: 6588 p = "l_int"; 6589 break; 6590 case 1: 6591 p = "userland const char *"; 6592 break; 6593 case 2: 6594 p = "l_int"; 6595 break; 6596 default: 6597 break; 6598 }; 6599 break; 6600 /* linux_mknodat */ 6601 case 297: 6602 switch (ndx) { 6603 case 0: 6604 p = "l_int"; 6605 break; 6606 case 1: 6607 p = "userland const char *"; 6608 break; 6609 case 2: 6610 p = "l_int"; 6611 break; 6612 case 3: 6613 p = "l_dev_t"; 6614 break; 6615 default: 6616 break; 6617 }; 6618 break; 6619 /* linux_fchownat */ 6620 case 298: 6621 switch (ndx) { 6622 case 0: 6623 p = "l_int"; 6624 break; 6625 case 1: 6626 p = "userland const char *"; 6627 break; 6628 case 2: 6629 p = "l_uid16_t"; 6630 break; 6631 case 3: 6632 p = "l_gid16_t"; 6633 break; 6634 case 4: 6635 p = "l_int"; 6636 break; 6637 default: 6638 break; 6639 }; 6640 break; 6641 /* linux_futimesat */ 6642 case 299: 6643 switch (ndx) { 6644 case 0: 6645 p = "l_int"; 6646 break; 6647 case 1: 6648 p = "userland char *"; 6649 break; 6650 case 2: 6651 p = "userland struct l_timeval *"; 6652 break; 6653 default: 6654 break; 6655 }; 6656 break; 6657 /* linux_fstatat64 */ 6658 case 300: 6659 switch (ndx) { 6660 case 0: 6661 p = "l_int"; 6662 break; 6663 case 1: 6664 p = "userland char *"; 6665 break; 6666 case 2: 6667 p = "userland struct l_stat64 *"; 6668 break; 6669 case 3: 6670 p = "l_int"; 6671 break; 6672 default: 6673 break; 6674 }; 6675 break; 6676 /* linux_unlinkat */ 6677 case 301: 6678 switch (ndx) { 6679 case 0: 6680 p = "l_int"; 6681 break; 6682 case 1: 6683 p = "userland const char *"; 6684 break; 6685 case 2: 6686 p = "l_int"; 6687 break; 6688 default: 6689 break; 6690 }; 6691 break; 6692 /* linux_renameat */ 6693 case 302: 6694 switch (ndx) { 6695 case 0: 6696 p = "l_int"; 6697 break; 6698 case 1: 6699 p = "userland const char *"; 6700 break; 6701 case 2: 6702 p = "l_int"; 6703 break; 6704 case 3: 6705 p = "userland const char *"; 6706 break; 6707 default: 6708 break; 6709 }; 6710 break; 6711 /* linux_linkat */ 6712 case 303: 6713 switch (ndx) { 6714 case 0: 6715 p = "l_int"; 6716 break; 6717 case 1: 6718 p = "userland const char *"; 6719 break; 6720 case 2: 6721 p = "l_int"; 6722 break; 6723 case 3: 6724 p = "userland const char *"; 6725 break; 6726 case 4: 6727 p = "l_int"; 6728 break; 6729 default: 6730 break; 6731 }; 6732 break; 6733 /* linux_symlinkat */ 6734 case 304: 6735 switch (ndx) { 6736 case 0: 6737 p = "userland const char *"; 6738 break; 6739 case 1: 6740 p = "l_int"; 6741 break; 6742 case 2: 6743 p = "userland const char *"; 6744 break; 6745 default: 6746 break; 6747 }; 6748 break; 6749 /* linux_readlinkat */ 6750 case 305: 6751 switch (ndx) { 6752 case 0: 6753 p = "l_int"; 6754 break; 6755 case 1: 6756 p = "userland const char *"; 6757 break; 6758 case 2: 6759 p = "userland char *"; 6760 break; 6761 case 3: 6762 p = "l_int"; 6763 break; 6764 default: 6765 break; 6766 }; 6767 break; 6768 /* linux_fchmodat */ 6769 case 306: 6770 switch (ndx) { 6771 case 0: 6772 p = "l_int"; 6773 break; 6774 case 1: 6775 p = "userland const char *"; 6776 break; 6777 case 2: 6778 p = "l_mode_t"; 6779 break; 6780 default: 6781 break; 6782 }; 6783 break; 6784 /* linux_faccessat */ 6785 case 307: 6786 switch (ndx) { 6787 case 0: 6788 p = "l_int"; 6789 break; 6790 case 1: 6791 p = "userland const char *"; 6792 break; 6793 case 2: 6794 p = "l_int"; 6795 break; 6796 default: 6797 break; 6798 }; 6799 break; 6800 /* linux_pselect6 */ 6801 case 308: 6802 switch (ndx) { 6803 case 0: 6804 p = "l_int"; 6805 break; 6806 case 1: 6807 p = "userland l_fd_set *"; 6808 break; 6809 case 2: 6810 p = "userland l_fd_set *"; 6811 break; 6812 case 3: 6813 p = "userland l_fd_set *"; 6814 break; 6815 case 4: 6816 p = "userland struct l_timespec *"; 6817 break; 6818 case 5: 6819 p = "userland l_uintptr_t *"; 6820 break; 6821 default: 6822 break; 6823 }; 6824 break; 6825 /* linux_ppoll */ 6826 case 309: 6827 switch (ndx) { 6828 case 0: 6829 p = "userland struct pollfd *"; 6830 break; 6831 case 1: 6832 p = "uint32_t"; 6833 break; 6834 case 2: 6835 p = "userland struct l_timespec *"; 6836 break; 6837 case 3: 6838 p = "userland l_sigset_t *"; 6839 break; 6840 case 4: 6841 p = "l_size_t"; 6842 break; 6843 default: 6844 break; 6845 }; 6846 break; 6847 /* linux_unshare */ 6848 case 310: 6849 break; 6850 /* linux_set_robust_list */ 6851 case 311: 6852 switch (ndx) { 6853 case 0: 6854 p = "userland struct linux_robust_list_head *"; 6855 break; 6856 case 1: 6857 p = "l_size_t"; 6858 break; 6859 default: 6860 break; 6861 }; 6862 break; 6863 /* linux_get_robust_list */ 6864 case 312: 6865 switch (ndx) { 6866 case 0: 6867 p = "l_int"; 6868 break; 6869 case 1: 6870 p = "userland struct linux_robust_list_head **"; 6871 break; 6872 case 2: 6873 p = "userland l_size_t *"; 6874 break; 6875 default: 6876 break; 6877 }; 6878 break; 6879 /* linux_splice */ 6880 case 313: 6881 switch (ndx) { 6882 case 0: 6883 p = "int"; 6884 break; 6885 case 1: 6886 p = "userland l_loff_t *"; 6887 break; 6888 case 2: 6889 p = "int"; 6890 break; 6891 case 3: 6892 p = "userland l_loff_t *"; 6893 break; 6894 case 4: 6895 p = "l_size_t"; 6896 break; 6897 case 5: 6898 p = "l_uint"; 6899 break; 6900 default: 6901 break; 6902 }; 6903 break; 6904 /* linux_sync_file_range */ 6905 case 314: 6906 switch (ndx) { 6907 case 0: 6908 p = "l_int"; 6909 break; 6910 case 1: 6911 p = "l_loff_t"; 6912 break; 6913 case 2: 6914 p = "l_loff_t"; 6915 break; 6916 case 3: 6917 p = "unsigned int"; 6918 break; 6919 default: 6920 break; 6921 }; 6922 break; 6923 /* linux_tee */ 6924 case 315: 6925 break; 6926 /* linux_vmsplice */ 6927 case 316: 6928 break; 6929 /* linux_move_pages */ 6930 case 317: 6931 break; 6932 /* linux_getcpu */ 6933 case 318: 6934 switch (ndx) { 6935 case 0: 6936 p = "userland l_uint *"; 6937 break; 6938 case 1: 6939 p = "userland l_uint *"; 6940 break; 6941 case 2: 6942 p = "userland void *"; 6943 break; 6944 default: 6945 break; 6946 }; 6947 break; 6948 /* linux_epoll_pwait */ 6949 case 319: 6950 switch (ndx) { 6951 case 0: 6952 p = "l_int"; 6953 break; 6954 case 1: 6955 p = "userland struct epoll_event *"; 6956 break; 6957 case 2: 6958 p = "l_int"; 6959 break; 6960 case 3: 6961 p = "l_int"; 6962 break; 6963 case 4: 6964 p = "userland l_sigset_t *"; 6965 break; 6966 case 5: 6967 p = "l_size_t"; 6968 break; 6969 default: 6970 break; 6971 }; 6972 break; 6973 /* linux_utimensat */ 6974 case 320: 6975 switch (ndx) { 6976 case 0: 6977 p = "l_int"; 6978 break; 6979 case 1: 6980 p = "userland const char *"; 6981 break; 6982 case 2: 6983 p = "userland const struct l_timespec *"; 6984 break; 6985 case 3: 6986 p = "l_int"; 6987 break; 6988 default: 6989 break; 6990 }; 6991 break; 6992 /* linux_signalfd */ 6993 case 321: 6994 break; 6995 /* linux_timerfd_create */ 6996 case 322: 6997 switch (ndx) { 6998 case 0: 6999 p = "l_int"; 7000 break; 7001 case 1: 7002 p = "l_int"; 7003 break; 7004 default: 7005 break; 7006 }; 7007 break; 7008 /* linux_eventfd */ 7009 case 323: 7010 switch (ndx) { 7011 case 0: 7012 p = "l_uint"; 7013 break; 7014 default: 7015 break; 7016 }; 7017 break; 7018 /* linux_fallocate */ 7019 case 324: 7020 switch (ndx) { 7021 case 0: 7022 p = "l_int"; 7023 break; 7024 case 1: 7025 p = "l_int"; 7026 break; 7027 case 2: 7028 p = "l_loff_t"; 7029 break; 7030 case 3: 7031 p = "l_loff_t"; 7032 break; 7033 default: 7034 break; 7035 }; 7036 break; 7037 /* linux_timerfd_settime */ 7038 case 325: 7039 switch (ndx) { 7040 case 0: 7041 p = "l_int"; 7042 break; 7043 case 1: 7044 p = "l_int"; 7045 break; 7046 case 2: 7047 p = "userland const struct l_itimerspec *"; 7048 break; 7049 case 3: 7050 p = "userland struct l_itimerspec *"; 7051 break; 7052 default: 7053 break; 7054 }; 7055 break; 7056 /* linux_timerfd_gettime */ 7057 case 326: 7058 switch (ndx) { 7059 case 0: 7060 p = "l_int"; 7061 break; 7062 case 1: 7063 p = "userland struct l_itimerspec *"; 7064 break; 7065 default: 7066 break; 7067 }; 7068 break; 7069 /* linux_signalfd4 */ 7070 case 327: 7071 break; 7072 /* linux_eventfd2 */ 7073 case 328: 7074 switch (ndx) { 7075 case 0: 7076 p = "l_uint"; 7077 break; 7078 case 1: 7079 p = "l_int"; 7080 break; 7081 default: 7082 break; 7083 }; 7084 break; 7085 /* linux_epoll_create1 */ 7086 case 329: 7087 switch (ndx) { 7088 case 0: 7089 p = "l_int"; 7090 break; 7091 default: 7092 break; 7093 }; 7094 break; 7095 /* linux_dup3 */ 7096 case 330: 7097 switch (ndx) { 7098 case 0: 7099 p = "l_int"; 7100 break; 7101 case 1: 7102 p = "l_int"; 7103 break; 7104 case 2: 7105 p = "l_int"; 7106 break; 7107 default: 7108 break; 7109 }; 7110 break; 7111 /* linux_pipe2 */ 7112 case 331: 7113 switch (ndx) { 7114 case 0: 7115 p = "userland l_int *"; 7116 break; 7117 case 1: 7118 p = "l_int"; 7119 break; 7120 default: 7121 break; 7122 }; 7123 break; 7124 /* linux_inotify_init1 */ 7125 case 332: 7126 break; 7127 /* linux_preadv */ 7128 case 333: 7129 switch (ndx) { 7130 case 0: 7131 p = "l_ulong"; 7132 break; 7133 case 1: 7134 p = "userland struct iovec *"; 7135 break; 7136 case 2: 7137 p = "l_ulong"; 7138 break; 7139 case 3: 7140 p = "l_ulong"; 7141 break; 7142 case 4: 7143 p = "l_ulong"; 7144 break; 7145 default: 7146 break; 7147 }; 7148 break; 7149 /* linux_pwritev */ 7150 case 334: 7151 switch (ndx) { 7152 case 0: 7153 p = "l_ulong"; 7154 break; 7155 case 1: 7156 p = "userland struct iovec *"; 7157 break; 7158 case 2: 7159 p = "l_ulong"; 7160 break; 7161 case 3: 7162 p = "l_ulong"; 7163 break; 7164 case 4: 7165 p = "l_ulong"; 7166 break; 7167 default: 7168 break; 7169 }; 7170 break; 7171 /* linux_rt_tgsigqueueinfo */ 7172 case 335: 7173 switch (ndx) { 7174 case 0: 7175 p = "l_pid_t"; 7176 break; 7177 case 1: 7178 p = "l_pid_t"; 7179 break; 7180 case 2: 7181 p = "l_int"; 7182 break; 7183 case 3: 7184 p = "userland l_siginfo_t *"; 7185 break; 7186 default: 7187 break; 7188 }; 7189 break; 7190 /* linux_perf_event_open */ 7191 case 336: 7192 break; 7193 /* linux_recvmmsg */ 7194 case 337: 7195 switch (ndx) { 7196 case 0: 7197 p = "l_int"; 7198 break; 7199 case 1: 7200 p = "userland struct l_mmsghdr *"; 7201 break; 7202 case 2: 7203 p = "l_uint"; 7204 break; 7205 case 3: 7206 p = "l_uint"; 7207 break; 7208 case 4: 7209 p = "userland struct l_timespec *"; 7210 break; 7211 default: 7212 break; 7213 }; 7214 break; 7215 /* linux_fanotify_init */ 7216 case 338: 7217 break; 7218 /* linux_fanotify_mark */ 7219 case 339: 7220 break; 7221 /* linux_prlimit64 */ 7222 case 340: 7223 switch (ndx) { 7224 case 0: 7225 p = "l_pid_t"; 7226 break; 7227 case 1: 7228 p = "l_uint"; 7229 break; 7230 case 2: 7231 p = "userland struct rlimit *"; 7232 break; 7233 case 3: 7234 p = "userland struct rlimit *"; 7235 break; 7236 default: 7237 break; 7238 }; 7239 break; 7240 /* linux_name_to_handle_at */ 7241 case 341: 7242 switch (ndx) { 7243 case 0: 7244 p = "l_int"; 7245 break; 7246 case 1: 7247 p = "userland const char *"; 7248 break; 7249 case 2: 7250 p = "userland struct l_file_handle *"; 7251 break; 7252 case 3: 7253 p = "userland l_int *"; 7254 break; 7255 case 4: 7256 p = "l_int"; 7257 break; 7258 default: 7259 break; 7260 }; 7261 break; 7262 /* linux_open_by_handle_at */ 7263 case 342: 7264 switch (ndx) { 7265 case 0: 7266 p = "l_int"; 7267 break; 7268 case 1: 7269 p = "userland struct l_file_handle *"; 7270 break; 7271 case 2: 7272 p = "l_int"; 7273 break; 7274 default: 7275 break; 7276 }; 7277 break; 7278 /* linux_clock_adjtime */ 7279 case 343: 7280 break; 7281 /* linux_syncfs */ 7282 case 344: 7283 switch (ndx) { 7284 case 0: 7285 p = "l_int"; 7286 break; 7287 default: 7288 break; 7289 }; 7290 break; 7291 /* linux_sendmmsg */ 7292 case 345: 7293 switch (ndx) { 7294 case 0: 7295 p = "l_int"; 7296 break; 7297 case 1: 7298 p = "userland struct l_mmsghdr *"; 7299 break; 7300 case 2: 7301 p = "l_uint"; 7302 break; 7303 case 3: 7304 p = "l_uint"; 7305 break; 7306 default: 7307 break; 7308 }; 7309 break; 7310 /* linux_setns */ 7311 case 346: 7312 break; 7313 /* linux_process_vm_readv */ 7314 case 347: 7315 switch (ndx) { 7316 case 0: 7317 p = "l_pid_t"; 7318 break; 7319 case 1: 7320 p = "userland const struct iovec *"; 7321 break; 7322 case 2: 7323 p = "l_ulong"; 7324 break; 7325 case 3: 7326 p = "userland const struct iovec *"; 7327 break; 7328 case 4: 7329 p = "l_ulong"; 7330 break; 7331 case 5: 7332 p = "l_ulong"; 7333 break; 7334 default: 7335 break; 7336 }; 7337 break; 7338 /* linux_process_vm_writev */ 7339 case 348: 7340 switch (ndx) { 7341 case 0: 7342 p = "l_pid_t"; 7343 break; 7344 case 1: 7345 p = "userland const struct iovec *"; 7346 break; 7347 case 2: 7348 p = "l_ulong"; 7349 break; 7350 case 3: 7351 p = "userland const struct iovec *"; 7352 break; 7353 case 4: 7354 p = "l_ulong"; 7355 break; 7356 case 5: 7357 p = "l_ulong"; 7358 break; 7359 default: 7360 break; 7361 }; 7362 break; 7363 /* linux_kcmp */ 7364 case 349: 7365 switch (ndx) { 7366 case 0: 7367 p = "l_pid_t"; 7368 break; 7369 case 1: 7370 p = "l_pid_t"; 7371 break; 7372 case 2: 7373 p = "l_int"; 7374 break; 7375 case 3: 7376 p = "l_ulong"; 7377 break; 7378 case 4: 7379 p = "l_ulong"; 7380 break; 7381 default: 7382 break; 7383 }; 7384 break; 7385 /* linux_finit_module */ 7386 case 350: 7387 switch (ndx) { 7388 case 0: 7389 p = "l_int"; 7390 break; 7391 case 1: 7392 p = "userland const char *"; 7393 break; 7394 case 2: 7395 p = "l_int"; 7396 break; 7397 default: 7398 break; 7399 }; 7400 break; 7401 /* linux_sched_setattr */ 7402 case 351: 7403 switch (ndx) { 7404 case 0: 7405 p = "l_pid_t"; 7406 break; 7407 case 1: 7408 p = "userland void *"; 7409 break; 7410 case 2: 7411 p = "l_uint"; 7412 break; 7413 default: 7414 break; 7415 }; 7416 break; 7417 /* linux_sched_getattr */ 7418 case 352: 7419 switch (ndx) { 7420 case 0: 7421 p = "l_pid_t"; 7422 break; 7423 case 1: 7424 p = "userland void *"; 7425 break; 7426 case 2: 7427 p = "l_uint"; 7428 break; 7429 case 3: 7430 p = "l_uint"; 7431 break; 7432 default: 7433 break; 7434 }; 7435 break; 7436 /* linux_renameat2 */ 7437 case 353: 7438 switch (ndx) { 7439 case 0: 7440 p = "l_int"; 7441 break; 7442 case 1: 7443 p = "userland const char *"; 7444 break; 7445 case 2: 7446 p = "l_int"; 7447 break; 7448 case 3: 7449 p = "userland const char *"; 7450 break; 7451 case 4: 7452 p = "unsigned int"; 7453 break; 7454 default: 7455 break; 7456 }; 7457 break; 7458 /* linux_seccomp */ 7459 case 354: 7460 switch (ndx) { 7461 case 0: 7462 p = "l_uint"; 7463 break; 7464 case 1: 7465 p = "l_uint"; 7466 break; 7467 case 2: 7468 p = "userland const char *"; 7469 break; 7470 default: 7471 break; 7472 }; 7473 break; 7474 /* linux_getrandom */ 7475 case 355: 7476 switch (ndx) { 7477 case 0: 7478 p = "userland char *"; 7479 break; 7480 case 1: 7481 p = "l_size_t"; 7482 break; 7483 case 2: 7484 p = "l_uint"; 7485 break; 7486 default: 7487 break; 7488 }; 7489 break; 7490 /* linux_memfd_create */ 7491 case 356: 7492 switch (ndx) { 7493 case 0: 7494 p = "userland const char *"; 7495 break; 7496 case 1: 7497 p = "l_uint"; 7498 break; 7499 default: 7500 break; 7501 }; 7502 break; 7503 /* linux_bpf */ 7504 case 357: 7505 switch (ndx) { 7506 case 0: 7507 p = "l_int"; 7508 break; 7509 case 1: 7510 p = "userland void *"; 7511 break; 7512 case 2: 7513 p = "l_uint"; 7514 break; 7515 default: 7516 break; 7517 }; 7518 break; 7519 /* linux_execveat */ 7520 case 358: 7521 switch (ndx) { 7522 case 0: 7523 p = "l_int"; 7524 break; 7525 case 1: 7526 p = "userland const char *"; 7527 break; 7528 case 2: 7529 p = "userland const char **"; 7530 break; 7531 case 3: 7532 p = "userland const char **"; 7533 break; 7534 case 4: 7535 p = "l_int"; 7536 break; 7537 default: 7538 break; 7539 }; 7540 break; 7541 /* linux_socket */ 7542 case 359: 7543 switch (ndx) { 7544 case 0: 7545 p = "l_int"; 7546 break; 7547 case 1: 7548 p = "l_int"; 7549 break; 7550 case 2: 7551 p = "l_int"; 7552 break; 7553 default: 7554 break; 7555 }; 7556 break; 7557 /* linux_socketpair */ 7558 case 360: 7559 switch (ndx) { 7560 case 0: 7561 p = "l_int"; 7562 break; 7563 case 1: 7564 p = "l_int"; 7565 break; 7566 case 2: 7567 p = "l_int"; 7568 break; 7569 case 3: 7570 p = "l_uintptr_t"; 7571 break; 7572 default: 7573 break; 7574 }; 7575 break; 7576 /* linux_bind */ 7577 case 361: 7578 switch (ndx) { 7579 case 0: 7580 p = "l_int"; 7581 break; 7582 case 1: 7583 p = "l_uintptr_t"; 7584 break; 7585 case 2: 7586 p = "l_int"; 7587 break; 7588 default: 7589 break; 7590 }; 7591 break; 7592 /* linux_connect */ 7593 case 362: 7594 switch (ndx) { 7595 case 0: 7596 p = "l_int"; 7597 break; 7598 case 1: 7599 p = "l_uintptr_t"; 7600 break; 7601 case 2: 7602 p = "l_int"; 7603 break; 7604 default: 7605 break; 7606 }; 7607 break; 7608 /* linux_listen */ 7609 case 363: 7610 switch (ndx) { 7611 case 0: 7612 p = "l_int"; 7613 break; 7614 case 1: 7615 p = "l_int"; 7616 break; 7617 default: 7618 break; 7619 }; 7620 break; 7621 /* linux_accept4 */ 7622 case 364: 7623 switch (ndx) { 7624 case 0: 7625 p = "l_int"; 7626 break; 7627 case 1: 7628 p = "l_uintptr_t"; 7629 break; 7630 case 2: 7631 p = "l_uintptr_t"; 7632 break; 7633 case 3: 7634 p = "l_int"; 7635 break; 7636 default: 7637 break; 7638 }; 7639 break; 7640 /* linux_getsockopt */ 7641 case 365: 7642 switch (ndx) { 7643 case 0: 7644 p = "l_int"; 7645 break; 7646 case 1: 7647 p = "l_int"; 7648 break; 7649 case 2: 7650 p = "l_int"; 7651 break; 7652 case 3: 7653 p = "l_uintptr_t"; 7654 break; 7655 case 4: 7656 p = "l_uintptr_t"; 7657 break; 7658 default: 7659 break; 7660 }; 7661 break; 7662 /* linux_setsockopt */ 7663 case 366: 7664 switch (ndx) { 7665 case 0: 7666 p = "l_int"; 7667 break; 7668 case 1: 7669 p = "l_int"; 7670 break; 7671 case 2: 7672 p = "l_int"; 7673 break; 7674 case 3: 7675 p = "l_uintptr_t"; 7676 break; 7677 case 4: 7678 p = "l_int"; 7679 break; 7680 default: 7681 break; 7682 }; 7683 break; 7684 /* linux_getsockname */ 7685 case 367: 7686 switch (ndx) { 7687 case 0: 7688 p = "l_int"; 7689 break; 7690 case 1: 7691 p = "l_uintptr_t"; 7692 break; 7693 case 2: 7694 p = "l_uintptr_t"; 7695 break; 7696 default: 7697 break; 7698 }; 7699 break; 7700 /* linux_getpeername */ 7701 case 368: 7702 switch (ndx) { 7703 case 0: 7704 p = "l_int"; 7705 break; 7706 case 1: 7707 p = "l_uintptr_t"; 7708 break; 7709 case 2: 7710 p = "l_uintptr_t"; 7711 break; 7712 default: 7713 break; 7714 }; 7715 break; 7716 /* linux_sendto */ 7717 case 369: 7718 switch (ndx) { 7719 case 0: 7720 p = "l_int"; 7721 break; 7722 case 1: 7723 p = "l_uintptr_t"; 7724 break; 7725 case 2: 7726 p = "l_int"; 7727 break; 7728 case 3: 7729 p = "l_int"; 7730 break; 7731 case 4: 7732 p = "l_uintptr_t"; 7733 break; 7734 case 5: 7735 p = "l_int"; 7736 break; 7737 default: 7738 break; 7739 }; 7740 break; 7741 /* linux_sendmsg */ 7742 case 370: 7743 switch (ndx) { 7744 case 0: 7745 p = "l_int"; 7746 break; 7747 case 1: 7748 p = "l_uintptr_t"; 7749 break; 7750 case 2: 7751 p = "l_int"; 7752 break; 7753 default: 7754 break; 7755 }; 7756 break; 7757 /* linux_recvfrom */ 7758 case 371: 7759 switch (ndx) { 7760 case 0: 7761 p = "l_int"; 7762 break; 7763 case 1: 7764 p = "l_uintptr_t"; 7765 break; 7766 case 2: 7767 p = "l_size_t"; 7768 break; 7769 case 3: 7770 p = "l_int"; 7771 break; 7772 case 4: 7773 p = "l_uintptr_t"; 7774 break; 7775 case 5: 7776 p = "l_uintptr_t"; 7777 break; 7778 default: 7779 break; 7780 }; 7781 break; 7782 /* linux_recvmsg */ 7783 case 372: 7784 switch (ndx) { 7785 case 0: 7786 p = "l_int"; 7787 break; 7788 case 1: 7789 p = "l_uintptr_t"; 7790 break; 7791 case 2: 7792 p = "l_int"; 7793 break; 7794 default: 7795 break; 7796 }; 7797 break; 7798 /* linux_shutdown */ 7799 case 373: 7800 switch (ndx) { 7801 case 0: 7802 p = "l_int"; 7803 break; 7804 case 1: 7805 p = "l_int"; 7806 break; 7807 default: 7808 break; 7809 }; 7810 break; 7811 /* linux_userfaultfd */ 7812 case 374: 7813 switch (ndx) { 7814 case 0: 7815 p = "l_int"; 7816 break; 7817 default: 7818 break; 7819 }; 7820 break; 7821 /* linux_membarrier */ 7822 case 375: 7823 switch (ndx) { 7824 case 0: 7825 p = "l_int"; 7826 break; 7827 case 1: 7828 p = "l_int"; 7829 break; 7830 default: 7831 break; 7832 }; 7833 break; 7834 /* linux_mlock2 */ 7835 case 376: 7836 switch (ndx) { 7837 case 0: 7838 p = "l_ulong"; 7839 break; 7840 case 1: 7841 p = "l_size_t"; 7842 break; 7843 case 2: 7844 p = "l_int"; 7845 break; 7846 default: 7847 break; 7848 }; 7849 break; 7850 /* linux_copy_file_range */ 7851 case 377: 7852 switch (ndx) { 7853 case 0: 7854 p = "l_int"; 7855 break; 7856 case 1: 7857 p = "userland l_loff_t *"; 7858 break; 7859 case 2: 7860 p = "l_int"; 7861 break; 7862 case 3: 7863 p = "userland l_loff_t *"; 7864 break; 7865 case 4: 7866 p = "l_size_t"; 7867 break; 7868 case 5: 7869 p = "l_uint"; 7870 break; 7871 default: 7872 break; 7873 }; 7874 break; 7875 /* linux_preadv2 */ 7876 case 378: 7877 switch (ndx) { 7878 case 0: 7879 p = "l_ulong"; 7880 break; 7881 case 1: 7882 p = "userland const struct iovec *"; 7883 break; 7884 case 2: 7885 p = "l_ulong"; 7886 break; 7887 case 3: 7888 p = "l_ulong"; 7889 break; 7890 case 4: 7891 p = "l_ulong"; 7892 break; 7893 case 5: 7894 p = "l_int"; 7895 break; 7896 default: 7897 break; 7898 }; 7899 break; 7900 /* linux_pwritev2 */ 7901 case 379: 7902 switch (ndx) { 7903 case 0: 7904 p = "l_ulong"; 7905 break; 7906 case 1: 7907 p = "userland const struct iovec *"; 7908 break; 7909 case 2: 7910 p = "l_ulong"; 7911 break; 7912 case 3: 7913 p = "l_ulong"; 7914 break; 7915 case 4: 7916 p = "l_ulong"; 7917 break; 7918 case 5: 7919 p = "l_int"; 7920 break; 7921 default: 7922 break; 7923 }; 7924 break; 7925 /* linux_pkey_mprotect */ 7926 case 380: 7927 switch (ndx) { 7928 case 0: 7929 p = "l_ulong"; 7930 break; 7931 case 1: 7932 p = "l_size_t"; 7933 break; 7934 case 2: 7935 p = "l_ulong"; 7936 break; 7937 case 3: 7938 p = "l_int"; 7939 break; 7940 default: 7941 break; 7942 }; 7943 break; 7944 /* linux_pkey_alloc */ 7945 case 381: 7946 switch (ndx) { 7947 case 0: 7948 p = "l_ulong"; 7949 break; 7950 case 1: 7951 p = "l_ulong"; 7952 break; 7953 default: 7954 break; 7955 }; 7956 break; 7957 /* linux_pkey_free */ 7958 case 382: 7959 switch (ndx) { 7960 case 0: 7961 p = "l_int"; 7962 break; 7963 default: 7964 break; 7965 }; 7966 break; 7967 /* linux_statx */ 7968 case 383: 7969 switch (ndx) { 7970 case 0: 7971 p = "l_int"; 7972 break; 7973 case 1: 7974 p = "userland const char *"; 7975 break; 7976 case 2: 7977 p = "l_uint"; 7978 break; 7979 case 3: 7980 p = "l_uint"; 7981 break; 7982 case 4: 7983 p = "userland void *"; 7984 break; 7985 default: 7986 break; 7987 }; 7988 break; 7989 /* linux_arch_prctl */ 7990 case 384: 7991 switch (ndx) { 7992 case 0: 7993 p = "l_int"; 7994 break; 7995 case 1: 7996 p = "l_ulong"; 7997 break; 7998 default: 7999 break; 8000 }; 8001 break; 8002 /* linux_io_pgetevents */ 8003 case 385: 8004 break; 8005 /* linux_rseq */ 8006 case 386: 8007 switch (ndx) { 8008 case 0: 8009 p = "userland struct linux_rseq *"; 8010 break; 8011 case 1: 8012 p = "uint32_t"; 8013 break; 8014 case 2: 8015 p = "l_int"; 8016 break; 8017 case 3: 8018 p = "uint32_t"; 8019 break; 8020 default: 8021 break; 8022 }; 8023 break; 8024 /* linux_semget */ 8025 case 393: 8026 switch (ndx) { 8027 case 0: 8028 p = "l_key_t"; 8029 break; 8030 case 1: 8031 p = "l_int"; 8032 break; 8033 case 2: 8034 p = "l_int"; 8035 break; 8036 default: 8037 break; 8038 }; 8039 break; 8040 /* linux_semctl */ 8041 case 394: 8042 switch (ndx) { 8043 case 0: 8044 p = "l_int"; 8045 break; 8046 case 1: 8047 p = "l_int"; 8048 break; 8049 case 2: 8050 p = "l_int"; 8051 break; 8052 case 3: 8053 p = "union l_semun"; 8054 break; 8055 default: 8056 break; 8057 }; 8058 break; 8059 /* linux_shmget */ 8060 case 395: 8061 switch (ndx) { 8062 case 0: 8063 p = "l_key_t"; 8064 break; 8065 case 1: 8066 p = "l_size_t"; 8067 break; 8068 case 2: 8069 p = "l_int"; 8070 break; 8071 default: 8072 break; 8073 }; 8074 break; 8075 /* linux_shmctl */ 8076 case 396: 8077 switch (ndx) { 8078 case 0: 8079 p = "l_int"; 8080 break; 8081 case 1: 8082 p = "l_int"; 8083 break; 8084 case 2: 8085 p = "userland struct l_shmid_ds *"; 8086 break; 8087 default: 8088 break; 8089 }; 8090 break; 8091 /* linux_shmat */ 8092 case 397: 8093 switch (ndx) { 8094 case 0: 8095 p = "l_int"; 8096 break; 8097 case 1: 8098 p = "userland char *"; 8099 break; 8100 case 2: 8101 p = "l_int"; 8102 break; 8103 default: 8104 break; 8105 }; 8106 break; 8107 /* linux_shmdt */ 8108 case 398: 8109 switch (ndx) { 8110 case 0: 8111 p = "userland char *"; 8112 break; 8113 default: 8114 break; 8115 }; 8116 break; 8117 /* linux_msgget */ 8118 case 399: 8119 switch (ndx) { 8120 case 0: 8121 p = "l_key_t"; 8122 break; 8123 case 1: 8124 p = "l_int"; 8125 break; 8126 default: 8127 break; 8128 }; 8129 break; 8130 /* linux_msgsnd */ 8131 case 400: 8132 switch (ndx) { 8133 case 0: 8134 p = "l_int"; 8135 break; 8136 case 1: 8137 p = "userland struct l_msgbuf *"; 8138 break; 8139 case 2: 8140 p = "l_size_t"; 8141 break; 8142 case 3: 8143 p = "l_int"; 8144 break; 8145 default: 8146 break; 8147 }; 8148 break; 8149 /* linux_msgrcv */ 8150 case 401: 8151 switch (ndx) { 8152 case 0: 8153 p = "l_int"; 8154 break; 8155 case 1: 8156 p = "userland struct l_msgbuf *"; 8157 break; 8158 case 2: 8159 p = "l_size_t"; 8160 break; 8161 case 3: 8162 p = "l_long"; 8163 break; 8164 case 4: 8165 p = "l_int"; 8166 break; 8167 default: 8168 break; 8169 }; 8170 break; 8171 /* linux_msgctl */ 8172 case 402: 8173 switch (ndx) { 8174 case 0: 8175 p = "l_int"; 8176 break; 8177 case 1: 8178 p = "l_int"; 8179 break; 8180 case 2: 8181 p = "userland struct l_msqid_ds *"; 8182 break; 8183 default: 8184 break; 8185 }; 8186 break; 8187 /* linux_clock_gettime64 */ 8188 case 403: 8189 switch (ndx) { 8190 case 0: 8191 p = "clockid_t"; 8192 break; 8193 case 1: 8194 p = "userland struct l_timespec64 *"; 8195 break; 8196 default: 8197 break; 8198 }; 8199 break; 8200 /* linux_clock_settime64 */ 8201 case 404: 8202 switch (ndx) { 8203 case 0: 8204 p = "clockid_t"; 8205 break; 8206 case 1: 8207 p = "userland struct l_timespec64 *"; 8208 break; 8209 default: 8210 break; 8211 }; 8212 break; 8213 /* linux_clock_adjtime64 */ 8214 case 405: 8215 break; 8216 /* linux_clock_getres_time64 */ 8217 case 406: 8218 switch (ndx) { 8219 case 0: 8220 p = "clockid_t"; 8221 break; 8222 case 1: 8223 p = "userland struct l_timespec64 *"; 8224 break; 8225 default: 8226 break; 8227 }; 8228 break; 8229 /* linux_clock_nanosleep_time64 */ 8230 case 407: 8231 switch (ndx) { 8232 case 0: 8233 p = "clockid_t"; 8234 break; 8235 case 1: 8236 p = "l_int"; 8237 break; 8238 case 2: 8239 p = "userland struct l_timespec64 *"; 8240 break; 8241 case 3: 8242 p = "userland struct l_timespec64 *"; 8243 break; 8244 default: 8245 break; 8246 }; 8247 break; 8248 /* linux_timer_gettime64 */ 8249 case 408: 8250 switch (ndx) { 8251 case 0: 8252 p = "l_timer_t"; 8253 break; 8254 case 1: 8255 p = "userland struct l_itimerspec64 *"; 8256 break; 8257 default: 8258 break; 8259 }; 8260 break; 8261 /* linux_timer_settime64 */ 8262 case 409: 8263 switch (ndx) { 8264 case 0: 8265 p = "l_timer_t"; 8266 break; 8267 case 1: 8268 p = "l_int"; 8269 break; 8270 case 2: 8271 p = "userland const struct l_itimerspec64 *"; 8272 break; 8273 case 3: 8274 p = "userland struct l_itimerspec64 *"; 8275 break; 8276 default: 8277 break; 8278 }; 8279 break; 8280 /* linux_timerfd_gettime64 */ 8281 case 410: 8282 switch (ndx) { 8283 case 0: 8284 p = "l_int"; 8285 break; 8286 case 1: 8287 p = "userland struct l_itimerspec64 *"; 8288 break; 8289 default: 8290 break; 8291 }; 8292 break; 8293 /* linux_timerfd_settime64 */ 8294 case 411: 8295 switch (ndx) { 8296 case 0: 8297 p = "l_int"; 8298 break; 8299 case 1: 8300 p = "l_int"; 8301 break; 8302 case 2: 8303 p = "userland const struct l_itimerspec64 *"; 8304 break; 8305 case 3: 8306 p = "userland struct l_itimerspec64 *"; 8307 break; 8308 default: 8309 break; 8310 }; 8311 break; 8312 /* linux_utimensat_time64 */ 8313 case 412: 8314 switch (ndx) { 8315 case 0: 8316 p = "l_int"; 8317 break; 8318 case 1: 8319 p = "userland const char *"; 8320 break; 8321 case 2: 8322 p = "userland const struct l_timespec64 *"; 8323 break; 8324 case 3: 8325 p = "l_int"; 8326 break; 8327 default: 8328 break; 8329 }; 8330 break; 8331 /* linux_pselect6_time64 */ 8332 case 413: 8333 switch (ndx) { 8334 case 0: 8335 p = "l_int"; 8336 break; 8337 case 1: 8338 p = "userland l_fd_set *"; 8339 break; 8340 case 2: 8341 p = "userland l_fd_set *"; 8342 break; 8343 case 3: 8344 p = "userland l_fd_set *"; 8345 break; 8346 case 4: 8347 p = "userland struct l_timespec64 *"; 8348 break; 8349 case 5: 8350 p = "userland l_uintptr_t *"; 8351 break; 8352 default: 8353 break; 8354 }; 8355 break; 8356 /* linux_ppoll_time64 */ 8357 case 414: 8358 switch (ndx) { 8359 case 0: 8360 p = "userland struct pollfd *"; 8361 break; 8362 case 1: 8363 p = "uint32_t"; 8364 break; 8365 case 2: 8366 p = "userland struct l_timespec64 *"; 8367 break; 8368 case 3: 8369 p = "userland l_sigset_t *"; 8370 break; 8371 case 4: 8372 p = "l_size_t"; 8373 break; 8374 default: 8375 break; 8376 }; 8377 break; 8378 /* linux_io_pgetevents_time64 */ 8379 case 416: 8380 break; 8381 /* linux_recvmmsg_time64 */ 8382 case 417: 8383 switch (ndx) { 8384 case 0: 8385 p = "l_int"; 8386 break; 8387 case 1: 8388 p = "userland struct l_mmsghdr *"; 8389 break; 8390 case 2: 8391 p = "l_uint"; 8392 break; 8393 case 3: 8394 p = "l_uint"; 8395 break; 8396 case 4: 8397 p = "userland struct l_timespec64 *"; 8398 break; 8399 default: 8400 break; 8401 }; 8402 break; 8403 /* linux_mq_timedsend_time64 */ 8404 case 418: 8405 break; 8406 /* linux_mq_timedreceive_time64 */ 8407 case 419: 8408 break; 8409 /* linux_semtimedop_time64 */ 8410 case 420: 8411 switch (ndx) { 8412 case 0: 8413 p = "l_int"; 8414 break; 8415 case 1: 8416 p = "userland struct sembuf *"; 8417 break; 8418 case 2: 8419 p = "l_size_t"; 8420 break; 8421 case 3: 8422 p = "userland struct l_timespec64 *"; 8423 break; 8424 default: 8425 break; 8426 }; 8427 break; 8428 /* linux_rt_sigtimedwait_time64 */ 8429 case 421: 8430 switch (ndx) { 8431 case 0: 8432 p = "userland l_sigset_t *"; 8433 break; 8434 case 1: 8435 p = "userland l_siginfo_t *"; 8436 break; 8437 case 2: 8438 p = "userland struct l_timespec64 *"; 8439 break; 8440 case 3: 8441 p = "l_size_t"; 8442 break; 8443 default: 8444 break; 8445 }; 8446 break; 8447 /* linux_sys_futex_time64 */ 8448 case 422: 8449 switch (ndx) { 8450 case 0: 8451 p = "userland uint32_t *"; 8452 break; 8453 case 1: 8454 p = "l_int"; 8455 break; 8456 case 2: 8457 p = "uint32_t"; 8458 break; 8459 case 3: 8460 p = "userland struct l_timespec64 *"; 8461 break; 8462 case 4: 8463 p = "userland uint32_t *"; 8464 break; 8465 case 5: 8466 p = "uint32_t"; 8467 break; 8468 default: 8469 break; 8470 }; 8471 break; 8472 /* linux_sched_rr_get_interval_time64 */ 8473 case 423: 8474 switch (ndx) { 8475 case 0: 8476 p = "l_pid_t"; 8477 break; 8478 case 1: 8479 p = "userland struct l_timespec64 *"; 8480 break; 8481 default: 8482 break; 8483 }; 8484 break; 8485 /* linux_pidfd_send_signal */ 8486 case 424: 8487 switch (ndx) { 8488 case 0: 8489 p = "l_int"; 8490 break; 8491 case 1: 8492 p = "l_int"; 8493 break; 8494 case 2: 8495 p = "userland l_siginfo_t *"; 8496 break; 8497 case 3: 8498 p = "l_uint"; 8499 break; 8500 default: 8501 break; 8502 }; 8503 break; 8504 /* linux_io_uring_setup */ 8505 case 425: 8506 break; 8507 /* linux_io_uring_enter */ 8508 case 426: 8509 break; 8510 /* linux_io_uring_register */ 8511 case 427: 8512 break; 8513 /* linux_open_tree */ 8514 case 428: 8515 break; 8516 /* linux_move_mount */ 8517 case 429: 8518 break; 8519 /* linux_fsopen */ 8520 case 430: 8521 break; 8522 /* linux_fsconfig */ 8523 case 431: 8524 break; 8525 /* linux_fsmount */ 8526 case 432: 8527 break; 8528 /* linux_fspick */ 8529 case 433: 8530 break; 8531 /* linux_pidfd_open */ 8532 case 434: 8533 break; 8534 /* linux_clone3 */ 8535 case 435: 8536 switch (ndx) { 8537 case 0: 8538 p = "userland struct l_user_clone_args *"; 8539 break; 8540 case 1: 8541 p = "l_size_t"; 8542 break; 8543 default: 8544 break; 8545 }; 8546 break; 8547 /* linux_close_range */ 8548 case 436: 8549 switch (ndx) { 8550 case 0: 8551 p = "l_uint"; 8552 break; 8553 case 1: 8554 p = "l_uint"; 8555 break; 8556 case 2: 8557 p = "l_uint"; 8558 break; 8559 default: 8560 break; 8561 }; 8562 break; 8563 /* linux_openat2 */ 8564 case 437: 8565 break; 8566 /* linux_pidfd_getfd */ 8567 case 438: 8568 break; 8569 /* linux_faccessat2 */ 8570 case 439: 8571 switch (ndx) { 8572 case 0: 8573 p = "l_int"; 8574 break; 8575 case 1: 8576 p = "userland const char *"; 8577 break; 8578 case 2: 8579 p = "l_int"; 8580 break; 8581 case 3: 8582 p = "l_int"; 8583 break; 8584 default: 8585 break; 8586 }; 8587 break; 8588 /* linux_process_madvise */ 8589 case 440: 8590 break; 8591 /* linux_epoll_pwait2_64 */ 8592 case 441: 8593 switch (ndx) { 8594 case 0: 8595 p = "l_int"; 8596 break; 8597 case 1: 8598 p = "userland struct epoll_event *"; 8599 break; 8600 case 2: 8601 p = "l_int"; 8602 break; 8603 case 3: 8604 p = "userland struct l_timespec64 *"; 8605 break; 8606 case 4: 8607 p = "userland l_sigset_t *"; 8608 break; 8609 case 5: 8610 p = "l_size_t"; 8611 break; 8612 default: 8613 break; 8614 }; 8615 break; 8616 /* linux_mount_setattr */ 8617 case 442: 8618 break; 8619 default: 8620 break; 8621 }; 8622 if (p != NULL) 8623 strlcpy(desc, p, descsz); 8624 } 8625 static void 8626 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) 8627 { 8628 const char *p = NULL; 8629 switch (sysnum) { 8630 #define nosys linux_nosys 8631 /* linux_exit */ 8632 case 1: 8633 if (ndx == 0 || ndx == 1) 8634 p = "void"; 8635 break; 8636 /* linux_fork */ 8637 case 2: 8638 /* read */ 8639 case 3: 8640 if (ndx == 0 || ndx == 1) 8641 p = "int"; 8642 break; 8643 /* linux_write */ 8644 case 4: 8645 if (ndx == 0 || ndx == 1) 8646 p = "int"; 8647 break; 8648 /* linux_open */ 8649 case 5: 8650 if (ndx == 0 || ndx == 1) 8651 p = "int"; 8652 break; 8653 /* close */ 8654 case 6: 8655 if (ndx == 0 || ndx == 1) 8656 p = "int"; 8657 break; 8658 /* linux_waitpid */ 8659 case 7: 8660 if (ndx == 0 || ndx == 1) 8661 p = "int"; 8662 break; 8663 /* linux_creat */ 8664 case 8: 8665 if (ndx == 0 || ndx == 1) 8666 p = "int"; 8667 break; 8668 /* linux_link */ 8669 case 9: 8670 if (ndx == 0 || ndx == 1) 8671 p = "int"; 8672 break; 8673 /* linux_unlink */ 8674 case 10: 8675 if (ndx == 0 || ndx == 1) 8676 p = "int"; 8677 break; 8678 /* linux_execve */ 8679 case 11: 8680 if (ndx == 0 || ndx == 1) 8681 p = "int"; 8682 break; 8683 /* linux_chdir */ 8684 case 12: 8685 if (ndx == 0 || ndx == 1) 8686 p = "int"; 8687 break; 8688 /* linux_time */ 8689 case 13: 8690 if (ndx == 0 || ndx == 1) 8691 p = "int"; 8692 break; 8693 /* linux_mknod */ 8694 case 14: 8695 if (ndx == 0 || ndx == 1) 8696 p = "int"; 8697 break; 8698 /* linux_chmod */ 8699 case 15: 8700 if (ndx == 0 || ndx == 1) 8701 p = "int"; 8702 break; 8703 /* linux_lchown16 */ 8704 case 16: 8705 if (ndx == 0 || ndx == 1) 8706 p = "int"; 8707 break; 8708 /* linux_stat */ 8709 case 18: 8710 if (ndx == 0 || ndx == 1) 8711 p = "int"; 8712 break; 8713 /* linux_lseek */ 8714 case 19: 8715 if (ndx == 0 || ndx == 1) 8716 p = "int"; 8717 break; 8718 /* linux_getpid */ 8719 case 20: 8720 /* linux_mount */ 8721 case 21: 8722 if (ndx == 0 || ndx == 1) 8723 p = "int"; 8724 break; 8725 /* linux_oldumount */ 8726 case 22: 8727 if (ndx == 0 || ndx == 1) 8728 p = "int"; 8729 break; 8730 /* linux_setuid16 */ 8731 case 23: 8732 if (ndx == 0 || ndx == 1) 8733 p = "int"; 8734 break; 8735 /* linux_getuid16 */ 8736 case 24: 8737 /* linux_stime */ 8738 case 25: 8739 /* linux_ptrace */ 8740 case 26: 8741 if (ndx == 0 || ndx == 1) 8742 p = "int"; 8743 break; 8744 /* linux_alarm */ 8745 case 27: 8746 if (ndx == 0 || ndx == 1) 8747 p = "int"; 8748 break; 8749 /* linux_pause */ 8750 case 29: 8751 /* linux_utime */ 8752 case 30: 8753 if (ndx == 0 || ndx == 1) 8754 p = "int"; 8755 break; 8756 /* linux_access */ 8757 case 33: 8758 if (ndx == 0 || ndx == 1) 8759 p = "int"; 8760 break; 8761 /* linux_nice */ 8762 case 34: 8763 if (ndx == 0 || ndx == 1) 8764 p = "int"; 8765 break; 8766 /* sync */ 8767 case 36: 8768 /* linux_kill */ 8769 case 37: 8770 if (ndx == 0 || ndx == 1) 8771 p = "int"; 8772 break; 8773 /* linux_rename */ 8774 case 38: 8775 if (ndx == 0 || ndx == 1) 8776 p = "int"; 8777 break; 8778 /* linux_mkdir */ 8779 case 39: 8780 if (ndx == 0 || ndx == 1) 8781 p = "int"; 8782 break; 8783 /* linux_rmdir */ 8784 case 40: 8785 if (ndx == 0 || ndx == 1) 8786 p = "int"; 8787 break; 8788 /* dup */ 8789 case 41: 8790 if (ndx == 0 || ndx == 1) 8791 p = "int"; 8792 break; 8793 /* linux_pipe */ 8794 case 42: 8795 if (ndx == 0 || ndx == 1) 8796 p = "int"; 8797 break; 8798 /* linux_times */ 8799 case 43: 8800 if (ndx == 0 || ndx == 1) 8801 p = "int"; 8802 break; 8803 /* linux_brk */ 8804 case 45: 8805 if (ndx == 0 || ndx == 1) 8806 p = "int"; 8807 break; 8808 /* linux_setgid16 */ 8809 case 46: 8810 if (ndx == 0 || ndx == 1) 8811 p = "int"; 8812 break; 8813 /* linux_getgid16 */ 8814 case 47: 8815 /* linux_signal */ 8816 case 48: 8817 if (ndx == 0 || ndx == 1) 8818 p = "int"; 8819 break; 8820 /* linux_geteuid16 */ 8821 case 49: 8822 /* linux_getegid16 */ 8823 case 50: 8824 /* acct */ 8825 case 51: 8826 if (ndx == 0 || ndx == 1) 8827 p = "int"; 8828 break; 8829 /* linux_umount */ 8830 case 52: 8831 if (ndx == 0 || ndx == 1) 8832 p = "int"; 8833 break; 8834 /* linux_ioctl */ 8835 case 54: 8836 if (ndx == 0 || ndx == 1) 8837 p = "int"; 8838 break; 8839 /* linux_fcntl */ 8840 case 55: 8841 if (ndx == 0 || ndx == 1) 8842 p = "int"; 8843 break; 8844 /* setpgid */ 8845 case 57: 8846 if (ndx == 0 || ndx == 1) 8847 p = "int"; 8848 break; 8849 /* linux_olduname */ 8850 case 59: 8851 /* umask */ 8852 case 60: 8853 if (ndx == 0 || ndx == 1) 8854 p = "int"; 8855 break; 8856 /* chroot */ 8857 case 61: 8858 if (ndx == 0 || ndx == 1) 8859 p = "int"; 8860 break; 8861 /* linux_ustat */ 8862 case 62: 8863 if (ndx == 0 || ndx == 1) 8864 p = "int"; 8865 break; 8866 /* dup2 */ 8867 case 63: 8868 if (ndx == 0 || ndx == 1) 8869 p = "int"; 8870 break; 8871 /* linux_getppid */ 8872 case 64: 8873 /* getpgrp */ 8874 case 65: 8875 /* setsid */ 8876 case 66: 8877 /* linux_sigaction */ 8878 case 67: 8879 if (ndx == 0 || ndx == 1) 8880 p = "int"; 8881 break; 8882 /* linux_sgetmask */ 8883 case 68: 8884 /* linux_ssetmask */ 8885 case 69: 8886 if (ndx == 0 || ndx == 1) 8887 p = "int"; 8888 break; 8889 /* linux_setreuid16 */ 8890 case 70: 8891 if (ndx == 0 || ndx == 1) 8892 p = "int"; 8893 break; 8894 /* linux_setregid16 */ 8895 case 71: 8896 if (ndx == 0 || ndx == 1) 8897 p = "int"; 8898 break; 8899 /* linux_sigsuspend */ 8900 case 72: 8901 if (ndx == 0 || ndx == 1) 8902 p = "int"; 8903 break; 8904 /* linux_sigpending */ 8905 case 73: 8906 if (ndx == 0 || ndx == 1) 8907 p = "int"; 8908 break; 8909 /* linux_sethostname */ 8910 case 74: 8911 if (ndx == 0 || ndx == 1) 8912 p = "int"; 8913 break; 8914 /* linux_setrlimit */ 8915 case 75: 8916 if (ndx == 0 || ndx == 1) 8917 p = "int"; 8918 break; 8919 /* linux_old_getrlimit */ 8920 case 76: 8921 if (ndx == 0 || ndx == 1) 8922 p = "int"; 8923 break; 8924 /* getrusage */ 8925 case 77: 8926 if (ndx == 0 || ndx == 1) 8927 p = "int"; 8928 break; 8929 /* gettimeofday */ 8930 case 78: 8931 if (ndx == 0 || ndx == 1) 8932 p = "int"; 8933 break; 8934 /* settimeofday */ 8935 case 79: 8936 if (ndx == 0 || ndx == 1) 8937 p = "int"; 8938 break; 8939 /* linux_getgroups16 */ 8940 case 80: 8941 if (ndx == 0 || ndx == 1) 8942 p = "int"; 8943 break; 8944 /* linux_setgroups16 */ 8945 case 81: 8946 if (ndx == 0 || ndx == 1) 8947 p = "int"; 8948 break; 8949 /* linux_old_select */ 8950 case 82: 8951 if (ndx == 0 || ndx == 1) 8952 p = "int"; 8953 break; 8954 /* linux_symlink */ 8955 case 83: 8956 if (ndx == 0 || ndx == 1) 8957 p = "int"; 8958 break; 8959 /* linux_lstat */ 8960 case 84: 8961 if (ndx == 0 || ndx == 1) 8962 p = "int"; 8963 break; 8964 /* linux_readlink */ 8965 case 85: 8966 if (ndx == 0 || ndx == 1) 8967 p = "int"; 8968 break; 8969 /* linux_uselib */ 8970 case 86: 8971 if (ndx == 0 || ndx == 1) 8972 p = "int"; 8973 break; 8974 /* swapon */ 8975 case 87: 8976 if (ndx == 0 || ndx == 1) 8977 p = "int"; 8978 break; 8979 /* linux_reboot */ 8980 case 88: 8981 if (ndx == 0 || ndx == 1) 8982 p = "int"; 8983 break; 8984 /* linux_readdir */ 8985 case 89: 8986 if (ndx == 0 || ndx == 1) 8987 p = "int"; 8988 break; 8989 /* linux_mmap */ 8990 case 90: 8991 if (ndx == 0 || ndx == 1) 8992 p = "int"; 8993 break; 8994 /* munmap */ 8995 case 91: 8996 if (ndx == 0 || ndx == 1) 8997 p = "int"; 8998 break; 8999 /* linux_truncate */ 9000 case 92: 9001 if (ndx == 0 || ndx == 1) 9002 p = "int"; 9003 break; 9004 /* linux_ftruncate */ 9005 case 93: 9006 if (ndx == 0 || ndx == 1) 9007 p = "int"; 9008 break; 9009 /* fchmod */ 9010 case 94: 9011 if (ndx == 0 || ndx == 1) 9012 p = "int"; 9013 break; 9014 /* fchown */ 9015 case 95: 9016 if (ndx == 0 || ndx == 1) 9017 p = "int"; 9018 break; 9019 /* linux_getpriority */ 9020 case 96: 9021 if (ndx == 0 || ndx == 1) 9022 p = "int"; 9023 break; 9024 /* setpriority */ 9025 case 97: 9026 if (ndx == 0 || ndx == 1) 9027 p = "int"; 9028 break; 9029 /* linux_statfs */ 9030 case 99: 9031 if (ndx == 0 || ndx == 1) 9032 p = "int"; 9033 break; 9034 /* linux_fstatfs */ 9035 case 100: 9036 if (ndx == 0 || ndx == 1) 9037 p = "int"; 9038 break; 9039 /* linux_ioperm */ 9040 case 101: 9041 if (ndx == 0 || ndx == 1) 9042 p = "int"; 9043 break; 9044 /* linux_socketcall */ 9045 case 102: 9046 if (ndx == 0 || ndx == 1) 9047 p = "int"; 9048 break; 9049 /* linux_syslog */ 9050 case 103: 9051 if (ndx == 0 || ndx == 1) 9052 p = "int"; 9053 break; 9054 /* linux_setitimer */ 9055 case 104: 9056 if (ndx == 0 || ndx == 1) 9057 p = "int"; 9058 break; 9059 /* linux_getitimer */ 9060 case 105: 9061 if (ndx == 0 || ndx == 1) 9062 p = "int"; 9063 break; 9064 /* linux_newstat */ 9065 case 106: 9066 if (ndx == 0 || ndx == 1) 9067 p = "int"; 9068 break; 9069 /* linux_newlstat */ 9070 case 107: 9071 if (ndx == 0 || ndx == 1) 9072 p = "int"; 9073 break; 9074 /* linux_newfstat */ 9075 case 108: 9076 if (ndx == 0 || ndx == 1) 9077 p = "int"; 9078 break; 9079 /* linux_uname */ 9080 case 109: 9081 /* linux_iopl */ 9082 case 110: 9083 if (ndx == 0 || ndx == 1) 9084 p = "int"; 9085 break; 9086 /* linux_vhangup */ 9087 case 111: 9088 /* linux_vm86old */ 9089 case 113: 9090 /* linux_wait4 */ 9091 case 114: 9092 if (ndx == 0 || ndx == 1) 9093 p = "int"; 9094 break; 9095 /* linux_swapoff */ 9096 case 115: 9097 /* linux_sysinfo */ 9098 case 116: 9099 if (ndx == 0 || ndx == 1) 9100 p = "int"; 9101 break; 9102 /* linux_ipc */ 9103 case 117: 9104 if (ndx == 0 || ndx == 1) 9105 p = "int"; 9106 break; 9107 /* fsync */ 9108 case 118: 9109 if (ndx == 0 || ndx == 1) 9110 p = "int"; 9111 break; 9112 /* linux_sigreturn */ 9113 case 119: 9114 if (ndx == 0 || ndx == 1) 9115 p = "int"; 9116 break; 9117 /* linux_clone */ 9118 case 120: 9119 if (ndx == 0 || ndx == 1) 9120 p = "int"; 9121 break; 9122 /* linux_setdomainname */ 9123 case 121: 9124 if (ndx == 0 || ndx == 1) 9125 p = "int"; 9126 break; 9127 /* linux_newuname */ 9128 case 122: 9129 if (ndx == 0 || ndx == 1) 9130 p = "int"; 9131 break; 9132 /* linux_modify_ldt */ 9133 case 123: 9134 if (ndx == 0 || ndx == 1) 9135 p = "int"; 9136 break; 9137 /* linux_adjtimex */ 9138 case 124: 9139 /* linux_mprotect */ 9140 case 125: 9141 if (ndx == 0 || ndx == 1) 9142 p = "int"; 9143 break; 9144 /* linux_sigprocmask */ 9145 case 126: 9146 if (ndx == 0 || ndx == 1) 9147 p = "int"; 9148 break; 9149 /* linux_init_module */ 9150 case 128: 9151 /* linux_delete_module */ 9152 case 129: 9153 /* linux_quotactl */ 9154 case 131: 9155 /* getpgid */ 9156 case 132: 9157 if (ndx == 0 || ndx == 1) 9158 p = "int"; 9159 break; 9160 /* fchdir */ 9161 case 133: 9162 if (ndx == 0 || ndx == 1) 9163 p = "int"; 9164 break; 9165 /* linux_bdflush */ 9166 case 134: 9167 /* linux_sysfs */ 9168 case 135: 9169 if (ndx == 0 || ndx == 1) 9170 p = "int"; 9171 break; 9172 /* linux_personality */ 9173 case 136: 9174 if (ndx == 0 || ndx == 1) 9175 p = "int"; 9176 break; 9177 /* linux_setfsuid16 */ 9178 case 138: 9179 if (ndx == 0 || ndx == 1) 9180 p = "int"; 9181 break; 9182 /* linux_setfsgid16 */ 9183 case 139: 9184 if (ndx == 0 || ndx == 1) 9185 p = "int"; 9186 break; 9187 /* linux_llseek */ 9188 case 140: 9189 if (ndx == 0 || ndx == 1) 9190 p = "int"; 9191 break; 9192 /* linux_getdents */ 9193 case 141: 9194 if (ndx == 0 || ndx == 1) 9195 p = "int"; 9196 break; 9197 /* linux_select */ 9198 case 142: 9199 if (ndx == 0 || ndx == 1) 9200 p = "int"; 9201 break; 9202 /* flock */ 9203 case 143: 9204 if (ndx == 0 || ndx == 1) 9205 p = "int"; 9206 break; 9207 /* linux_msync */ 9208 case 144: 9209 if (ndx == 0 || ndx == 1) 9210 p = "int"; 9211 break; 9212 /* readv */ 9213 case 145: 9214 if (ndx == 0 || ndx == 1) 9215 p = "int"; 9216 break; 9217 /* linux_writev */ 9218 case 146: 9219 if (ndx == 0 || ndx == 1) 9220 p = "int"; 9221 break; 9222 /* linux_getsid */ 9223 case 147: 9224 if (ndx == 0 || ndx == 1) 9225 p = "int"; 9226 break; 9227 /* linux_fdatasync */ 9228 case 148: 9229 if (ndx == 0 || ndx == 1) 9230 p = "int"; 9231 break; 9232 /* linux_sysctl */ 9233 case 149: 9234 if (ndx == 0 || ndx == 1) 9235 p = "int"; 9236 break; 9237 /* mlock */ 9238 case 150: 9239 if (ndx == 0 || ndx == 1) 9240 p = "int"; 9241 break; 9242 /* munlock */ 9243 case 151: 9244 if (ndx == 0 || ndx == 1) 9245 p = "int"; 9246 break; 9247 /* mlockall */ 9248 case 152: 9249 if (ndx == 0 || ndx == 1) 9250 p = "int"; 9251 break; 9252 /* munlockall */ 9253 case 153: 9254 /* linux_sched_setparam */ 9255 case 154: 9256 if (ndx == 0 || ndx == 1) 9257 p = "int"; 9258 break; 9259 /* linux_sched_getparam */ 9260 case 155: 9261 if (ndx == 0 || ndx == 1) 9262 p = "int"; 9263 break; 9264 /* linux_sched_setscheduler */ 9265 case 156: 9266 if (ndx == 0 || ndx == 1) 9267 p = "int"; 9268 break; 9269 /* linux_sched_getscheduler */ 9270 case 157: 9271 if (ndx == 0 || ndx == 1) 9272 p = "int"; 9273 break; 9274 /* sched_yield */ 9275 case 158: 9276 /* linux_sched_get_priority_max */ 9277 case 159: 9278 if (ndx == 0 || ndx == 1) 9279 p = "int"; 9280 break; 9281 /* linux_sched_get_priority_min */ 9282 case 160: 9283 if (ndx == 0 || ndx == 1) 9284 p = "int"; 9285 break; 9286 /* linux_sched_rr_get_interval */ 9287 case 161: 9288 if (ndx == 0 || ndx == 1) 9289 p = "int"; 9290 break; 9291 /* linux_nanosleep */ 9292 case 162: 9293 if (ndx == 0 || ndx == 1) 9294 p = "int"; 9295 break; 9296 /* linux_mremap */ 9297 case 163: 9298 if (ndx == 0 || ndx == 1) 9299 p = "int"; 9300 break; 9301 /* linux_setresuid16 */ 9302 case 164: 9303 if (ndx == 0 || ndx == 1) 9304 p = "int"; 9305 break; 9306 /* linux_getresuid16 */ 9307 case 165: 9308 if (ndx == 0 || ndx == 1) 9309 p = "int"; 9310 break; 9311 /* linux_vm86 */ 9312 case 166: 9313 /* linux_poll */ 9314 case 168: 9315 if (ndx == 0 || ndx == 1) 9316 p = "int"; 9317 break; 9318 /* linux_setresgid16 */ 9319 case 170: 9320 if (ndx == 0 || ndx == 1) 9321 p = "int"; 9322 break; 9323 /* linux_getresgid16 */ 9324 case 171: 9325 if (ndx == 0 || ndx == 1) 9326 p = "int"; 9327 break; 9328 /* linux_prctl */ 9329 case 172: 9330 if (ndx == 0 || ndx == 1) 9331 p = "int"; 9332 break; 9333 /* linux_rt_sigreturn */ 9334 case 173: 9335 if (ndx == 0 || ndx == 1) 9336 p = "int"; 9337 break; 9338 /* linux_rt_sigaction */ 9339 case 174: 9340 if (ndx == 0 || ndx == 1) 9341 p = "int"; 9342 break; 9343 /* linux_rt_sigprocmask */ 9344 case 175: 9345 if (ndx == 0 || ndx == 1) 9346 p = "int"; 9347 break; 9348 /* linux_rt_sigpending */ 9349 case 176: 9350 if (ndx == 0 || ndx == 1) 9351 p = "int"; 9352 break; 9353 /* linux_rt_sigtimedwait */ 9354 case 177: 9355 if (ndx == 0 || ndx == 1) 9356 p = "int"; 9357 break; 9358 /* linux_rt_sigqueueinfo */ 9359 case 178: 9360 if (ndx == 0 || ndx == 1) 9361 p = "int"; 9362 break; 9363 /* linux_rt_sigsuspend */ 9364 case 179: 9365 if (ndx == 0 || ndx == 1) 9366 p = "int"; 9367 break; 9368 /* linux_pread */ 9369 case 180: 9370 if (ndx == 0 || ndx == 1) 9371 p = "int"; 9372 break; 9373 /* linux_pwrite */ 9374 case 181: 9375 if (ndx == 0 || ndx == 1) 9376 p = "int"; 9377 break; 9378 /* linux_chown16 */ 9379 case 182: 9380 if (ndx == 0 || ndx == 1) 9381 p = "int"; 9382 break; 9383 /* linux_getcwd */ 9384 case 183: 9385 if (ndx == 0 || ndx == 1) 9386 p = "int"; 9387 break; 9388 /* linux_capget */ 9389 case 184: 9390 if (ndx == 0 || ndx == 1) 9391 p = "int"; 9392 break; 9393 /* linux_capset */ 9394 case 185: 9395 if (ndx == 0 || ndx == 1) 9396 p = "int"; 9397 break; 9398 /* linux_sigaltstack */ 9399 case 186: 9400 if (ndx == 0 || ndx == 1) 9401 p = "int"; 9402 break; 9403 /* linux_sendfile */ 9404 case 187: 9405 if (ndx == 0 || ndx == 1) 9406 p = "int"; 9407 break; 9408 /* linux_vfork */ 9409 case 190: 9410 /* linux_getrlimit */ 9411 case 191: 9412 if (ndx == 0 || ndx == 1) 9413 p = "int"; 9414 break; 9415 /* linux_mmap2 */ 9416 case 192: 9417 if (ndx == 0 || ndx == 1) 9418 p = "int"; 9419 break; 9420 /* linux_truncate64 */ 9421 case 193: 9422 if (ndx == 0 || ndx == 1) 9423 p = "int"; 9424 break; 9425 /* linux_ftruncate64 */ 9426 case 194: 9427 if (ndx == 0 || ndx == 1) 9428 p = "int"; 9429 break; 9430 /* linux_stat64 */ 9431 case 195: 9432 if (ndx == 0 || ndx == 1) 9433 p = "int"; 9434 break; 9435 /* linux_lstat64 */ 9436 case 196: 9437 if (ndx == 0 || ndx == 1) 9438 p = "int"; 9439 break; 9440 /* linux_fstat64 */ 9441 case 197: 9442 if (ndx == 0 || ndx == 1) 9443 p = "int"; 9444 break; 9445 /* linux_lchown */ 9446 case 198: 9447 if (ndx == 0 || ndx == 1) 9448 p = "int"; 9449 break; 9450 /* linux_getuid */ 9451 case 199: 9452 /* linux_getgid */ 9453 case 200: 9454 /* geteuid */ 9455 case 201: 9456 /* getegid */ 9457 case 202: 9458 /* setreuid */ 9459 case 203: 9460 if (ndx == 0 || ndx == 1) 9461 p = "int"; 9462 break; 9463 /* setregid */ 9464 case 204: 9465 if (ndx == 0 || ndx == 1) 9466 p = "int"; 9467 break; 9468 /* linux_getgroups */ 9469 case 205: 9470 if (ndx == 0 || ndx == 1) 9471 p = "int"; 9472 break; 9473 /* linux_setgroups */ 9474 case 206: 9475 if (ndx == 0 || ndx == 1) 9476 p = "int"; 9477 break; 9478 /* fchown */ 9479 case 207: 9480 /* setresuid */ 9481 case 208: 9482 if (ndx == 0 || ndx == 1) 9483 p = "int"; 9484 break; 9485 /* getresuid */ 9486 case 209: 9487 if (ndx == 0 || ndx == 1) 9488 p = "int"; 9489 break; 9490 /* setresgid */ 9491 case 210: 9492 if (ndx == 0 || ndx == 1) 9493 p = "int"; 9494 break; 9495 /* getresgid */ 9496 case 211: 9497 if (ndx == 0 || ndx == 1) 9498 p = "int"; 9499 break; 9500 /* linux_chown */ 9501 case 212: 9502 if (ndx == 0 || ndx == 1) 9503 p = "int"; 9504 break; 9505 /* setuid */ 9506 case 213: 9507 if (ndx == 0 || ndx == 1) 9508 p = "int"; 9509 break; 9510 /* setgid */ 9511 case 214: 9512 if (ndx == 0 || ndx == 1) 9513 p = "int"; 9514 break; 9515 /* linux_setfsuid */ 9516 case 215: 9517 if (ndx == 0 || ndx == 1) 9518 p = "int"; 9519 break; 9520 /* linux_setfsgid */ 9521 case 216: 9522 if (ndx == 0 || ndx == 1) 9523 p = "int"; 9524 break; 9525 /* linux_pivot_root */ 9526 case 217: 9527 if (ndx == 0 || ndx == 1) 9528 p = "int"; 9529 break; 9530 /* linux_mincore */ 9531 case 218: 9532 if (ndx == 0 || ndx == 1) 9533 p = "int"; 9534 break; 9535 /* linux_madvise */ 9536 case 219: 9537 if (ndx == 0 || ndx == 1) 9538 p = "int"; 9539 break; 9540 /* linux_getdents64 */ 9541 case 220: 9542 if (ndx == 0 || ndx == 1) 9543 p = "int"; 9544 break; 9545 /* linux_fcntl64 */ 9546 case 221: 9547 if (ndx == 0 || ndx == 1) 9548 p = "int"; 9549 break; 9550 /* linux_gettid */ 9551 case 224: 9552 /* linux_setxattr */ 9553 case 226: 9554 if (ndx == 0 || ndx == 1) 9555 p = "int"; 9556 break; 9557 /* linux_lsetxattr */ 9558 case 227: 9559 if (ndx == 0 || ndx == 1) 9560 p = "int"; 9561 break; 9562 /* linux_fsetxattr */ 9563 case 228: 9564 if (ndx == 0 || ndx == 1) 9565 p = "int"; 9566 break; 9567 /* linux_getxattr */ 9568 case 229: 9569 if (ndx == 0 || ndx == 1) 9570 p = "int"; 9571 break; 9572 /* linux_lgetxattr */ 9573 case 230: 9574 if (ndx == 0 || ndx == 1) 9575 p = "int"; 9576 break; 9577 /* linux_fgetxattr */ 9578 case 231: 9579 if (ndx == 0 || ndx == 1) 9580 p = "int"; 9581 break; 9582 /* linux_listxattr */ 9583 case 232: 9584 if (ndx == 0 || ndx == 1) 9585 p = "int"; 9586 break; 9587 /* linux_llistxattr */ 9588 case 233: 9589 if (ndx == 0 || ndx == 1) 9590 p = "int"; 9591 break; 9592 /* linux_flistxattr */ 9593 case 234: 9594 if (ndx == 0 || ndx == 1) 9595 p = "int"; 9596 break; 9597 /* linux_removexattr */ 9598 case 235: 9599 if (ndx == 0 || ndx == 1) 9600 p = "int"; 9601 break; 9602 /* linux_lremovexattr */ 9603 case 236: 9604 if (ndx == 0 || ndx == 1) 9605 p = "int"; 9606 break; 9607 /* linux_fremovexattr */ 9608 case 237: 9609 if (ndx == 0 || ndx == 1) 9610 p = "int"; 9611 break; 9612 /* linux_tkill */ 9613 case 238: 9614 if (ndx == 0 || ndx == 1) 9615 p = "int"; 9616 break; 9617 /* linux_sendfile64 */ 9618 case 239: 9619 if (ndx == 0 || ndx == 1) 9620 p = "int"; 9621 break; 9622 /* linux_sys_futex */ 9623 case 240: 9624 if (ndx == 0 || ndx == 1) 9625 p = "int"; 9626 break; 9627 /* linux_sched_setaffinity */ 9628 case 241: 9629 if (ndx == 0 || ndx == 1) 9630 p = "int"; 9631 break; 9632 /* linux_sched_getaffinity */ 9633 case 242: 9634 if (ndx == 0 || ndx == 1) 9635 p = "int"; 9636 break; 9637 /* linux_set_thread_area */ 9638 case 243: 9639 if (ndx == 0 || ndx == 1) 9640 p = "int"; 9641 break; 9642 /* linux_get_thread_area */ 9643 case 244: 9644 if (ndx == 0 || ndx == 1) 9645 p = "int"; 9646 break; 9647 /* linux_fadvise64 */ 9648 case 250: 9649 if (ndx == 0 || ndx == 1) 9650 p = "int"; 9651 break; 9652 /* linux_exit_group */ 9653 case 252: 9654 if (ndx == 0 || ndx == 1) 9655 p = "int"; 9656 break; 9657 /* linux_lookup_dcookie */ 9658 case 253: 9659 /* linux_epoll_create */ 9660 case 254: 9661 if (ndx == 0 || ndx == 1) 9662 p = "int"; 9663 break; 9664 /* linux_epoll_ctl */ 9665 case 255: 9666 if (ndx == 0 || ndx == 1) 9667 p = "int"; 9668 break; 9669 /* linux_epoll_wait */ 9670 case 256: 9671 if (ndx == 0 || ndx == 1) 9672 p = "int"; 9673 break; 9674 /* linux_remap_file_pages */ 9675 case 257: 9676 /* linux_set_tid_address */ 9677 case 258: 9678 if (ndx == 0 || ndx == 1) 9679 p = "int"; 9680 break; 9681 /* linux_timer_create */ 9682 case 259: 9683 if (ndx == 0 || ndx == 1) 9684 p = "int"; 9685 break; 9686 /* linux_timer_settime */ 9687 case 260: 9688 if (ndx == 0 || ndx == 1) 9689 p = "int"; 9690 break; 9691 /* linux_timer_gettime */ 9692 case 261: 9693 if (ndx == 0 || ndx == 1) 9694 p = "int"; 9695 break; 9696 /* linux_timer_getoverrun */ 9697 case 262: 9698 if (ndx == 0 || ndx == 1) 9699 p = "int"; 9700 break; 9701 /* linux_timer_delete */ 9702 case 263: 9703 if (ndx == 0 || ndx == 1) 9704 p = "int"; 9705 break; 9706 /* linux_clock_settime */ 9707 case 264: 9708 if (ndx == 0 || ndx == 1) 9709 p = "int"; 9710 break; 9711 /* linux_clock_gettime */ 9712 case 265: 9713 if (ndx == 0 || ndx == 1) 9714 p = "int"; 9715 break; 9716 /* linux_clock_getres */ 9717 case 266: 9718 if (ndx == 0 || ndx == 1) 9719 p = "int"; 9720 break; 9721 /* linux_clock_nanosleep */ 9722 case 267: 9723 if (ndx == 0 || ndx == 1) 9724 p = "int"; 9725 break; 9726 /* linux_statfs64 */ 9727 case 268: 9728 if (ndx == 0 || ndx == 1) 9729 p = "int"; 9730 break; 9731 /* linux_fstatfs64 */ 9732 case 269: 9733 if (ndx == 0 || ndx == 1) 9734 p = "int"; 9735 break; 9736 /* linux_tgkill */ 9737 case 270: 9738 if (ndx == 0 || ndx == 1) 9739 p = "int"; 9740 break; 9741 /* linux_utimes */ 9742 case 271: 9743 if (ndx == 0 || ndx == 1) 9744 p = "int"; 9745 break; 9746 /* linux_fadvise64_64 */ 9747 case 272: 9748 if (ndx == 0 || ndx == 1) 9749 p = "int"; 9750 break; 9751 /* linux_mbind */ 9752 case 274: 9753 /* linux_get_mempolicy */ 9754 case 275: 9755 /* linux_set_mempolicy */ 9756 case 276: 9757 /* linux_mq_open */ 9758 case 277: 9759 if (ndx == 0 || ndx == 1) 9760 p = "int"; 9761 break; 9762 /* linux_mq_unlink */ 9763 case 278: 9764 if (ndx == 0 || ndx == 1) 9765 p = "int"; 9766 break; 9767 /* linux_mq_timedsend */ 9768 case 279: 9769 if (ndx == 0 || ndx == 1) 9770 p = "int"; 9771 break; 9772 /* linux_mq_timedreceive */ 9773 case 280: 9774 if (ndx == 0 || ndx == 1) 9775 p = "int"; 9776 break; 9777 /* linux_mq_notify */ 9778 case 281: 9779 if (ndx == 0 || ndx == 1) 9780 p = "int"; 9781 break; 9782 /* linux_mq_getsetattr */ 9783 case 282: 9784 if (ndx == 0 || ndx == 1) 9785 p = "int"; 9786 break; 9787 /* linux_kexec_load */ 9788 case 283: 9789 /* linux_waitid */ 9790 case 284: 9791 if (ndx == 0 || ndx == 1) 9792 p = "int"; 9793 break; 9794 /* linux_add_key */ 9795 case 286: 9796 /* linux_request_key */ 9797 case 287: 9798 /* linux_keyctl */ 9799 case 288: 9800 /* linux_ioprio_set */ 9801 case 289: 9802 if (ndx == 0 || ndx == 1) 9803 p = "int"; 9804 break; 9805 /* linux_ioprio_get */ 9806 case 290: 9807 if (ndx == 0 || ndx == 1) 9808 p = "int"; 9809 break; 9810 /* linux_inotify_init */ 9811 case 291: 9812 /* linux_inotify_add_watch */ 9813 case 292: 9814 /* linux_inotify_rm_watch */ 9815 case 293: 9816 /* linux_migrate_pages */ 9817 case 294: 9818 /* linux_openat */ 9819 case 295: 9820 if (ndx == 0 || ndx == 1) 9821 p = "int"; 9822 break; 9823 /* linux_mkdirat */ 9824 case 296: 9825 if (ndx == 0 || ndx == 1) 9826 p = "int"; 9827 break; 9828 /* linux_mknodat */ 9829 case 297: 9830 if (ndx == 0 || ndx == 1) 9831 p = "int"; 9832 break; 9833 /* linux_fchownat */ 9834 case 298: 9835 if (ndx == 0 || ndx == 1) 9836 p = "int"; 9837 break; 9838 /* linux_futimesat */ 9839 case 299: 9840 if (ndx == 0 || ndx == 1) 9841 p = "int"; 9842 break; 9843 /* linux_fstatat64 */ 9844 case 300: 9845 if (ndx == 0 || ndx == 1) 9846 p = "int"; 9847 break; 9848 /* linux_unlinkat */ 9849 case 301: 9850 if (ndx == 0 || ndx == 1) 9851 p = "int"; 9852 break; 9853 /* linux_renameat */ 9854 case 302: 9855 if (ndx == 0 || ndx == 1) 9856 p = "int"; 9857 break; 9858 /* linux_linkat */ 9859 case 303: 9860 if (ndx == 0 || ndx == 1) 9861 p = "int"; 9862 break; 9863 /* linux_symlinkat */ 9864 case 304: 9865 if (ndx == 0 || ndx == 1) 9866 p = "int"; 9867 break; 9868 /* linux_readlinkat */ 9869 case 305: 9870 if (ndx == 0 || ndx == 1) 9871 p = "int"; 9872 break; 9873 /* linux_fchmodat */ 9874 case 306: 9875 if (ndx == 0 || ndx == 1) 9876 p = "int"; 9877 break; 9878 /* linux_faccessat */ 9879 case 307: 9880 if (ndx == 0 || ndx == 1) 9881 p = "int"; 9882 break; 9883 /* linux_pselect6 */ 9884 case 308: 9885 if (ndx == 0 || ndx == 1) 9886 p = "int"; 9887 break; 9888 /* linux_ppoll */ 9889 case 309: 9890 if (ndx == 0 || ndx == 1) 9891 p = "int"; 9892 break; 9893 /* linux_unshare */ 9894 case 310: 9895 /* linux_set_robust_list */ 9896 case 311: 9897 if (ndx == 0 || ndx == 1) 9898 p = "int"; 9899 break; 9900 /* linux_get_robust_list */ 9901 case 312: 9902 if (ndx == 0 || ndx == 1) 9903 p = "int"; 9904 break; 9905 /* linux_splice */ 9906 case 313: 9907 if (ndx == 0 || ndx == 1) 9908 p = "int"; 9909 break; 9910 /* linux_sync_file_range */ 9911 case 314: 9912 if (ndx == 0 || ndx == 1) 9913 p = "int"; 9914 break; 9915 /* linux_tee */ 9916 case 315: 9917 /* linux_vmsplice */ 9918 case 316: 9919 /* linux_move_pages */ 9920 case 317: 9921 /* linux_getcpu */ 9922 case 318: 9923 if (ndx == 0 || ndx == 1) 9924 p = "int"; 9925 break; 9926 /* linux_epoll_pwait */ 9927 case 319: 9928 if (ndx == 0 || ndx == 1) 9929 p = "int"; 9930 break; 9931 /* linux_utimensat */ 9932 case 320: 9933 if (ndx == 0 || ndx == 1) 9934 p = "int"; 9935 break; 9936 /* linux_signalfd */ 9937 case 321: 9938 /* linux_timerfd_create */ 9939 case 322: 9940 if (ndx == 0 || ndx == 1) 9941 p = "int"; 9942 break; 9943 /* linux_eventfd */ 9944 case 323: 9945 if (ndx == 0 || ndx == 1) 9946 p = "int"; 9947 break; 9948 /* linux_fallocate */ 9949 case 324: 9950 if (ndx == 0 || ndx == 1) 9951 p = "int"; 9952 break; 9953 /* linux_timerfd_settime */ 9954 case 325: 9955 if (ndx == 0 || ndx == 1) 9956 p = "int"; 9957 break; 9958 /* linux_timerfd_gettime */ 9959 case 326: 9960 if (ndx == 0 || ndx == 1) 9961 p = "int"; 9962 break; 9963 /* linux_signalfd4 */ 9964 case 327: 9965 /* linux_eventfd2 */ 9966 case 328: 9967 if (ndx == 0 || ndx == 1) 9968 p = "int"; 9969 break; 9970 /* linux_epoll_create1 */ 9971 case 329: 9972 if (ndx == 0 || ndx == 1) 9973 p = "int"; 9974 break; 9975 /* linux_dup3 */ 9976 case 330: 9977 if (ndx == 0 || ndx == 1) 9978 p = "int"; 9979 break; 9980 /* linux_pipe2 */ 9981 case 331: 9982 if (ndx == 0 || ndx == 1) 9983 p = "int"; 9984 break; 9985 /* linux_inotify_init1 */ 9986 case 332: 9987 /* linux_preadv */ 9988 case 333: 9989 if (ndx == 0 || ndx == 1) 9990 p = "int"; 9991 break; 9992 /* linux_pwritev */ 9993 case 334: 9994 if (ndx == 0 || ndx == 1) 9995 p = "int"; 9996 break; 9997 /* linux_rt_tgsigqueueinfo */ 9998 case 335: 9999 if (ndx == 0 || ndx == 1) 10000 p = "int"; 10001 break; 10002 /* linux_perf_event_open */ 10003 case 336: 10004 /* linux_recvmmsg */ 10005 case 337: 10006 if (ndx == 0 || ndx == 1) 10007 p = "int"; 10008 break; 10009 /* linux_fanotify_init */ 10010 case 338: 10011 /* linux_fanotify_mark */ 10012 case 339: 10013 /* linux_prlimit64 */ 10014 case 340: 10015 if (ndx == 0 || ndx == 1) 10016 p = "int"; 10017 break; 10018 /* linux_name_to_handle_at */ 10019 case 341: 10020 if (ndx == 0 || ndx == 1) 10021 p = "int"; 10022 break; 10023 /* linux_open_by_handle_at */ 10024 case 342: 10025 if (ndx == 0 || ndx == 1) 10026 p = "int"; 10027 break; 10028 /* linux_clock_adjtime */ 10029 case 343: 10030 /* linux_syncfs */ 10031 case 344: 10032 if (ndx == 0 || ndx == 1) 10033 p = "int"; 10034 break; 10035 /* linux_sendmmsg */ 10036 case 345: 10037 if (ndx == 0 || ndx == 1) 10038 p = "int"; 10039 break; 10040 /* linux_setns */ 10041 case 346: 10042 /* linux_process_vm_readv */ 10043 case 347: 10044 if (ndx == 0 || ndx == 1) 10045 p = "int"; 10046 break; 10047 /* linux_process_vm_writev */ 10048 case 348: 10049 if (ndx == 0 || ndx == 1) 10050 p = "int"; 10051 break; 10052 /* linux_kcmp */ 10053 case 349: 10054 if (ndx == 0 || ndx == 1) 10055 p = "int"; 10056 break; 10057 /* linux_finit_module */ 10058 case 350: 10059 if (ndx == 0 || ndx == 1) 10060 p = "int"; 10061 break; 10062 /* linux_sched_setattr */ 10063 case 351: 10064 if (ndx == 0 || ndx == 1) 10065 p = "int"; 10066 break; 10067 /* linux_sched_getattr */ 10068 case 352: 10069 if (ndx == 0 || ndx == 1) 10070 p = "int"; 10071 break; 10072 /* linux_renameat2 */ 10073 case 353: 10074 if (ndx == 0 || ndx == 1) 10075 p = "int"; 10076 break; 10077 /* linux_seccomp */ 10078 case 354: 10079 if (ndx == 0 || ndx == 1) 10080 p = "int"; 10081 break; 10082 /* linux_getrandom */ 10083 case 355: 10084 if (ndx == 0 || ndx == 1) 10085 p = "int"; 10086 break; 10087 /* linux_memfd_create */ 10088 case 356: 10089 if (ndx == 0 || ndx == 1) 10090 p = "int"; 10091 break; 10092 /* linux_bpf */ 10093 case 357: 10094 if (ndx == 0 || ndx == 1) 10095 p = "int"; 10096 break; 10097 /* linux_execveat */ 10098 case 358: 10099 if (ndx == 0 || ndx == 1) 10100 p = "int"; 10101 break; 10102 /* linux_socket */ 10103 case 359: 10104 if (ndx == 0 || ndx == 1) 10105 p = "int"; 10106 break; 10107 /* linux_socketpair */ 10108 case 360: 10109 if (ndx == 0 || ndx == 1) 10110 p = "int"; 10111 break; 10112 /* linux_bind */ 10113 case 361: 10114 if (ndx == 0 || ndx == 1) 10115 p = "int"; 10116 break; 10117 /* linux_connect */ 10118 case 362: 10119 if (ndx == 0 || ndx == 1) 10120 p = "int"; 10121 break; 10122 /* linux_listen */ 10123 case 363: 10124 if (ndx == 0 || ndx == 1) 10125 p = "int"; 10126 break; 10127 /* linux_accept4 */ 10128 case 364: 10129 if (ndx == 0 || ndx == 1) 10130 p = "int"; 10131 break; 10132 /* linux_getsockopt */ 10133 case 365: 10134 if (ndx == 0 || ndx == 1) 10135 p = "int"; 10136 break; 10137 /* linux_setsockopt */ 10138 case 366: 10139 if (ndx == 0 || ndx == 1) 10140 p = "int"; 10141 break; 10142 /* linux_getsockname */ 10143 case 367: 10144 if (ndx == 0 || ndx == 1) 10145 p = "int"; 10146 break; 10147 /* linux_getpeername */ 10148 case 368: 10149 if (ndx == 0 || ndx == 1) 10150 p = "int"; 10151 break; 10152 /* linux_sendto */ 10153 case 369: 10154 if (ndx == 0 || ndx == 1) 10155 p = "int"; 10156 break; 10157 /* linux_sendmsg */ 10158 case 370: 10159 if (ndx == 0 || ndx == 1) 10160 p = "int"; 10161 break; 10162 /* linux_recvfrom */ 10163 case 371: 10164 if (ndx == 0 || ndx == 1) 10165 p = "int"; 10166 break; 10167 /* linux_recvmsg */ 10168 case 372: 10169 if (ndx == 0 || ndx == 1) 10170 p = "int"; 10171 break; 10172 /* linux_shutdown */ 10173 case 373: 10174 if (ndx == 0 || ndx == 1) 10175 p = "int"; 10176 break; 10177 /* linux_userfaultfd */ 10178 case 374: 10179 if (ndx == 0 || ndx == 1) 10180 p = "int"; 10181 break; 10182 /* linux_membarrier */ 10183 case 375: 10184 if (ndx == 0 || ndx == 1) 10185 p = "int"; 10186 break; 10187 /* linux_mlock2 */ 10188 case 376: 10189 if (ndx == 0 || ndx == 1) 10190 p = "int"; 10191 break; 10192 /* linux_copy_file_range */ 10193 case 377: 10194 if (ndx == 0 || ndx == 1) 10195 p = "int"; 10196 break; 10197 /* linux_preadv2 */ 10198 case 378: 10199 if (ndx == 0 || ndx == 1) 10200 p = "int"; 10201 break; 10202 /* linux_pwritev2 */ 10203 case 379: 10204 if (ndx == 0 || ndx == 1) 10205 p = "int"; 10206 break; 10207 /* linux_pkey_mprotect */ 10208 case 380: 10209 if (ndx == 0 || ndx == 1) 10210 p = "int"; 10211 break; 10212 /* linux_pkey_alloc */ 10213 case 381: 10214 if (ndx == 0 || ndx == 1) 10215 p = "int"; 10216 break; 10217 /* linux_pkey_free */ 10218 case 382: 10219 if (ndx == 0 || ndx == 1) 10220 p = "int"; 10221 break; 10222 /* linux_statx */ 10223 case 383: 10224 if (ndx == 0 || ndx == 1) 10225 p = "int"; 10226 break; 10227 /* linux_arch_prctl */ 10228 case 384: 10229 if (ndx == 0 || ndx == 1) 10230 p = "int"; 10231 break; 10232 /* linux_io_pgetevents */ 10233 case 385: 10234 /* linux_rseq */ 10235 case 386: 10236 if (ndx == 0 || ndx == 1) 10237 p = "int"; 10238 break; 10239 /* linux_semget */ 10240 case 393: 10241 if (ndx == 0 || ndx == 1) 10242 p = "int"; 10243 break; 10244 /* linux_semctl */ 10245 case 394: 10246 if (ndx == 0 || ndx == 1) 10247 p = "int"; 10248 break; 10249 /* linux_shmget */ 10250 case 395: 10251 if (ndx == 0 || ndx == 1) 10252 p = "int"; 10253 break; 10254 /* linux_shmctl */ 10255 case 396: 10256 if (ndx == 0 || ndx == 1) 10257 p = "int"; 10258 break; 10259 /* linux_shmat */ 10260 case 397: 10261 if (ndx == 0 || ndx == 1) 10262 p = "int"; 10263 break; 10264 /* linux_shmdt */ 10265 case 398: 10266 if (ndx == 0 || ndx == 1) 10267 p = "int"; 10268 break; 10269 /* linux_msgget */ 10270 case 399: 10271 if (ndx == 0 || ndx == 1) 10272 p = "int"; 10273 break; 10274 /* linux_msgsnd */ 10275 case 400: 10276 if (ndx == 0 || ndx == 1) 10277 p = "int"; 10278 break; 10279 /* linux_msgrcv */ 10280 case 401: 10281 if (ndx == 0 || ndx == 1) 10282 p = "int"; 10283 break; 10284 /* linux_msgctl */ 10285 case 402: 10286 if (ndx == 0 || ndx == 1) 10287 p = "int"; 10288 break; 10289 /* linux_clock_gettime64 */ 10290 case 403: 10291 if (ndx == 0 || ndx == 1) 10292 p = "int"; 10293 break; 10294 /* linux_clock_settime64 */ 10295 case 404: 10296 if (ndx == 0 || ndx == 1) 10297 p = "int"; 10298 break; 10299 /* linux_clock_adjtime64 */ 10300 case 405: 10301 /* linux_clock_getres_time64 */ 10302 case 406: 10303 if (ndx == 0 || ndx == 1) 10304 p = "int"; 10305 break; 10306 /* linux_clock_nanosleep_time64 */ 10307 case 407: 10308 if (ndx == 0 || ndx == 1) 10309 p = "int"; 10310 break; 10311 /* linux_timer_gettime64 */ 10312 case 408: 10313 if (ndx == 0 || ndx == 1) 10314 p = "int"; 10315 break; 10316 /* linux_timer_settime64 */ 10317 case 409: 10318 if (ndx == 0 || ndx == 1) 10319 p = "int"; 10320 break; 10321 /* linux_timerfd_gettime64 */ 10322 case 410: 10323 if (ndx == 0 || ndx == 1) 10324 p = "int"; 10325 break; 10326 /* linux_timerfd_settime64 */ 10327 case 411: 10328 if (ndx == 0 || ndx == 1) 10329 p = "int"; 10330 break; 10331 /* linux_utimensat_time64 */ 10332 case 412: 10333 if (ndx == 0 || ndx == 1) 10334 p = "int"; 10335 break; 10336 /* linux_pselect6_time64 */ 10337 case 413: 10338 if (ndx == 0 || ndx == 1) 10339 p = "int"; 10340 break; 10341 /* linux_ppoll_time64 */ 10342 case 414: 10343 if (ndx == 0 || ndx == 1) 10344 p = "int"; 10345 break; 10346 /* linux_io_pgetevents_time64 */ 10347 case 416: 10348 /* linux_recvmmsg_time64 */ 10349 case 417: 10350 if (ndx == 0 || ndx == 1) 10351 p = "int"; 10352 break; 10353 /* linux_mq_timedsend_time64 */ 10354 case 418: 10355 /* linux_mq_timedreceive_time64 */ 10356 case 419: 10357 /* linux_semtimedop_time64 */ 10358 case 420: 10359 if (ndx == 0 || ndx == 1) 10360 p = "int"; 10361 break; 10362 /* linux_rt_sigtimedwait_time64 */ 10363 case 421: 10364 if (ndx == 0 || ndx == 1) 10365 p = "int"; 10366 break; 10367 /* linux_sys_futex_time64 */ 10368 case 422: 10369 if (ndx == 0 || ndx == 1) 10370 p = "int"; 10371 break; 10372 /* linux_sched_rr_get_interval_time64 */ 10373 case 423: 10374 if (ndx == 0 || ndx == 1) 10375 p = "int"; 10376 break; 10377 /* linux_pidfd_send_signal */ 10378 case 424: 10379 if (ndx == 0 || ndx == 1) 10380 p = "int"; 10381 break; 10382 /* linux_io_uring_setup */ 10383 case 425: 10384 /* linux_io_uring_enter */ 10385 case 426: 10386 /* linux_io_uring_register */ 10387 case 427: 10388 /* linux_open_tree */ 10389 case 428: 10390 /* linux_move_mount */ 10391 case 429: 10392 /* linux_fsopen */ 10393 case 430: 10394 /* linux_fsconfig */ 10395 case 431: 10396 /* linux_fsmount */ 10397 case 432: 10398 /* linux_fspick */ 10399 case 433: 10400 /* linux_pidfd_open */ 10401 case 434: 10402 /* linux_clone3 */ 10403 case 435: 10404 if (ndx == 0 || ndx == 1) 10405 p = "int"; 10406 break; 10407 /* linux_close_range */ 10408 case 436: 10409 if (ndx == 0 || ndx == 1) 10410 p = "int"; 10411 break; 10412 /* linux_openat2 */ 10413 case 437: 10414 /* linux_pidfd_getfd */ 10415 case 438: 10416 /* linux_faccessat2 */ 10417 case 439: 10418 if (ndx == 0 || ndx == 1) 10419 p = "int"; 10420 break; 10421 /* linux_process_madvise */ 10422 case 440: 10423 /* linux_epoll_pwait2_64 */ 10424 case 441: 10425 if (ndx == 0 || ndx == 1) 10426 p = "int"; 10427 break; 10428 /* linux_mount_setattr */ 10429 case 442: 10430 default: 10431 break; 10432 }; 10433 if (p != NULL) 10434 strlcpy(desc, p, descsz); 10435 } 10436