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