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