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 iarg[1] = p->stack; /* l_ulong */ 513 uarg[2] = (intptr_t)p->parent_tidptr; /* l_int * */ 514 uarg[3] = (intptr_t)p->child_tidptr; /* l_int * */ 515 iarg[4] = p->tls; /* l_ulong */ 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 struct linux_clone3_args *p = params; 2681 uarg[0] = (intptr_t)p->uargs; /* struct l_user_clone_args * */ 2682 iarg[1] = p->usize; /* l_size_t */ 2683 *n_args = 2; 2684 break; 2685 } 2686 /* linux_close_range */ 2687 case 436: { 2688 *n_args = 0; 2689 break; 2690 } 2691 /* linux_openat2 */ 2692 case 437: { 2693 *n_args = 0; 2694 break; 2695 } 2696 /* linux_pidfd_getfd */ 2697 case 438: { 2698 *n_args = 0; 2699 break; 2700 } 2701 /* linux_faccessat2 */ 2702 case 439: { 2703 struct linux_faccessat2_args *p = params; 2704 iarg[0] = p->dfd; /* l_int */ 2705 uarg[1] = (intptr_t)p->filename; /* const char * */ 2706 iarg[2] = p->amode; /* l_int */ 2707 iarg[3] = p->flags; /* l_int */ 2708 *n_args = 4; 2709 break; 2710 } 2711 /* linux_process_madvise */ 2712 case 440: { 2713 *n_args = 0; 2714 break; 2715 } 2716 /* linux_epoll_pwait2 */ 2717 case 441: { 2718 *n_args = 0; 2719 break; 2720 } 2721 /* linux_mount_setattr */ 2722 case 442: { 2723 *n_args = 0; 2724 break; 2725 } 2726 default: 2727 *n_args = 0; 2728 break; 2729 }; 2730 } 2731 static void 2732 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) 2733 { 2734 const char *p = NULL; 2735 switch (sysnum) { 2736 #define nosys linux_nosys 2737 /* read */ 2738 case 0: 2739 switch (ndx) { 2740 case 0: 2741 p = "int"; 2742 break; 2743 case 1: 2744 p = "userland char *"; 2745 break; 2746 case 2: 2747 p = "l_size_t"; 2748 break; 2749 default: 2750 break; 2751 }; 2752 break; 2753 /* write */ 2754 case 1: 2755 switch (ndx) { 2756 case 0: 2757 p = "int"; 2758 break; 2759 case 1: 2760 p = "userland char *"; 2761 break; 2762 case 2: 2763 p = "l_size_t"; 2764 break; 2765 default: 2766 break; 2767 }; 2768 break; 2769 /* linux_open */ 2770 case 2: 2771 switch (ndx) { 2772 case 0: 2773 p = "userland char *"; 2774 break; 2775 case 1: 2776 p = "l_int"; 2777 break; 2778 case 2: 2779 p = "l_mode_t"; 2780 break; 2781 default: 2782 break; 2783 }; 2784 break; 2785 /* close */ 2786 case 3: 2787 switch (ndx) { 2788 case 0: 2789 p = "int"; 2790 break; 2791 default: 2792 break; 2793 }; 2794 break; 2795 /* linux_newstat */ 2796 case 4: 2797 switch (ndx) { 2798 case 0: 2799 p = "userland char *"; 2800 break; 2801 case 1: 2802 p = "userland struct l_newstat *"; 2803 break; 2804 default: 2805 break; 2806 }; 2807 break; 2808 /* linux_newfstat */ 2809 case 5: 2810 switch (ndx) { 2811 case 0: 2812 p = "l_uint"; 2813 break; 2814 case 1: 2815 p = "userland struct l_newstat *"; 2816 break; 2817 default: 2818 break; 2819 }; 2820 break; 2821 /* linux_newlstat */ 2822 case 6: 2823 switch (ndx) { 2824 case 0: 2825 p = "userland char *"; 2826 break; 2827 case 1: 2828 p = "userland struct l_newstat *"; 2829 break; 2830 default: 2831 break; 2832 }; 2833 break; 2834 /* linux_poll */ 2835 case 7: 2836 switch (ndx) { 2837 case 0: 2838 p = "userland struct pollfd *"; 2839 break; 2840 case 1: 2841 p = "u_int"; 2842 break; 2843 case 2: 2844 p = "int"; 2845 break; 2846 default: 2847 break; 2848 }; 2849 break; 2850 /* linux_lseek */ 2851 case 8: 2852 switch (ndx) { 2853 case 0: 2854 p = "l_uint"; 2855 break; 2856 case 1: 2857 p = "l_off_t"; 2858 break; 2859 case 2: 2860 p = "l_int"; 2861 break; 2862 default: 2863 break; 2864 }; 2865 break; 2866 /* linux_mmap2 */ 2867 case 9: 2868 switch (ndx) { 2869 case 0: 2870 p = "l_ulong"; 2871 break; 2872 case 1: 2873 p = "l_ulong"; 2874 break; 2875 case 2: 2876 p = "l_ulong"; 2877 break; 2878 case 3: 2879 p = "l_ulong"; 2880 break; 2881 case 4: 2882 p = "l_ulong"; 2883 break; 2884 case 5: 2885 p = "l_ulong"; 2886 break; 2887 default: 2888 break; 2889 }; 2890 break; 2891 /* linux_mprotect */ 2892 case 10: 2893 switch (ndx) { 2894 case 0: 2895 p = "l_ulong"; 2896 break; 2897 case 1: 2898 p = "l_size_t"; 2899 break; 2900 case 2: 2901 p = "l_ulong"; 2902 break; 2903 default: 2904 break; 2905 }; 2906 break; 2907 /* munmap */ 2908 case 11: 2909 switch (ndx) { 2910 case 0: 2911 p = "userland void *"; 2912 break; 2913 case 1: 2914 p = "l_size_t"; 2915 break; 2916 default: 2917 break; 2918 }; 2919 break; 2920 /* linux_brk */ 2921 case 12: 2922 switch (ndx) { 2923 case 0: 2924 p = "l_ulong"; 2925 break; 2926 default: 2927 break; 2928 }; 2929 break; 2930 /* linux_rt_sigaction */ 2931 case 13: 2932 switch (ndx) { 2933 case 0: 2934 p = "l_int"; 2935 break; 2936 case 1: 2937 p = "userland l_sigaction_t *"; 2938 break; 2939 case 2: 2940 p = "userland l_sigaction_t *"; 2941 break; 2942 case 3: 2943 p = "l_size_t"; 2944 break; 2945 default: 2946 break; 2947 }; 2948 break; 2949 /* linux_rt_sigprocmask */ 2950 case 14: 2951 switch (ndx) { 2952 case 0: 2953 p = "l_int"; 2954 break; 2955 case 1: 2956 p = "userland l_sigset_t *"; 2957 break; 2958 case 2: 2959 p = "userland l_sigset_t *"; 2960 break; 2961 case 3: 2962 p = "l_size_t"; 2963 break; 2964 default: 2965 break; 2966 }; 2967 break; 2968 /* linux_rt_sigreturn */ 2969 case 15: 2970 switch (ndx) { 2971 case 0: 2972 p = "userland struct l_ucontext *"; 2973 break; 2974 default: 2975 break; 2976 }; 2977 break; 2978 /* linux_ioctl */ 2979 case 16: 2980 switch (ndx) { 2981 case 0: 2982 p = "l_uint"; 2983 break; 2984 case 1: 2985 p = "l_uint"; 2986 break; 2987 case 2: 2988 p = "l_ulong"; 2989 break; 2990 default: 2991 break; 2992 }; 2993 break; 2994 /* linux_pread */ 2995 case 17: 2996 switch (ndx) { 2997 case 0: 2998 p = "l_uint"; 2999 break; 3000 case 1: 3001 p = "userland char *"; 3002 break; 3003 case 2: 3004 p = "l_size_t"; 3005 break; 3006 case 3: 3007 p = "l_loff_t"; 3008 break; 3009 default: 3010 break; 3011 }; 3012 break; 3013 /* linux_pwrite */ 3014 case 18: 3015 switch (ndx) { 3016 case 0: 3017 p = "l_uint"; 3018 break; 3019 case 1: 3020 p = "userland char *"; 3021 break; 3022 case 2: 3023 p = "l_size_t"; 3024 break; 3025 case 3: 3026 p = "l_loff_t"; 3027 break; 3028 default: 3029 break; 3030 }; 3031 break; 3032 /* readv */ 3033 case 19: 3034 switch (ndx) { 3035 case 0: 3036 p = "int"; 3037 break; 3038 case 1: 3039 p = "userland struct iovec *"; 3040 break; 3041 case 2: 3042 p = "u_int"; 3043 break; 3044 default: 3045 break; 3046 }; 3047 break; 3048 /* writev */ 3049 case 20: 3050 switch (ndx) { 3051 case 0: 3052 p = "int"; 3053 break; 3054 case 1: 3055 p = "userland struct iovec *"; 3056 break; 3057 case 2: 3058 p = "u_int"; 3059 break; 3060 default: 3061 break; 3062 }; 3063 break; 3064 /* linux_access */ 3065 case 21: 3066 switch (ndx) { 3067 case 0: 3068 p = "userland char *"; 3069 break; 3070 case 1: 3071 p = "l_int"; 3072 break; 3073 default: 3074 break; 3075 }; 3076 break; 3077 /* linux_pipe */ 3078 case 22: 3079 switch (ndx) { 3080 case 0: 3081 p = "userland l_int *"; 3082 break; 3083 default: 3084 break; 3085 }; 3086 break; 3087 /* linux_select */ 3088 case 23: 3089 switch (ndx) { 3090 case 0: 3091 p = "l_int"; 3092 break; 3093 case 1: 3094 p = "userland l_fd_set *"; 3095 break; 3096 case 2: 3097 p = "userland l_fd_set *"; 3098 break; 3099 case 3: 3100 p = "userland l_fd_set *"; 3101 break; 3102 case 4: 3103 p = "userland struct l_timeval *"; 3104 break; 3105 default: 3106 break; 3107 }; 3108 break; 3109 /* sched_yield */ 3110 case 24: 3111 break; 3112 /* linux_mremap */ 3113 case 25: 3114 switch (ndx) { 3115 case 0: 3116 p = "l_ulong"; 3117 break; 3118 case 1: 3119 p = "l_ulong"; 3120 break; 3121 case 2: 3122 p = "l_ulong"; 3123 break; 3124 case 3: 3125 p = "l_ulong"; 3126 break; 3127 case 4: 3128 p = "l_ulong"; 3129 break; 3130 default: 3131 break; 3132 }; 3133 break; 3134 /* linux_msync */ 3135 case 26: 3136 switch (ndx) { 3137 case 0: 3138 p = "l_ulong"; 3139 break; 3140 case 1: 3141 p = "l_size_t"; 3142 break; 3143 case 2: 3144 p = "l_int"; 3145 break; 3146 default: 3147 break; 3148 }; 3149 break; 3150 /* linux_mincore */ 3151 case 27: 3152 switch (ndx) { 3153 case 0: 3154 p = "l_ulong"; 3155 break; 3156 case 1: 3157 p = "l_size_t"; 3158 break; 3159 case 2: 3160 p = "userland u_char *"; 3161 break; 3162 default: 3163 break; 3164 }; 3165 break; 3166 /* linux_madvise */ 3167 case 28: 3168 switch (ndx) { 3169 case 0: 3170 p = "l_ulong"; 3171 break; 3172 case 1: 3173 p = "l_size_t"; 3174 break; 3175 case 2: 3176 p = "l_int"; 3177 break; 3178 default: 3179 break; 3180 }; 3181 break; 3182 /* linux_shmget */ 3183 case 29: 3184 switch (ndx) { 3185 case 0: 3186 p = "l_key_t"; 3187 break; 3188 case 1: 3189 p = "l_size_t"; 3190 break; 3191 case 2: 3192 p = "l_int"; 3193 break; 3194 default: 3195 break; 3196 }; 3197 break; 3198 /* linux_shmat */ 3199 case 30: 3200 switch (ndx) { 3201 case 0: 3202 p = "l_int"; 3203 break; 3204 case 1: 3205 p = "userland char *"; 3206 break; 3207 case 2: 3208 p = "l_int"; 3209 break; 3210 default: 3211 break; 3212 }; 3213 break; 3214 /* linux_shmctl */ 3215 case 31: 3216 switch (ndx) { 3217 case 0: 3218 p = "l_int"; 3219 break; 3220 case 1: 3221 p = "l_int"; 3222 break; 3223 case 2: 3224 p = "userland struct l_shmid_ds *"; 3225 break; 3226 default: 3227 break; 3228 }; 3229 break; 3230 /* dup */ 3231 case 32: 3232 switch (ndx) { 3233 case 0: 3234 p = "u_int"; 3235 break; 3236 default: 3237 break; 3238 }; 3239 break; 3240 /* dup2 */ 3241 case 33: 3242 switch (ndx) { 3243 case 0: 3244 p = "u_int"; 3245 break; 3246 case 1: 3247 p = "u_int"; 3248 break; 3249 default: 3250 break; 3251 }; 3252 break; 3253 /* linux_pause */ 3254 case 34: 3255 break; 3256 /* linux_nanosleep */ 3257 case 35: 3258 switch (ndx) { 3259 case 0: 3260 p = "userland const struct l_timespec *"; 3261 break; 3262 case 1: 3263 p = "userland struct l_timespec *"; 3264 break; 3265 default: 3266 break; 3267 }; 3268 break; 3269 /* linux_getitimer */ 3270 case 36: 3271 switch (ndx) { 3272 case 0: 3273 p = "l_int"; 3274 break; 3275 case 1: 3276 p = "userland struct l_itimerval *"; 3277 break; 3278 default: 3279 break; 3280 }; 3281 break; 3282 /* linux_alarm */ 3283 case 37: 3284 switch (ndx) { 3285 case 0: 3286 p = "l_uint"; 3287 break; 3288 default: 3289 break; 3290 }; 3291 break; 3292 /* linux_setitimer */ 3293 case 38: 3294 switch (ndx) { 3295 case 0: 3296 p = "l_int"; 3297 break; 3298 case 1: 3299 p = "userland struct l_itimerval *"; 3300 break; 3301 case 2: 3302 p = "userland struct l_itimerval *"; 3303 break; 3304 default: 3305 break; 3306 }; 3307 break; 3308 /* linux_getpid */ 3309 case 39: 3310 break; 3311 /* linux_sendfile */ 3312 case 40: 3313 switch (ndx) { 3314 case 0: 3315 p = "l_int"; 3316 break; 3317 case 1: 3318 p = "l_int"; 3319 break; 3320 case 2: 3321 p = "userland l_off_t *"; 3322 break; 3323 case 3: 3324 p = "l_size_t"; 3325 break; 3326 default: 3327 break; 3328 }; 3329 break; 3330 /* linux_socket */ 3331 case 41: 3332 switch (ndx) { 3333 case 0: 3334 p = "l_int"; 3335 break; 3336 case 1: 3337 p = "l_int"; 3338 break; 3339 case 2: 3340 p = "l_int"; 3341 break; 3342 default: 3343 break; 3344 }; 3345 break; 3346 /* linux_connect */ 3347 case 42: 3348 switch (ndx) { 3349 case 0: 3350 p = "l_int"; 3351 break; 3352 case 1: 3353 p = "l_uintptr_t"; 3354 break; 3355 case 2: 3356 p = "l_int"; 3357 break; 3358 default: 3359 break; 3360 }; 3361 break; 3362 /* linux_accept */ 3363 case 43: 3364 switch (ndx) { 3365 case 0: 3366 p = "l_int"; 3367 break; 3368 case 1: 3369 p = "l_uintptr_t"; 3370 break; 3371 case 2: 3372 p = "l_uintptr_t"; 3373 break; 3374 default: 3375 break; 3376 }; 3377 break; 3378 /* linux_sendto */ 3379 case 44: 3380 switch (ndx) { 3381 case 0: 3382 p = "l_int"; 3383 break; 3384 case 1: 3385 p = "l_uintptr_t"; 3386 break; 3387 case 2: 3388 p = "l_size_t"; 3389 break; 3390 case 3: 3391 p = "l_uint"; 3392 break; 3393 case 4: 3394 p = "l_uintptr_t"; 3395 break; 3396 case 5: 3397 p = "l_int"; 3398 break; 3399 default: 3400 break; 3401 }; 3402 break; 3403 /* linux_recvfrom */ 3404 case 45: 3405 switch (ndx) { 3406 case 0: 3407 p = "l_int"; 3408 break; 3409 case 1: 3410 p = "l_uintptr_t"; 3411 break; 3412 case 2: 3413 p = "l_size_t"; 3414 break; 3415 case 3: 3416 p = "l_uint"; 3417 break; 3418 case 4: 3419 p = "l_uintptr_t"; 3420 break; 3421 case 5: 3422 p = "l_uintptr_t"; 3423 break; 3424 default: 3425 break; 3426 }; 3427 break; 3428 /* linux_sendmsg */ 3429 case 46: 3430 switch (ndx) { 3431 case 0: 3432 p = "l_int"; 3433 break; 3434 case 1: 3435 p = "l_uintptr_t"; 3436 break; 3437 case 2: 3438 p = "l_uint"; 3439 break; 3440 default: 3441 break; 3442 }; 3443 break; 3444 /* linux_recvmsg */ 3445 case 47: 3446 switch (ndx) { 3447 case 0: 3448 p = "l_int"; 3449 break; 3450 case 1: 3451 p = "l_uintptr_t"; 3452 break; 3453 case 2: 3454 p = "l_uint"; 3455 break; 3456 default: 3457 break; 3458 }; 3459 break; 3460 /* linux_shutdown */ 3461 case 48: 3462 switch (ndx) { 3463 case 0: 3464 p = "l_int"; 3465 break; 3466 case 1: 3467 p = "l_int"; 3468 break; 3469 default: 3470 break; 3471 }; 3472 break; 3473 /* linux_bind */ 3474 case 49: 3475 switch (ndx) { 3476 case 0: 3477 p = "l_int"; 3478 break; 3479 case 1: 3480 p = "l_uintptr_t"; 3481 break; 3482 case 2: 3483 p = "l_int"; 3484 break; 3485 default: 3486 break; 3487 }; 3488 break; 3489 /* linux_listen */ 3490 case 50: 3491 switch (ndx) { 3492 case 0: 3493 p = "l_int"; 3494 break; 3495 case 1: 3496 p = "l_int"; 3497 break; 3498 default: 3499 break; 3500 }; 3501 break; 3502 /* linux_getsockname */ 3503 case 51: 3504 switch (ndx) { 3505 case 0: 3506 p = "l_int"; 3507 break; 3508 case 1: 3509 p = "l_uintptr_t"; 3510 break; 3511 case 2: 3512 p = "l_uintptr_t"; 3513 break; 3514 default: 3515 break; 3516 }; 3517 break; 3518 /* linux_getpeername */ 3519 case 52: 3520 switch (ndx) { 3521 case 0: 3522 p = "l_int"; 3523 break; 3524 case 1: 3525 p = "l_uintptr_t"; 3526 break; 3527 case 2: 3528 p = "l_uintptr_t"; 3529 break; 3530 default: 3531 break; 3532 }; 3533 break; 3534 /* linux_socketpair */ 3535 case 53: 3536 switch (ndx) { 3537 case 0: 3538 p = "l_int"; 3539 break; 3540 case 1: 3541 p = "l_int"; 3542 break; 3543 case 2: 3544 p = "l_int"; 3545 break; 3546 case 3: 3547 p = "l_uintptr_t"; 3548 break; 3549 default: 3550 break; 3551 }; 3552 break; 3553 /* linux_setsockopt */ 3554 case 54: 3555 switch (ndx) { 3556 case 0: 3557 p = "l_int"; 3558 break; 3559 case 1: 3560 p = "l_int"; 3561 break; 3562 case 2: 3563 p = "l_int"; 3564 break; 3565 case 3: 3566 p = "l_uintptr_t"; 3567 break; 3568 case 4: 3569 p = "l_int"; 3570 break; 3571 default: 3572 break; 3573 }; 3574 break; 3575 /* linux_getsockopt */ 3576 case 55: 3577 switch (ndx) { 3578 case 0: 3579 p = "l_int"; 3580 break; 3581 case 1: 3582 p = "l_int"; 3583 break; 3584 case 2: 3585 p = "l_int"; 3586 break; 3587 case 3: 3588 p = "l_uintptr_t"; 3589 break; 3590 case 4: 3591 p = "l_uintptr_t"; 3592 break; 3593 default: 3594 break; 3595 }; 3596 break; 3597 /* linux_clone */ 3598 case 56: 3599 switch (ndx) { 3600 case 0: 3601 p = "l_ulong"; 3602 break; 3603 case 1: 3604 p = "l_ulong"; 3605 break; 3606 case 2: 3607 p = "userland l_int *"; 3608 break; 3609 case 3: 3610 p = "userland l_int *"; 3611 break; 3612 case 4: 3613 p = "l_ulong"; 3614 break; 3615 default: 3616 break; 3617 }; 3618 break; 3619 /* linux_fork */ 3620 case 57: 3621 break; 3622 /* linux_vfork */ 3623 case 58: 3624 break; 3625 /* linux_execve */ 3626 case 59: 3627 switch (ndx) { 3628 case 0: 3629 p = "userland char *"; 3630 break; 3631 case 1: 3632 p = "userland char **"; 3633 break; 3634 case 2: 3635 p = "userland char **"; 3636 break; 3637 default: 3638 break; 3639 }; 3640 break; 3641 /* linux_exit */ 3642 case 60: 3643 switch (ndx) { 3644 case 0: 3645 p = "l_int"; 3646 break; 3647 default: 3648 break; 3649 }; 3650 break; 3651 /* linux_wait4 */ 3652 case 61: 3653 switch (ndx) { 3654 case 0: 3655 p = "l_pid_t"; 3656 break; 3657 case 1: 3658 p = "userland l_int *"; 3659 break; 3660 case 2: 3661 p = "l_int"; 3662 break; 3663 case 3: 3664 p = "userland struct rusage *"; 3665 break; 3666 default: 3667 break; 3668 }; 3669 break; 3670 /* linux_kill */ 3671 case 62: 3672 switch (ndx) { 3673 case 0: 3674 p = "l_pid_t"; 3675 break; 3676 case 1: 3677 p = "l_int"; 3678 break; 3679 default: 3680 break; 3681 }; 3682 break; 3683 /* linux_newuname */ 3684 case 63: 3685 switch (ndx) { 3686 case 0: 3687 p = "userland struct l_new_utsname *"; 3688 break; 3689 default: 3690 break; 3691 }; 3692 break; 3693 /* linux_semget */ 3694 case 64: 3695 switch (ndx) { 3696 case 0: 3697 p = "l_key_t"; 3698 break; 3699 case 1: 3700 p = "l_int"; 3701 break; 3702 case 2: 3703 p = "l_int"; 3704 break; 3705 default: 3706 break; 3707 }; 3708 break; 3709 /* linux_semop */ 3710 case 65: 3711 switch (ndx) { 3712 case 0: 3713 p = "l_int"; 3714 break; 3715 case 1: 3716 p = "userland struct l_sembuf *"; 3717 break; 3718 case 2: 3719 p = "l_uint"; 3720 break; 3721 default: 3722 break; 3723 }; 3724 break; 3725 /* linux_semctl */ 3726 case 66: 3727 switch (ndx) { 3728 case 0: 3729 p = "l_int"; 3730 break; 3731 case 1: 3732 p = "l_int"; 3733 break; 3734 case 2: 3735 p = "l_int"; 3736 break; 3737 case 3: 3738 p = "union l_semun"; 3739 break; 3740 default: 3741 break; 3742 }; 3743 break; 3744 /* linux_shmdt */ 3745 case 67: 3746 switch (ndx) { 3747 case 0: 3748 p = "userland char *"; 3749 break; 3750 default: 3751 break; 3752 }; 3753 break; 3754 /* linux_msgget */ 3755 case 68: 3756 switch (ndx) { 3757 case 0: 3758 p = "l_key_t"; 3759 break; 3760 case 1: 3761 p = "l_int"; 3762 break; 3763 default: 3764 break; 3765 }; 3766 break; 3767 /* linux_msgsnd */ 3768 case 69: 3769 switch (ndx) { 3770 case 0: 3771 p = "l_int"; 3772 break; 3773 case 1: 3774 p = "userland struct l_msgbuf *"; 3775 break; 3776 case 2: 3777 p = "l_size_t"; 3778 break; 3779 case 3: 3780 p = "l_int"; 3781 break; 3782 default: 3783 break; 3784 }; 3785 break; 3786 /* linux_msgrcv */ 3787 case 70: 3788 switch (ndx) { 3789 case 0: 3790 p = "l_int"; 3791 break; 3792 case 1: 3793 p = "userland struct l_msgbuf *"; 3794 break; 3795 case 2: 3796 p = "l_size_t"; 3797 break; 3798 case 3: 3799 p = "l_long"; 3800 break; 3801 case 4: 3802 p = "l_int"; 3803 break; 3804 default: 3805 break; 3806 }; 3807 break; 3808 /* linux_msgctl */ 3809 case 71: 3810 switch (ndx) { 3811 case 0: 3812 p = "l_int"; 3813 break; 3814 case 1: 3815 p = "l_int"; 3816 break; 3817 case 2: 3818 p = "userland struct l_msqid_ds *"; 3819 break; 3820 default: 3821 break; 3822 }; 3823 break; 3824 /* linux_fcntl */ 3825 case 72: 3826 switch (ndx) { 3827 case 0: 3828 p = "l_uint"; 3829 break; 3830 case 1: 3831 p = "l_uint"; 3832 break; 3833 case 2: 3834 p = "l_ulong"; 3835 break; 3836 default: 3837 break; 3838 }; 3839 break; 3840 /* flock */ 3841 case 73: 3842 switch (ndx) { 3843 case 0: 3844 p = "int"; 3845 break; 3846 case 1: 3847 p = "int"; 3848 break; 3849 default: 3850 break; 3851 }; 3852 break; 3853 /* fsync */ 3854 case 74: 3855 switch (ndx) { 3856 case 0: 3857 p = "int"; 3858 break; 3859 default: 3860 break; 3861 }; 3862 break; 3863 /* linux_fdatasync */ 3864 case 75: 3865 switch (ndx) { 3866 case 0: 3867 p = "l_uint"; 3868 break; 3869 default: 3870 break; 3871 }; 3872 break; 3873 /* linux_truncate */ 3874 case 76: 3875 switch (ndx) { 3876 case 0: 3877 p = "userland char *"; 3878 break; 3879 case 1: 3880 p = "l_long"; 3881 break; 3882 default: 3883 break; 3884 }; 3885 break; 3886 /* linux_ftruncate */ 3887 case 77: 3888 switch (ndx) { 3889 case 0: 3890 p = "l_int"; 3891 break; 3892 case 1: 3893 p = "l_ulong"; 3894 break; 3895 default: 3896 break; 3897 }; 3898 break; 3899 /* linux_getdents */ 3900 case 78: 3901 switch (ndx) { 3902 case 0: 3903 p = "l_uint"; 3904 break; 3905 case 1: 3906 p = "userland void *"; 3907 break; 3908 case 2: 3909 p = "l_uint"; 3910 break; 3911 default: 3912 break; 3913 }; 3914 break; 3915 /* linux_getcwd */ 3916 case 79: 3917 switch (ndx) { 3918 case 0: 3919 p = "userland char *"; 3920 break; 3921 case 1: 3922 p = "l_ulong"; 3923 break; 3924 default: 3925 break; 3926 }; 3927 break; 3928 /* linux_chdir */ 3929 case 80: 3930 switch (ndx) { 3931 case 0: 3932 p = "userland char *"; 3933 break; 3934 default: 3935 break; 3936 }; 3937 break; 3938 /* fchdir */ 3939 case 81: 3940 switch (ndx) { 3941 case 0: 3942 p = "int"; 3943 break; 3944 default: 3945 break; 3946 }; 3947 break; 3948 /* linux_rename */ 3949 case 82: 3950 switch (ndx) { 3951 case 0: 3952 p = "userland char *"; 3953 break; 3954 case 1: 3955 p = "userland char *"; 3956 break; 3957 default: 3958 break; 3959 }; 3960 break; 3961 /* linux_mkdir */ 3962 case 83: 3963 switch (ndx) { 3964 case 0: 3965 p = "userland char *"; 3966 break; 3967 case 1: 3968 p = "l_mode_t"; 3969 break; 3970 default: 3971 break; 3972 }; 3973 break; 3974 /* linux_rmdir */ 3975 case 84: 3976 switch (ndx) { 3977 case 0: 3978 p = "userland char *"; 3979 break; 3980 default: 3981 break; 3982 }; 3983 break; 3984 /* linux_creat */ 3985 case 85: 3986 switch (ndx) { 3987 case 0: 3988 p = "userland char *"; 3989 break; 3990 case 1: 3991 p = "l_mode_t"; 3992 break; 3993 default: 3994 break; 3995 }; 3996 break; 3997 /* linux_link */ 3998 case 86: 3999 switch (ndx) { 4000 case 0: 4001 p = "userland char *"; 4002 break; 4003 case 1: 4004 p = "userland char *"; 4005 break; 4006 default: 4007 break; 4008 }; 4009 break; 4010 /* linux_unlink */ 4011 case 87: 4012 switch (ndx) { 4013 case 0: 4014 p = "userland char *"; 4015 break; 4016 default: 4017 break; 4018 }; 4019 break; 4020 /* linux_symlink */ 4021 case 88: 4022 switch (ndx) { 4023 case 0: 4024 p = "userland char *"; 4025 break; 4026 case 1: 4027 p = "userland char *"; 4028 break; 4029 default: 4030 break; 4031 }; 4032 break; 4033 /* linux_readlink */ 4034 case 89: 4035 switch (ndx) { 4036 case 0: 4037 p = "userland char *"; 4038 break; 4039 case 1: 4040 p = "userland char *"; 4041 break; 4042 case 2: 4043 p = "l_int"; 4044 break; 4045 default: 4046 break; 4047 }; 4048 break; 4049 /* linux_chmod */ 4050 case 90: 4051 switch (ndx) { 4052 case 0: 4053 p = "userland char *"; 4054 break; 4055 case 1: 4056 p = "l_mode_t"; 4057 break; 4058 default: 4059 break; 4060 }; 4061 break; 4062 /* fchmod */ 4063 case 91: 4064 switch (ndx) { 4065 case 0: 4066 p = "int"; 4067 break; 4068 case 1: 4069 p = "int"; 4070 break; 4071 default: 4072 break; 4073 }; 4074 break; 4075 /* linux_chown */ 4076 case 92: 4077 switch (ndx) { 4078 case 0: 4079 p = "userland char *"; 4080 break; 4081 case 1: 4082 p = "l_uid_t"; 4083 break; 4084 case 2: 4085 p = "l_gid_t"; 4086 break; 4087 default: 4088 break; 4089 }; 4090 break; 4091 /* fchown */ 4092 case 93: 4093 switch (ndx) { 4094 case 0: 4095 p = "int"; 4096 break; 4097 case 1: 4098 p = "int"; 4099 break; 4100 case 2: 4101 p = "int"; 4102 break; 4103 default: 4104 break; 4105 }; 4106 break; 4107 /* linux_lchown */ 4108 case 94: 4109 switch (ndx) { 4110 case 0: 4111 p = "userland char *"; 4112 break; 4113 case 1: 4114 p = "l_uid_t"; 4115 break; 4116 case 2: 4117 p = "l_gid_t"; 4118 break; 4119 default: 4120 break; 4121 }; 4122 break; 4123 /* umask */ 4124 case 95: 4125 switch (ndx) { 4126 case 0: 4127 p = "int"; 4128 break; 4129 default: 4130 break; 4131 }; 4132 break; 4133 /* gettimeofday */ 4134 case 96: 4135 switch (ndx) { 4136 case 0: 4137 p = "userland struct l_timeval *"; 4138 break; 4139 case 1: 4140 p = "userland struct timezone *"; 4141 break; 4142 default: 4143 break; 4144 }; 4145 break; 4146 /* linux_getrlimit */ 4147 case 97: 4148 switch (ndx) { 4149 case 0: 4150 p = "l_uint"; 4151 break; 4152 case 1: 4153 p = "userland struct l_rlimit *"; 4154 break; 4155 default: 4156 break; 4157 }; 4158 break; 4159 /* getrusage */ 4160 case 98: 4161 switch (ndx) { 4162 case 0: 4163 p = "int"; 4164 break; 4165 case 1: 4166 p = "userland struct rusage *"; 4167 break; 4168 default: 4169 break; 4170 }; 4171 break; 4172 /* linux_sysinfo */ 4173 case 99: 4174 switch (ndx) { 4175 case 0: 4176 p = "userland struct l_sysinfo *"; 4177 break; 4178 default: 4179 break; 4180 }; 4181 break; 4182 /* linux_times */ 4183 case 100: 4184 switch (ndx) { 4185 case 0: 4186 p = "userland struct l_times_argv *"; 4187 break; 4188 default: 4189 break; 4190 }; 4191 break; 4192 /* linux_ptrace */ 4193 case 101: 4194 switch (ndx) { 4195 case 0: 4196 p = "l_long"; 4197 break; 4198 case 1: 4199 p = "l_long"; 4200 break; 4201 case 2: 4202 p = "l_ulong"; 4203 break; 4204 case 3: 4205 p = "l_ulong"; 4206 break; 4207 default: 4208 break; 4209 }; 4210 break; 4211 /* linux_getuid */ 4212 case 102: 4213 break; 4214 /* linux_syslog */ 4215 case 103: 4216 switch (ndx) { 4217 case 0: 4218 p = "l_int"; 4219 break; 4220 case 1: 4221 p = "userland char *"; 4222 break; 4223 case 2: 4224 p = "l_int"; 4225 break; 4226 default: 4227 break; 4228 }; 4229 break; 4230 /* linux_getgid */ 4231 case 104: 4232 break; 4233 /* setuid */ 4234 case 105: 4235 switch (ndx) { 4236 case 0: 4237 p = "uid_t"; 4238 break; 4239 default: 4240 break; 4241 }; 4242 break; 4243 /* setgid */ 4244 case 106: 4245 switch (ndx) { 4246 case 0: 4247 p = "gid_t"; 4248 break; 4249 default: 4250 break; 4251 }; 4252 break; 4253 /* geteuid */ 4254 case 107: 4255 break; 4256 /* getegid */ 4257 case 108: 4258 break; 4259 /* setpgid */ 4260 case 109: 4261 switch (ndx) { 4262 case 0: 4263 p = "int"; 4264 break; 4265 case 1: 4266 p = "int"; 4267 break; 4268 default: 4269 break; 4270 }; 4271 break; 4272 /* linux_getppid */ 4273 case 110: 4274 break; 4275 /* getpgrp */ 4276 case 111: 4277 break; 4278 /* setsid */ 4279 case 112: 4280 break; 4281 /* setreuid */ 4282 case 113: 4283 switch (ndx) { 4284 case 0: 4285 p = "uid_t"; 4286 break; 4287 case 1: 4288 p = "uid_t"; 4289 break; 4290 default: 4291 break; 4292 }; 4293 break; 4294 /* setregid */ 4295 case 114: 4296 switch (ndx) { 4297 case 0: 4298 p = "gid_t"; 4299 break; 4300 case 1: 4301 p = "gid_t"; 4302 break; 4303 default: 4304 break; 4305 }; 4306 break; 4307 /* linux_getgroups */ 4308 case 115: 4309 switch (ndx) { 4310 case 0: 4311 p = "l_int"; 4312 break; 4313 case 1: 4314 p = "userland l_gid_t *"; 4315 break; 4316 default: 4317 break; 4318 }; 4319 break; 4320 /* linux_setgroups */ 4321 case 116: 4322 switch (ndx) { 4323 case 0: 4324 p = "l_int"; 4325 break; 4326 case 1: 4327 p = "userland l_gid_t *"; 4328 break; 4329 default: 4330 break; 4331 }; 4332 break; 4333 /* setresuid */ 4334 case 117: 4335 switch (ndx) { 4336 case 0: 4337 p = "uid_t"; 4338 break; 4339 case 1: 4340 p = "uid_t"; 4341 break; 4342 case 2: 4343 p = "uid_t"; 4344 break; 4345 default: 4346 break; 4347 }; 4348 break; 4349 /* getresuid */ 4350 case 118: 4351 switch (ndx) { 4352 case 0: 4353 p = "userland uid_t *"; 4354 break; 4355 case 1: 4356 p = "userland uid_t *"; 4357 break; 4358 case 2: 4359 p = "userland uid_t *"; 4360 break; 4361 default: 4362 break; 4363 }; 4364 break; 4365 /* setresgid */ 4366 case 119: 4367 switch (ndx) { 4368 case 0: 4369 p = "gid_t"; 4370 break; 4371 case 1: 4372 p = "gid_t"; 4373 break; 4374 case 2: 4375 p = "gid_t"; 4376 break; 4377 default: 4378 break; 4379 }; 4380 break; 4381 /* getresgid */ 4382 case 120: 4383 switch (ndx) { 4384 case 0: 4385 p = "userland gid_t *"; 4386 break; 4387 case 1: 4388 p = "userland gid_t *"; 4389 break; 4390 case 2: 4391 p = "userland gid_t *"; 4392 break; 4393 default: 4394 break; 4395 }; 4396 break; 4397 /* getpgid */ 4398 case 121: 4399 switch (ndx) { 4400 case 0: 4401 p = "int"; 4402 break; 4403 default: 4404 break; 4405 }; 4406 break; 4407 /* linux_setfsuid */ 4408 case 122: 4409 switch (ndx) { 4410 case 0: 4411 p = "l_uid_t"; 4412 break; 4413 default: 4414 break; 4415 }; 4416 break; 4417 /* linux_setfsgid */ 4418 case 123: 4419 switch (ndx) { 4420 case 0: 4421 p = "l_gid_t"; 4422 break; 4423 default: 4424 break; 4425 }; 4426 break; 4427 /* linux_getsid */ 4428 case 124: 4429 switch (ndx) { 4430 case 0: 4431 p = "l_pid_t"; 4432 break; 4433 default: 4434 break; 4435 }; 4436 break; 4437 /* linux_capget */ 4438 case 125: 4439 switch (ndx) { 4440 case 0: 4441 p = "userland struct l_user_cap_header *"; 4442 break; 4443 case 1: 4444 p = "userland struct l_user_cap_data *"; 4445 break; 4446 default: 4447 break; 4448 }; 4449 break; 4450 /* linux_capset */ 4451 case 126: 4452 switch (ndx) { 4453 case 0: 4454 p = "userland struct l_user_cap_header *"; 4455 break; 4456 case 1: 4457 p = "userland struct l_user_cap_data *"; 4458 break; 4459 default: 4460 break; 4461 }; 4462 break; 4463 /* linux_rt_sigpending */ 4464 case 127: 4465 switch (ndx) { 4466 case 0: 4467 p = "userland l_sigset_t *"; 4468 break; 4469 case 1: 4470 p = "l_size_t"; 4471 break; 4472 default: 4473 break; 4474 }; 4475 break; 4476 /* linux_rt_sigtimedwait */ 4477 case 128: 4478 switch (ndx) { 4479 case 0: 4480 p = "userland l_sigset_t *"; 4481 break; 4482 case 1: 4483 p = "userland l_siginfo_t *"; 4484 break; 4485 case 2: 4486 p = "userland struct l_timespec *"; 4487 break; 4488 case 3: 4489 p = "l_size_t"; 4490 break; 4491 default: 4492 break; 4493 }; 4494 break; 4495 /* linux_rt_sigqueueinfo */ 4496 case 129: 4497 switch (ndx) { 4498 case 0: 4499 p = "l_pid_t"; 4500 break; 4501 case 1: 4502 p = "l_int"; 4503 break; 4504 case 2: 4505 p = "userland l_siginfo_t *"; 4506 break; 4507 default: 4508 break; 4509 }; 4510 break; 4511 /* linux_rt_sigsuspend */ 4512 case 130: 4513 switch (ndx) { 4514 case 0: 4515 p = "userland l_sigset_t *"; 4516 break; 4517 case 1: 4518 p = "l_size_t"; 4519 break; 4520 default: 4521 break; 4522 }; 4523 break; 4524 /* linux_sigaltstack */ 4525 case 131: 4526 switch (ndx) { 4527 case 0: 4528 p = "userland l_stack_t *"; 4529 break; 4530 case 1: 4531 p = "userland l_stack_t *"; 4532 break; 4533 default: 4534 break; 4535 }; 4536 break; 4537 /* linux_utime */ 4538 case 132: 4539 switch (ndx) { 4540 case 0: 4541 p = "userland char *"; 4542 break; 4543 case 1: 4544 p = "userland struct l_utimbuf *"; 4545 break; 4546 default: 4547 break; 4548 }; 4549 break; 4550 /* linux_mknod */ 4551 case 133: 4552 switch (ndx) { 4553 case 0: 4554 p = "userland char *"; 4555 break; 4556 case 1: 4557 p = "l_mode_t"; 4558 break; 4559 case 2: 4560 p = "l_uint"; 4561 break; 4562 default: 4563 break; 4564 }; 4565 break; 4566 /* linux_personality */ 4567 case 135: 4568 switch (ndx) { 4569 case 0: 4570 p = "l_uint"; 4571 break; 4572 default: 4573 break; 4574 }; 4575 break; 4576 /* linux_ustat */ 4577 case 136: 4578 switch (ndx) { 4579 case 0: 4580 p = "l_uint"; 4581 break; 4582 case 1: 4583 p = "userland struct l_ustat *"; 4584 break; 4585 default: 4586 break; 4587 }; 4588 break; 4589 /* linux_statfs */ 4590 case 137: 4591 switch (ndx) { 4592 case 0: 4593 p = "userland char *"; 4594 break; 4595 case 1: 4596 p = "userland struct l_statfs_buf *"; 4597 break; 4598 default: 4599 break; 4600 }; 4601 break; 4602 /* linux_fstatfs */ 4603 case 138: 4604 switch (ndx) { 4605 case 0: 4606 p = "l_uint"; 4607 break; 4608 case 1: 4609 p = "userland struct l_statfs_buf *"; 4610 break; 4611 default: 4612 break; 4613 }; 4614 break; 4615 /* linux_sysfs */ 4616 case 139: 4617 switch (ndx) { 4618 case 0: 4619 p = "l_int"; 4620 break; 4621 case 1: 4622 p = "l_ulong"; 4623 break; 4624 case 2: 4625 p = "l_ulong"; 4626 break; 4627 default: 4628 break; 4629 }; 4630 break; 4631 /* linux_getpriority */ 4632 case 140: 4633 switch (ndx) { 4634 case 0: 4635 p = "l_int"; 4636 break; 4637 case 1: 4638 p = "l_int"; 4639 break; 4640 default: 4641 break; 4642 }; 4643 break; 4644 /* setpriority */ 4645 case 141: 4646 switch (ndx) { 4647 case 0: 4648 p = "int"; 4649 break; 4650 case 1: 4651 p = "int"; 4652 break; 4653 case 2: 4654 p = "int"; 4655 break; 4656 default: 4657 break; 4658 }; 4659 break; 4660 /* linux_sched_setparam */ 4661 case 142: 4662 switch (ndx) { 4663 case 0: 4664 p = "l_pid_t"; 4665 break; 4666 case 1: 4667 p = "userland struct sched_param *"; 4668 break; 4669 default: 4670 break; 4671 }; 4672 break; 4673 /* linux_sched_getparam */ 4674 case 143: 4675 switch (ndx) { 4676 case 0: 4677 p = "l_pid_t"; 4678 break; 4679 case 1: 4680 p = "userland struct sched_param *"; 4681 break; 4682 default: 4683 break; 4684 }; 4685 break; 4686 /* linux_sched_setscheduler */ 4687 case 144: 4688 switch (ndx) { 4689 case 0: 4690 p = "l_pid_t"; 4691 break; 4692 case 1: 4693 p = "l_int"; 4694 break; 4695 case 2: 4696 p = "userland struct sched_param *"; 4697 break; 4698 default: 4699 break; 4700 }; 4701 break; 4702 /* linux_sched_getscheduler */ 4703 case 145: 4704 switch (ndx) { 4705 case 0: 4706 p = "l_pid_t"; 4707 break; 4708 default: 4709 break; 4710 }; 4711 break; 4712 /* linux_sched_get_priority_max */ 4713 case 146: 4714 switch (ndx) { 4715 case 0: 4716 p = "l_int"; 4717 break; 4718 default: 4719 break; 4720 }; 4721 break; 4722 /* linux_sched_get_priority_min */ 4723 case 147: 4724 switch (ndx) { 4725 case 0: 4726 p = "l_int"; 4727 break; 4728 default: 4729 break; 4730 }; 4731 break; 4732 /* linux_sched_rr_get_interval */ 4733 case 148: 4734 switch (ndx) { 4735 case 0: 4736 p = "l_pid_t"; 4737 break; 4738 case 1: 4739 p = "userland struct l_timespec *"; 4740 break; 4741 default: 4742 break; 4743 }; 4744 break; 4745 /* mlock */ 4746 case 149: 4747 switch (ndx) { 4748 case 0: 4749 p = "userland const void *"; 4750 break; 4751 case 1: 4752 p = "size_t"; 4753 break; 4754 default: 4755 break; 4756 }; 4757 break; 4758 /* munlock */ 4759 case 150: 4760 switch (ndx) { 4761 case 0: 4762 p = "userland const void *"; 4763 break; 4764 case 1: 4765 p = "size_t"; 4766 break; 4767 default: 4768 break; 4769 }; 4770 break; 4771 /* mlockall */ 4772 case 151: 4773 switch (ndx) { 4774 case 0: 4775 p = "int"; 4776 break; 4777 default: 4778 break; 4779 }; 4780 break; 4781 /* munlockall */ 4782 case 152: 4783 break; 4784 /* linux_vhangup */ 4785 case 153: 4786 break; 4787 /* linux_modify_ldt */ 4788 case 154: 4789 break; 4790 /* linux_pivot_root */ 4791 case 155: 4792 break; 4793 /* linux_sysctl */ 4794 case 156: 4795 switch (ndx) { 4796 case 0: 4797 p = "userland struct l___sysctl_args *"; 4798 break; 4799 default: 4800 break; 4801 }; 4802 break; 4803 /* linux_prctl */ 4804 case 157: 4805 switch (ndx) { 4806 case 0: 4807 p = "l_int"; 4808 break; 4809 case 1: 4810 p = "l_uintptr_t"; 4811 break; 4812 case 2: 4813 p = "l_uintptr_t"; 4814 break; 4815 case 3: 4816 p = "l_uintptr_t"; 4817 break; 4818 case 4: 4819 p = "l_uintptr_t"; 4820 break; 4821 default: 4822 break; 4823 }; 4824 break; 4825 /* linux_arch_prctl */ 4826 case 158: 4827 switch (ndx) { 4828 case 0: 4829 p = "l_int"; 4830 break; 4831 case 1: 4832 p = "l_ulong"; 4833 break; 4834 default: 4835 break; 4836 }; 4837 break; 4838 /* linux_adjtimex */ 4839 case 159: 4840 break; 4841 /* linux_setrlimit */ 4842 case 160: 4843 switch (ndx) { 4844 case 0: 4845 p = "l_uint"; 4846 break; 4847 case 1: 4848 p = "userland struct l_rlimit *"; 4849 break; 4850 default: 4851 break; 4852 }; 4853 break; 4854 /* chroot */ 4855 case 161: 4856 switch (ndx) { 4857 case 0: 4858 p = "userland char *"; 4859 break; 4860 default: 4861 break; 4862 }; 4863 break; 4864 /* sync */ 4865 case 162: 4866 break; 4867 /* acct */ 4868 case 163: 4869 switch (ndx) { 4870 case 0: 4871 p = "userland char *"; 4872 break; 4873 default: 4874 break; 4875 }; 4876 break; 4877 /* settimeofday */ 4878 case 164: 4879 switch (ndx) { 4880 case 0: 4881 p = "userland struct l_timeval *"; 4882 break; 4883 case 1: 4884 p = "userland struct timezone *"; 4885 break; 4886 default: 4887 break; 4888 }; 4889 break; 4890 /* linux_mount */ 4891 case 165: 4892 switch (ndx) { 4893 case 0: 4894 p = "userland char *"; 4895 break; 4896 case 1: 4897 p = "userland char *"; 4898 break; 4899 case 2: 4900 p = "userland char *"; 4901 break; 4902 case 3: 4903 p = "l_ulong"; 4904 break; 4905 case 4: 4906 p = "userland void *"; 4907 break; 4908 default: 4909 break; 4910 }; 4911 break; 4912 /* linux_umount */ 4913 case 166: 4914 switch (ndx) { 4915 case 0: 4916 p = "userland char *"; 4917 break; 4918 case 1: 4919 p = "l_int"; 4920 break; 4921 default: 4922 break; 4923 }; 4924 break; 4925 /* swapon */ 4926 case 167: 4927 switch (ndx) { 4928 case 0: 4929 p = "userland char *"; 4930 break; 4931 default: 4932 break; 4933 }; 4934 break; 4935 /* linux_swapoff */ 4936 case 168: 4937 break; 4938 /* linux_reboot */ 4939 case 169: 4940 switch (ndx) { 4941 case 0: 4942 p = "l_int"; 4943 break; 4944 case 1: 4945 p = "l_int"; 4946 break; 4947 case 2: 4948 p = "l_uint"; 4949 break; 4950 case 3: 4951 p = "userland void *"; 4952 break; 4953 default: 4954 break; 4955 }; 4956 break; 4957 /* linux_sethostname */ 4958 case 170: 4959 switch (ndx) { 4960 case 0: 4961 p = "userland char *"; 4962 break; 4963 case 1: 4964 p = "l_int"; 4965 break; 4966 default: 4967 break; 4968 }; 4969 break; 4970 /* linux_setdomainname */ 4971 case 171: 4972 switch (ndx) { 4973 case 0: 4974 p = "userland char *"; 4975 break; 4976 case 1: 4977 p = "l_int"; 4978 break; 4979 default: 4980 break; 4981 }; 4982 break; 4983 /* linux_iopl */ 4984 case 172: 4985 switch (ndx) { 4986 case 0: 4987 p = "l_uint"; 4988 break; 4989 default: 4990 break; 4991 }; 4992 break; 4993 /* linux_ioperm */ 4994 case 173: 4995 break; 4996 /* linux_init_module */ 4997 case 175: 4998 break; 4999 /* linux_delete_module */ 5000 case 176: 5001 break; 5002 /* linux_quotactl */ 5003 case 179: 5004 break; 5005 /* linux_gettid */ 5006 case 186: 5007 break; 5008 /* linux_readahead */ 5009 case 187: 5010 break; 5011 /* linux_setxattr */ 5012 case 188: 5013 switch (ndx) { 5014 case 0: 5015 p = "userland const char *"; 5016 break; 5017 case 1: 5018 p = "userland const char *"; 5019 break; 5020 case 2: 5021 p = "userland const char *"; 5022 break; 5023 case 3: 5024 p = "l_size_t"; 5025 break; 5026 case 4: 5027 p = "l_int"; 5028 break; 5029 default: 5030 break; 5031 }; 5032 break; 5033 /* linux_lsetxattr */ 5034 case 189: 5035 switch (ndx) { 5036 case 0: 5037 p = "userland const char *"; 5038 break; 5039 case 1: 5040 p = "userland const char *"; 5041 break; 5042 case 2: 5043 p = "userland const char *"; 5044 break; 5045 case 3: 5046 p = "l_size_t"; 5047 break; 5048 case 4: 5049 p = "l_int"; 5050 break; 5051 default: 5052 break; 5053 }; 5054 break; 5055 /* linux_fsetxattr */ 5056 case 190: 5057 switch (ndx) { 5058 case 0: 5059 p = "l_int"; 5060 break; 5061 case 1: 5062 p = "userland const char *"; 5063 break; 5064 case 2: 5065 p = "userland const char *"; 5066 break; 5067 case 3: 5068 p = "l_size_t"; 5069 break; 5070 case 4: 5071 p = "l_int"; 5072 break; 5073 default: 5074 break; 5075 }; 5076 break; 5077 /* linux_getxattr */ 5078 case 191: 5079 switch (ndx) { 5080 case 0: 5081 p = "userland const char *"; 5082 break; 5083 case 1: 5084 p = "userland const char *"; 5085 break; 5086 case 2: 5087 p = "userland char *"; 5088 break; 5089 case 3: 5090 p = "l_size_t"; 5091 break; 5092 default: 5093 break; 5094 }; 5095 break; 5096 /* linux_lgetxattr */ 5097 case 192: 5098 switch (ndx) { 5099 case 0: 5100 p = "userland const char *"; 5101 break; 5102 case 1: 5103 p = "userland const char *"; 5104 break; 5105 case 2: 5106 p = "userland char *"; 5107 break; 5108 case 3: 5109 p = "l_size_t"; 5110 break; 5111 default: 5112 break; 5113 }; 5114 break; 5115 /* linux_fgetxattr */ 5116 case 193: 5117 switch (ndx) { 5118 case 0: 5119 p = "l_int"; 5120 break; 5121 case 1: 5122 p = "userland const char *"; 5123 break; 5124 case 2: 5125 p = "userland char *"; 5126 break; 5127 case 3: 5128 p = "l_size_t"; 5129 break; 5130 default: 5131 break; 5132 }; 5133 break; 5134 /* linux_listxattr */ 5135 case 194: 5136 switch (ndx) { 5137 case 0: 5138 p = "userland const char *"; 5139 break; 5140 case 1: 5141 p = "userland const char *"; 5142 break; 5143 case 2: 5144 p = "l_size_t"; 5145 break; 5146 default: 5147 break; 5148 }; 5149 break; 5150 /* linux_llistxattr */ 5151 case 195: 5152 switch (ndx) { 5153 case 0: 5154 p = "userland const char *"; 5155 break; 5156 case 1: 5157 p = "userland const char *"; 5158 break; 5159 case 2: 5160 p = "l_size_t"; 5161 break; 5162 default: 5163 break; 5164 }; 5165 break; 5166 /* linux_flistxattr */ 5167 case 196: 5168 switch (ndx) { 5169 case 0: 5170 p = "l_int"; 5171 break; 5172 case 1: 5173 p = "userland const char *"; 5174 break; 5175 case 2: 5176 p = "l_size_t"; 5177 break; 5178 default: 5179 break; 5180 }; 5181 break; 5182 /* linux_removexattr */ 5183 case 197: 5184 switch (ndx) { 5185 case 0: 5186 p = "userland const char *"; 5187 break; 5188 case 1: 5189 p = "userland const char *"; 5190 break; 5191 default: 5192 break; 5193 }; 5194 break; 5195 /* linux_lremovexattr */ 5196 case 198: 5197 switch (ndx) { 5198 case 0: 5199 p = "userland const char *"; 5200 break; 5201 case 1: 5202 p = "userland const char *"; 5203 break; 5204 default: 5205 break; 5206 }; 5207 break; 5208 /* linux_fremovexattr */ 5209 case 199: 5210 switch (ndx) { 5211 case 0: 5212 p = "l_int"; 5213 break; 5214 case 1: 5215 p = "userland const char *"; 5216 break; 5217 default: 5218 break; 5219 }; 5220 break; 5221 /* linux_tkill */ 5222 case 200: 5223 switch (ndx) { 5224 case 0: 5225 p = "l_pid_t"; 5226 break; 5227 case 1: 5228 p = "l_int"; 5229 break; 5230 default: 5231 break; 5232 }; 5233 break; 5234 /* linux_time */ 5235 case 201: 5236 switch (ndx) { 5237 case 0: 5238 p = "userland l_time_t *"; 5239 break; 5240 default: 5241 break; 5242 }; 5243 break; 5244 /* linux_sys_futex */ 5245 case 202: 5246 switch (ndx) { 5247 case 0: 5248 p = "userland uint32_t *"; 5249 break; 5250 case 1: 5251 p = "l_int"; 5252 break; 5253 case 2: 5254 p = "uint32_t"; 5255 break; 5256 case 3: 5257 p = "userland struct l_timespec *"; 5258 break; 5259 case 4: 5260 p = "userland uint32_t *"; 5261 break; 5262 case 5: 5263 p = "uint32_t"; 5264 break; 5265 default: 5266 break; 5267 }; 5268 break; 5269 /* linux_sched_setaffinity */ 5270 case 203: 5271 switch (ndx) { 5272 case 0: 5273 p = "l_pid_t"; 5274 break; 5275 case 1: 5276 p = "l_uint"; 5277 break; 5278 case 2: 5279 p = "userland l_ulong *"; 5280 break; 5281 default: 5282 break; 5283 }; 5284 break; 5285 /* linux_sched_getaffinity */ 5286 case 204: 5287 switch (ndx) { 5288 case 0: 5289 p = "l_pid_t"; 5290 break; 5291 case 1: 5292 p = "l_uint"; 5293 break; 5294 case 2: 5295 p = "userland l_ulong *"; 5296 break; 5297 default: 5298 break; 5299 }; 5300 break; 5301 /* linux_io_setup */ 5302 case 206: 5303 break; 5304 /* linux_io_destroy */ 5305 case 207: 5306 break; 5307 /* linux_io_getevents */ 5308 case 208: 5309 break; 5310 /* linux_io_submit */ 5311 case 209: 5312 break; 5313 /* linux_io_cancel */ 5314 case 210: 5315 break; 5316 /* linux_lookup_dcookie */ 5317 case 212: 5318 break; 5319 /* linux_epoll_create */ 5320 case 213: 5321 switch (ndx) { 5322 case 0: 5323 p = "l_int"; 5324 break; 5325 default: 5326 break; 5327 }; 5328 break; 5329 /* linux_remap_file_pages */ 5330 case 216: 5331 break; 5332 /* linux_getdents64 */ 5333 case 217: 5334 switch (ndx) { 5335 case 0: 5336 p = "l_uint"; 5337 break; 5338 case 1: 5339 p = "userland void *"; 5340 break; 5341 case 2: 5342 p = "l_uint"; 5343 break; 5344 default: 5345 break; 5346 }; 5347 break; 5348 /* linux_set_tid_address */ 5349 case 218: 5350 switch (ndx) { 5351 case 0: 5352 p = "userland l_int *"; 5353 break; 5354 default: 5355 break; 5356 }; 5357 break; 5358 /* linux_restart_syscall */ 5359 case 219: 5360 break; 5361 /* linux_semtimedop */ 5362 case 220: 5363 break; 5364 /* linux_fadvise64 */ 5365 case 221: 5366 switch (ndx) { 5367 case 0: 5368 p = "l_int"; 5369 break; 5370 case 1: 5371 p = "l_loff_t"; 5372 break; 5373 case 2: 5374 p = "l_size_t"; 5375 break; 5376 case 3: 5377 p = "l_int"; 5378 break; 5379 default: 5380 break; 5381 }; 5382 break; 5383 /* linux_timer_create */ 5384 case 222: 5385 switch (ndx) { 5386 case 0: 5387 p = "clockid_t"; 5388 break; 5389 case 1: 5390 p = "userland struct sigevent *"; 5391 break; 5392 case 2: 5393 p = "userland l_timer_t *"; 5394 break; 5395 default: 5396 break; 5397 }; 5398 break; 5399 /* linux_timer_settime */ 5400 case 223: 5401 switch (ndx) { 5402 case 0: 5403 p = "l_timer_t"; 5404 break; 5405 case 1: 5406 p = "l_int"; 5407 break; 5408 case 2: 5409 p = "userland const struct itimerspec *"; 5410 break; 5411 case 3: 5412 p = "userland struct itimerspec *"; 5413 break; 5414 default: 5415 break; 5416 }; 5417 break; 5418 /* linux_timer_gettime */ 5419 case 224: 5420 switch (ndx) { 5421 case 0: 5422 p = "l_timer_t"; 5423 break; 5424 case 1: 5425 p = "userland struct itimerspec *"; 5426 break; 5427 default: 5428 break; 5429 }; 5430 break; 5431 /* linux_timer_getoverrun */ 5432 case 225: 5433 switch (ndx) { 5434 case 0: 5435 p = "l_timer_t"; 5436 break; 5437 default: 5438 break; 5439 }; 5440 break; 5441 /* linux_timer_delete */ 5442 case 226: 5443 switch (ndx) { 5444 case 0: 5445 p = "l_timer_t"; 5446 break; 5447 default: 5448 break; 5449 }; 5450 break; 5451 /* linux_clock_settime */ 5452 case 227: 5453 switch (ndx) { 5454 case 0: 5455 p = "clockid_t"; 5456 break; 5457 case 1: 5458 p = "userland struct l_timespec *"; 5459 break; 5460 default: 5461 break; 5462 }; 5463 break; 5464 /* linux_clock_gettime */ 5465 case 228: 5466 switch (ndx) { 5467 case 0: 5468 p = "clockid_t"; 5469 break; 5470 case 1: 5471 p = "userland struct l_timespec *"; 5472 break; 5473 default: 5474 break; 5475 }; 5476 break; 5477 /* linux_clock_getres */ 5478 case 229: 5479 switch (ndx) { 5480 case 0: 5481 p = "clockid_t"; 5482 break; 5483 case 1: 5484 p = "userland struct l_timespec *"; 5485 break; 5486 default: 5487 break; 5488 }; 5489 break; 5490 /* linux_clock_nanosleep */ 5491 case 230: 5492 switch (ndx) { 5493 case 0: 5494 p = "clockid_t"; 5495 break; 5496 case 1: 5497 p = "l_int"; 5498 break; 5499 case 2: 5500 p = "userland struct l_timespec *"; 5501 break; 5502 case 3: 5503 p = "userland struct l_timespec *"; 5504 break; 5505 default: 5506 break; 5507 }; 5508 break; 5509 /* linux_exit_group */ 5510 case 231: 5511 switch (ndx) { 5512 case 0: 5513 p = "l_int"; 5514 break; 5515 default: 5516 break; 5517 }; 5518 break; 5519 /* linux_epoll_wait */ 5520 case 232: 5521 switch (ndx) { 5522 case 0: 5523 p = "l_int"; 5524 break; 5525 case 1: 5526 p = "userland struct epoll_event *"; 5527 break; 5528 case 2: 5529 p = "l_int"; 5530 break; 5531 case 3: 5532 p = "l_int"; 5533 break; 5534 default: 5535 break; 5536 }; 5537 break; 5538 /* linux_epoll_ctl */ 5539 case 233: 5540 switch (ndx) { 5541 case 0: 5542 p = "l_int"; 5543 break; 5544 case 1: 5545 p = "l_int"; 5546 break; 5547 case 2: 5548 p = "l_int"; 5549 break; 5550 case 3: 5551 p = "userland struct epoll_event *"; 5552 break; 5553 default: 5554 break; 5555 }; 5556 break; 5557 /* linux_tgkill */ 5558 case 234: 5559 switch (ndx) { 5560 case 0: 5561 p = "l_pid_t"; 5562 break; 5563 case 1: 5564 p = "l_pid_t"; 5565 break; 5566 case 2: 5567 p = "l_int"; 5568 break; 5569 default: 5570 break; 5571 }; 5572 break; 5573 /* linux_utimes */ 5574 case 235: 5575 switch (ndx) { 5576 case 0: 5577 p = "userland char *"; 5578 break; 5579 case 1: 5580 p = "userland struct l_timeval *"; 5581 break; 5582 default: 5583 break; 5584 }; 5585 break; 5586 /* linux_mbind */ 5587 case 237: 5588 break; 5589 /* linux_set_mempolicy */ 5590 case 238: 5591 break; 5592 /* linux_get_mempolicy */ 5593 case 239: 5594 break; 5595 /* linux_mq_open */ 5596 case 240: 5597 switch (ndx) { 5598 case 0: 5599 p = "userland const char *"; 5600 break; 5601 case 1: 5602 p = "l_int"; 5603 break; 5604 case 2: 5605 p = "l_mode_t"; 5606 break; 5607 case 3: 5608 p = "userland struct mq_attr *"; 5609 break; 5610 default: 5611 break; 5612 }; 5613 break; 5614 /* linux_mq_unlink */ 5615 case 241: 5616 switch (ndx) { 5617 case 0: 5618 p = "userland const char *"; 5619 break; 5620 default: 5621 break; 5622 }; 5623 break; 5624 /* linux_mq_timedsend */ 5625 case 242: 5626 switch (ndx) { 5627 case 0: 5628 p = "l_mqd_t"; 5629 break; 5630 case 1: 5631 p = "userland const char *"; 5632 break; 5633 case 2: 5634 p = "l_size_t"; 5635 break; 5636 case 3: 5637 p = "l_uint"; 5638 break; 5639 case 4: 5640 p = "userland const struct l_timespec *"; 5641 break; 5642 default: 5643 break; 5644 }; 5645 break; 5646 /* linux_mq_timedreceive */ 5647 case 243: 5648 switch (ndx) { 5649 case 0: 5650 p = "l_mqd_t"; 5651 break; 5652 case 1: 5653 p = "userland char *"; 5654 break; 5655 case 2: 5656 p = "l_size_t"; 5657 break; 5658 case 3: 5659 p = "userland l_uint *"; 5660 break; 5661 case 4: 5662 p = "userland const struct l_timespec *"; 5663 break; 5664 default: 5665 break; 5666 }; 5667 break; 5668 /* linux_mq_notify */ 5669 case 244: 5670 switch (ndx) { 5671 case 0: 5672 p = "l_mqd_t"; 5673 break; 5674 case 1: 5675 p = "userland const struct l_timespec *"; 5676 break; 5677 default: 5678 break; 5679 }; 5680 break; 5681 /* linux_mq_getsetattr */ 5682 case 245: 5683 switch (ndx) { 5684 case 0: 5685 p = "l_mqd_t"; 5686 break; 5687 case 1: 5688 p = "userland const struct mq_attr *"; 5689 break; 5690 case 2: 5691 p = "userland struct mq_attr *"; 5692 break; 5693 default: 5694 break; 5695 }; 5696 break; 5697 /* linux_kexec_load */ 5698 case 246: 5699 break; 5700 /* linux_waitid */ 5701 case 247: 5702 switch (ndx) { 5703 case 0: 5704 p = "l_int"; 5705 break; 5706 case 1: 5707 p = "l_pid_t"; 5708 break; 5709 case 2: 5710 p = "userland l_siginfo_t *"; 5711 break; 5712 case 3: 5713 p = "l_int"; 5714 break; 5715 case 4: 5716 p = "userland struct rusage *"; 5717 break; 5718 default: 5719 break; 5720 }; 5721 break; 5722 /* linux_add_key */ 5723 case 248: 5724 break; 5725 /* linux_request_key */ 5726 case 249: 5727 break; 5728 /* linux_keyctl */ 5729 case 250: 5730 break; 5731 /* linux_ioprio_set */ 5732 case 251: 5733 break; 5734 /* linux_ioprio_get */ 5735 case 252: 5736 break; 5737 /* linux_inotify_init */ 5738 case 253: 5739 break; 5740 /* linux_inotify_add_watch */ 5741 case 254: 5742 break; 5743 /* linux_inotify_rm_watch */ 5744 case 255: 5745 break; 5746 /* linux_migrate_pages */ 5747 case 256: 5748 break; 5749 /* linux_openat */ 5750 case 257: 5751 switch (ndx) { 5752 case 0: 5753 p = "l_int"; 5754 break; 5755 case 1: 5756 p = "userland const char *"; 5757 break; 5758 case 2: 5759 p = "l_int"; 5760 break; 5761 case 3: 5762 p = "l_mode_t"; 5763 break; 5764 default: 5765 break; 5766 }; 5767 break; 5768 /* linux_mkdirat */ 5769 case 258: 5770 switch (ndx) { 5771 case 0: 5772 p = "l_int"; 5773 break; 5774 case 1: 5775 p = "userland const char *"; 5776 break; 5777 case 2: 5778 p = "l_mode_t"; 5779 break; 5780 default: 5781 break; 5782 }; 5783 break; 5784 /* linux_mknodat */ 5785 case 259: 5786 switch (ndx) { 5787 case 0: 5788 p = "l_int"; 5789 break; 5790 case 1: 5791 p = "userland const char *"; 5792 break; 5793 case 2: 5794 p = "l_mode_t"; 5795 break; 5796 case 3: 5797 p = "l_uint"; 5798 break; 5799 default: 5800 break; 5801 }; 5802 break; 5803 /* linux_fchownat */ 5804 case 260: 5805 switch (ndx) { 5806 case 0: 5807 p = "l_int"; 5808 break; 5809 case 1: 5810 p = "userland const char *"; 5811 break; 5812 case 2: 5813 p = "l_uid_t"; 5814 break; 5815 case 3: 5816 p = "l_gid_t"; 5817 break; 5818 case 4: 5819 p = "l_int"; 5820 break; 5821 default: 5822 break; 5823 }; 5824 break; 5825 /* linux_futimesat */ 5826 case 261: 5827 switch (ndx) { 5828 case 0: 5829 p = "l_int"; 5830 break; 5831 case 1: 5832 p = "userland char *"; 5833 break; 5834 case 2: 5835 p = "userland struct l_timeval *"; 5836 break; 5837 default: 5838 break; 5839 }; 5840 break; 5841 /* linux_newfstatat */ 5842 case 262: 5843 switch (ndx) { 5844 case 0: 5845 p = "l_int"; 5846 break; 5847 case 1: 5848 p = "userland char *"; 5849 break; 5850 case 2: 5851 p = "userland struct l_stat64 *"; 5852 break; 5853 case 3: 5854 p = "l_int"; 5855 break; 5856 default: 5857 break; 5858 }; 5859 break; 5860 /* linux_unlinkat */ 5861 case 263: 5862 switch (ndx) { 5863 case 0: 5864 p = "l_int"; 5865 break; 5866 case 1: 5867 p = "userland const char *"; 5868 break; 5869 case 2: 5870 p = "l_int"; 5871 break; 5872 default: 5873 break; 5874 }; 5875 break; 5876 /* linux_renameat */ 5877 case 264: 5878 switch (ndx) { 5879 case 0: 5880 p = "l_int"; 5881 break; 5882 case 1: 5883 p = "userland const char *"; 5884 break; 5885 case 2: 5886 p = "l_int"; 5887 break; 5888 case 3: 5889 p = "userland const char *"; 5890 break; 5891 default: 5892 break; 5893 }; 5894 break; 5895 /* linux_linkat */ 5896 case 265: 5897 switch (ndx) { 5898 case 0: 5899 p = "l_int"; 5900 break; 5901 case 1: 5902 p = "userland const char *"; 5903 break; 5904 case 2: 5905 p = "l_int"; 5906 break; 5907 case 3: 5908 p = "userland const char *"; 5909 break; 5910 case 4: 5911 p = "l_int"; 5912 break; 5913 default: 5914 break; 5915 }; 5916 break; 5917 /* linux_symlinkat */ 5918 case 266: 5919 switch (ndx) { 5920 case 0: 5921 p = "userland const char *"; 5922 break; 5923 case 1: 5924 p = "l_int"; 5925 break; 5926 case 2: 5927 p = "userland const char *"; 5928 break; 5929 default: 5930 break; 5931 }; 5932 break; 5933 /* linux_readlinkat */ 5934 case 267: 5935 switch (ndx) { 5936 case 0: 5937 p = "l_int"; 5938 break; 5939 case 1: 5940 p = "userland const char *"; 5941 break; 5942 case 2: 5943 p = "userland char *"; 5944 break; 5945 case 3: 5946 p = "l_int"; 5947 break; 5948 default: 5949 break; 5950 }; 5951 break; 5952 /* linux_fchmodat */ 5953 case 268: 5954 switch (ndx) { 5955 case 0: 5956 p = "l_int"; 5957 break; 5958 case 1: 5959 p = "userland const char *"; 5960 break; 5961 case 2: 5962 p = "l_mode_t"; 5963 break; 5964 default: 5965 break; 5966 }; 5967 break; 5968 /* linux_faccessat */ 5969 case 269: 5970 switch (ndx) { 5971 case 0: 5972 p = "l_int"; 5973 break; 5974 case 1: 5975 p = "userland const char *"; 5976 break; 5977 case 2: 5978 p = "l_int"; 5979 break; 5980 default: 5981 break; 5982 }; 5983 break; 5984 /* linux_pselect6 */ 5985 case 270: 5986 switch (ndx) { 5987 case 0: 5988 p = "l_int"; 5989 break; 5990 case 1: 5991 p = "userland l_fd_set *"; 5992 break; 5993 case 2: 5994 p = "userland l_fd_set *"; 5995 break; 5996 case 3: 5997 p = "userland l_fd_set *"; 5998 break; 5999 case 4: 6000 p = "userland struct l_timespec *"; 6001 break; 6002 case 5: 6003 p = "userland l_uintptr_t *"; 6004 break; 6005 default: 6006 break; 6007 }; 6008 break; 6009 /* linux_ppoll */ 6010 case 271: 6011 switch (ndx) { 6012 case 0: 6013 p = "userland struct pollfd *"; 6014 break; 6015 case 1: 6016 p = "l_uint"; 6017 break; 6018 case 2: 6019 p = "userland struct l_timespec *"; 6020 break; 6021 case 3: 6022 p = "userland l_sigset_t *"; 6023 break; 6024 case 4: 6025 p = "l_size_t"; 6026 break; 6027 default: 6028 break; 6029 }; 6030 break; 6031 /* linux_unshare */ 6032 case 272: 6033 break; 6034 /* linux_set_robust_list */ 6035 case 273: 6036 switch (ndx) { 6037 case 0: 6038 p = "userland struct linux_robust_list_head *"; 6039 break; 6040 case 1: 6041 p = "l_size_t"; 6042 break; 6043 default: 6044 break; 6045 }; 6046 break; 6047 /* linux_get_robust_list */ 6048 case 274: 6049 switch (ndx) { 6050 case 0: 6051 p = "l_int"; 6052 break; 6053 case 1: 6054 p = "userland struct linux_robust_list_head **"; 6055 break; 6056 case 2: 6057 p = "userland l_size_t *"; 6058 break; 6059 default: 6060 break; 6061 }; 6062 break; 6063 /* linux_splice */ 6064 case 275: 6065 switch (ndx) { 6066 case 0: 6067 p = "int"; 6068 break; 6069 case 1: 6070 p = "userland l_loff_t *"; 6071 break; 6072 case 2: 6073 p = "int"; 6074 break; 6075 case 3: 6076 p = "userland l_loff_t *"; 6077 break; 6078 case 4: 6079 p = "l_size_t"; 6080 break; 6081 case 5: 6082 p = "l_uint"; 6083 break; 6084 default: 6085 break; 6086 }; 6087 break; 6088 /* linux_tee */ 6089 case 276: 6090 break; 6091 /* linux_sync_file_range */ 6092 case 277: 6093 switch (ndx) { 6094 case 0: 6095 p = "l_int"; 6096 break; 6097 case 1: 6098 p = "l_loff_t"; 6099 break; 6100 case 2: 6101 p = "l_loff_t"; 6102 break; 6103 case 3: 6104 p = "l_uint"; 6105 break; 6106 default: 6107 break; 6108 }; 6109 break; 6110 /* linux_vmsplice */ 6111 case 278: 6112 break; 6113 /* linux_move_pages */ 6114 case 279: 6115 break; 6116 /* linux_utimensat */ 6117 case 280: 6118 switch (ndx) { 6119 case 0: 6120 p = "l_int"; 6121 break; 6122 case 1: 6123 p = "userland const char *"; 6124 break; 6125 case 2: 6126 p = "userland const struct l_timespec *"; 6127 break; 6128 case 3: 6129 p = "l_int"; 6130 break; 6131 default: 6132 break; 6133 }; 6134 break; 6135 /* linux_epoll_pwait */ 6136 case 281: 6137 switch (ndx) { 6138 case 0: 6139 p = "l_int"; 6140 break; 6141 case 1: 6142 p = "userland struct epoll_event *"; 6143 break; 6144 case 2: 6145 p = "l_int"; 6146 break; 6147 case 3: 6148 p = "l_int"; 6149 break; 6150 case 4: 6151 p = "userland l_sigset_t *"; 6152 break; 6153 case 5: 6154 p = "l_size_t"; 6155 break; 6156 default: 6157 break; 6158 }; 6159 break; 6160 /* linux_signalfd */ 6161 case 282: 6162 break; 6163 /* linux_timerfd_create */ 6164 case 283: 6165 switch (ndx) { 6166 case 0: 6167 p = "l_int"; 6168 break; 6169 case 1: 6170 p = "l_int"; 6171 break; 6172 default: 6173 break; 6174 }; 6175 break; 6176 /* linux_eventfd */ 6177 case 284: 6178 switch (ndx) { 6179 case 0: 6180 p = "l_uint"; 6181 break; 6182 default: 6183 break; 6184 }; 6185 break; 6186 /* linux_fallocate */ 6187 case 285: 6188 switch (ndx) { 6189 case 0: 6190 p = "l_int"; 6191 break; 6192 case 1: 6193 p = "l_int"; 6194 break; 6195 case 2: 6196 p = "l_loff_t"; 6197 break; 6198 case 3: 6199 p = "l_loff_t"; 6200 break; 6201 default: 6202 break; 6203 }; 6204 break; 6205 /* linux_timerfd_settime */ 6206 case 286: 6207 switch (ndx) { 6208 case 0: 6209 p = "l_int"; 6210 break; 6211 case 1: 6212 p = "l_int"; 6213 break; 6214 case 2: 6215 p = "userland const struct l_itimerspec *"; 6216 break; 6217 case 3: 6218 p = "userland struct l_itimerspec *"; 6219 break; 6220 default: 6221 break; 6222 }; 6223 break; 6224 /* linux_timerfd_gettime */ 6225 case 287: 6226 switch (ndx) { 6227 case 0: 6228 p = "l_int"; 6229 break; 6230 case 1: 6231 p = "userland struct l_itimerspec *"; 6232 break; 6233 default: 6234 break; 6235 }; 6236 break; 6237 /* linux_accept4 */ 6238 case 288: 6239 switch (ndx) { 6240 case 0: 6241 p = "l_int"; 6242 break; 6243 case 1: 6244 p = "l_uintptr_t"; 6245 break; 6246 case 2: 6247 p = "l_uintptr_t"; 6248 break; 6249 case 3: 6250 p = "l_int"; 6251 break; 6252 default: 6253 break; 6254 }; 6255 break; 6256 /* linux_signalfd4 */ 6257 case 289: 6258 break; 6259 /* linux_eventfd2 */ 6260 case 290: 6261 switch (ndx) { 6262 case 0: 6263 p = "l_uint"; 6264 break; 6265 case 1: 6266 p = "l_int"; 6267 break; 6268 default: 6269 break; 6270 }; 6271 break; 6272 /* linux_epoll_create1 */ 6273 case 291: 6274 switch (ndx) { 6275 case 0: 6276 p = "l_int"; 6277 break; 6278 default: 6279 break; 6280 }; 6281 break; 6282 /* linux_dup3 */ 6283 case 292: 6284 switch (ndx) { 6285 case 0: 6286 p = "l_uint"; 6287 break; 6288 case 1: 6289 p = "l_uint"; 6290 break; 6291 case 2: 6292 p = "l_int"; 6293 break; 6294 default: 6295 break; 6296 }; 6297 break; 6298 /* linux_pipe2 */ 6299 case 293: 6300 switch (ndx) { 6301 case 0: 6302 p = "userland l_int *"; 6303 break; 6304 case 1: 6305 p = "l_int"; 6306 break; 6307 default: 6308 break; 6309 }; 6310 break; 6311 /* linux_inotify_init1 */ 6312 case 294: 6313 switch (ndx) { 6314 case 0: 6315 p = "l_int"; 6316 break; 6317 default: 6318 break; 6319 }; 6320 break; 6321 /* linux_preadv */ 6322 case 295: 6323 switch (ndx) { 6324 case 0: 6325 p = "l_ulong"; 6326 break; 6327 case 1: 6328 p = "userland struct iovec *"; 6329 break; 6330 case 2: 6331 p = "l_ulong"; 6332 break; 6333 case 3: 6334 p = "l_ulong"; 6335 break; 6336 case 4: 6337 p = "l_ulong"; 6338 break; 6339 default: 6340 break; 6341 }; 6342 break; 6343 /* linux_pwritev */ 6344 case 296: 6345 switch (ndx) { 6346 case 0: 6347 p = "l_ulong"; 6348 break; 6349 case 1: 6350 p = "userland struct iovec *"; 6351 break; 6352 case 2: 6353 p = "l_ulong"; 6354 break; 6355 case 3: 6356 p = "l_ulong"; 6357 break; 6358 case 4: 6359 p = "l_ulong"; 6360 break; 6361 default: 6362 break; 6363 }; 6364 break; 6365 /* linux_rt_tgsigqueueinfo */ 6366 case 297: 6367 switch (ndx) { 6368 case 0: 6369 p = "l_pid_t"; 6370 break; 6371 case 1: 6372 p = "l_pid_t"; 6373 break; 6374 case 2: 6375 p = "l_int"; 6376 break; 6377 case 3: 6378 p = "userland l_siginfo_t *"; 6379 break; 6380 default: 6381 break; 6382 }; 6383 break; 6384 /* linux_perf_event_open */ 6385 case 298: 6386 break; 6387 /* linux_recvmmsg */ 6388 case 299: 6389 switch (ndx) { 6390 case 0: 6391 p = "l_int"; 6392 break; 6393 case 1: 6394 p = "userland struct l_mmsghdr *"; 6395 break; 6396 case 2: 6397 p = "l_uint"; 6398 break; 6399 case 3: 6400 p = "l_uint"; 6401 break; 6402 case 4: 6403 p = "userland struct l_timespec *"; 6404 break; 6405 default: 6406 break; 6407 }; 6408 break; 6409 /* linux_fanotify_init */ 6410 case 300: 6411 break; 6412 /* linux_fanotify_mark */ 6413 case 301: 6414 break; 6415 /* linux_prlimit64 */ 6416 case 302: 6417 switch (ndx) { 6418 case 0: 6419 p = "l_pid_t"; 6420 break; 6421 case 1: 6422 p = "l_uint"; 6423 break; 6424 case 2: 6425 p = "userland struct rlimit *"; 6426 break; 6427 case 3: 6428 p = "userland struct rlimit *"; 6429 break; 6430 default: 6431 break; 6432 }; 6433 break; 6434 /* linux_name_to_handle_at */ 6435 case 303: 6436 switch (ndx) { 6437 case 0: 6438 p = "l_int"; 6439 break; 6440 case 1: 6441 p = "userland const char *"; 6442 break; 6443 case 2: 6444 p = "userland struct l_file_handle *"; 6445 break; 6446 case 3: 6447 p = "userland l_int *"; 6448 break; 6449 case 4: 6450 p = "l_int"; 6451 break; 6452 default: 6453 break; 6454 }; 6455 break; 6456 /* linux_open_by_handle_at */ 6457 case 304: 6458 switch (ndx) { 6459 case 0: 6460 p = "l_int"; 6461 break; 6462 case 1: 6463 p = "userland struct l_file_handle *"; 6464 break; 6465 case 2: 6466 p = "l_int"; 6467 break; 6468 default: 6469 break; 6470 }; 6471 break; 6472 /* linux_clock_adjtime */ 6473 case 305: 6474 break; 6475 /* linux_syncfs */ 6476 case 306: 6477 switch (ndx) { 6478 case 0: 6479 p = "l_int"; 6480 break; 6481 default: 6482 break; 6483 }; 6484 break; 6485 /* linux_sendmmsg */ 6486 case 307: 6487 switch (ndx) { 6488 case 0: 6489 p = "l_int"; 6490 break; 6491 case 1: 6492 p = "userland struct l_mmsghdr *"; 6493 break; 6494 case 2: 6495 p = "l_uint"; 6496 break; 6497 case 3: 6498 p = "l_uint"; 6499 break; 6500 default: 6501 break; 6502 }; 6503 break; 6504 /* linux_setns */ 6505 case 308: 6506 switch (ndx) { 6507 case 0: 6508 p = "l_int"; 6509 break; 6510 case 1: 6511 p = "l_int"; 6512 break; 6513 default: 6514 break; 6515 }; 6516 break; 6517 /* linux_getcpu */ 6518 case 309: 6519 switch (ndx) { 6520 case 0: 6521 p = "userland l_uint *"; 6522 break; 6523 case 1: 6524 p = "userland l_uint *"; 6525 break; 6526 case 2: 6527 p = "userland void *"; 6528 break; 6529 default: 6530 break; 6531 }; 6532 break; 6533 /* linux_process_vm_readv */ 6534 case 310: 6535 switch (ndx) { 6536 case 0: 6537 p = "l_pid_t"; 6538 break; 6539 case 1: 6540 p = "userland const struct iovec *"; 6541 break; 6542 case 2: 6543 p = "l_ulong"; 6544 break; 6545 case 3: 6546 p = "userland const struct iovec *"; 6547 break; 6548 case 4: 6549 p = "l_ulong"; 6550 break; 6551 case 5: 6552 p = "l_ulong"; 6553 break; 6554 default: 6555 break; 6556 }; 6557 break; 6558 /* linux_process_vm_writev */ 6559 case 311: 6560 switch (ndx) { 6561 case 0: 6562 p = "l_pid_t"; 6563 break; 6564 case 1: 6565 p = "userland const struct iovec *"; 6566 break; 6567 case 2: 6568 p = "l_ulong"; 6569 break; 6570 case 3: 6571 p = "userland const struct iovec *"; 6572 break; 6573 case 4: 6574 p = "l_ulong"; 6575 break; 6576 case 5: 6577 p = "l_ulong"; 6578 break; 6579 default: 6580 break; 6581 }; 6582 break; 6583 /* linux_kcmp */ 6584 case 312: 6585 switch (ndx) { 6586 case 0: 6587 p = "l_pid_t"; 6588 break; 6589 case 1: 6590 p = "l_pid_t"; 6591 break; 6592 case 2: 6593 p = "l_int"; 6594 break; 6595 case 3: 6596 p = "l_ulong"; 6597 break; 6598 case 4: 6599 p = "l_ulong"; 6600 break; 6601 default: 6602 break; 6603 }; 6604 break; 6605 /* linux_finit_module */ 6606 case 313: 6607 switch (ndx) { 6608 case 0: 6609 p = "l_int"; 6610 break; 6611 case 1: 6612 p = "userland const char *"; 6613 break; 6614 case 2: 6615 p = "l_int"; 6616 break; 6617 default: 6618 break; 6619 }; 6620 break; 6621 /* linux_sched_setattr */ 6622 case 314: 6623 switch (ndx) { 6624 case 0: 6625 p = "l_pid_t"; 6626 break; 6627 case 1: 6628 p = "userland void *"; 6629 break; 6630 case 2: 6631 p = "l_uint"; 6632 break; 6633 default: 6634 break; 6635 }; 6636 break; 6637 /* linux_sched_getattr */ 6638 case 315: 6639 switch (ndx) { 6640 case 0: 6641 p = "l_pid_t"; 6642 break; 6643 case 1: 6644 p = "userland void *"; 6645 break; 6646 case 2: 6647 p = "l_uint"; 6648 break; 6649 case 3: 6650 p = "l_uint"; 6651 break; 6652 default: 6653 break; 6654 }; 6655 break; 6656 /* linux_renameat2 */ 6657 case 316: 6658 switch (ndx) { 6659 case 0: 6660 p = "l_int"; 6661 break; 6662 case 1: 6663 p = "userland const char *"; 6664 break; 6665 case 2: 6666 p = "l_int"; 6667 break; 6668 case 3: 6669 p = "userland const char *"; 6670 break; 6671 case 4: 6672 p = "l_uint"; 6673 break; 6674 default: 6675 break; 6676 }; 6677 break; 6678 /* linux_seccomp */ 6679 case 317: 6680 switch (ndx) { 6681 case 0: 6682 p = "l_uint"; 6683 break; 6684 case 1: 6685 p = "l_uint"; 6686 break; 6687 case 2: 6688 p = "userland const char *"; 6689 break; 6690 default: 6691 break; 6692 }; 6693 break; 6694 /* linux_getrandom */ 6695 case 318: 6696 switch (ndx) { 6697 case 0: 6698 p = "userland char *"; 6699 break; 6700 case 1: 6701 p = "l_size_t"; 6702 break; 6703 case 2: 6704 p = "l_uint"; 6705 break; 6706 default: 6707 break; 6708 }; 6709 break; 6710 /* linux_memfd_create */ 6711 case 319: 6712 switch (ndx) { 6713 case 0: 6714 p = "userland const char *"; 6715 break; 6716 case 1: 6717 p = "l_uint"; 6718 break; 6719 default: 6720 break; 6721 }; 6722 break; 6723 /* linux_kexec_file_load */ 6724 case 320: 6725 switch (ndx) { 6726 case 0: 6727 p = "l_int"; 6728 break; 6729 case 1: 6730 p = "l_int"; 6731 break; 6732 case 2: 6733 p = "l_ulong"; 6734 break; 6735 case 3: 6736 p = "userland const char *"; 6737 break; 6738 case 4: 6739 p = "l_ulong"; 6740 break; 6741 default: 6742 break; 6743 }; 6744 break; 6745 /* linux_bpf */ 6746 case 321: 6747 switch (ndx) { 6748 case 0: 6749 p = "l_int"; 6750 break; 6751 case 1: 6752 p = "userland void *"; 6753 break; 6754 case 2: 6755 p = "l_uint"; 6756 break; 6757 default: 6758 break; 6759 }; 6760 break; 6761 /* linux_execveat */ 6762 case 322: 6763 switch (ndx) { 6764 case 0: 6765 p = "l_int"; 6766 break; 6767 case 1: 6768 p = "userland const char *"; 6769 break; 6770 case 2: 6771 p = "userland const char **"; 6772 break; 6773 case 3: 6774 p = "userland const char **"; 6775 break; 6776 case 4: 6777 p = "l_int"; 6778 break; 6779 default: 6780 break; 6781 }; 6782 break; 6783 /* linux_userfaultfd */ 6784 case 323: 6785 switch (ndx) { 6786 case 0: 6787 p = "l_int"; 6788 break; 6789 default: 6790 break; 6791 }; 6792 break; 6793 /* linux_membarrier */ 6794 case 324: 6795 switch (ndx) { 6796 case 0: 6797 p = "l_int"; 6798 break; 6799 case 1: 6800 p = "l_int"; 6801 break; 6802 default: 6803 break; 6804 }; 6805 break; 6806 /* linux_mlock2 */ 6807 case 325: 6808 switch (ndx) { 6809 case 0: 6810 p = "l_ulong"; 6811 break; 6812 case 1: 6813 p = "l_size_t"; 6814 break; 6815 case 2: 6816 p = "l_int"; 6817 break; 6818 default: 6819 break; 6820 }; 6821 break; 6822 /* linux_copy_file_range */ 6823 case 326: 6824 switch (ndx) { 6825 case 0: 6826 p = "l_int"; 6827 break; 6828 case 1: 6829 p = "userland l_loff_t *"; 6830 break; 6831 case 2: 6832 p = "l_int"; 6833 break; 6834 case 3: 6835 p = "userland l_loff_t *"; 6836 break; 6837 case 4: 6838 p = "l_size_t"; 6839 break; 6840 case 5: 6841 p = "l_uint"; 6842 break; 6843 default: 6844 break; 6845 }; 6846 break; 6847 /* linux_preadv2 */ 6848 case 327: 6849 switch (ndx) { 6850 case 0: 6851 p = "l_ulong"; 6852 break; 6853 case 1: 6854 p = "userland const struct iovec *"; 6855 break; 6856 case 2: 6857 p = "l_ulong"; 6858 break; 6859 case 3: 6860 p = "l_ulong"; 6861 break; 6862 case 4: 6863 p = "l_ulong"; 6864 break; 6865 case 5: 6866 p = "l_int"; 6867 break; 6868 default: 6869 break; 6870 }; 6871 break; 6872 /* linux_pwritev2 */ 6873 case 328: 6874 switch (ndx) { 6875 case 0: 6876 p = "l_ulong"; 6877 break; 6878 case 1: 6879 p = "userland const struct iovec *"; 6880 break; 6881 case 2: 6882 p = "l_ulong"; 6883 break; 6884 case 3: 6885 p = "l_ulong"; 6886 break; 6887 case 4: 6888 p = "l_ulong"; 6889 break; 6890 case 5: 6891 p = "l_int"; 6892 break; 6893 default: 6894 break; 6895 }; 6896 break; 6897 /* linux_pkey_mprotect */ 6898 case 329: 6899 switch (ndx) { 6900 case 0: 6901 p = "l_ulong"; 6902 break; 6903 case 1: 6904 p = "l_size_t"; 6905 break; 6906 case 2: 6907 p = "l_ulong"; 6908 break; 6909 case 3: 6910 p = "l_int"; 6911 break; 6912 default: 6913 break; 6914 }; 6915 break; 6916 /* linux_pkey_alloc */ 6917 case 330: 6918 switch (ndx) { 6919 case 0: 6920 p = "l_ulong"; 6921 break; 6922 case 1: 6923 p = "l_ulong"; 6924 break; 6925 default: 6926 break; 6927 }; 6928 break; 6929 /* linux_pkey_free */ 6930 case 331: 6931 switch (ndx) { 6932 case 0: 6933 p = "l_int"; 6934 break; 6935 default: 6936 break; 6937 }; 6938 break; 6939 /* linux_statx */ 6940 case 332: 6941 switch (ndx) { 6942 case 0: 6943 p = "l_int"; 6944 break; 6945 case 1: 6946 p = "userland const char *"; 6947 break; 6948 case 2: 6949 p = "l_uint"; 6950 break; 6951 case 3: 6952 p = "l_uint"; 6953 break; 6954 case 4: 6955 p = "userland void *"; 6956 break; 6957 default: 6958 break; 6959 }; 6960 break; 6961 /* linux_io_pgetevents */ 6962 case 333: 6963 break; 6964 /* linux_rseq */ 6965 case 334: 6966 break; 6967 /* linux_pidfd_send_signal */ 6968 case 424: 6969 switch (ndx) { 6970 case 0: 6971 p = "l_int"; 6972 break; 6973 case 1: 6974 p = "l_int"; 6975 break; 6976 case 2: 6977 p = "userland l_siginfo_t *"; 6978 break; 6979 case 3: 6980 p = "l_uint"; 6981 break; 6982 default: 6983 break; 6984 }; 6985 break; 6986 /* linux_io_uring_setup */ 6987 case 425: 6988 break; 6989 /* linux_io_uring_enter */ 6990 case 426: 6991 break; 6992 /* linux_io_uring_register */ 6993 case 427: 6994 break; 6995 /* linux_open_tree */ 6996 case 428: 6997 break; 6998 /* linux_move_mount */ 6999 case 429: 7000 break; 7001 /* linux_fsopen */ 7002 case 430: 7003 break; 7004 /* linux_fsconfig */ 7005 case 431: 7006 break; 7007 /* linux_fsmount */ 7008 case 432: 7009 break; 7010 /* linux_fspick */ 7011 case 433: 7012 break; 7013 /* linux_pidfd_open */ 7014 case 434: 7015 break; 7016 /* linux_clone3 */ 7017 case 435: 7018 switch (ndx) { 7019 case 0: 7020 p = "userland struct l_user_clone_args *"; 7021 break; 7022 case 1: 7023 p = "l_size_t"; 7024 break; 7025 default: 7026 break; 7027 }; 7028 break; 7029 /* linux_close_range */ 7030 case 436: 7031 break; 7032 /* linux_openat2 */ 7033 case 437: 7034 break; 7035 /* linux_pidfd_getfd */ 7036 case 438: 7037 break; 7038 /* linux_faccessat2 */ 7039 case 439: 7040 switch (ndx) { 7041 case 0: 7042 p = "l_int"; 7043 break; 7044 case 1: 7045 p = "userland const char *"; 7046 break; 7047 case 2: 7048 p = "l_int"; 7049 break; 7050 case 3: 7051 p = "l_int"; 7052 break; 7053 default: 7054 break; 7055 }; 7056 break; 7057 /* linux_process_madvise */ 7058 case 440: 7059 break; 7060 /* linux_epoll_pwait2 */ 7061 case 441: 7062 break; 7063 /* linux_mount_setattr */ 7064 case 442: 7065 break; 7066 default: 7067 break; 7068 }; 7069 if (p != NULL) 7070 strlcpy(desc, p, descsz); 7071 } 7072 static void 7073 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) 7074 { 7075 const char *p = NULL; 7076 switch (sysnum) { 7077 #define nosys linux_nosys 7078 /* read */ 7079 case 0: 7080 if (ndx == 0 || ndx == 1) 7081 p = "int"; 7082 break; 7083 /* write */ 7084 case 1: 7085 if (ndx == 0 || ndx == 1) 7086 p = "int"; 7087 break; 7088 /* linux_open */ 7089 case 2: 7090 if (ndx == 0 || ndx == 1) 7091 p = "int"; 7092 break; 7093 /* close */ 7094 case 3: 7095 if (ndx == 0 || ndx == 1) 7096 p = "int"; 7097 break; 7098 /* linux_newstat */ 7099 case 4: 7100 if (ndx == 0 || ndx == 1) 7101 p = "int"; 7102 break; 7103 /* linux_newfstat */ 7104 case 5: 7105 if (ndx == 0 || ndx == 1) 7106 p = "int"; 7107 break; 7108 /* linux_newlstat */ 7109 case 6: 7110 if (ndx == 0 || ndx == 1) 7111 p = "int"; 7112 break; 7113 /* linux_poll */ 7114 case 7: 7115 if (ndx == 0 || ndx == 1) 7116 p = "int"; 7117 break; 7118 /* linux_lseek */ 7119 case 8: 7120 if (ndx == 0 || ndx == 1) 7121 p = "int"; 7122 break; 7123 /* linux_mmap2 */ 7124 case 9: 7125 if (ndx == 0 || ndx == 1) 7126 p = "int"; 7127 break; 7128 /* linux_mprotect */ 7129 case 10: 7130 if (ndx == 0 || ndx == 1) 7131 p = "int"; 7132 break; 7133 /* munmap */ 7134 case 11: 7135 if (ndx == 0 || ndx == 1) 7136 p = "int"; 7137 break; 7138 /* linux_brk */ 7139 case 12: 7140 if (ndx == 0 || ndx == 1) 7141 p = "int"; 7142 break; 7143 /* linux_rt_sigaction */ 7144 case 13: 7145 if (ndx == 0 || ndx == 1) 7146 p = "int"; 7147 break; 7148 /* linux_rt_sigprocmask */ 7149 case 14: 7150 if (ndx == 0 || ndx == 1) 7151 p = "int"; 7152 break; 7153 /* linux_rt_sigreturn */ 7154 case 15: 7155 if (ndx == 0 || ndx == 1) 7156 p = "int"; 7157 break; 7158 /* linux_ioctl */ 7159 case 16: 7160 if (ndx == 0 || ndx == 1) 7161 p = "int"; 7162 break; 7163 /* linux_pread */ 7164 case 17: 7165 if (ndx == 0 || ndx == 1) 7166 p = "int"; 7167 break; 7168 /* linux_pwrite */ 7169 case 18: 7170 if (ndx == 0 || ndx == 1) 7171 p = "int"; 7172 break; 7173 /* readv */ 7174 case 19: 7175 if (ndx == 0 || ndx == 1) 7176 p = "int"; 7177 break; 7178 /* writev */ 7179 case 20: 7180 if (ndx == 0 || ndx == 1) 7181 p = "int"; 7182 break; 7183 /* linux_access */ 7184 case 21: 7185 if (ndx == 0 || ndx == 1) 7186 p = "int"; 7187 break; 7188 /* linux_pipe */ 7189 case 22: 7190 if (ndx == 0 || ndx == 1) 7191 p = "int"; 7192 break; 7193 /* linux_select */ 7194 case 23: 7195 if (ndx == 0 || ndx == 1) 7196 p = "int"; 7197 break; 7198 /* sched_yield */ 7199 case 24: 7200 /* linux_mremap */ 7201 case 25: 7202 if (ndx == 0 || ndx == 1) 7203 p = "int"; 7204 break; 7205 /* linux_msync */ 7206 case 26: 7207 if (ndx == 0 || ndx == 1) 7208 p = "int"; 7209 break; 7210 /* linux_mincore */ 7211 case 27: 7212 if (ndx == 0 || ndx == 1) 7213 p = "int"; 7214 break; 7215 /* linux_madvise */ 7216 case 28: 7217 if (ndx == 0 || ndx == 1) 7218 p = "int"; 7219 break; 7220 /* linux_shmget */ 7221 case 29: 7222 if (ndx == 0 || ndx == 1) 7223 p = "int"; 7224 break; 7225 /* linux_shmat */ 7226 case 30: 7227 if (ndx == 0 || ndx == 1) 7228 p = "int"; 7229 break; 7230 /* linux_shmctl */ 7231 case 31: 7232 if (ndx == 0 || ndx == 1) 7233 p = "int"; 7234 break; 7235 /* dup */ 7236 case 32: 7237 if (ndx == 0 || ndx == 1) 7238 p = "int"; 7239 break; 7240 /* dup2 */ 7241 case 33: 7242 if (ndx == 0 || ndx == 1) 7243 p = "int"; 7244 break; 7245 /* linux_pause */ 7246 case 34: 7247 /* linux_nanosleep */ 7248 case 35: 7249 if (ndx == 0 || ndx == 1) 7250 p = "int"; 7251 break; 7252 /* linux_getitimer */ 7253 case 36: 7254 if (ndx == 0 || ndx == 1) 7255 p = "int"; 7256 break; 7257 /* linux_alarm */ 7258 case 37: 7259 if (ndx == 0 || ndx == 1) 7260 p = "int"; 7261 break; 7262 /* linux_setitimer */ 7263 case 38: 7264 if (ndx == 0 || ndx == 1) 7265 p = "int"; 7266 break; 7267 /* linux_getpid */ 7268 case 39: 7269 /* linux_sendfile */ 7270 case 40: 7271 if (ndx == 0 || ndx == 1) 7272 p = "int"; 7273 break; 7274 /* linux_socket */ 7275 case 41: 7276 if (ndx == 0 || ndx == 1) 7277 p = "int"; 7278 break; 7279 /* linux_connect */ 7280 case 42: 7281 if (ndx == 0 || ndx == 1) 7282 p = "int"; 7283 break; 7284 /* linux_accept */ 7285 case 43: 7286 if (ndx == 0 || ndx == 1) 7287 p = "int"; 7288 break; 7289 /* linux_sendto */ 7290 case 44: 7291 if (ndx == 0 || ndx == 1) 7292 p = "int"; 7293 break; 7294 /* linux_recvfrom */ 7295 case 45: 7296 if (ndx == 0 || ndx == 1) 7297 p = "int"; 7298 break; 7299 /* linux_sendmsg */ 7300 case 46: 7301 if (ndx == 0 || ndx == 1) 7302 p = "int"; 7303 break; 7304 /* linux_recvmsg */ 7305 case 47: 7306 if (ndx == 0 || ndx == 1) 7307 p = "int"; 7308 break; 7309 /* linux_shutdown */ 7310 case 48: 7311 if (ndx == 0 || ndx == 1) 7312 p = "int"; 7313 break; 7314 /* linux_bind */ 7315 case 49: 7316 if (ndx == 0 || ndx == 1) 7317 p = "int"; 7318 break; 7319 /* linux_listen */ 7320 case 50: 7321 if (ndx == 0 || ndx == 1) 7322 p = "int"; 7323 break; 7324 /* linux_getsockname */ 7325 case 51: 7326 if (ndx == 0 || ndx == 1) 7327 p = "int"; 7328 break; 7329 /* linux_getpeername */ 7330 case 52: 7331 if (ndx == 0 || ndx == 1) 7332 p = "int"; 7333 break; 7334 /* linux_socketpair */ 7335 case 53: 7336 if (ndx == 0 || ndx == 1) 7337 p = "int"; 7338 break; 7339 /* linux_setsockopt */ 7340 case 54: 7341 if (ndx == 0 || ndx == 1) 7342 p = "int"; 7343 break; 7344 /* linux_getsockopt */ 7345 case 55: 7346 if (ndx == 0 || ndx == 1) 7347 p = "int"; 7348 break; 7349 /* linux_clone */ 7350 case 56: 7351 if (ndx == 0 || ndx == 1) 7352 p = "int"; 7353 break; 7354 /* linux_fork */ 7355 case 57: 7356 /* linux_vfork */ 7357 case 58: 7358 /* linux_execve */ 7359 case 59: 7360 if (ndx == 0 || ndx == 1) 7361 p = "int"; 7362 break; 7363 /* linux_exit */ 7364 case 60: 7365 if (ndx == 0 || ndx == 1) 7366 p = "void"; 7367 break; 7368 /* linux_wait4 */ 7369 case 61: 7370 if (ndx == 0 || ndx == 1) 7371 p = "int"; 7372 break; 7373 /* linux_kill */ 7374 case 62: 7375 if (ndx == 0 || ndx == 1) 7376 p = "int"; 7377 break; 7378 /* linux_newuname */ 7379 case 63: 7380 if (ndx == 0 || ndx == 1) 7381 p = "int"; 7382 break; 7383 /* linux_semget */ 7384 case 64: 7385 if (ndx == 0 || ndx == 1) 7386 p = "int"; 7387 break; 7388 /* linux_semop */ 7389 case 65: 7390 if (ndx == 0 || ndx == 1) 7391 p = "int"; 7392 break; 7393 /* linux_semctl */ 7394 case 66: 7395 if (ndx == 0 || ndx == 1) 7396 p = "int"; 7397 break; 7398 /* linux_shmdt */ 7399 case 67: 7400 if (ndx == 0 || ndx == 1) 7401 p = "int"; 7402 break; 7403 /* linux_msgget */ 7404 case 68: 7405 if (ndx == 0 || ndx == 1) 7406 p = "int"; 7407 break; 7408 /* linux_msgsnd */ 7409 case 69: 7410 if (ndx == 0 || ndx == 1) 7411 p = "int"; 7412 break; 7413 /* linux_msgrcv */ 7414 case 70: 7415 if (ndx == 0 || ndx == 1) 7416 p = "int"; 7417 break; 7418 /* linux_msgctl */ 7419 case 71: 7420 if (ndx == 0 || ndx == 1) 7421 p = "int"; 7422 break; 7423 /* linux_fcntl */ 7424 case 72: 7425 if (ndx == 0 || ndx == 1) 7426 p = "int"; 7427 break; 7428 /* flock */ 7429 case 73: 7430 if (ndx == 0 || ndx == 1) 7431 p = "int"; 7432 break; 7433 /* fsync */ 7434 case 74: 7435 if (ndx == 0 || ndx == 1) 7436 p = "int"; 7437 break; 7438 /* linux_fdatasync */ 7439 case 75: 7440 if (ndx == 0 || ndx == 1) 7441 p = "int"; 7442 break; 7443 /* linux_truncate */ 7444 case 76: 7445 if (ndx == 0 || ndx == 1) 7446 p = "int"; 7447 break; 7448 /* linux_ftruncate */ 7449 case 77: 7450 if (ndx == 0 || ndx == 1) 7451 p = "int"; 7452 break; 7453 /* linux_getdents */ 7454 case 78: 7455 if (ndx == 0 || ndx == 1) 7456 p = "int"; 7457 break; 7458 /* linux_getcwd */ 7459 case 79: 7460 if (ndx == 0 || ndx == 1) 7461 p = "int"; 7462 break; 7463 /* linux_chdir */ 7464 case 80: 7465 if (ndx == 0 || ndx == 1) 7466 p = "int"; 7467 break; 7468 /* fchdir */ 7469 case 81: 7470 if (ndx == 0 || ndx == 1) 7471 p = "int"; 7472 break; 7473 /* linux_rename */ 7474 case 82: 7475 if (ndx == 0 || ndx == 1) 7476 p = "int"; 7477 break; 7478 /* linux_mkdir */ 7479 case 83: 7480 if (ndx == 0 || ndx == 1) 7481 p = "int"; 7482 break; 7483 /* linux_rmdir */ 7484 case 84: 7485 if (ndx == 0 || ndx == 1) 7486 p = "int"; 7487 break; 7488 /* linux_creat */ 7489 case 85: 7490 if (ndx == 0 || ndx == 1) 7491 p = "int"; 7492 break; 7493 /* linux_link */ 7494 case 86: 7495 if (ndx == 0 || ndx == 1) 7496 p = "int"; 7497 break; 7498 /* linux_unlink */ 7499 case 87: 7500 if (ndx == 0 || ndx == 1) 7501 p = "int"; 7502 break; 7503 /* linux_symlink */ 7504 case 88: 7505 if (ndx == 0 || ndx == 1) 7506 p = "int"; 7507 break; 7508 /* linux_readlink */ 7509 case 89: 7510 if (ndx == 0 || ndx == 1) 7511 p = "int"; 7512 break; 7513 /* linux_chmod */ 7514 case 90: 7515 if (ndx == 0 || ndx == 1) 7516 p = "int"; 7517 break; 7518 /* fchmod */ 7519 case 91: 7520 if (ndx == 0 || ndx == 1) 7521 p = "int"; 7522 break; 7523 /* linux_chown */ 7524 case 92: 7525 if (ndx == 0 || ndx == 1) 7526 p = "int"; 7527 break; 7528 /* fchown */ 7529 case 93: 7530 if (ndx == 0 || ndx == 1) 7531 p = "int"; 7532 break; 7533 /* linux_lchown */ 7534 case 94: 7535 if (ndx == 0 || ndx == 1) 7536 p = "int"; 7537 break; 7538 /* umask */ 7539 case 95: 7540 if (ndx == 0 || ndx == 1) 7541 p = "int"; 7542 break; 7543 /* gettimeofday */ 7544 case 96: 7545 if (ndx == 0 || ndx == 1) 7546 p = "int"; 7547 break; 7548 /* linux_getrlimit */ 7549 case 97: 7550 if (ndx == 0 || ndx == 1) 7551 p = "int"; 7552 break; 7553 /* getrusage */ 7554 case 98: 7555 if (ndx == 0 || ndx == 1) 7556 p = "int"; 7557 break; 7558 /* linux_sysinfo */ 7559 case 99: 7560 if (ndx == 0 || ndx == 1) 7561 p = "int"; 7562 break; 7563 /* linux_times */ 7564 case 100: 7565 if (ndx == 0 || ndx == 1) 7566 p = "int"; 7567 break; 7568 /* linux_ptrace */ 7569 case 101: 7570 if (ndx == 0 || ndx == 1) 7571 p = "int"; 7572 break; 7573 /* linux_getuid */ 7574 case 102: 7575 /* linux_syslog */ 7576 case 103: 7577 if (ndx == 0 || ndx == 1) 7578 p = "int"; 7579 break; 7580 /* linux_getgid */ 7581 case 104: 7582 /* setuid */ 7583 case 105: 7584 if (ndx == 0 || ndx == 1) 7585 p = "int"; 7586 break; 7587 /* setgid */ 7588 case 106: 7589 if (ndx == 0 || ndx == 1) 7590 p = "int"; 7591 break; 7592 /* geteuid */ 7593 case 107: 7594 /* getegid */ 7595 case 108: 7596 /* setpgid */ 7597 case 109: 7598 if (ndx == 0 || ndx == 1) 7599 p = "int"; 7600 break; 7601 /* linux_getppid */ 7602 case 110: 7603 /* getpgrp */ 7604 case 111: 7605 /* setsid */ 7606 case 112: 7607 /* setreuid */ 7608 case 113: 7609 if (ndx == 0 || ndx == 1) 7610 p = "int"; 7611 break; 7612 /* setregid */ 7613 case 114: 7614 if (ndx == 0 || ndx == 1) 7615 p = "int"; 7616 break; 7617 /* linux_getgroups */ 7618 case 115: 7619 if (ndx == 0 || ndx == 1) 7620 p = "int"; 7621 break; 7622 /* linux_setgroups */ 7623 case 116: 7624 if (ndx == 0 || ndx == 1) 7625 p = "int"; 7626 break; 7627 /* setresuid */ 7628 case 117: 7629 if (ndx == 0 || ndx == 1) 7630 p = "int"; 7631 break; 7632 /* getresuid */ 7633 case 118: 7634 if (ndx == 0 || ndx == 1) 7635 p = "int"; 7636 break; 7637 /* setresgid */ 7638 case 119: 7639 if (ndx == 0 || ndx == 1) 7640 p = "int"; 7641 break; 7642 /* getresgid */ 7643 case 120: 7644 if (ndx == 0 || ndx == 1) 7645 p = "int"; 7646 break; 7647 /* getpgid */ 7648 case 121: 7649 if (ndx == 0 || ndx == 1) 7650 p = "int"; 7651 break; 7652 /* linux_setfsuid */ 7653 case 122: 7654 if (ndx == 0 || ndx == 1) 7655 p = "int"; 7656 break; 7657 /* linux_setfsgid */ 7658 case 123: 7659 if (ndx == 0 || ndx == 1) 7660 p = "int"; 7661 break; 7662 /* linux_getsid */ 7663 case 124: 7664 if (ndx == 0 || ndx == 1) 7665 p = "int"; 7666 break; 7667 /* linux_capget */ 7668 case 125: 7669 if (ndx == 0 || ndx == 1) 7670 p = "int"; 7671 break; 7672 /* linux_capset */ 7673 case 126: 7674 if (ndx == 0 || ndx == 1) 7675 p = "int"; 7676 break; 7677 /* linux_rt_sigpending */ 7678 case 127: 7679 if (ndx == 0 || ndx == 1) 7680 p = "int"; 7681 break; 7682 /* linux_rt_sigtimedwait */ 7683 case 128: 7684 if (ndx == 0 || ndx == 1) 7685 p = "int"; 7686 break; 7687 /* linux_rt_sigqueueinfo */ 7688 case 129: 7689 if (ndx == 0 || ndx == 1) 7690 p = "int"; 7691 break; 7692 /* linux_rt_sigsuspend */ 7693 case 130: 7694 if (ndx == 0 || ndx == 1) 7695 p = "int"; 7696 break; 7697 /* linux_sigaltstack */ 7698 case 131: 7699 if (ndx == 0 || ndx == 1) 7700 p = "int"; 7701 break; 7702 /* linux_utime */ 7703 case 132: 7704 if (ndx == 0 || ndx == 1) 7705 p = "int"; 7706 break; 7707 /* linux_mknod */ 7708 case 133: 7709 if (ndx == 0 || ndx == 1) 7710 p = "int"; 7711 break; 7712 /* linux_personality */ 7713 case 135: 7714 if (ndx == 0 || ndx == 1) 7715 p = "int"; 7716 break; 7717 /* linux_ustat */ 7718 case 136: 7719 if (ndx == 0 || ndx == 1) 7720 p = "int"; 7721 break; 7722 /* linux_statfs */ 7723 case 137: 7724 if (ndx == 0 || ndx == 1) 7725 p = "int"; 7726 break; 7727 /* linux_fstatfs */ 7728 case 138: 7729 if (ndx == 0 || ndx == 1) 7730 p = "int"; 7731 break; 7732 /* linux_sysfs */ 7733 case 139: 7734 if (ndx == 0 || ndx == 1) 7735 p = "int"; 7736 break; 7737 /* linux_getpriority */ 7738 case 140: 7739 if (ndx == 0 || ndx == 1) 7740 p = "int"; 7741 break; 7742 /* setpriority */ 7743 case 141: 7744 if (ndx == 0 || ndx == 1) 7745 p = "int"; 7746 break; 7747 /* linux_sched_setparam */ 7748 case 142: 7749 if (ndx == 0 || ndx == 1) 7750 p = "int"; 7751 break; 7752 /* linux_sched_getparam */ 7753 case 143: 7754 if (ndx == 0 || ndx == 1) 7755 p = "int"; 7756 break; 7757 /* linux_sched_setscheduler */ 7758 case 144: 7759 if (ndx == 0 || ndx == 1) 7760 p = "int"; 7761 break; 7762 /* linux_sched_getscheduler */ 7763 case 145: 7764 if (ndx == 0 || ndx == 1) 7765 p = "int"; 7766 break; 7767 /* linux_sched_get_priority_max */ 7768 case 146: 7769 if (ndx == 0 || ndx == 1) 7770 p = "int"; 7771 break; 7772 /* linux_sched_get_priority_min */ 7773 case 147: 7774 if (ndx == 0 || ndx == 1) 7775 p = "int"; 7776 break; 7777 /* linux_sched_rr_get_interval */ 7778 case 148: 7779 if (ndx == 0 || ndx == 1) 7780 p = "int"; 7781 break; 7782 /* mlock */ 7783 case 149: 7784 if (ndx == 0 || ndx == 1) 7785 p = "int"; 7786 break; 7787 /* munlock */ 7788 case 150: 7789 if (ndx == 0 || ndx == 1) 7790 p = "int"; 7791 break; 7792 /* mlockall */ 7793 case 151: 7794 if (ndx == 0 || ndx == 1) 7795 p = "int"; 7796 break; 7797 /* munlockall */ 7798 case 152: 7799 /* linux_vhangup */ 7800 case 153: 7801 /* linux_modify_ldt */ 7802 case 154: 7803 /* linux_pivot_root */ 7804 case 155: 7805 /* linux_sysctl */ 7806 case 156: 7807 if (ndx == 0 || ndx == 1) 7808 p = "int"; 7809 break; 7810 /* linux_prctl */ 7811 case 157: 7812 if (ndx == 0 || ndx == 1) 7813 p = "int"; 7814 break; 7815 /* linux_arch_prctl */ 7816 case 158: 7817 if (ndx == 0 || ndx == 1) 7818 p = "int"; 7819 break; 7820 /* linux_adjtimex */ 7821 case 159: 7822 /* linux_setrlimit */ 7823 case 160: 7824 if (ndx == 0 || ndx == 1) 7825 p = "int"; 7826 break; 7827 /* chroot */ 7828 case 161: 7829 if (ndx == 0 || ndx == 1) 7830 p = "int"; 7831 break; 7832 /* sync */ 7833 case 162: 7834 /* acct */ 7835 case 163: 7836 if (ndx == 0 || ndx == 1) 7837 p = "int"; 7838 break; 7839 /* settimeofday */ 7840 case 164: 7841 if (ndx == 0 || ndx == 1) 7842 p = "int"; 7843 break; 7844 /* linux_mount */ 7845 case 165: 7846 if (ndx == 0 || ndx == 1) 7847 p = "int"; 7848 break; 7849 /* linux_umount */ 7850 case 166: 7851 if (ndx == 0 || ndx == 1) 7852 p = "int"; 7853 break; 7854 /* swapon */ 7855 case 167: 7856 if (ndx == 0 || ndx == 1) 7857 p = "int"; 7858 break; 7859 /* linux_swapoff */ 7860 case 168: 7861 /* linux_reboot */ 7862 case 169: 7863 if (ndx == 0 || ndx == 1) 7864 p = "int"; 7865 break; 7866 /* linux_sethostname */ 7867 case 170: 7868 if (ndx == 0 || ndx == 1) 7869 p = "int"; 7870 break; 7871 /* linux_setdomainname */ 7872 case 171: 7873 if (ndx == 0 || ndx == 1) 7874 p = "int"; 7875 break; 7876 /* linux_iopl */ 7877 case 172: 7878 if (ndx == 0 || ndx == 1) 7879 p = "int"; 7880 break; 7881 /* linux_ioperm */ 7882 case 173: 7883 /* linux_init_module */ 7884 case 175: 7885 /* linux_delete_module */ 7886 case 176: 7887 /* linux_quotactl */ 7888 case 179: 7889 /* linux_gettid */ 7890 case 186: 7891 /* linux_readahead */ 7892 case 187: 7893 /* linux_setxattr */ 7894 case 188: 7895 if (ndx == 0 || ndx == 1) 7896 p = "int"; 7897 break; 7898 /* linux_lsetxattr */ 7899 case 189: 7900 if (ndx == 0 || ndx == 1) 7901 p = "int"; 7902 break; 7903 /* linux_fsetxattr */ 7904 case 190: 7905 if (ndx == 0 || ndx == 1) 7906 p = "int"; 7907 break; 7908 /* linux_getxattr */ 7909 case 191: 7910 if (ndx == 0 || ndx == 1) 7911 p = "int"; 7912 break; 7913 /* linux_lgetxattr */ 7914 case 192: 7915 if (ndx == 0 || ndx == 1) 7916 p = "int"; 7917 break; 7918 /* linux_fgetxattr */ 7919 case 193: 7920 if (ndx == 0 || ndx == 1) 7921 p = "int"; 7922 break; 7923 /* linux_listxattr */ 7924 case 194: 7925 if (ndx == 0 || ndx == 1) 7926 p = "int"; 7927 break; 7928 /* linux_llistxattr */ 7929 case 195: 7930 if (ndx == 0 || ndx == 1) 7931 p = "int"; 7932 break; 7933 /* linux_flistxattr */ 7934 case 196: 7935 if (ndx == 0 || ndx == 1) 7936 p = "int"; 7937 break; 7938 /* linux_removexattr */ 7939 case 197: 7940 if (ndx == 0 || ndx == 1) 7941 p = "int"; 7942 break; 7943 /* linux_lremovexattr */ 7944 case 198: 7945 if (ndx == 0 || ndx == 1) 7946 p = "int"; 7947 break; 7948 /* linux_fremovexattr */ 7949 case 199: 7950 if (ndx == 0 || ndx == 1) 7951 p = "int"; 7952 break; 7953 /* linux_tkill */ 7954 case 200: 7955 if (ndx == 0 || ndx == 1) 7956 p = "int"; 7957 break; 7958 /* linux_time */ 7959 case 201: 7960 if (ndx == 0 || ndx == 1) 7961 p = "int"; 7962 break; 7963 /* linux_sys_futex */ 7964 case 202: 7965 if (ndx == 0 || ndx == 1) 7966 p = "int"; 7967 break; 7968 /* linux_sched_setaffinity */ 7969 case 203: 7970 if (ndx == 0 || ndx == 1) 7971 p = "int"; 7972 break; 7973 /* linux_sched_getaffinity */ 7974 case 204: 7975 if (ndx == 0 || ndx == 1) 7976 p = "int"; 7977 break; 7978 /* linux_io_setup */ 7979 case 206: 7980 /* linux_io_destroy */ 7981 case 207: 7982 /* linux_io_getevents */ 7983 case 208: 7984 /* linux_io_submit */ 7985 case 209: 7986 /* linux_io_cancel */ 7987 case 210: 7988 /* linux_lookup_dcookie */ 7989 case 212: 7990 /* linux_epoll_create */ 7991 case 213: 7992 if (ndx == 0 || ndx == 1) 7993 p = "int"; 7994 break; 7995 /* linux_remap_file_pages */ 7996 case 216: 7997 /* linux_getdents64 */ 7998 case 217: 7999 if (ndx == 0 || ndx == 1) 8000 p = "int"; 8001 break; 8002 /* linux_set_tid_address */ 8003 case 218: 8004 if (ndx == 0 || ndx == 1) 8005 p = "int"; 8006 break; 8007 /* linux_restart_syscall */ 8008 case 219: 8009 /* linux_semtimedop */ 8010 case 220: 8011 /* linux_fadvise64 */ 8012 case 221: 8013 if (ndx == 0 || ndx == 1) 8014 p = "int"; 8015 break; 8016 /* linux_timer_create */ 8017 case 222: 8018 if (ndx == 0 || ndx == 1) 8019 p = "int"; 8020 break; 8021 /* linux_timer_settime */ 8022 case 223: 8023 if (ndx == 0 || ndx == 1) 8024 p = "int"; 8025 break; 8026 /* linux_timer_gettime */ 8027 case 224: 8028 if (ndx == 0 || ndx == 1) 8029 p = "int"; 8030 break; 8031 /* linux_timer_getoverrun */ 8032 case 225: 8033 if (ndx == 0 || ndx == 1) 8034 p = "int"; 8035 break; 8036 /* linux_timer_delete */ 8037 case 226: 8038 if (ndx == 0 || ndx == 1) 8039 p = "int"; 8040 break; 8041 /* linux_clock_settime */ 8042 case 227: 8043 if (ndx == 0 || ndx == 1) 8044 p = "int"; 8045 break; 8046 /* linux_clock_gettime */ 8047 case 228: 8048 if (ndx == 0 || ndx == 1) 8049 p = "int"; 8050 break; 8051 /* linux_clock_getres */ 8052 case 229: 8053 if (ndx == 0 || ndx == 1) 8054 p = "int"; 8055 break; 8056 /* linux_clock_nanosleep */ 8057 case 230: 8058 if (ndx == 0 || ndx == 1) 8059 p = "int"; 8060 break; 8061 /* linux_exit_group */ 8062 case 231: 8063 if (ndx == 0 || ndx == 1) 8064 p = "int"; 8065 break; 8066 /* linux_epoll_wait */ 8067 case 232: 8068 if (ndx == 0 || ndx == 1) 8069 p = "int"; 8070 break; 8071 /* linux_epoll_ctl */ 8072 case 233: 8073 if (ndx == 0 || ndx == 1) 8074 p = "int"; 8075 break; 8076 /* linux_tgkill */ 8077 case 234: 8078 if (ndx == 0 || ndx == 1) 8079 p = "int"; 8080 break; 8081 /* linux_utimes */ 8082 case 235: 8083 if (ndx == 0 || ndx == 1) 8084 p = "int"; 8085 break; 8086 /* linux_mbind */ 8087 case 237: 8088 /* linux_set_mempolicy */ 8089 case 238: 8090 /* linux_get_mempolicy */ 8091 case 239: 8092 /* linux_mq_open */ 8093 case 240: 8094 if (ndx == 0 || ndx == 1) 8095 p = "int"; 8096 break; 8097 /* linux_mq_unlink */ 8098 case 241: 8099 if (ndx == 0 || ndx == 1) 8100 p = "int"; 8101 break; 8102 /* linux_mq_timedsend */ 8103 case 242: 8104 if (ndx == 0 || ndx == 1) 8105 p = "int"; 8106 break; 8107 /* linux_mq_timedreceive */ 8108 case 243: 8109 if (ndx == 0 || ndx == 1) 8110 p = "int"; 8111 break; 8112 /* linux_mq_notify */ 8113 case 244: 8114 if (ndx == 0 || ndx == 1) 8115 p = "int"; 8116 break; 8117 /* linux_mq_getsetattr */ 8118 case 245: 8119 if (ndx == 0 || ndx == 1) 8120 p = "int"; 8121 break; 8122 /* linux_kexec_load */ 8123 case 246: 8124 /* linux_waitid */ 8125 case 247: 8126 if (ndx == 0 || ndx == 1) 8127 p = "int"; 8128 break; 8129 /* linux_add_key */ 8130 case 248: 8131 /* linux_request_key */ 8132 case 249: 8133 /* linux_keyctl */ 8134 case 250: 8135 /* linux_ioprio_set */ 8136 case 251: 8137 /* linux_ioprio_get */ 8138 case 252: 8139 /* linux_inotify_init */ 8140 case 253: 8141 /* linux_inotify_add_watch */ 8142 case 254: 8143 /* linux_inotify_rm_watch */ 8144 case 255: 8145 /* linux_migrate_pages */ 8146 case 256: 8147 /* linux_openat */ 8148 case 257: 8149 if (ndx == 0 || ndx == 1) 8150 p = "int"; 8151 break; 8152 /* linux_mkdirat */ 8153 case 258: 8154 if (ndx == 0 || ndx == 1) 8155 p = "int"; 8156 break; 8157 /* linux_mknodat */ 8158 case 259: 8159 if (ndx == 0 || ndx == 1) 8160 p = "int"; 8161 break; 8162 /* linux_fchownat */ 8163 case 260: 8164 if (ndx == 0 || ndx == 1) 8165 p = "int"; 8166 break; 8167 /* linux_futimesat */ 8168 case 261: 8169 if (ndx == 0 || ndx == 1) 8170 p = "int"; 8171 break; 8172 /* linux_newfstatat */ 8173 case 262: 8174 if (ndx == 0 || ndx == 1) 8175 p = "int"; 8176 break; 8177 /* linux_unlinkat */ 8178 case 263: 8179 if (ndx == 0 || ndx == 1) 8180 p = "int"; 8181 break; 8182 /* linux_renameat */ 8183 case 264: 8184 if (ndx == 0 || ndx == 1) 8185 p = "int"; 8186 break; 8187 /* linux_linkat */ 8188 case 265: 8189 if (ndx == 0 || ndx == 1) 8190 p = "int"; 8191 break; 8192 /* linux_symlinkat */ 8193 case 266: 8194 if (ndx == 0 || ndx == 1) 8195 p = "int"; 8196 break; 8197 /* linux_readlinkat */ 8198 case 267: 8199 if (ndx == 0 || ndx == 1) 8200 p = "int"; 8201 break; 8202 /* linux_fchmodat */ 8203 case 268: 8204 if (ndx == 0 || ndx == 1) 8205 p = "int"; 8206 break; 8207 /* linux_faccessat */ 8208 case 269: 8209 if (ndx == 0 || ndx == 1) 8210 p = "int"; 8211 break; 8212 /* linux_pselect6 */ 8213 case 270: 8214 if (ndx == 0 || ndx == 1) 8215 p = "int"; 8216 break; 8217 /* linux_ppoll */ 8218 case 271: 8219 if (ndx == 0 || ndx == 1) 8220 p = "int"; 8221 break; 8222 /* linux_unshare */ 8223 case 272: 8224 /* linux_set_robust_list */ 8225 case 273: 8226 if (ndx == 0 || ndx == 1) 8227 p = "int"; 8228 break; 8229 /* linux_get_robust_list */ 8230 case 274: 8231 if (ndx == 0 || ndx == 1) 8232 p = "int"; 8233 break; 8234 /* linux_splice */ 8235 case 275: 8236 if (ndx == 0 || ndx == 1) 8237 p = "int"; 8238 break; 8239 /* linux_tee */ 8240 case 276: 8241 /* linux_sync_file_range */ 8242 case 277: 8243 if (ndx == 0 || ndx == 1) 8244 p = "int"; 8245 break; 8246 /* linux_vmsplice */ 8247 case 278: 8248 /* linux_move_pages */ 8249 case 279: 8250 /* linux_utimensat */ 8251 case 280: 8252 if (ndx == 0 || ndx == 1) 8253 p = "int"; 8254 break; 8255 /* linux_epoll_pwait */ 8256 case 281: 8257 if (ndx == 0 || ndx == 1) 8258 p = "int"; 8259 break; 8260 /* linux_signalfd */ 8261 case 282: 8262 /* linux_timerfd_create */ 8263 case 283: 8264 if (ndx == 0 || ndx == 1) 8265 p = "int"; 8266 break; 8267 /* linux_eventfd */ 8268 case 284: 8269 if (ndx == 0 || ndx == 1) 8270 p = "int"; 8271 break; 8272 /* linux_fallocate */ 8273 case 285: 8274 if (ndx == 0 || ndx == 1) 8275 p = "int"; 8276 break; 8277 /* linux_timerfd_settime */ 8278 case 286: 8279 if (ndx == 0 || ndx == 1) 8280 p = "int"; 8281 break; 8282 /* linux_timerfd_gettime */ 8283 case 287: 8284 if (ndx == 0 || ndx == 1) 8285 p = "int"; 8286 break; 8287 /* linux_accept4 */ 8288 case 288: 8289 if (ndx == 0 || ndx == 1) 8290 p = "int"; 8291 break; 8292 /* linux_signalfd4 */ 8293 case 289: 8294 /* linux_eventfd2 */ 8295 case 290: 8296 if (ndx == 0 || ndx == 1) 8297 p = "int"; 8298 break; 8299 /* linux_epoll_create1 */ 8300 case 291: 8301 if (ndx == 0 || ndx == 1) 8302 p = "int"; 8303 break; 8304 /* linux_dup3 */ 8305 case 292: 8306 if (ndx == 0 || ndx == 1) 8307 p = "int"; 8308 break; 8309 /* linux_pipe2 */ 8310 case 293: 8311 if (ndx == 0 || ndx == 1) 8312 p = "int"; 8313 break; 8314 /* linux_inotify_init1 */ 8315 case 294: 8316 if (ndx == 0 || ndx == 1) 8317 p = "int"; 8318 break; 8319 /* linux_preadv */ 8320 case 295: 8321 if (ndx == 0 || ndx == 1) 8322 p = "int"; 8323 break; 8324 /* linux_pwritev */ 8325 case 296: 8326 if (ndx == 0 || ndx == 1) 8327 p = "int"; 8328 break; 8329 /* linux_rt_tgsigqueueinfo */ 8330 case 297: 8331 if (ndx == 0 || ndx == 1) 8332 p = "int"; 8333 break; 8334 /* linux_perf_event_open */ 8335 case 298: 8336 /* linux_recvmmsg */ 8337 case 299: 8338 if (ndx == 0 || ndx == 1) 8339 p = "int"; 8340 break; 8341 /* linux_fanotify_init */ 8342 case 300: 8343 /* linux_fanotify_mark */ 8344 case 301: 8345 /* linux_prlimit64 */ 8346 case 302: 8347 if (ndx == 0 || ndx == 1) 8348 p = "int"; 8349 break; 8350 /* linux_name_to_handle_at */ 8351 case 303: 8352 if (ndx == 0 || ndx == 1) 8353 p = "int"; 8354 break; 8355 /* linux_open_by_handle_at */ 8356 case 304: 8357 if (ndx == 0 || ndx == 1) 8358 p = "int"; 8359 break; 8360 /* linux_clock_adjtime */ 8361 case 305: 8362 /* linux_syncfs */ 8363 case 306: 8364 if (ndx == 0 || ndx == 1) 8365 p = "int"; 8366 break; 8367 /* linux_sendmmsg */ 8368 case 307: 8369 if (ndx == 0 || ndx == 1) 8370 p = "int"; 8371 break; 8372 /* linux_setns */ 8373 case 308: 8374 if (ndx == 0 || ndx == 1) 8375 p = "int"; 8376 break; 8377 /* linux_getcpu */ 8378 case 309: 8379 if (ndx == 0 || ndx == 1) 8380 p = "int"; 8381 break; 8382 /* linux_process_vm_readv */ 8383 case 310: 8384 if (ndx == 0 || ndx == 1) 8385 p = "int"; 8386 break; 8387 /* linux_process_vm_writev */ 8388 case 311: 8389 if (ndx == 0 || ndx == 1) 8390 p = "int"; 8391 break; 8392 /* linux_kcmp */ 8393 case 312: 8394 if (ndx == 0 || ndx == 1) 8395 p = "int"; 8396 break; 8397 /* linux_finit_module */ 8398 case 313: 8399 if (ndx == 0 || ndx == 1) 8400 p = "int"; 8401 break; 8402 /* linux_sched_setattr */ 8403 case 314: 8404 if (ndx == 0 || ndx == 1) 8405 p = "int"; 8406 break; 8407 /* linux_sched_getattr */ 8408 case 315: 8409 if (ndx == 0 || ndx == 1) 8410 p = "int"; 8411 break; 8412 /* linux_renameat2 */ 8413 case 316: 8414 if (ndx == 0 || ndx == 1) 8415 p = "int"; 8416 break; 8417 /* linux_seccomp */ 8418 case 317: 8419 if (ndx == 0 || ndx == 1) 8420 p = "int"; 8421 break; 8422 /* linux_getrandom */ 8423 case 318: 8424 if (ndx == 0 || ndx == 1) 8425 p = "int"; 8426 break; 8427 /* linux_memfd_create */ 8428 case 319: 8429 if (ndx == 0 || ndx == 1) 8430 p = "int"; 8431 break; 8432 /* linux_kexec_file_load */ 8433 case 320: 8434 if (ndx == 0 || ndx == 1) 8435 p = "int"; 8436 break; 8437 /* linux_bpf */ 8438 case 321: 8439 if (ndx == 0 || ndx == 1) 8440 p = "int"; 8441 break; 8442 /* linux_execveat */ 8443 case 322: 8444 if (ndx == 0 || ndx == 1) 8445 p = "int"; 8446 break; 8447 /* linux_userfaultfd */ 8448 case 323: 8449 if (ndx == 0 || ndx == 1) 8450 p = "int"; 8451 break; 8452 /* linux_membarrier */ 8453 case 324: 8454 if (ndx == 0 || ndx == 1) 8455 p = "int"; 8456 break; 8457 /* linux_mlock2 */ 8458 case 325: 8459 if (ndx == 0 || ndx == 1) 8460 p = "int"; 8461 break; 8462 /* linux_copy_file_range */ 8463 case 326: 8464 if (ndx == 0 || ndx == 1) 8465 p = "int"; 8466 break; 8467 /* linux_preadv2 */ 8468 case 327: 8469 if (ndx == 0 || ndx == 1) 8470 p = "int"; 8471 break; 8472 /* linux_pwritev2 */ 8473 case 328: 8474 if (ndx == 0 || ndx == 1) 8475 p = "int"; 8476 break; 8477 /* linux_pkey_mprotect */ 8478 case 329: 8479 if (ndx == 0 || ndx == 1) 8480 p = "int"; 8481 break; 8482 /* linux_pkey_alloc */ 8483 case 330: 8484 if (ndx == 0 || ndx == 1) 8485 p = "int"; 8486 break; 8487 /* linux_pkey_free */ 8488 case 331: 8489 if (ndx == 0 || ndx == 1) 8490 p = "int"; 8491 break; 8492 /* linux_statx */ 8493 case 332: 8494 if (ndx == 0 || ndx == 1) 8495 p = "int"; 8496 break; 8497 /* linux_io_pgetevents */ 8498 case 333: 8499 /* linux_rseq */ 8500 case 334: 8501 /* linux_pidfd_send_signal */ 8502 case 424: 8503 if (ndx == 0 || ndx == 1) 8504 p = "int"; 8505 break; 8506 /* linux_io_uring_setup */ 8507 case 425: 8508 /* linux_io_uring_enter */ 8509 case 426: 8510 /* linux_io_uring_register */ 8511 case 427: 8512 /* linux_open_tree */ 8513 case 428: 8514 /* linux_move_mount */ 8515 case 429: 8516 /* linux_fsopen */ 8517 case 430: 8518 /* linux_fsconfig */ 8519 case 431: 8520 /* linux_fsmount */ 8521 case 432: 8522 /* linux_fspick */ 8523 case 433: 8524 /* linux_pidfd_open */ 8525 case 434: 8526 /* linux_clone3 */ 8527 case 435: 8528 if (ndx == 0 || ndx == 1) 8529 p = "int"; 8530 break; 8531 /* linux_close_range */ 8532 case 436: 8533 /* linux_openat2 */ 8534 case 437: 8535 /* linux_pidfd_getfd */ 8536 case 438: 8537 /* linux_faccessat2 */ 8538 case 439: 8539 if (ndx == 0 || ndx == 1) 8540 p = "int"; 8541 break; 8542 /* linux_process_madvise */ 8543 case 440: 8544 /* linux_epoll_pwait2 */ 8545 case 441: 8546 /* linux_mount_setattr */ 8547 case 442: 8548 default: 8549 break; 8550 }; 8551 if (p != NULL) 8552 strlcpy(desc, p, descsz); 8553 } 8554