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 struct linux_sync_file_range_args *p = params; 1981 iarg[0] = p->fd; /* l_int */ 1982 iarg[1] = p->offset; /* l_loff_t */ 1983 iarg[2] = p->nbytes; /* l_loff_t */ 1984 uarg[3] = p->flags; /* unsigned int */ 1985 *n_args = 4; 1986 break; 1987 } 1988 /* linux_vmsplice */ 1989 case 278: { 1990 *n_args = 0; 1991 break; 1992 } 1993 /* linux_move_pages */ 1994 case 279: { 1995 *n_args = 0; 1996 break; 1997 } 1998 /* linux_utimensat */ 1999 case 280: { 2000 struct linux_utimensat_args *p = params; 2001 iarg[0] = p->dfd; /* l_int */ 2002 uarg[1] = (intptr_t) p->pathname; /* const char * */ 2003 uarg[2] = (intptr_t) p->times; /* const struct l_timespec * */ 2004 iarg[3] = p->flags; /* l_int */ 2005 *n_args = 4; 2006 break; 2007 } 2008 /* linux_epoll_pwait */ 2009 case 281: { 2010 struct linux_epoll_pwait_args *p = params; 2011 iarg[0] = p->epfd; /* l_int */ 2012 uarg[1] = (intptr_t) p->events; /* struct epoll_event * */ 2013 iarg[2] = p->maxevents; /* l_int */ 2014 iarg[3] = p->timeout; /* l_int */ 2015 uarg[4] = (intptr_t) p->mask; /* l_sigset_t * */ 2016 iarg[5] = p->sigsetsize; /* l_size_t */ 2017 *n_args = 6; 2018 break; 2019 } 2020 /* linux_signalfd */ 2021 case 282: { 2022 *n_args = 0; 2023 break; 2024 } 2025 /* linux_timerfd_create */ 2026 case 283: { 2027 struct linux_timerfd_create_args *p = params; 2028 iarg[0] = p->clockid; /* l_int */ 2029 iarg[1] = p->flags; /* l_int */ 2030 *n_args = 2; 2031 break; 2032 } 2033 /* linux_eventfd */ 2034 case 284: { 2035 struct linux_eventfd_args *p = params; 2036 iarg[0] = p->initval; /* l_uint */ 2037 *n_args = 1; 2038 break; 2039 } 2040 /* linux_fallocate */ 2041 case 285: { 2042 struct linux_fallocate_args *p = params; 2043 iarg[0] = p->fd; /* l_int */ 2044 iarg[1] = p->mode; /* l_int */ 2045 iarg[2] = p->offset; /* l_loff_t */ 2046 iarg[3] = p->len; /* l_loff_t */ 2047 *n_args = 4; 2048 break; 2049 } 2050 /* linux_timerfd_settime */ 2051 case 286: { 2052 struct linux_timerfd_settime_args *p = params; 2053 iarg[0] = p->fd; /* l_int */ 2054 iarg[1] = p->flags; /* l_int */ 2055 uarg[2] = (intptr_t) p->new_value; /* const struct l_itimerspec * */ 2056 uarg[3] = (intptr_t) p->old_value; /* struct l_itimerspec * */ 2057 *n_args = 4; 2058 break; 2059 } 2060 /* linux_timerfd_gettime */ 2061 case 287: { 2062 struct linux_timerfd_gettime_args *p = params; 2063 iarg[0] = p->fd; /* l_int */ 2064 uarg[1] = (intptr_t) p->old_value; /* struct l_itimerspec * */ 2065 *n_args = 2; 2066 break; 2067 } 2068 /* linux_accept4 */ 2069 case 288: { 2070 struct linux_accept4_args *p = params; 2071 iarg[0] = p->s; /* l_int */ 2072 iarg[1] = p->addr; /* l_uintptr_t */ 2073 iarg[2] = p->namelen; /* l_uintptr_t */ 2074 iarg[3] = p->flags; /* int */ 2075 *n_args = 4; 2076 break; 2077 } 2078 /* linux_signalfd4 */ 2079 case 289: { 2080 *n_args = 0; 2081 break; 2082 } 2083 /* linux_eventfd2 */ 2084 case 290: { 2085 struct linux_eventfd2_args *p = params; 2086 iarg[0] = p->initval; /* l_uint */ 2087 iarg[1] = p->flags; /* l_int */ 2088 *n_args = 2; 2089 break; 2090 } 2091 /* linux_epoll_create1 */ 2092 case 291: { 2093 struct linux_epoll_create1_args *p = params; 2094 iarg[0] = p->flags; /* l_int */ 2095 *n_args = 1; 2096 break; 2097 } 2098 /* linux_dup3 */ 2099 case 292: { 2100 struct linux_dup3_args *p = params; 2101 iarg[0] = p->oldfd; /* l_int */ 2102 iarg[1] = p->newfd; /* l_int */ 2103 iarg[2] = p->flags; /* l_int */ 2104 *n_args = 3; 2105 break; 2106 } 2107 /* linux_pipe2 */ 2108 case 293: { 2109 struct linux_pipe2_args *p = params; 2110 uarg[0] = (intptr_t) p->pipefds; /* l_int * */ 2111 iarg[1] = p->flags; /* l_int */ 2112 *n_args = 2; 2113 break; 2114 } 2115 /* linux_inotify_init1 */ 2116 case 294: { 2117 struct linux_inotify_init1_args *p = params; 2118 iarg[0] = p->flags; /* l_int */ 2119 *n_args = 1; 2120 break; 2121 } 2122 /* linux_preadv */ 2123 case 295: { 2124 struct linux_preadv_args *p = params; 2125 iarg[0] = p->fd; /* l_ulong */ 2126 uarg[1] = (intptr_t) p->vec; /* struct iovec * */ 2127 iarg[2] = p->vlen; /* l_ulong */ 2128 iarg[3] = p->pos_l; /* l_ulong */ 2129 iarg[4] = p->pos_h; /* l_ulong */ 2130 *n_args = 5; 2131 break; 2132 } 2133 /* linux_pwritev */ 2134 case 296: { 2135 struct linux_pwritev_args *p = params; 2136 iarg[0] = p->fd; /* l_ulong */ 2137 uarg[1] = (intptr_t) p->vec; /* struct iovec * */ 2138 iarg[2] = p->vlen; /* l_ulong */ 2139 iarg[3] = p->pos_l; /* l_ulong */ 2140 iarg[4] = p->pos_h; /* l_ulong */ 2141 *n_args = 5; 2142 break; 2143 } 2144 /* linux_rt_tgsigqueueinfo */ 2145 case 297: { 2146 struct linux_rt_tgsigqueueinfo_args *p = params; 2147 iarg[0] = p->tgid; /* l_pid_t */ 2148 iarg[1] = p->tid; /* l_pid_t */ 2149 iarg[2] = p->sig; /* l_int */ 2150 uarg[3] = (intptr_t) p->uinfo; /* l_siginfo_t * */ 2151 *n_args = 4; 2152 break; 2153 } 2154 /* linux_perf_event_open */ 2155 case 298: { 2156 *n_args = 0; 2157 break; 2158 } 2159 /* linux_recvmmsg */ 2160 case 299: { 2161 struct linux_recvmmsg_args *p = params; 2162 iarg[0] = p->s; /* l_int */ 2163 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */ 2164 iarg[2] = p->vlen; /* l_uint */ 2165 iarg[3] = p->flags; /* l_uint */ 2166 uarg[4] = (intptr_t) p->timeout; /* struct l_timespec * */ 2167 *n_args = 5; 2168 break; 2169 } 2170 /* linux_fanotify_init */ 2171 case 300: { 2172 *n_args = 0; 2173 break; 2174 } 2175 /* linux_fanotify_mark */ 2176 case 301: { 2177 *n_args = 0; 2178 break; 2179 } 2180 /* linux_prlimit64 */ 2181 case 302: { 2182 struct linux_prlimit64_args *p = params; 2183 iarg[0] = p->pid; /* l_pid_t */ 2184 iarg[1] = p->resource; /* l_uint */ 2185 uarg[2] = (intptr_t) p->new; /* struct rlimit * */ 2186 uarg[3] = (intptr_t) p->old; /* struct rlimit * */ 2187 *n_args = 4; 2188 break; 2189 } 2190 /* linux_name_to_handle_at */ 2191 case 303: { 2192 *n_args = 0; 2193 break; 2194 } 2195 /* linux_open_by_handle_at */ 2196 case 304: { 2197 *n_args = 0; 2198 break; 2199 } 2200 /* linux_clock_adjtime */ 2201 case 305: { 2202 *n_args = 0; 2203 break; 2204 } 2205 /* linux_syncfs */ 2206 case 306: { 2207 struct linux_syncfs_args *p = params; 2208 iarg[0] = p->fd; /* l_int */ 2209 *n_args = 1; 2210 break; 2211 } 2212 /* linux_sendmmsg */ 2213 case 307: { 2214 struct linux_sendmmsg_args *p = params; 2215 iarg[0] = p->s; /* l_int */ 2216 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */ 2217 iarg[2] = p->vlen; /* l_uint */ 2218 iarg[3] = p->flags; /* l_uint */ 2219 *n_args = 4; 2220 break; 2221 } 2222 /* linux_setns */ 2223 case 308: { 2224 struct linux_setns_args *p = params; 2225 iarg[0] = p->fd; /* l_int */ 2226 iarg[1] = p->nstype; /* l_int */ 2227 *n_args = 2; 2228 break; 2229 } 2230 /* linux_getcpu */ 2231 case 309: { 2232 struct linux_getcpu_args *p = params; 2233 uarg[0] = (intptr_t) p->cpu; /* l_uint * */ 2234 uarg[1] = (intptr_t) p->node; /* l_uint * */ 2235 uarg[2] = (intptr_t) p->cache; /* void * */ 2236 *n_args = 3; 2237 break; 2238 } 2239 /* linux_process_vm_readv */ 2240 case 310: { 2241 struct linux_process_vm_readv_args *p = params; 2242 iarg[0] = p->pid; /* l_pid_t */ 2243 uarg[1] = (intptr_t) p->lvec; /* const struct iovec * */ 2244 iarg[2] = p->liovcnt; /* l_ulong */ 2245 uarg[3] = (intptr_t) p->rvec; /* const struct iovec * */ 2246 iarg[4] = p->riovcnt; /* l_ulong */ 2247 iarg[5] = p->flags; /* l_ulong */ 2248 *n_args = 6; 2249 break; 2250 } 2251 /* linux_process_vm_writev */ 2252 case 311: { 2253 struct linux_process_vm_writev_args *p = params; 2254 iarg[0] = p->pid; /* l_pid_t */ 2255 uarg[1] = (intptr_t) p->lvec; /* const struct iovec * */ 2256 iarg[2] = p->liovcnt; /* l_ulong */ 2257 uarg[3] = (intptr_t) p->rvec; /* const struct iovec * */ 2258 iarg[4] = p->riovcnt; /* l_ulong */ 2259 iarg[5] = p->flags; /* l_ulong */ 2260 *n_args = 6; 2261 break; 2262 } 2263 /* linux_kcmp */ 2264 case 312: { 2265 struct linux_kcmp_args *p = params; 2266 iarg[0] = p->pid1; /* l_pid_t */ 2267 iarg[1] = p->pid2; /* l_pid_t */ 2268 iarg[2] = p->type; /* l_int */ 2269 iarg[3] = p->idx1; /* l_ulong */ 2270 iarg[4] = p->idx; /* l_ulong */ 2271 *n_args = 5; 2272 break; 2273 } 2274 /* linux_finit_module */ 2275 case 313: { 2276 struct linux_finit_module_args *p = params; 2277 iarg[0] = p->fd; /* l_int */ 2278 uarg[1] = (intptr_t) p->uargs; /* const char * */ 2279 iarg[2] = p->flags; /* l_int */ 2280 *n_args = 3; 2281 break; 2282 } 2283 /* linux_sched_setattr */ 2284 case 314: { 2285 struct linux_sched_setattr_args *p = params; 2286 iarg[0] = p->pid; /* l_pid_t */ 2287 uarg[1] = (intptr_t) p->attr; /* void * */ 2288 iarg[2] = p->flags; /* l_uint */ 2289 *n_args = 3; 2290 break; 2291 } 2292 /* linux_sched_getattr */ 2293 case 315: { 2294 struct linux_sched_getattr_args *p = params; 2295 iarg[0] = p->pid; /* l_pid_t */ 2296 uarg[1] = (intptr_t) p->attr; /* void * */ 2297 iarg[2] = p->size; /* l_uint */ 2298 iarg[3] = p->flags; /* l_uint */ 2299 *n_args = 4; 2300 break; 2301 } 2302 /* linux_renameat2 */ 2303 case 316: { 2304 struct linux_renameat2_args *p = params; 2305 iarg[0] = p->olddfd; /* l_int */ 2306 uarg[1] = (intptr_t) p->oldname; /* const char * */ 2307 iarg[2] = p->newdfd; /* l_int */ 2308 uarg[3] = (intptr_t) p->newname; /* const char * */ 2309 uarg[4] = p->flags; /* unsigned int */ 2310 *n_args = 5; 2311 break; 2312 } 2313 /* linux_seccomp */ 2314 case 317: { 2315 struct linux_seccomp_args *p = params; 2316 iarg[0] = p->op; /* l_uint */ 2317 iarg[1] = p->flags; /* l_uint */ 2318 uarg[2] = (intptr_t) p->uargs; /* const char * */ 2319 *n_args = 3; 2320 break; 2321 } 2322 /* linux_getrandom */ 2323 case 318: { 2324 struct linux_getrandom_args *p = params; 2325 uarg[0] = (intptr_t) p->buf; /* char * */ 2326 iarg[1] = p->count; /* l_size_t */ 2327 iarg[2] = p->flags; /* l_uint */ 2328 *n_args = 3; 2329 break; 2330 } 2331 /* linux_memfd_create */ 2332 case 319: { 2333 struct linux_memfd_create_args *p = params; 2334 uarg[0] = (intptr_t) p->uname_ptr; /* const char * */ 2335 iarg[1] = p->flags; /* l_uint */ 2336 *n_args = 2; 2337 break; 2338 } 2339 /* linux_kexec_file_load */ 2340 case 320: { 2341 struct linux_kexec_file_load_args *p = params; 2342 iarg[0] = p->kernel_fd; /* l_int */ 2343 iarg[1] = p->initrd_fd; /* l_int */ 2344 iarg[2] = p->cmdline_len; /* l_ulong */ 2345 uarg[3] = (intptr_t) p->cmdline_ptr; /* const char * */ 2346 iarg[4] = p->flags; /* l_ulong */ 2347 *n_args = 5; 2348 break; 2349 } 2350 /* linux_bpf */ 2351 case 321: { 2352 struct linux_bpf_args *p = params; 2353 iarg[0] = p->cmd; /* l_int */ 2354 uarg[1] = (intptr_t) p->attr; /* void * */ 2355 iarg[2] = p->size; /* l_uint */ 2356 *n_args = 3; 2357 break; 2358 } 2359 /* linux_execveat */ 2360 case 322: { 2361 struct linux_execveat_args *p = params; 2362 iarg[0] = p->dfd; /* l_int */ 2363 uarg[1] = (intptr_t) p->filename; /* const char * */ 2364 uarg[2] = (intptr_t) p->argv; /* const char ** */ 2365 uarg[3] = (intptr_t) p->envp; /* const char ** */ 2366 iarg[4] = p->flags; /* l_int */ 2367 *n_args = 5; 2368 break; 2369 } 2370 /* linux_userfaultfd */ 2371 case 323: { 2372 struct linux_userfaultfd_args *p = params; 2373 iarg[0] = p->flags; /* l_int */ 2374 *n_args = 1; 2375 break; 2376 } 2377 /* linux_membarrier */ 2378 case 324: { 2379 struct linux_membarrier_args *p = params; 2380 iarg[0] = p->cmd; /* l_int */ 2381 iarg[1] = p->flags; /* l_int */ 2382 *n_args = 2; 2383 break; 2384 } 2385 /* linux_mlock2 */ 2386 case 325: { 2387 struct linux_mlock2_args *p = params; 2388 iarg[0] = p->start; /* l_ulong */ 2389 iarg[1] = p->len; /* l_size_t */ 2390 iarg[2] = p->flags; /* l_int */ 2391 *n_args = 3; 2392 break; 2393 } 2394 /* linux_copy_file_range */ 2395 case 326: { 2396 struct linux_copy_file_range_args *p = params; 2397 iarg[0] = p->fd_in; /* l_int */ 2398 uarg[1] = (intptr_t) p->off_in; /* l_loff_t * */ 2399 iarg[2] = p->fd_out; /* l_int */ 2400 uarg[3] = (intptr_t) p->off_out; /* l_loff_t * */ 2401 iarg[4] = p->len; /* l_size_t */ 2402 iarg[5] = p->flags; /* l_uint */ 2403 *n_args = 6; 2404 break; 2405 } 2406 /* linux_preadv2 */ 2407 case 327: { 2408 struct linux_preadv2_args *p = params; 2409 iarg[0] = p->fd; /* l_ulong */ 2410 uarg[1] = (intptr_t) p->vec; /* const struct iovec * */ 2411 iarg[2] = p->vlen; /* l_ulong */ 2412 iarg[3] = p->pos_l; /* l_ulong */ 2413 iarg[4] = p->pos_h; /* l_ulong */ 2414 iarg[5] = p->flags; /* l_int */ 2415 *n_args = 6; 2416 break; 2417 } 2418 /* linux_pwritev2 */ 2419 case 328: { 2420 struct linux_pwritev2_args *p = params; 2421 iarg[0] = p->fd; /* l_ulong */ 2422 uarg[1] = (intptr_t) p->vec; /* const struct iovec * */ 2423 iarg[2] = p->vlen; /* l_ulong */ 2424 iarg[3] = p->pos_l; /* l_ulong */ 2425 iarg[4] = p->pos_h; /* l_ulong */ 2426 iarg[5] = p->flags; /* l_int */ 2427 *n_args = 6; 2428 break; 2429 } 2430 /* linux_pkey_mprotect */ 2431 case 329: { 2432 struct linux_pkey_mprotect_args *p = params; 2433 iarg[0] = p->start; /* l_ulong */ 2434 iarg[1] = p->len; /* l_size_t */ 2435 iarg[2] = p->prot; /* l_ulong */ 2436 iarg[3] = p->pkey; /* l_int */ 2437 *n_args = 4; 2438 break; 2439 } 2440 /* linux_pkey_alloc */ 2441 case 330: { 2442 struct linux_pkey_alloc_args *p = params; 2443 iarg[0] = p->flags; /* l_ulong */ 2444 iarg[1] = p->init_val; /* l_ulong */ 2445 *n_args = 2; 2446 break; 2447 } 2448 /* linux_pkey_free */ 2449 case 331: { 2450 struct linux_pkey_free_args *p = params; 2451 iarg[0] = p->pkey; /* l_int */ 2452 *n_args = 1; 2453 break; 2454 } 2455 /* linux_statx */ 2456 case 332: { 2457 struct linux_statx_args *p = params; 2458 iarg[0] = p->dirfd; /* l_int */ 2459 uarg[1] = (intptr_t) p->pathname; /* const char * */ 2460 iarg[2] = p->flags; /* l_uint */ 2461 iarg[3] = p->mask; /* l_uint */ 2462 uarg[4] = (intptr_t) p->statxbuf; /* void * */ 2463 *n_args = 5; 2464 break; 2465 } 2466 /* linux_io_pgetevents */ 2467 case 333: { 2468 *n_args = 0; 2469 break; 2470 } 2471 /* linux_rseq */ 2472 case 334: { 2473 *n_args = 0; 2474 break; 2475 } 2476 /* linux_pidfd_send_signal */ 2477 case 424: { 2478 struct linux_pidfd_send_signal_args *p = params; 2479 iarg[0] = p->pidfd; /* l_int */ 2480 iarg[1] = p->sig; /* l_int */ 2481 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */ 2482 iarg[3] = p->flags; /* l_uint */ 2483 *n_args = 4; 2484 break; 2485 } 2486 /* linux_io_uring_setup */ 2487 case 425: { 2488 *n_args = 0; 2489 break; 2490 } 2491 /* linux_io_uring_enter */ 2492 case 426: { 2493 *n_args = 0; 2494 break; 2495 } 2496 /* linux_io_uring_register */ 2497 case 427: { 2498 *n_args = 0; 2499 break; 2500 } 2501 default: 2502 *n_args = 0; 2503 break; 2504 }; 2505 } 2506 static void 2507 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) 2508 { 2509 const char *p = NULL; 2510 switch (sysnum) { 2511 #define nosys linux_nosys 2512 /* read */ 2513 case 0: 2514 switch(ndx) { 2515 case 0: 2516 p = "int"; 2517 break; 2518 case 1: 2519 p = "userland char *"; 2520 break; 2521 case 2: 2522 p = "u_int"; 2523 break; 2524 default: 2525 break; 2526 }; 2527 break; 2528 /* write */ 2529 case 1: 2530 switch(ndx) { 2531 case 0: 2532 p = "int"; 2533 break; 2534 case 1: 2535 p = "userland char *"; 2536 break; 2537 case 2: 2538 p = "u_int"; 2539 break; 2540 default: 2541 break; 2542 }; 2543 break; 2544 /* linux_open */ 2545 case 2: 2546 switch(ndx) { 2547 case 0: 2548 p = "userland char *"; 2549 break; 2550 case 1: 2551 p = "l_int"; 2552 break; 2553 case 2: 2554 p = "l_int"; 2555 break; 2556 default: 2557 break; 2558 }; 2559 break; 2560 /* close */ 2561 case 3: 2562 switch(ndx) { 2563 case 0: 2564 p = "int"; 2565 break; 2566 default: 2567 break; 2568 }; 2569 break; 2570 /* linux_newstat */ 2571 case 4: 2572 switch(ndx) { 2573 case 0: 2574 p = "userland char *"; 2575 break; 2576 case 1: 2577 p = "userland struct l_newstat *"; 2578 break; 2579 default: 2580 break; 2581 }; 2582 break; 2583 /* linux_newfstat */ 2584 case 5: 2585 switch(ndx) { 2586 case 0: 2587 p = "l_uint"; 2588 break; 2589 case 1: 2590 p = "userland struct l_newstat *"; 2591 break; 2592 default: 2593 break; 2594 }; 2595 break; 2596 /* linux_newlstat */ 2597 case 6: 2598 switch(ndx) { 2599 case 0: 2600 p = "userland char *"; 2601 break; 2602 case 1: 2603 p = "userland struct l_newstat *"; 2604 break; 2605 default: 2606 break; 2607 }; 2608 break; 2609 /* poll */ 2610 case 7: 2611 switch(ndx) { 2612 case 0: 2613 p = "userland struct pollfd *"; 2614 break; 2615 case 1: 2616 p = "u_int"; 2617 break; 2618 case 2: 2619 p = "int"; 2620 break; 2621 default: 2622 break; 2623 }; 2624 break; 2625 /* linux_lseek */ 2626 case 8: 2627 switch(ndx) { 2628 case 0: 2629 p = "l_uint"; 2630 break; 2631 case 1: 2632 p = "l_off_t"; 2633 break; 2634 case 2: 2635 p = "l_int"; 2636 break; 2637 default: 2638 break; 2639 }; 2640 break; 2641 /* linux_mmap2 */ 2642 case 9: 2643 switch(ndx) { 2644 case 0: 2645 p = "l_ulong"; 2646 break; 2647 case 1: 2648 p = "l_ulong"; 2649 break; 2650 case 2: 2651 p = "l_ulong"; 2652 break; 2653 case 3: 2654 p = "l_ulong"; 2655 break; 2656 case 4: 2657 p = "l_ulong"; 2658 break; 2659 case 5: 2660 p = "l_ulong"; 2661 break; 2662 default: 2663 break; 2664 }; 2665 break; 2666 /* linux_mprotect */ 2667 case 10: 2668 switch(ndx) { 2669 case 0: 2670 p = "caddr_t"; 2671 break; 2672 case 1: 2673 p = "l_int"; 2674 break; 2675 case 2: 2676 p = "l_int"; 2677 break; 2678 default: 2679 break; 2680 }; 2681 break; 2682 /* munmap */ 2683 case 11: 2684 switch(ndx) { 2685 case 0: 2686 p = "caddr_t"; 2687 break; 2688 case 1: 2689 p = "int"; 2690 break; 2691 default: 2692 break; 2693 }; 2694 break; 2695 /* linux_brk */ 2696 case 12: 2697 switch(ndx) { 2698 case 0: 2699 p = "l_ulong"; 2700 break; 2701 default: 2702 break; 2703 }; 2704 break; 2705 /* linux_rt_sigaction */ 2706 case 13: 2707 switch(ndx) { 2708 case 0: 2709 p = "l_int"; 2710 break; 2711 case 1: 2712 p = "userland l_sigaction_t *"; 2713 break; 2714 case 2: 2715 p = "userland l_sigaction_t *"; 2716 break; 2717 case 3: 2718 p = "l_size_t"; 2719 break; 2720 default: 2721 break; 2722 }; 2723 break; 2724 /* linux_rt_sigprocmask */ 2725 case 14: 2726 switch(ndx) { 2727 case 0: 2728 p = "l_int"; 2729 break; 2730 case 1: 2731 p = "userland l_sigset_t *"; 2732 break; 2733 case 2: 2734 p = "userland l_sigset_t *"; 2735 break; 2736 case 3: 2737 p = "l_size_t"; 2738 break; 2739 default: 2740 break; 2741 }; 2742 break; 2743 /* linux_rt_sigreturn */ 2744 case 15: 2745 switch(ndx) { 2746 case 0: 2747 p = "userland struct l_ucontext *"; 2748 break; 2749 default: 2750 break; 2751 }; 2752 break; 2753 /* linux_ioctl */ 2754 case 16: 2755 switch(ndx) { 2756 case 0: 2757 p = "l_uint"; 2758 break; 2759 case 1: 2760 p = "l_uint"; 2761 break; 2762 case 2: 2763 p = "uintptr_t"; 2764 break; 2765 default: 2766 break; 2767 }; 2768 break; 2769 /* linux_pread */ 2770 case 17: 2771 switch(ndx) { 2772 case 0: 2773 p = "l_uint"; 2774 break; 2775 case 1: 2776 p = "userland char *"; 2777 break; 2778 case 2: 2779 p = "l_size_t"; 2780 break; 2781 case 3: 2782 p = "l_loff_t"; 2783 break; 2784 default: 2785 break; 2786 }; 2787 break; 2788 /* linux_pwrite */ 2789 case 18: 2790 switch(ndx) { 2791 case 0: 2792 p = "l_uint"; 2793 break; 2794 case 1: 2795 p = "userland char *"; 2796 break; 2797 case 2: 2798 p = "l_size_t"; 2799 break; 2800 case 3: 2801 p = "l_loff_t"; 2802 break; 2803 default: 2804 break; 2805 }; 2806 break; 2807 /* readv */ 2808 case 19: 2809 switch(ndx) { 2810 case 0: 2811 p = "int"; 2812 break; 2813 case 1: 2814 p = "userland struct iovec *"; 2815 break; 2816 case 2: 2817 p = "u_int"; 2818 break; 2819 default: 2820 break; 2821 }; 2822 break; 2823 /* writev */ 2824 case 20: 2825 switch(ndx) { 2826 case 0: 2827 p = "int"; 2828 break; 2829 case 1: 2830 p = "userland struct iovec *"; 2831 break; 2832 case 2: 2833 p = "u_int"; 2834 break; 2835 default: 2836 break; 2837 }; 2838 break; 2839 /* linux_access */ 2840 case 21: 2841 switch(ndx) { 2842 case 0: 2843 p = "userland char *"; 2844 break; 2845 case 1: 2846 p = "l_int"; 2847 break; 2848 default: 2849 break; 2850 }; 2851 break; 2852 /* linux_pipe */ 2853 case 22: 2854 switch(ndx) { 2855 case 0: 2856 p = "userland l_ulong *"; 2857 break; 2858 default: 2859 break; 2860 }; 2861 break; 2862 /* linux_select */ 2863 case 23: 2864 switch(ndx) { 2865 case 0: 2866 p = "l_int"; 2867 break; 2868 case 1: 2869 p = "userland l_fd_set *"; 2870 break; 2871 case 2: 2872 p = "userland l_fd_set *"; 2873 break; 2874 case 3: 2875 p = "userland l_fd_set *"; 2876 break; 2877 case 4: 2878 p = "userland struct l_timeval *"; 2879 break; 2880 default: 2881 break; 2882 }; 2883 break; 2884 /* sched_yield */ 2885 case 24: 2886 break; 2887 /* linux_mremap */ 2888 case 25: 2889 switch(ndx) { 2890 case 0: 2891 p = "l_ulong"; 2892 break; 2893 case 1: 2894 p = "l_ulong"; 2895 break; 2896 case 2: 2897 p = "l_ulong"; 2898 break; 2899 case 3: 2900 p = "l_ulong"; 2901 break; 2902 case 4: 2903 p = "l_ulong"; 2904 break; 2905 default: 2906 break; 2907 }; 2908 break; 2909 /* linux_msync */ 2910 case 26: 2911 switch(ndx) { 2912 case 0: 2913 p = "l_ulong"; 2914 break; 2915 case 1: 2916 p = "l_size_t"; 2917 break; 2918 case 2: 2919 p = "l_int"; 2920 break; 2921 default: 2922 break; 2923 }; 2924 break; 2925 /* linux_mincore */ 2926 case 27: 2927 switch(ndx) { 2928 case 0: 2929 p = "l_ulong"; 2930 break; 2931 case 1: 2932 p = "l_size_t"; 2933 break; 2934 case 2: 2935 p = "userland u_char *"; 2936 break; 2937 default: 2938 break; 2939 }; 2940 break; 2941 /* madvise */ 2942 case 28: 2943 switch(ndx) { 2944 case 0: 2945 p = "userland void *"; 2946 break; 2947 case 1: 2948 p = "size_t"; 2949 break; 2950 case 2: 2951 p = "int"; 2952 break; 2953 default: 2954 break; 2955 }; 2956 break; 2957 /* linux_shmget */ 2958 case 29: 2959 switch(ndx) { 2960 case 0: 2961 p = "l_key_t"; 2962 break; 2963 case 1: 2964 p = "l_size_t"; 2965 break; 2966 case 2: 2967 p = "l_int"; 2968 break; 2969 default: 2970 break; 2971 }; 2972 break; 2973 /* linux_shmat */ 2974 case 30: 2975 switch(ndx) { 2976 case 0: 2977 p = "l_int"; 2978 break; 2979 case 1: 2980 p = "userland char *"; 2981 break; 2982 case 2: 2983 p = "l_int"; 2984 break; 2985 default: 2986 break; 2987 }; 2988 break; 2989 /* linux_shmctl */ 2990 case 31: 2991 switch(ndx) { 2992 case 0: 2993 p = "l_int"; 2994 break; 2995 case 1: 2996 p = "l_int"; 2997 break; 2998 case 2: 2999 p = "userland struct l_shmid_ds *"; 3000 break; 3001 default: 3002 break; 3003 }; 3004 break; 3005 /* dup */ 3006 case 32: 3007 switch(ndx) { 3008 case 0: 3009 p = "u_int"; 3010 break; 3011 default: 3012 break; 3013 }; 3014 break; 3015 /* dup2 */ 3016 case 33: 3017 switch(ndx) { 3018 case 0: 3019 p = "u_int"; 3020 break; 3021 case 1: 3022 p = "u_int"; 3023 break; 3024 default: 3025 break; 3026 }; 3027 break; 3028 /* linux_pause */ 3029 case 34: 3030 break; 3031 /* linux_nanosleep */ 3032 case 35: 3033 switch(ndx) { 3034 case 0: 3035 p = "userland const struct l_timespec *"; 3036 break; 3037 case 1: 3038 p = "userland struct l_timespec *"; 3039 break; 3040 default: 3041 break; 3042 }; 3043 break; 3044 /* linux_getitimer */ 3045 case 36: 3046 switch(ndx) { 3047 case 0: 3048 p = "l_int"; 3049 break; 3050 case 1: 3051 p = "userland struct l_itimerval *"; 3052 break; 3053 default: 3054 break; 3055 }; 3056 break; 3057 /* linux_alarm */ 3058 case 37: 3059 switch(ndx) { 3060 case 0: 3061 p = "l_uint"; 3062 break; 3063 default: 3064 break; 3065 }; 3066 break; 3067 /* linux_setitimer */ 3068 case 38: 3069 switch(ndx) { 3070 case 0: 3071 p = "l_int"; 3072 break; 3073 case 1: 3074 p = "userland struct l_itimerval *"; 3075 break; 3076 case 2: 3077 p = "userland struct l_itimerval *"; 3078 break; 3079 default: 3080 break; 3081 }; 3082 break; 3083 /* linux_getpid */ 3084 case 39: 3085 break; 3086 /* linux_sendfile */ 3087 case 40: 3088 switch(ndx) { 3089 case 0: 3090 p = "l_int"; 3091 break; 3092 case 1: 3093 p = "l_int"; 3094 break; 3095 case 2: 3096 p = "userland l_long *"; 3097 break; 3098 case 3: 3099 p = "l_size_t"; 3100 break; 3101 default: 3102 break; 3103 }; 3104 break; 3105 /* linux_socket */ 3106 case 41: 3107 switch(ndx) { 3108 case 0: 3109 p = "l_int"; 3110 break; 3111 case 1: 3112 p = "l_int"; 3113 break; 3114 case 2: 3115 p = "l_int"; 3116 break; 3117 default: 3118 break; 3119 }; 3120 break; 3121 /* linux_connect */ 3122 case 42: 3123 switch(ndx) { 3124 case 0: 3125 p = "l_int"; 3126 break; 3127 case 1: 3128 p = "l_uintptr_t"; 3129 break; 3130 case 2: 3131 p = "l_int"; 3132 break; 3133 default: 3134 break; 3135 }; 3136 break; 3137 /* linux_accept */ 3138 case 43: 3139 switch(ndx) { 3140 case 0: 3141 p = "l_int"; 3142 break; 3143 case 1: 3144 p = "l_uintptr_t"; 3145 break; 3146 case 2: 3147 p = "l_uintptr_t"; 3148 break; 3149 default: 3150 break; 3151 }; 3152 break; 3153 /* linux_sendto */ 3154 case 44: 3155 switch(ndx) { 3156 case 0: 3157 p = "l_int"; 3158 break; 3159 case 1: 3160 p = "l_uintptr_t"; 3161 break; 3162 case 2: 3163 p = "l_int"; 3164 break; 3165 case 3: 3166 p = "l_int"; 3167 break; 3168 case 4: 3169 p = "l_uintptr_t"; 3170 break; 3171 case 5: 3172 p = "l_int"; 3173 break; 3174 default: 3175 break; 3176 }; 3177 break; 3178 /* linux_recvfrom */ 3179 case 45: 3180 switch(ndx) { 3181 case 0: 3182 p = "l_int"; 3183 break; 3184 case 1: 3185 p = "l_uintptr_t"; 3186 break; 3187 case 2: 3188 p = "l_size_t"; 3189 break; 3190 case 3: 3191 p = "l_int"; 3192 break; 3193 case 4: 3194 p = "l_uintptr_t"; 3195 break; 3196 case 5: 3197 p = "l_uintptr_t"; 3198 break; 3199 default: 3200 break; 3201 }; 3202 break; 3203 /* linux_sendmsg */ 3204 case 46: 3205 switch(ndx) { 3206 case 0: 3207 p = "l_int"; 3208 break; 3209 case 1: 3210 p = "l_uintptr_t"; 3211 break; 3212 case 2: 3213 p = "l_int"; 3214 break; 3215 default: 3216 break; 3217 }; 3218 break; 3219 /* linux_recvmsg */ 3220 case 47: 3221 switch(ndx) { 3222 case 0: 3223 p = "l_int"; 3224 break; 3225 case 1: 3226 p = "l_uintptr_t"; 3227 break; 3228 case 2: 3229 p = "l_int"; 3230 break; 3231 default: 3232 break; 3233 }; 3234 break; 3235 /* linux_shutdown */ 3236 case 48: 3237 switch(ndx) { 3238 case 0: 3239 p = "l_int"; 3240 break; 3241 case 1: 3242 p = "l_int"; 3243 break; 3244 default: 3245 break; 3246 }; 3247 break; 3248 /* linux_bind */ 3249 case 49: 3250 switch(ndx) { 3251 case 0: 3252 p = "l_int"; 3253 break; 3254 case 1: 3255 p = "l_uintptr_t"; 3256 break; 3257 case 2: 3258 p = "l_int"; 3259 break; 3260 default: 3261 break; 3262 }; 3263 break; 3264 /* linux_listen */ 3265 case 50: 3266 switch(ndx) { 3267 case 0: 3268 p = "l_int"; 3269 break; 3270 case 1: 3271 p = "l_int"; 3272 break; 3273 default: 3274 break; 3275 }; 3276 break; 3277 /* linux_getsockname */ 3278 case 51: 3279 switch(ndx) { 3280 case 0: 3281 p = "l_int"; 3282 break; 3283 case 1: 3284 p = "l_uintptr_t"; 3285 break; 3286 case 2: 3287 p = "l_uintptr_t"; 3288 break; 3289 default: 3290 break; 3291 }; 3292 break; 3293 /* linux_getpeername */ 3294 case 52: 3295 switch(ndx) { 3296 case 0: 3297 p = "l_int"; 3298 break; 3299 case 1: 3300 p = "l_uintptr_t"; 3301 break; 3302 case 2: 3303 p = "l_uintptr_t"; 3304 break; 3305 default: 3306 break; 3307 }; 3308 break; 3309 /* linux_socketpair */ 3310 case 53: 3311 switch(ndx) { 3312 case 0: 3313 p = "l_int"; 3314 break; 3315 case 1: 3316 p = "l_int"; 3317 break; 3318 case 2: 3319 p = "l_int"; 3320 break; 3321 case 3: 3322 p = "l_uintptr_t"; 3323 break; 3324 default: 3325 break; 3326 }; 3327 break; 3328 /* linux_setsockopt */ 3329 case 54: 3330 switch(ndx) { 3331 case 0: 3332 p = "l_int"; 3333 break; 3334 case 1: 3335 p = "l_int"; 3336 break; 3337 case 2: 3338 p = "l_int"; 3339 break; 3340 case 3: 3341 p = "l_uintptr_t"; 3342 break; 3343 case 4: 3344 p = "l_int"; 3345 break; 3346 default: 3347 break; 3348 }; 3349 break; 3350 /* linux_getsockopt */ 3351 case 55: 3352 switch(ndx) { 3353 case 0: 3354 p = "l_int"; 3355 break; 3356 case 1: 3357 p = "l_int"; 3358 break; 3359 case 2: 3360 p = "l_int"; 3361 break; 3362 case 3: 3363 p = "l_uintptr_t"; 3364 break; 3365 case 4: 3366 p = "l_uintptr_t"; 3367 break; 3368 default: 3369 break; 3370 }; 3371 break; 3372 /* linux_clone */ 3373 case 56: 3374 switch(ndx) { 3375 case 0: 3376 p = "l_int"; 3377 break; 3378 case 1: 3379 p = "userland void *"; 3380 break; 3381 case 2: 3382 p = "userland void *"; 3383 break; 3384 case 3: 3385 p = "userland void *"; 3386 break; 3387 case 4: 3388 p = "userland void *"; 3389 break; 3390 default: 3391 break; 3392 }; 3393 break; 3394 /* linux_fork */ 3395 case 57: 3396 break; 3397 /* linux_vfork */ 3398 case 58: 3399 break; 3400 /* linux_execve */ 3401 case 59: 3402 switch(ndx) { 3403 case 0: 3404 p = "userland char *"; 3405 break; 3406 case 1: 3407 p = "userland char **"; 3408 break; 3409 case 2: 3410 p = "userland char **"; 3411 break; 3412 default: 3413 break; 3414 }; 3415 break; 3416 /* linux_exit */ 3417 case 60: 3418 switch(ndx) { 3419 case 0: 3420 p = "l_int"; 3421 break; 3422 default: 3423 break; 3424 }; 3425 break; 3426 /* linux_wait4 */ 3427 case 61: 3428 switch(ndx) { 3429 case 0: 3430 p = "l_pid_t"; 3431 break; 3432 case 1: 3433 p = "userland l_int *"; 3434 break; 3435 case 2: 3436 p = "l_int"; 3437 break; 3438 case 3: 3439 p = "userland struct rusage *"; 3440 break; 3441 default: 3442 break; 3443 }; 3444 break; 3445 /* linux_kill */ 3446 case 62: 3447 switch(ndx) { 3448 case 0: 3449 p = "l_int"; 3450 break; 3451 case 1: 3452 p = "l_int"; 3453 break; 3454 default: 3455 break; 3456 }; 3457 break; 3458 /* linux_newuname */ 3459 case 63: 3460 switch(ndx) { 3461 case 0: 3462 p = "userland struct l_new_utsname *"; 3463 break; 3464 default: 3465 break; 3466 }; 3467 break; 3468 /* linux_semget */ 3469 case 64: 3470 switch(ndx) { 3471 case 0: 3472 p = "l_key_t"; 3473 break; 3474 case 1: 3475 p = "l_int"; 3476 break; 3477 case 2: 3478 p = "l_int"; 3479 break; 3480 default: 3481 break; 3482 }; 3483 break; 3484 /* linux_semop */ 3485 case 65: 3486 switch(ndx) { 3487 case 0: 3488 p = "l_int"; 3489 break; 3490 case 1: 3491 p = "userland struct l_sembuf *"; 3492 break; 3493 case 2: 3494 p = "l_uint"; 3495 break; 3496 default: 3497 break; 3498 }; 3499 break; 3500 /* linux_semctl */ 3501 case 66: 3502 switch(ndx) { 3503 case 0: 3504 p = "l_int"; 3505 break; 3506 case 1: 3507 p = "l_int"; 3508 break; 3509 case 2: 3510 p = "l_int"; 3511 break; 3512 case 3: 3513 p = "union l_semun"; 3514 break; 3515 default: 3516 break; 3517 }; 3518 break; 3519 /* linux_shmdt */ 3520 case 67: 3521 switch(ndx) { 3522 case 0: 3523 p = "userland char *"; 3524 break; 3525 default: 3526 break; 3527 }; 3528 break; 3529 /* linux_msgget */ 3530 case 68: 3531 switch(ndx) { 3532 case 0: 3533 p = "l_key_t"; 3534 break; 3535 case 1: 3536 p = "l_int"; 3537 break; 3538 default: 3539 break; 3540 }; 3541 break; 3542 /* linux_msgsnd */ 3543 case 69: 3544 switch(ndx) { 3545 case 0: 3546 p = "l_int"; 3547 break; 3548 case 1: 3549 p = "userland struct l_msgbuf *"; 3550 break; 3551 case 2: 3552 p = "l_size_t"; 3553 break; 3554 case 3: 3555 p = "l_int"; 3556 break; 3557 default: 3558 break; 3559 }; 3560 break; 3561 /* linux_msgrcv */ 3562 case 70: 3563 switch(ndx) { 3564 case 0: 3565 p = "l_int"; 3566 break; 3567 case 1: 3568 p = "userland struct l_msgbuf *"; 3569 break; 3570 case 2: 3571 p = "l_size_t"; 3572 break; 3573 case 3: 3574 p = "l_long"; 3575 break; 3576 case 4: 3577 p = "l_int"; 3578 break; 3579 default: 3580 break; 3581 }; 3582 break; 3583 /* linux_msgctl */ 3584 case 71: 3585 switch(ndx) { 3586 case 0: 3587 p = "l_int"; 3588 break; 3589 case 1: 3590 p = "l_int"; 3591 break; 3592 case 2: 3593 p = "userland struct l_msqid_ds *"; 3594 break; 3595 default: 3596 break; 3597 }; 3598 break; 3599 /* linux_fcntl */ 3600 case 72: 3601 switch(ndx) { 3602 case 0: 3603 p = "l_uint"; 3604 break; 3605 case 1: 3606 p = "l_uint"; 3607 break; 3608 case 2: 3609 p = "l_ulong"; 3610 break; 3611 default: 3612 break; 3613 }; 3614 break; 3615 /* flock */ 3616 case 73: 3617 switch(ndx) { 3618 case 0: 3619 p = "int"; 3620 break; 3621 case 1: 3622 p = "int"; 3623 break; 3624 default: 3625 break; 3626 }; 3627 break; 3628 /* fsync */ 3629 case 74: 3630 switch(ndx) { 3631 case 0: 3632 p = "int"; 3633 break; 3634 default: 3635 break; 3636 }; 3637 break; 3638 /* linux_fdatasync */ 3639 case 75: 3640 switch(ndx) { 3641 case 0: 3642 p = "l_uint"; 3643 break; 3644 default: 3645 break; 3646 }; 3647 break; 3648 /* linux_truncate */ 3649 case 76: 3650 switch(ndx) { 3651 case 0: 3652 p = "userland char *"; 3653 break; 3654 case 1: 3655 p = "l_ulong"; 3656 break; 3657 default: 3658 break; 3659 }; 3660 break; 3661 /* linux_ftruncate */ 3662 case 77: 3663 switch(ndx) { 3664 case 0: 3665 p = "l_int"; 3666 break; 3667 case 1: 3668 p = "l_long"; 3669 break; 3670 default: 3671 break; 3672 }; 3673 break; 3674 /* linux_getdents */ 3675 case 78: 3676 switch(ndx) { 3677 case 0: 3678 p = "l_uint"; 3679 break; 3680 case 1: 3681 p = "userland void *"; 3682 break; 3683 case 2: 3684 p = "l_uint"; 3685 break; 3686 default: 3687 break; 3688 }; 3689 break; 3690 /* linux_getcwd */ 3691 case 79: 3692 switch(ndx) { 3693 case 0: 3694 p = "userland char *"; 3695 break; 3696 case 1: 3697 p = "l_ulong"; 3698 break; 3699 default: 3700 break; 3701 }; 3702 break; 3703 /* linux_chdir */ 3704 case 80: 3705 switch(ndx) { 3706 case 0: 3707 p = "userland char *"; 3708 break; 3709 default: 3710 break; 3711 }; 3712 break; 3713 /* fchdir */ 3714 case 81: 3715 switch(ndx) { 3716 case 0: 3717 p = "int"; 3718 break; 3719 default: 3720 break; 3721 }; 3722 break; 3723 /* linux_rename */ 3724 case 82: 3725 switch(ndx) { 3726 case 0: 3727 p = "userland char *"; 3728 break; 3729 case 1: 3730 p = "userland char *"; 3731 break; 3732 default: 3733 break; 3734 }; 3735 break; 3736 /* linux_mkdir */ 3737 case 83: 3738 switch(ndx) { 3739 case 0: 3740 p = "userland char *"; 3741 break; 3742 case 1: 3743 p = "l_int"; 3744 break; 3745 default: 3746 break; 3747 }; 3748 break; 3749 /* linux_rmdir */ 3750 case 84: 3751 switch(ndx) { 3752 case 0: 3753 p = "userland char *"; 3754 break; 3755 default: 3756 break; 3757 }; 3758 break; 3759 /* linux_creat */ 3760 case 85: 3761 switch(ndx) { 3762 case 0: 3763 p = "userland char *"; 3764 break; 3765 case 1: 3766 p = "l_int"; 3767 break; 3768 default: 3769 break; 3770 }; 3771 break; 3772 /* linux_link */ 3773 case 86: 3774 switch(ndx) { 3775 case 0: 3776 p = "userland char *"; 3777 break; 3778 case 1: 3779 p = "userland char *"; 3780 break; 3781 default: 3782 break; 3783 }; 3784 break; 3785 /* linux_unlink */ 3786 case 87: 3787 switch(ndx) { 3788 case 0: 3789 p = "userland char *"; 3790 break; 3791 default: 3792 break; 3793 }; 3794 break; 3795 /* linux_symlink */ 3796 case 88: 3797 switch(ndx) { 3798 case 0: 3799 p = "userland char *"; 3800 break; 3801 case 1: 3802 p = "userland char *"; 3803 break; 3804 default: 3805 break; 3806 }; 3807 break; 3808 /* linux_readlink */ 3809 case 89: 3810 switch(ndx) { 3811 case 0: 3812 p = "userland char *"; 3813 break; 3814 case 1: 3815 p = "userland char *"; 3816 break; 3817 case 2: 3818 p = "l_int"; 3819 break; 3820 default: 3821 break; 3822 }; 3823 break; 3824 /* linux_chmod */ 3825 case 90: 3826 switch(ndx) { 3827 case 0: 3828 p = "userland char *"; 3829 break; 3830 case 1: 3831 p = "l_mode_t"; 3832 break; 3833 default: 3834 break; 3835 }; 3836 break; 3837 /* fchmod */ 3838 case 91: 3839 switch(ndx) { 3840 case 0: 3841 p = "int"; 3842 break; 3843 case 1: 3844 p = "int"; 3845 break; 3846 default: 3847 break; 3848 }; 3849 break; 3850 /* linux_chown */ 3851 case 92: 3852 switch(ndx) { 3853 case 0: 3854 p = "userland char *"; 3855 break; 3856 case 1: 3857 p = "l_uid_t"; 3858 break; 3859 case 2: 3860 p = "l_gid_t"; 3861 break; 3862 default: 3863 break; 3864 }; 3865 break; 3866 /* fchown */ 3867 case 93: 3868 switch(ndx) { 3869 case 0: 3870 p = "int"; 3871 break; 3872 case 1: 3873 p = "int"; 3874 break; 3875 case 2: 3876 p = "int"; 3877 break; 3878 default: 3879 break; 3880 }; 3881 break; 3882 /* linux_lchown */ 3883 case 94: 3884 switch(ndx) { 3885 case 0: 3886 p = "userland char *"; 3887 break; 3888 case 1: 3889 p = "l_uid_t"; 3890 break; 3891 case 2: 3892 p = "l_gid_t"; 3893 break; 3894 default: 3895 break; 3896 }; 3897 break; 3898 /* umask */ 3899 case 95: 3900 switch(ndx) { 3901 case 0: 3902 p = "int"; 3903 break; 3904 default: 3905 break; 3906 }; 3907 break; 3908 /* gettimeofday */ 3909 case 96: 3910 switch(ndx) { 3911 case 0: 3912 p = "userland struct l_timeval *"; 3913 break; 3914 case 1: 3915 p = "userland struct timezone *"; 3916 break; 3917 default: 3918 break; 3919 }; 3920 break; 3921 /* linux_getrlimit */ 3922 case 97: 3923 switch(ndx) { 3924 case 0: 3925 p = "l_uint"; 3926 break; 3927 case 1: 3928 p = "userland struct l_rlimit *"; 3929 break; 3930 default: 3931 break; 3932 }; 3933 break; 3934 /* getrusage */ 3935 case 98: 3936 switch(ndx) { 3937 case 0: 3938 p = "int"; 3939 break; 3940 case 1: 3941 p = "userland struct rusage *"; 3942 break; 3943 default: 3944 break; 3945 }; 3946 break; 3947 /* linux_sysinfo */ 3948 case 99: 3949 switch(ndx) { 3950 case 0: 3951 p = "userland struct l_sysinfo *"; 3952 break; 3953 default: 3954 break; 3955 }; 3956 break; 3957 /* linux_times */ 3958 case 100: 3959 switch(ndx) { 3960 case 0: 3961 p = "userland struct l_times_argv *"; 3962 break; 3963 default: 3964 break; 3965 }; 3966 break; 3967 /* linux_ptrace */ 3968 case 101: 3969 switch(ndx) { 3970 case 0: 3971 p = "l_long"; 3972 break; 3973 case 1: 3974 p = "l_long"; 3975 break; 3976 case 2: 3977 p = "l_ulong"; 3978 break; 3979 case 3: 3980 p = "l_ulong"; 3981 break; 3982 default: 3983 break; 3984 }; 3985 break; 3986 /* linux_getuid */ 3987 case 102: 3988 break; 3989 /* linux_syslog */ 3990 case 103: 3991 switch(ndx) { 3992 case 0: 3993 p = "l_int"; 3994 break; 3995 case 1: 3996 p = "userland char *"; 3997 break; 3998 case 2: 3999 p = "l_int"; 4000 break; 4001 default: 4002 break; 4003 }; 4004 break; 4005 /* linux_getgid */ 4006 case 104: 4007 break; 4008 /* setuid */ 4009 case 105: 4010 switch(ndx) { 4011 case 0: 4012 p = "uid_t"; 4013 break; 4014 default: 4015 break; 4016 }; 4017 break; 4018 /* setgid */ 4019 case 106: 4020 switch(ndx) { 4021 case 0: 4022 p = "gid_t"; 4023 break; 4024 default: 4025 break; 4026 }; 4027 break; 4028 /* geteuid */ 4029 case 107: 4030 break; 4031 /* getegid */ 4032 case 108: 4033 break; 4034 /* setpgid */ 4035 case 109: 4036 switch(ndx) { 4037 case 0: 4038 p = "int"; 4039 break; 4040 case 1: 4041 p = "int"; 4042 break; 4043 default: 4044 break; 4045 }; 4046 break; 4047 /* linux_getppid */ 4048 case 110: 4049 break; 4050 /* getpgrp */ 4051 case 111: 4052 break; 4053 /* setsid */ 4054 case 112: 4055 break; 4056 /* setreuid */ 4057 case 113: 4058 switch(ndx) { 4059 case 0: 4060 p = "uid_t"; 4061 break; 4062 case 1: 4063 p = "uid_t"; 4064 break; 4065 default: 4066 break; 4067 }; 4068 break; 4069 /* setregid */ 4070 case 114: 4071 switch(ndx) { 4072 case 0: 4073 p = "gid_t"; 4074 break; 4075 case 1: 4076 p = "gid_t"; 4077 break; 4078 default: 4079 break; 4080 }; 4081 break; 4082 /* linux_getgroups */ 4083 case 115: 4084 switch(ndx) { 4085 case 0: 4086 p = "l_int"; 4087 break; 4088 case 1: 4089 p = "userland l_gid_t *"; 4090 break; 4091 default: 4092 break; 4093 }; 4094 break; 4095 /* linux_setgroups */ 4096 case 116: 4097 switch(ndx) { 4098 case 0: 4099 p = "l_int"; 4100 break; 4101 case 1: 4102 p = "userland l_gid_t *"; 4103 break; 4104 default: 4105 break; 4106 }; 4107 break; 4108 /* setresuid */ 4109 case 117: 4110 switch(ndx) { 4111 case 0: 4112 p = "uid_t"; 4113 break; 4114 case 1: 4115 p = "uid_t"; 4116 break; 4117 case 2: 4118 p = "uid_t"; 4119 break; 4120 default: 4121 break; 4122 }; 4123 break; 4124 /* getresuid */ 4125 case 118: 4126 switch(ndx) { 4127 case 0: 4128 p = "userland uid_t *"; 4129 break; 4130 case 1: 4131 p = "userland uid_t *"; 4132 break; 4133 case 2: 4134 p = "userland uid_t *"; 4135 break; 4136 default: 4137 break; 4138 }; 4139 break; 4140 /* setresgid */ 4141 case 119: 4142 switch(ndx) { 4143 case 0: 4144 p = "gid_t"; 4145 break; 4146 case 1: 4147 p = "gid_t"; 4148 break; 4149 case 2: 4150 p = "gid_t"; 4151 break; 4152 default: 4153 break; 4154 }; 4155 break; 4156 /* getresgid */ 4157 case 120: 4158 switch(ndx) { 4159 case 0: 4160 p = "userland gid_t *"; 4161 break; 4162 case 1: 4163 p = "userland gid_t *"; 4164 break; 4165 case 2: 4166 p = "userland gid_t *"; 4167 break; 4168 default: 4169 break; 4170 }; 4171 break; 4172 /* getpgid */ 4173 case 121: 4174 switch(ndx) { 4175 case 0: 4176 p = "int"; 4177 break; 4178 default: 4179 break; 4180 }; 4181 break; 4182 /* linux_setfsuid */ 4183 case 122: 4184 switch(ndx) { 4185 case 0: 4186 p = "l_uid_t"; 4187 break; 4188 default: 4189 break; 4190 }; 4191 break; 4192 /* linux_setfsgid */ 4193 case 123: 4194 switch(ndx) { 4195 case 0: 4196 p = "l_gid_t"; 4197 break; 4198 default: 4199 break; 4200 }; 4201 break; 4202 /* linux_getsid */ 4203 case 124: 4204 switch(ndx) { 4205 case 0: 4206 p = "l_pid_t"; 4207 break; 4208 default: 4209 break; 4210 }; 4211 break; 4212 /* linux_capget */ 4213 case 125: 4214 switch(ndx) { 4215 case 0: 4216 p = "userland struct l_user_cap_header *"; 4217 break; 4218 case 1: 4219 p = "userland struct l_user_cap_data *"; 4220 break; 4221 default: 4222 break; 4223 }; 4224 break; 4225 /* linux_capset */ 4226 case 126: 4227 switch(ndx) { 4228 case 0: 4229 p = "userland struct l_user_cap_header *"; 4230 break; 4231 case 1: 4232 p = "userland struct l_user_cap_data *"; 4233 break; 4234 default: 4235 break; 4236 }; 4237 break; 4238 /* linux_rt_sigpending */ 4239 case 127: 4240 switch(ndx) { 4241 case 0: 4242 p = "userland l_sigset_t *"; 4243 break; 4244 case 1: 4245 p = "l_size_t"; 4246 break; 4247 default: 4248 break; 4249 }; 4250 break; 4251 /* linux_rt_sigtimedwait */ 4252 case 128: 4253 switch(ndx) { 4254 case 0: 4255 p = "userland l_sigset_t *"; 4256 break; 4257 case 1: 4258 p = "userland l_siginfo_t *"; 4259 break; 4260 case 2: 4261 p = "userland struct l_timeval *"; 4262 break; 4263 case 3: 4264 p = "l_size_t"; 4265 break; 4266 default: 4267 break; 4268 }; 4269 break; 4270 /* linux_rt_sigqueueinfo */ 4271 case 129: 4272 switch(ndx) { 4273 case 0: 4274 p = "l_pid_t"; 4275 break; 4276 case 1: 4277 p = "l_int"; 4278 break; 4279 case 2: 4280 p = "userland l_siginfo_t *"; 4281 break; 4282 default: 4283 break; 4284 }; 4285 break; 4286 /* linux_rt_sigsuspend */ 4287 case 130: 4288 switch(ndx) { 4289 case 0: 4290 p = "userland l_sigset_t *"; 4291 break; 4292 case 1: 4293 p = "l_size_t"; 4294 break; 4295 default: 4296 break; 4297 }; 4298 break; 4299 /* linux_sigaltstack */ 4300 case 131: 4301 switch(ndx) { 4302 case 0: 4303 p = "userland l_stack_t *"; 4304 break; 4305 case 1: 4306 p = "userland l_stack_t *"; 4307 break; 4308 default: 4309 break; 4310 }; 4311 break; 4312 /* linux_utime */ 4313 case 132: 4314 switch(ndx) { 4315 case 0: 4316 p = "userland char *"; 4317 break; 4318 case 1: 4319 p = "userland struct l_utimbuf *"; 4320 break; 4321 default: 4322 break; 4323 }; 4324 break; 4325 /* linux_mknod */ 4326 case 133: 4327 switch(ndx) { 4328 case 0: 4329 p = "userland char *"; 4330 break; 4331 case 1: 4332 p = "l_int"; 4333 break; 4334 case 2: 4335 p = "l_dev_t"; 4336 break; 4337 default: 4338 break; 4339 }; 4340 break; 4341 /* linux_personality */ 4342 case 135: 4343 switch(ndx) { 4344 case 0: 4345 p = "l_uint"; 4346 break; 4347 default: 4348 break; 4349 }; 4350 break; 4351 /* linux_ustat */ 4352 case 136: 4353 switch(ndx) { 4354 case 0: 4355 p = "l_dev_t"; 4356 break; 4357 case 1: 4358 p = "userland struct l_ustat *"; 4359 break; 4360 default: 4361 break; 4362 }; 4363 break; 4364 /* linux_statfs */ 4365 case 137: 4366 switch(ndx) { 4367 case 0: 4368 p = "userland char *"; 4369 break; 4370 case 1: 4371 p = "userland struct l_statfs_buf *"; 4372 break; 4373 default: 4374 break; 4375 }; 4376 break; 4377 /* linux_fstatfs */ 4378 case 138: 4379 switch(ndx) { 4380 case 0: 4381 p = "l_uint"; 4382 break; 4383 case 1: 4384 p = "userland struct l_statfs_buf *"; 4385 break; 4386 default: 4387 break; 4388 }; 4389 break; 4390 /* linux_sysfs */ 4391 case 139: 4392 switch(ndx) { 4393 case 0: 4394 p = "l_int"; 4395 break; 4396 case 1: 4397 p = "l_ulong"; 4398 break; 4399 case 2: 4400 p = "l_ulong"; 4401 break; 4402 default: 4403 break; 4404 }; 4405 break; 4406 /* linux_getpriority */ 4407 case 140: 4408 switch(ndx) { 4409 case 0: 4410 p = "l_int"; 4411 break; 4412 case 1: 4413 p = "l_int"; 4414 break; 4415 default: 4416 break; 4417 }; 4418 break; 4419 /* setpriority */ 4420 case 141: 4421 switch(ndx) { 4422 case 0: 4423 p = "int"; 4424 break; 4425 case 1: 4426 p = "int"; 4427 break; 4428 case 2: 4429 p = "int"; 4430 break; 4431 default: 4432 break; 4433 }; 4434 break; 4435 /* linux_sched_setparam */ 4436 case 142: 4437 switch(ndx) { 4438 case 0: 4439 p = "l_pid_t"; 4440 break; 4441 case 1: 4442 p = "userland struct sched_param *"; 4443 break; 4444 default: 4445 break; 4446 }; 4447 break; 4448 /* linux_sched_getparam */ 4449 case 143: 4450 switch(ndx) { 4451 case 0: 4452 p = "l_pid_t"; 4453 break; 4454 case 1: 4455 p = "userland struct sched_param *"; 4456 break; 4457 default: 4458 break; 4459 }; 4460 break; 4461 /* linux_sched_setscheduler */ 4462 case 144: 4463 switch(ndx) { 4464 case 0: 4465 p = "l_pid_t"; 4466 break; 4467 case 1: 4468 p = "l_int"; 4469 break; 4470 case 2: 4471 p = "userland struct sched_param *"; 4472 break; 4473 default: 4474 break; 4475 }; 4476 break; 4477 /* linux_sched_getscheduler */ 4478 case 145: 4479 switch(ndx) { 4480 case 0: 4481 p = "l_pid_t"; 4482 break; 4483 default: 4484 break; 4485 }; 4486 break; 4487 /* linux_sched_get_priority_max */ 4488 case 146: 4489 switch(ndx) { 4490 case 0: 4491 p = "l_int"; 4492 break; 4493 default: 4494 break; 4495 }; 4496 break; 4497 /* linux_sched_get_priority_min */ 4498 case 147: 4499 switch(ndx) { 4500 case 0: 4501 p = "l_int"; 4502 break; 4503 default: 4504 break; 4505 }; 4506 break; 4507 /* linux_sched_rr_get_interval */ 4508 case 148: 4509 switch(ndx) { 4510 case 0: 4511 p = "l_pid_t"; 4512 break; 4513 case 1: 4514 p = "userland struct l_timespec *"; 4515 break; 4516 default: 4517 break; 4518 }; 4519 break; 4520 /* mlock */ 4521 case 149: 4522 switch(ndx) { 4523 case 0: 4524 p = "userland const void *"; 4525 break; 4526 case 1: 4527 p = "size_t"; 4528 break; 4529 default: 4530 break; 4531 }; 4532 break; 4533 /* munlock */ 4534 case 150: 4535 switch(ndx) { 4536 case 0: 4537 p = "userland const void *"; 4538 break; 4539 case 1: 4540 p = "size_t"; 4541 break; 4542 default: 4543 break; 4544 }; 4545 break; 4546 /* mlockall */ 4547 case 151: 4548 switch(ndx) { 4549 case 0: 4550 p = "int"; 4551 break; 4552 default: 4553 break; 4554 }; 4555 break; 4556 /* munlockall */ 4557 case 152: 4558 break; 4559 /* linux_vhangup */ 4560 case 153: 4561 break; 4562 /* linux_pivot_root */ 4563 case 155: 4564 break; 4565 /* linux_sysctl */ 4566 case 156: 4567 switch(ndx) { 4568 case 0: 4569 p = "userland struct l___sysctl_args *"; 4570 break; 4571 default: 4572 break; 4573 }; 4574 break; 4575 /* linux_prctl */ 4576 case 157: 4577 switch(ndx) { 4578 case 0: 4579 p = "l_int"; 4580 break; 4581 case 1: 4582 p = "l_uintptr_t"; 4583 break; 4584 case 2: 4585 p = "l_uintptr_t"; 4586 break; 4587 case 3: 4588 p = "l_uintptr_t"; 4589 break; 4590 case 4: 4591 p = "l_uintptr_t"; 4592 break; 4593 default: 4594 break; 4595 }; 4596 break; 4597 /* linux_arch_prctl */ 4598 case 158: 4599 switch(ndx) { 4600 case 0: 4601 p = "l_int"; 4602 break; 4603 case 1: 4604 p = "l_ulong"; 4605 break; 4606 default: 4607 break; 4608 }; 4609 break; 4610 /* linux_adjtimex */ 4611 case 159: 4612 break; 4613 /* linux_setrlimit */ 4614 case 160: 4615 switch(ndx) { 4616 case 0: 4617 p = "l_uint"; 4618 break; 4619 case 1: 4620 p = "userland struct l_rlimit *"; 4621 break; 4622 default: 4623 break; 4624 }; 4625 break; 4626 /* chroot */ 4627 case 161: 4628 switch(ndx) { 4629 case 0: 4630 p = "userland char *"; 4631 break; 4632 default: 4633 break; 4634 }; 4635 break; 4636 /* sync */ 4637 case 162: 4638 break; 4639 /* acct */ 4640 case 163: 4641 switch(ndx) { 4642 case 0: 4643 p = "userland char *"; 4644 break; 4645 default: 4646 break; 4647 }; 4648 break; 4649 /* settimeofday */ 4650 case 164: 4651 switch(ndx) { 4652 case 0: 4653 p = "userland struct l_timeval *"; 4654 break; 4655 case 1: 4656 p = "userland struct timezone *"; 4657 break; 4658 default: 4659 break; 4660 }; 4661 break; 4662 /* linux_mount */ 4663 case 165: 4664 switch(ndx) { 4665 case 0: 4666 p = "userland char *"; 4667 break; 4668 case 1: 4669 p = "userland char *"; 4670 break; 4671 case 2: 4672 p = "userland char *"; 4673 break; 4674 case 3: 4675 p = "l_ulong"; 4676 break; 4677 case 4: 4678 p = "userland void *"; 4679 break; 4680 default: 4681 break; 4682 }; 4683 break; 4684 /* linux_umount */ 4685 case 166: 4686 switch(ndx) { 4687 case 0: 4688 p = "userland char *"; 4689 break; 4690 case 1: 4691 p = "l_int"; 4692 break; 4693 default: 4694 break; 4695 }; 4696 break; 4697 /* swapon */ 4698 case 167: 4699 switch(ndx) { 4700 case 0: 4701 p = "userland char *"; 4702 break; 4703 default: 4704 break; 4705 }; 4706 break; 4707 /* linux_swapoff */ 4708 case 168: 4709 break; 4710 /* linux_reboot */ 4711 case 169: 4712 switch(ndx) { 4713 case 0: 4714 p = "l_int"; 4715 break; 4716 case 1: 4717 p = "l_int"; 4718 break; 4719 case 2: 4720 p = "l_uint"; 4721 break; 4722 case 3: 4723 p = "userland void *"; 4724 break; 4725 default: 4726 break; 4727 }; 4728 break; 4729 /* linux_sethostname */ 4730 case 170: 4731 switch(ndx) { 4732 case 0: 4733 p = "userland char *"; 4734 break; 4735 case 1: 4736 p = "l_uint"; 4737 break; 4738 default: 4739 break; 4740 }; 4741 break; 4742 /* linux_setdomainname */ 4743 case 171: 4744 switch(ndx) { 4745 case 0: 4746 p = "userland char *"; 4747 break; 4748 case 1: 4749 p = "l_int"; 4750 break; 4751 default: 4752 break; 4753 }; 4754 break; 4755 /* linux_iopl */ 4756 case 172: 4757 switch(ndx) { 4758 case 0: 4759 p = "l_uint"; 4760 break; 4761 default: 4762 break; 4763 }; 4764 break; 4765 /* linux_init_module */ 4766 case 175: 4767 break; 4768 /* linux_delete_module */ 4769 case 176: 4770 break; 4771 /* linux_quotactl */ 4772 case 179: 4773 break; 4774 /* linux_gettid */ 4775 case 186: 4776 break; 4777 /* linux_setxattr */ 4778 case 188: 4779 break; 4780 /* linux_lsetxattr */ 4781 case 189: 4782 break; 4783 /* linux_fsetxattr */ 4784 case 190: 4785 break; 4786 /* linux_getxattr */ 4787 case 191: 4788 break; 4789 /* linux_lgetxattr */ 4790 case 192: 4791 break; 4792 /* linux_fgetxattr */ 4793 case 193: 4794 break; 4795 /* linux_listxattr */ 4796 case 194: 4797 break; 4798 /* linux_llistxattr */ 4799 case 195: 4800 break; 4801 /* linux_flistxattr */ 4802 case 196: 4803 break; 4804 /* linux_removexattr */ 4805 case 197: 4806 break; 4807 /* linux_lremovexattr */ 4808 case 198: 4809 break; 4810 /* linux_fremovexattr */ 4811 case 199: 4812 break; 4813 /* linux_tkill */ 4814 case 200: 4815 switch(ndx) { 4816 case 0: 4817 p = "l_int"; 4818 break; 4819 case 1: 4820 p = "l_int"; 4821 break; 4822 default: 4823 break; 4824 }; 4825 break; 4826 /* linux_time */ 4827 case 201: 4828 switch(ndx) { 4829 case 0: 4830 p = "userland l_time_t *"; 4831 break; 4832 default: 4833 break; 4834 }; 4835 break; 4836 /* linux_sys_futex */ 4837 case 202: 4838 switch(ndx) { 4839 case 0: 4840 p = "userland void *"; 4841 break; 4842 case 1: 4843 p = "l_int"; 4844 break; 4845 case 2: 4846 p = "l_int"; 4847 break; 4848 case 3: 4849 p = "userland struct l_timespec *"; 4850 break; 4851 case 4: 4852 p = "userland void *"; 4853 break; 4854 case 5: 4855 p = "l_int"; 4856 break; 4857 default: 4858 break; 4859 }; 4860 break; 4861 /* linux_sched_setaffinity */ 4862 case 203: 4863 switch(ndx) { 4864 case 0: 4865 p = "l_pid_t"; 4866 break; 4867 case 1: 4868 p = "l_uint"; 4869 break; 4870 case 2: 4871 p = "userland l_ulong *"; 4872 break; 4873 default: 4874 break; 4875 }; 4876 break; 4877 /* linux_sched_getaffinity */ 4878 case 204: 4879 switch(ndx) { 4880 case 0: 4881 p = "l_pid_t"; 4882 break; 4883 case 1: 4884 p = "l_uint"; 4885 break; 4886 case 2: 4887 p = "userland l_ulong *"; 4888 break; 4889 default: 4890 break; 4891 }; 4892 break; 4893 /* linux_lookup_dcookie */ 4894 case 212: 4895 break; 4896 /* linux_epoll_create */ 4897 case 213: 4898 switch(ndx) { 4899 case 0: 4900 p = "l_int"; 4901 break; 4902 default: 4903 break; 4904 }; 4905 break; 4906 /* linux_remap_file_pages */ 4907 case 216: 4908 break; 4909 /* linux_getdents64 */ 4910 case 217: 4911 switch(ndx) { 4912 case 0: 4913 p = "l_uint"; 4914 break; 4915 case 1: 4916 p = "userland void *"; 4917 break; 4918 case 2: 4919 p = "l_uint"; 4920 break; 4921 default: 4922 break; 4923 }; 4924 break; 4925 /* linux_set_tid_address */ 4926 case 218: 4927 switch(ndx) { 4928 case 0: 4929 p = "userland l_int *"; 4930 break; 4931 default: 4932 break; 4933 }; 4934 break; 4935 /* linux_semtimedop */ 4936 case 220: 4937 break; 4938 /* linux_fadvise64 */ 4939 case 221: 4940 switch(ndx) { 4941 case 0: 4942 p = "l_int"; 4943 break; 4944 case 1: 4945 p = "l_loff_t"; 4946 break; 4947 case 2: 4948 p = "l_size_t"; 4949 break; 4950 case 3: 4951 p = "l_int"; 4952 break; 4953 default: 4954 break; 4955 }; 4956 break; 4957 /* linux_timer_create */ 4958 case 222: 4959 switch(ndx) { 4960 case 0: 4961 p = "clockid_t"; 4962 break; 4963 case 1: 4964 p = "userland struct sigevent *"; 4965 break; 4966 case 2: 4967 p = "userland l_timer_t *"; 4968 break; 4969 default: 4970 break; 4971 }; 4972 break; 4973 /* linux_timer_settime */ 4974 case 223: 4975 switch(ndx) { 4976 case 0: 4977 p = "l_timer_t"; 4978 break; 4979 case 1: 4980 p = "l_int"; 4981 break; 4982 case 2: 4983 p = "userland const struct itimerspec *"; 4984 break; 4985 case 3: 4986 p = "userland struct itimerspec *"; 4987 break; 4988 default: 4989 break; 4990 }; 4991 break; 4992 /* linux_timer_gettime */ 4993 case 224: 4994 switch(ndx) { 4995 case 0: 4996 p = "l_timer_t"; 4997 break; 4998 case 1: 4999 p = "userland struct itimerspec *"; 5000 break; 5001 default: 5002 break; 5003 }; 5004 break; 5005 /* linux_timer_getoverrun */ 5006 case 225: 5007 switch(ndx) { 5008 case 0: 5009 p = "l_timer_t"; 5010 break; 5011 default: 5012 break; 5013 }; 5014 break; 5015 /* linux_timer_delete */ 5016 case 226: 5017 switch(ndx) { 5018 case 0: 5019 p = "l_timer_t"; 5020 break; 5021 default: 5022 break; 5023 }; 5024 break; 5025 /* linux_clock_settime */ 5026 case 227: 5027 switch(ndx) { 5028 case 0: 5029 p = "clockid_t"; 5030 break; 5031 case 1: 5032 p = "userland struct l_timespec *"; 5033 break; 5034 default: 5035 break; 5036 }; 5037 break; 5038 /* linux_clock_gettime */ 5039 case 228: 5040 switch(ndx) { 5041 case 0: 5042 p = "clockid_t"; 5043 break; 5044 case 1: 5045 p = "userland struct l_timespec *"; 5046 break; 5047 default: 5048 break; 5049 }; 5050 break; 5051 /* linux_clock_getres */ 5052 case 229: 5053 switch(ndx) { 5054 case 0: 5055 p = "clockid_t"; 5056 break; 5057 case 1: 5058 p = "userland struct l_timespec *"; 5059 break; 5060 default: 5061 break; 5062 }; 5063 break; 5064 /* linux_clock_nanosleep */ 5065 case 230: 5066 switch(ndx) { 5067 case 0: 5068 p = "clockid_t"; 5069 break; 5070 case 1: 5071 p = "int"; 5072 break; 5073 case 2: 5074 p = "userland struct l_timespec *"; 5075 break; 5076 case 3: 5077 p = "userland struct l_timespec *"; 5078 break; 5079 default: 5080 break; 5081 }; 5082 break; 5083 /* linux_exit_group */ 5084 case 231: 5085 switch(ndx) { 5086 case 0: 5087 p = "l_int"; 5088 break; 5089 default: 5090 break; 5091 }; 5092 break; 5093 /* linux_epoll_wait */ 5094 case 232: 5095 switch(ndx) { 5096 case 0: 5097 p = "l_int"; 5098 break; 5099 case 1: 5100 p = "userland struct epoll_event *"; 5101 break; 5102 case 2: 5103 p = "l_int"; 5104 break; 5105 case 3: 5106 p = "l_int"; 5107 break; 5108 default: 5109 break; 5110 }; 5111 break; 5112 /* linux_epoll_ctl */ 5113 case 233: 5114 switch(ndx) { 5115 case 0: 5116 p = "l_int"; 5117 break; 5118 case 1: 5119 p = "l_int"; 5120 break; 5121 case 2: 5122 p = "l_int"; 5123 break; 5124 case 3: 5125 p = "userland struct epoll_event *"; 5126 break; 5127 default: 5128 break; 5129 }; 5130 break; 5131 /* linux_tgkill */ 5132 case 234: 5133 switch(ndx) { 5134 case 0: 5135 p = "l_int"; 5136 break; 5137 case 1: 5138 p = "l_int"; 5139 break; 5140 case 2: 5141 p = "l_int"; 5142 break; 5143 default: 5144 break; 5145 }; 5146 break; 5147 /* linux_utimes */ 5148 case 235: 5149 switch(ndx) { 5150 case 0: 5151 p = "userland char *"; 5152 break; 5153 case 1: 5154 p = "userland struct l_timeval *"; 5155 break; 5156 default: 5157 break; 5158 }; 5159 break; 5160 /* linux_mbind */ 5161 case 237: 5162 break; 5163 /* linux_set_mempolicy */ 5164 case 238: 5165 break; 5166 /* linux_get_mempolicy */ 5167 case 239: 5168 break; 5169 /* linux_mq_open */ 5170 case 240: 5171 break; 5172 /* linux_mq_unlink */ 5173 case 241: 5174 break; 5175 /* linux_mq_timedsend */ 5176 case 242: 5177 break; 5178 /* linux_mq_timedreceive */ 5179 case 243: 5180 break; 5181 /* linux_mq_notify */ 5182 case 244: 5183 break; 5184 /* linux_mq_getsetattr */ 5185 case 245: 5186 break; 5187 /* linux_kexec_load */ 5188 case 246: 5189 break; 5190 /* linux_waitid */ 5191 case 247: 5192 switch(ndx) { 5193 case 0: 5194 p = "l_int"; 5195 break; 5196 case 1: 5197 p = "l_pid_t"; 5198 break; 5199 case 2: 5200 p = "userland l_siginfo_t *"; 5201 break; 5202 case 3: 5203 p = "l_int"; 5204 break; 5205 case 4: 5206 p = "userland struct rusage *"; 5207 break; 5208 default: 5209 break; 5210 }; 5211 break; 5212 /* linux_add_key */ 5213 case 248: 5214 break; 5215 /* linux_request_key */ 5216 case 249: 5217 break; 5218 /* linux_keyctl */ 5219 case 250: 5220 break; 5221 /* linux_ioprio_set */ 5222 case 251: 5223 break; 5224 /* linux_ioprio_get */ 5225 case 252: 5226 break; 5227 /* linux_inotify_init */ 5228 case 253: 5229 break; 5230 /* linux_inotify_add_watch */ 5231 case 254: 5232 break; 5233 /* linux_inotify_rm_watch */ 5234 case 255: 5235 break; 5236 /* linux_migrate_pages */ 5237 case 256: 5238 break; 5239 /* linux_openat */ 5240 case 257: 5241 switch(ndx) { 5242 case 0: 5243 p = "l_int"; 5244 break; 5245 case 1: 5246 p = "userland const char *"; 5247 break; 5248 case 2: 5249 p = "l_int"; 5250 break; 5251 case 3: 5252 p = "l_int"; 5253 break; 5254 default: 5255 break; 5256 }; 5257 break; 5258 /* linux_mkdirat */ 5259 case 258: 5260 switch(ndx) { 5261 case 0: 5262 p = "l_int"; 5263 break; 5264 case 1: 5265 p = "userland const char *"; 5266 break; 5267 case 2: 5268 p = "l_int"; 5269 break; 5270 default: 5271 break; 5272 }; 5273 break; 5274 /* linux_mknodat */ 5275 case 259: 5276 switch(ndx) { 5277 case 0: 5278 p = "l_int"; 5279 break; 5280 case 1: 5281 p = "userland const char *"; 5282 break; 5283 case 2: 5284 p = "l_int"; 5285 break; 5286 case 3: 5287 p = "l_uint"; 5288 break; 5289 default: 5290 break; 5291 }; 5292 break; 5293 /* linux_fchownat */ 5294 case 260: 5295 switch(ndx) { 5296 case 0: 5297 p = "l_int"; 5298 break; 5299 case 1: 5300 p = "userland const char *"; 5301 break; 5302 case 2: 5303 p = "l_uid_t"; 5304 break; 5305 case 3: 5306 p = "l_gid_t"; 5307 break; 5308 case 4: 5309 p = "l_int"; 5310 break; 5311 default: 5312 break; 5313 }; 5314 break; 5315 /* linux_futimesat */ 5316 case 261: 5317 switch(ndx) { 5318 case 0: 5319 p = "l_int"; 5320 break; 5321 case 1: 5322 p = "userland char *"; 5323 break; 5324 case 2: 5325 p = "userland struct l_timeval *"; 5326 break; 5327 default: 5328 break; 5329 }; 5330 break; 5331 /* linux_newfstatat */ 5332 case 262: 5333 switch(ndx) { 5334 case 0: 5335 p = "l_int"; 5336 break; 5337 case 1: 5338 p = "userland char *"; 5339 break; 5340 case 2: 5341 p = "userland struct l_stat64 *"; 5342 break; 5343 case 3: 5344 p = "l_int"; 5345 break; 5346 default: 5347 break; 5348 }; 5349 break; 5350 /* linux_unlinkat */ 5351 case 263: 5352 switch(ndx) { 5353 case 0: 5354 p = "l_int"; 5355 break; 5356 case 1: 5357 p = "userland const char *"; 5358 break; 5359 case 2: 5360 p = "l_int"; 5361 break; 5362 default: 5363 break; 5364 }; 5365 break; 5366 /* linux_renameat */ 5367 case 264: 5368 switch(ndx) { 5369 case 0: 5370 p = "l_int"; 5371 break; 5372 case 1: 5373 p = "userland const char *"; 5374 break; 5375 case 2: 5376 p = "l_int"; 5377 break; 5378 case 3: 5379 p = "userland const char *"; 5380 break; 5381 default: 5382 break; 5383 }; 5384 break; 5385 /* linux_linkat */ 5386 case 265: 5387 switch(ndx) { 5388 case 0: 5389 p = "l_int"; 5390 break; 5391 case 1: 5392 p = "userland const char *"; 5393 break; 5394 case 2: 5395 p = "l_int"; 5396 break; 5397 case 3: 5398 p = "userland const char *"; 5399 break; 5400 case 4: 5401 p = "l_int"; 5402 break; 5403 default: 5404 break; 5405 }; 5406 break; 5407 /* linux_symlinkat */ 5408 case 266: 5409 switch(ndx) { 5410 case 0: 5411 p = "userland const char *"; 5412 break; 5413 case 1: 5414 p = "l_int"; 5415 break; 5416 case 2: 5417 p = "userland const char *"; 5418 break; 5419 default: 5420 break; 5421 }; 5422 break; 5423 /* linux_readlinkat */ 5424 case 267: 5425 switch(ndx) { 5426 case 0: 5427 p = "l_int"; 5428 break; 5429 case 1: 5430 p = "userland const char *"; 5431 break; 5432 case 2: 5433 p = "userland char *"; 5434 break; 5435 case 3: 5436 p = "l_int"; 5437 break; 5438 default: 5439 break; 5440 }; 5441 break; 5442 /* linux_fchmodat */ 5443 case 268: 5444 switch(ndx) { 5445 case 0: 5446 p = "l_int"; 5447 break; 5448 case 1: 5449 p = "userland const char *"; 5450 break; 5451 case 2: 5452 p = "l_mode_t"; 5453 break; 5454 default: 5455 break; 5456 }; 5457 break; 5458 /* linux_faccessat */ 5459 case 269: 5460 switch(ndx) { 5461 case 0: 5462 p = "l_int"; 5463 break; 5464 case 1: 5465 p = "userland const char *"; 5466 break; 5467 case 2: 5468 p = "l_int"; 5469 break; 5470 default: 5471 break; 5472 }; 5473 break; 5474 /* linux_pselect6 */ 5475 case 270: 5476 switch(ndx) { 5477 case 0: 5478 p = "l_int"; 5479 break; 5480 case 1: 5481 p = "userland l_fd_set *"; 5482 break; 5483 case 2: 5484 p = "userland l_fd_set *"; 5485 break; 5486 case 3: 5487 p = "userland l_fd_set *"; 5488 break; 5489 case 4: 5490 p = "userland struct l_timespec *"; 5491 break; 5492 case 5: 5493 p = "userland l_uintptr_t *"; 5494 break; 5495 default: 5496 break; 5497 }; 5498 break; 5499 /* linux_ppoll */ 5500 case 271: 5501 switch(ndx) { 5502 case 0: 5503 p = "userland struct pollfd *"; 5504 break; 5505 case 1: 5506 p = "uint32_t"; 5507 break; 5508 case 2: 5509 p = "userland struct l_timespec *"; 5510 break; 5511 case 3: 5512 p = "userland l_sigset_t *"; 5513 break; 5514 case 4: 5515 p = "l_size_t"; 5516 break; 5517 default: 5518 break; 5519 }; 5520 break; 5521 /* linux_unshare */ 5522 case 272: 5523 break; 5524 /* linux_set_robust_list */ 5525 case 273: 5526 switch(ndx) { 5527 case 0: 5528 p = "userland struct linux_robust_list_head *"; 5529 break; 5530 case 1: 5531 p = "l_size_t"; 5532 break; 5533 default: 5534 break; 5535 }; 5536 break; 5537 /* linux_get_robust_list */ 5538 case 274: 5539 switch(ndx) { 5540 case 0: 5541 p = "l_int"; 5542 break; 5543 case 1: 5544 p = "userland struct linux_robust_list_head **"; 5545 break; 5546 case 2: 5547 p = "userland l_size_t *"; 5548 break; 5549 default: 5550 break; 5551 }; 5552 break; 5553 /* linux_splice */ 5554 case 275: 5555 break; 5556 /* linux_tee */ 5557 case 276: 5558 break; 5559 /* linux_sync_file_range */ 5560 case 277: 5561 switch(ndx) { 5562 case 0: 5563 p = "l_int"; 5564 break; 5565 case 1: 5566 p = "l_loff_t"; 5567 break; 5568 case 2: 5569 p = "l_loff_t"; 5570 break; 5571 case 3: 5572 p = "unsigned int"; 5573 break; 5574 default: 5575 break; 5576 }; 5577 break; 5578 /* linux_vmsplice */ 5579 case 278: 5580 break; 5581 /* linux_move_pages */ 5582 case 279: 5583 break; 5584 /* linux_utimensat */ 5585 case 280: 5586 switch(ndx) { 5587 case 0: 5588 p = "l_int"; 5589 break; 5590 case 1: 5591 p = "userland const char *"; 5592 break; 5593 case 2: 5594 p = "userland const struct l_timespec *"; 5595 break; 5596 case 3: 5597 p = "l_int"; 5598 break; 5599 default: 5600 break; 5601 }; 5602 break; 5603 /* linux_epoll_pwait */ 5604 case 281: 5605 switch(ndx) { 5606 case 0: 5607 p = "l_int"; 5608 break; 5609 case 1: 5610 p = "userland struct epoll_event *"; 5611 break; 5612 case 2: 5613 p = "l_int"; 5614 break; 5615 case 3: 5616 p = "l_int"; 5617 break; 5618 case 4: 5619 p = "userland l_sigset_t *"; 5620 break; 5621 case 5: 5622 p = "l_size_t"; 5623 break; 5624 default: 5625 break; 5626 }; 5627 break; 5628 /* linux_signalfd */ 5629 case 282: 5630 break; 5631 /* linux_timerfd_create */ 5632 case 283: 5633 switch(ndx) { 5634 case 0: 5635 p = "l_int"; 5636 break; 5637 case 1: 5638 p = "l_int"; 5639 break; 5640 default: 5641 break; 5642 }; 5643 break; 5644 /* linux_eventfd */ 5645 case 284: 5646 switch(ndx) { 5647 case 0: 5648 p = "l_uint"; 5649 break; 5650 default: 5651 break; 5652 }; 5653 break; 5654 /* linux_fallocate */ 5655 case 285: 5656 switch(ndx) { 5657 case 0: 5658 p = "l_int"; 5659 break; 5660 case 1: 5661 p = "l_int"; 5662 break; 5663 case 2: 5664 p = "l_loff_t"; 5665 break; 5666 case 3: 5667 p = "l_loff_t"; 5668 break; 5669 default: 5670 break; 5671 }; 5672 break; 5673 /* linux_timerfd_settime */ 5674 case 286: 5675 switch(ndx) { 5676 case 0: 5677 p = "l_int"; 5678 break; 5679 case 1: 5680 p = "l_int"; 5681 break; 5682 case 2: 5683 p = "userland const struct l_itimerspec *"; 5684 break; 5685 case 3: 5686 p = "userland struct l_itimerspec *"; 5687 break; 5688 default: 5689 break; 5690 }; 5691 break; 5692 /* linux_timerfd_gettime */ 5693 case 287: 5694 switch(ndx) { 5695 case 0: 5696 p = "l_int"; 5697 break; 5698 case 1: 5699 p = "userland struct l_itimerspec *"; 5700 break; 5701 default: 5702 break; 5703 }; 5704 break; 5705 /* linux_accept4 */ 5706 case 288: 5707 switch(ndx) { 5708 case 0: 5709 p = "l_int"; 5710 break; 5711 case 1: 5712 p = "l_uintptr_t"; 5713 break; 5714 case 2: 5715 p = "l_uintptr_t"; 5716 break; 5717 case 3: 5718 p = "int"; 5719 break; 5720 default: 5721 break; 5722 }; 5723 break; 5724 /* linux_signalfd4 */ 5725 case 289: 5726 break; 5727 /* linux_eventfd2 */ 5728 case 290: 5729 switch(ndx) { 5730 case 0: 5731 p = "l_uint"; 5732 break; 5733 case 1: 5734 p = "l_int"; 5735 break; 5736 default: 5737 break; 5738 }; 5739 break; 5740 /* linux_epoll_create1 */ 5741 case 291: 5742 switch(ndx) { 5743 case 0: 5744 p = "l_int"; 5745 break; 5746 default: 5747 break; 5748 }; 5749 break; 5750 /* linux_dup3 */ 5751 case 292: 5752 switch(ndx) { 5753 case 0: 5754 p = "l_int"; 5755 break; 5756 case 1: 5757 p = "l_int"; 5758 break; 5759 case 2: 5760 p = "l_int"; 5761 break; 5762 default: 5763 break; 5764 }; 5765 break; 5766 /* linux_pipe2 */ 5767 case 293: 5768 switch(ndx) { 5769 case 0: 5770 p = "userland l_int *"; 5771 break; 5772 case 1: 5773 p = "l_int"; 5774 break; 5775 default: 5776 break; 5777 }; 5778 break; 5779 /* linux_inotify_init1 */ 5780 case 294: 5781 switch(ndx) { 5782 case 0: 5783 p = "l_int"; 5784 break; 5785 default: 5786 break; 5787 }; 5788 break; 5789 /* linux_preadv */ 5790 case 295: 5791 switch(ndx) { 5792 case 0: 5793 p = "l_ulong"; 5794 break; 5795 case 1: 5796 p = "userland struct iovec *"; 5797 break; 5798 case 2: 5799 p = "l_ulong"; 5800 break; 5801 case 3: 5802 p = "l_ulong"; 5803 break; 5804 case 4: 5805 p = "l_ulong"; 5806 break; 5807 default: 5808 break; 5809 }; 5810 break; 5811 /* linux_pwritev */ 5812 case 296: 5813 switch(ndx) { 5814 case 0: 5815 p = "l_ulong"; 5816 break; 5817 case 1: 5818 p = "userland struct iovec *"; 5819 break; 5820 case 2: 5821 p = "l_ulong"; 5822 break; 5823 case 3: 5824 p = "l_ulong"; 5825 break; 5826 case 4: 5827 p = "l_ulong"; 5828 break; 5829 default: 5830 break; 5831 }; 5832 break; 5833 /* linux_rt_tgsigqueueinfo */ 5834 case 297: 5835 switch(ndx) { 5836 case 0: 5837 p = "l_pid_t"; 5838 break; 5839 case 1: 5840 p = "l_pid_t"; 5841 break; 5842 case 2: 5843 p = "l_int"; 5844 break; 5845 case 3: 5846 p = "userland l_siginfo_t *"; 5847 break; 5848 default: 5849 break; 5850 }; 5851 break; 5852 /* linux_perf_event_open */ 5853 case 298: 5854 break; 5855 /* linux_recvmmsg */ 5856 case 299: 5857 switch(ndx) { 5858 case 0: 5859 p = "l_int"; 5860 break; 5861 case 1: 5862 p = "userland struct l_mmsghdr *"; 5863 break; 5864 case 2: 5865 p = "l_uint"; 5866 break; 5867 case 3: 5868 p = "l_uint"; 5869 break; 5870 case 4: 5871 p = "userland struct l_timespec *"; 5872 break; 5873 default: 5874 break; 5875 }; 5876 break; 5877 /* linux_fanotify_init */ 5878 case 300: 5879 break; 5880 /* linux_fanotify_mark */ 5881 case 301: 5882 break; 5883 /* linux_prlimit64 */ 5884 case 302: 5885 switch(ndx) { 5886 case 0: 5887 p = "l_pid_t"; 5888 break; 5889 case 1: 5890 p = "l_uint"; 5891 break; 5892 case 2: 5893 p = "userland struct rlimit *"; 5894 break; 5895 case 3: 5896 p = "userland struct rlimit *"; 5897 break; 5898 default: 5899 break; 5900 }; 5901 break; 5902 /* linux_name_to_handle_at */ 5903 case 303: 5904 break; 5905 /* linux_open_by_handle_at */ 5906 case 304: 5907 break; 5908 /* linux_clock_adjtime */ 5909 case 305: 5910 break; 5911 /* linux_syncfs */ 5912 case 306: 5913 switch(ndx) { 5914 case 0: 5915 p = "l_int"; 5916 break; 5917 default: 5918 break; 5919 }; 5920 break; 5921 /* linux_sendmmsg */ 5922 case 307: 5923 switch(ndx) { 5924 case 0: 5925 p = "l_int"; 5926 break; 5927 case 1: 5928 p = "userland struct l_mmsghdr *"; 5929 break; 5930 case 2: 5931 p = "l_uint"; 5932 break; 5933 case 3: 5934 p = "l_uint"; 5935 break; 5936 default: 5937 break; 5938 }; 5939 break; 5940 /* linux_setns */ 5941 case 308: 5942 switch(ndx) { 5943 case 0: 5944 p = "l_int"; 5945 break; 5946 case 1: 5947 p = "l_int"; 5948 break; 5949 default: 5950 break; 5951 }; 5952 break; 5953 /* linux_getcpu */ 5954 case 309: 5955 switch(ndx) { 5956 case 0: 5957 p = "userland l_uint *"; 5958 break; 5959 case 1: 5960 p = "userland l_uint *"; 5961 break; 5962 case 2: 5963 p = "userland void *"; 5964 break; 5965 default: 5966 break; 5967 }; 5968 break; 5969 /* linux_process_vm_readv */ 5970 case 310: 5971 switch(ndx) { 5972 case 0: 5973 p = "l_pid_t"; 5974 break; 5975 case 1: 5976 p = "userland const struct iovec *"; 5977 break; 5978 case 2: 5979 p = "l_ulong"; 5980 break; 5981 case 3: 5982 p = "userland const struct iovec *"; 5983 break; 5984 case 4: 5985 p = "l_ulong"; 5986 break; 5987 case 5: 5988 p = "l_ulong"; 5989 break; 5990 default: 5991 break; 5992 }; 5993 break; 5994 /* linux_process_vm_writev */ 5995 case 311: 5996 switch(ndx) { 5997 case 0: 5998 p = "l_pid_t"; 5999 break; 6000 case 1: 6001 p = "userland const struct iovec *"; 6002 break; 6003 case 2: 6004 p = "l_ulong"; 6005 break; 6006 case 3: 6007 p = "userland const struct iovec *"; 6008 break; 6009 case 4: 6010 p = "l_ulong"; 6011 break; 6012 case 5: 6013 p = "l_ulong"; 6014 break; 6015 default: 6016 break; 6017 }; 6018 break; 6019 /* linux_kcmp */ 6020 case 312: 6021 switch(ndx) { 6022 case 0: 6023 p = "l_pid_t"; 6024 break; 6025 case 1: 6026 p = "l_pid_t"; 6027 break; 6028 case 2: 6029 p = "l_int"; 6030 break; 6031 case 3: 6032 p = "l_ulong"; 6033 break; 6034 case 4: 6035 p = "l_ulong"; 6036 break; 6037 default: 6038 break; 6039 }; 6040 break; 6041 /* linux_finit_module */ 6042 case 313: 6043 switch(ndx) { 6044 case 0: 6045 p = "l_int"; 6046 break; 6047 case 1: 6048 p = "userland const char *"; 6049 break; 6050 case 2: 6051 p = "l_int"; 6052 break; 6053 default: 6054 break; 6055 }; 6056 break; 6057 /* linux_sched_setattr */ 6058 case 314: 6059 switch(ndx) { 6060 case 0: 6061 p = "l_pid_t"; 6062 break; 6063 case 1: 6064 p = "userland void *"; 6065 break; 6066 case 2: 6067 p = "l_uint"; 6068 break; 6069 default: 6070 break; 6071 }; 6072 break; 6073 /* linux_sched_getattr */ 6074 case 315: 6075 switch(ndx) { 6076 case 0: 6077 p = "l_pid_t"; 6078 break; 6079 case 1: 6080 p = "userland void *"; 6081 break; 6082 case 2: 6083 p = "l_uint"; 6084 break; 6085 case 3: 6086 p = "l_uint"; 6087 break; 6088 default: 6089 break; 6090 }; 6091 break; 6092 /* linux_renameat2 */ 6093 case 316: 6094 switch(ndx) { 6095 case 0: 6096 p = "l_int"; 6097 break; 6098 case 1: 6099 p = "userland const char *"; 6100 break; 6101 case 2: 6102 p = "l_int"; 6103 break; 6104 case 3: 6105 p = "userland const char *"; 6106 break; 6107 case 4: 6108 p = "unsigned int"; 6109 break; 6110 default: 6111 break; 6112 }; 6113 break; 6114 /* linux_seccomp */ 6115 case 317: 6116 switch(ndx) { 6117 case 0: 6118 p = "l_uint"; 6119 break; 6120 case 1: 6121 p = "l_uint"; 6122 break; 6123 case 2: 6124 p = "userland const char *"; 6125 break; 6126 default: 6127 break; 6128 }; 6129 break; 6130 /* linux_getrandom */ 6131 case 318: 6132 switch(ndx) { 6133 case 0: 6134 p = "userland char *"; 6135 break; 6136 case 1: 6137 p = "l_size_t"; 6138 break; 6139 case 2: 6140 p = "l_uint"; 6141 break; 6142 default: 6143 break; 6144 }; 6145 break; 6146 /* linux_memfd_create */ 6147 case 319: 6148 switch(ndx) { 6149 case 0: 6150 p = "userland const char *"; 6151 break; 6152 case 1: 6153 p = "l_uint"; 6154 break; 6155 default: 6156 break; 6157 }; 6158 break; 6159 /* linux_kexec_file_load */ 6160 case 320: 6161 switch(ndx) { 6162 case 0: 6163 p = "l_int"; 6164 break; 6165 case 1: 6166 p = "l_int"; 6167 break; 6168 case 2: 6169 p = "l_ulong"; 6170 break; 6171 case 3: 6172 p = "userland const char *"; 6173 break; 6174 case 4: 6175 p = "l_ulong"; 6176 break; 6177 default: 6178 break; 6179 }; 6180 break; 6181 /* linux_bpf */ 6182 case 321: 6183 switch(ndx) { 6184 case 0: 6185 p = "l_int"; 6186 break; 6187 case 1: 6188 p = "userland void *"; 6189 break; 6190 case 2: 6191 p = "l_uint"; 6192 break; 6193 default: 6194 break; 6195 }; 6196 break; 6197 /* linux_execveat */ 6198 case 322: 6199 switch(ndx) { 6200 case 0: 6201 p = "l_int"; 6202 break; 6203 case 1: 6204 p = "userland const char *"; 6205 break; 6206 case 2: 6207 p = "userland const char **"; 6208 break; 6209 case 3: 6210 p = "userland const char **"; 6211 break; 6212 case 4: 6213 p = "l_int"; 6214 break; 6215 default: 6216 break; 6217 }; 6218 break; 6219 /* linux_userfaultfd */ 6220 case 323: 6221 switch(ndx) { 6222 case 0: 6223 p = "l_int"; 6224 break; 6225 default: 6226 break; 6227 }; 6228 break; 6229 /* linux_membarrier */ 6230 case 324: 6231 switch(ndx) { 6232 case 0: 6233 p = "l_int"; 6234 break; 6235 case 1: 6236 p = "l_int"; 6237 break; 6238 default: 6239 break; 6240 }; 6241 break; 6242 /* linux_mlock2 */ 6243 case 325: 6244 switch(ndx) { 6245 case 0: 6246 p = "l_ulong"; 6247 break; 6248 case 1: 6249 p = "l_size_t"; 6250 break; 6251 case 2: 6252 p = "l_int"; 6253 break; 6254 default: 6255 break; 6256 }; 6257 break; 6258 /* linux_copy_file_range */ 6259 case 326: 6260 switch(ndx) { 6261 case 0: 6262 p = "l_int"; 6263 break; 6264 case 1: 6265 p = "userland l_loff_t *"; 6266 break; 6267 case 2: 6268 p = "l_int"; 6269 break; 6270 case 3: 6271 p = "userland l_loff_t *"; 6272 break; 6273 case 4: 6274 p = "l_size_t"; 6275 break; 6276 case 5: 6277 p = "l_uint"; 6278 break; 6279 default: 6280 break; 6281 }; 6282 break; 6283 /* linux_preadv2 */ 6284 case 327: 6285 switch(ndx) { 6286 case 0: 6287 p = "l_ulong"; 6288 break; 6289 case 1: 6290 p = "userland const struct iovec *"; 6291 break; 6292 case 2: 6293 p = "l_ulong"; 6294 break; 6295 case 3: 6296 p = "l_ulong"; 6297 break; 6298 case 4: 6299 p = "l_ulong"; 6300 break; 6301 case 5: 6302 p = "l_int"; 6303 break; 6304 default: 6305 break; 6306 }; 6307 break; 6308 /* linux_pwritev2 */ 6309 case 328: 6310 switch(ndx) { 6311 case 0: 6312 p = "l_ulong"; 6313 break; 6314 case 1: 6315 p = "userland const struct iovec *"; 6316 break; 6317 case 2: 6318 p = "l_ulong"; 6319 break; 6320 case 3: 6321 p = "l_ulong"; 6322 break; 6323 case 4: 6324 p = "l_ulong"; 6325 break; 6326 case 5: 6327 p = "l_int"; 6328 break; 6329 default: 6330 break; 6331 }; 6332 break; 6333 /* linux_pkey_mprotect */ 6334 case 329: 6335 switch(ndx) { 6336 case 0: 6337 p = "l_ulong"; 6338 break; 6339 case 1: 6340 p = "l_size_t"; 6341 break; 6342 case 2: 6343 p = "l_ulong"; 6344 break; 6345 case 3: 6346 p = "l_int"; 6347 break; 6348 default: 6349 break; 6350 }; 6351 break; 6352 /* linux_pkey_alloc */ 6353 case 330: 6354 switch(ndx) { 6355 case 0: 6356 p = "l_ulong"; 6357 break; 6358 case 1: 6359 p = "l_ulong"; 6360 break; 6361 default: 6362 break; 6363 }; 6364 break; 6365 /* linux_pkey_free */ 6366 case 331: 6367 switch(ndx) { 6368 case 0: 6369 p = "l_int"; 6370 break; 6371 default: 6372 break; 6373 }; 6374 break; 6375 /* linux_statx */ 6376 case 332: 6377 switch(ndx) { 6378 case 0: 6379 p = "l_int"; 6380 break; 6381 case 1: 6382 p = "userland const char *"; 6383 break; 6384 case 2: 6385 p = "l_uint"; 6386 break; 6387 case 3: 6388 p = "l_uint"; 6389 break; 6390 case 4: 6391 p = "userland void *"; 6392 break; 6393 default: 6394 break; 6395 }; 6396 break; 6397 /* linux_io_pgetevents */ 6398 case 333: 6399 break; 6400 /* linux_rseq */ 6401 case 334: 6402 break; 6403 /* linux_pidfd_send_signal */ 6404 case 424: 6405 switch(ndx) { 6406 case 0: 6407 p = "l_int"; 6408 break; 6409 case 1: 6410 p = "l_int"; 6411 break; 6412 case 2: 6413 p = "userland l_siginfo_t *"; 6414 break; 6415 case 3: 6416 p = "l_uint"; 6417 break; 6418 default: 6419 break; 6420 }; 6421 break; 6422 /* linux_io_uring_setup */ 6423 case 425: 6424 break; 6425 /* linux_io_uring_enter */ 6426 case 426: 6427 break; 6428 /* linux_io_uring_register */ 6429 case 427: 6430 break; 6431 default: 6432 break; 6433 }; 6434 if (p != NULL) 6435 strlcpy(desc, p, descsz); 6436 } 6437 static void 6438 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) 6439 { 6440 const char *p = NULL; 6441 switch (sysnum) { 6442 #define nosys linux_nosys 6443 /* read */ 6444 case 0: 6445 if (ndx == 0 || ndx == 1) 6446 p = "int"; 6447 break; 6448 /* write */ 6449 case 1: 6450 if (ndx == 0 || ndx == 1) 6451 p = "int"; 6452 break; 6453 /* linux_open */ 6454 case 2: 6455 if (ndx == 0 || ndx == 1) 6456 p = "int"; 6457 break; 6458 /* close */ 6459 case 3: 6460 if (ndx == 0 || ndx == 1) 6461 p = "int"; 6462 break; 6463 /* linux_newstat */ 6464 case 4: 6465 if (ndx == 0 || ndx == 1) 6466 p = "int"; 6467 break; 6468 /* linux_newfstat */ 6469 case 5: 6470 if (ndx == 0 || ndx == 1) 6471 p = "int"; 6472 break; 6473 /* linux_newlstat */ 6474 case 6: 6475 if (ndx == 0 || ndx == 1) 6476 p = "int"; 6477 break; 6478 /* poll */ 6479 case 7: 6480 if (ndx == 0 || ndx == 1) 6481 p = "int"; 6482 break; 6483 /* linux_lseek */ 6484 case 8: 6485 if (ndx == 0 || ndx == 1) 6486 p = "int"; 6487 break; 6488 /* linux_mmap2 */ 6489 case 9: 6490 if (ndx == 0 || ndx == 1) 6491 p = "int"; 6492 break; 6493 /* linux_mprotect */ 6494 case 10: 6495 if (ndx == 0 || ndx == 1) 6496 p = "int"; 6497 break; 6498 /* munmap */ 6499 case 11: 6500 if (ndx == 0 || ndx == 1) 6501 p = "int"; 6502 break; 6503 /* linux_brk */ 6504 case 12: 6505 if (ndx == 0 || ndx == 1) 6506 p = "int"; 6507 break; 6508 /* linux_rt_sigaction */ 6509 case 13: 6510 if (ndx == 0 || ndx == 1) 6511 p = "int"; 6512 break; 6513 /* linux_rt_sigprocmask */ 6514 case 14: 6515 if (ndx == 0 || ndx == 1) 6516 p = "int"; 6517 break; 6518 /* linux_rt_sigreturn */ 6519 case 15: 6520 if (ndx == 0 || ndx == 1) 6521 p = "int"; 6522 break; 6523 /* linux_ioctl */ 6524 case 16: 6525 if (ndx == 0 || ndx == 1) 6526 p = "int"; 6527 break; 6528 /* linux_pread */ 6529 case 17: 6530 if (ndx == 0 || ndx == 1) 6531 p = "int"; 6532 break; 6533 /* linux_pwrite */ 6534 case 18: 6535 if (ndx == 0 || ndx == 1) 6536 p = "int"; 6537 break; 6538 /* readv */ 6539 case 19: 6540 if (ndx == 0 || ndx == 1) 6541 p = "int"; 6542 break; 6543 /* writev */ 6544 case 20: 6545 if (ndx == 0 || ndx == 1) 6546 p = "int"; 6547 break; 6548 /* linux_access */ 6549 case 21: 6550 if (ndx == 0 || ndx == 1) 6551 p = "int"; 6552 break; 6553 /* linux_pipe */ 6554 case 22: 6555 if (ndx == 0 || ndx == 1) 6556 p = "int"; 6557 break; 6558 /* linux_select */ 6559 case 23: 6560 if (ndx == 0 || ndx == 1) 6561 p = "int"; 6562 break; 6563 /* sched_yield */ 6564 case 24: 6565 /* linux_mremap */ 6566 case 25: 6567 if (ndx == 0 || ndx == 1) 6568 p = "int"; 6569 break; 6570 /* linux_msync */ 6571 case 26: 6572 if (ndx == 0 || ndx == 1) 6573 p = "int"; 6574 break; 6575 /* linux_mincore */ 6576 case 27: 6577 if (ndx == 0 || ndx == 1) 6578 p = "int"; 6579 break; 6580 /* madvise */ 6581 case 28: 6582 if (ndx == 0 || ndx == 1) 6583 p = "int"; 6584 break; 6585 /* linux_shmget */ 6586 case 29: 6587 if (ndx == 0 || ndx == 1) 6588 p = "int"; 6589 break; 6590 /* linux_shmat */ 6591 case 30: 6592 if (ndx == 0 || ndx == 1) 6593 p = "int"; 6594 break; 6595 /* linux_shmctl */ 6596 case 31: 6597 if (ndx == 0 || ndx == 1) 6598 p = "int"; 6599 break; 6600 /* dup */ 6601 case 32: 6602 if (ndx == 0 || ndx == 1) 6603 p = "int"; 6604 break; 6605 /* dup2 */ 6606 case 33: 6607 if (ndx == 0 || ndx == 1) 6608 p = "int"; 6609 break; 6610 /* linux_pause */ 6611 case 34: 6612 /* linux_nanosleep */ 6613 case 35: 6614 if (ndx == 0 || ndx == 1) 6615 p = "int"; 6616 break; 6617 /* linux_getitimer */ 6618 case 36: 6619 if (ndx == 0 || ndx == 1) 6620 p = "int"; 6621 break; 6622 /* linux_alarm */ 6623 case 37: 6624 if (ndx == 0 || ndx == 1) 6625 p = "int"; 6626 break; 6627 /* linux_setitimer */ 6628 case 38: 6629 if (ndx == 0 || ndx == 1) 6630 p = "int"; 6631 break; 6632 /* linux_getpid */ 6633 case 39: 6634 /* linux_sendfile */ 6635 case 40: 6636 if (ndx == 0 || ndx == 1) 6637 p = "int"; 6638 break; 6639 /* linux_socket */ 6640 case 41: 6641 if (ndx == 0 || ndx == 1) 6642 p = "int"; 6643 break; 6644 /* linux_connect */ 6645 case 42: 6646 if (ndx == 0 || ndx == 1) 6647 p = "int"; 6648 break; 6649 /* linux_accept */ 6650 case 43: 6651 if (ndx == 0 || ndx == 1) 6652 p = "int"; 6653 break; 6654 /* linux_sendto */ 6655 case 44: 6656 if (ndx == 0 || ndx == 1) 6657 p = "int"; 6658 break; 6659 /* linux_recvfrom */ 6660 case 45: 6661 if (ndx == 0 || ndx == 1) 6662 p = "int"; 6663 break; 6664 /* linux_sendmsg */ 6665 case 46: 6666 if (ndx == 0 || ndx == 1) 6667 p = "int"; 6668 break; 6669 /* linux_recvmsg */ 6670 case 47: 6671 if (ndx == 0 || ndx == 1) 6672 p = "int"; 6673 break; 6674 /* linux_shutdown */ 6675 case 48: 6676 if (ndx == 0 || ndx == 1) 6677 p = "int"; 6678 break; 6679 /* linux_bind */ 6680 case 49: 6681 if (ndx == 0 || ndx == 1) 6682 p = "int"; 6683 break; 6684 /* linux_listen */ 6685 case 50: 6686 if (ndx == 0 || ndx == 1) 6687 p = "int"; 6688 break; 6689 /* linux_getsockname */ 6690 case 51: 6691 if (ndx == 0 || ndx == 1) 6692 p = "int"; 6693 break; 6694 /* linux_getpeername */ 6695 case 52: 6696 if (ndx == 0 || ndx == 1) 6697 p = "int"; 6698 break; 6699 /* linux_socketpair */ 6700 case 53: 6701 if (ndx == 0 || ndx == 1) 6702 p = "int"; 6703 break; 6704 /* linux_setsockopt */ 6705 case 54: 6706 if (ndx == 0 || ndx == 1) 6707 p = "int"; 6708 break; 6709 /* linux_getsockopt */ 6710 case 55: 6711 if (ndx == 0 || ndx == 1) 6712 p = "int"; 6713 break; 6714 /* linux_clone */ 6715 case 56: 6716 if (ndx == 0 || ndx == 1) 6717 p = "int"; 6718 break; 6719 /* linux_fork */ 6720 case 57: 6721 /* linux_vfork */ 6722 case 58: 6723 /* linux_execve */ 6724 case 59: 6725 if (ndx == 0 || ndx == 1) 6726 p = "int"; 6727 break; 6728 /* linux_exit */ 6729 case 60: 6730 if (ndx == 0 || ndx == 1) 6731 p = "void"; 6732 break; 6733 /* linux_wait4 */ 6734 case 61: 6735 if (ndx == 0 || ndx == 1) 6736 p = "int"; 6737 break; 6738 /* linux_kill */ 6739 case 62: 6740 if (ndx == 0 || ndx == 1) 6741 p = "int"; 6742 break; 6743 /* linux_newuname */ 6744 case 63: 6745 if (ndx == 0 || ndx == 1) 6746 p = "int"; 6747 break; 6748 /* linux_semget */ 6749 case 64: 6750 if (ndx == 0 || ndx == 1) 6751 p = "int"; 6752 break; 6753 /* linux_semop */ 6754 case 65: 6755 if (ndx == 0 || ndx == 1) 6756 p = "int"; 6757 break; 6758 /* linux_semctl */ 6759 case 66: 6760 if (ndx == 0 || ndx == 1) 6761 p = "int"; 6762 break; 6763 /* linux_shmdt */ 6764 case 67: 6765 if (ndx == 0 || ndx == 1) 6766 p = "int"; 6767 break; 6768 /* linux_msgget */ 6769 case 68: 6770 if (ndx == 0 || ndx == 1) 6771 p = "int"; 6772 break; 6773 /* linux_msgsnd */ 6774 case 69: 6775 if (ndx == 0 || ndx == 1) 6776 p = "int"; 6777 break; 6778 /* linux_msgrcv */ 6779 case 70: 6780 if (ndx == 0 || ndx == 1) 6781 p = "int"; 6782 break; 6783 /* linux_msgctl */ 6784 case 71: 6785 if (ndx == 0 || ndx == 1) 6786 p = "int"; 6787 break; 6788 /* linux_fcntl */ 6789 case 72: 6790 if (ndx == 0 || ndx == 1) 6791 p = "int"; 6792 break; 6793 /* flock */ 6794 case 73: 6795 if (ndx == 0 || ndx == 1) 6796 p = "int"; 6797 break; 6798 /* fsync */ 6799 case 74: 6800 if (ndx == 0 || ndx == 1) 6801 p = "int"; 6802 break; 6803 /* linux_fdatasync */ 6804 case 75: 6805 if (ndx == 0 || ndx == 1) 6806 p = "int"; 6807 break; 6808 /* linux_truncate */ 6809 case 76: 6810 if (ndx == 0 || ndx == 1) 6811 p = "int"; 6812 break; 6813 /* linux_ftruncate */ 6814 case 77: 6815 if (ndx == 0 || ndx == 1) 6816 p = "int"; 6817 break; 6818 /* linux_getdents */ 6819 case 78: 6820 if (ndx == 0 || ndx == 1) 6821 p = "int"; 6822 break; 6823 /* linux_getcwd */ 6824 case 79: 6825 if (ndx == 0 || ndx == 1) 6826 p = "int"; 6827 break; 6828 /* linux_chdir */ 6829 case 80: 6830 if (ndx == 0 || ndx == 1) 6831 p = "int"; 6832 break; 6833 /* fchdir */ 6834 case 81: 6835 if (ndx == 0 || ndx == 1) 6836 p = "int"; 6837 break; 6838 /* linux_rename */ 6839 case 82: 6840 if (ndx == 0 || ndx == 1) 6841 p = "int"; 6842 break; 6843 /* linux_mkdir */ 6844 case 83: 6845 if (ndx == 0 || ndx == 1) 6846 p = "int"; 6847 break; 6848 /* linux_rmdir */ 6849 case 84: 6850 if (ndx == 0 || ndx == 1) 6851 p = "int"; 6852 break; 6853 /* linux_creat */ 6854 case 85: 6855 if (ndx == 0 || ndx == 1) 6856 p = "int"; 6857 break; 6858 /* linux_link */ 6859 case 86: 6860 if (ndx == 0 || ndx == 1) 6861 p = "int"; 6862 break; 6863 /* linux_unlink */ 6864 case 87: 6865 if (ndx == 0 || ndx == 1) 6866 p = "int"; 6867 break; 6868 /* linux_symlink */ 6869 case 88: 6870 if (ndx == 0 || ndx == 1) 6871 p = "int"; 6872 break; 6873 /* linux_readlink */ 6874 case 89: 6875 if (ndx == 0 || ndx == 1) 6876 p = "int"; 6877 break; 6878 /* linux_chmod */ 6879 case 90: 6880 if (ndx == 0 || ndx == 1) 6881 p = "int"; 6882 break; 6883 /* fchmod */ 6884 case 91: 6885 if (ndx == 0 || ndx == 1) 6886 p = "int"; 6887 break; 6888 /* linux_chown */ 6889 case 92: 6890 if (ndx == 0 || ndx == 1) 6891 p = "int"; 6892 break; 6893 /* fchown */ 6894 case 93: 6895 if (ndx == 0 || ndx == 1) 6896 p = "int"; 6897 break; 6898 /* linux_lchown */ 6899 case 94: 6900 if (ndx == 0 || ndx == 1) 6901 p = "int"; 6902 break; 6903 /* umask */ 6904 case 95: 6905 if (ndx == 0 || ndx == 1) 6906 p = "int"; 6907 break; 6908 /* gettimeofday */ 6909 case 96: 6910 if (ndx == 0 || ndx == 1) 6911 p = "int"; 6912 break; 6913 /* linux_getrlimit */ 6914 case 97: 6915 if (ndx == 0 || ndx == 1) 6916 p = "int"; 6917 break; 6918 /* getrusage */ 6919 case 98: 6920 if (ndx == 0 || ndx == 1) 6921 p = "int"; 6922 break; 6923 /* linux_sysinfo */ 6924 case 99: 6925 if (ndx == 0 || ndx == 1) 6926 p = "int"; 6927 break; 6928 /* linux_times */ 6929 case 100: 6930 if (ndx == 0 || ndx == 1) 6931 p = "int"; 6932 break; 6933 /* linux_ptrace */ 6934 case 101: 6935 if (ndx == 0 || ndx == 1) 6936 p = "int"; 6937 break; 6938 /* linux_getuid */ 6939 case 102: 6940 /* linux_syslog */ 6941 case 103: 6942 if (ndx == 0 || ndx == 1) 6943 p = "int"; 6944 break; 6945 /* linux_getgid */ 6946 case 104: 6947 /* setuid */ 6948 case 105: 6949 if (ndx == 0 || ndx == 1) 6950 p = "int"; 6951 break; 6952 /* setgid */ 6953 case 106: 6954 if (ndx == 0 || ndx == 1) 6955 p = "int"; 6956 break; 6957 /* geteuid */ 6958 case 107: 6959 /* getegid */ 6960 case 108: 6961 /* setpgid */ 6962 case 109: 6963 if (ndx == 0 || ndx == 1) 6964 p = "int"; 6965 break; 6966 /* linux_getppid */ 6967 case 110: 6968 /* getpgrp */ 6969 case 111: 6970 /* setsid */ 6971 case 112: 6972 /* setreuid */ 6973 case 113: 6974 if (ndx == 0 || ndx == 1) 6975 p = "int"; 6976 break; 6977 /* setregid */ 6978 case 114: 6979 if (ndx == 0 || ndx == 1) 6980 p = "int"; 6981 break; 6982 /* linux_getgroups */ 6983 case 115: 6984 if (ndx == 0 || ndx == 1) 6985 p = "int"; 6986 break; 6987 /* linux_setgroups */ 6988 case 116: 6989 if (ndx == 0 || ndx == 1) 6990 p = "int"; 6991 break; 6992 /* setresuid */ 6993 case 117: 6994 if (ndx == 0 || ndx == 1) 6995 p = "int"; 6996 break; 6997 /* getresuid */ 6998 case 118: 6999 if (ndx == 0 || ndx == 1) 7000 p = "int"; 7001 break; 7002 /* setresgid */ 7003 case 119: 7004 if (ndx == 0 || ndx == 1) 7005 p = "int"; 7006 break; 7007 /* getresgid */ 7008 case 120: 7009 if (ndx == 0 || ndx == 1) 7010 p = "int"; 7011 break; 7012 /* getpgid */ 7013 case 121: 7014 if (ndx == 0 || ndx == 1) 7015 p = "int"; 7016 break; 7017 /* linux_setfsuid */ 7018 case 122: 7019 if (ndx == 0 || ndx == 1) 7020 p = "int"; 7021 break; 7022 /* linux_setfsgid */ 7023 case 123: 7024 if (ndx == 0 || ndx == 1) 7025 p = "int"; 7026 break; 7027 /* linux_getsid */ 7028 case 124: 7029 if (ndx == 0 || ndx == 1) 7030 p = "int"; 7031 break; 7032 /* linux_capget */ 7033 case 125: 7034 if (ndx == 0 || ndx == 1) 7035 p = "int"; 7036 break; 7037 /* linux_capset */ 7038 case 126: 7039 if (ndx == 0 || ndx == 1) 7040 p = "int"; 7041 break; 7042 /* linux_rt_sigpending */ 7043 case 127: 7044 if (ndx == 0 || ndx == 1) 7045 p = "int"; 7046 break; 7047 /* linux_rt_sigtimedwait */ 7048 case 128: 7049 if (ndx == 0 || ndx == 1) 7050 p = "int"; 7051 break; 7052 /* linux_rt_sigqueueinfo */ 7053 case 129: 7054 if (ndx == 0 || ndx == 1) 7055 p = "int"; 7056 break; 7057 /* linux_rt_sigsuspend */ 7058 case 130: 7059 if (ndx == 0 || ndx == 1) 7060 p = "int"; 7061 break; 7062 /* linux_sigaltstack */ 7063 case 131: 7064 if (ndx == 0 || ndx == 1) 7065 p = "int"; 7066 break; 7067 /* linux_utime */ 7068 case 132: 7069 if (ndx == 0 || ndx == 1) 7070 p = "int"; 7071 break; 7072 /* linux_mknod */ 7073 case 133: 7074 if (ndx == 0 || ndx == 1) 7075 p = "int"; 7076 break; 7077 /* linux_personality */ 7078 case 135: 7079 if (ndx == 0 || ndx == 1) 7080 p = "int"; 7081 break; 7082 /* linux_ustat */ 7083 case 136: 7084 if (ndx == 0 || ndx == 1) 7085 p = "int"; 7086 break; 7087 /* linux_statfs */ 7088 case 137: 7089 if (ndx == 0 || ndx == 1) 7090 p = "int"; 7091 break; 7092 /* linux_fstatfs */ 7093 case 138: 7094 if (ndx == 0 || ndx == 1) 7095 p = "int"; 7096 break; 7097 /* linux_sysfs */ 7098 case 139: 7099 if (ndx == 0 || ndx == 1) 7100 p = "int"; 7101 break; 7102 /* linux_getpriority */ 7103 case 140: 7104 if (ndx == 0 || ndx == 1) 7105 p = "int"; 7106 break; 7107 /* setpriority */ 7108 case 141: 7109 if (ndx == 0 || ndx == 1) 7110 p = "int"; 7111 break; 7112 /* linux_sched_setparam */ 7113 case 142: 7114 if (ndx == 0 || ndx == 1) 7115 p = "int"; 7116 break; 7117 /* linux_sched_getparam */ 7118 case 143: 7119 if (ndx == 0 || ndx == 1) 7120 p = "int"; 7121 break; 7122 /* linux_sched_setscheduler */ 7123 case 144: 7124 if (ndx == 0 || ndx == 1) 7125 p = "int"; 7126 break; 7127 /* linux_sched_getscheduler */ 7128 case 145: 7129 if (ndx == 0 || ndx == 1) 7130 p = "int"; 7131 break; 7132 /* linux_sched_get_priority_max */ 7133 case 146: 7134 if (ndx == 0 || ndx == 1) 7135 p = "int"; 7136 break; 7137 /* linux_sched_get_priority_min */ 7138 case 147: 7139 if (ndx == 0 || ndx == 1) 7140 p = "int"; 7141 break; 7142 /* linux_sched_rr_get_interval */ 7143 case 148: 7144 if (ndx == 0 || ndx == 1) 7145 p = "int"; 7146 break; 7147 /* mlock */ 7148 case 149: 7149 if (ndx == 0 || ndx == 1) 7150 p = "int"; 7151 break; 7152 /* munlock */ 7153 case 150: 7154 if (ndx == 0 || ndx == 1) 7155 p = "int"; 7156 break; 7157 /* mlockall */ 7158 case 151: 7159 if (ndx == 0 || ndx == 1) 7160 p = "int"; 7161 break; 7162 /* munlockall */ 7163 case 152: 7164 /* linux_vhangup */ 7165 case 153: 7166 /* linux_pivot_root */ 7167 case 155: 7168 /* linux_sysctl */ 7169 case 156: 7170 if (ndx == 0 || ndx == 1) 7171 p = "int"; 7172 break; 7173 /* linux_prctl */ 7174 case 157: 7175 if (ndx == 0 || ndx == 1) 7176 p = "int"; 7177 break; 7178 /* linux_arch_prctl */ 7179 case 158: 7180 if (ndx == 0 || ndx == 1) 7181 p = "int"; 7182 break; 7183 /* linux_adjtimex */ 7184 case 159: 7185 /* linux_setrlimit */ 7186 case 160: 7187 if (ndx == 0 || ndx == 1) 7188 p = "int"; 7189 break; 7190 /* chroot */ 7191 case 161: 7192 if (ndx == 0 || ndx == 1) 7193 p = "int"; 7194 break; 7195 /* sync */ 7196 case 162: 7197 /* acct */ 7198 case 163: 7199 if (ndx == 0 || ndx == 1) 7200 p = "int"; 7201 break; 7202 /* settimeofday */ 7203 case 164: 7204 if (ndx == 0 || ndx == 1) 7205 p = "int"; 7206 break; 7207 /* linux_mount */ 7208 case 165: 7209 if (ndx == 0 || ndx == 1) 7210 p = "int"; 7211 break; 7212 /* linux_umount */ 7213 case 166: 7214 if (ndx == 0 || ndx == 1) 7215 p = "int"; 7216 break; 7217 /* swapon */ 7218 case 167: 7219 if (ndx == 0 || ndx == 1) 7220 p = "int"; 7221 break; 7222 /* linux_swapoff */ 7223 case 168: 7224 /* linux_reboot */ 7225 case 169: 7226 if (ndx == 0 || ndx == 1) 7227 p = "int"; 7228 break; 7229 /* linux_sethostname */ 7230 case 170: 7231 if (ndx == 0 || ndx == 1) 7232 p = "int"; 7233 break; 7234 /* linux_setdomainname */ 7235 case 171: 7236 if (ndx == 0 || ndx == 1) 7237 p = "int"; 7238 break; 7239 /* linux_iopl */ 7240 case 172: 7241 if (ndx == 0 || ndx == 1) 7242 p = "int"; 7243 break; 7244 /* linux_init_module */ 7245 case 175: 7246 /* linux_delete_module */ 7247 case 176: 7248 /* linux_quotactl */ 7249 case 179: 7250 /* linux_gettid */ 7251 case 186: 7252 /* linux_setxattr */ 7253 case 188: 7254 /* linux_lsetxattr */ 7255 case 189: 7256 /* linux_fsetxattr */ 7257 case 190: 7258 /* linux_getxattr */ 7259 case 191: 7260 /* linux_lgetxattr */ 7261 case 192: 7262 /* linux_fgetxattr */ 7263 case 193: 7264 /* linux_listxattr */ 7265 case 194: 7266 /* linux_llistxattr */ 7267 case 195: 7268 /* linux_flistxattr */ 7269 case 196: 7270 /* linux_removexattr */ 7271 case 197: 7272 /* linux_lremovexattr */ 7273 case 198: 7274 /* linux_fremovexattr */ 7275 case 199: 7276 /* linux_tkill */ 7277 case 200: 7278 if (ndx == 0 || ndx == 1) 7279 p = "int"; 7280 break; 7281 /* linux_time */ 7282 case 201: 7283 if (ndx == 0 || ndx == 1) 7284 p = "int"; 7285 break; 7286 /* linux_sys_futex */ 7287 case 202: 7288 if (ndx == 0 || ndx == 1) 7289 p = "int"; 7290 break; 7291 /* linux_sched_setaffinity */ 7292 case 203: 7293 if (ndx == 0 || ndx == 1) 7294 p = "int"; 7295 break; 7296 /* linux_sched_getaffinity */ 7297 case 204: 7298 if (ndx == 0 || ndx == 1) 7299 p = "int"; 7300 break; 7301 /* linux_lookup_dcookie */ 7302 case 212: 7303 /* linux_epoll_create */ 7304 case 213: 7305 if (ndx == 0 || ndx == 1) 7306 p = "int"; 7307 break; 7308 /* linux_remap_file_pages */ 7309 case 216: 7310 /* linux_getdents64 */ 7311 case 217: 7312 if (ndx == 0 || ndx == 1) 7313 p = "int"; 7314 break; 7315 /* linux_set_tid_address */ 7316 case 218: 7317 if (ndx == 0 || ndx == 1) 7318 p = "int"; 7319 break; 7320 /* linux_semtimedop */ 7321 case 220: 7322 /* linux_fadvise64 */ 7323 case 221: 7324 if (ndx == 0 || ndx == 1) 7325 p = "int"; 7326 break; 7327 /* linux_timer_create */ 7328 case 222: 7329 if (ndx == 0 || ndx == 1) 7330 p = "int"; 7331 break; 7332 /* linux_timer_settime */ 7333 case 223: 7334 if (ndx == 0 || ndx == 1) 7335 p = "int"; 7336 break; 7337 /* linux_timer_gettime */ 7338 case 224: 7339 if (ndx == 0 || ndx == 1) 7340 p = "int"; 7341 break; 7342 /* linux_timer_getoverrun */ 7343 case 225: 7344 if (ndx == 0 || ndx == 1) 7345 p = "int"; 7346 break; 7347 /* linux_timer_delete */ 7348 case 226: 7349 if (ndx == 0 || ndx == 1) 7350 p = "int"; 7351 break; 7352 /* linux_clock_settime */ 7353 case 227: 7354 if (ndx == 0 || ndx == 1) 7355 p = "int"; 7356 break; 7357 /* linux_clock_gettime */ 7358 case 228: 7359 if (ndx == 0 || ndx == 1) 7360 p = "int"; 7361 break; 7362 /* linux_clock_getres */ 7363 case 229: 7364 if (ndx == 0 || ndx == 1) 7365 p = "int"; 7366 break; 7367 /* linux_clock_nanosleep */ 7368 case 230: 7369 if (ndx == 0 || ndx == 1) 7370 p = "int"; 7371 break; 7372 /* linux_exit_group */ 7373 case 231: 7374 if (ndx == 0 || ndx == 1) 7375 p = "int"; 7376 break; 7377 /* linux_epoll_wait */ 7378 case 232: 7379 if (ndx == 0 || ndx == 1) 7380 p = "int"; 7381 break; 7382 /* linux_epoll_ctl */ 7383 case 233: 7384 if (ndx == 0 || ndx == 1) 7385 p = "int"; 7386 break; 7387 /* linux_tgkill */ 7388 case 234: 7389 if (ndx == 0 || ndx == 1) 7390 p = "int"; 7391 break; 7392 /* linux_utimes */ 7393 case 235: 7394 if (ndx == 0 || ndx == 1) 7395 p = "int"; 7396 break; 7397 /* linux_mbind */ 7398 case 237: 7399 /* linux_set_mempolicy */ 7400 case 238: 7401 /* linux_get_mempolicy */ 7402 case 239: 7403 /* linux_mq_open */ 7404 case 240: 7405 /* linux_mq_unlink */ 7406 case 241: 7407 /* linux_mq_timedsend */ 7408 case 242: 7409 /* linux_mq_timedreceive */ 7410 case 243: 7411 /* linux_mq_notify */ 7412 case 244: 7413 /* linux_mq_getsetattr */ 7414 case 245: 7415 /* linux_kexec_load */ 7416 case 246: 7417 /* linux_waitid */ 7418 case 247: 7419 if (ndx == 0 || ndx == 1) 7420 p = "int"; 7421 break; 7422 /* linux_add_key */ 7423 case 248: 7424 /* linux_request_key */ 7425 case 249: 7426 /* linux_keyctl */ 7427 case 250: 7428 /* linux_ioprio_set */ 7429 case 251: 7430 /* linux_ioprio_get */ 7431 case 252: 7432 /* linux_inotify_init */ 7433 case 253: 7434 /* linux_inotify_add_watch */ 7435 case 254: 7436 /* linux_inotify_rm_watch */ 7437 case 255: 7438 /* linux_migrate_pages */ 7439 case 256: 7440 /* linux_openat */ 7441 case 257: 7442 if (ndx == 0 || ndx == 1) 7443 p = "int"; 7444 break; 7445 /* linux_mkdirat */ 7446 case 258: 7447 if (ndx == 0 || ndx == 1) 7448 p = "int"; 7449 break; 7450 /* linux_mknodat */ 7451 case 259: 7452 if (ndx == 0 || ndx == 1) 7453 p = "int"; 7454 break; 7455 /* linux_fchownat */ 7456 case 260: 7457 if (ndx == 0 || ndx == 1) 7458 p = "int"; 7459 break; 7460 /* linux_futimesat */ 7461 case 261: 7462 if (ndx == 0 || ndx == 1) 7463 p = "int"; 7464 break; 7465 /* linux_newfstatat */ 7466 case 262: 7467 if (ndx == 0 || ndx == 1) 7468 p = "int"; 7469 break; 7470 /* linux_unlinkat */ 7471 case 263: 7472 if (ndx == 0 || ndx == 1) 7473 p = "int"; 7474 break; 7475 /* linux_renameat */ 7476 case 264: 7477 if (ndx == 0 || ndx == 1) 7478 p = "int"; 7479 break; 7480 /* linux_linkat */ 7481 case 265: 7482 if (ndx == 0 || ndx == 1) 7483 p = "int"; 7484 break; 7485 /* linux_symlinkat */ 7486 case 266: 7487 if (ndx == 0 || ndx == 1) 7488 p = "int"; 7489 break; 7490 /* linux_readlinkat */ 7491 case 267: 7492 if (ndx == 0 || ndx == 1) 7493 p = "int"; 7494 break; 7495 /* linux_fchmodat */ 7496 case 268: 7497 if (ndx == 0 || ndx == 1) 7498 p = "int"; 7499 break; 7500 /* linux_faccessat */ 7501 case 269: 7502 if (ndx == 0 || ndx == 1) 7503 p = "int"; 7504 break; 7505 /* linux_pselect6 */ 7506 case 270: 7507 if (ndx == 0 || ndx == 1) 7508 p = "int"; 7509 break; 7510 /* linux_ppoll */ 7511 case 271: 7512 if (ndx == 0 || ndx == 1) 7513 p = "int"; 7514 break; 7515 /* linux_unshare */ 7516 case 272: 7517 /* linux_set_robust_list */ 7518 case 273: 7519 if (ndx == 0 || ndx == 1) 7520 p = "int"; 7521 break; 7522 /* linux_get_robust_list */ 7523 case 274: 7524 if (ndx == 0 || ndx == 1) 7525 p = "int"; 7526 break; 7527 /* linux_splice */ 7528 case 275: 7529 /* linux_tee */ 7530 case 276: 7531 /* linux_sync_file_range */ 7532 case 277: 7533 if (ndx == 0 || ndx == 1) 7534 p = "int"; 7535 break; 7536 /* linux_vmsplice */ 7537 case 278: 7538 /* linux_move_pages */ 7539 case 279: 7540 /* linux_utimensat */ 7541 case 280: 7542 if (ndx == 0 || ndx == 1) 7543 p = "int"; 7544 break; 7545 /* linux_epoll_pwait */ 7546 case 281: 7547 if (ndx == 0 || ndx == 1) 7548 p = "int"; 7549 break; 7550 /* linux_signalfd */ 7551 case 282: 7552 /* linux_timerfd_create */ 7553 case 283: 7554 if (ndx == 0 || ndx == 1) 7555 p = "int"; 7556 break; 7557 /* linux_eventfd */ 7558 case 284: 7559 if (ndx == 0 || ndx == 1) 7560 p = "int"; 7561 break; 7562 /* linux_fallocate */ 7563 case 285: 7564 if (ndx == 0 || ndx == 1) 7565 p = "int"; 7566 break; 7567 /* linux_timerfd_settime */ 7568 case 286: 7569 if (ndx == 0 || ndx == 1) 7570 p = "int"; 7571 break; 7572 /* linux_timerfd_gettime */ 7573 case 287: 7574 if (ndx == 0 || ndx == 1) 7575 p = "int"; 7576 break; 7577 /* linux_accept4 */ 7578 case 288: 7579 if (ndx == 0 || ndx == 1) 7580 p = "int"; 7581 break; 7582 /* linux_signalfd4 */ 7583 case 289: 7584 /* linux_eventfd2 */ 7585 case 290: 7586 if (ndx == 0 || ndx == 1) 7587 p = "int"; 7588 break; 7589 /* linux_epoll_create1 */ 7590 case 291: 7591 if (ndx == 0 || ndx == 1) 7592 p = "int"; 7593 break; 7594 /* linux_dup3 */ 7595 case 292: 7596 if (ndx == 0 || ndx == 1) 7597 p = "int"; 7598 break; 7599 /* linux_pipe2 */ 7600 case 293: 7601 if (ndx == 0 || ndx == 1) 7602 p = "int"; 7603 break; 7604 /* linux_inotify_init1 */ 7605 case 294: 7606 if (ndx == 0 || ndx == 1) 7607 p = "int"; 7608 break; 7609 /* linux_preadv */ 7610 case 295: 7611 if (ndx == 0 || ndx == 1) 7612 p = "int"; 7613 break; 7614 /* linux_pwritev */ 7615 case 296: 7616 if (ndx == 0 || ndx == 1) 7617 p = "int"; 7618 break; 7619 /* linux_rt_tgsigqueueinfo */ 7620 case 297: 7621 if (ndx == 0 || ndx == 1) 7622 p = "int"; 7623 break; 7624 /* linux_perf_event_open */ 7625 case 298: 7626 /* linux_recvmmsg */ 7627 case 299: 7628 if (ndx == 0 || ndx == 1) 7629 p = "int"; 7630 break; 7631 /* linux_fanotify_init */ 7632 case 300: 7633 /* linux_fanotify_mark */ 7634 case 301: 7635 /* linux_prlimit64 */ 7636 case 302: 7637 if (ndx == 0 || ndx == 1) 7638 p = "int"; 7639 break; 7640 /* linux_name_to_handle_at */ 7641 case 303: 7642 /* linux_open_by_handle_at */ 7643 case 304: 7644 /* linux_clock_adjtime */ 7645 case 305: 7646 /* linux_syncfs */ 7647 case 306: 7648 if (ndx == 0 || ndx == 1) 7649 p = "int"; 7650 break; 7651 /* linux_sendmmsg */ 7652 case 307: 7653 if (ndx == 0 || ndx == 1) 7654 p = "int"; 7655 break; 7656 /* linux_setns */ 7657 case 308: 7658 if (ndx == 0 || ndx == 1) 7659 p = "int"; 7660 break; 7661 /* linux_getcpu */ 7662 case 309: 7663 if (ndx == 0 || ndx == 1) 7664 p = "int"; 7665 break; 7666 /* linux_process_vm_readv */ 7667 case 310: 7668 if (ndx == 0 || ndx == 1) 7669 p = "int"; 7670 break; 7671 /* linux_process_vm_writev */ 7672 case 311: 7673 if (ndx == 0 || ndx == 1) 7674 p = "int"; 7675 break; 7676 /* linux_kcmp */ 7677 case 312: 7678 if (ndx == 0 || ndx == 1) 7679 p = "int"; 7680 break; 7681 /* linux_finit_module */ 7682 case 313: 7683 if (ndx == 0 || ndx == 1) 7684 p = "int"; 7685 break; 7686 /* linux_sched_setattr */ 7687 case 314: 7688 if (ndx == 0 || ndx == 1) 7689 p = "int"; 7690 break; 7691 /* linux_sched_getattr */ 7692 case 315: 7693 if (ndx == 0 || ndx == 1) 7694 p = "int"; 7695 break; 7696 /* linux_renameat2 */ 7697 case 316: 7698 if (ndx == 0 || ndx == 1) 7699 p = "int"; 7700 break; 7701 /* linux_seccomp */ 7702 case 317: 7703 if (ndx == 0 || ndx == 1) 7704 p = "int"; 7705 break; 7706 /* linux_getrandom */ 7707 case 318: 7708 if (ndx == 0 || ndx == 1) 7709 p = "int"; 7710 break; 7711 /* linux_memfd_create */ 7712 case 319: 7713 if (ndx == 0 || ndx == 1) 7714 p = "int"; 7715 break; 7716 /* linux_kexec_file_load */ 7717 case 320: 7718 if (ndx == 0 || ndx == 1) 7719 p = "int"; 7720 break; 7721 /* linux_bpf */ 7722 case 321: 7723 if (ndx == 0 || ndx == 1) 7724 p = "int"; 7725 break; 7726 /* linux_execveat */ 7727 case 322: 7728 if (ndx == 0 || ndx == 1) 7729 p = "int"; 7730 break; 7731 /* linux_userfaultfd */ 7732 case 323: 7733 if (ndx == 0 || ndx == 1) 7734 p = "int"; 7735 break; 7736 /* linux_membarrier */ 7737 case 324: 7738 if (ndx == 0 || ndx == 1) 7739 p = "int"; 7740 break; 7741 /* linux_mlock2 */ 7742 case 325: 7743 if (ndx == 0 || ndx == 1) 7744 p = "int"; 7745 break; 7746 /* linux_copy_file_range */ 7747 case 326: 7748 if (ndx == 0 || ndx == 1) 7749 p = "int"; 7750 break; 7751 /* linux_preadv2 */ 7752 case 327: 7753 if (ndx == 0 || ndx == 1) 7754 p = "int"; 7755 break; 7756 /* linux_pwritev2 */ 7757 case 328: 7758 if (ndx == 0 || ndx == 1) 7759 p = "int"; 7760 break; 7761 /* linux_pkey_mprotect */ 7762 case 329: 7763 if (ndx == 0 || ndx == 1) 7764 p = "int"; 7765 break; 7766 /* linux_pkey_alloc */ 7767 case 330: 7768 if (ndx == 0 || ndx == 1) 7769 p = "int"; 7770 break; 7771 /* linux_pkey_free */ 7772 case 331: 7773 if (ndx == 0 || ndx == 1) 7774 p = "int"; 7775 break; 7776 /* linux_statx */ 7777 case 332: 7778 if (ndx == 0 || ndx == 1) 7779 p = "int"; 7780 break; 7781 /* linux_io_pgetevents */ 7782 case 333: 7783 /* linux_rseq */ 7784 case 334: 7785 /* linux_pidfd_send_signal */ 7786 case 424: 7787 if (ndx == 0 || ndx == 1) 7788 p = "int"; 7789 break; 7790 /* linux_io_uring_setup */ 7791 case 425: 7792 /* linux_io_uring_enter */ 7793 case 426: 7794 /* linux_io_uring_register */ 7795 case 427: 7796 default: 7797 break; 7798 }; 7799 if (p != NULL) 7800 strlcpy(desc, p, descsz); 7801 } 7802