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