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