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