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