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