1 /* 2 * System call prototypes. 3 * 4 * DO NOT EDIT-- To regenerate this file, edit syscalls.master followed 5 * by running make sysent in the same directory. 6 */ 7 8 #ifndef _SYS_SYSPROTO_H_ 9 #define _SYS_SYSPROTO_H_ 10 11 #include <sys/select.h> 12 #include <sys/signal.h> 13 #include <sys/acl.h> 14 #include <sys/cpumask.h> 15 #include <sys/mqueue.h> 16 #include <sys/msgport.h> 17 #include <sys/procctl.h> 18 19 #define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \ 20 0 : sizeof(register_t) - sizeof(t)) 21 22 struct exit_args { 23 int rval; char rval_[PAD_(int)]; 24 }; 25 struct fork_args { 26 register_t dummy; 27 }; 28 struct read_args { 29 int fd; char fd_[PAD_(int)]; 30 void * buf; char buf_[PAD_(void *)]; 31 size_t nbyte; char nbyte_[PAD_(size_t)]; 32 }; 33 struct write_args { 34 int fd; char fd_[PAD_(int)]; 35 const void * buf; char buf_[PAD_(const void *)]; 36 size_t nbyte; char nbyte_[PAD_(size_t)]; 37 }; 38 struct open_args { 39 char * path; char path_[PAD_(char *)]; 40 int flags; char flags_[PAD_(int)]; 41 int mode; char mode_[PAD_(int)]; 42 }; 43 struct close_args { 44 int fd; char fd_[PAD_(int)]; 45 }; 46 struct wait_args { 47 int pid; char pid_[PAD_(int)]; 48 int * status; char status_[PAD_(int *)]; 49 int options; char options_[PAD_(int)]; 50 struct rusage * rusage; char rusage_[PAD_(struct rusage *)]; 51 }; 52 struct nosys_args { 53 register_t dummy; 54 }; 55 struct link_args { 56 char * path; char path_[PAD_(char *)]; 57 char * link; char link_[PAD_(char *)]; 58 }; 59 struct unlink_args { 60 char * path; char path_[PAD_(char *)]; 61 }; 62 struct chdir_args { 63 char * path; char path_[PAD_(char *)]; 64 }; 65 struct fchdir_args { 66 int fd; char fd_[PAD_(int)]; 67 }; 68 struct mknod_args { 69 char * path; char path_[PAD_(char *)]; 70 int mode; char mode_[PAD_(int)]; 71 int dev; char dev_[PAD_(int)]; 72 }; 73 struct chmod_args { 74 char * path; char path_[PAD_(char *)]; 75 int mode; char mode_[PAD_(int)]; 76 }; 77 struct chown_args { 78 char * path; char path_[PAD_(char *)]; 79 int uid; char uid_[PAD_(int)]; 80 int gid; char gid_[PAD_(int)]; 81 }; 82 struct obreak_args { 83 char * nsize; char nsize_[PAD_(char *)]; 84 }; 85 struct getfsstat_args { 86 struct statfs * buf; char buf_[PAD_(struct statfs *)]; 87 long bufsize; char bufsize_[PAD_(long)]; 88 int flags; char flags_[PAD_(int)]; 89 }; 90 struct getpid_args { 91 register_t dummy; 92 }; 93 struct mount_args { 94 char * type; char type_[PAD_(char *)]; 95 char * path; char path_[PAD_(char *)]; 96 int flags; char flags_[PAD_(int)]; 97 caddr_t data; char data_[PAD_(caddr_t)]; 98 }; 99 struct unmount_args { 100 char * path; char path_[PAD_(char *)]; 101 int flags; char flags_[PAD_(int)]; 102 }; 103 struct setuid_args { 104 uid_t uid; char uid_[PAD_(uid_t)]; 105 }; 106 struct getuid_args { 107 register_t dummy; 108 }; 109 struct geteuid_args { 110 register_t dummy; 111 }; 112 struct ptrace_args { 113 int req; char req_[PAD_(int)]; 114 pid_t pid; char pid_[PAD_(pid_t)]; 115 caddr_t addr; char addr_[PAD_(caddr_t)]; 116 int data; char data_[PAD_(int)]; 117 }; 118 struct recvmsg_args { 119 int s; char s_[PAD_(int)]; 120 struct msghdr * msg; char msg_[PAD_(struct msghdr *)]; 121 int flags; char flags_[PAD_(int)]; 122 }; 123 struct sendmsg_args { 124 int s; char s_[PAD_(int)]; 125 caddr_t msg; char msg_[PAD_(caddr_t)]; 126 int flags; char flags_[PAD_(int)]; 127 }; 128 struct recvfrom_args { 129 int s; char s_[PAD_(int)]; 130 caddr_t buf; char buf_[PAD_(caddr_t)]; 131 size_t len; char len_[PAD_(size_t)]; 132 int flags; char flags_[PAD_(int)]; 133 caddr_t from; char from_[PAD_(caddr_t)]; 134 int * fromlenaddr; char fromlenaddr_[PAD_(int *)]; 135 }; 136 struct accept_args { 137 int s; char s_[PAD_(int)]; 138 caddr_t name; char name_[PAD_(caddr_t)]; 139 int * anamelen; char anamelen_[PAD_(int *)]; 140 }; 141 struct getpeername_args { 142 int fdes; char fdes_[PAD_(int)]; 143 caddr_t asa; char asa_[PAD_(caddr_t)]; 144 int * alen; char alen_[PAD_(int *)]; 145 }; 146 struct getsockname_args { 147 int fdes; char fdes_[PAD_(int)]; 148 caddr_t asa; char asa_[PAD_(caddr_t)]; 149 int * alen; char alen_[PAD_(int *)]; 150 }; 151 struct access_args { 152 char * path; char path_[PAD_(char *)]; 153 int flags; char flags_[PAD_(int)]; 154 }; 155 struct chflags_args { 156 const char * path; char path_[PAD_(const char *)]; 157 u_long flags; char flags_[PAD_(u_long)]; 158 }; 159 struct fchflags_args { 160 int fd; char fd_[PAD_(int)]; 161 u_long flags; char flags_[PAD_(u_long)]; 162 }; 163 struct sync_args { 164 register_t dummy; 165 }; 166 struct kill_args { 167 int pid; char pid_[PAD_(int)]; 168 int signum; char signum_[PAD_(int)]; 169 }; 170 struct getppid_args { 171 register_t dummy; 172 }; 173 struct dup_args { 174 int fd; char fd_[PAD_(int)]; 175 }; 176 struct pipe_args { 177 register_t dummy; 178 }; 179 struct getegid_args { 180 register_t dummy; 181 }; 182 struct profil_args { 183 caddr_t samples; char samples_[PAD_(caddr_t)]; 184 size_t size; char size_[PAD_(size_t)]; 185 u_long offset; char offset_[PAD_(u_long)]; 186 u_int scale; char scale_[PAD_(u_int)]; 187 }; 188 struct ktrace_args { 189 const char * fname; char fname_[PAD_(const char *)]; 190 int ops; char ops_[PAD_(int)]; 191 int facs; char facs_[PAD_(int)]; 192 int pid; char pid_[PAD_(int)]; 193 }; 194 struct getgid_args { 195 register_t dummy; 196 }; 197 struct getlogin_args { 198 char * namebuf; char namebuf_[PAD_(char *)]; 199 size_t namelen; char namelen_[PAD_(size_t)]; 200 }; 201 struct setlogin_args { 202 char * namebuf; char namebuf_[PAD_(char *)]; 203 }; 204 struct acct_args { 205 char * path; char path_[PAD_(char *)]; 206 }; 207 struct sigaltstack_args { 208 stack_t * ss; char ss_[PAD_(stack_t *)]; 209 stack_t * oss; char oss_[PAD_(stack_t *)]; 210 }; 211 struct ioctl_args { 212 int fd; char fd_[PAD_(int)]; 213 u_long com; char com_[PAD_(u_long)]; 214 caddr_t data; char data_[PAD_(caddr_t)]; 215 }; 216 struct reboot_args { 217 int opt; char opt_[PAD_(int)]; 218 }; 219 struct revoke_args { 220 char * path; char path_[PAD_(char *)]; 221 }; 222 struct symlink_args { 223 char * path; char path_[PAD_(char *)]; 224 char * link; char link_[PAD_(char *)]; 225 }; 226 struct readlink_args { 227 char * path; char path_[PAD_(char *)]; 228 char * buf; char buf_[PAD_(char *)]; 229 int count; char count_[PAD_(int)]; 230 }; 231 struct execve_args { 232 char * fname; char fname_[PAD_(char *)]; 233 char ** argv; char argv_[PAD_(char **)]; 234 char ** envv; char envv_[PAD_(char **)]; 235 }; 236 struct umask_args { 237 int newmask; char newmask_[PAD_(int)]; 238 }; 239 struct chroot_args { 240 char * path; char path_[PAD_(char *)]; 241 }; 242 struct msync_args { 243 void * addr; char addr_[PAD_(void *)]; 244 size_t len; char len_[PAD_(size_t)]; 245 int flags; char flags_[PAD_(int)]; 246 }; 247 struct vfork_args { 248 register_t dummy; 249 }; 250 struct sbrk_args { 251 size_t incr; char incr_[PAD_(size_t)]; 252 }; 253 struct sstk_args { 254 size_t incr; char incr_[PAD_(size_t)]; 255 }; 256 struct munmap_args { 257 void * addr; char addr_[PAD_(void *)]; 258 size_t len; char len_[PAD_(size_t)]; 259 }; 260 struct mprotect_args { 261 void * addr; char addr_[PAD_(void *)]; 262 size_t len; char len_[PAD_(size_t)]; 263 int prot; char prot_[PAD_(int)]; 264 }; 265 struct madvise_args { 266 void * addr; char addr_[PAD_(void *)]; 267 size_t len; char len_[PAD_(size_t)]; 268 int behav; char behav_[PAD_(int)]; 269 }; 270 struct mincore_args { 271 const void * addr; char addr_[PAD_(const void *)]; 272 size_t len; char len_[PAD_(size_t)]; 273 char * vec; char vec_[PAD_(char *)]; 274 }; 275 struct getgroups_args { 276 u_int gidsetsize; char gidsetsize_[PAD_(u_int)]; 277 gid_t * gidset; char gidset_[PAD_(gid_t *)]; 278 }; 279 struct setgroups_args { 280 u_int gidsetsize; char gidsetsize_[PAD_(u_int)]; 281 gid_t * gidset; char gidset_[PAD_(gid_t *)]; 282 }; 283 struct getpgrp_args { 284 register_t dummy; 285 }; 286 struct setpgid_args { 287 int pid; char pid_[PAD_(int)]; 288 int pgid; char pgid_[PAD_(int)]; 289 }; 290 struct setitimer_args { 291 u_int which; char which_[PAD_(u_int)]; 292 struct itimerval * itv; char itv_[PAD_(struct itimerval *)]; 293 struct itimerval * oitv; char oitv_[PAD_(struct itimerval *)]; 294 }; 295 struct swapon_args { 296 char * name; char name_[PAD_(char *)]; 297 }; 298 struct getitimer_args { 299 u_int which; char which_[PAD_(u_int)]; 300 struct itimerval * itv; char itv_[PAD_(struct itimerval *)]; 301 }; 302 struct getdtablesize_args { 303 register_t dummy; 304 }; 305 struct dup2_args { 306 int from; char from_[PAD_(int)]; 307 int to; char to_[PAD_(int)]; 308 }; 309 struct fcntl_args { 310 int fd; char fd_[PAD_(int)]; 311 int cmd; char cmd_[PAD_(int)]; 312 long arg; char arg_[PAD_(long)]; 313 }; 314 struct select_args { 315 int nd; char nd_[PAD_(int)]; 316 fd_set * in; char in_[PAD_(fd_set *)]; 317 fd_set * ou; char ou_[PAD_(fd_set *)]; 318 fd_set * ex; char ex_[PAD_(fd_set *)]; 319 struct timeval * tv; char tv_[PAD_(struct timeval *)]; 320 }; 321 struct fsync_args { 322 int fd; char fd_[PAD_(int)]; 323 }; 324 struct setpriority_args { 325 int which; char which_[PAD_(int)]; 326 int who; char who_[PAD_(int)]; 327 int prio; char prio_[PAD_(int)]; 328 }; 329 struct socket_args { 330 int domain; char domain_[PAD_(int)]; 331 int type; char type_[PAD_(int)]; 332 int protocol; char protocol_[PAD_(int)]; 333 }; 334 struct connect_args { 335 int s; char s_[PAD_(int)]; 336 caddr_t name; char name_[PAD_(caddr_t)]; 337 int namelen; char namelen_[PAD_(int)]; 338 }; 339 struct getpriority_args { 340 int which; char which_[PAD_(int)]; 341 int who; char who_[PAD_(int)]; 342 }; 343 struct bind_args { 344 int s; char s_[PAD_(int)]; 345 caddr_t name; char name_[PAD_(caddr_t)]; 346 int namelen; char namelen_[PAD_(int)]; 347 }; 348 struct setsockopt_args { 349 int s; char s_[PAD_(int)]; 350 int level; char level_[PAD_(int)]; 351 int name; char name_[PAD_(int)]; 352 caddr_t val; char val_[PAD_(caddr_t)]; 353 int valsize; char valsize_[PAD_(int)]; 354 }; 355 struct listen_args { 356 int s; char s_[PAD_(int)]; 357 int backlog; char backlog_[PAD_(int)]; 358 }; 359 struct gettimeofday_args { 360 struct timeval * tp; char tp_[PAD_(struct timeval *)]; 361 struct timezone * tzp; char tzp_[PAD_(struct timezone *)]; 362 }; 363 struct getrusage_args { 364 int who; char who_[PAD_(int)]; 365 struct rusage * rusage; char rusage_[PAD_(struct rusage *)]; 366 }; 367 struct getsockopt_args { 368 int s; char s_[PAD_(int)]; 369 int level; char level_[PAD_(int)]; 370 int name; char name_[PAD_(int)]; 371 caddr_t val; char val_[PAD_(caddr_t)]; 372 int * avalsize; char avalsize_[PAD_(int *)]; 373 }; 374 struct readv_args { 375 int fd; char fd_[PAD_(int)]; 376 struct iovec * iovp; char iovp_[PAD_(struct iovec *)]; 377 u_int iovcnt; char iovcnt_[PAD_(u_int)]; 378 }; 379 struct writev_args { 380 int fd; char fd_[PAD_(int)]; 381 struct iovec * iovp; char iovp_[PAD_(struct iovec *)]; 382 u_int iovcnt; char iovcnt_[PAD_(u_int)]; 383 }; 384 struct settimeofday_args { 385 struct timeval * tv; char tv_[PAD_(struct timeval *)]; 386 struct timezone * tzp; char tzp_[PAD_(struct timezone *)]; 387 }; 388 struct fchown_args { 389 int fd; char fd_[PAD_(int)]; 390 int uid; char uid_[PAD_(int)]; 391 int gid; char gid_[PAD_(int)]; 392 }; 393 struct fchmod_args { 394 int fd; char fd_[PAD_(int)]; 395 int mode; char mode_[PAD_(int)]; 396 }; 397 struct setreuid_args { 398 int ruid; char ruid_[PAD_(int)]; 399 int euid; char euid_[PAD_(int)]; 400 }; 401 struct setregid_args { 402 int rgid; char rgid_[PAD_(int)]; 403 int egid; char egid_[PAD_(int)]; 404 }; 405 struct rename_args { 406 char * from; char from_[PAD_(char *)]; 407 char * to; char to_[PAD_(char *)]; 408 }; 409 struct flock_args { 410 int fd; char fd_[PAD_(int)]; 411 int how; char how_[PAD_(int)]; 412 }; 413 struct mkfifo_args { 414 char * path; char path_[PAD_(char *)]; 415 int mode; char mode_[PAD_(int)]; 416 }; 417 struct sendto_args { 418 int s; char s_[PAD_(int)]; 419 caddr_t buf; char buf_[PAD_(caddr_t)]; 420 size_t len; char len_[PAD_(size_t)]; 421 int flags; char flags_[PAD_(int)]; 422 caddr_t to; char to_[PAD_(caddr_t)]; 423 int tolen; char tolen_[PAD_(int)]; 424 }; 425 struct shutdown_args { 426 int s; char s_[PAD_(int)]; 427 int how; char how_[PAD_(int)]; 428 }; 429 struct socketpair_args { 430 int domain; char domain_[PAD_(int)]; 431 int type; char type_[PAD_(int)]; 432 int protocol; char protocol_[PAD_(int)]; 433 int * rsv; char rsv_[PAD_(int *)]; 434 }; 435 struct mkdir_args { 436 char * path; char path_[PAD_(char *)]; 437 int mode; char mode_[PAD_(int)]; 438 }; 439 struct rmdir_args { 440 char * path; char path_[PAD_(char *)]; 441 }; 442 struct utimes_args { 443 char * path; char path_[PAD_(char *)]; 444 struct timeval * tptr; char tptr_[PAD_(struct timeval *)]; 445 }; 446 struct adjtime_args { 447 struct timeval * delta; char delta_[PAD_(struct timeval *)]; 448 struct timeval * olddelta; char olddelta_[PAD_(struct timeval *)]; 449 }; 450 struct setsid_args { 451 register_t dummy; 452 }; 453 struct quotactl_args { 454 char * path; char path_[PAD_(char *)]; 455 int cmd; char cmd_[PAD_(int)]; 456 int uid; char uid_[PAD_(int)]; 457 caddr_t arg; char arg_[PAD_(caddr_t)]; 458 }; 459 struct nfssvc_args { 460 int flag; char flag_[PAD_(int)]; 461 caddr_t argp; char argp_[PAD_(caddr_t)]; 462 }; 463 struct statfs_args { 464 char * path; char path_[PAD_(char *)]; 465 struct statfs * buf; char buf_[PAD_(struct statfs *)]; 466 }; 467 struct fstatfs_args { 468 int fd; char fd_[PAD_(int)]; 469 struct statfs * buf; char buf_[PAD_(struct statfs *)]; 470 }; 471 struct getfh_args { 472 char * fname; char fname_[PAD_(char *)]; 473 struct fhandle * fhp; char fhp_[PAD_(struct fhandle *)]; 474 }; 475 struct sysarch_args { 476 int op; char op_[PAD_(int)]; 477 char * parms; char parms_[PAD_(char *)]; 478 }; 479 struct rtprio_args { 480 int function; char function_[PAD_(int)]; 481 pid_t pid; char pid_[PAD_(pid_t)]; 482 struct rtprio * rtp; char rtp_[PAD_(struct rtprio *)]; 483 }; 484 struct extpread_args { 485 int fd; char fd_[PAD_(int)]; 486 void * buf; char buf_[PAD_(void *)]; 487 size_t nbyte; char nbyte_[PAD_(size_t)]; 488 int flags; char flags_[PAD_(int)]; 489 off_t offset; char offset_[PAD_(off_t)]; 490 }; 491 struct extpwrite_args { 492 int fd; char fd_[PAD_(int)]; 493 const void * buf; char buf_[PAD_(const void *)]; 494 size_t nbyte; char nbyte_[PAD_(size_t)]; 495 int flags; char flags_[PAD_(int)]; 496 off_t offset; char offset_[PAD_(off_t)]; 497 }; 498 struct ntp_adjtime_args { 499 struct timex * tp; char tp_[PAD_(struct timex *)]; 500 }; 501 struct setgid_args { 502 gid_t gid; char gid_[PAD_(gid_t)]; 503 }; 504 struct setegid_args { 505 gid_t egid; char egid_[PAD_(gid_t)]; 506 }; 507 struct seteuid_args { 508 uid_t euid; char euid_[PAD_(uid_t)]; 509 }; 510 struct pathconf_args { 511 char * path; char path_[PAD_(char *)]; 512 int name; char name_[PAD_(int)]; 513 }; 514 struct fpathconf_args { 515 int fd; char fd_[PAD_(int)]; 516 int name; char name_[PAD_(int)]; 517 }; 518 struct __getrlimit_args { 519 u_int which; char which_[PAD_(u_int)]; 520 struct rlimit * rlp; char rlp_[PAD_(struct rlimit *)]; 521 }; 522 struct __setrlimit_args { 523 u_int which; char which_[PAD_(u_int)]; 524 struct rlimit * rlp; char rlp_[PAD_(struct rlimit *)]; 525 }; 526 struct mmap_args { 527 caddr_t addr; char addr_[PAD_(caddr_t)]; 528 size_t len; char len_[PAD_(size_t)]; 529 int prot; char prot_[PAD_(int)]; 530 int flags; char flags_[PAD_(int)]; 531 int fd; char fd_[PAD_(int)]; 532 int pad; char pad_[PAD_(int)]; 533 off_t pos; char pos_[PAD_(off_t)]; 534 }; 535 struct lseek_args { 536 int fd; char fd_[PAD_(int)]; 537 int pad; char pad_[PAD_(int)]; 538 off_t offset; char offset_[PAD_(off_t)]; 539 int whence; char whence_[PAD_(int)]; 540 }; 541 struct truncate_args { 542 char * path; char path_[PAD_(char *)]; 543 int pad; char pad_[PAD_(int)]; 544 off_t length; char length_[PAD_(off_t)]; 545 }; 546 struct ftruncate_args { 547 int fd; char fd_[PAD_(int)]; 548 int pad; char pad_[PAD_(int)]; 549 off_t length; char length_[PAD_(off_t)]; 550 }; 551 struct sysctl_args { 552 int * name; char name_[PAD_(int *)]; 553 u_int namelen; char namelen_[PAD_(u_int)]; 554 void * old; char old_[PAD_(void *)]; 555 size_t * oldlenp; char oldlenp_[PAD_(size_t *)]; 556 void * new; char new_[PAD_(void *)]; 557 size_t newlen; char newlen_[PAD_(size_t)]; 558 }; 559 struct mlock_args { 560 const void * addr; char addr_[PAD_(const void *)]; 561 size_t len; char len_[PAD_(size_t)]; 562 }; 563 struct munlock_args { 564 const void * addr; char addr_[PAD_(const void *)]; 565 size_t len; char len_[PAD_(size_t)]; 566 }; 567 struct undelete_args { 568 char * path; char path_[PAD_(char *)]; 569 }; 570 struct futimes_args { 571 int fd; char fd_[PAD_(int)]; 572 struct timeval * tptr; char tptr_[PAD_(struct timeval *)]; 573 }; 574 struct getpgid_args { 575 pid_t pid; char pid_[PAD_(pid_t)]; 576 }; 577 struct poll_args { 578 struct pollfd * fds; char fds_[PAD_(struct pollfd *)]; 579 u_int nfds; char nfds_[PAD_(u_int)]; 580 int timeout; char timeout_[PAD_(int)]; 581 }; 582 struct __semctl_args { 583 int semid; char semid_[PAD_(int)]; 584 int semnum; char semnum_[PAD_(int)]; 585 int cmd; char cmd_[PAD_(int)]; 586 union semun * arg; char arg_[PAD_(union semun *)]; 587 }; 588 struct semget_args { 589 key_t key; char key_[PAD_(key_t)]; 590 int nsems; char nsems_[PAD_(int)]; 591 int semflg; char semflg_[PAD_(int)]; 592 }; 593 struct semop_args { 594 int semid; char semid_[PAD_(int)]; 595 struct sembuf * sops; char sops_[PAD_(struct sembuf *)]; 596 u_int nsops; char nsops_[PAD_(u_int)]; 597 }; 598 struct msgctl_args { 599 int msqid; char msqid_[PAD_(int)]; 600 int cmd; char cmd_[PAD_(int)]; 601 struct msqid_ds * buf; char buf_[PAD_(struct msqid_ds *)]; 602 }; 603 struct msgget_args { 604 key_t key; char key_[PAD_(key_t)]; 605 int msgflg; char msgflg_[PAD_(int)]; 606 }; 607 struct msgsnd_args { 608 int msqid; char msqid_[PAD_(int)]; 609 const void * msgp; char msgp_[PAD_(const void *)]; 610 size_t msgsz; char msgsz_[PAD_(size_t)]; 611 int msgflg; char msgflg_[PAD_(int)]; 612 }; 613 struct msgrcv_args { 614 int msqid; char msqid_[PAD_(int)]; 615 void * msgp; char msgp_[PAD_(void *)]; 616 size_t msgsz; char msgsz_[PAD_(size_t)]; 617 long msgtyp; char msgtyp_[PAD_(long)]; 618 int msgflg; char msgflg_[PAD_(int)]; 619 }; 620 struct shmat_args { 621 int shmid; char shmid_[PAD_(int)]; 622 const void * shmaddr; char shmaddr_[PAD_(const void *)]; 623 int shmflg; char shmflg_[PAD_(int)]; 624 }; 625 struct shmctl_args { 626 int shmid; char shmid_[PAD_(int)]; 627 int cmd; char cmd_[PAD_(int)]; 628 struct shmid_ds * buf; char buf_[PAD_(struct shmid_ds *)]; 629 }; 630 struct shmdt_args { 631 const void * shmaddr; char shmaddr_[PAD_(const void *)]; 632 }; 633 struct shmget_args { 634 key_t key; char key_[PAD_(key_t)]; 635 size_t size; char size_[PAD_(size_t)]; 636 int shmflg; char shmflg_[PAD_(int)]; 637 }; 638 struct clock_gettime_args { 639 clockid_t clock_id; char clock_id_[PAD_(clockid_t)]; 640 struct timespec * tp; char tp_[PAD_(struct timespec *)]; 641 }; 642 struct clock_settime_args { 643 clockid_t clock_id; char clock_id_[PAD_(clockid_t)]; 644 const struct timespec * tp; char tp_[PAD_(const struct timespec *)]; 645 }; 646 struct clock_getres_args { 647 clockid_t clock_id; char clock_id_[PAD_(clockid_t)]; 648 struct timespec * tp; char tp_[PAD_(struct timespec *)]; 649 }; 650 struct nanosleep_args { 651 const struct timespec * rqtp; char rqtp_[PAD_(const struct timespec *)]; 652 struct timespec * rmtp; char rmtp_[PAD_(struct timespec *)]; 653 }; 654 struct minherit_args { 655 void * addr; char addr_[PAD_(void *)]; 656 size_t len; char len_[PAD_(size_t)]; 657 int inherit; char inherit_[PAD_(int)]; 658 }; 659 struct rfork_args { 660 int flags; char flags_[PAD_(int)]; 661 }; 662 struct openbsd_poll_args { 663 struct pollfd * fds; char fds_[PAD_(struct pollfd *)]; 664 u_int nfds; char nfds_[PAD_(u_int)]; 665 int timeout; char timeout_[PAD_(int)]; 666 }; 667 struct issetugid_args { 668 register_t dummy; 669 }; 670 struct lchown_args { 671 char * path; char path_[PAD_(char *)]; 672 int uid; char uid_[PAD_(int)]; 673 int gid; char gid_[PAD_(int)]; 674 }; 675 struct lchmod_args { 676 char * path; char path_[PAD_(char *)]; 677 mode_t mode; char mode_[PAD_(mode_t)]; 678 }; 679 struct lutimes_args { 680 char * path; char path_[PAD_(char *)]; 681 struct timeval * tptr; char tptr_[PAD_(struct timeval *)]; 682 }; 683 struct extpreadv_args { 684 int fd; char fd_[PAD_(int)]; 685 const struct iovec * iovp; char iovp_[PAD_(const struct iovec *)]; 686 int iovcnt; char iovcnt_[PAD_(int)]; 687 int flags; char flags_[PAD_(int)]; 688 off_t offset; char offset_[PAD_(off_t)]; 689 }; 690 struct extpwritev_args { 691 int fd; char fd_[PAD_(int)]; 692 const struct iovec * iovp; char iovp_[PAD_(const struct iovec *)]; 693 int iovcnt; char iovcnt_[PAD_(int)]; 694 int flags; char flags_[PAD_(int)]; 695 off_t offset; char offset_[PAD_(off_t)]; 696 }; 697 struct fhstatfs_args { 698 const struct fhandle * u_fhp; char u_fhp_[PAD_(const struct fhandle *)]; 699 struct statfs * buf; char buf_[PAD_(struct statfs *)]; 700 }; 701 struct fhopen_args { 702 const struct fhandle * u_fhp; char u_fhp_[PAD_(const struct fhandle *)]; 703 int flags; char flags_[PAD_(int)]; 704 }; 705 struct modnext_args { 706 int modid; char modid_[PAD_(int)]; 707 }; 708 struct modstat_args { 709 int modid; char modid_[PAD_(int)]; 710 struct module_stat * stat; char stat_[PAD_(struct module_stat *)]; 711 }; 712 struct modfnext_args { 713 int modid; char modid_[PAD_(int)]; 714 }; 715 struct modfind_args { 716 const char * name; char name_[PAD_(const char *)]; 717 }; 718 struct kldload_args { 719 const char * file; char file_[PAD_(const char *)]; 720 }; 721 struct kldunload_args { 722 int fileid; char fileid_[PAD_(int)]; 723 }; 724 struct kldfind_args { 725 const char * file; char file_[PAD_(const char *)]; 726 }; 727 struct kldnext_args { 728 int fileid; char fileid_[PAD_(int)]; 729 }; 730 struct kldstat_args { 731 int fileid; char fileid_[PAD_(int)]; 732 struct kld_file_stat * stat; char stat_[PAD_(struct kld_file_stat *)]; 733 }; 734 struct kldfirstmod_args { 735 int fileid; char fileid_[PAD_(int)]; 736 }; 737 struct getsid_args { 738 pid_t pid; char pid_[PAD_(pid_t)]; 739 }; 740 struct setresuid_args { 741 uid_t ruid; char ruid_[PAD_(uid_t)]; 742 uid_t euid; char euid_[PAD_(uid_t)]; 743 uid_t suid; char suid_[PAD_(uid_t)]; 744 }; 745 struct setresgid_args { 746 gid_t rgid; char rgid_[PAD_(gid_t)]; 747 gid_t egid; char egid_[PAD_(gid_t)]; 748 gid_t sgid; char sgid_[PAD_(gid_t)]; 749 }; 750 struct aio_return_args { 751 struct aiocb * aiocbp; char aiocbp_[PAD_(struct aiocb *)]; 752 }; 753 struct aio_suspend_args { 754 struct aiocb *const * aiocbp; char aiocbp_[PAD_(struct aiocb *const *)]; 755 int nent; char nent_[PAD_(int)]; 756 const struct timespec * timeout; char timeout_[PAD_(const struct timespec *)]; 757 }; 758 struct aio_cancel_args { 759 int fd; char fd_[PAD_(int)]; 760 struct aiocb * aiocbp; char aiocbp_[PAD_(struct aiocb *)]; 761 }; 762 struct aio_error_args { 763 struct aiocb * aiocbp; char aiocbp_[PAD_(struct aiocb *)]; 764 }; 765 struct aio_read_args { 766 struct aiocb * aiocbp; char aiocbp_[PAD_(struct aiocb *)]; 767 }; 768 struct aio_write_args { 769 struct aiocb * aiocbp; char aiocbp_[PAD_(struct aiocb *)]; 770 }; 771 struct lio_listio_args { 772 int mode; char mode_[PAD_(int)]; 773 struct aiocb *const * acb_list; char acb_list_[PAD_(struct aiocb *const *)]; 774 int nent; char nent_[PAD_(int)]; 775 struct sigevent * sig; char sig_[PAD_(struct sigevent *)]; 776 }; 777 struct yield_args { 778 register_t dummy; 779 }; 780 struct mlockall_args { 781 int how; char how_[PAD_(int)]; 782 }; 783 struct munlockall_args { 784 register_t dummy; 785 }; 786 struct __getcwd_args { 787 u_char * buf; char buf_[PAD_(u_char *)]; 788 u_int buflen; char buflen_[PAD_(u_int)]; 789 }; 790 struct sched_setparam_args { 791 pid_t pid; char pid_[PAD_(pid_t)]; 792 const struct sched_param * param; char param_[PAD_(const struct sched_param *)]; 793 }; 794 struct sched_getparam_args { 795 pid_t pid; char pid_[PAD_(pid_t)]; 796 struct sched_param * param; char param_[PAD_(struct sched_param *)]; 797 }; 798 struct sched_setscheduler_args { 799 pid_t pid; char pid_[PAD_(pid_t)]; 800 int policy; char policy_[PAD_(int)]; 801 const struct sched_param * param; char param_[PAD_(const struct sched_param *)]; 802 }; 803 struct sched_getscheduler_args { 804 pid_t pid; char pid_[PAD_(pid_t)]; 805 }; 806 struct sched_yield_args { 807 register_t dummy; 808 }; 809 struct sched_get_priority_max_args { 810 int policy; char policy_[PAD_(int)]; 811 }; 812 struct sched_get_priority_min_args { 813 int policy; char policy_[PAD_(int)]; 814 }; 815 struct sched_rr_get_interval_args { 816 pid_t pid; char pid_[PAD_(pid_t)]; 817 struct timespec * interval; char interval_[PAD_(struct timespec *)]; 818 }; 819 struct utrace_args { 820 const void * addr; char addr_[PAD_(const void *)]; 821 size_t len; char len_[PAD_(size_t)]; 822 }; 823 struct kldsym_args { 824 int fileid; char fileid_[PAD_(int)]; 825 int cmd; char cmd_[PAD_(int)]; 826 void * data; char data_[PAD_(void *)]; 827 }; 828 struct jail_args { 829 struct jail * jail; char jail_[PAD_(struct jail *)]; 830 }; 831 struct sigprocmask_args { 832 int how; char how_[PAD_(int)]; 833 const sigset_t * set; char set_[PAD_(const sigset_t *)]; 834 sigset_t * oset; char oset_[PAD_(sigset_t *)]; 835 }; 836 struct sigsuspend_args { 837 const sigset_t * sigmask; char sigmask_[PAD_(const sigset_t *)]; 838 }; 839 struct sigaction_args { 840 int sig; char sig_[PAD_(int)]; 841 const struct sigaction * act; char act_[PAD_(const struct sigaction *)]; 842 struct sigaction * oact; char oact_[PAD_(struct sigaction *)]; 843 }; 844 struct sigpending_args { 845 sigset_t * set; char set_[PAD_(sigset_t *)]; 846 }; 847 struct sigreturn_args { 848 ucontext_t * sigcntxp; char sigcntxp_[PAD_(ucontext_t *)]; 849 }; 850 struct sigtimedwait_args { 851 const sigset_t * set; char set_[PAD_(const sigset_t *)]; 852 siginfo_t * info; char info_[PAD_(siginfo_t *)]; 853 const struct timespec * timeout; char timeout_[PAD_(const struct timespec *)]; 854 }; 855 struct sigwaitinfo_args { 856 const sigset_t * set; char set_[PAD_(const sigset_t *)]; 857 siginfo_t * info; char info_[PAD_(siginfo_t *)]; 858 }; 859 struct __acl_get_file_args { 860 const char * path; char path_[PAD_(const char *)]; 861 acl_type_t type; char type_[PAD_(acl_type_t)]; 862 struct acl * aclp; char aclp_[PAD_(struct acl *)]; 863 }; 864 struct __acl_set_file_args { 865 const char * path; char path_[PAD_(const char *)]; 866 acl_type_t type; char type_[PAD_(acl_type_t)]; 867 struct acl * aclp; char aclp_[PAD_(struct acl *)]; 868 }; 869 struct __acl_get_fd_args { 870 int filedes; char filedes_[PAD_(int)]; 871 acl_type_t type; char type_[PAD_(acl_type_t)]; 872 struct acl * aclp; char aclp_[PAD_(struct acl *)]; 873 }; 874 struct __acl_set_fd_args { 875 int filedes; char filedes_[PAD_(int)]; 876 acl_type_t type; char type_[PAD_(acl_type_t)]; 877 struct acl * aclp; char aclp_[PAD_(struct acl *)]; 878 }; 879 struct __acl_delete_file_args { 880 const char * path; char path_[PAD_(const char *)]; 881 acl_type_t type; char type_[PAD_(acl_type_t)]; 882 }; 883 struct __acl_delete_fd_args { 884 int filedes; char filedes_[PAD_(int)]; 885 acl_type_t type; char type_[PAD_(acl_type_t)]; 886 }; 887 struct __acl_aclcheck_file_args { 888 const char * path; char path_[PAD_(const char *)]; 889 acl_type_t type; char type_[PAD_(acl_type_t)]; 890 struct acl * aclp; char aclp_[PAD_(struct acl *)]; 891 }; 892 struct __acl_aclcheck_fd_args { 893 int filedes; char filedes_[PAD_(int)]; 894 acl_type_t type; char type_[PAD_(acl_type_t)]; 895 struct acl * aclp; char aclp_[PAD_(struct acl *)]; 896 }; 897 struct extattrctl_args { 898 const char * path; char path_[PAD_(const char *)]; 899 int cmd; char cmd_[PAD_(int)]; 900 const char * filename; char filename_[PAD_(const char *)]; 901 int attrnamespace; char attrnamespace_[PAD_(int)]; 902 const char * attrname; char attrname_[PAD_(const char *)]; 903 }; 904 struct extattr_set_file_args { 905 const char * path; char path_[PAD_(const char *)]; 906 int attrnamespace; char attrnamespace_[PAD_(int)]; 907 const char * attrname; char attrname_[PAD_(const char *)]; 908 void * data; char data_[PAD_(void *)]; 909 size_t nbytes; char nbytes_[PAD_(size_t)]; 910 }; 911 struct extattr_get_file_args { 912 const char * path; char path_[PAD_(const char *)]; 913 int attrnamespace; char attrnamespace_[PAD_(int)]; 914 const char * attrname; char attrname_[PAD_(const char *)]; 915 void * data; char data_[PAD_(void *)]; 916 size_t nbytes; char nbytes_[PAD_(size_t)]; 917 }; 918 struct extattr_delete_file_args { 919 const char * path; char path_[PAD_(const char *)]; 920 int attrnamespace; char attrnamespace_[PAD_(int)]; 921 const char * attrname; char attrname_[PAD_(const char *)]; 922 }; 923 struct aio_waitcomplete_args { 924 struct aiocb ** aiocbp; char aiocbp_[PAD_(struct aiocb **)]; 925 struct timespec * timeout; char timeout_[PAD_(struct timespec *)]; 926 }; 927 struct getresuid_args { 928 uid_t * ruid; char ruid_[PAD_(uid_t *)]; 929 uid_t * euid; char euid_[PAD_(uid_t *)]; 930 uid_t * suid; char suid_[PAD_(uid_t *)]; 931 }; 932 struct getresgid_args { 933 gid_t * rgid; char rgid_[PAD_(gid_t *)]; 934 gid_t * egid; char egid_[PAD_(gid_t *)]; 935 gid_t * sgid; char sgid_[PAD_(gid_t *)]; 936 }; 937 struct kqueue_args { 938 register_t dummy; 939 }; 940 struct kevent_args { 941 int fd; char fd_[PAD_(int)]; 942 const struct kevent * changelist; char changelist_[PAD_(const struct kevent *)]; 943 int nchanges; char nchanges_[PAD_(int)]; 944 struct kevent * eventlist; char eventlist_[PAD_(struct kevent *)]; 945 int nevents; char nevents_[PAD_(int)]; 946 const struct timespec * timeout; char timeout_[PAD_(const struct timespec *)]; 947 }; 948 struct kenv_args { 949 int what; char what_[PAD_(int)]; 950 const char * name; char name_[PAD_(const char *)]; 951 char * value; char value_[PAD_(char *)]; 952 int len; char len_[PAD_(int)]; 953 }; 954 struct lchflags_args { 955 const char * path; char path_[PAD_(const char *)]; 956 u_long flags; char flags_[PAD_(u_long)]; 957 }; 958 struct uuidgen_args { 959 struct uuid * store; char store_[PAD_(struct uuid *)]; 960 int count; char count_[PAD_(int)]; 961 }; 962 struct sendfile_args { 963 int fd; char fd_[PAD_(int)]; 964 int s; char s_[PAD_(int)]; 965 off_t offset; char offset_[PAD_(off_t)]; 966 size_t nbytes; char nbytes_[PAD_(size_t)]; 967 struct sf_hdtr * hdtr; char hdtr_[PAD_(struct sf_hdtr *)]; 968 off_t * sbytes; char sbytes_[PAD_(off_t *)]; 969 int flags; char flags_[PAD_(int)]; 970 }; 971 struct varsym_set_args { 972 int level; char level_[PAD_(int)]; 973 const char * name; char name_[PAD_(const char *)]; 974 const char * data; char data_[PAD_(const char *)]; 975 }; 976 struct varsym_get_args { 977 int mask; char mask_[PAD_(int)]; 978 const char * wild; char wild_[PAD_(const char *)]; 979 char * buf; char buf_[PAD_(char *)]; 980 int bufsize; char bufsize_[PAD_(int)]; 981 }; 982 struct varsym_list_args { 983 int level; char level_[PAD_(int)]; 984 char * buf; char buf_[PAD_(char *)]; 985 int maxsize; char maxsize_[PAD_(int)]; 986 int * marker; char marker_[PAD_(int *)]; 987 }; 988 struct exec_sys_register_args { 989 void * entry; char entry_[PAD_(void *)]; 990 }; 991 struct exec_sys_unregister_args { 992 int id; char id_[PAD_(int)]; 993 }; 994 struct sys_checkpoint_args { 995 int type; char type_[PAD_(int)]; 996 int fd; char fd_[PAD_(int)]; 997 pid_t pid; char pid_[PAD_(pid_t)]; 998 int retval; char retval_[PAD_(int)]; 999 }; 1000 struct mountctl_args { 1001 const char * path; char path_[PAD_(const char *)]; 1002 int op; char op_[PAD_(int)]; 1003 int fd; char fd_[PAD_(int)]; 1004 const void * ctl; char ctl_[PAD_(const void *)]; 1005 int ctllen; char ctllen_[PAD_(int)]; 1006 void * buf; char buf_[PAD_(void *)]; 1007 int buflen; char buflen_[PAD_(int)]; 1008 }; 1009 struct umtx_sleep_args { 1010 volatile const int * ptr; char ptr_[PAD_(volatile const int *)]; 1011 int value; char value_[PAD_(int)]; 1012 int timeout; char timeout_[PAD_(int)]; 1013 }; 1014 struct umtx_wakeup_args { 1015 volatile const int * ptr; char ptr_[PAD_(volatile const int *)]; 1016 int count; char count_[PAD_(int)]; 1017 }; 1018 struct jail_attach_args { 1019 int jid; char jid_[PAD_(int)]; 1020 }; 1021 struct set_tls_area_args { 1022 int which; char which_[PAD_(int)]; 1023 struct tls_info * info; char info_[PAD_(struct tls_info *)]; 1024 size_t infosize; char infosize_[PAD_(size_t)]; 1025 }; 1026 struct get_tls_area_args { 1027 int which; char which_[PAD_(int)]; 1028 struct tls_info * info; char info_[PAD_(struct tls_info *)]; 1029 size_t infosize; char infosize_[PAD_(size_t)]; 1030 }; 1031 struct closefrom_args { 1032 int fd; char fd_[PAD_(int)]; 1033 }; 1034 struct stat_args { 1035 const char * path; char path_[PAD_(const char *)]; 1036 struct stat * ub; char ub_[PAD_(struct stat *)]; 1037 }; 1038 struct fstat_args { 1039 int fd; char fd_[PAD_(int)]; 1040 struct stat * sb; char sb_[PAD_(struct stat *)]; 1041 }; 1042 struct lstat_args { 1043 const char * path; char path_[PAD_(const char *)]; 1044 struct stat * ub; char ub_[PAD_(struct stat *)]; 1045 }; 1046 struct fhstat_args { 1047 const struct fhandle * u_fhp; char u_fhp_[PAD_(const struct fhandle *)]; 1048 struct stat * sb; char sb_[PAD_(struct stat *)]; 1049 }; 1050 struct getdirentries_args { 1051 int fd; char fd_[PAD_(int)]; 1052 char * buf; char buf_[PAD_(char *)]; 1053 u_int count; char count_[PAD_(u_int)]; 1054 long * basep; char basep_[PAD_(long *)]; 1055 }; 1056 struct getdents_args { 1057 int fd; char fd_[PAD_(int)]; 1058 char * buf; char buf_[PAD_(char *)]; 1059 size_t count; char count_[PAD_(size_t)]; 1060 }; 1061 struct usched_set_args { 1062 pid_t pid; char pid_[PAD_(pid_t)]; 1063 int cmd; char cmd_[PAD_(int)]; 1064 void * data; char data_[PAD_(void *)]; 1065 int bytes; char bytes_[PAD_(int)]; 1066 }; 1067 struct extaccept_args { 1068 int s; char s_[PAD_(int)]; 1069 int flags; char flags_[PAD_(int)]; 1070 caddr_t name; char name_[PAD_(caddr_t)]; 1071 int * anamelen; char anamelen_[PAD_(int *)]; 1072 }; 1073 struct extconnect_args { 1074 int s; char s_[PAD_(int)]; 1075 int flags; char flags_[PAD_(int)]; 1076 caddr_t name; char name_[PAD_(caddr_t)]; 1077 int namelen; char namelen_[PAD_(int)]; 1078 }; 1079 struct mcontrol_args { 1080 void * addr; char addr_[PAD_(void *)]; 1081 size_t len; char len_[PAD_(size_t)]; 1082 int behav; char behav_[PAD_(int)]; 1083 off_t value; char value_[PAD_(off_t)]; 1084 }; 1085 struct vmspace_create_args { 1086 void * id; char id_[PAD_(void *)]; 1087 int type; char type_[PAD_(int)]; 1088 void * data; char data_[PAD_(void *)]; 1089 }; 1090 struct vmspace_destroy_args { 1091 void * id; char id_[PAD_(void *)]; 1092 }; 1093 struct vmspace_ctl_args { 1094 void * id; char id_[PAD_(void *)]; 1095 int cmd; char cmd_[PAD_(int)]; 1096 struct trapframe * tframe; char tframe_[PAD_(struct trapframe *)]; 1097 struct vextframe * vframe; char vframe_[PAD_(struct vextframe *)]; 1098 }; 1099 struct vmspace_mmap_args { 1100 void * id; char id_[PAD_(void *)]; 1101 void * addr; char addr_[PAD_(void *)]; 1102 size_t len; char len_[PAD_(size_t)]; 1103 int prot; char prot_[PAD_(int)]; 1104 int flags; char flags_[PAD_(int)]; 1105 int fd; char fd_[PAD_(int)]; 1106 off_t offset; char offset_[PAD_(off_t)]; 1107 }; 1108 struct vmspace_munmap_args { 1109 void * id; char id_[PAD_(void *)]; 1110 void * addr; char addr_[PAD_(void *)]; 1111 size_t len; char len_[PAD_(size_t)]; 1112 }; 1113 struct vmspace_mcontrol_args { 1114 void * id; char id_[PAD_(void *)]; 1115 void * addr; char addr_[PAD_(void *)]; 1116 size_t len; char len_[PAD_(size_t)]; 1117 int behav; char behav_[PAD_(int)]; 1118 off_t value; char value_[PAD_(off_t)]; 1119 }; 1120 struct vmspace_pread_args { 1121 void * id; char id_[PAD_(void *)]; 1122 void * buf; char buf_[PAD_(void *)]; 1123 size_t nbyte; char nbyte_[PAD_(size_t)]; 1124 int flags; char flags_[PAD_(int)]; 1125 off_t offset; char offset_[PAD_(off_t)]; 1126 }; 1127 struct vmspace_pwrite_args { 1128 void * id; char id_[PAD_(void *)]; 1129 const void * buf; char buf_[PAD_(const void *)]; 1130 size_t nbyte; char nbyte_[PAD_(size_t)]; 1131 int flags; char flags_[PAD_(int)]; 1132 off_t offset; char offset_[PAD_(off_t)]; 1133 }; 1134 struct extexit_args { 1135 int how; char how_[PAD_(int)]; 1136 int status; char status_[PAD_(int)]; 1137 void * addr; char addr_[PAD_(void *)]; 1138 }; 1139 struct lwp_create_args { 1140 struct lwp_params * params; char params_[PAD_(struct lwp_params *)]; 1141 }; 1142 struct lwp_gettid_args { 1143 register_t dummy; 1144 }; 1145 struct lwp_kill_args { 1146 pid_t pid; char pid_[PAD_(pid_t)]; 1147 lwpid_t tid; char tid_[PAD_(lwpid_t)]; 1148 int signum; char signum_[PAD_(int)]; 1149 }; 1150 struct lwp_rtprio_args { 1151 int function; char function_[PAD_(int)]; 1152 pid_t pid; char pid_[PAD_(pid_t)]; 1153 lwpid_t tid; char tid_[PAD_(lwpid_t)]; 1154 struct rtprio * rtp; char rtp_[PAD_(struct rtprio *)]; 1155 }; 1156 struct pselect_args { 1157 int nd; char nd_[PAD_(int)]; 1158 fd_set * in; char in_[PAD_(fd_set *)]; 1159 fd_set * ou; char ou_[PAD_(fd_set *)]; 1160 fd_set * ex; char ex_[PAD_(fd_set *)]; 1161 const struct timespec * ts; char ts_[PAD_(const struct timespec *)]; 1162 const sigset_t * sigmask; char sigmask_[PAD_(const sigset_t *)]; 1163 }; 1164 struct statvfs_args { 1165 const char * path; char path_[PAD_(const char *)]; 1166 struct statvfs * buf; char buf_[PAD_(struct statvfs *)]; 1167 }; 1168 struct fstatvfs_args { 1169 int fd; char fd_[PAD_(int)]; 1170 struct statvfs * buf; char buf_[PAD_(struct statvfs *)]; 1171 }; 1172 struct fhstatvfs_args { 1173 const struct fhandle * u_fhp; char u_fhp_[PAD_(const struct fhandle *)]; 1174 struct statvfs * buf; char buf_[PAD_(struct statvfs *)]; 1175 }; 1176 struct getvfsstat_args { 1177 struct statfs * buf; char buf_[PAD_(struct statfs *)]; 1178 struct statvfs * vbuf; char vbuf_[PAD_(struct statvfs *)]; 1179 long vbufsize; char vbufsize_[PAD_(long)]; 1180 int flags; char flags_[PAD_(int)]; 1181 }; 1182 struct openat_args { 1183 int fd; char fd_[PAD_(int)]; 1184 char * path; char path_[PAD_(char *)]; 1185 int flags; char flags_[PAD_(int)]; 1186 int mode; char mode_[PAD_(int)]; 1187 }; 1188 struct fstatat_args { 1189 int fd; char fd_[PAD_(int)]; 1190 char * path; char path_[PAD_(char *)]; 1191 struct stat * sb; char sb_[PAD_(struct stat *)]; 1192 int flags; char flags_[PAD_(int)]; 1193 }; 1194 struct fchmodat_args { 1195 int fd; char fd_[PAD_(int)]; 1196 char * path; char path_[PAD_(char *)]; 1197 int mode; char mode_[PAD_(int)]; 1198 int flags; char flags_[PAD_(int)]; 1199 }; 1200 struct fchownat_args { 1201 int fd; char fd_[PAD_(int)]; 1202 char * path; char path_[PAD_(char *)]; 1203 int uid; char uid_[PAD_(int)]; 1204 int gid; char gid_[PAD_(int)]; 1205 int flags; char flags_[PAD_(int)]; 1206 }; 1207 struct unlinkat_args { 1208 int fd; char fd_[PAD_(int)]; 1209 char * path; char path_[PAD_(char *)]; 1210 int flags; char flags_[PAD_(int)]; 1211 }; 1212 struct faccessat_args { 1213 int fd; char fd_[PAD_(int)]; 1214 char * path; char path_[PAD_(char *)]; 1215 int amode; char amode_[PAD_(int)]; 1216 int flags; char flags_[PAD_(int)]; 1217 }; 1218 struct mq_open_args { 1219 const char * name; char name_[PAD_(const char *)]; 1220 int oflag; char oflag_[PAD_(int)]; 1221 mode_t mode; char mode_[PAD_(mode_t)]; 1222 struct mq_attr * attr; char attr_[PAD_(struct mq_attr *)]; 1223 }; 1224 struct mq_close_args { 1225 mqd_t mqdes; char mqdes_[PAD_(mqd_t)]; 1226 }; 1227 struct mq_unlink_args { 1228 const char * name; char name_[PAD_(const char *)]; 1229 }; 1230 struct mq_getattr_args { 1231 mqd_t mqdes; char mqdes_[PAD_(mqd_t)]; 1232 struct mq_attr * mqstat; char mqstat_[PAD_(struct mq_attr *)]; 1233 }; 1234 struct mq_setattr_args { 1235 mqd_t mqdes; char mqdes_[PAD_(mqd_t)]; 1236 const struct mq_attr * mqstat; char mqstat_[PAD_(const struct mq_attr *)]; 1237 struct mq_attr * omqstat; char omqstat_[PAD_(struct mq_attr *)]; 1238 }; 1239 struct mq_notify_args { 1240 mqd_t mqdes; char mqdes_[PAD_(mqd_t)]; 1241 const struct sigevent * notification; char notification_[PAD_(const struct sigevent *)]; 1242 }; 1243 struct mq_send_args { 1244 mqd_t mqdes; char mqdes_[PAD_(mqd_t)]; 1245 const char * msg_ptr; char msg_ptr_[PAD_(const char *)]; 1246 size_t msg_len; char msg_len_[PAD_(size_t)]; 1247 unsigned msg_prio; char msg_prio_[PAD_(unsigned)]; 1248 }; 1249 struct mq_receive_args { 1250 mqd_t mqdes; char mqdes_[PAD_(mqd_t)]; 1251 char * msg_ptr; char msg_ptr_[PAD_(char *)]; 1252 size_t msg_len; char msg_len_[PAD_(size_t)]; 1253 unsigned * msg_prio; char msg_prio_[PAD_(unsigned *)]; 1254 }; 1255 struct mq_timedsend_args { 1256 mqd_t mqdes; char mqdes_[PAD_(mqd_t)]; 1257 const char * msg_ptr; char msg_ptr_[PAD_(const char *)]; 1258 size_t msg_len; char msg_len_[PAD_(size_t)]; 1259 unsigned msg_prio; char msg_prio_[PAD_(unsigned)]; 1260 const struct timespec * abs_timeout; char abs_timeout_[PAD_(const struct timespec *)]; 1261 }; 1262 struct mq_timedreceive_args { 1263 mqd_t mqdes; char mqdes_[PAD_(mqd_t)]; 1264 char * msg_ptr; char msg_ptr_[PAD_(char *)]; 1265 size_t msg_len; char msg_len_[PAD_(size_t)]; 1266 unsigned * msg_prio; char msg_prio_[PAD_(unsigned *)]; 1267 const struct timespec * abs_timeout; char abs_timeout_[PAD_(const struct timespec *)]; 1268 }; 1269 struct ioprio_set_args { 1270 int which; char which_[PAD_(int)]; 1271 int who; char who_[PAD_(int)]; 1272 int prio; char prio_[PAD_(int)]; 1273 }; 1274 struct ioprio_get_args { 1275 int which; char which_[PAD_(int)]; 1276 int who; char who_[PAD_(int)]; 1277 }; 1278 struct chroot_kernel_args { 1279 char * path; char path_[PAD_(char *)]; 1280 }; 1281 struct renameat_args { 1282 int oldfd; char oldfd_[PAD_(int)]; 1283 char * old; char old_[PAD_(char *)]; 1284 int newfd; char newfd_[PAD_(int)]; 1285 char * new; char new_[PAD_(char *)]; 1286 }; 1287 struct mkdirat_args { 1288 int fd; char fd_[PAD_(int)]; 1289 char * path; char path_[PAD_(char *)]; 1290 mode_t mode; char mode_[PAD_(mode_t)]; 1291 }; 1292 struct mkfifoat_args { 1293 int fd; char fd_[PAD_(int)]; 1294 char * path; char path_[PAD_(char *)]; 1295 mode_t mode; char mode_[PAD_(mode_t)]; 1296 }; 1297 struct mknodat_args { 1298 int fd; char fd_[PAD_(int)]; 1299 char * path; char path_[PAD_(char *)]; 1300 mode_t mode; char mode_[PAD_(mode_t)]; 1301 dev_t dev; char dev_[PAD_(dev_t)]; 1302 }; 1303 struct readlinkat_args { 1304 int fd; char fd_[PAD_(int)]; 1305 char * path; char path_[PAD_(char *)]; 1306 char * buf; char buf_[PAD_(char *)]; 1307 size_t bufsize; char bufsize_[PAD_(size_t)]; 1308 }; 1309 struct symlinkat_args { 1310 char * path1; char path1_[PAD_(char *)]; 1311 int fd; char fd_[PAD_(int)]; 1312 char * path2; char path2_[PAD_(char *)]; 1313 }; 1314 struct swapoff_args { 1315 char * name; char name_[PAD_(char *)]; 1316 }; 1317 struct vquotactl_args { 1318 const char * path; char path_[PAD_(const char *)]; 1319 struct plistref * pref; char pref_[PAD_(struct plistref *)]; 1320 }; 1321 struct linkat_args { 1322 int fd1; char fd1_[PAD_(int)]; 1323 char * path1; char path1_[PAD_(char *)]; 1324 int fd2; char fd2_[PAD_(int)]; 1325 char * path2; char path2_[PAD_(char *)]; 1326 int flags; char flags_[PAD_(int)]; 1327 }; 1328 struct eaccess_args { 1329 char * path; char path_[PAD_(char *)]; 1330 int flags; char flags_[PAD_(int)]; 1331 }; 1332 struct lpathconf_args { 1333 char * path; char path_[PAD_(char *)]; 1334 int name; char name_[PAD_(int)]; 1335 }; 1336 struct vmm_guest_ctl_args { 1337 int op; char op_[PAD_(int)]; 1338 struct vmm_guest_options * options; char options_[PAD_(struct vmm_guest_options *)]; 1339 }; 1340 struct vmm_guest_sync_addr_args { 1341 long * dstaddr; char dstaddr_[PAD_(long *)]; 1342 long * srcaddr; char srcaddr_[PAD_(long *)]; 1343 }; 1344 struct procctl_args { 1345 idtype_t idtype; char idtype_[PAD_(idtype_t)]; 1346 id_t id; char id_[PAD_(id_t)]; 1347 int cmd; char cmd_[PAD_(int)]; 1348 void * data; char data_[PAD_(void *)]; 1349 }; 1350 struct chflagsat_args { 1351 int fd; char fd_[PAD_(int)]; 1352 const char * path; char path_[PAD_(const char *)]; 1353 u_long flags; char flags_[PAD_(u_long)]; 1354 int atflags; char atflags_[PAD_(int)]; 1355 }; 1356 struct pipe2_args { 1357 int * fildes; char fildes_[PAD_(int *)]; 1358 int flags; char flags_[PAD_(int)]; 1359 }; 1360 struct utimensat_args { 1361 int fd; char fd_[PAD_(int)]; 1362 const char * path; char path_[PAD_(const char *)]; 1363 const struct timespec * ts; char ts_[PAD_(const struct timespec *)]; 1364 int flags; char flags_[PAD_(int)]; 1365 }; 1366 struct futimens_args { 1367 int fd; char fd_[PAD_(int)]; 1368 const struct timespec * ts; char ts_[PAD_(const struct timespec *)]; 1369 }; 1370 struct accept4_args { 1371 int s; char s_[PAD_(int)]; 1372 caddr_t name; char name_[PAD_(caddr_t)]; 1373 int * anamelen; char anamelen_[PAD_(int *)]; 1374 int flags; char flags_[PAD_(int)]; 1375 }; 1376 struct lwp_setname_args { 1377 lwpid_t tid; char tid_[PAD_(lwpid_t)]; 1378 const char * name; char name_[PAD_(const char *)]; 1379 }; 1380 struct ppoll_args { 1381 struct pollfd * fds; char fds_[PAD_(struct pollfd *)]; 1382 u_int nfds; char nfds_[PAD_(u_int)]; 1383 const struct timespec * ts; char ts_[PAD_(const struct timespec *)]; 1384 const sigset_t * sigmask; char sigmask_[PAD_(const sigset_t *)]; 1385 }; 1386 struct lwp_setaffinity_args { 1387 pid_t pid; char pid_[PAD_(pid_t)]; 1388 lwpid_t tid; char tid_[PAD_(lwpid_t)]; 1389 const cpumask_t * mask; char mask_[PAD_(const cpumask_t *)]; 1390 }; 1391 struct lwp_getaffinity_args { 1392 pid_t pid; char pid_[PAD_(pid_t)]; 1393 lwpid_t tid; char tid_[PAD_(lwpid_t)]; 1394 cpumask_t * mask; char mask_[PAD_(cpumask_t *)]; 1395 }; 1396 struct lwp_create2_args { 1397 struct lwp_params * params; char params_[PAD_(struct lwp_params *)]; 1398 const cpumask_t * mask; char mask_[PAD_(const cpumask_t *)]; 1399 }; 1400 struct getcpuclockid_args { 1401 pid_t pid; char pid_[PAD_(pid_t)]; 1402 lwpid_t lwp_id; char lwp_id_[PAD_(lwpid_t)]; 1403 clockid_t * clock_id; char clock_id_[PAD_(clockid_t *)]; 1404 }; 1405 struct wait6_args { 1406 idtype_t idtype; char idtype_[PAD_(idtype_t)]; 1407 id_t id; char id_[PAD_(id_t)]; 1408 int * status; char status_[PAD_(int *)]; 1409 int options; char options_[PAD_(int)]; 1410 struct __wrusage * wrusage; char wrusage_[PAD_(struct __wrusage *)]; 1411 siginfo_t * info; char info_[PAD_(siginfo_t *)]; 1412 }; 1413 struct lwp_getname_args { 1414 lwpid_t tid; char tid_[PAD_(lwpid_t)]; 1415 char * name; char name_[PAD_(char *)]; 1416 size_t len; char len_[PAD_(size_t)]; 1417 }; 1418 struct getrandom_args { 1419 void * buf; char buf_[PAD_(void *)]; 1420 size_t len; char len_[PAD_(size_t)]; 1421 unsigned flags; char flags_[PAD_(unsigned)]; 1422 }; 1423 struct __realpath_args { 1424 const char * path; char path_[PAD_(const char *)]; 1425 char * buf; char buf_[PAD_(char *)]; 1426 size_t len; char len_[PAD_(size_t)]; 1427 }; 1428 1429 #undef PAD_ 1430 1431 #ifdef _KERNEL 1432 1433 struct sysmsg; 1434 1435 1436 #endif /* _KERNEL */ 1437 1438 #ifdef _KERNEL 1439 1440 struct sysmsg; 1441 1442 int sys_xsyscall (struct sysmsg *sysmsg, const struct nosys_args *); 1443 int sys_exit (struct sysmsg *sysmsg, const struct exit_args *); 1444 int sys_fork (struct sysmsg *sysmsg, const struct fork_args *); 1445 int sys_read (struct sysmsg *sysmsg, const struct read_args *); 1446 int sys_write (struct sysmsg *sysmsg, const struct write_args *); 1447 int sys_open (struct sysmsg *sysmsg, const struct open_args *); 1448 int sys_close (struct sysmsg *sysmsg, const struct close_args *); 1449 int sys_wait4 (struct sysmsg *sysmsg, const struct wait_args *); 1450 int sys_nosys (struct sysmsg *sysmsg, const struct nosys_args *); 1451 int sys_link (struct sysmsg *sysmsg, const struct link_args *); 1452 int sys_unlink (struct sysmsg *sysmsg, const struct unlink_args *); 1453 int sys_chdir (struct sysmsg *sysmsg, const struct chdir_args *); 1454 int sys_fchdir (struct sysmsg *sysmsg, const struct fchdir_args *); 1455 int sys_mknod (struct sysmsg *sysmsg, const struct mknod_args *); 1456 int sys_chmod (struct sysmsg *sysmsg, const struct chmod_args *); 1457 int sys_chown (struct sysmsg *sysmsg, const struct chown_args *); 1458 int sys_obreak (struct sysmsg *sysmsg, const struct obreak_args *); 1459 int sys_getfsstat (struct sysmsg *sysmsg, const struct getfsstat_args *); 1460 int sys_getpid (struct sysmsg *sysmsg, const struct getpid_args *); 1461 int sys_mount (struct sysmsg *sysmsg, const struct mount_args *); 1462 int sys_unmount (struct sysmsg *sysmsg, const struct unmount_args *); 1463 int sys_setuid (struct sysmsg *sysmsg, const struct setuid_args *); 1464 int sys_getuid (struct sysmsg *sysmsg, const struct getuid_args *); 1465 int sys_geteuid (struct sysmsg *sysmsg, const struct geteuid_args *); 1466 int sys_ptrace (struct sysmsg *sysmsg, const struct ptrace_args *); 1467 int sys_recvmsg (struct sysmsg *sysmsg, const struct recvmsg_args *); 1468 int sys_sendmsg (struct sysmsg *sysmsg, const struct sendmsg_args *); 1469 int sys_recvfrom (struct sysmsg *sysmsg, const struct recvfrom_args *); 1470 int sys_accept (struct sysmsg *sysmsg, const struct accept_args *); 1471 int sys_getpeername (struct sysmsg *sysmsg, const struct getpeername_args *); 1472 int sys_getsockname (struct sysmsg *sysmsg, const struct getsockname_args *); 1473 int sys_access (struct sysmsg *sysmsg, const struct access_args *); 1474 int sys_chflags (struct sysmsg *sysmsg, const struct chflags_args *); 1475 int sys_fchflags (struct sysmsg *sysmsg, const struct fchflags_args *); 1476 int sys_sync (struct sysmsg *sysmsg, const struct sync_args *); 1477 int sys_kill (struct sysmsg *sysmsg, const struct kill_args *); 1478 int sys_getppid (struct sysmsg *sysmsg, const struct getppid_args *); 1479 int sys_dup (struct sysmsg *sysmsg, const struct dup_args *); 1480 int sys_pipe (struct sysmsg *sysmsg, const struct pipe_args *); 1481 int sys_getegid (struct sysmsg *sysmsg, const struct getegid_args *); 1482 int sys_profil (struct sysmsg *sysmsg, const struct profil_args *); 1483 int sys_ktrace (struct sysmsg *sysmsg, const struct ktrace_args *); 1484 int sys_getgid (struct sysmsg *sysmsg, const struct getgid_args *); 1485 int sys_getlogin (struct sysmsg *sysmsg, const struct getlogin_args *); 1486 int sys_setlogin (struct sysmsg *sysmsg, const struct setlogin_args *); 1487 int sys_acct (struct sysmsg *sysmsg, const struct acct_args *); 1488 int sys_sigaltstack (struct sysmsg *sysmsg, const struct sigaltstack_args *); 1489 int sys_ioctl (struct sysmsg *sysmsg, const struct ioctl_args *); 1490 int sys_reboot (struct sysmsg *sysmsg, const struct reboot_args *); 1491 int sys_revoke (struct sysmsg *sysmsg, const struct revoke_args *); 1492 int sys_symlink (struct sysmsg *sysmsg, const struct symlink_args *); 1493 int sys_readlink (struct sysmsg *sysmsg, const struct readlink_args *); 1494 int sys_execve (struct sysmsg *sysmsg, const struct execve_args *); 1495 int sys_umask (struct sysmsg *sysmsg, const struct umask_args *); 1496 int sys_chroot (struct sysmsg *sysmsg, const struct chroot_args *); 1497 int sys_msync (struct sysmsg *sysmsg, const struct msync_args *); 1498 int sys_vfork (struct sysmsg *sysmsg, const struct vfork_args *); 1499 int sys_sbrk (struct sysmsg *sysmsg, const struct sbrk_args *); 1500 int sys_sstk (struct sysmsg *sysmsg, const struct sstk_args *); 1501 int sys_munmap (struct sysmsg *sysmsg, const struct munmap_args *); 1502 int sys_mprotect (struct sysmsg *sysmsg, const struct mprotect_args *); 1503 int sys_madvise (struct sysmsg *sysmsg, const struct madvise_args *); 1504 int sys_mincore (struct sysmsg *sysmsg, const struct mincore_args *); 1505 int sys_getgroups (struct sysmsg *sysmsg, const struct getgroups_args *); 1506 int sys_setgroups (struct sysmsg *sysmsg, const struct setgroups_args *); 1507 int sys_getpgrp (struct sysmsg *sysmsg, const struct getpgrp_args *); 1508 int sys_setpgid (struct sysmsg *sysmsg, const struct setpgid_args *); 1509 int sys_setitimer (struct sysmsg *sysmsg, const struct setitimer_args *); 1510 int sys_swapon (struct sysmsg *sysmsg, const struct swapon_args *); 1511 int sys_getitimer (struct sysmsg *sysmsg, const struct getitimer_args *); 1512 int sys_getdtablesize (struct sysmsg *sysmsg, const struct getdtablesize_args *); 1513 int sys_dup2 (struct sysmsg *sysmsg, const struct dup2_args *); 1514 int sys_fcntl (struct sysmsg *sysmsg, const struct fcntl_args *); 1515 int sys_select (struct sysmsg *sysmsg, const struct select_args *); 1516 int sys_fsync (struct sysmsg *sysmsg, const struct fsync_args *); 1517 int sys_setpriority (struct sysmsg *sysmsg, const struct setpriority_args *); 1518 int sys_socket (struct sysmsg *sysmsg, const struct socket_args *); 1519 int sys_connect (struct sysmsg *sysmsg, const struct connect_args *); 1520 int sys_getpriority (struct sysmsg *sysmsg, const struct getpriority_args *); 1521 int sys_bind (struct sysmsg *sysmsg, const struct bind_args *); 1522 int sys_setsockopt (struct sysmsg *sysmsg, const struct setsockopt_args *); 1523 int sys_listen (struct sysmsg *sysmsg, const struct listen_args *); 1524 int sys_gettimeofday (struct sysmsg *sysmsg, const struct gettimeofday_args *); 1525 int sys_getrusage (struct sysmsg *sysmsg, const struct getrusage_args *); 1526 int sys_getsockopt (struct sysmsg *sysmsg, const struct getsockopt_args *); 1527 int sys_readv (struct sysmsg *sysmsg, const struct readv_args *); 1528 int sys_writev (struct sysmsg *sysmsg, const struct writev_args *); 1529 int sys_settimeofday (struct sysmsg *sysmsg, const struct settimeofday_args *); 1530 int sys_fchown (struct sysmsg *sysmsg, const struct fchown_args *); 1531 int sys_fchmod (struct sysmsg *sysmsg, const struct fchmod_args *); 1532 int sys_setreuid (struct sysmsg *sysmsg, const struct setreuid_args *); 1533 int sys_setregid (struct sysmsg *sysmsg, const struct setregid_args *); 1534 int sys_rename (struct sysmsg *sysmsg, const struct rename_args *); 1535 int sys_flock (struct sysmsg *sysmsg, const struct flock_args *); 1536 int sys_mkfifo (struct sysmsg *sysmsg, const struct mkfifo_args *); 1537 int sys_sendto (struct sysmsg *sysmsg, const struct sendto_args *); 1538 int sys_shutdown (struct sysmsg *sysmsg, const struct shutdown_args *); 1539 int sys_socketpair (struct sysmsg *sysmsg, const struct socketpair_args *); 1540 int sys_mkdir (struct sysmsg *sysmsg, const struct mkdir_args *); 1541 int sys_rmdir (struct sysmsg *sysmsg, const struct rmdir_args *); 1542 int sys_utimes (struct sysmsg *sysmsg, const struct utimes_args *); 1543 int sys_adjtime (struct sysmsg *sysmsg, const struct adjtime_args *); 1544 int sys_setsid (struct sysmsg *sysmsg, const struct setsid_args *); 1545 int sys_quotactl (struct sysmsg *sysmsg, const struct quotactl_args *); 1546 int sys_nfssvc (struct sysmsg *sysmsg, const struct nfssvc_args *); 1547 int sys_statfs (struct sysmsg *sysmsg, const struct statfs_args *); 1548 int sys_fstatfs (struct sysmsg *sysmsg, const struct fstatfs_args *); 1549 int sys_getfh (struct sysmsg *sysmsg, const struct getfh_args *); 1550 int sys_sysarch (struct sysmsg *sysmsg, const struct sysarch_args *); 1551 int sys_rtprio (struct sysmsg *sysmsg, const struct rtprio_args *); 1552 int sys_extpread (struct sysmsg *sysmsg, const struct extpread_args *); 1553 int sys_extpwrite (struct sysmsg *sysmsg, const struct extpwrite_args *); 1554 int sys_ntp_adjtime (struct sysmsg *sysmsg, const struct ntp_adjtime_args *); 1555 int sys_setgid (struct sysmsg *sysmsg, const struct setgid_args *); 1556 int sys_setegid (struct sysmsg *sysmsg, const struct setegid_args *); 1557 int sys_seteuid (struct sysmsg *sysmsg, const struct seteuid_args *); 1558 int sys_pathconf (struct sysmsg *sysmsg, const struct pathconf_args *); 1559 int sys_fpathconf (struct sysmsg *sysmsg, const struct fpathconf_args *); 1560 int sys_getrlimit (struct sysmsg *sysmsg, const struct __getrlimit_args *); 1561 int sys_setrlimit (struct sysmsg *sysmsg, const struct __setrlimit_args *); 1562 int sys_mmap (struct sysmsg *sysmsg, const struct mmap_args *); 1563 int sys_lseek (struct sysmsg *sysmsg, const struct lseek_args *); 1564 int sys_truncate (struct sysmsg *sysmsg, const struct truncate_args *); 1565 int sys_ftruncate (struct sysmsg *sysmsg, const struct ftruncate_args *); 1566 int sys___sysctl (struct sysmsg *sysmsg, const struct sysctl_args *); 1567 int sys_mlock (struct sysmsg *sysmsg, const struct mlock_args *); 1568 int sys_munlock (struct sysmsg *sysmsg, const struct munlock_args *); 1569 int sys_undelete (struct sysmsg *sysmsg, const struct undelete_args *); 1570 int sys_futimes (struct sysmsg *sysmsg, const struct futimes_args *); 1571 int sys_getpgid (struct sysmsg *sysmsg, const struct getpgid_args *); 1572 int sys_poll (struct sysmsg *sysmsg, const struct poll_args *); 1573 int sys_lkmnosys (struct sysmsg *sysmsg, const struct nosys_args *); 1574 int sys___semctl (struct sysmsg *sysmsg, const struct __semctl_args *); 1575 int sys_semget (struct sysmsg *sysmsg, const struct semget_args *); 1576 int sys_semop (struct sysmsg *sysmsg, const struct semop_args *); 1577 int sys_msgctl (struct sysmsg *sysmsg, const struct msgctl_args *); 1578 int sys_msgget (struct sysmsg *sysmsg, const struct msgget_args *); 1579 int sys_msgsnd (struct sysmsg *sysmsg, const struct msgsnd_args *); 1580 int sys_msgrcv (struct sysmsg *sysmsg, const struct msgrcv_args *); 1581 int sys_shmat (struct sysmsg *sysmsg, const struct shmat_args *); 1582 int sys_shmctl (struct sysmsg *sysmsg, const struct shmctl_args *); 1583 int sys_shmdt (struct sysmsg *sysmsg, const struct shmdt_args *); 1584 int sys_shmget (struct sysmsg *sysmsg, const struct shmget_args *); 1585 int sys_clock_gettime (struct sysmsg *sysmsg, const struct clock_gettime_args *); 1586 int sys_clock_settime (struct sysmsg *sysmsg, const struct clock_settime_args *); 1587 int sys_clock_getres (struct sysmsg *sysmsg, const struct clock_getres_args *); 1588 int sys_nanosleep (struct sysmsg *sysmsg, const struct nanosleep_args *); 1589 int sys_minherit (struct sysmsg *sysmsg, const struct minherit_args *); 1590 int sys_rfork (struct sysmsg *sysmsg, const struct rfork_args *); 1591 int sys_openbsd_poll (struct sysmsg *sysmsg, const struct openbsd_poll_args *); 1592 int sys_issetugid (struct sysmsg *sysmsg, const struct issetugid_args *); 1593 int sys_lchown (struct sysmsg *sysmsg, const struct lchown_args *); 1594 int sys_lchmod (struct sysmsg *sysmsg, const struct lchmod_args *); 1595 int sys_lutimes (struct sysmsg *sysmsg, const struct lutimes_args *); 1596 int sys_extpreadv (struct sysmsg *sysmsg, const struct extpreadv_args *); 1597 int sys_extpwritev (struct sysmsg *sysmsg, const struct extpwritev_args *); 1598 int sys_fhstatfs (struct sysmsg *sysmsg, const struct fhstatfs_args *); 1599 int sys_fhopen (struct sysmsg *sysmsg, const struct fhopen_args *); 1600 int sys_modnext (struct sysmsg *sysmsg, const struct modnext_args *); 1601 int sys_modstat (struct sysmsg *sysmsg, const struct modstat_args *); 1602 int sys_modfnext (struct sysmsg *sysmsg, const struct modfnext_args *); 1603 int sys_modfind (struct sysmsg *sysmsg, const struct modfind_args *); 1604 int sys_kldload (struct sysmsg *sysmsg, const struct kldload_args *); 1605 int sys_kldunload (struct sysmsg *sysmsg, const struct kldunload_args *); 1606 int sys_kldfind (struct sysmsg *sysmsg, const struct kldfind_args *); 1607 int sys_kldnext (struct sysmsg *sysmsg, const struct kldnext_args *); 1608 int sys_kldstat (struct sysmsg *sysmsg, const struct kldstat_args *); 1609 int sys_kldfirstmod (struct sysmsg *sysmsg, const struct kldfirstmod_args *); 1610 int sys_getsid (struct sysmsg *sysmsg, const struct getsid_args *); 1611 int sys_setresuid (struct sysmsg *sysmsg, const struct setresuid_args *); 1612 int sys_setresgid (struct sysmsg *sysmsg, const struct setresgid_args *); 1613 int sys_aio_return (struct sysmsg *sysmsg, const struct aio_return_args *); 1614 int sys_aio_suspend (struct sysmsg *sysmsg, const struct aio_suspend_args *); 1615 int sys_aio_cancel (struct sysmsg *sysmsg, const struct aio_cancel_args *); 1616 int sys_aio_error (struct sysmsg *sysmsg, const struct aio_error_args *); 1617 int sys_aio_read (struct sysmsg *sysmsg, const struct aio_read_args *); 1618 int sys_aio_write (struct sysmsg *sysmsg, const struct aio_write_args *); 1619 int sys_lio_listio (struct sysmsg *sysmsg, const struct lio_listio_args *); 1620 int sys_yield (struct sysmsg *sysmsg, const struct yield_args *); 1621 int sys_mlockall (struct sysmsg *sysmsg, const struct mlockall_args *); 1622 int sys_munlockall (struct sysmsg *sysmsg, const struct munlockall_args *); 1623 int sys___getcwd (struct sysmsg *sysmsg, const struct __getcwd_args *); 1624 int sys_sched_setparam (struct sysmsg *sysmsg, const struct sched_setparam_args *); 1625 int sys_sched_getparam (struct sysmsg *sysmsg, const struct sched_getparam_args *); 1626 int sys_sched_setscheduler (struct sysmsg *sysmsg, const struct sched_setscheduler_args *); 1627 int sys_sched_getscheduler (struct sysmsg *sysmsg, const struct sched_getscheduler_args *); 1628 int sys_sched_yield (struct sysmsg *sysmsg, const struct sched_yield_args *); 1629 int sys_sched_get_priority_max (struct sysmsg *sysmsg, const struct sched_get_priority_max_args *); 1630 int sys_sched_get_priority_min (struct sysmsg *sysmsg, const struct sched_get_priority_min_args *); 1631 int sys_sched_rr_get_interval (struct sysmsg *sysmsg, const struct sched_rr_get_interval_args *); 1632 int sys_utrace (struct sysmsg *sysmsg, const struct utrace_args *); 1633 int sys_kldsym (struct sysmsg *sysmsg, const struct kldsym_args *); 1634 int sys_jail (struct sysmsg *sysmsg, const struct jail_args *); 1635 int sys_sigprocmask (struct sysmsg *sysmsg, const struct sigprocmask_args *); 1636 int sys_sigsuspend (struct sysmsg *sysmsg, const struct sigsuspend_args *); 1637 int sys_sigaction (struct sysmsg *sysmsg, const struct sigaction_args *); 1638 int sys_sigpending (struct sysmsg *sysmsg, const struct sigpending_args *); 1639 int sys_sigreturn (struct sysmsg *sysmsg, const struct sigreturn_args *); 1640 int sys_sigtimedwait (struct sysmsg *sysmsg, const struct sigtimedwait_args *); 1641 int sys_sigwaitinfo (struct sysmsg *sysmsg, const struct sigwaitinfo_args *); 1642 int sys___acl_get_file (struct sysmsg *sysmsg, const struct __acl_get_file_args *); 1643 int sys___acl_set_file (struct sysmsg *sysmsg, const struct __acl_set_file_args *); 1644 int sys___acl_get_fd (struct sysmsg *sysmsg, const struct __acl_get_fd_args *); 1645 int sys___acl_set_fd (struct sysmsg *sysmsg, const struct __acl_set_fd_args *); 1646 int sys___acl_delete_file (struct sysmsg *sysmsg, const struct __acl_delete_file_args *); 1647 int sys___acl_delete_fd (struct sysmsg *sysmsg, const struct __acl_delete_fd_args *); 1648 int sys___acl_aclcheck_file (struct sysmsg *sysmsg, const struct __acl_aclcheck_file_args *); 1649 int sys___acl_aclcheck_fd (struct sysmsg *sysmsg, const struct __acl_aclcheck_fd_args *); 1650 int sys_extattrctl (struct sysmsg *sysmsg, const struct extattrctl_args *); 1651 int sys_extattr_set_file (struct sysmsg *sysmsg, const struct extattr_set_file_args *); 1652 int sys_extattr_get_file (struct sysmsg *sysmsg, const struct extattr_get_file_args *); 1653 int sys_extattr_delete_file (struct sysmsg *sysmsg, const struct extattr_delete_file_args *); 1654 int sys_aio_waitcomplete (struct sysmsg *sysmsg, const struct aio_waitcomplete_args *); 1655 int sys_getresuid (struct sysmsg *sysmsg, const struct getresuid_args *); 1656 int sys_getresgid (struct sysmsg *sysmsg, const struct getresgid_args *); 1657 int sys_kqueue (struct sysmsg *sysmsg, const struct kqueue_args *); 1658 int sys_kevent (struct sysmsg *sysmsg, const struct kevent_args *); 1659 int sys_kenv (struct sysmsg *sysmsg, const struct kenv_args *); 1660 int sys_lchflags (struct sysmsg *sysmsg, const struct lchflags_args *); 1661 int sys_uuidgen (struct sysmsg *sysmsg, const struct uuidgen_args *); 1662 int sys_sendfile (struct sysmsg *sysmsg, const struct sendfile_args *); 1663 int sys_varsym_set (struct sysmsg *sysmsg, const struct varsym_set_args *); 1664 int sys_varsym_get (struct sysmsg *sysmsg, const struct varsym_get_args *); 1665 int sys_varsym_list (struct sysmsg *sysmsg, const struct varsym_list_args *); 1666 int sys_exec_sys_register (struct sysmsg *sysmsg, const struct exec_sys_register_args *); 1667 int sys_exec_sys_unregister (struct sysmsg *sysmsg, const struct exec_sys_unregister_args *); 1668 int sys_sys_checkpoint (struct sysmsg *sysmsg, const struct sys_checkpoint_args *); 1669 int sys_mountctl (struct sysmsg *sysmsg, const struct mountctl_args *); 1670 int sys_umtx_sleep (struct sysmsg *sysmsg, const struct umtx_sleep_args *); 1671 int sys_umtx_wakeup (struct sysmsg *sysmsg, const struct umtx_wakeup_args *); 1672 int sys_jail_attach (struct sysmsg *sysmsg, const struct jail_attach_args *); 1673 int sys_set_tls_area (struct sysmsg *sysmsg, const struct set_tls_area_args *); 1674 int sys_get_tls_area (struct sysmsg *sysmsg, const struct get_tls_area_args *); 1675 int sys_closefrom (struct sysmsg *sysmsg, const struct closefrom_args *); 1676 int sys_stat (struct sysmsg *sysmsg, const struct stat_args *); 1677 int sys_fstat (struct sysmsg *sysmsg, const struct fstat_args *); 1678 int sys_lstat (struct sysmsg *sysmsg, const struct lstat_args *); 1679 int sys_fhstat (struct sysmsg *sysmsg, const struct fhstat_args *); 1680 int sys_getdirentries (struct sysmsg *sysmsg, const struct getdirentries_args *); 1681 int sys_getdents (struct sysmsg *sysmsg, const struct getdents_args *); 1682 int sys_usched_set (struct sysmsg *sysmsg, const struct usched_set_args *); 1683 int sys_extaccept (struct sysmsg *sysmsg, const struct extaccept_args *); 1684 int sys_extconnect (struct sysmsg *sysmsg, const struct extconnect_args *); 1685 int sys_mcontrol (struct sysmsg *sysmsg, const struct mcontrol_args *); 1686 int sys_vmspace_create (struct sysmsg *sysmsg, const struct vmspace_create_args *); 1687 int sys_vmspace_destroy (struct sysmsg *sysmsg, const struct vmspace_destroy_args *); 1688 int sys_vmspace_ctl (struct sysmsg *sysmsg, const struct vmspace_ctl_args *); 1689 int sys_vmspace_mmap (struct sysmsg *sysmsg, const struct vmspace_mmap_args *); 1690 int sys_vmspace_munmap (struct sysmsg *sysmsg, const struct vmspace_munmap_args *); 1691 int sys_vmspace_mcontrol (struct sysmsg *sysmsg, const struct vmspace_mcontrol_args *); 1692 int sys_vmspace_pread (struct sysmsg *sysmsg, const struct vmspace_pread_args *); 1693 int sys_vmspace_pwrite (struct sysmsg *sysmsg, const struct vmspace_pwrite_args *); 1694 int sys_extexit (struct sysmsg *sysmsg, const struct extexit_args *); 1695 int sys_lwp_create (struct sysmsg *sysmsg, const struct lwp_create_args *); 1696 int sys_lwp_gettid (struct sysmsg *sysmsg, const struct lwp_gettid_args *); 1697 int sys_lwp_kill (struct sysmsg *sysmsg, const struct lwp_kill_args *); 1698 int sys_lwp_rtprio (struct sysmsg *sysmsg, const struct lwp_rtprio_args *); 1699 int sys_pselect (struct sysmsg *sysmsg, const struct pselect_args *); 1700 int sys_statvfs (struct sysmsg *sysmsg, const struct statvfs_args *); 1701 int sys_fstatvfs (struct sysmsg *sysmsg, const struct fstatvfs_args *); 1702 int sys_fhstatvfs (struct sysmsg *sysmsg, const struct fhstatvfs_args *); 1703 int sys_getvfsstat (struct sysmsg *sysmsg, const struct getvfsstat_args *); 1704 int sys_openat (struct sysmsg *sysmsg, const struct openat_args *); 1705 int sys_fstatat (struct sysmsg *sysmsg, const struct fstatat_args *); 1706 int sys_fchmodat (struct sysmsg *sysmsg, const struct fchmodat_args *); 1707 int sys_fchownat (struct sysmsg *sysmsg, const struct fchownat_args *); 1708 int sys_unlinkat (struct sysmsg *sysmsg, const struct unlinkat_args *); 1709 int sys_faccessat (struct sysmsg *sysmsg, const struct faccessat_args *); 1710 int sys_mq_open (struct sysmsg *sysmsg, const struct mq_open_args *); 1711 int sys_mq_close (struct sysmsg *sysmsg, const struct mq_close_args *); 1712 int sys_mq_unlink (struct sysmsg *sysmsg, const struct mq_unlink_args *); 1713 int sys_mq_getattr (struct sysmsg *sysmsg, const struct mq_getattr_args *); 1714 int sys_mq_setattr (struct sysmsg *sysmsg, const struct mq_setattr_args *); 1715 int sys_mq_notify (struct sysmsg *sysmsg, const struct mq_notify_args *); 1716 int sys_mq_send (struct sysmsg *sysmsg, const struct mq_send_args *); 1717 int sys_mq_receive (struct sysmsg *sysmsg, const struct mq_receive_args *); 1718 int sys_mq_timedsend (struct sysmsg *sysmsg, const struct mq_timedsend_args *); 1719 int sys_mq_timedreceive (struct sysmsg *sysmsg, const struct mq_timedreceive_args *); 1720 int sys_ioprio_set (struct sysmsg *sysmsg, const struct ioprio_set_args *); 1721 int sys_ioprio_get (struct sysmsg *sysmsg, const struct ioprio_get_args *); 1722 int sys_chroot_kernel (struct sysmsg *sysmsg, const struct chroot_kernel_args *); 1723 int sys_renameat (struct sysmsg *sysmsg, const struct renameat_args *); 1724 int sys_mkdirat (struct sysmsg *sysmsg, const struct mkdirat_args *); 1725 int sys_mkfifoat (struct sysmsg *sysmsg, const struct mkfifoat_args *); 1726 int sys_mknodat (struct sysmsg *sysmsg, const struct mknodat_args *); 1727 int sys_readlinkat (struct sysmsg *sysmsg, const struct readlinkat_args *); 1728 int sys_symlinkat (struct sysmsg *sysmsg, const struct symlinkat_args *); 1729 int sys_swapoff (struct sysmsg *sysmsg, const struct swapoff_args *); 1730 int sys_vquotactl (struct sysmsg *sysmsg, const struct vquotactl_args *); 1731 int sys_linkat (struct sysmsg *sysmsg, const struct linkat_args *); 1732 int sys_eaccess (struct sysmsg *sysmsg, const struct eaccess_args *); 1733 int sys_lpathconf (struct sysmsg *sysmsg, const struct lpathconf_args *); 1734 int sys_vmm_guest_ctl (struct sysmsg *sysmsg, const struct vmm_guest_ctl_args *); 1735 int sys_vmm_guest_sync_addr (struct sysmsg *sysmsg, const struct vmm_guest_sync_addr_args *); 1736 int sys_procctl (struct sysmsg *sysmsg, const struct procctl_args *); 1737 int sys_chflagsat (struct sysmsg *sysmsg, const struct chflagsat_args *); 1738 int sys_pipe2 (struct sysmsg *sysmsg, const struct pipe2_args *); 1739 int sys_utimensat (struct sysmsg *sysmsg, const struct utimensat_args *); 1740 int sys_futimens (struct sysmsg *sysmsg, const struct futimens_args *); 1741 int sys_accept4 (struct sysmsg *sysmsg, const struct accept4_args *); 1742 int sys_lwp_setname (struct sysmsg *sysmsg, const struct lwp_setname_args *); 1743 int sys_ppoll (struct sysmsg *sysmsg, const struct ppoll_args *); 1744 int sys_lwp_setaffinity (struct sysmsg *sysmsg, const struct lwp_setaffinity_args *); 1745 int sys_lwp_getaffinity (struct sysmsg *sysmsg, const struct lwp_getaffinity_args *); 1746 int sys_lwp_create2 (struct sysmsg *sysmsg, const struct lwp_create2_args *); 1747 int sys_getcpuclockid (struct sysmsg *sysmsg, const struct getcpuclockid_args *); 1748 int sys_wait6 (struct sysmsg *sysmsg, const struct wait6_args *); 1749 int sys_lwp_getname (struct sysmsg *sysmsg, const struct lwp_getname_args *); 1750 int sys_getrandom (struct sysmsg *sysmsg, const struct getrandom_args *); 1751 int sys___realpath (struct sysmsg *sysmsg, const struct __realpath_args *); 1752 1753 #endif /* _KERNEL */ 1754 1755 #endif /* !_SYS_SYSPROTO_H_ */ 1756