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