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