1 /* 2 * System call argument to DTrace register array converstion. 3 * 4 * DO NOT EDIT-- this file is automatically generated. 5 * $FreeBSD$ 6 * This file is part of the DTrace syscall provider. 7 */ 8 9 static void 10 systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) 11 { 12 int64_t *iarg = (int64_t *) uarg; 13 switch (sysnum) { 14 #define nosys linux_nosys 15 /* linux_setxattr */ 16 case 5: { 17 *n_args = 0; 18 break; 19 } 20 /* linux_lsetxattr */ 21 case 6: { 22 *n_args = 0; 23 break; 24 } 25 /* linux_fsetxattr */ 26 case 7: { 27 *n_args = 0; 28 break; 29 } 30 /* linux_getxattr */ 31 case 8: { 32 *n_args = 0; 33 break; 34 } 35 /* linux_lgetxattr */ 36 case 9: { 37 *n_args = 0; 38 break; 39 } 40 /* linux_fgetxattr */ 41 case 10: { 42 *n_args = 0; 43 break; 44 } 45 /* linux_listxattr */ 46 case 11: { 47 *n_args = 0; 48 break; 49 } 50 /* linux_llistxattr */ 51 case 12: { 52 *n_args = 0; 53 break; 54 } 55 /* linux_flistxattr */ 56 case 13: { 57 *n_args = 0; 58 break; 59 } 60 /* linux_removexattr */ 61 case 14: { 62 *n_args = 0; 63 break; 64 } 65 /* linux_lremovexattr */ 66 case 15: { 67 *n_args = 0; 68 break; 69 } 70 /* linux_fremovexattr */ 71 case 16: { 72 *n_args = 0; 73 break; 74 } 75 /* linux_getcwd */ 76 case 17: { 77 struct linux_getcwd_args *p = params; 78 uarg[0] = (intptr_t) p->buf; /* char * */ 79 iarg[1] = p->bufsize; /* l_ulong */ 80 *n_args = 2; 81 break; 82 } 83 /* linux_lookup_dcookie */ 84 case 18: { 85 *n_args = 0; 86 break; 87 } 88 /* linux_eventfd2 */ 89 case 19: { 90 struct linux_eventfd2_args *p = params; 91 iarg[0] = p->initval; /* l_uint */ 92 iarg[1] = p->flags; /* l_int */ 93 *n_args = 2; 94 break; 95 } 96 /* linux_epoll_create1 */ 97 case 20: { 98 struct linux_epoll_create1_args *p = params; 99 iarg[0] = p->flags; /* l_int */ 100 *n_args = 1; 101 break; 102 } 103 /* linux_epoll_ctl */ 104 case 21: { 105 struct linux_epoll_ctl_args *p = params; 106 iarg[0] = p->epfd; /* l_int */ 107 iarg[1] = p->op; /* l_int */ 108 iarg[2] = p->fd; /* l_int */ 109 uarg[3] = (intptr_t) p->event; /* struct epoll_event * */ 110 *n_args = 4; 111 break; 112 } 113 /* linux_epoll_pwait */ 114 case 22: { 115 struct linux_epoll_pwait_args *p = params; 116 iarg[0] = p->epfd; /* l_int */ 117 uarg[1] = (intptr_t) p->events; /* struct epoll_event * */ 118 iarg[2] = p->maxevents; /* l_int */ 119 iarg[3] = p->timeout; /* l_int */ 120 uarg[4] = (intptr_t) p->mask; /* l_sigset_t * */ 121 iarg[5] = p->sigsetsize; /* l_size_t */ 122 *n_args = 6; 123 break; 124 } 125 /* dup */ 126 case 23: { 127 struct dup_args *p = params; 128 uarg[0] = p->fd; /* u_int */ 129 *n_args = 1; 130 break; 131 } 132 /* linux_dup3 */ 133 case 24: { 134 struct linux_dup3_args *p = params; 135 iarg[0] = p->oldfd; /* l_int */ 136 iarg[1] = p->newfd; /* l_int */ 137 iarg[2] = p->flags; /* l_int */ 138 *n_args = 3; 139 break; 140 } 141 /* linux_fcntl */ 142 case 25: { 143 struct linux_fcntl_args *p = params; 144 iarg[0] = p->fd; /* l_uint */ 145 iarg[1] = p->cmd; /* l_uint */ 146 iarg[2] = p->arg; /* l_ulong */ 147 *n_args = 3; 148 break; 149 } 150 /* linux_inotify_init1 */ 151 case 26: { 152 struct linux_inotify_init1_args *p = params; 153 iarg[0] = p->flags; /* l_int */ 154 *n_args = 1; 155 break; 156 } 157 /* linux_inotify_add_watch */ 158 case 27: { 159 *n_args = 0; 160 break; 161 } 162 /* linux_inotify_rm_watch */ 163 case 28: { 164 *n_args = 0; 165 break; 166 } 167 /* linux_ioctl */ 168 case 29: { 169 struct linux_ioctl_args *p = params; 170 iarg[0] = p->fd; /* l_uint */ 171 iarg[1] = p->cmd; /* l_uint */ 172 uarg[2] = p->arg; /* uintptr_t */ 173 *n_args = 3; 174 break; 175 } 176 /* linux_ioprio_set */ 177 case 30: { 178 *n_args = 0; 179 break; 180 } 181 /* linux_ioprio_get */ 182 case 31: { 183 *n_args = 0; 184 break; 185 } 186 /* flock */ 187 case 32: { 188 struct flock_args *p = params; 189 iarg[0] = p->fd; /* int */ 190 iarg[1] = p->how; /* int */ 191 *n_args = 2; 192 break; 193 } 194 /* linux_mknodat */ 195 case 33: { 196 struct linux_mknodat_args *p = params; 197 iarg[0] = p->dfd; /* l_int */ 198 uarg[1] = (intptr_t) p->filename; /* const char * */ 199 iarg[2] = p->mode; /* l_int */ 200 iarg[3] = p->dev; /* l_uint */ 201 *n_args = 4; 202 break; 203 } 204 /* linux_mkdirat */ 205 case 34: { 206 struct linux_mkdirat_args *p = params; 207 iarg[0] = p->dfd; /* l_int */ 208 uarg[1] = (intptr_t) p->pathname; /* const char * */ 209 iarg[2] = p->mode; /* l_int */ 210 *n_args = 3; 211 break; 212 } 213 /* linux_unlinkat */ 214 case 35: { 215 struct linux_unlinkat_args *p = params; 216 iarg[0] = p->dfd; /* l_int */ 217 uarg[1] = (intptr_t) p->pathname; /* const char * */ 218 iarg[2] = p->flag; /* l_int */ 219 *n_args = 3; 220 break; 221 } 222 /* linux_symlinkat */ 223 case 36: { 224 struct linux_symlinkat_args *p = params; 225 uarg[0] = (intptr_t) p->oldname; /* const char * */ 226 iarg[1] = p->newdfd; /* l_int */ 227 uarg[2] = (intptr_t) p->newname; /* const char * */ 228 *n_args = 3; 229 break; 230 } 231 /* linux_linkat */ 232 case 37: { 233 struct linux_linkat_args *p = params; 234 iarg[0] = p->olddfd; /* l_int */ 235 uarg[1] = (intptr_t) p->oldname; /* const char * */ 236 iarg[2] = p->newdfd; /* l_int */ 237 uarg[3] = (intptr_t) p->newname; /* const char * */ 238 iarg[4] = p->flag; /* l_int */ 239 *n_args = 5; 240 break; 241 } 242 /* linux_renameat */ 243 case 38: { 244 struct linux_renameat_args *p = params; 245 iarg[0] = p->olddfd; /* l_int */ 246 uarg[1] = (intptr_t) p->oldname; /* const char * */ 247 iarg[2] = p->newdfd; /* l_int */ 248 uarg[3] = (intptr_t) p->newname; /* const char * */ 249 *n_args = 4; 250 break; 251 } 252 /* linux_mount */ 253 case 40: { 254 struct linux_mount_args *p = params; 255 uarg[0] = (intptr_t) p->specialfile; /* char * */ 256 uarg[1] = (intptr_t) p->dir; /* char * */ 257 uarg[2] = (intptr_t) p->filesystemtype; /* char * */ 258 iarg[3] = p->rwflag; /* l_ulong */ 259 uarg[4] = (intptr_t) p->data; /* void * */ 260 *n_args = 5; 261 break; 262 } 263 /* linux_pivot_root */ 264 case 41: { 265 *n_args = 0; 266 break; 267 } 268 /* linux_statfs */ 269 case 43: { 270 struct linux_statfs_args *p = params; 271 uarg[0] = (intptr_t) p->path; /* char * */ 272 uarg[1] = (intptr_t) p->buf; /* struct l_statfs_buf * */ 273 *n_args = 2; 274 break; 275 } 276 /* linux_fstatfs */ 277 case 44: { 278 struct linux_fstatfs_args *p = params; 279 iarg[0] = p->fd; /* l_uint */ 280 uarg[1] = (intptr_t) p->buf; /* struct l_statfs_buf * */ 281 *n_args = 2; 282 break; 283 } 284 /* linux_truncate */ 285 case 45: { 286 struct linux_truncate_args *p = params; 287 uarg[0] = (intptr_t) p->path; /* char * */ 288 iarg[1] = p->length; /* l_ulong */ 289 *n_args = 2; 290 break; 291 } 292 /* linux_ftruncate */ 293 case 46: { 294 struct linux_ftruncate_args *p = params; 295 iarg[0] = p->fd; /* l_int */ 296 iarg[1] = p->length; /* l_long */ 297 *n_args = 2; 298 break; 299 } 300 /* linux_fallocate */ 301 case 47: { 302 struct linux_fallocate_args *p = params; 303 iarg[0] = p->fd; /* l_int */ 304 iarg[1] = p->mode; /* l_int */ 305 iarg[2] = p->offset; /* l_loff_t */ 306 iarg[3] = p->len; /* l_loff_t */ 307 *n_args = 4; 308 break; 309 } 310 /* linux_faccessat */ 311 case 48: { 312 struct linux_faccessat_args *p = params; 313 iarg[0] = p->dfd; /* l_int */ 314 uarg[1] = (intptr_t) p->filename; /* const char * */ 315 iarg[2] = p->amode; /* l_int */ 316 *n_args = 3; 317 break; 318 } 319 /* linux_chdir */ 320 case 49: { 321 struct linux_chdir_args *p = params; 322 uarg[0] = (intptr_t) p->path; /* char * */ 323 *n_args = 1; 324 break; 325 } 326 /* fchdir */ 327 case 50: { 328 struct fchdir_args *p = params; 329 iarg[0] = p->fd; /* int */ 330 *n_args = 1; 331 break; 332 } 333 /* chroot */ 334 case 51: { 335 struct chroot_args *p = params; 336 uarg[0] = (intptr_t) p->path; /* char * */ 337 *n_args = 1; 338 break; 339 } 340 /* fchmod */ 341 case 52: { 342 struct fchmod_args *p = params; 343 iarg[0] = p->fd; /* int */ 344 iarg[1] = p->mode; /* int */ 345 *n_args = 2; 346 break; 347 } 348 /* linux_fchmodat */ 349 case 53: { 350 struct linux_fchmodat_args *p = params; 351 iarg[0] = p->dfd; /* l_int */ 352 uarg[1] = (intptr_t) p->filename; /* const char * */ 353 iarg[2] = p->mode; /* l_mode_t */ 354 *n_args = 3; 355 break; 356 } 357 /* linux_fchownat */ 358 case 54: { 359 struct linux_fchownat_args *p = params; 360 iarg[0] = p->dfd; /* l_int */ 361 uarg[1] = (intptr_t) p->filename; /* const char * */ 362 iarg[2] = p->uid; /* l_uid_t */ 363 iarg[3] = p->gid; /* l_gid_t */ 364 iarg[4] = p->flag; /* l_int */ 365 *n_args = 5; 366 break; 367 } 368 /* fchown */ 369 case 55: { 370 struct fchown_args *p = params; 371 iarg[0] = p->fd; /* int */ 372 iarg[1] = p->uid; /* int */ 373 iarg[2] = p->gid; /* int */ 374 *n_args = 3; 375 break; 376 } 377 /* linux_openat */ 378 case 56: { 379 struct linux_openat_args *p = params; 380 iarg[0] = p->dfd; /* l_int */ 381 uarg[1] = (intptr_t) p->filename; /* const char * */ 382 iarg[2] = p->flags; /* l_int */ 383 iarg[3] = p->mode; /* l_int */ 384 *n_args = 4; 385 break; 386 } 387 /* close */ 388 case 57: { 389 struct close_args *p = params; 390 iarg[0] = p->fd; /* int */ 391 *n_args = 1; 392 break; 393 } 394 /* linux_vhangup */ 395 case 58: { 396 *n_args = 0; 397 break; 398 } 399 /* linux_pipe2 */ 400 case 59: { 401 struct linux_pipe2_args *p = params; 402 uarg[0] = (intptr_t) p->pipefds; /* l_int * */ 403 iarg[1] = p->flags; /* l_int */ 404 *n_args = 2; 405 break; 406 } 407 /* linux_getdents64 */ 408 case 61: { 409 struct linux_getdents64_args *p = params; 410 iarg[0] = p->fd; /* l_uint */ 411 uarg[1] = (intptr_t) p->dirent; /* void * */ 412 iarg[2] = p->count; /* l_uint */ 413 *n_args = 3; 414 break; 415 } 416 /* linux_lseek */ 417 case 62: { 418 struct linux_lseek_args *p = params; 419 iarg[0] = p->fdes; /* l_uint */ 420 iarg[1] = p->off; /* l_off_t */ 421 iarg[2] = p->whence; /* l_int */ 422 *n_args = 3; 423 break; 424 } 425 /* read */ 426 case 63: { 427 struct read_args *p = params; 428 iarg[0] = p->fd; /* int */ 429 uarg[1] = (intptr_t) p->buf; /* char * */ 430 uarg[2] = p->nbyte; /* u_int */ 431 *n_args = 3; 432 break; 433 } 434 /* write */ 435 case 64: { 436 struct write_args *p = params; 437 iarg[0] = p->fd; /* int */ 438 uarg[1] = (intptr_t) p->buf; /* char * */ 439 uarg[2] = p->nbyte; /* u_int */ 440 *n_args = 3; 441 break; 442 } 443 /* readv */ 444 case 65: { 445 struct readv_args *p = params; 446 iarg[0] = p->fd; /* int */ 447 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */ 448 uarg[2] = p->iovcnt; /* u_int */ 449 *n_args = 3; 450 break; 451 } 452 /* writev */ 453 case 66: { 454 struct writev_args *p = params; 455 iarg[0] = p->fd; /* int */ 456 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */ 457 uarg[2] = p->iovcnt; /* u_int */ 458 *n_args = 3; 459 break; 460 } 461 /* linux_pread */ 462 case 67: { 463 struct linux_pread_args *p = params; 464 iarg[0] = p->fd; /* l_uint */ 465 uarg[1] = (intptr_t) p->buf; /* char * */ 466 iarg[2] = p->nbyte; /* l_size_t */ 467 iarg[3] = p->offset; /* l_loff_t */ 468 *n_args = 4; 469 break; 470 } 471 /* linux_pwrite */ 472 case 68: { 473 struct linux_pwrite_args *p = params; 474 iarg[0] = p->fd; /* l_uint */ 475 uarg[1] = (intptr_t) p->buf; /* char * */ 476 iarg[2] = p->nbyte; /* l_size_t */ 477 iarg[3] = p->offset; /* l_loff_t */ 478 *n_args = 4; 479 break; 480 } 481 /* linux_preadv */ 482 case 69: { 483 struct linux_preadv_args *p = params; 484 iarg[0] = p->fd; /* l_ulong */ 485 uarg[1] = (intptr_t) p->vec; /* struct iovec * */ 486 iarg[2] = p->vlen; /* l_ulong */ 487 iarg[3] = p->pos_l; /* l_ulong */ 488 iarg[4] = p->pos_h; /* l_ulong */ 489 *n_args = 5; 490 break; 491 } 492 /* linux_pwritev */ 493 case 70: { 494 struct linux_pwritev_args *p = params; 495 iarg[0] = p->fd; /* l_ulong */ 496 uarg[1] = (intptr_t) p->vec; /* struct iovec * */ 497 iarg[2] = p->vlen; /* l_ulong */ 498 iarg[3] = p->pos_l; /* l_ulong */ 499 iarg[4] = p->pos_h; /* l_ulong */ 500 *n_args = 5; 501 break; 502 } 503 /* linux_sendfile */ 504 case 71: { 505 struct linux_sendfile_args *p = params; 506 iarg[0] = p->out; /* l_int */ 507 iarg[1] = p->in; /* l_int */ 508 uarg[2] = (intptr_t) p->offset; /* l_long * */ 509 iarg[3] = p->count; /* l_size_t */ 510 *n_args = 4; 511 break; 512 } 513 /* linux_pselect6 */ 514 case 72: { 515 struct linux_pselect6_args *p = params; 516 iarg[0] = p->nfds; /* l_int */ 517 uarg[1] = (intptr_t) p->readfds; /* l_fd_set * */ 518 uarg[2] = (intptr_t) p->writefds; /* l_fd_set * */ 519 uarg[3] = (intptr_t) p->exceptfds; /* l_fd_set * */ 520 uarg[4] = (intptr_t) p->tsp; /* struct l_timespec * */ 521 uarg[5] = (intptr_t) p->sig; /* l_uintptr_t * */ 522 *n_args = 6; 523 break; 524 } 525 /* linux_ppoll */ 526 case 73: { 527 struct linux_ppoll_args *p = params; 528 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */ 529 uarg[1] = p->nfds; /* uint32_t */ 530 uarg[2] = (intptr_t) p->tsp; /* struct l_timespec * */ 531 uarg[3] = (intptr_t) p->sset; /* l_sigset_t * */ 532 iarg[4] = p->ssize; /* l_size_t */ 533 *n_args = 5; 534 break; 535 } 536 /* linux_signalfd4 */ 537 case 74: { 538 *n_args = 0; 539 break; 540 } 541 /* linux_vmsplice */ 542 case 75: { 543 *n_args = 0; 544 break; 545 } 546 /* linux_splice */ 547 case 76: { 548 *n_args = 0; 549 break; 550 } 551 /* linux_tee */ 552 case 77: { 553 *n_args = 0; 554 break; 555 } 556 /* linux_readlinkat */ 557 case 78: { 558 struct linux_readlinkat_args *p = params; 559 iarg[0] = p->dfd; /* l_int */ 560 uarg[1] = (intptr_t) p->path; /* const char * */ 561 uarg[2] = (intptr_t) p->buf; /* char * */ 562 iarg[3] = p->bufsiz; /* l_int */ 563 *n_args = 4; 564 break; 565 } 566 /* linux_newfstatat */ 567 case 79: { 568 struct linux_newfstatat_args *p = params; 569 iarg[0] = p->dfd; /* l_int */ 570 uarg[1] = (intptr_t) p->pathname; /* char * */ 571 uarg[2] = (intptr_t) p->statbuf; /* struct l_stat64 * */ 572 iarg[3] = p->flag; /* l_int */ 573 *n_args = 4; 574 break; 575 } 576 /* linux_newfstat */ 577 case 80: { 578 struct linux_newfstat_args *p = params; 579 iarg[0] = p->fd; /* l_uint */ 580 uarg[1] = (intptr_t) p->buf; /* struct l_newstat * */ 581 *n_args = 2; 582 break; 583 } 584 /* fsync */ 585 case 82: { 586 struct fsync_args *p = params; 587 iarg[0] = p->fd; /* int */ 588 *n_args = 1; 589 break; 590 } 591 /* linux_fdatasync */ 592 case 83: { 593 struct linux_fdatasync_args *p = params; 594 iarg[0] = p->fd; /* l_uint */ 595 *n_args = 1; 596 break; 597 } 598 /* linux_sync_file_range */ 599 case 84: { 600 *n_args = 0; 601 break; 602 } 603 /* linux_timerfd_create */ 604 case 85: { 605 struct linux_timerfd_create_args *p = params; 606 iarg[0] = p->clockid; /* l_int */ 607 iarg[1] = p->flags; /* l_int */ 608 *n_args = 2; 609 break; 610 } 611 /* linux_timerfd_settime */ 612 case 86: { 613 struct linux_timerfd_settime_args *p = params; 614 iarg[0] = p->fd; /* l_int */ 615 iarg[1] = p->flags; /* l_int */ 616 uarg[2] = (intptr_t) p->new_value; /* const struct l_itimerspec * */ 617 uarg[3] = (intptr_t) p->old_value; /* struct l_itimerspec * */ 618 *n_args = 4; 619 break; 620 } 621 /* linux_timerfd_gettime */ 622 case 87: { 623 struct linux_timerfd_gettime_args *p = params; 624 iarg[0] = p->fd; /* l_int */ 625 uarg[1] = (intptr_t) p->old_value; /* struct l_itimerspec * */ 626 *n_args = 2; 627 break; 628 } 629 /* linux_utimensat */ 630 case 88: { 631 struct linux_utimensat_args *p = params; 632 iarg[0] = p->dfd; /* l_int */ 633 uarg[1] = (intptr_t) p->pathname; /* const char * */ 634 uarg[2] = (intptr_t) p->times; /* const struct l_timespec * */ 635 iarg[3] = p->flags; /* l_int */ 636 *n_args = 4; 637 break; 638 } 639 /* acct */ 640 case 89: { 641 struct acct_args *p = params; 642 uarg[0] = (intptr_t) p->path; /* char * */ 643 *n_args = 1; 644 break; 645 } 646 /* linux_capget */ 647 case 90: { 648 struct linux_capget_args *p = params; 649 uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */ 650 uarg[1] = (intptr_t) p->datap; /* struct l_user_cap_data * */ 651 *n_args = 2; 652 break; 653 } 654 /* linux_capset */ 655 case 91: { 656 struct linux_capset_args *p = params; 657 uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */ 658 uarg[1] = (intptr_t) p->datap; /* struct l_user_cap_data * */ 659 *n_args = 2; 660 break; 661 } 662 /* linux_personality */ 663 case 92: { 664 struct linux_personality_args *p = params; 665 iarg[0] = p->per; /* l_uint */ 666 *n_args = 1; 667 break; 668 } 669 /* linux_exit */ 670 case 93: { 671 struct linux_exit_args *p = params; 672 iarg[0] = p->rval; /* int */ 673 *n_args = 1; 674 break; 675 } 676 /* linux_exit_group */ 677 case 94: { 678 struct linux_exit_group_args *p = params; 679 iarg[0] = p->error_code; /* int */ 680 *n_args = 1; 681 break; 682 } 683 /* linux_waitid */ 684 case 95: { 685 struct linux_waitid_args *p = params; 686 iarg[0] = p->idtype; /* l_int */ 687 iarg[1] = p->id; /* l_pid_t */ 688 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */ 689 iarg[3] = p->options; /* l_int */ 690 uarg[4] = (intptr_t) p->rusage; /* struct rusage * */ 691 *n_args = 5; 692 break; 693 } 694 /* linux_set_tid_address */ 695 case 96: { 696 struct linux_set_tid_address_args *p = params; 697 uarg[0] = (intptr_t) p->tidptr; /* int * */ 698 *n_args = 1; 699 break; 700 } 701 /* linux_unshare */ 702 case 97: { 703 *n_args = 0; 704 break; 705 } 706 /* linux_sys_futex */ 707 case 98: { 708 struct linux_sys_futex_args *p = params; 709 uarg[0] = (intptr_t) p->uaddr; /* void * */ 710 iarg[1] = p->op; /* int */ 711 iarg[2] = p->val; /* int */ 712 uarg[3] = (intptr_t) p->timeout; /* struct l_timespec * */ 713 uarg[4] = (intptr_t) p->uaddr2; /* void * */ 714 iarg[5] = p->val3; /* int */ 715 *n_args = 6; 716 break; 717 } 718 /* linux_set_robust_list */ 719 case 99: { 720 struct linux_set_robust_list_args *p = params; 721 uarg[0] = (intptr_t) p->head; /* struct linux_robust_list_head * */ 722 iarg[1] = p->len; /* l_size_t */ 723 *n_args = 2; 724 break; 725 } 726 /* linux_get_robust_list */ 727 case 100: { 728 struct linux_get_robust_list_args *p = params; 729 iarg[0] = p->pid; /* l_int */ 730 uarg[1] = (intptr_t) p->head; /* struct linux_robust_list_head ** */ 731 uarg[2] = (intptr_t) p->len; /* l_size_t * */ 732 *n_args = 3; 733 break; 734 } 735 /* linux_nanosleep */ 736 case 101: { 737 struct linux_nanosleep_args *p = params; 738 uarg[0] = (intptr_t) p->rqtp; /* const struct l_timespec * */ 739 uarg[1] = (intptr_t) p->rmtp; /* struct l_timespec * */ 740 *n_args = 2; 741 break; 742 } 743 /* linux_getitimer */ 744 case 102: { 745 struct linux_getitimer_args *p = params; 746 iarg[0] = p->which; /* l_int */ 747 uarg[1] = (intptr_t) p->itv; /* struct l_itimerval * */ 748 *n_args = 2; 749 break; 750 } 751 /* linux_setitimer */ 752 case 103: { 753 struct linux_setitimer_args *p = params; 754 iarg[0] = p->which; /* l_int */ 755 uarg[1] = (intptr_t) p->itv; /* struct l_itimerval * */ 756 uarg[2] = (intptr_t) p->oitv; /* struct l_itimerval * */ 757 *n_args = 3; 758 break; 759 } 760 /* linux_kexec_load */ 761 case 104: { 762 *n_args = 0; 763 break; 764 } 765 /* linux_init_module */ 766 case 105: { 767 *n_args = 0; 768 break; 769 } 770 /* linux_delete_module */ 771 case 106: { 772 *n_args = 0; 773 break; 774 } 775 /* linux_timer_create */ 776 case 107: { 777 struct linux_timer_create_args *p = params; 778 iarg[0] = p->clock_id; /* clockid_t */ 779 uarg[1] = (intptr_t) p->evp; /* struct sigevent * */ 780 uarg[2] = (intptr_t) p->timerid; /* l_timer_t * */ 781 *n_args = 3; 782 break; 783 } 784 /* linux_timer_gettime */ 785 case 108: { 786 struct linux_timer_gettime_args *p = params; 787 iarg[0] = p->timerid; /* l_timer_t */ 788 uarg[1] = (intptr_t) p->setting; /* struct itimerspec * */ 789 *n_args = 2; 790 break; 791 } 792 /* linux_timer_getoverrun */ 793 case 109: { 794 struct linux_timer_getoverrun_args *p = params; 795 iarg[0] = p->timerid; /* l_timer_t */ 796 *n_args = 1; 797 break; 798 } 799 /* linux_timer_settime */ 800 case 110: { 801 struct linux_timer_settime_args *p = params; 802 iarg[0] = p->timerid; /* l_timer_t */ 803 iarg[1] = p->flags; /* l_int */ 804 uarg[2] = (intptr_t) p->new; /* const struct itimerspec * */ 805 uarg[3] = (intptr_t) p->old; /* struct itimerspec * */ 806 *n_args = 4; 807 break; 808 } 809 /* linux_timer_delete */ 810 case 111: { 811 struct linux_timer_delete_args *p = params; 812 iarg[0] = p->timerid; /* l_timer_t */ 813 *n_args = 1; 814 break; 815 } 816 /* linux_clock_settime */ 817 case 112: { 818 struct linux_clock_settime_args *p = params; 819 iarg[0] = p->which; /* clockid_t */ 820 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */ 821 *n_args = 2; 822 break; 823 } 824 /* linux_clock_gettime */ 825 case 113: { 826 struct linux_clock_gettime_args *p = params; 827 iarg[0] = p->which; /* clockid_t */ 828 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */ 829 *n_args = 2; 830 break; 831 } 832 /* linux_clock_getres */ 833 case 114: { 834 struct linux_clock_getres_args *p = params; 835 iarg[0] = p->which; /* clockid_t */ 836 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */ 837 *n_args = 2; 838 break; 839 } 840 /* linux_clock_nanosleep */ 841 case 115: { 842 struct linux_clock_nanosleep_args *p = params; 843 iarg[0] = p->which; /* clockid_t */ 844 iarg[1] = p->flags; /* int */ 845 uarg[2] = (intptr_t) p->rqtp; /* struct l_timespec * */ 846 uarg[3] = (intptr_t) p->rmtp; /* struct l_timespec * */ 847 *n_args = 4; 848 break; 849 } 850 /* linux_syslog */ 851 case 116: { 852 struct linux_syslog_args *p = params; 853 iarg[0] = p->type; /* l_int */ 854 uarg[1] = (intptr_t) p->buf; /* char * */ 855 iarg[2] = p->len; /* l_int */ 856 *n_args = 3; 857 break; 858 } 859 /* linux_ptrace */ 860 case 117: { 861 struct linux_ptrace_args *p = params; 862 iarg[0] = p->req; /* l_long */ 863 iarg[1] = p->pid; /* l_long */ 864 iarg[2] = p->addr; /* l_ulong */ 865 iarg[3] = p->data; /* l_ulong */ 866 *n_args = 4; 867 break; 868 } 869 /* linux_sched_setparam */ 870 case 118: { 871 struct linux_sched_setparam_args *p = params; 872 iarg[0] = p->pid; /* l_pid_t */ 873 uarg[1] = (intptr_t) p->param; /* struct sched_param * */ 874 *n_args = 2; 875 break; 876 } 877 /* linux_sched_setscheduler */ 878 case 119: { 879 struct linux_sched_setscheduler_args *p = params; 880 iarg[0] = p->pid; /* l_pid_t */ 881 iarg[1] = p->policy; /* l_int */ 882 uarg[2] = (intptr_t) p->param; /* struct sched_param * */ 883 *n_args = 3; 884 break; 885 } 886 /* linux_sched_getscheduler */ 887 case 120: { 888 struct linux_sched_getscheduler_args *p = params; 889 iarg[0] = p->pid; /* l_pid_t */ 890 *n_args = 1; 891 break; 892 } 893 /* linux_sched_getparam */ 894 case 121: { 895 struct linux_sched_getparam_args *p = params; 896 iarg[0] = p->pid; /* l_pid_t */ 897 uarg[1] = (intptr_t) p->param; /* struct sched_param * */ 898 *n_args = 2; 899 break; 900 } 901 /* linux_sched_setaffinity */ 902 case 122: { 903 struct linux_sched_setaffinity_args *p = params; 904 iarg[0] = p->pid; /* l_pid_t */ 905 iarg[1] = p->len; /* l_uint */ 906 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */ 907 *n_args = 3; 908 break; 909 } 910 /* linux_sched_getaffinity */ 911 case 123: { 912 struct linux_sched_getaffinity_args *p = params; 913 iarg[0] = p->pid; /* l_pid_t */ 914 iarg[1] = p->len; /* l_uint */ 915 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */ 916 *n_args = 3; 917 break; 918 } 919 /* sched_yield */ 920 case 124: { 921 *n_args = 0; 922 break; 923 } 924 /* linux_sched_get_priority_max */ 925 case 125: { 926 struct linux_sched_get_priority_max_args *p = params; 927 iarg[0] = p->policy; /* l_int */ 928 *n_args = 1; 929 break; 930 } 931 /* linux_sched_get_priority_min */ 932 case 126: { 933 struct linux_sched_get_priority_min_args *p = params; 934 iarg[0] = p->policy; /* l_int */ 935 *n_args = 1; 936 break; 937 } 938 /* linux_sched_rr_get_interval */ 939 case 127: { 940 struct linux_sched_rr_get_interval_args *p = params; 941 iarg[0] = p->pid; /* l_pid_t */ 942 uarg[1] = (intptr_t) p->interval; /* struct l_timespec * */ 943 *n_args = 2; 944 break; 945 } 946 /* linux_kill */ 947 case 129: { 948 struct linux_kill_args *p = params; 949 iarg[0] = p->pid; /* l_int */ 950 iarg[1] = p->signum; /* l_int */ 951 *n_args = 2; 952 break; 953 } 954 /* linux_tkill */ 955 case 130: { 956 struct linux_tkill_args *p = params; 957 iarg[0] = p->tid; /* l_int */ 958 iarg[1] = p->sig; /* l_int */ 959 *n_args = 2; 960 break; 961 } 962 /* linux_tgkill */ 963 case 131: { 964 struct linux_tgkill_args *p = params; 965 iarg[0] = p->tgid; /* l_int */ 966 iarg[1] = p->pid; /* l_int */ 967 iarg[2] = p->sig; /* l_int */ 968 *n_args = 3; 969 break; 970 } 971 /* linux_sigaltstack */ 972 case 132: { 973 struct linux_sigaltstack_args *p = params; 974 uarg[0] = (intptr_t) p->uss; /* l_stack_t * */ 975 uarg[1] = (intptr_t) p->uoss; /* l_stack_t * */ 976 *n_args = 2; 977 break; 978 } 979 /* linux_rt_sigsuspend */ 980 case 133: { 981 struct linux_rt_sigsuspend_args *p = params; 982 uarg[0] = (intptr_t) p->newset; /* l_sigset_t * */ 983 iarg[1] = p->sigsetsize; /* l_size_t */ 984 *n_args = 2; 985 break; 986 } 987 /* linux_rt_sigaction */ 988 case 134: { 989 struct linux_rt_sigaction_args *p = params; 990 iarg[0] = p->sig; /* l_int */ 991 uarg[1] = (intptr_t) p->act; /* l_sigaction_t * */ 992 uarg[2] = (intptr_t) p->oact; /* l_sigaction_t * */ 993 iarg[3] = p->sigsetsize; /* l_size_t */ 994 *n_args = 4; 995 break; 996 } 997 /* linux_rt_sigprocmask */ 998 case 135: { 999 struct linux_rt_sigprocmask_args *p = params; 1000 iarg[0] = p->how; /* l_int */ 1001 uarg[1] = (intptr_t) p->mask; /* l_sigset_t * */ 1002 uarg[2] = (intptr_t) p->omask; /* l_sigset_t * */ 1003 iarg[3] = p->sigsetsize; /* l_size_t */ 1004 *n_args = 4; 1005 break; 1006 } 1007 /* linux_rt_sigpending */ 1008 case 136: { 1009 struct linux_rt_sigpending_args *p = params; 1010 uarg[0] = (intptr_t) p->set; /* l_sigset_t * */ 1011 iarg[1] = p->sigsetsize; /* l_size_t */ 1012 *n_args = 2; 1013 break; 1014 } 1015 /* linux_rt_sigtimedwait */ 1016 case 137: { 1017 struct linux_rt_sigtimedwait_args *p = params; 1018 uarg[0] = (intptr_t) p->mask; /* l_sigset_t * */ 1019 uarg[1] = (intptr_t) p->ptr; /* l_siginfo_t * */ 1020 uarg[2] = (intptr_t) p->timeout; /* struct l_timeval * */ 1021 iarg[3] = p->sigsetsize; /* l_size_t */ 1022 *n_args = 4; 1023 break; 1024 } 1025 /* linux_rt_sigqueueinfo */ 1026 case 138: { 1027 struct linux_rt_sigqueueinfo_args *p = params; 1028 iarg[0] = p->pid; /* l_pid_t */ 1029 iarg[1] = p->sig; /* l_int */ 1030 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */ 1031 *n_args = 3; 1032 break; 1033 } 1034 /* linux_rt_sigreturn */ 1035 case 139: { 1036 struct linux_rt_sigreturn_args *p = params; 1037 uarg[0] = (intptr_t) p->ucp; /* struct l_ucontext * */ 1038 *n_args = 1; 1039 break; 1040 } 1041 /* setpriority */ 1042 case 140: { 1043 struct setpriority_args *p = params; 1044 iarg[0] = p->which; /* int */ 1045 iarg[1] = p->who; /* int */ 1046 iarg[2] = p->prio; /* int */ 1047 *n_args = 3; 1048 break; 1049 } 1050 /* linux_getpriority */ 1051 case 141: { 1052 struct linux_getpriority_args *p = params; 1053 iarg[0] = p->which; /* l_int */ 1054 iarg[1] = p->who; /* l_int */ 1055 *n_args = 2; 1056 break; 1057 } 1058 /* linux_reboot */ 1059 case 142: { 1060 struct linux_reboot_args *p = params; 1061 iarg[0] = p->magic1; /* l_int */ 1062 iarg[1] = p->magic2; /* l_int */ 1063 iarg[2] = p->cmd; /* l_uint */ 1064 uarg[3] = (intptr_t) p->arg; /* void * */ 1065 *n_args = 4; 1066 break; 1067 } 1068 /* setregid */ 1069 case 143: { 1070 struct setregid_args *p = params; 1071 iarg[0] = p->rgid; /* gid_t */ 1072 iarg[1] = p->egid; /* gid_t */ 1073 *n_args = 2; 1074 break; 1075 } 1076 /* setgid */ 1077 case 144: { 1078 struct setgid_args *p = params; 1079 iarg[0] = p->gid; /* gid_t */ 1080 *n_args = 1; 1081 break; 1082 } 1083 /* setreuid */ 1084 case 145: { 1085 struct setreuid_args *p = params; 1086 uarg[0] = p->ruid; /* uid_t */ 1087 uarg[1] = p->euid; /* uid_t */ 1088 *n_args = 2; 1089 break; 1090 } 1091 /* setuid */ 1092 case 146: { 1093 struct setuid_args *p = params; 1094 uarg[0] = p->uid; /* uid_t */ 1095 *n_args = 1; 1096 break; 1097 } 1098 /* setresuid */ 1099 case 147: { 1100 struct setresuid_args *p = params; 1101 uarg[0] = p->ruid; /* uid_t */ 1102 uarg[1] = p->euid; /* uid_t */ 1103 uarg[2] = p->suid; /* uid_t */ 1104 *n_args = 3; 1105 break; 1106 } 1107 /* getresuid */ 1108 case 148: { 1109 struct getresuid_args *p = params; 1110 uarg[0] = (intptr_t) p->ruid; /* uid_t * */ 1111 uarg[1] = (intptr_t) p->euid; /* uid_t * */ 1112 uarg[2] = (intptr_t) p->suid; /* uid_t * */ 1113 *n_args = 3; 1114 break; 1115 } 1116 /* setresgid */ 1117 case 149: { 1118 struct setresgid_args *p = params; 1119 iarg[0] = p->rgid; /* gid_t */ 1120 iarg[1] = p->egid; /* gid_t */ 1121 iarg[2] = p->sgid; /* gid_t */ 1122 *n_args = 3; 1123 break; 1124 } 1125 /* getresgid */ 1126 case 150: { 1127 struct getresgid_args *p = params; 1128 uarg[0] = (intptr_t) p->rgid; /* gid_t * */ 1129 uarg[1] = (intptr_t) p->egid; /* gid_t * */ 1130 uarg[2] = (intptr_t) p->sgid; /* gid_t * */ 1131 *n_args = 3; 1132 break; 1133 } 1134 /* linux_setfsuid */ 1135 case 151: { 1136 struct linux_setfsuid_args *p = params; 1137 iarg[0] = p->uid; /* l_uid_t */ 1138 *n_args = 1; 1139 break; 1140 } 1141 /* linux_setfsgid */ 1142 case 152: { 1143 struct linux_setfsgid_args *p = params; 1144 iarg[0] = p->gid; /* l_gid_t */ 1145 *n_args = 1; 1146 break; 1147 } 1148 /* linux_times */ 1149 case 153: { 1150 struct linux_times_args *p = params; 1151 uarg[0] = (intptr_t) p->buf; /* struct l_times_argv * */ 1152 *n_args = 1; 1153 break; 1154 } 1155 /* setpgid */ 1156 case 154: { 1157 struct setpgid_args *p = params; 1158 iarg[0] = p->pid; /* int */ 1159 iarg[1] = p->pgid; /* int */ 1160 *n_args = 2; 1161 break; 1162 } 1163 /* getpgid */ 1164 case 155: { 1165 struct getpgid_args *p = params; 1166 iarg[0] = p->pid; /* int */ 1167 *n_args = 1; 1168 break; 1169 } 1170 /* linux_getsid */ 1171 case 156: { 1172 struct linux_getsid_args *p = params; 1173 iarg[0] = p->pid; /* l_pid_t */ 1174 *n_args = 1; 1175 break; 1176 } 1177 /* setsid */ 1178 case 157: { 1179 *n_args = 0; 1180 break; 1181 } 1182 /* linux_getgroups */ 1183 case 158: { 1184 struct linux_getgroups_args *p = params; 1185 iarg[0] = p->gidsetsize; /* l_int */ 1186 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */ 1187 *n_args = 2; 1188 break; 1189 } 1190 /* linux_setgroups */ 1191 case 159: { 1192 struct linux_setgroups_args *p = params; 1193 iarg[0] = p->gidsetsize; /* l_int */ 1194 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */ 1195 *n_args = 2; 1196 break; 1197 } 1198 /* linux_newuname */ 1199 case 160: { 1200 struct linux_newuname_args *p = params; 1201 uarg[0] = (intptr_t) p->buf; /* struct l_new_utsname * */ 1202 *n_args = 1; 1203 break; 1204 } 1205 /* linux_sethostname */ 1206 case 161: { 1207 struct linux_sethostname_args *p = params; 1208 uarg[0] = (intptr_t) p->hostname; /* char * */ 1209 iarg[1] = p->len; /* l_uint */ 1210 *n_args = 2; 1211 break; 1212 } 1213 /* linux_setdomainname */ 1214 case 162: { 1215 struct linux_setdomainname_args *p = params; 1216 uarg[0] = (intptr_t) p->name; /* char * */ 1217 iarg[1] = p->len; /* l_int */ 1218 *n_args = 2; 1219 break; 1220 } 1221 /* linux_getrlimit */ 1222 case 163: { 1223 struct linux_getrlimit_args *p = params; 1224 iarg[0] = p->resource; /* l_uint */ 1225 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */ 1226 *n_args = 2; 1227 break; 1228 } 1229 /* linux_setrlimit */ 1230 case 164: { 1231 struct linux_setrlimit_args *p = params; 1232 iarg[0] = p->resource; /* l_uint */ 1233 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */ 1234 *n_args = 2; 1235 break; 1236 } 1237 /* getrusage */ 1238 case 165: { 1239 struct getrusage_args *p = params; 1240 iarg[0] = p->who; /* int */ 1241 uarg[1] = (intptr_t) p->rusage; /* struct rusage * */ 1242 *n_args = 2; 1243 break; 1244 } 1245 /* umask */ 1246 case 166: { 1247 struct umask_args *p = params; 1248 iarg[0] = p->newmask; /* int */ 1249 *n_args = 1; 1250 break; 1251 } 1252 /* linux_prctl */ 1253 case 167: { 1254 struct linux_prctl_args *p = params; 1255 iarg[0] = p->option; /* l_int */ 1256 iarg[1] = p->arg2; /* l_uintptr_t */ 1257 iarg[2] = p->arg3; /* l_uintptr_t */ 1258 iarg[3] = p->arg4; /* l_uintptr_t */ 1259 iarg[4] = p->arg5; /* l_uintptr_t */ 1260 *n_args = 5; 1261 break; 1262 } 1263 /* linux_getcpu */ 1264 case 168: { 1265 struct linux_getcpu_args *p = params; 1266 uarg[0] = (intptr_t) p->cpu; /* l_uint * */ 1267 uarg[1] = (intptr_t) p->node; /* l_uint * */ 1268 uarg[2] = (intptr_t) p->cache; /* void * */ 1269 *n_args = 3; 1270 break; 1271 } 1272 /* gettimeofday */ 1273 case 169: { 1274 struct gettimeofday_args *p = params; 1275 uarg[0] = (intptr_t) p->tp; /* struct l_timeval * */ 1276 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */ 1277 *n_args = 2; 1278 break; 1279 } 1280 /* settimeofday */ 1281 case 170: { 1282 struct settimeofday_args *p = params; 1283 uarg[0] = (intptr_t) p->tv; /* struct l_timeval * */ 1284 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */ 1285 *n_args = 2; 1286 break; 1287 } 1288 /* linux_adjtimex */ 1289 case 171: { 1290 *n_args = 0; 1291 break; 1292 } 1293 /* linux_getpid */ 1294 case 172: { 1295 *n_args = 0; 1296 break; 1297 } 1298 /* linux_getppid */ 1299 case 173: { 1300 *n_args = 0; 1301 break; 1302 } 1303 /* linux_getuid */ 1304 case 174: { 1305 *n_args = 0; 1306 break; 1307 } 1308 /* geteuid */ 1309 case 175: { 1310 *n_args = 0; 1311 break; 1312 } 1313 /* linux_getgid */ 1314 case 176: { 1315 *n_args = 0; 1316 break; 1317 } 1318 /* getegid */ 1319 case 177: { 1320 *n_args = 0; 1321 break; 1322 } 1323 /* linux_gettid */ 1324 case 178: { 1325 *n_args = 0; 1326 break; 1327 } 1328 /* linux_sysinfo */ 1329 case 179: { 1330 struct linux_sysinfo_args *p = params; 1331 uarg[0] = (intptr_t) p->info; /* struct l_sysinfo * */ 1332 *n_args = 1; 1333 break; 1334 } 1335 /* linux_mq_open */ 1336 case 180: { 1337 *n_args = 0; 1338 break; 1339 } 1340 /* linux_mq_unlink */ 1341 case 181: { 1342 *n_args = 0; 1343 break; 1344 } 1345 /* linux_mq_timedsend */ 1346 case 182: { 1347 *n_args = 0; 1348 break; 1349 } 1350 /* linux_mq_timedreceive */ 1351 case 183: { 1352 *n_args = 0; 1353 break; 1354 } 1355 /* linux_mq_notify */ 1356 case 184: { 1357 *n_args = 0; 1358 break; 1359 } 1360 /* linux_mq_getsetattr */ 1361 case 185: { 1362 *n_args = 0; 1363 break; 1364 } 1365 /* linux_msgget */ 1366 case 186: { 1367 struct linux_msgget_args *p = params; 1368 iarg[0] = p->key; /* l_key_t */ 1369 iarg[1] = p->msgflg; /* l_int */ 1370 *n_args = 2; 1371 break; 1372 } 1373 /* linux_msgctl */ 1374 case 187: { 1375 struct linux_msgctl_args *p = params; 1376 iarg[0] = p->msqid; /* l_int */ 1377 iarg[1] = p->cmd; /* l_int */ 1378 uarg[2] = (intptr_t) p->buf; /* struct l_msqid_ds * */ 1379 *n_args = 3; 1380 break; 1381 } 1382 /* linux_msgrcv */ 1383 case 188: { 1384 struct linux_msgrcv_args *p = params; 1385 iarg[0] = p->msqid; /* l_int */ 1386 uarg[1] = (intptr_t) p->msgp; /* struct l_msgbuf * */ 1387 iarg[2] = p->msgsz; /* l_size_t */ 1388 iarg[3] = p->msgtyp; /* l_long */ 1389 iarg[4] = p->msgflg; /* l_int */ 1390 *n_args = 5; 1391 break; 1392 } 1393 /* linux_msgsnd */ 1394 case 189: { 1395 struct linux_msgsnd_args *p = params; 1396 iarg[0] = p->msqid; /* l_int */ 1397 uarg[1] = (intptr_t) p->msgp; /* struct l_msgbuf * */ 1398 iarg[2] = p->msgsz; /* l_size_t */ 1399 iarg[3] = p->msgflg; /* l_int */ 1400 *n_args = 4; 1401 break; 1402 } 1403 /* linux_semget */ 1404 case 190: { 1405 struct linux_semget_args *p = params; 1406 iarg[0] = p->key; /* l_key_t */ 1407 iarg[1] = p->nsems; /* l_int */ 1408 iarg[2] = p->semflg; /* l_int */ 1409 *n_args = 3; 1410 break; 1411 } 1412 /* linux_semctl */ 1413 case 191: { 1414 struct linux_semctl_args *p = params; 1415 iarg[0] = p->semid; /* l_int */ 1416 iarg[1] = p->semnum; /* l_int */ 1417 iarg[2] = p->cmd; /* l_int */ 1418 uarg[3] = p->arg.buf; /* union l_semun */ 1419 *n_args = 4; 1420 break; 1421 } 1422 /* linux_semtimedop */ 1423 case 192: { 1424 *n_args = 0; 1425 break; 1426 } 1427 /* linux_semop */ 1428 case 193: { 1429 struct linux_semop_args *p = params; 1430 iarg[0] = p->semid; /* l_int */ 1431 uarg[1] = (intptr_t) p->tsops; /* struct l_sembuf * */ 1432 iarg[2] = p->nsops; /* l_uint */ 1433 *n_args = 3; 1434 break; 1435 } 1436 /* linux_shmget */ 1437 case 194: { 1438 struct linux_shmget_args *p = params; 1439 iarg[0] = p->key; /* l_key_t */ 1440 iarg[1] = p->size; /* l_size_t */ 1441 iarg[2] = p->shmflg; /* l_int */ 1442 *n_args = 3; 1443 break; 1444 } 1445 /* linux_shmctl */ 1446 case 195: { 1447 struct linux_shmctl_args *p = params; 1448 iarg[0] = p->shmid; /* l_int */ 1449 iarg[1] = p->cmd; /* l_int */ 1450 uarg[2] = (intptr_t) p->buf; /* struct l_shmid_ds * */ 1451 *n_args = 3; 1452 break; 1453 } 1454 /* linux_shmat */ 1455 case 196: { 1456 struct linux_shmat_args *p = params; 1457 iarg[0] = p->shmid; /* l_int */ 1458 uarg[1] = (intptr_t) p->shmaddr; /* char * */ 1459 iarg[2] = p->shmflg; /* l_int */ 1460 *n_args = 3; 1461 break; 1462 } 1463 /* linux_shmdt */ 1464 case 197: { 1465 struct linux_shmdt_args *p = params; 1466 uarg[0] = (intptr_t) p->shmaddr; /* char * */ 1467 *n_args = 1; 1468 break; 1469 } 1470 /* linux_socket */ 1471 case 198: { 1472 struct linux_socket_args *p = params; 1473 iarg[0] = p->domain; /* l_int */ 1474 iarg[1] = p->type; /* l_int */ 1475 iarg[2] = p->protocol; /* l_int */ 1476 *n_args = 3; 1477 break; 1478 } 1479 /* linux_socketpair */ 1480 case 199: { 1481 struct linux_socketpair_args *p = params; 1482 iarg[0] = p->domain; /* l_int */ 1483 iarg[1] = p->type; /* l_int */ 1484 iarg[2] = p->protocol; /* l_int */ 1485 iarg[3] = p->rsv; /* l_uintptr_t */ 1486 *n_args = 4; 1487 break; 1488 } 1489 /* linux_bind */ 1490 case 200: { 1491 struct linux_bind_args *p = params; 1492 iarg[0] = p->s; /* l_int */ 1493 iarg[1] = p->name; /* l_uintptr_t */ 1494 iarg[2] = p->namelen; /* l_int */ 1495 *n_args = 3; 1496 break; 1497 } 1498 /* linux_listen */ 1499 case 201: { 1500 struct linux_listen_args *p = params; 1501 iarg[0] = p->s; /* l_int */ 1502 iarg[1] = p->backlog; /* l_int */ 1503 *n_args = 2; 1504 break; 1505 } 1506 /* linux_accept */ 1507 case 202: { 1508 struct linux_accept_args *p = params; 1509 iarg[0] = p->s; /* l_int */ 1510 iarg[1] = p->addr; /* l_uintptr_t */ 1511 iarg[2] = p->namelen; /* l_uintptr_t */ 1512 *n_args = 3; 1513 break; 1514 } 1515 /* linux_connect */ 1516 case 203: { 1517 struct linux_connect_args *p = params; 1518 iarg[0] = p->s; /* l_int */ 1519 iarg[1] = p->name; /* l_uintptr_t */ 1520 iarg[2] = p->namelen; /* l_int */ 1521 *n_args = 3; 1522 break; 1523 } 1524 /* linux_getsockname */ 1525 case 204: { 1526 struct linux_getsockname_args *p = params; 1527 iarg[0] = p->s; /* l_int */ 1528 iarg[1] = p->addr; /* l_uintptr_t */ 1529 iarg[2] = p->namelen; /* l_uintptr_t */ 1530 *n_args = 3; 1531 break; 1532 } 1533 /* linux_getpeername */ 1534 case 205: { 1535 struct linux_getpeername_args *p = params; 1536 iarg[0] = p->s; /* l_int */ 1537 iarg[1] = p->addr; /* l_uintptr_t */ 1538 iarg[2] = p->namelen; /* l_uintptr_t */ 1539 *n_args = 3; 1540 break; 1541 } 1542 /* linux_sendto */ 1543 case 206: { 1544 struct linux_sendto_args *p = params; 1545 iarg[0] = p->s; /* l_int */ 1546 iarg[1] = p->msg; /* l_uintptr_t */ 1547 iarg[2] = p->len; /* l_int */ 1548 iarg[3] = p->flags; /* l_int */ 1549 iarg[4] = p->to; /* l_uintptr_t */ 1550 iarg[5] = p->tolen; /* l_int */ 1551 *n_args = 6; 1552 break; 1553 } 1554 /* linux_recvfrom */ 1555 case 207: { 1556 struct linux_recvfrom_args *p = params; 1557 iarg[0] = p->s; /* l_int */ 1558 iarg[1] = p->buf; /* l_uintptr_t */ 1559 iarg[2] = p->len; /* l_size_t */ 1560 iarg[3] = p->flags; /* l_int */ 1561 iarg[4] = p->from; /* l_uintptr_t */ 1562 iarg[5] = p->fromlen; /* l_uintptr_t */ 1563 *n_args = 6; 1564 break; 1565 } 1566 /* linux_setsockopt */ 1567 case 208: { 1568 struct linux_setsockopt_args *p = params; 1569 iarg[0] = p->s; /* l_int */ 1570 iarg[1] = p->level; /* l_int */ 1571 iarg[2] = p->optname; /* l_int */ 1572 iarg[3] = p->optval; /* l_uintptr_t */ 1573 iarg[4] = p->optlen; /* l_int */ 1574 *n_args = 5; 1575 break; 1576 } 1577 /* linux_getsockopt */ 1578 case 209: { 1579 struct linux_getsockopt_args *p = params; 1580 iarg[0] = p->s; /* l_int */ 1581 iarg[1] = p->level; /* l_int */ 1582 iarg[2] = p->optname; /* l_int */ 1583 iarg[3] = p->optval; /* l_uintptr_t */ 1584 iarg[4] = p->optlen; /* l_uintptr_t */ 1585 *n_args = 5; 1586 break; 1587 } 1588 /* linux_shutdown */ 1589 case 210: { 1590 struct linux_shutdown_args *p = params; 1591 iarg[0] = p->s; /* l_int */ 1592 iarg[1] = p->how; /* l_int */ 1593 *n_args = 2; 1594 break; 1595 } 1596 /* linux_sendmsg */ 1597 case 211: { 1598 struct linux_sendmsg_args *p = params; 1599 iarg[0] = p->s; /* l_int */ 1600 iarg[1] = p->msg; /* l_uintptr_t */ 1601 iarg[2] = p->flags; /* l_int */ 1602 *n_args = 3; 1603 break; 1604 } 1605 /* linux_recvmsg */ 1606 case 212: { 1607 struct linux_recvmsg_args *p = params; 1608 iarg[0] = p->s; /* l_int */ 1609 iarg[1] = p->msg; /* l_uintptr_t */ 1610 iarg[2] = p->flags; /* l_int */ 1611 *n_args = 3; 1612 break; 1613 } 1614 /* linux_brk */ 1615 case 214: { 1616 struct linux_brk_args *p = params; 1617 iarg[0] = p->dsend; /* l_ulong */ 1618 *n_args = 1; 1619 break; 1620 } 1621 /* munmap */ 1622 case 215: { 1623 struct munmap_args *p = params; 1624 uarg[0] = (intptr_t) p->addr; /* caddr_t */ 1625 iarg[1] = p->len; /* int */ 1626 *n_args = 2; 1627 break; 1628 } 1629 /* linux_mremap */ 1630 case 216: { 1631 struct linux_mremap_args *p = params; 1632 iarg[0] = p->addr; /* l_ulong */ 1633 iarg[1] = p->old_len; /* l_ulong */ 1634 iarg[2] = p->new_len; /* l_ulong */ 1635 iarg[3] = p->flags; /* l_ulong */ 1636 iarg[4] = p->new_addr; /* l_ulong */ 1637 *n_args = 5; 1638 break; 1639 } 1640 /* linux_add_key */ 1641 case 217: { 1642 *n_args = 0; 1643 break; 1644 } 1645 /* linux_request_key */ 1646 case 218: { 1647 *n_args = 0; 1648 break; 1649 } 1650 /* linux_keyctl */ 1651 case 219: { 1652 *n_args = 0; 1653 break; 1654 } 1655 /* linux_clone */ 1656 case 220: { 1657 struct linux_clone_args *p = params; 1658 iarg[0] = p->flags; /* l_int */ 1659 uarg[1] = (intptr_t) p->stack; /* void * */ 1660 uarg[2] = (intptr_t) p->parent_tidptr; /* void * */ 1661 uarg[3] = (intptr_t) p->tls; /* void * */ 1662 uarg[4] = (intptr_t) p->child_tidptr; /* void * */ 1663 *n_args = 5; 1664 break; 1665 } 1666 /* linux_execve */ 1667 case 221: { 1668 struct linux_execve_args *p = params; 1669 uarg[0] = (intptr_t) p->path; /* char * */ 1670 uarg[1] = (intptr_t) p->argp; /* char ** */ 1671 uarg[2] = (intptr_t) p->envp; /* char ** */ 1672 *n_args = 3; 1673 break; 1674 } 1675 /* linux_mmap2 */ 1676 case 222: { 1677 struct linux_mmap2_args *p = params; 1678 iarg[0] = p->addr; /* l_ulong */ 1679 iarg[1] = p->len; /* l_ulong */ 1680 iarg[2] = p->prot; /* l_ulong */ 1681 iarg[3] = p->flags; /* l_ulong */ 1682 iarg[4] = p->fd; /* l_ulong */ 1683 iarg[5] = p->pgoff; /* l_ulong */ 1684 *n_args = 6; 1685 break; 1686 } 1687 /* linux_fadvise64 */ 1688 case 223: { 1689 struct linux_fadvise64_args *p = params; 1690 iarg[0] = p->fd; /* l_int */ 1691 iarg[1] = p->offset; /* l_loff_t */ 1692 iarg[2] = p->len; /* l_size_t */ 1693 iarg[3] = p->advice; /* l_int */ 1694 *n_args = 4; 1695 break; 1696 } 1697 /* swapon */ 1698 case 224: { 1699 struct swapon_args *p = params; 1700 uarg[0] = (intptr_t) p->name; /* char * */ 1701 *n_args = 1; 1702 break; 1703 } 1704 /* linux_swapoff */ 1705 case 225: { 1706 *n_args = 0; 1707 break; 1708 } 1709 /* linux_mprotect */ 1710 case 226: { 1711 struct linux_mprotect_args *p = params; 1712 uarg[0] = (intptr_t) p->addr; /* caddr_t */ 1713 iarg[1] = p->len; /* l_int */ 1714 iarg[2] = p->prot; /* l_int */ 1715 *n_args = 3; 1716 break; 1717 } 1718 /* linux_msync */ 1719 case 227: { 1720 struct linux_msync_args *p = params; 1721 iarg[0] = p->addr; /* l_ulong */ 1722 iarg[1] = p->len; /* l_size_t */ 1723 iarg[2] = p->fl; /* l_int */ 1724 *n_args = 3; 1725 break; 1726 } 1727 /* mlock */ 1728 case 228: { 1729 struct mlock_args *p = params; 1730 uarg[0] = (intptr_t) p->addr; /* const void * */ 1731 uarg[1] = p->len; /* size_t */ 1732 *n_args = 2; 1733 break; 1734 } 1735 /* munlock */ 1736 case 229: { 1737 struct munlock_args *p = params; 1738 uarg[0] = (intptr_t) p->addr; /* const void * */ 1739 uarg[1] = p->len; /* size_t */ 1740 *n_args = 2; 1741 break; 1742 } 1743 /* mlockall */ 1744 case 230: { 1745 struct mlockall_args *p = params; 1746 iarg[0] = p->how; /* int */ 1747 *n_args = 1; 1748 break; 1749 } 1750 /* munlockall */ 1751 case 231: { 1752 *n_args = 0; 1753 break; 1754 } 1755 /* linux_mincore */ 1756 case 232: { 1757 struct linux_mincore_args *p = params; 1758 iarg[0] = p->start; /* l_ulong */ 1759 iarg[1] = p->len; /* l_size_t */ 1760 uarg[2] = (intptr_t) p->vec; /* u_char * */ 1761 *n_args = 3; 1762 break; 1763 } 1764 /* madvise */ 1765 case 233: { 1766 struct madvise_args *p = params; 1767 uarg[0] = (intptr_t) p->addr; /* void * */ 1768 uarg[1] = p->len; /* size_t */ 1769 iarg[2] = p->behav; /* int */ 1770 *n_args = 3; 1771 break; 1772 } 1773 /* linux_remap_file_pages */ 1774 case 234: { 1775 *n_args = 0; 1776 break; 1777 } 1778 /* linux_mbind */ 1779 case 235: { 1780 *n_args = 0; 1781 break; 1782 } 1783 /* linux_get_mempolicy */ 1784 case 236: { 1785 *n_args = 0; 1786 break; 1787 } 1788 /* linux_set_mempolicy */ 1789 case 237: { 1790 *n_args = 0; 1791 break; 1792 } 1793 /* linux_migrate_pages */ 1794 case 238: { 1795 *n_args = 0; 1796 break; 1797 } 1798 /* linux_move_pages */ 1799 case 239: { 1800 *n_args = 0; 1801 break; 1802 } 1803 /* linux_rt_tgsigqueueinfo */ 1804 case 240: { 1805 struct linux_rt_tgsigqueueinfo_args *p = params; 1806 iarg[0] = p->tgid; /* l_pid_t */ 1807 iarg[1] = p->tid; /* l_pid_t */ 1808 iarg[2] = p->sig; /* l_int */ 1809 uarg[3] = (intptr_t) p->uinfo; /* l_siginfo_t * */ 1810 *n_args = 4; 1811 break; 1812 } 1813 /* linux_perf_event_open */ 1814 case 241: { 1815 *n_args = 0; 1816 break; 1817 } 1818 /* linux_accept4 */ 1819 case 242: { 1820 struct linux_accept4_args *p = params; 1821 iarg[0] = p->s; /* l_int */ 1822 iarg[1] = p->addr; /* l_uintptr_t */ 1823 iarg[2] = p->namelen; /* l_uintptr_t */ 1824 iarg[3] = p->flags; /* int */ 1825 *n_args = 4; 1826 break; 1827 } 1828 /* linux_recvmmsg */ 1829 case 243: { 1830 struct linux_recvmmsg_args *p = params; 1831 iarg[0] = p->s; /* l_int */ 1832 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */ 1833 iarg[2] = p->vlen; /* l_uint */ 1834 iarg[3] = p->flags; /* l_uint */ 1835 uarg[4] = (intptr_t) p->timeout; /* struct l_timespec * */ 1836 *n_args = 5; 1837 break; 1838 } 1839 /* linux_wait4 */ 1840 case 260: { 1841 struct linux_wait4_args *p = params; 1842 iarg[0] = p->pid; /* l_pid_t */ 1843 uarg[1] = (intptr_t) p->status; /* l_int * */ 1844 iarg[2] = p->options; /* l_int */ 1845 uarg[3] = (intptr_t) p->rusage; /* struct rusage * */ 1846 *n_args = 4; 1847 break; 1848 } 1849 /* linux_prlimit64 */ 1850 case 261: { 1851 struct linux_prlimit64_args *p = params; 1852 iarg[0] = p->pid; /* l_pid_t */ 1853 iarg[1] = p->resource; /* l_uint */ 1854 uarg[2] = (intptr_t) p->new; /* struct rlimit * */ 1855 uarg[3] = (intptr_t) p->old; /* struct rlimit * */ 1856 *n_args = 4; 1857 break; 1858 } 1859 /* linux_fanotify_init */ 1860 case 262: { 1861 *n_args = 0; 1862 break; 1863 } 1864 /* linux_fanotify_mark */ 1865 case 263: { 1866 *n_args = 0; 1867 break; 1868 } 1869 /* linux_name_to_handle_at */ 1870 case 264: { 1871 *n_args = 0; 1872 break; 1873 } 1874 /* linux_open_by_handle_at */ 1875 case 265: { 1876 *n_args = 0; 1877 break; 1878 } 1879 /* linux_clock_adjtime */ 1880 case 266: { 1881 *n_args = 0; 1882 break; 1883 } 1884 /* linux_syncfs */ 1885 case 267: { 1886 struct linux_syncfs_args *p = params; 1887 iarg[0] = p->fd; /* l_int */ 1888 *n_args = 1; 1889 break; 1890 } 1891 /* linux_setns */ 1892 case 268: { 1893 struct linux_setns_args *p = params; 1894 iarg[0] = p->fd; /* l_int */ 1895 iarg[1] = p->nstype; /* l_int */ 1896 *n_args = 2; 1897 break; 1898 } 1899 /* linux_sendmmsg */ 1900 case 269: { 1901 struct linux_sendmmsg_args *p = params; 1902 iarg[0] = p->s; /* l_int */ 1903 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */ 1904 iarg[2] = p->vlen; /* l_uint */ 1905 iarg[3] = p->flags; /* l_uint */ 1906 *n_args = 4; 1907 break; 1908 } 1909 /* linux_process_vm_readv */ 1910 case 270: { 1911 struct linux_process_vm_readv_args *p = params; 1912 iarg[0] = p->pid; /* l_pid_t */ 1913 uarg[1] = (intptr_t) p->lvec; /* const struct iovec * */ 1914 iarg[2] = p->liovcnt; /* l_ulong */ 1915 uarg[3] = (intptr_t) p->rvec; /* const struct iovec * */ 1916 iarg[4] = p->riovcnt; /* l_ulong */ 1917 iarg[5] = p->flags; /* l_ulong */ 1918 *n_args = 6; 1919 break; 1920 } 1921 /* linux_process_vm_writev */ 1922 case 271: { 1923 struct linux_process_vm_writev_args *p = params; 1924 iarg[0] = p->pid; /* l_pid_t */ 1925 uarg[1] = (intptr_t) p->lvec; /* const struct iovec * */ 1926 iarg[2] = p->liovcnt; /* l_ulong */ 1927 uarg[3] = (intptr_t) p->rvec; /* const struct iovec * */ 1928 iarg[4] = p->riovcnt; /* l_ulong */ 1929 iarg[5] = p->flags; /* l_ulong */ 1930 *n_args = 6; 1931 break; 1932 } 1933 /* linux_kcmp */ 1934 case 272: { 1935 struct linux_kcmp_args *p = params; 1936 iarg[0] = p->pid1; /* l_pid_t */ 1937 iarg[1] = p->pid2; /* l_pid_t */ 1938 iarg[2] = p->type; /* l_int */ 1939 iarg[3] = p->idx1; /* l_ulong */ 1940 iarg[4] = p->idx; /* l_ulong */ 1941 *n_args = 5; 1942 break; 1943 } 1944 /* linux_finit_module */ 1945 case 273: { 1946 struct linux_finit_module_args *p = params; 1947 iarg[0] = p->fd; /* l_int */ 1948 uarg[1] = (intptr_t) p->uargs; /* const char * */ 1949 iarg[2] = p->flags; /* l_int */ 1950 *n_args = 3; 1951 break; 1952 } 1953 /* linux_sched_setattr */ 1954 case 274: { 1955 struct linux_sched_setattr_args *p = params; 1956 iarg[0] = p->pid; /* l_pid_t */ 1957 uarg[1] = (intptr_t) p->attr; /* void * */ 1958 iarg[2] = p->flags; /* l_uint */ 1959 *n_args = 3; 1960 break; 1961 } 1962 /* linux_sched_getattr */ 1963 case 275: { 1964 struct linux_sched_getattr_args *p = params; 1965 iarg[0] = p->pid; /* l_pid_t */ 1966 uarg[1] = (intptr_t) p->attr; /* void * */ 1967 iarg[2] = p->size; /* l_uint */ 1968 iarg[3] = p->flags; /* l_uint */ 1969 *n_args = 4; 1970 break; 1971 } 1972 /* linux_renameat2 */ 1973 case 276: { 1974 struct linux_renameat2_args *p = params; 1975 iarg[0] = p->oldfd; /* l_int */ 1976 uarg[1] = (intptr_t) p->oldname; /* const char * */ 1977 iarg[2] = p->newfd; /* l_int */ 1978 uarg[3] = (intptr_t) p->newname; /* const char * */ 1979 uarg[4] = p->flags; /* unsigned int */ 1980 *n_args = 5; 1981 break; 1982 } 1983 /* linux_seccomp */ 1984 case 277: { 1985 struct linux_seccomp_args *p = params; 1986 iarg[0] = p->op; /* l_uint */ 1987 iarg[1] = p->flags; /* l_uint */ 1988 uarg[2] = (intptr_t) p->uargs; /* const char * */ 1989 *n_args = 3; 1990 break; 1991 } 1992 /* linux_getrandom */ 1993 case 278: { 1994 struct linux_getrandom_args *p = params; 1995 uarg[0] = (intptr_t) p->buf; /* char * */ 1996 iarg[1] = p->count; /* l_size_t */ 1997 iarg[2] = p->flags; /* l_uint */ 1998 *n_args = 3; 1999 break; 2000 } 2001 /* linux_memfd_create */ 2002 case 279: { 2003 struct linux_memfd_create_args *p = params; 2004 uarg[0] = (intptr_t) p->uname_ptr; /* const char * */ 2005 iarg[1] = p->flags; /* l_uint */ 2006 *n_args = 2; 2007 break; 2008 } 2009 /* linux_bpf */ 2010 case 280: { 2011 struct linux_bpf_args *p = params; 2012 iarg[0] = p->cmd; /* l_int */ 2013 uarg[1] = (intptr_t) p->attr; /* void * */ 2014 iarg[2] = p->size; /* l_uint */ 2015 *n_args = 3; 2016 break; 2017 } 2018 /* linux_execveat */ 2019 case 281: { 2020 struct linux_execveat_args *p = params; 2021 iarg[0] = p->dfd; /* l_int */ 2022 uarg[1] = (intptr_t) p->filename; /* const char * */ 2023 uarg[2] = (intptr_t) p->argv; /* const char ** */ 2024 uarg[3] = (intptr_t) p->envp; /* const char ** */ 2025 iarg[4] = p->flags; /* l_int */ 2026 *n_args = 5; 2027 break; 2028 } 2029 /* linux_userfaultfd */ 2030 case 282: { 2031 struct linux_userfaultfd_args *p = params; 2032 iarg[0] = p->flags; /* l_int */ 2033 *n_args = 1; 2034 break; 2035 } 2036 /* linux_membarrier */ 2037 case 283: { 2038 struct linux_membarrier_args *p = params; 2039 iarg[0] = p->cmd; /* l_int */ 2040 iarg[1] = p->flags; /* l_int */ 2041 *n_args = 2; 2042 break; 2043 } 2044 /* linux_mlock2 */ 2045 case 284: { 2046 struct linux_mlock2_args *p = params; 2047 iarg[0] = p->start; /* l_ulong */ 2048 iarg[1] = p->len; /* l_size_t */ 2049 iarg[2] = p->flags; /* l_int */ 2050 *n_args = 3; 2051 break; 2052 } 2053 /* linux_copy_file_range */ 2054 case 285: { 2055 struct linux_copy_file_range_args *p = params; 2056 iarg[0] = p->fd_in; /* l_int */ 2057 uarg[1] = (intptr_t) p->off_in; /* l_loff_t * */ 2058 iarg[2] = p->fd_out; /* l_int */ 2059 uarg[3] = (intptr_t) p->off_out; /* l_loff_t * */ 2060 iarg[4] = p->len; /* l_size_t */ 2061 iarg[5] = p->flags; /* l_uint */ 2062 *n_args = 6; 2063 break; 2064 } 2065 /* linux_preadv2 */ 2066 case 286: { 2067 struct linux_preadv2_args *p = params; 2068 iarg[0] = p->fd; /* l_ulong */ 2069 uarg[1] = (intptr_t) p->vec; /* const struct iovec * */ 2070 iarg[2] = p->vlen; /* l_ulong */ 2071 iarg[3] = p->pos_l; /* l_ulong */ 2072 iarg[4] = p->pos_h; /* l_ulong */ 2073 iarg[5] = p->flags; /* l_int */ 2074 *n_args = 6; 2075 break; 2076 } 2077 /* linux_pwritev2 */ 2078 case 287: { 2079 struct linux_pwritev2_args *p = params; 2080 iarg[0] = p->fd; /* l_ulong */ 2081 uarg[1] = (intptr_t) p->vec; /* const struct iovec * */ 2082 iarg[2] = p->vlen; /* l_ulong */ 2083 iarg[3] = p->pos_l; /* l_ulong */ 2084 iarg[4] = p->pos_h; /* l_ulong */ 2085 iarg[5] = p->flags; /* l_int */ 2086 *n_args = 6; 2087 break; 2088 } 2089 /* linux_pkey_mprotect */ 2090 case 288: { 2091 struct linux_pkey_mprotect_args *p = params; 2092 iarg[0] = p->start; /* l_ulong */ 2093 iarg[1] = p->len; /* l_size_t */ 2094 iarg[2] = p->prot; /* l_ulong */ 2095 iarg[3] = p->pkey; /* l_int */ 2096 *n_args = 4; 2097 break; 2098 } 2099 /* linux_pkey_alloc */ 2100 case 289: { 2101 struct linux_pkey_alloc_args *p = params; 2102 iarg[0] = p->flags; /* l_ulong */ 2103 iarg[1] = p->init_val; /* l_ulong */ 2104 *n_args = 2; 2105 break; 2106 } 2107 /* linux_pkey_free */ 2108 case 290: { 2109 struct linux_pkey_free_args *p = params; 2110 iarg[0] = p->pkey; /* l_int */ 2111 *n_args = 1; 2112 break; 2113 } 2114 default: 2115 *n_args = 0; 2116 break; 2117 }; 2118 } 2119 static void 2120 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) 2121 { 2122 const char *p = NULL; 2123 switch (sysnum) { 2124 #define nosys linux_nosys 2125 /* linux_setxattr */ 2126 case 5: 2127 break; 2128 /* linux_lsetxattr */ 2129 case 6: 2130 break; 2131 /* linux_fsetxattr */ 2132 case 7: 2133 break; 2134 /* linux_getxattr */ 2135 case 8: 2136 break; 2137 /* linux_lgetxattr */ 2138 case 9: 2139 break; 2140 /* linux_fgetxattr */ 2141 case 10: 2142 break; 2143 /* linux_listxattr */ 2144 case 11: 2145 break; 2146 /* linux_llistxattr */ 2147 case 12: 2148 break; 2149 /* linux_flistxattr */ 2150 case 13: 2151 break; 2152 /* linux_removexattr */ 2153 case 14: 2154 break; 2155 /* linux_lremovexattr */ 2156 case 15: 2157 break; 2158 /* linux_fremovexattr */ 2159 case 16: 2160 break; 2161 /* linux_getcwd */ 2162 case 17: 2163 switch(ndx) { 2164 case 0: 2165 p = "userland char *"; 2166 break; 2167 case 1: 2168 p = "l_ulong"; 2169 break; 2170 default: 2171 break; 2172 }; 2173 break; 2174 /* linux_lookup_dcookie */ 2175 case 18: 2176 break; 2177 /* linux_eventfd2 */ 2178 case 19: 2179 switch(ndx) { 2180 case 0: 2181 p = "l_uint"; 2182 break; 2183 case 1: 2184 p = "l_int"; 2185 break; 2186 default: 2187 break; 2188 }; 2189 break; 2190 /* linux_epoll_create1 */ 2191 case 20: 2192 switch(ndx) { 2193 case 0: 2194 p = "l_int"; 2195 break; 2196 default: 2197 break; 2198 }; 2199 break; 2200 /* linux_epoll_ctl */ 2201 case 21: 2202 switch(ndx) { 2203 case 0: 2204 p = "l_int"; 2205 break; 2206 case 1: 2207 p = "l_int"; 2208 break; 2209 case 2: 2210 p = "l_int"; 2211 break; 2212 case 3: 2213 p = "userland struct epoll_event *"; 2214 break; 2215 default: 2216 break; 2217 }; 2218 break; 2219 /* linux_epoll_pwait */ 2220 case 22: 2221 switch(ndx) { 2222 case 0: 2223 p = "l_int"; 2224 break; 2225 case 1: 2226 p = "userland struct epoll_event *"; 2227 break; 2228 case 2: 2229 p = "l_int"; 2230 break; 2231 case 3: 2232 p = "l_int"; 2233 break; 2234 case 4: 2235 p = "userland l_sigset_t *"; 2236 break; 2237 case 5: 2238 p = "l_size_t"; 2239 break; 2240 default: 2241 break; 2242 }; 2243 break; 2244 /* dup */ 2245 case 23: 2246 switch(ndx) { 2247 case 0: 2248 p = "u_int"; 2249 break; 2250 default: 2251 break; 2252 }; 2253 break; 2254 /* linux_dup3 */ 2255 case 24: 2256 switch(ndx) { 2257 case 0: 2258 p = "l_int"; 2259 break; 2260 case 1: 2261 p = "l_int"; 2262 break; 2263 case 2: 2264 p = "l_int"; 2265 break; 2266 default: 2267 break; 2268 }; 2269 break; 2270 /* linux_fcntl */ 2271 case 25: 2272 switch(ndx) { 2273 case 0: 2274 p = "l_uint"; 2275 break; 2276 case 1: 2277 p = "l_uint"; 2278 break; 2279 case 2: 2280 p = "l_ulong"; 2281 break; 2282 default: 2283 break; 2284 }; 2285 break; 2286 /* linux_inotify_init1 */ 2287 case 26: 2288 switch(ndx) { 2289 case 0: 2290 p = "l_int"; 2291 break; 2292 default: 2293 break; 2294 }; 2295 break; 2296 /* linux_inotify_add_watch */ 2297 case 27: 2298 break; 2299 /* linux_inotify_rm_watch */ 2300 case 28: 2301 break; 2302 /* linux_ioctl */ 2303 case 29: 2304 switch(ndx) { 2305 case 0: 2306 p = "l_uint"; 2307 break; 2308 case 1: 2309 p = "l_uint"; 2310 break; 2311 case 2: 2312 p = "uintptr_t"; 2313 break; 2314 default: 2315 break; 2316 }; 2317 break; 2318 /* linux_ioprio_set */ 2319 case 30: 2320 break; 2321 /* linux_ioprio_get */ 2322 case 31: 2323 break; 2324 /* flock */ 2325 case 32: 2326 switch(ndx) { 2327 case 0: 2328 p = "int"; 2329 break; 2330 case 1: 2331 p = "int"; 2332 break; 2333 default: 2334 break; 2335 }; 2336 break; 2337 /* linux_mknodat */ 2338 case 33: 2339 switch(ndx) { 2340 case 0: 2341 p = "l_int"; 2342 break; 2343 case 1: 2344 p = "userland const char *"; 2345 break; 2346 case 2: 2347 p = "l_int"; 2348 break; 2349 case 3: 2350 p = "l_uint"; 2351 break; 2352 default: 2353 break; 2354 }; 2355 break; 2356 /* linux_mkdirat */ 2357 case 34: 2358 switch(ndx) { 2359 case 0: 2360 p = "l_int"; 2361 break; 2362 case 1: 2363 p = "userland const char *"; 2364 break; 2365 case 2: 2366 p = "l_int"; 2367 break; 2368 default: 2369 break; 2370 }; 2371 break; 2372 /* linux_unlinkat */ 2373 case 35: 2374 switch(ndx) { 2375 case 0: 2376 p = "l_int"; 2377 break; 2378 case 1: 2379 p = "userland const char *"; 2380 break; 2381 case 2: 2382 p = "l_int"; 2383 break; 2384 default: 2385 break; 2386 }; 2387 break; 2388 /* linux_symlinkat */ 2389 case 36: 2390 switch(ndx) { 2391 case 0: 2392 p = "userland const char *"; 2393 break; 2394 case 1: 2395 p = "l_int"; 2396 break; 2397 case 2: 2398 p = "userland const char *"; 2399 break; 2400 default: 2401 break; 2402 }; 2403 break; 2404 /* linux_linkat */ 2405 case 37: 2406 switch(ndx) { 2407 case 0: 2408 p = "l_int"; 2409 break; 2410 case 1: 2411 p = "userland const char *"; 2412 break; 2413 case 2: 2414 p = "l_int"; 2415 break; 2416 case 3: 2417 p = "userland const char *"; 2418 break; 2419 case 4: 2420 p = "l_int"; 2421 break; 2422 default: 2423 break; 2424 }; 2425 break; 2426 /* linux_renameat */ 2427 case 38: 2428 switch(ndx) { 2429 case 0: 2430 p = "l_int"; 2431 break; 2432 case 1: 2433 p = "userland const char *"; 2434 break; 2435 case 2: 2436 p = "l_int"; 2437 break; 2438 case 3: 2439 p = "userland const char *"; 2440 break; 2441 default: 2442 break; 2443 }; 2444 break; 2445 /* linux_mount */ 2446 case 40: 2447 switch(ndx) { 2448 case 0: 2449 p = "userland char *"; 2450 break; 2451 case 1: 2452 p = "userland char *"; 2453 break; 2454 case 2: 2455 p = "userland char *"; 2456 break; 2457 case 3: 2458 p = "l_ulong"; 2459 break; 2460 case 4: 2461 p = "userland void *"; 2462 break; 2463 default: 2464 break; 2465 }; 2466 break; 2467 /* linux_pivot_root */ 2468 case 41: 2469 break; 2470 /* linux_statfs */ 2471 case 43: 2472 switch(ndx) { 2473 case 0: 2474 p = "userland char *"; 2475 break; 2476 case 1: 2477 p = "userland struct l_statfs_buf *"; 2478 break; 2479 default: 2480 break; 2481 }; 2482 break; 2483 /* linux_fstatfs */ 2484 case 44: 2485 switch(ndx) { 2486 case 0: 2487 p = "l_uint"; 2488 break; 2489 case 1: 2490 p = "userland struct l_statfs_buf *"; 2491 break; 2492 default: 2493 break; 2494 }; 2495 break; 2496 /* linux_truncate */ 2497 case 45: 2498 switch(ndx) { 2499 case 0: 2500 p = "userland char *"; 2501 break; 2502 case 1: 2503 p = "l_ulong"; 2504 break; 2505 default: 2506 break; 2507 }; 2508 break; 2509 /* linux_ftruncate */ 2510 case 46: 2511 switch(ndx) { 2512 case 0: 2513 p = "l_int"; 2514 break; 2515 case 1: 2516 p = "l_long"; 2517 break; 2518 default: 2519 break; 2520 }; 2521 break; 2522 /* linux_fallocate */ 2523 case 47: 2524 switch(ndx) { 2525 case 0: 2526 p = "l_int"; 2527 break; 2528 case 1: 2529 p = "l_int"; 2530 break; 2531 case 2: 2532 p = "l_loff_t"; 2533 break; 2534 case 3: 2535 p = "l_loff_t"; 2536 break; 2537 default: 2538 break; 2539 }; 2540 break; 2541 /* linux_faccessat */ 2542 case 48: 2543 switch(ndx) { 2544 case 0: 2545 p = "l_int"; 2546 break; 2547 case 1: 2548 p = "userland const char *"; 2549 break; 2550 case 2: 2551 p = "l_int"; 2552 break; 2553 default: 2554 break; 2555 }; 2556 break; 2557 /* linux_chdir */ 2558 case 49: 2559 switch(ndx) { 2560 case 0: 2561 p = "userland char *"; 2562 break; 2563 default: 2564 break; 2565 }; 2566 break; 2567 /* fchdir */ 2568 case 50: 2569 switch(ndx) { 2570 case 0: 2571 p = "int"; 2572 break; 2573 default: 2574 break; 2575 }; 2576 break; 2577 /* chroot */ 2578 case 51: 2579 switch(ndx) { 2580 case 0: 2581 p = "userland char *"; 2582 break; 2583 default: 2584 break; 2585 }; 2586 break; 2587 /* fchmod */ 2588 case 52: 2589 switch(ndx) { 2590 case 0: 2591 p = "int"; 2592 break; 2593 case 1: 2594 p = "int"; 2595 break; 2596 default: 2597 break; 2598 }; 2599 break; 2600 /* linux_fchmodat */ 2601 case 53: 2602 switch(ndx) { 2603 case 0: 2604 p = "l_int"; 2605 break; 2606 case 1: 2607 p = "userland const char *"; 2608 break; 2609 case 2: 2610 p = "l_mode_t"; 2611 break; 2612 default: 2613 break; 2614 }; 2615 break; 2616 /* linux_fchownat */ 2617 case 54: 2618 switch(ndx) { 2619 case 0: 2620 p = "l_int"; 2621 break; 2622 case 1: 2623 p = "userland const char *"; 2624 break; 2625 case 2: 2626 p = "l_uid_t"; 2627 break; 2628 case 3: 2629 p = "l_gid_t"; 2630 break; 2631 case 4: 2632 p = "l_int"; 2633 break; 2634 default: 2635 break; 2636 }; 2637 break; 2638 /* fchown */ 2639 case 55: 2640 switch(ndx) { 2641 case 0: 2642 p = "int"; 2643 break; 2644 case 1: 2645 p = "int"; 2646 break; 2647 case 2: 2648 p = "int"; 2649 break; 2650 default: 2651 break; 2652 }; 2653 break; 2654 /* linux_openat */ 2655 case 56: 2656 switch(ndx) { 2657 case 0: 2658 p = "l_int"; 2659 break; 2660 case 1: 2661 p = "userland const char *"; 2662 break; 2663 case 2: 2664 p = "l_int"; 2665 break; 2666 case 3: 2667 p = "l_int"; 2668 break; 2669 default: 2670 break; 2671 }; 2672 break; 2673 /* close */ 2674 case 57: 2675 switch(ndx) { 2676 case 0: 2677 p = "int"; 2678 break; 2679 default: 2680 break; 2681 }; 2682 break; 2683 /* linux_vhangup */ 2684 case 58: 2685 break; 2686 /* linux_pipe2 */ 2687 case 59: 2688 switch(ndx) { 2689 case 0: 2690 p = "userland l_int *"; 2691 break; 2692 case 1: 2693 p = "l_int"; 2694 break; 2695 default: 2696 break; 2697 }; 2698 break; 2699 /* linux_getdents64 */ 2700 case 61: 2701 switch(ndx) { 2702 case 0: 2703 p = "l_uint"; 2704 break; 2705 case 1: 2706 p = "userland void *"; 2707 break; 2708 case 2: 2709 p = "l_uint"; 2710 break; 2711 default: 2712 break; 2713 }; 2714 break; 2715 /* linux_lseek */ 2716 case 62: 2717 switch(ndx) { 2718 case 0: 2719 p = "l_uint"; 2720 break; 2721 case 1: 2722 p = "l_off_t"; 2723 break; 2724 case 2: 2725 p = "l_int"; 2726 break; 2727 default: 2728 break; 2729 }; 2730 break; 2731 /* read */ 2732 case 63: 2733 switch(ndx) { 2734 case 0: 2735 p = "int"; 2736 break; 2737 case 1: 2738 p = "userland char *"; 2739 break; 2740 case 2: 2741 p = "u_int"; 2742 break; 2743 default: 2744 break; 2745 }; 2746 break; 2747 /* write */ 2748 case 64: 2749 switch(ndx) { 2750 case 0: 2751 p = "int"; 2752 break; 2753 case 1: 2754 p = "userland char *"; 2755 break; 2756 case 2: 2757 p = "u_int"; 2758 break; 2759 default: 2760 break; 2761 }; 2762 break; 2763 /* readv */ 2764 case 65: 2765 switch(ndx) { 2766 case 0: 2767 p = "int"; 2768 break; 2769 case 1: 2770 p = "userland struct iovec *"; 2771 break; 2772 case 2: 2773 p = "u_int"; 2774 break; 2775 default: 2776 break; 2777 }; 2778 break; 2779 /* writev */ 2780 case 66: 2781 switch(ndx) { 2782 case 0: 2783 p = "int"; 2784 break; 2785 case 1: 2786 p = "userland struct iovec *"; 2787 break; 2788 case 2: 2789 p = "u_int"; 2790 break; 2791 default: 2792 break; 2793 }; 2794 break; 2795 /* linux_pread */ 2796 case 67: 2797 switch(ndx) { 2798 case 0: 2799 p = "l_uint"; 2800 break; 2801 case 1: 2802 p = "userland char *"; 2803 break; 2804 case 2: 2805 p = "l_size_t"; 2806 break; 2807 case 3: 2808 p = "l_loff_t"; 2809 break; 2810 default: 2811 break; 2812 }; 2813 break; 2814 /* linux_pwrite */ 2815 case 68: 2816 switch(ndx) { 2817 case 0: 2818 p = "l_uint"; 2819 break; 2820 case 1: 2821 p = "userland char *"; 2822 break; 2823 case 2: 2824 p = "l_size_t"; 2825 break; 2826 case 3: 2827 p = "l_loff_t"; 2828 break; 2829 default: 2830 break; 2831 }; 2832 break; 2833 /* linux_preadv */ 2834 case 69: 2835 switch(ndx) { 2836 case 0: 2837 p = "l_ulong"; 2838 break; 2839 case 1: 2840 p = "userland struct iovec *"; 2841 break; 2842 case 2: 2843 p = "l_ulong"; 2844 break; 2845 case 3: 2846 p = "l_ulong"; 2847 break; 2848 case 4: 2849 p = "l_ulong"; 2850 break; 2851 default: 2852 break; 2853 }; 2854 break; 2855 /* linux_pwritev */ 2856 case 70: 2857 switch(ndx) { 2858 case 0: 2859 p = "l_ulong"; 2860 break; 2861 case 1: 2862 p = "userland struct iovec *"; 2863 break; 2864 case 2: 2865 p = "l_ulong"; 2866 break; 2867 case 3: 2868 p = "l_ulong"; 2869 break; 2870 case 4: 2871 p = "l_ulong"; 2872 break; 2873 default: 2874 break; 2875 }; 2876 break; 2877 /* linux_sendfile */ 2878 case 71: 2879 switch(ndx) { 2880 case 0: 2881 p = "l_int"; 2882 break; 2883 case 1: 2884 p = "l_int"; 2885 break; 2886 case 2: 2887 p = "userland l_long *"; 2888 break; 2889 case 3: 2890 p = "l_size_t"; 2891 break; 2892 default: 2893 break; 2894 }; 2895 break; 2896 /* linux_pselect6 */ 2897 case 72: 2898 switch(ndx) { 2899 case 0: 2900 p = "l_int"; 2901 break; 2902 case 1: 2903 p = "userland l_fd_set *"; 2904 break; 2905 case 2: 2906 p = "userland l_fd_set *"; 2907 break; 2908 case 3: 2909 p = "userland l_fd_set *"; 2910 break; 2911 case 4: 2912 p = "userland struct l_timespec *"; 2913 break; 2914 case 5: 2915 p = "userland l_uintptr_t *"; 2916 break; 2917 default: 2918 break; 2919 }; 2920 break; 2921 /* linux_ppoll */ 2922 case 73: 2923 switch(ndx) { 2924 case 0: 2925 p = "userland struct pollfd *"; 2926 break; 2927 case 1: 2928 p = "uint32_t"; 2929 break; 2930 case 2: 2931 p = "userland struct l_timespec *"; 2932 break; 2933 case 3: 2934 p = "userland l_sigset_t *"; 2935 break; 2936 case 4: 2937 p = "l_size_t"; 2938 break; 2939 default: 2940 break; 2941 }; 2942 break; 2943 /* linux_signalfd4 */ 2944 case 74: 2945 break; 2946 /* linux_vmsplice */ 2947 case 75: 2948 break; 2949 /* linux_splice */ 2950 case 76: 2951 break; 2952 /* linux_tee */ 2953 case 77: 2954 break; 2955 /* linux_readlinkat */ 2956 case 78: 2957 switch(ndx) { 2958 case 0: 2959 p = "l_int"; 2960 break; 2961 case 1: 2962 p = "userland const char *"; 2963 break; 2964 case 2: 2965 p = "userland char *"; 2966 break; 2967 case 3: 2968 p = "l_int"; 2969 break; 2970 default: 2971 break; 2972 }; 2973 break; 2974 /* linux_newfstatat */ 2975 case 79: 2976 switch(ndx) { 2977 case 0: 2978 p = "l_int"; 2979 break; 2980 case 1: 2981 p = "userland char *"; 2982 break; 2983 case 2: 2984 p = "userland struct l_stat64 *"; 2985 break; 2986 case 3: 2987 p = "l_int"; 2988 break; 2989 default: 2990 break; 2991 }; 2992 break; 2993 /* linux_newfstat */ 2994 case 80: 2995 switch(ndx) { 2996 case 0: 2997 p = "l_uint"; 2998 break; 2999 case 1: 3000 p = "userland struct l_newstat *"; 3001 break; 3002 default: 3003 break; 3004 }; 3005 break; 3006 /* fsync */ 3007 case 82: 3008 switch(ndx) { 3009 case 0: 3010 p = "int"; 3011 break; 3012 default: 3013 break; 3014 }; 3015 break; 3016 /* linux_fdatasync */ 3017 case 83: 3018 switch(ndx) { 3019 case 0: 3020 p = "l_uint"; 3021 break; 3022 default: 3023 break; 3024 }; 3025 break; 3026 /* linux_sync_file_range */ 3027 case 84: 3028 break; 3029 /* linux_timerfd_create */ 3030 case 85: 3031 switch(ndx) { 3032 case 0: 3033 p = "l_int"; 3034 break; 3035 case 1: 3036 p = "l_int"; 3037 break; 3038 default: 3039 break; 3040 }; 3041 break; 3042 /* linux_timerfd_settime */ 3043 case 86: 3044 switch(ndx) { 3045 case 0: 3046 p = "l_int"; 3047 break; 3048 case 1: 3049 p = "l_int"; 3050 break; 3051 case 2: 3052 p = "userland const struct l_itimerspec *"; 3053 break; 3054 case 3: 3055 p = "userland struct l_itimerspec *"; 3056 break; 3057 default: 3058 break; 3059 }; 3060 break; 3061 /* linux_timerfd_gettime */ 3062 case 87: 3063 switch(ndx) { 3064 case 0: 3065 p = "l_int"; 3066 break; 3067 case 1: 3068 p = "userland struct l_itimerspec *"; 3069 break; 3070 default: 3071 break; 3072 }; 3073 break; 3074 /* linux_utimensat */ 3075 case 88: 3076 switch(ndx) { 3077 case 0: 3078 p = "l_int"; 3079 break; 3080 case 1: 3081 p = "userland const char *"; 3082 break; 3083 case 2: 3084 p = "userland const struct l_timespec *"; 3085 break; 3086 case 3: 3087 p = "l_int"; 3088 break; 3089 default: 3090 break; 3091 }; 3092 break; 3093 /* acct */ 3094 case 89: 3095 switch(ndx) { 3096 case 0: 3097 p = "userland char *"; 3098 break; 3099 default: 3100 break; 3101 }; 3102 break; 3103 /* linux_capget */ 3104 case 90: 3105 switch(ndx) { 3106 case 0: 3107 p = "userland struct l_user_cap_header *"; 3108 break; 3109 case 1: 3110 p = "userland struct l_user_cap_data *"; 3111 break; 3112 default: 3113 break; 3114 }; 3115 break; 3116 /* linux_capset */ 3117 case 91: 3118 switch(ndx) { 3119 case 0: 3120 p = "userland struct l_user_cap_header *"; 3121 break; 3122 case 1: 3123 p = "userland struct l_user_cap_data *"; 3124 break; 3125 default: 3126 break; 3127 }; 3128 break; 3129 /* linux_personality */ 3130 case 92: 3131 switch(ndx) { 3132 case 0: 3133 p = "l_uint"; 3134 break; 3135 default: 3136 break; 3137 }; 3138 break; 3139 /* linux_exit */ 3140 case 93: 3141 switch(ndx) { 3142 case 0: 3143 p = "int"; 3144 break; 3145 default: 3146 break; 3147 }; 3148 break; 3149 /* linux_exit_group */ 3150 case 94: 3151 switch(ndx) { 3152 case 0: 3153 p = "int"; 3154 break; 3155 default: 3156 break; 3157 }; 3158 break; 3159 /* linux_waitid */ 3160 case 95: 3161 switch(ndx) { 3162 case 0: 3163 p = "l_int"; 3164 break; 3165 case 1: 3166 p = "l_pid_t"; 3167 break; 3168 case 2: 3169 p = "userland l_siginfo_t *"; 3170 break; 3171 case 3: 3172 p = "l_int"; 3173 break; 3174 case 4: 3175 p = "userland struct rusage *"; 3176 break; 3177 default: 3178 break; 3179 }; 3180 break; 3181 /* linux_set_tid_address */ 3182 case 96: 3183 switch(ndx) { 3184 case 0: 3185 p = "userland int *"; 3186 break; 3187 default: 3188 break; 3189 }; 3190 break; 3191 /* linux_unshare */ 3192 case 97: 3193 break; 3194 /* linux_sys_futex */ 3195 case 98: 3196 switch(ndx) { 3197 case 0: 3198 p = "userland void *"; 3199 break; 3200 case 1: 3201 p = "int"; 3202 break; 3203 case 2: 3204 p = "int"; 3205 break; 3206 case 3: 3207 p = "userland struct l_timespec *"; 3208 break; 3209 case 4: 3210 p = "userland void *"; 3211 break; 3212 case 5: 3213 p = "int"; 3214 break; 3215 default: 3216 break; 3217 }; 3218 break; 3219 /* linux_set_robust_list */ 3220 case 99: 3221 switch(ndx) { 3222 case 0: 3223 p = "userland struct linux_robust_list_head *"; 3224 break; 3225 case 1: 3226 p = "l_size_t"; 3227 break; 3228 default: 3229 break; 3230 }; 3231 break; 3232 /* linux_get_robust_list */ 3233 case 100: 3234 switch(ndx) { 3235 case 0: 3236 p = "l_int"; 3237 break; 3238 case 1: 3239 p = "userland struct linux_robust_list_head **"; 3240 break; 3241 case 2: 3242 p = "userland l_size_t *"; 3243 break; 3244 default: 3245 break; 3246 }; 3247 break; 3248 /* linux_nanosleep */ 3249 case 101: 3250 switch(ndx) { 3251 case 0: 3252 p = "userland const struct l_timespec *"; 3253 break; 3254 case 1: 3255 p = "userland struct l_timespec *"; 3256 break; 3257 default: 3258 break; 3259 }; 3260 break; 3261 /* linux_getitimer */ 3262 case 102: 3263 switch(ndx) { 3264 case 0: 3265 p = "l_int"; 3266 break; 3267 case 1: 3268 p = "userland struct l_itimerval *"; 3269 break; 3270 default: 3271 break; 3272 }; 3273 break; 3274 /* linux_setitimer */ 3275 case 103: 3276 switch(ndx) { 3277 case 0: 3278 p = "l_int"; 3279 break; 3280 case 1: 3281 p = "userland struct l_itimerval *"; 3282 break; 3283 case 2: 3284 p = "userland struct l_itimerval *"; 3285 break; 3286 default: 3287 break; 3288 }; 3289 break; 3290 /* linux_kexec_load */ 3291 case 104: 3292 break; 3293 /* linux_init_module */ 3294 case 105: 3295 break; 3296 /* linux_delete_module */ 3297 case 106: 3298 break; 3299 /* linux_timer_create */ 3300 case 107: 3301 switch(ndx) { 3302 case 0: 3303 p = "clockid_t"; 3304 break; 3305 case 1: 3306 p = "userland struct sigevent *"; 3307 break; 3308 case 2: 3309 p = "userland l_timer_t *"; 3310 break; 3311 default: 3312 break; 3313 }; 3314 break; 3315 /* linux_timer_gettime */ 3316 case 108: 3317 switch(ndx) { 3318 case 0: 3319 p = "l_timer_t"; 3320 break; 3321 case 1: 3322 p = "userland struct itimerspec *"; 3323 break; 3324 default: 3325 break; 3326 }; 3327 break; 3328 /* linux_timer_getoverrun */ 3329 case 109: 3330 switch(ndx) { 3331 case 0: 3332 p = "l_timer_t"; 3333 break; 3334 default: 3335 break; 3336 }; 3337 break; 3338 /* linux_timer_settime */ 3339 case 110: 3340 switch(ndx) { 3341 case 0: 3342 p = "l_timer_t"; 3343 break; 3344 case 1: 3345 p = "l_int"; 3346 break; 3347 case 2: 3348 p = "userland const struct itimerspec *"; 3349 break; 3350 case 3: 3351 p = "userland struct itimerspec *"; 3352 break; 3353 default: 3354 break; 3355 }; 3356 break; 3357 /* linux_timer_delete */ 3358 case 111: 3359 switch(ndx) { 3360 case 0: 3361 p = "l_timer_t"; 3362 break; 3363 default: 3364 break; 3365 }; 3366 break; 3367 /* linux_clock_settime */ 3368 case 112: 3369 switch(ndx) { 3370 case 0: 3371 p = "clockid_t"; 3372 break; 3373 case 1: 3374 p = "userland struct l_timespec *"; 3375 break; 3376 default: 3377 break; 3378 }; 3379 break; 3380 /* linux_clock_gettime */ 3381 case 113: 3382 switch(ndx) { 3383 case 0: 3384 p = "clockid_t"; 3385 break; 3386 case 1: 3387 p = "userland struct l_timespec *"; 3388 break; 3389 default: 3390 break; 3391 }; 3392 break; 3393 /* linux_clock_getres */ 3394 case 114: 3395 switch(ndx) { 3396 case 0: 3397 p = "clockid_t"; 3398 break; 3399 case 1: 3400 p = "userland struct l_timespec *"; 3401 break; 3402 default: 3403 break; 3404 }; 3405 break; 3406 /* linux_clock_nanosleep */ 3407 case 115: 3408 switch(ndx) { 3409 case 0: 3410 p = "clockid_t"; 3411 break; 3412 case 1: 3413 p = "int"; 3414 break; 3415 case 2: 3416 p = "userland struct l_timespec *"; 3417 break; 3418 case 3: 3419 p = "userland struct l_timespec *"; 3420 break; 3421 default: 3422 break; 3423 }; 3424 break; 3425 /* linux_syslog */ 3426 case 116: 3427 switch(ndx) { 3428 case 0: 3429 p = "l_int"; 3430 break; 3431 case 1: 3432 p = "userland char *"; 3433 break; 3434 case 2: 3435 p = "l_int"; 3436 break; 3437 default: 3438 break; 3439 }; 3440 break; 3441 /* linux_ptrace */ 3442 case 117: 3443 switch(ndx) { 3444 case 0: 3445 p = "l_long"; 3446 break; 3447 case 1: 3448 p = "l_long"; 3449 break; 3450 case 2: 3451 p = "l_ulong"; 3452 break; 3453 case 3: 3454 p = "l_ulong"; 3455 break; 3456 default: 3457 break; 3458 }; 3459 break; 3460 /* linux_sched_setparam */ 3461 case 118: 3462 switch(ndx) { 3463 case 0: 3464 p = "l_pid_t"; 3465 break; 3466 case 1: 3467 p = "userland struct sched_param *"; 3468 break; 3469 default: 3470 break; 3471 }; 3472 break; 3473 /* linux_sched_setscheduler */ 3474 case 119: 3475 switch(ndx) { 3476 case 0: 3477 p = "l_pid_t"; 3478 break; 3479 case 1: 3480 p = "l_int"; 3481 break; 3482 case 2: 3483 p = "userland struct sched_param *"; 3484 break; 3485 default: 3486 break; 3487 }; 3488 break; 3489 /* linux_sched_getscheduler */ 3490 case 120: 3491 switch(ndx) { 3492 case 0: 3493 p = "l_pid_t"; 3494 break; 3495 default: 3496 break; 3497 }; 3498 break; 3499 /* linux_sched_getparam */ 3500 case 121: 3501 switch(ndx) { 3502 case 0: 3503 p = "l_pid_t"; 3504 break; 3505 case 1: 3506 p = "userland struct sched_param *"; 3507 break; 3508 default: 3509 break; 3510 }; 3511 break; 3512 /* linux_sched_setaffinity */ 3513 case 122: 3514 switch(ndx) { 3515 case 0: 3516 p = "l_pid_t"; 3517 break; 3518 case 1: 3519 p = "l_uint"; 3520 break; 3521 case 2: 3522 p = "userland l_ulong *"; 3523 break; 3524 default: 3525 break; 3526 }; 3527 break; 3528 /* linux_sched_getaffinity */ 3529 case 123: 3530 switch(ndx) { 3531 case 0: 3532 p = "l_pid_t"; 3533 break; 3534 case 1: 3535 p = "l_uint"; 3536 break; 3537 case 2: 3538 p = "userland l_ulong *"; 3539 break; 3540 default: 3541 break; 3542 }; 3543 break; 3544 /* sched_yield */ 3545 case 124: 3546 break; 3547 /* linux_sched_get_priority_max */ 3548 case 125: 3549 switch(ndx) { 3550 case 0: 3551 p = "l_int"; 3552 break; 3553 default: 3554 break; 3555 }; 3556 break; 3557 /* linux_sched_get_priority_min */ 3558 case 126: 3559 switch(ndx) { 3560 case 0: 3561 p = "l_int"; 3562 break; 3563 default: 3564 break; 3565 }; 3566 break; 3567 /* linux_sched_rr_get_interval */ 3568 case 127: 3569 switch(ndx) { 3570 case 0: 3571 p = "l_pid_t"; 3572 break; 3573 case 1: 3574 p = "userland struct l_timespec *"; 3575 break; 3576 default: 3577 break; 3578 }; 3579 break; 3580 /* linux_kill */ 3581 case 129: 3582 switch(ndx) { 3583 case 0: 3584 p = "l_int"; 3585 break; 3586 case 1: 3587 p = "l_int"; 3588 break; 3589 default: 3590 break; 3591 }; 3592 break; 3593 /* linux_tkill */ 3594 case 130: 3595 switch(ndx) { 3596 case 0: 3597 p = "l_int"; 3598 break; 3599 case 1: 3600 p = "l_int"; 3601 break; 3602 default: 3603 break; 3604 }; 3605 break; 3606 /* linux_tgkill */ 3607 case 131: 3608 switch(ndx) { 3609 case 0: 3610 p = "l_int"; 3611 break; 3612 case 1: 3613 p = "l_int"; 3614 break; 3615 case 2: 3616 p = "l_int"; 3617 break; 3618 default: 3619 break; 3620 }; 3621 break; 3622 /* linux_sigaltstack */ 3623 case 132: 3624 switch(ndx) { 3625 case 0: 3626 p = "userland l_stack_t *"; 3627 break; 3628 case 1: 3629 p = "userland l_stack_t *"; 3630 break; 3631 default: 3632 break; 3633 }; 3634 break; 3635 /* linux_rt_sigsuspend */ 3636 case 133: 3637 switch(ndx) { 3638 case 0: 3639 p = "userland l_sigset_t *"; 3640 break; 3641 case 1: 3642 p = "l_size_t"; 3643 break; 3644 default: 3645 break; 3646 }; 3647 break; 3648 /* linux_rt_sigaction */ 3649 case 134: 3650 switch(ndx) { 3651 case 0: 3652 p = "l_int"; 3653 break; 3654 case 1: 3655 p = "userland l_sigaction_t *"; 3656 break; 3657 case 2: 3658 p = "userland l_sigaction_t *"; 3659 break; 3660 case 3: 3661 p = "l_size_t"; 3662 break; 3663 default: 3664 break; 3665 }; 3666 break; 3667 /* linux_rt_sigprocmask */ 3668 case 135: 3669 switch(ndx) { 3670 case 0: 3671 p = "l_int"; 3672 break; 3673 case 1: 3674 p = "userland l_sigset_t *"; 3675 break; 3676 case 2: 3677 p = "userland l_sigset_t *"; 3678 break; 3679 case 3: 3680 p = "l_size_t"; 3681 break; 3682 default: 3683 break; 3684 }; 3685 break; 3686 /* linux_rt_sigpending */ 3687 case 136: 3688 switch(ndx) { 3689 case 0: 3690 p = "userland l_sigset_t *"; 3691 break; 3692 case 1: 3693 p = "l_size_t"; 3694 break; 3695 default: 3696 break; 3697 }; 3698 break; 3699 /* linux_rt_sigtimedwait */ 3700 case 137: 3701 switch(ndx) { 3702 case 0: 3703 p = "userland l_sigset_t *"; 3704 break; 3705 case 1: 3706 p = "userland l_siginfo_t *"; 3707 break; 3708 case 2: 3709 p = "userland struct l_timeval *"; 3710 break; 3711 case 3: 3712 p = "l_size_t"; 3713 break; 3714 default: 3715 break; 3716 }; 3717 break; 3718 /* linux_rt_sigqueueinfo */ 3719 case 138: 3720 switch(ndx) { 3721 case 0: 3722 p = "l_pid_t"; 3723 break; 3724 case 1: 3725 p = "l_int"; 3726 break; 3727 case 2: 3728 p = "userland l_siginfo_t *"; 3729 break; 3730 default: 3731 break; 3732 }; 3733 break; 3734 /* linux_rt_sigreturn */ 3735 case 139: 3736 switch(ndx) { 3737 case 0: 3738 p = "userland struct l_ucontext *"; 3739 break; 3740 default: 3741 break; 3742 }; 3743 break; 3744 /* setpriority */ 3745 case 140: 3746 switch(ndx) { 3747 case 0: 3748 p = "int"; 3749 break; 3750 case 1: 3751 p = "int"; 3752 break; 3753 case 2: 3754 p = "int"; 3755 break; 3756 default: 3757 break; 3758 }; 3759 break; 3760 /* linux_getpriority */ 3761 case 141: 3762 switch(ndx) { 3763 case 0: 3764 p = "l_int"; 3765 break; 3766 case 1: 3767 p = "l_int"; 3768 break; 3769 default: 3770 break; 3771 }; 3772 break; 3773 /* linux_reboot */ 3774 case 142: 3775 switch(ndx) { 3776 case 0: 3777 p = "l_int"; 3778 break; 3779 case 1: 3780 p = "l_int"; 3781 break; 3782 case 2: 3783 p = "l_uint"; 3784 break; 3785 case 3: 3786 p = "userland void *"; 3787 break; 3788 default: 3789 break; 3790 }; 3791 break; 3792 /* setregid */ 3793 case 143: 3794 switch(ndx) { 3795 case 0: 3796 p = "gid_t"; 3797 break; 3798 case 1: 3799 p = "gid_t"; 3800 break; 3801 default: 3802 break; 3803 }; 3804 break; 3805 /* setgid */ 3806 case 144: 3807 switch(ndx) { 3808 case 0: 3809 p = "gid_t"; 3810 break; 3811 default: 3812 break; 3813 }; 3814 break; 3815 /* setreuid */ 3816 case 145: 3817 switch(ndx) { 3818 case 0: 3819 p = "uid_t"; 3820 break; 3821 case 1: 3822 p = "uid_t"; 3823 break; 3824 default: 3825 break; 3826 }; 3827 break; 3828 /* setuid */ 3829 case 146: 3830 switch(ndx) { 3831 case 0: 3832 p = "uid_t"; 3833 break; 3834 default: 3835 break; 3836 }; 3837 break; 3838 /* setresuid */ 3839 case 147: 3840 switch(ndx) { 3841 case 0: 3842 p = "uid_t"; 3843 break; 3844 case 1: 3845 p = "uid_t"; 3846 break; 3847 case 2: 3848 p = "uid_t"; 3849 break; 3850 default: 3851 break; 3852 }; 3853 break; 3854 /* getresuid */ 3855 case 148: 3856 switch(ndx) { 3857 case 0: 3858 p = "userland uid_t *"; 3859 break; 3860 case 1: 3861 p = "userland uid_t *"; 3862 break; 3863 case 2: 3864 p = "userland uid_t *"; 3865 break; 3866 default: 3867 break; 3868 }; 3869 break; 3870 /* setresgid */ 3871 case 149: 3872 switch(ndx) { 3873 case 0: 3874 p = "gid_t"; 3875 break; 3876 case 1: 3877 p = "gid_t"; 3878 break; 3879 case 2: 3880 p = "gid_t"; 3881 break; 3882 default: 3883 break; 3884 }; 3885 break; 3886 /* getresgid */ 3887 case 150: 3888 switch(ndx) { 3889 case 0: 3890 p = "userland gid_t *"; 3891 break; 3892 case 1: 3893 p = "userland gid_t *"; 3894 break; 3895 case 2: 3896 p = "userland gid_t *"; 3897 break; 3898 default: 3899 break; 3900 }; 3901 break; 3902 /* linux_setfsuid */ 3903 case 151: 3904 switch(ndx) { 3905 case 0: 3906 p = "l_uid_t"; 3907 break; 3908 default: 3909 break; 3910 }; 3911 break; 3912 /* linux_setfsgid */ 3913 case 152: 3914 switch(ndx) { 3915 case 0: 3916 p = "l_gid_t"; 3917 break; 3918 default: 3919 break; 3920 }; 3921 break; 3922 /* linux_times */ 3923 case 153: 3924 switch(ndx) { 3925 case 0: 3926 p = "userland struct l_times_argv *"; 3927 break; 3928 default: 3929 break; 3930 }; 3931 break; 3932 /* setpgid */ 3933 case 154: 3934 switch(ndx) { 3935 case 0: 3936 p = "int"; 3937 break; 3938 case 1: 3939 p = "int"; 3940 break; 3941 default: 3942 break; 3943 }; 3944 break; 3945 /* getpgid */ 3946 case 155: 3947 switch(ndx) { 3948 case 0: 3949 p = "int"; 3950 break; 3951 default: 3952 break; 3953 }; 3954 break; 3955 /* linux_getsid */ 3956 case 156: 3957 switch(ndx) { 3958 case 0: 3959 p = "l_pid_t"; 3960 break; 3961 default: 3962 break; 3963 }; 3964 break; 3965 /* setsid */ 3966 case 157: 3967 break; 3968 /* linux_getgroups */ 3969 case 158: 3970 switch(ndx) { 3971 case 0: 3972 p = "l_int"; 3973 break; 3974 case 1: 3975 p = "userland l_gid_t *"; 3976 break; 3977 default: 3978 break; 3979 }; 3980 break; 3981 /* linux_setgroups */ 3982 case 159: 3983 switch(ndx) { 3984 case 0: 3985 p = "l_int"; 3986 break; 3987 case 1: 3988 p = "userland l_gid_t *"; 3989 break; 3990 default: 3991 break; 3992 }; 3993 break; 3994 /* linux_newuname */ 3995 case 160: 3996 switch(ndx) { 3997 case 0: 3998 p = "userland struct l_new_utsname *"; 3999 break; 4000 default: 4001 break; 4002 }; 4003 break; 4004 /* linux_sethostname */ 4005 case 161: 4006 switch(ndx) { 4007 case 0: 4008 p = "userland char *"; 4009 break; 4010 case 1: 4011 p = "l_uint"; 4012 break; 4013 default: 4014 break; 4015 }; 4016 break; 4017 /* linux_setdomainname */ 4018 case 162: 4019 switch(ndx) { 4020 case 0: 4021 p = "userland char *"; 4022 break; 4023 case 1: 4024 p = "l_int"; 4025 break; 4026 default: 4027 break; 4028 }; 4029 break; 4030 /* linux_getrlimit */ 4031 case 163: 4032 switch(ndx) { 4033 case 0: 4034 p = "l_uint"; 4035 break; 4036 case 1: 4037 p = "userland struct l_rlimit *"; 4038 break; 4039 default: 4040 break; 4041 }; 4042 break; 4043 /* linux_setrlimit */ 4044 case 164: 4045 switch(ndx) { 4046 case 0: 4047 p = "l_uint"; 4048 break; 4049 case 1: 4050 p = "userland struct l_rlimit *"; 4051 break; 4052 default: 4053 break; 4054 }; 4055 break; 4056 /* getrusage */ 4057 case 165: 4058 switch(ndx) { 4059 case 0: 4060 p = "int"; 4061 break; 4062 case 1: 4063 p = "userland struct rusage *"; 4064 break; 4065 default: 4066 break; 4067 }; 4068 break; 4069 /* umask */ 4070 case 166: 4071 switch(ndx) { 4072 case 0: 4073 p = "int"; 4074 break; 4075 default: 4076 break; 4077 }; 4078 break; 4079 /* linux_prctl */ 4080 case 167: 4081 switch(ndx) { 4082 case 0: 4083 p = "l_int"; 4084 break; 4085 case 1: 4086 p = "l_uintptr_t"; 4087 break; 4088 case 2: 4089 p = "l_uintptr_t"; 4090 break; 4091 case 3: 4092 p = "l_uintptr_t"; 4093 break; 4094 case 4: 4095 p = "l_uintptr_t"; 4096 break; 4097 default: 4098 break; 4099 }; 4100 break; 4101 /* linux_getcpu */ 4102 case 168: 4103 switch(ndx) { 4104 case 0: 4105 p = "userland l_uint *"; 4106 break; 4107 case 1: 4108 p = "userland l_uint *"; 4109 break; 4110 case 2: 4111 p = "userland void *"; 4112 break; 4113 default: 4114 break; 4115 }; 4116 break; 4117 /* gettimeofday */ 4118 case 169: 4119 switch(ndx) { 4120 case 0: 4121 p = "userland struct l_timeval *"; 4122 break; 4123 case 1: 4124 p = "userland struct timezone *"; 4125 break; 4126 default: 4127 break; 4128 }; 4129 break; 4130 /* settimeofday */ 4131 case 170: 4132 switch(ndx) { 4133 case 0: 4134 p = "userland struct l_timeval *"; 4135 break; 4136 case 1: 4137 p = "userland struct timezone *"; 4138 break; 4139 default: 4140 break; 4141 }; 4142 break; 4143 /* linux_adjtimex */ 4144 case 171: 4145 break; 4146 /* linux_getpid */ 4147 case 172: 4148 break; 4149 /* linux_getppid */ 4150 case 173: 4151 break; 4152 /* linux_getuid */ 4153 case 174: 4154 break; 4155 /* geteuid */ 4156 case 175: 4157 break; 4158 /* linux_getgid */ 4159 case 176: 4160 break; 4161 /* getegid */ 4162 case 177: 4163 break; 4164 /* linux_gettid */ 4165 case 178: 4166 break; 4167 /* linux_sysinfo */ 4168 case 179: 4169 switch(ndx) { 4170 case 0: 4171 p = "userland struct l_sysinfo *"; 4172 break; 4173 default: 4174 break; 4175 }; 4176 break; 4177 /* linux_mq_open */ 4178 case 180: 4179 break; 4180 /* linux_mq_unlink */ 4181 case 181: 4182 break; 4183 /* linux_mq_timedsend */ 4184 case 182: 4185 break; 4186 /* linux_mq_timedreceive */ 4187 case 183: 4188 break; 4189 /* linux_mq_notify */ 4190 case 184: 4191 break; 4192 /* linux_mq_getsetattr */ 4193 case 185: 4194 break; 4195 /* linux_msgget */ 4196 case 186: 4197 switch(ndx) { 4198 case 0: 4199 p = "l_key_t"; 4200 break; 4201 case 1: 4202 p = "l_int"; 4203 break; 4204 default: 4205 break; 4206 }; 4207 break; 4208 /* linux_msgctl */ 4209 case 187: 4210 switch(ndx) { 4211 case 0: 4212 p = "l_int"; 4213 break; 4214 case 1: 4215 p = "l_int"; 4216 break; 4217 case 2: 4218 p = "userland struct l_msqid_ds *"; 4219 break; 4220 default: 4221 break; 4222 }; 4223 break; 4224 /* linux_msgrcv */ 4225 case 188: 4226 switch(ndx) { 4227 case 0: 4228 p = "l_int"; 4229 break; 4230 case 1: 4231 p = "userland struct l_msgbuf *"; 4232 break; 4233 case 2: 4234 p = "l_size_t"; 4235 break; 4236 case 3: 4237 p = "l_long"; 4238 break; 4239 case 4: 4240 p = "l_int"; 4241 break; 4242 default: 4243 break; 4244 }; 4245 break; 4246 /* linux_msgsnd */ 4247 case 189: 4248 switch(ndx) { 4249 case 0: 4250 p = "l_int"; 4251 break; 4252 case 1: 4253 p = "userland struct l_msgbuf *"; 4254 break; 4255 case 2: 4256 p = "l_size_t"; 4257 break; 4258 case 3: 4259 p = "l_int"; 4260 break; 4261 default: 4262 break; 4263 }; 4264 break; 4265 /* linux_semget */ 4266 case 190: 4267 switch(ndx) { 4268 case 0: 4269 p = "l_key_t"; 4270 break; 4271 case 1: 4272 p = "l_int"; 4273 break; 4274 case 2: 4275 p = "l_int"; 4276 break; 4277 default: 4278 break; 4279 }; 4280 break; 4281 /* linux_semctl */ 4282 case 191: 4283 switch(ndx) { 4284 case 0: 4285 p = "l_int"; 4286 break; 4287 case 1: 4288 p = "l_int"; 4289 break; 4290 case 2: 4291 p = "l_int"; 4292 break; 4293 case 3: 4294 p = "union l_semun"; 4295 break; 4296 default: 4297 break; 4298 }; 4299 break; 4300 /* linux_semtimedop */ 4301 case 192: 4302 break; 4303 /* linux_semop */ 4304 case 193: 4305 switch(ndx) { 4306 case 0: 4307 p = "l_int"; 4308 break; 4309 case 1: 4310 p = "userland struct l_sembuf *"; 4311 break; 4312 case 2: 4313 p = "l_uint"; 4314 break; 4315 default: 4316 break; 4317 }; 4318 break; 4319 /* linux_shmget */ 4320 case 194: 4321 switch(ndx) { 4322 case 0: 4323 p = "l_key_t"; 4324 break; 4325 case 1: 4326 p = "l_size_t"; 4327 break; 4328 case 2: 4329 p = "l_int"; 4330 break; 4331 default: 4332 break; 4333 }; 4334 break; 4335 /* linux_shmctl */ 4336 case 195: 4337 switch(ndx) { 4338 case 0: 4339 p = "l_int"; 4340 break; 4341 case 1: 4342 p = "l_int"; 4343 break; 4344 case 2: 4345 p = "userland struct l_shmid_ds *"; 4346 break; 4347 default: 4348 break; 4349 }; 4350 break; 4351 /* linux_shmat */ 4352 case 196: 4353 switch(ndx) { 4354 case 0: 4355 p = "l_int"; 4356 break; 4357 case 1: 4358 p = "userland char *"; 4359 break; 4360 case 2: 4361 p = "l_int"; 4362 break; 4363 default: 4364 break; 4365 }; 4366 break; 4367 /* linux_shmdt */ 4368 case 197: 4369 switch(ndx) { 4370 case 0: 4371 p = "userland char *"; 4372 break; 4373 default: 4374 break; 4375 }; 4376 break; 4377 /* linux_socket */ 4378 case 198: 4379 switch(ndx) { 4380 case 0: 4381 p = "l_int"; 4382 break; 4383 case 1: 4384 p = "l_int"; 4385 break; 4386 case 2: 4387 p = "l_int"; 4388 break; 4389 default: 4390 break; 4391 }; 4392 break; 4393 /* linux_socketpair */ 4394 case 199: 4395 switch(ndx) { 4396 case 0: 4397 p = "l_int"; 4398 break; 4399 case 1: 4400 p = "l_int"; 4401 break; 4402 case 2: 4403 p = "l_int"; 4404 break; 4405 case 3: 4406 p = "l_uintptr_t"; 4407 break; 4408 default: 4409 break; 4410 }; 4411 break; 4412 /* linux_bind */ 4413 case 200: 4414 switch(ndx) { 4415 case 0: 4416 p = "l_int"; 4417 break; 4418 case 1: 4419 p = "l_uintptr_t"; 4420 break; 4421 case 2: 4422 p = "l_int"; 4423 break; 4424 default: 4425 break; 4426 }; 4427 break; 4428 /* linux_listen */ 4429 case 201: 4430 switch(ndx) { 4431 case 0: 4432 p = "l_int"; 4433 break; 4434 case 1: 4435 p = "l_int"; 4436 break; 4437 default: 4438 break; 4439 }; 4440 break; 4441 /* linux_accept */ 4442 case 202: 4443 switch(ndx) { 4444 case 0: 4445 p = "l_int"; 4446 break; 4447 case 1: 4448 p = "l_uintptr_t"; 4449 break; 4450 case 2: 4451 p = "l_uintptr_t"; 4452 break; 4453 default: 4454 break; 4455 }; 4456 break; 4457 /* linux_connect */ 4458 case 203: 4459 switch(ndx) { 4460 case 0: 4461 p = "l_int"; 4462 break; 4463 case 1: 4464 p = "l_uintptr_t"; 4465 break; 4466 case 2: 4467 p = "l_int"; 4468 break; 4469 default: 4470 break; 4471 }; 4472 break; 4473 /* linux_getsockname */ 4474 case 204: 4475 switch(ndx) { 4476 case 0: 4477 p = "l_int"; 4478 break; 4479 case 1: 4480 p = "l_uintptr_t"; 4481 break; 4482 case 2: 4483 p = "l_uintptr_t"; 4484 break; 4485 default: 4486 break; 4487 }; 4488 break; 4489 /* linux_getpeername */ 4490 case 205: 4491 switch(ndx) { 4492 case 0: 4493 p = "l_int"; 4494 break; 4495 case 1: 4496 p = "l_uintptr_t"; 4497 break; 4498 case 2: 4499 p = "l_uintptr_t"; 4500 break; 4501 default: 4502 break; 4503 }; 4504 break; 4505 /* linux_sendto */ 4506 case 206: 4507 switch(ndx) { 4508 case 0: 4509 p = "l_int"; 4510 break; 4511 case 1: 4512 p = "l_uintptr_t"; 4513 break; 4514 case 2: 4515 p = "l_int"; 4516 break; 4517 case 3: 4518 p = "l_int"; 4519 break; 4520 case 4: 4521 p = "l_uintptr_t"; 4522 break; 4523 case 5: 4524 p = "l_int"; 4525 break; 4526 default: 4527 break; 4528 }; 4529 break; 4530 /* linux_recvfrom */ 4531 case 207: 4532 switch(ndx) { 4533 case 0: 4534 p = "l_int"; 4535 break; 4536 case 1: 4537 p = "l_uintptr_t"; 4538 break; 4539 case 2: 4540 p = "l_size_t"; 4541 break; 4542 case 3: 4543 p = "l_int"; 4544 break; 4545 case 4: 4546 p = "l_uintptr_t"; 4547 break; 4548 case 5: 4549 p = "l_uintptr_t"; 4550 break; 4551 default: 4552 break; 4553 }; 4554 break; 4555 /* linux_setsockopt */ 4556 case 208: 4557 switch(ndx) { 4558 case 0: 4559 p = "l_int"; 4560 break; 4561 case 1: 4562 p = "l_int"; 4563 break; 4564 case 2: 4565 p = "l_int"; 4566 break; 4567 case 3: 4568 p = "l_uintptr_t"; 4569 break; 4570 case 4: 4571 p = "l_int"; 4572 break; 4573 default: 4574 break; 4575 }; 4576 break; 4577 /* linux_getsockopt */ 4578 case 209: 4579 switch(ndx) { 4580 case 0: 4581 p = "l_int"; 4582 break; 4583 case 1: 4584 p = "l_int"; 4585 break; 4586 case 2: 4587 p = "l_int"; 4588 break; 4589 case 3: 4590 p = "l_uintptr_t"; 4591 break; 4592 case 4: 4593 p = "l_uintptr_t"; 4594 break; 4595 default: 4596 break; 4597 }; 4598 break; 4599 /* linux_shutdown */ 4600 case 210: 4601 switch(ndx) { 4602 case 0: 4603 p = "l_int"; 4604 break; 4605 case 1: 4606 p = "l_int"; 4607 break; 4608 default: 4609 break; 4610 }; 4611 break; 4612 /* linux_sendmsg */ 4613 case 211: 4614 switch(ndx) { 4615 case 0: 4616 p = "l_int"; 4617 break; 4618 case 1: 4619 p = "l_uintptr_t"; 4620 break; 4621 case 2: 4622 p = "l_int"; 4623 break; 4624 default: 4625 break; 4626 }; 4627 break; 4628 /* linux_recvmsg */ 4629 case 212: 4630 switch(ndx) { 4631 case 0: 4632 p = "l_int"; 4633 break; 4634 case 1: 4635 p = "l_uintptr_t"; 4636 break; 4637 case 2: 4638 p = "l_int"; 4639 break; 4640 default: 4641 break; 4642 }; 4643 break; 4644 /* linux_brk */ 4645 case 214: 4646 switch(ndx) { 4647 case 0: 4648 p = "l_ulong"; 4649 break; 4650 default: 4651 break; 4652 }; 4653 break; 4654 /* munmap */ 4655 case 215: 4656 switch(ndx) { 4657 case 0: 4658 p = "caddr_t"; 4659 break; 4660 case 1: 4661 p = "int"; 4662 break; 4663 default: 4664 break; 4665 }; 4666 break; 4667 /* linux_mremap */ 4668 case 216: 4669 switch(ndx) { 4670 case 0: 4671 p = "l_ulong"; 4672 break; 4673 case 1: 4674 p = "l_ulong"; 4675 break; 4676 case 2: 4677 p = "l_ulong"; 4678 break; 4679 case 3: 4680 p = "l_ulong"; 4681 break; 4682 case 4: 4683 p = "l_ulong"; 4684 break; 4685 default: 4686 break; 4687 }; 4688 break; 4689 /* linux_add_key */ 4690 case 217: 4691 break; 4692 /* linux_request_key */ 4693 case 218: 4694 break; 4695 /* linux_keyctl */ 4696 case 219: 4697 break; 4698 /* linux_clone */ 4699 case 220: 4700 switch(ndx) { 4701 case 0: 4702 p = "l_int"; 4703 break; 4704 case 1: 4705 p = "userland void *"; 4706 break; 4707 case 2: 4708 p = "userland void *"; 4709 break; 4710 case 3: 4711 p = "userland void *"; 4712 break; 4713 case 4: 4714 p = "userland void *"; 4715 break; 4716 default: 4717 break; 4718 }; 4719 break; 4720 /* linux_execve */ 4721 case 221: 4722 switch(ndx) { 4723 case 0: 4724 p = "userland char *"; 4725 break; 4726 case 1: 4727 p = "userland char **"; 4728 break; 4729 case 2: 4730 p = "userland char **"; 4731 break; 4732 default: 4733 break; 4734 }; 4735 break; 4736 /* linux_mmap2 */ 4737 case 222: 4738 switch(ndx) { 4739 case 0: 4740 p = "l_ulong"; 4741 break; 4742 case 1: 4743 p = "l_ulong"; 4744 break; 4745 case 2: 4746 p = "l_ulong"; 4747 break; 4748 case 3: 4749 p = "l_ulong"; 4750 break; 4751 case 4: 4752 p = "l_ulong"; 4753 break; 4754 case 5: 4755 p = "l_ulong"; 4756 break; 4757 default: 4758 break; 4759 }; 4760 break; 4761 /* linux_fadvise64 */ 4762 case 223: 4763 switch(ndx) { 4764 case 0: 4765 p = "l_int"; 4766 break; 4767 case 1: 4768 p = "l_loff_t"; 4769 break; 4770 case 2: 4771 p = "l_size_t"; 4772 break; 4773 case 3: 4774 p = "l_int"; 4775 break; 4776 default: 4777 break; 4778 }; 4779 break; 4780 /* swapon */ 4781 case 224: 4782 switch(ndx) { 4783 case 0: 4784 p = "userland char *"; 4785 break; 4786 default: 4787 break; 4788 }; 4789 break; 4790 /* linux_swapoff */ 4791 case 225: 4792 break; 4793 /* linux_mprotect */ 4794 case 226: 4795 switch(ndx) { 4796 case 0: 4797 p = "caddr_t"; 4798 break; 4799 case 1: 4800 p = "l_int"; 4801 break; 4802 case 2: 4803 p = "l_int"; 4804 break; 4805 default: 4806 break; 4807 }; 4808 break; 4809 /* linux_msync */ 4810 case 227: 4811 switch(ndx) { 4812 case 0: 4813 p = "l_ulong"; 4814 break; 4815 case 1: 4816 p = "l_size_t"; 4817 break; 4818 case 2: 4819 p = "l_int"; 4820 break; 4821 default: 4822 break; 4823 }; 4824 break; 4825 /* mlock */ 4826 case 228: 4827 switch(ndx) { 4828 case 0: 4829 p = "userland const void *"; 4830 break; 4831 case 1: 4832 p = "size_t"; 4833 break; 4834 default: 4835 break; 4836 }; 4837 break; 4838 /* munlock */ 4839 case 229: 4840 switch(ndx) { 4841 case 0: 4842 p = "userland const void *"; 4843 break; 4844 case 1: 4845 p = "size_t"; 4846 break; 4847 default: 4848 break; 4849 }; 4850 break; 4851 /* mlockall */ 4852 case 230: 4853 switch(ndx) { 4854 case 0: 4855 p = "int"; 4856 break; 4857 default: 4858 break; 4859 }; 4860 break; 4861 /* munlockall */ 4862 case 231: 4863 break; 4864 /* linux_mincore */ 4865 case 232: 4866 switch(ndx) { 4867 case 0: 4868 p = "l_ulong"; 4869 break; 4870 case 1: 4871 p = "l_size_t"; 4872 break; 4873 case 2: 4874 p = "userland u_char *"; 4875 break; 4876 default: 4877 break; 4878 }; 4879 break; 4880 /* madvise */ 4881 case 233: 4882 switch(ndx) { 4883 case 0: 4884 p = "userland void *"; 4885 break; 4886 case 1: 4887 p = "size_t"; 4888 break; 4889 case 2: 4890 p = "int"; 4891 break; 4892 default: 4893 break; 4894 }; 4895 break; 4896 /* linux_remap_file_pages */ 4897 case 234: 4898 break; 4899 /* linux_mbind */ 4900 case 235: 4901 break; 4902 /* linux_get_mempolicy */ 4903 case 236: 4904 break; 4905 /* linux_set_mempolicy */ 4906 case 237: 4907 break; 4908 /* linux_migrate_pages */ 4909 case 238: 4910 break; 4911 /* linux_move_pages */ 4912 case 239: 4913 break; 4914 /* linux_rt_tgsigqueueinfo */ 4915 case 240: 4916 switch(ndx) { 4917 case 0: 4918 p = "l_pid_t"; 4919 break; 4920 case 1: 4921 p = "l_pid_t"; 4922 break; 4923 case 2: 4924 p = "l_int"; 4925 break; 4926 case 3: 4927 p = "userland l_siginfo_t *"; 4928 break; 4929 default: 4930 break; 4931 }; 4932 break; 4933 /* linux_perf_event_open */ 4934 case 241: 4935 break; 4936 /* linux_accept4 */ 4937 case 242: 4938 switch(ndx) { 4939 case 0: 4940 p = "l_int"; 4941 break; 4942 case 1: 4943 p = "l_uintptr_t"; 4944 break; 4945 case 2: 4946 p = "l_uintptr_t"; 4947 break; 4948 case 3: 4949 p = "int"; 4950 break; 4951 default: 4952 break; 4953 }; 4954 break; 4955 /* linux_recvmmsg */ 4956 case 243: 4957 switch(ndx) { 4958 case 0: 4959 p = "l_int"; 4960 break; 4961 case 1: 4962 p = "userland struct l_mmsghdr *"; 4963 break; 4964 case 2: 4965 p = "l_uint"; 4966 break; 4967 case 3: 4968 p = "l_uint"; 4969 break; 4970 case 4: 4971 p = "userland struct l_timespec *"; 4972 break; 4973 default: 4974 break; 4975 }; 4976 break; 4977 /* linux_wait4 */ 4978 case 260: 4979 switch(ndx) { 4980 case 0: 4981 p = "l_pid_t"; 4982 break; 4983 case 1: 4984 p = "userland l_int *"; 4985 break; 4986 case 2: 4987 p = "l_int"; 4988 break; 4989 case 3: 4990 p = "userland struct rusage *"; 4991 break; 4992 default: 4993 break; 4994 }; 4995 break; 4996 /* linux_prlimit64 */ 4997 case 261: 4998 switch(ndx) { 4999 case 0: 5000 p = "l_pid_t"; 5001 break; 5002 case 1: 5003 p = "l_uint"; 5004 break; 5005 case 2: 5006 p = "userland struct rlimit *"; 5007 break; 5008 case 3: 5009 p = "userland struct rlimit *"; 5010 break; 5011 default: 5012 break; 5013 }; 5014 break; 5015 /* linux_fanotify_init */ 5016 case 262: 5017 break; 5018 /* linux_fanotify_mark */ 5019 case 263: 5020 break; 5021 /* linux_name_to_handle_at */ 5022 case 264: 5023 break; 5024 /* linux_open_by_handle_at */ 5025 case 265: 5026 break; 5027 /* linux_clock_adjtime */ 5028 case 266: 5029 break; 5030 /* linux_syncfs */ 5031 case 267: 5032 switch(ndx) { 5033 case 0: 5034 p = "l_int"; 5035 break; 5036 default: 5037 break; 5038 }; 5039 break; 5040 /* linux_setns */ 5041 case 268: 5042 switch(ndx) { 5043 case 0: 5044 p = "l_int"; 5045 break; 5046 case 1: 5047 p = "l_int"; 5048 break; 5049 default: 5050 break; 5051 }; 5052 break; 5053 /* linux_sendmmsg */ 5054 case 269: 5055 switch(ndx) { 5056 case 0: 5057 p = "l_int"; 5058 break; 5059 case 1: 5060 p = "userland struct l_mmsghdr *"; 5061 break; 5062 case 2: 5063 p = "l_uint"; 5064 break; 5065 case 3: 5066 p = "l_uint"; 5067 break; 5068 default: 5069 break; 5070 }; 5071 break; 5072 /* linux_process_vm_readv */ 5073 case 270: 5074 switch(ndx) { 5075 case 0: 5076 p = "l_pid_t"; 5077 break; 5078 case 1: 5079 p = "userland const struct iovec *"; 5080 break; 5081 case 2: 5082 p = "l_ulong"; 5083 break; 5084 case 3: 5085 p = "userland const struct iovec *"; 5086 break; 5087 case 4: 5088 p = "l_ulong"; 5089 break; 5090 case 5: 5091 p = "l_ulong"; 5092 break; 5093 default: 5094 break; 5095 }; 5096 break; 5097 /* linux_process_vm_writev */ 5098 case 271: 5099 switch(ndx) { 5100 case 0: 5101 p = "l_pid_t"; 5102 break; 5103 case 1: 5104 p = "userland const struct iovec *"; 5105 break; 5106 case 2: 5107 p = "l_ulong"; 5108 break; 5109 case 3: 5110 p = "userland const struct iovec *"; 5111 break; 5112 case 4: 5113 p = "l_ulong"; 5114 break; 5115 case 5: 5116 p = "l_ulong"; 5117 break; 5118 default: 5119 break; 5120 }; 5121 break; 5122 /* linux_kcmp */ 5123 case 272: 5124 switch(ndx) { 5125 case 0: 5126 p = "l_pid_t"; 5127 break; 5128 case 1: 5129 p = "l_pid_t"; 5130 break; 5131 case 2: 5132 p = "l_int"; 5133 break; 5134 case 3: 5135 p = "l_ulong"; 5136 break; 5137 case 4: 5138 p = "l_ulong"; 5139 break; 5140 default: 5141 break; 5142 }; 5143 break; 5144 /* linux_finit_module */ 5145 case 273: 5146 switch(ndx) { 5147 case 0: 5148 p = "l_int"; 5149 break; 5150 case 1: 5151 p = "userland const char *"; 5152 break; 5153 case 2: 5154 p = "l_int"; 5155 break; 5156 default: 5157 break; 5158 }; 5159 break; 5160 /* linux_sched_setattr */ 5161 case 274: 5162 switch(ndx) { 5163 case 0: 5164 p = "l_pid_t"; 5165 break; 5166 case 1: 5167 p = "userland void *"; 5168 break; 5169 case 2: 5170 p = "l_uint"; 5171 break; 5172 default: 5173 break; 5174 }; 5175 break; 5176 /* linux_sched_getattr */ 5177 case 275: 5178 switch(ndx) { 5179 case 0: 5180 p = "l_pid_t"; 5181 break; 5182 case 1: 5183 p = "userland void *"; 5184 break; 5185 case 2: 5186 p = "l_uint"; 5187 break; 5188 case 3: 5189 p = "l_uint"; 5190 break; 5191 default: 5192 break; 5193 }; 5194 break; 5195 /* linux_renameat2 */ 5196 case 276: 5197 switch(ndx) { 5198 case 0: 5199 p = "l_int"; 5200 break; 5201 case 1: 5202 p = "userland const char *"; 5203 break; 5204 case 2: 5205 p = "l_int"; 5206 break; 5207 case 3: 5208 p = "userland const char *"; 5209 break; 5210 case 4: 5211 p = "unsigned int"; 5212 break; 5213 default: 5214 break; 5215 }; 5216 break; 5217 /* linux_seccomp */ 5218 case 277: 5219 switch(ndx) { 5220 case 0: 5221 p = "l_uint"; 5222 break; 5223 case 1: 5224 p = "l_uint"; 5225 break; 5226 case 2: 5227 p = "userland const char *"; 5228 break; 5229 default: 5230 break; 5231 }; 5232 break; 5233 /* linux_getrandom */ 5234 case 278: 5235 switch(ndx) { 5236 case 0: 5237 p = "userland char *"; 5238 break; 5239 case 1: 5240 p = "l_size_t"; 5241 break; 5242 case 2: 5243 p = "l_uint"; 5244 break; 5245 default: 5246 break; 5247 }; 5248 break; 5249 /* linux_memfd_create */ 5250 case 279: 5251 switch(ndx) { 5252 case 0: 5253 p = "userland const char *"; 5254 break; 5255 case 1: 5256 p = "l_uint"; 5257 break; 5258 default: 5259 break; 5260 }; 5261 break; 5262 /* linux_bpf */ 5263 case 280: 5264 switch(ndx) { 5265 case 0: 5266 p = "l_int"; 5267 break; 5268 case 1: 5269 p = "userland void *"; 5270 break; 5271 case 2: 5272 p = "l_uint"; 5273 break; 5274 default: 5275 break; 5276 }; 5277 break; 5278 /* linux_execveat */ 5279 case 281: 5280 switch(ndx) { 5281 case 0: 5282 p = "l_int"; 5283 break; 5284 case 1: 5285 p = "userland const char *"; 5286 break; 5287 case 2: 5288 p = "userland const char **"; 5289 break; 5290 case 3: 5291 p = "userland const char **"; 5292 break; 5293 case 4: 5294 p = "l_int"; 5295 break; 5296 default: 5297 break; 5298 }; 5299 break; 5300 /* linux_userfaultfd */ 5301 case 282: 5302 switch(ndx) { 5303 case 0: 5304 p = "l_int"; 5305 break; 5306 default: 5307 break; 5308 }; 5309 break; 5310 /* linux_membarrier */ 5311 case 283: 5312 switch(ndx) { 5313 case 0: 5314 p = "l_int"; 5315 break; 5316 case 1: 5317 p = "l_int"; 5318 break; 5319 default: 5320 break; 5321 }; 5322 break; 5323 /* linux_mlock2 */ 5324 case 284: 5325 switch(ndx) { 5326 case 0: 5327 p = "l_ulong"; 5328 break; 5329 case 1: 5330 p = "l_size_t"; 5331 break; 5332 case 2: 5333 p = "l_int"; 5334 break; 5335 default: 5336 break; 5337 }; 5338 break; 5339 /* linux_copy_file_range */ 5340 case 285: 5341 switch(ndx) { 5342 case 0: 5343 p = "l_int"; 5344 break; 5345 case 1: 5346 p = "userland l_loff_t *"; 5347 break; 5348 case 2: 5349 p = "l_int"; 5350 break; 5351 case 3: 5352 p = "userland l_loff_t *"; 5353 break; 5354 case 4: 5355 p = "l_size_t"; 5356 break; 5357 case 5: 5358 p = "l_uint"; 5359 break; 5360 default: 5361 break; 5362 }; 5363 break; 5364 /* linux_preadv2 */ 5365 case 286: 5366 switch(ndx) { 5367 case 0: 5368 p = "l_ulong"; 5369 break; 5370 case 1: 5371 p = "userland const struct iovec *"; 5372 break; 5373 case 2: 5374 p = "l_ulong"; 5375 break; 5376 case 3: 5377 p = "l_ulong"; 5378 break; 5379 case 4: 5380 p = "l_ulong"; 5381 break; 5382 case 5: 5383 p = "l_int"; 5384 break; 5385 default: 5386 break; 5387 }; 5388 break; 5389 /* linux_pwritev2 */ 5390 case 287: 5391 switch(ndx) { 5392 case 0: 5393 p = "l_ulong"; 5394 break; 5395 case 1: 5396 p = "userland const struct iovec *"; 5397 break; 5398 case 2: 5399 p = "l_ulong"; 5400 break; 5401 case 3: 5402 p = "l_ulong"; 5403 break; 5404 case 4: 5405 p = "l_ulong"; 5406 break; 5407 case 5: 5408 p = "l_int"; 5409 break; 5410 default: 5411 break; 5412 }; 5413 break; 5414 /* linux_pkey_mprotect */ 5415 case 288: 5416 switch(ndx) { 5417 case 0: 5418 p = "l_ulong"; 5419 break; 5420 case 1: 5421 p = "l_size_t"; 5422 break; 5423 case 2: 5424 p = "l_ulong"; 5425 break; 5426 case 3: 5427 p = "l_int"; 5428 break; 5429 default: 5430 break; 5431 }; 5432 break; 5433 /* linux_pkey_alloc */ 5434 case 289: 5435 switch(ndx) { 5436 case 0: 5437 p = "l_ulong"; 5438 break; 5439 case 1: 5440 p = "l_ulong"; 5441 break; 5442 default: 5443 break; 5444 }; 5445 break; 5446 /* linux_pkey_free */ 5447 case 290: 5448 switch(ndx) { 5449 case 0: 5450 p = "l_int"; 5451 break; 5452 default: 5453 break; 5454 }; 5455 break; 5456 default: 5457 break; 5458 }; 5459 if (p != NULL) 5460 strlcpy(desc, p, descsz); 5461 } 5462 static void 5463 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) 5464 { 5465 const char *p = NULL; 5466 switch (sysnum) { 5467 #define nosys linux_nosys 5468 /* linux_setxattr */ 5469 case 5: 5470 /* linux_lsetxattr */ 5471 case 6: 5472 /* linux_fsetxattr */ 5473 case 7: 5474 /* linux_getxattr */ 5475 case 8: 5476 /* linux_lgetxattr */ 5477 case 9: 5478 /* linux_fgetxattr */ 5479 case 10: 5480 /* linux_listxattr */ 5481 case 11: 5482 /* linux_llistxattr */ 5483 case 12: 5484 /* linux_flistxattr */ 5485 case 13: 5486 /* linux_removexattr */ 5487 case 14: 5488 /* linux_lremovexattr */ 5489 case 15: 5490 /* linux_fremovexattr */ 5491 case 16: 5492 /* linux_getcwd */ 5493 case 17: 5494 if (ndx == 0 || ndx == 1) 5495 p = "int"; 5496 break; 5497 /* linux_lookup_dcookie */ 5498 case 18: 5499 /* linux_eventfd2 */ 5500 case 19: 5501 if (ndx == 0 || ndx == 1) 5502 p = "int"; 5503 break; 5504 /* linux_epoll_create1 */ 5505 case 20: 5506 if (ndx == 0 || ndx == 1) 5507 p = "int"; 5508 break; 5509 /* linux_epoll_ctl */ 5510 case 21: 5511 if (ndx == 0 || ndx == 1) 5512 p = "int"; 5513 break; 5514 /* linux_epoll_pwait */ 5515 case 22: 5516 if (ndx == 0 || ndx == 1) 5517 p = "int"; 5518 break; 5519 /* dup */ 5520 case 23: 5521 if (ndx == 0 || ndx == 1) 5522 p = "int"; 5523 break; 5524 /* linux_dup3 */ 5525 case 24: 5526 if (ndx == 0 || ndx == 1) 5527 p = "int"; 5528 break; 5529 /* linux_fcntl */ 5530 case 25: 5531 if (ndx == 0 || ndx == 1) 5532 p = "int"; 5533 break; 5534 /* linux_inotify_init1 */ 5535 case 26: 5536 if (ndx == 0 || ndx == 1) 5537 p = "int"; 5538 break; 5539 /* linux_inotify_add_watch */ 5540 case 27: 5541 /* linux_inotify_rm_watch */ 5542 case 28: 5543 /* linux_ioctl */ 5544 case 29: 5545 if (ndx == 0 || ndx == 1) 5546 p = "int"; 5547 break; 5548 /* linux_ioprio_set */ 5549 case 30: 5550 /* linux_ioprio_get */ 5551 case 31: 5552 /* flock */ 5553 case 32: 5554 if (ndx == 0 || ndx == 1) 5555 p = "int"; 5556 break; 5557 /* linux_mknodat */ 5558 case 33: 5559 if (ndx == 0 || ndx == 1) 5560 p = "int"; 5561 break; 5562 /* linux_mkdirat */ 5563 case 34: 5564 if (ndx == 0 || ndx == 1) 5565 p = "int"; 5566 break; 5567 /* linux_unlinkat */ 5568 case 35: 5569 if (ndx == 0 || ndx == 1) 5570 p = "int"; 5571 break; 5572 /* linux_symlinkat */ 5573 case 36: 5574 if (ndx == 0 || ndx == 1) 5575 p = "int"; 5576 break; 5577 /* linux_linkat */ 5578 case 37: 5579 if (ndx == 0 || ndx == 1) 5580 p = "int"; 5581 break; 5582 /* linux_renameat */ 5583 case 38: 5584 if (ndx == 0 || ndx == 1) 5585 p = "int"; 5586 break; 5587 /* linux_mount */ 5588 case 40: 5589 if (ndx == 0 || ndx == 1) 5590 p = "int"; 5591 break; 5592 /* linux_pivot_root */ 5593 case 41: 5594 /* linux_statfs */ 5595 case 43: 5596 if (ndx == 0 || ndx == 1) 5597 p = "int"; 5598 break; 5599 /* linux_fstatfs */ 5600 case 44: 5601 if (ndx == 0 || ndx == 1) 5602 p = "int"; 5603 break; 5604 /* linux_truncate */ 5605 case 45: 5606 if (ndx == 0 || ndx == 1) 5607 p = "int"; 5608 break; 5609 /* linux_ftruncate */ 5610 case 46: 5611 if (ndx == 0 || ndx == 1) 5612 p = "int"; 5613 break; 5614 /* linux_fallocate */ 5615 case 47: 5616 if (ndx == 0 || ndx == 1) 5617 p = "int"; 5618 break; 5619 /* linux_faccessat */ 5620 case 48: 5621 if (ndx == 0 || ndx == 1) 5622 p = "int"; 5623 break; 5624 /* linux_chdir */ 5625 case 49: 5626 if (ndx == 0 || ndx == 1) 5627 p = "int"; 5628 break; 5629 /* fchdir */ 5630 case 50: 5631 if (ndx == 0 || ndx == 1) 5632 p = "int"; 5633 break; 5634 /* chroot */ 5635 case 51: 5636 if (ndx == 0 || ndx == 1) 5637 p = "int"; 5638 break; 5639 /* fchmod */ 5640 case 52: 5641 if (ndx == 0 || ndx == 1) 5642 p = "int"; 5643 break; 5644 /* linux_fchmodat */ 5645 case 53: 5646 if (ndx == 0 || ndx == 1) 5647 p = "int"; 5648 break; 5649 /* linux_fchownat */ 5650 case 54: 5651 if (ndx == 0 || ndx == 1) 5652 p = "int"; 5653 break; 5654 /* fchown */ 5655 case 55: 5656 if (ndx == 0 || ndx == 1) 5657 p = "int"; 5658 break; 5659 /* linux_openat */ 5660 case 56: 5661 if (ndx == 0 || ndx == 1) 5662 p = "int"; 5663 break; 5664 /* close */ 5665 case 57: 5666 if (ndx == 0 || ndx == 1) 5667 p = "int"; 5668 break; 5669 /* linux_vhangup */ 5670 case 58: 5671 /* linux_pipe2 */ 5672 case 59: 5673 if (ndx == 0 || ndx == 1) 5674 p = "int"; 5675 break; 5676 /* linux_getdents64 */ 5677 case 61: 5678 if (ndx == 0 || ndx == 1) 5679 p = "int"; 5680 break; 5681 /* linux_lseek */ 5682 case 62: 5683 if (ndx == 0 || ndx == 1) 5684 p = "int"; 5685 break; 5686 /* read */ 5687 case 63: 5688 if (ndx == 0 || ndx == 1) 5689 p = "int"; 5690 break; 5691 /* write */ 5692 case 64: 5693 if (ndx == 0 || ndx == 1) 5694 p = "int"; 5695 break; 5696 /* readv */ 5697 case 65: 5698 if (ndx == 0 || ndx == 1) 5699 p = "int"; 5700 break; 5701 /* writev */ 5702 case 66: 5703 if (ndx == 0 || ndx == 1) 5704 p = "int"; 5705 break; 5706 /* linux_pread */ 5707 case 67: 5708 if (ndx == 0 || ndx == 1) 5709 p = "int"; 5710 break; 5711 /* linux_pwrite */ 5712 case 68: 5713 if (ndx == 0 || ndx == 1) 5714 p = "int"; 5715 break; 5716 /* linux_preadv */ 5717 case 69: 5718 if (ndx == 0 || ndx == 1) 5719 p = "int"; 5720 break; 5721 /* linux_pwritev */ 5722 case 70: 5723 if (ndx == 0 || ndx == 1) 5724 p = "int"; 5725 break; 5726 /* linux_sendfile */ 5727 case 71: 5728 if (ndx == 0 || ndx == 1) 5729 p = "int"; 5730 break; 5731 /* linux_pselect6 */ 5732 case 72: 5733 if (ndx == 0 || ndx == 1) 5734 p = "int"; 5735 break; 5736 /* linux_ppoll */ 5737 case 73: 5738 if (ndx == 0 || ndx == 1) 5739 p = "int"; 5740 break; 5741 /* linux_signalfd4 */ 5742 case 74: 5743 /* linux_vmsplice */ 5744 case 75: 5745 /* linux_splice */ 5746 case 76: 5747 /* linux_tee */ 5748 case 77: 5749 /* linux_readlinkat */ 5750 case 78: 5751 if (ndx == 0 || ndx == 1) 5752 p = "int"; 5753 break; 5754 /* linux_newfstatat */ 5755 case 79: 5756 if (ndx == 0 || ndx == 1) 5757 p = "int"; 5758 break; 5759 /* linux_newfstat */ 5760 case 80: 5761 if (ndx == 0 || ndx == 1) 5762 p = "int"; 5763 break; 5764 /* fsync */ 5765 case 82: 5766 if (ndx == 0 || ndx == 1) 5767 p = "int"; 5768 break; 5769 /* linux_fdatasync */ 5770 case 83: 5771 if (ndx == 0 || ndx == 1) 5772 p = "int"; 5773 break; 5774 /* linux_sync_file_range */ 5775 case 84: 5776 /* linux_timerfd_create */ 5777 case 85: 5778 if (ndx == 0 || ndx == 1) 5779 p = "int"; 5780 break; 5781 /* linux_timerfd_settime */ 5782 case 86: 5783 if (ndx == 0 || ndx == 1) 5784 p = "int"; 5785 break; 5786 /* linux_timerfd_gettime */ 5787 case 87: 5788 if (ndx == 0 || ndx == 1) 5789 p = "int"; 5790 break; 5791 /* linux_utimensat */ 5792 case 88: 5793 if (ndx == 0 || ndx == 1) 5794 p = "int"; 5795 break; 5796 /* acct */ 5797 case 89: 5798 if (ndx == 0 || ndx == 1) 5799 p = "int"; 5800 break; 5801 /* linux_capget */ 5802 case 90: 5803 if (ndx == 0 || ndx == 1) 5804 p = "int"; 5805 break; 5806 /* linux_capset */ 5807 case 91: 5808 if (ndx == 0 || ndx == 1) 5809 p = "int"; 5810 break; 5811 /* linux_personality */ 5812 case 92: 5813 if (ndx == 0 || ndx == 1) 5814 p = "int"; 5815 break; 5816 /* linux_exit */ 5817 case 93: 5818 if (ndx == 0 || ndx == 1) 5819 p = "int"; 5820 break; 5821 /* linux_exit_group */ 5822 case 94: 5823 if (ndx == 0 || ndx == 1) 5824 p = "int"; 5825 break; 5826 /* linux_waitid */ 5827 case 95: 5828 if (ndx == 0 || ndx == 1) 5829 p = "int"; 5830 break; 5831 /* linux_set_tid_address */ 5832 case 96: 5833 if (ndx == 0 || ndx == 1) 5834 p = "int"; 5835 break; 5836 /* linux_unshare */ 5837 case 97: 5838 /* linux_sys_futex */ 5839 case 98: 5840 if (ndx == 0 || ndx == 1) 5841 p = "int"; 5842 break; 5843 /* linux_set_robust_list */ 5844 case 99: 5845 if (ndx == 0 || ndx == 1) 5846 p = "int"; 5847 break; 5848 /* linux_get_robust_list */ 5849 case 100: 5850 if (ndx == 0 || ndx == 1) 5851 p = "int"; 5852 break; 5853 /* linux_nanosleep */ 5854 case 101: 5855 if (ndx == 0 || ndx == 1) 5856 p = "int"; 5857 break; 5858 /* linux_getitimer */ 5859 case 102: 5860 if (ndx == 0 || ndx == 1) 5861 p = "int"; 5862 break; 5863 /* linux_setitimer */ 5864 case 103: 5865 if (ndx == 0 || ndx == 1) 5866 p = "int"; 5867 break; 5868 /* linux_kexec_load */ 5869 case 104: 5870 /* linux_init_module */ 5871 case 105: 5872 /* linux_delete_module */ 5873 case 106: 5874 /* linux_timer_create */ 5875 case 107: 5876 if (ndx == 0 || ndx == 1) 5877 p = "int"; 5878 break; 5879 /* linux_timer_gettime */ 5880 case 108: 5881 if (ndx == 0 || ndx == 1) 5882 p = "int"; 5883 break; 5884 /* linux_timer_getoverrun */ 5885 case 109: 5886 if (ndx == 0 || ndx == 1) 5887 p = "int"; 5888 break; 5889 /* linux_timer_settime */ 5890 case 110: 5891 if (ndx == 0 || ndx == 1) 5892 p = "int"; 5893 break; 5894 /* linux_timer_delete */ 5895 case 111: 5896 if (ndx == 0 || ndx == 1) 5897 p = "int"; 5898 break; 5899 /* linux_clock_settime */ 5900 case 112: 5901 if (ndx == 0 || ndx == 1) 5902 p = "int"; 5903 break; 5904 /* linux_clock_gettime */ 5905 case 113: 5906 if (ndx == 0 || ndx == 1) 5907 p = "int"; 5908 break; 5909 /* linux_clock_getres */ 5910 case 114: 5911 if (ndx == 0 || ndx == 1) 5912 p = "int"; 5913 break; 5914 /* linux_clock_nanosleep */ 5915 case 115: 5916 if (ndx == 0 || ndx == 1) 5917 p = "int"; 5918 break; 5919 /* linux_syslog */ 5920 case 116: 5921 if (ndx == 0 || ndx == 1) 5922 p = "int"; 5923 break; 5924 /* linux_ptrace */ 5925 case 117: 5926 if (ndx == 0 || ndx == 1) 5927 p = "int"; 5928 break; 5929 /* linux_sched_setparam */ 5930 case 118: 5931 if (ndx == 0 || ndx == 1) 5932 p = "int"; 5933 break; 5934 /* linux_sched_setscheduler */ 5935 case 119: 5936 if (ndx == 0 || ndx == 1) 5937 p = "int"; 5938 break; 5939 /* linux_sched_getscheduler */ 5940 case 120: 5941 if (ndx == 0 || ndx == 1) 5942 p = "int"; 5943 break; 5944 /* linux_sched_getparam */ 5945 case 121: 5946 if (ndx == 0 || ndx == 1) 5947 p = "int"; 5948 break; 5949 /* linux_sched_setaffinity */ 5950 case 122: 5951 if (ndx == 0 || ndx == 1) 5952 p = "int"; 5953 break; 5954 /* linux_sched_getaffinity */ 5955 case 123: 5956 if (ndx == 0 || ndx == 1) 5957 p = "int"; 5958 break; 5959 /* sched_yield */ 5960 case 124: 5961 /* linux_sched_get_priority_max */ 5962 case 125: 5963 if (ndx == 0 || ndx == 1) 5964 p = "int"; 5965 break; 5966 /* linux_sched_get_priority_min */ 5967 case 126: 5968 if (ndx == 0 || ndx == 1) 5969 p = "int"; 5970 break; 5971 /* linux_sched_rr_get_interval */ 5972 case 127: 5973 if (ndx == 0 || ndx == 1) 5974 p = "int"; 5975 break; 5976 /* linux_kill */ 5977 case 129: 5978 if (ndx == 0 || ndx == 1) 5979 p = "int"; 5980 break; 5981 /* linux_tkill */ 5982 case 130: 5983 if (ndx == 0 || ndx == 1) 5984 p = "int"; 5985 break; 5986 /* linux_tgkill */ 5987 case 131: 5988 if (ndx == 0 || ndx == 1) 5989 p = "int"; 5990 break; 5991 /* linux_sigaltstack */ 5992 case 132: 5993 if (ndx == 0 || ndx == 1) 5994 p = "int"; 5995 break; 5996 /* linux_rt_sigsuspend */ 5997 case 133: 5998 if (ndx == 0 || ndx == 1) 5999 p = "int"; 6000 break; 6001 /* linux_rt_sigaction */ 6002 case 134: 6003 if (ndx == 0 || ndx == 1) 6004 p = "int"; 6005 break; 6006 /* linux_rt_sigprocmask */ 6007 case 135: 6008 if (ndx == 0 || ndx == 1) 6009 p = "int"; 6010 break; 6011 /* linux_rt_sigpending */ 6012 case 136: 6013 if (ndx == 0 || ndx == 1) 6014 p = "int"; 6015 break; 6016 /* linux_rt_sigtimedwait */ 6017 case 137: 6018 if (ndx == 0 || ndx == 1) 6019 p = "int"; 6020 break; 6021 /* linux_rt_sigqueueinfo */ 6022 case 138: 6023 if (ndx == 0 || ndx == 1) 6024 p = "int"; 6025 break; 6026 /* linux_rt_sigreturn */ 6027 case 139: 6028 if (ndx == 0 || ndx == 1) 6029 p = "int"; 6030 break; 6031 /* setpriority */ 6032 case 140: 6033 if (ndx == 0 || ndx == 1) 6034 p = "int"; 6035 break; 6036 /* linux_getpriority */ 6037 case 141: 6038 if (ndx == 0 || ndx == 1) 6039 p = "int"; 6040 break; 6041 /* linux_reboot */ 6042 case 142: 6043 if (ndx == 0 || ndx == 1) 6044 p = "int"; 6045 break; 6046 /* setregid */ 6047 case 143: 6048 if (ndx == 0 || ndx == 1) 6049 p = "int"; 6050 break; 6051 /* setgid */ 6052 case 144: 6053 if (ndx == 0 || ndx == 1) 6054 p = "int"; 6055 break; 6056 /* setreuid */ 6057 case 145: 6058 if (ndx == 0 || ndx == 1) 6059 p = "int"; 6060 break; 6061 /* setuid */ 6062 case 146: 6063 if (ndx == 0 || ndx == 1) 6064 p = "int"; 6065 break; 6066 /* setresuid */ 6067 case 147: 6068 if (ndx == 0 || ndx == 1) 6069 p = "int"; 6070 break; 6071 /* getresuid */ 6072 case 148: 6073 if (ndx == 0 || ndx == 1) 6074 p = "int"; 6075 break; 6076 /* setresgid */ 6077 case 149: 6078 if (ndx == 0 || ndx == 1) 6079 p = "int"; 6080 break; 6081 /* getresgid */ 6082 case 150: 6083 if (ndx == 0 || ndx == 1) 6084 p = "int"; 6085 break; 6086 /* linux_setfsuid */ 6087 case 151: 6088 if (ndx == 0 || ndx == 1) 6089 p = "int"; 6090 break; 6091 /* linux_setfsgid */ 6092 case 152: 6093 if (ndx == 0 || ndx == 1) 6094 p = "int"; 6095 break; 6096 /* linux_times */ 6097 case 153: 6098 if (ndx == 0 || ndx == 1) 6099 p = "int"; 6100 break; 6101 /* setpgid */ 6102 case 154: 6103 if (ndx == 0 || ndx == 1) 6104 p = "int"; 6105 break; 6106 /* getpgid */ 6107 case 155: 6108 if (ndx == 0 || ndx == 1) 6109 p = "int"; 6110 break; 6111 /* linux_getsid */ 6112 case 156: 6113 if (ndx == 0 || ndx == 1) 6114 p = "int"; 6115 break; 6116 /* setsid */ 6117 case 157: 6118 /* linux_getgroups */ 6119 case 158: 6120 if (ndx == 0 || ndx == 1) 6121 p = "int"; 6122 break; 6123 /* linux_setgroups */ 6124 case 159: 6125 if (ndx == 0 || ndx == 1) 6126 p = "int"; 6127 break; 6128 /* linux_newuname */ 6129 case 160: 6130 if (ndx == 0 || ndx == 1) 6131 p = "int"; 6132 break; 6133 /* linux_sethostname */ 6134 case 161: 6135 if (ndx == 0 || ndx == 1) 6136 p = "int"; 6137 break; 6138 /* linux_setdomainname */ 6139 case 162: 6140 if (ndx == 0 || ndx == 1) 6141 p = "int"; 6142 break; 6143 /* linux_getrlimit */ 6144 case 163: 6145 if (ndx == 0 || ndx == 1) 6146 p = "int"; 6147 break; 6148 /* linux_setrlimit */ 6149 case 164: 6150 if (ndx == 0 || ndx == 1) 6151 p = "int"; 6152 break; 6153 /* getrusage */ 6154 case 165: 6155 if (ndx == 0 || ndx == 1) 6156 p = "int"; 6157 break; 6158 /* umask */ 6159 case 166: 6160 if (ndx == 0 || ndx == 1) 6161 p = "int"; 6162 break; 6163 /* linux_prctl */ 6164 case 167: 6165 if (ndx == 0 || ndx == 1) 6166 p = "int"; 6167 break; 6168 /* linux_getcpu */ 6169 case 168: 6170 if (ndx == 0 || ndx == 1) 6171 p = "int"; 6172 break; 6173 /* gettimeofday */ 6174 case 169: 6175 if (ndx == 0 || ndx == 1) 6176 p = "int"; 6177 break; 6178 /* settimeofday */ 6179 case 170: 6180 if (ndx == 0 || ndx == 1) 6181 p = "int"; 6182 break; 6183 /* linux_adjtimex */ 6184 case 171: 6185 /* linux_getpid */ 6186 case 172: 6187 /* linux_getppid */ 6188 case 173: 6189 /* linux_getuid */ 6190 case 174: 6191 /* geteuid */ 6192 case 175: 6193 /* linux_getgid */ 6194 case 176: 6195 /* getegid */ 6196 case 177: 6197 /* linux_gettid */ 6198 case 178: 6199 /* linux_sysinfo */ 6200 case 179: 6201 if (ndx == 0 || ndx == 1) 6202 p = "int"; 6203 break; 6204 /* linux_mq_open */ 6205 case 180: 6206 /* linux_mq_unlink */ 6207 case 181: 6208 /* linux_mq_timedsend */ 6209 case 182: 6210 /* linux_mq_timedreceive */ 6211 case 183: 6212 /* linux_mq_notify */ 6213 case 184: 6214 /* linux_mq_getsetattr */ 6215 case 185: 6216 /* linux_msgget */ 6217 case 186: 6218 if (ndx == 0 || ndx == 1) 6219 p = "int"; 6220 break; 6221 /* linux_msgctl */ 6222 case 187: 6223 if (ndx == 0 || ndx == 1) 6224 p = "int"; 6225 break; 6226 /* linux_msgrcv */ 6227 case 188: 6228 if (ndx == 0 || ndx == 1) 6229 p = "int"; 6230 break; 6231 /* linux_msgsnd */ 6232 case 189: 6233 if (ndx == 0 || ndx == 1) 6234 p = "int"; 6235 break; 6236 /* linux_semget */ 6237 case 190: 6238 if (ndx == 0 || ndx == 1) 6239 p = "int"; 6240 break; 6241 /* linux_semctl */ 6242 case 191: 6243 if (ndx == 0 || ndx == 1) 6244 p = "int"; 6245 break; 6246 /* linux_semtimedop */ 6247 case 192: 6248 /* linux_semop */ 6249 case 193: 6250 if (ndx == 0 || ndx == 1) 6251 p = "int"; 6252 break; 6253 /* linux_shmget */ 6254 case 194: 6255 if (ndx == 0 || ndx == 1) 6256 p = "int"; 6257 break; 6258 /* linux_shmctl */ 6259 case 195: 6260 if (ndx == 0 || ndx == 1) 6261 p = "int"; 6262 break; 6263 /* linux_shmat */ 6264 case 196: 6265 if (ndx == 0 || ndx == 1) 6266 p = "int"; 6267 break; 6268 /* linux_shmdt */ 6269 case 197: 6270 if (ndx == 0 || ndx == 1) 6271 p = "int"; 6272 break; 6273 /* linux_socket */ 6274 case 198: 6275 if (ndx == 0 || ndx == 1) 6276 p = "int"; 6277 break; 6278 /* linux_socketpair */ 6279 case 199: 6280 if (ndx == 0 || ndx == 1) 6281 p = "int"; 6282 break; 6283 /* linux_bind */ 6284 case 200: 6285 if (ndx == 0 || ndx == 1) 6286 p = "int"; 6287 break; 6288 /* linux_listen */ 6289 case 201: 6290 if (ndx == 0 || ndx == 1) 6291 p = "int"; 6292 break; 6293 /* linux_accept */ 6294 case 202: 6295 if (ndx == 0 || ndx == 1) 6296 p = "int"; 6297 break; 6298 /* linux_connect */ 6299 case 203: 6300 if (ndx == 0 || ndx == 1) 6301 p = "int"; 6302 break; 6303 /* linux_getsockname */ 6304 case 204: 6305 if (ndx == 0 || ndx == 1) 6306 p = "int"; 6307 break; 6308 /* linux_getpeername */ 6309 case 205: 6310 if (ndx == 0 || ndx == 1) 6311 p = "int"; 6312 break; 6313 /* linux_sendto */ 6314 case 206: 6315 if (ndx == 0 || ndx == 1) 6316 p = "int"; 6317 break; 6318 /* linux_recvfrom */ 6319 case 207: 6320 if (ndx == 0 || ndx == 1) 6321 p = "int"; 6322 break; 6323 /* linux_setsockopt */ 6324 case 208: 6325 if (ndx == 0 || ndx == 1) 6326 p = "int"; 6327 break; 6328 /* linux_getsockopt */ 6329 case 209: 6330 if (ndx == 0 || ndx == 1) 6331 p = "int"; 6332 break; 6333 /* linux_shutdown */ 6334 case 210: 6335 if (ndx == 0 || ndx == 1) 6336 p = "int"; 6337 break; 6338 /* linux_sendmsg */ 6339 case 211: 6340 if (ndx == 0 || ndx == 1) 6341 p = "int"; 6342 break; 6343 /* linux_recvmsg */ 6344 case 212: 6345 if (ndx == 0 || ndx == 1) 6346 p = "int"; 6347 break; 6348 /* linux_brk */ 6349 case 214: 6350 if (ndx == 0 || ndx == 1) 6351 p = "int"; 6352 break; 6353 /* munmap */ 6354 case 215: 6355 if (ndx == 0 || ndx == 1) 6356 p = "int"; 6357 break; 6358 /* linux_mremap */ 6359 case 216: 6360 if (ndx == 0 || ndx == 1) 6361 p = "int"; 6362 break; 6363 /* linux_add_key */ 6364 case 217: 6365 /* linux_request_key */ 6366 case 218: 6367 /* linux_keyctl */ 6368 case 219: 6369 /* linux_clone */ 6370 case 220: 6371 if (ndx == 0 || ndx == 1) 6372 p = "int"; 6373 break; 6374 /* linux_execve */ 6375 case 221: 6376 if (ndx == 0 || ndx == 1) 6377 p = "int"; 6378 break; 6379 /* linux_mmap2 */ 6380 case 222: 6381 if (ndx == 0 || ndx == 1) 6382 p = "int"; 6383 break; 6384 /* linux_fadvise64 */ 6385 case 223: 6386 if (ndx == 0 || ndx == 1) 6387 p = "int"; 6388 break; 6389 /* swapon */ 6390 case 224: 6391 if (ndx == 0 || ndx == 1) 6392 p = "int"; 6393 break; 6394 /* linux_swapoff */ 6395 case 225: 6396 /* linux_mprotect */ 6397 case 226: 6398 if (ndx == 0 || ndx == 1) 6399 p = "int"; 6400 break; 6401 /* linux_msync */ 6402 case 227: 6403 if (ndx == 0 || ndx == 1) 6404 p = "int"; 6405 break; 6406 /* mlock */ 6407 case 228: 6408 if (ndx == 0 || ndx == 1) 6409 p = "int"; 6410 break; 6411 /* munlock */ 6412 case 229: 6413 if (ndx == 0 || ndx == 1) 6414 p = "int"; 6415 break; 6416 /* mlockall */ 6417 case 230: 6418 if (ndx == 0 || ndx == 1) 6419 p = "int"; 6420 break; 6421 /* munlockall */ 6422 case 231: 6423 /* linux_mincore */ 6424 case 232: 6425 if (ndx == 0 || ndx == 1) 6426 p = "int"; 6427 break; 6428 /* madvise */ 6429 case 233: 6430 if (ndx == 0 || ndx == 1) 6431 p = "int"; 6432 break; 6433 /* linux_remap_file_pages */ 6434 case 234: 6435 /* linux_mbind */ 6436 case 235: 6437 /* linux_get_mempolicy */ 6438 case 236: 6439 /* linux_set_mempolicy */ 6440 case 237: 6441 /* linux_migrate_pages */ 6442 case 238: 6443 /* linux_move_pages */ 6444 case 239: 6445 /* linux_rt_tgsigqueueinfo */ 6446 case 240: 6447 if (ndx == 0 || ndx == 1) 6448 p = "int"; 6449 break; 6450 /* linux_perf_event_open */ 6451 case 241: 6452 /* linux_accept4 */ 6453 case 242: 6454 if (ndx == 0 || ndx == 1) 6455 p = "int"; 6456 break; 6457 /* linux_recvmmsg */ 6458 case 243: 6459 if (ndx == 0 || ndx == 1) 6460 p = "int"; 6461 break; 6462 /* linux_wait4 */ 6463 case 260: 6464 if (ndx == 0 || ndx == 1) 6465 p = "int"; 6466 break; 6467 /* linux_prlimit64 */ 6468 case 261: 6469 if (ndx == 0 || ndx == 1) 6470 p = "int"; 6471 break; 6472 /* linux_fanotify_init */ 6473 case 262: 6474 /* linux_fanotify_mark */ 6475 case 263: 6476 /* linux_name_to_handle_at */ 6477 case 264: 6478 /* linux_open_by_handle_at */ 6479 case 265: 6480 /* linux_clock_adjtime */ 6481 case 266: 6482 /* linux_syncfs */ 6483 case 267: 6484 if (ndx == 0 || ndx == 1) 6485 p = "int"; 6486 break; 6487 /* linux_setns */ 6488 case 268: 6489 if (ndx == 0 || ndx == 1) 6490 p = "int"; 6491 break; 6492 /* linux_sendmmsg */ 6493 case 269: 6494 if (ndx == 0 || ndx == 1) 6495 p = "int"; 6496 break; 6497 /* linux_process_vm_readv */ 6498 case 270: 6499 if (ndx == 0 || ndx == 1) 6500 p = "int"; 6501 break; 6502 /* linux_process_vm_writev */ 6503 case 271: 6504 if (ndx == 0 || ndx == 1) 6505 p = "int"; 6506 break; 6507 /* linux_kcmp */ 6508 case 272: 6509 if (ndx == 0 || ndx == 1) 6510 p = "int"; 6511 break; 6512 /* linux_finit_module */ 6513 case 273: 6514 if (ndx == 0 || ndx == 1) 6515 p = "int"; 6516 break; 6517 /* linux_sched_setattr */ 6518 case 274: 6519 if (ndx == 0 || ndx == 1) 6520 p = "int"; 6521 break; 6522 /* linux_sched_getattr */ 6523 case 275: 6524 if (ndx == 0 || ndx == 1) 6525 p = "int"; 6526 break; 6527 /* linux_renameat2 */ 6528 case 276: 6529 if (ndx == 0 || ndx == 1) 6530 p = "int"; 6531 break; 6532 /* linux_seccomp */ 6533 case 277: 6534 if (ndx == 0 || ndx == 1) 6535 p = "int"; 6536 break; 6537 /* linux_getrandom */ 6538 case 278: 6539 if (ndx == 0 || ndx == 1) 6540 p = "int"; 6541 break; 6542 /* linux_memfd_create */ 6543 case 279: 6544 if (ndx == 0 || ndx == 1) 6545 p = "int"; 6546 break; 6547 /* linux_bpf */ 6548 case 280: 6549 if (ndx == 0 || ndx == 1) 6550 p = "int"; 6551 break; 6552 /* linux_execveat */ 6553 case 281: 6554 if (ndx == 0 || ndx == 1) 6555 p = "int"; 6556 break; 6557 /* linux_userfaultfd */ 6558 case 282: 6559 if (ndx == 0 || ndx == 1) 6560 p = "int"; 6561 break; 6562 /* linux_membarrier */ 6563 case 283: 6564 if (ndx == 0 || ndx == 1) 6565 p = "int"; 6566 break; 6567 /* linux_mlock2 */ 6568 case 284: 6569 if (ndx == 0 || ndx == 1) 6570 p = "int"; 6571 break; 6572 /* linux_copy_file_range */ 6573 case 285: 6574 if (ndx == 0 || ndx == 1) 6575 p = "int"; 6576 break; 6577 /* linux_preadv2 */ 6578 case 286: 6579 if (ndx == 0 || ndx == 1) 6580 p = "int"; 6581 break; 6582 /* linux_pwritev2 */ 6583 case 287: 6584 if (ndx == 0 || ndx == 1) 6585 p = "int"; 6586 break; 6587 /* linux_pkey_mprotect */ 6588 case 288: 6589 if (ndx == 0 || ndx == 1) 6590 p = "int"; 6591 break; 6592 /* linux_pkey_alloc */ 6593 case 289: 6594 if (ndx == 0 || ndx == 1) 6595 p = "int"; 6596 break; 6597 /* linux_pkey_free */ 6598 case 290: 6599 if (ndx == 0 || ndx == 1) 6600 p = "int"; 6601 break; 6602 default: 6603 break; 6604 }; 6605 if (p != NULL) 6606 strlcpy(desc, p, descsz); 6607 } 6608