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