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 clock_nanosleep_args { 655 clockid_t clock_id; char clock_id_[PAD_(clockid_t)]; 656 int flags; char flags_[PAD_(int)]; 657 const struct timespec * rqtp; char rqtp_[PAD_(const struct timespec *)]; 658 struct timespec * rmtp; char rmtp_[PAD_(struct timespec *)]; 659 }; 660 struct minherit_args { 661 void * addr; char addr_[PAD_(void *)]; 662 size_t len; char len_[PAD_(size_t)]; 663 int inherit; char inherit_[PAD_(int)]; 664 }; 665 struct rfork_args { 666 int flags; char flags_[PAD_(int)]; 667 }; 668 struct openbsd_poll_args { 669 struct pollfd * fds; char fds_[PAD_(struct pollfd *)]; 670 u_int nfds; char nfds_[PAD_(u_int)]; 671 int timeout; char timeout_[PAD_(int)]; 672 }; 673 struct issetugid_args { 674 register_t dummy; 675 }; 676 struct lchown_args { 677 char * path; char path_[PAD_(char *)]; 678 int uid; char uid_[PAD_(int)]; 679 int gid; char gid_[PAD_(int)]; 680 }; 681 struct lchmod_args { 682 char * path; char path_[PAD_(char *)]; 683 mode_t mode; char mode_[PAD_(mode_t)]; 684 }; 685 struct lutimes_args { 686 char * path; char path_[PAD_(char *)]; 687 struct timeval * tptr; char tptr_[PAD_(struct timeval *)]; 688 }; 689 struct extpreadv_args { 690 int fd; char fd_[PAD_(int)]; 691 const struct iovec * iovp; char iovp_[PAD_(const struct iovec *)]; 692 int iovcnt; char iovcnt_[PAD_(int)]; 693 int flags; char flags_[PAD_(int)]; 694 off_t offset; char offset_[PAD_(off_t)]; 695 }; 696 struct extpwritev_args { 697 int fd; char fd_[PAD_(int)]; 698 const struct iovec * iovp; char iovp_[PAD_(const struct iovec *)]; 699 int iovcnt; char iovcnt_[PAD_(int)]; 700 int flags; char flags_[PAD_(int)]; 701 off_t offset; char offset_[PAD_(off_t)]; 702 }; 703 struct fhstatfs_args { 704 const struct fhandle * u_fhp; char u_fhp_[PAD_(const struct fhandle *)]; 705 struct statfs * buf; char buf_[PAD_(struct statfs *)]; 706 }; 707 struct fhopen_args { 708 const struct fhandle * u_fhp; char u_fhp_[PAD_(const struct fhandle *)]; 709 int flags; char flags_[PAD_(int)]; 710 }; 711 struct modnext_args { 712 int modid; char modid_[PAD_(int)]; 713 }; 714 struct modstat_args { 715 int modid; char modid_[PAD_(int)]; 716 struct module_stat * stat; char stat_[PAD_(struct module_stat *)]; 717 }; 718 struct modfnext_args { 719 int modid; char modid_[PAD_(int)]; 720 }; 721 struct modfind_args { 722 const char * name; char name_[PAD_(const char *)]; 723 }; 724 struct kldload_args { 725 const char * file; char file_[PAD_(const char *)]; 726 }; 727 struct kldunload_args { 728 int fileid; char fileid_[PAD_(int)]; 729 }; 730 struct kldfind_args { 731 const char * file; char file_[PAD_(const char *)]; 732 }; 733 struct kldnext_args { 734 int fileid; char fileid_[PAD_(int)]; 735 }; 736 struct kldstat_args { 737 int fileid; char fileid_[PAD_(int)]; 738 struct kld_file_stat * stat; char stat_[PAD_(struct kld_file_stat *)]; 739 }; 740 struct kldfirstmod_args { 741 int fileid; char fileid_[PAD_(int)]; 742 }; 743 struct getsid_args { 744 pid_t pid; char pid_[PAD_(pid_t)]; 745 }; 746 struct setresuid_args { 747 uid_t ruid; char ruid_[PAD_(uid_t)]; 748 uid_t euid; char euid_[PAD_(uid_t)]; 749 uid_t suid; char suid_[PAD_(uid_t)]; 750 }; 751 struct setresgid_args { 752 gid_t rgid; char rgid_[PAD_(gid_t)]; 753 gid_t egid; char egid_[PAD_(gid_t)]; 754 gid_t sgid; char sgid_[PAD_(gid_t)]; 755 }; 756 struct aio_return_args { 757 struct aiocb * aiocbp; char aiocbp_[PAD_(struct aiocb *)]; 758 }; 759 struct aio_suspend_args { 760 struct aiocb *const * aiocbp; char aiocbp_[PAD_(struct aiocb *const *)]; 761 int nent; char nent_[PAD_(int)]; 762 const struct timespec * timeout; char timeout_[PAD_(const struct timespec *)]; 763 }; 764 struct aio_cancel_args { 765 int fd; char fd_[PAD_(int)]; 766 struct aiocb * aiocbp; char aiocbp_[PAD_(struct aiocb *)]; 767 }; 768 struct aio_error_args { 769 struct aiocb * aiocbp; char aiocbp_[PAD_(struct aiocb *)]; 770 }; 771 struct aio_read_args { 772 struct aiocb * aiocbp; char aiocbp_[PAD_(struct aiocb *)]; 773 }; 774 struct aio_write_args { 775 struct aiocb * aiocbp; char aiocbp_[PAD_(struct aiocb *)]; 776 }; 777 struct lio_listio_args { 778 int mode; char mode_[PAD_(int)]; 779 struct aiocb *const * acb_list; char acb_list_[PAD_(struct aiocb *const *)]; 780 int nent; char nent_[PAD_(int)]; 781 struct sigevent * sig; char sig_[PAD_(struct sigevent *)]; 782 }; 783 struct yield_args { 784 register_t dummy; 785 }; 786 struct mlockall_args { 787 int how; char how_[PAD_(int)]; 788 }; 789 struct munlockall_args { 790 register_t dummy; 791 }; 792 struct __getcwd_args { 793 u_char * buf; char buf_[PAD_(u_char *)]; 794 u_int buflen; char buflen_[PAD_(u_int)]; 795 }; 796 struct sched_setparam_args { 797 pid_t pid; char pid_[PAD_(pid_t)]; 798 const struct sched_param * param; char param_[PAD_(const struct sched_param *)]; 799 }; 800 struct sched_getparam_args { 801 pid_t pid; char pid_[PAD_(pid_t)]; 802 struct sched_param * param; char param_[PAD_(struct sched_param *)]; 803 }; 804 struct sched_setscheduler_args { 805 pid_t pid; char pid_[PAD_(pid_t)]; 806 int policy; char policy_[PAD_(int)]; 807 const struct sched_param * param; char param_[PAD_(const struct sched_param *)]; 808 }; 809 struct sched_getscheduler_args { 810 pid_t pid; char pid_[PAD_(pid_t)]; 811 }; 812 struct sched_yield_args { 813 register_t dummy; 814 }; 815 struct sched_get_priority_max_args { 816 int policy; char policy_[PAD_(int)]; 817 }; 818 struct sched_get_priority_min_args { 819 int policy; char policy_[PAD_(int)]; 820 }; 821 struct sched_rr_get_interval_args { 822 pid_t pid; char pid_[PAD_(pid_t)]; 823 struct timespec * interval; char interval_[PAD_(struct timespec *)]; 824 }; 825 struct utrace_args { 826 const void * addr; char addr_[PAD_(const void *)]; 827 size_t len; char len_[PAD_(size_t)]; 828 }; 829 struct kldsym_args { 830 int fileid; char fileid_[PAD_(int)]; 831 int cmd; char cmd_[PAD_(int)]; 832 void * data; char data_[PAD_(void *)]; 833 }; 834 struct jail_args { 835 struct jail * jail; char jail_[PAD_(struct jail *)]; 836 }; 837 struct sigprocmask_args { 838 int how; char how_[PAD_(int)]; 839 const sigset_t * set; char set_[PAD_(const sigset_t *)]; 840 sigset_t * oset; char oset_[PAD_(sigset_t *)]; 841 }; 842 struct sigsuspend_args { 843 const sigset_t * sigmask; char sigmask_[PAD_(const sigset_t *)]; 844 }; 845 struct sigaction_args { 846 int sig; char sig_[PAD_(int)]; 847 const struct sigaction * act; char act_[PAD_(const struct sigaction *)]; 848 struct sigaction * oact; char oact_[PAD_(struct sigaction *)]; 849 }; 850 struct sigpending_args { 851 sigset_t * set; char set_[PAD_(sigset_t *)]; 852 }; 853 struct sigreturn_args { 854 ucontext_t * sigcntxp; char sigcntxp_[PAD_(ucontext_t *)]; 855 }; 856 struct sigtimedwait_args { 857 const sigset_t * set; char set_[PAD_(const sigset_t *)]; 858 siginfo_t * info; char info_[PAD_(siginfo_t *)]; 859 const struct timespec * timeout; char timeout_[PAD_(const struct timespec *)]; 860 }; 861 struct sigwaitinfo_args { 862 const sigset_t * set; char set_[PAD_(const sigset_t *)]; 863 siginfo_t * info; char info_[PAD_(siginfo_t *)]; 864 }; 865 struct __acl_get_file_args { 866 const char * path; char path_[PAD_(const char *)]; 867 acl_type_t type; char type_[PAD_(acl_type_t)]; 868 struct acl * aclp; char aclp_[PAD_(struct acl *)]; 869 }; 870 struct __acl_set_file_args { 871 const char * path; char path_[PAD_(const char *)]; 872 acl_type_t type; char type_[PAD_(acl_type_t)]; 873 struct acl * aclp; char aclp_[PAD_(struct acl *)]; 874 }; 875 struct __acl_get_fd_args { 876 int filedes; char filedes_[PAD_(int)]; 877 acl_type_t type; char type_[PAD_(acl_type_t)]; 878 struct acl * aclp; char aclp_[PAD_(struct acl *)]; 879 }; 880 struct __acl_set_fd_args { 881 int filedes; char filedes_[PAD_(int)]; 882 acl_type_t type; char type_[PAD_(acl_type_t)]; 883 struct acl * aclp; char aclp_[PAD_(struct acl *)]; 884 }; 885 struct __acl_delete_file_args { 886 const char * path; char path_[PAD_(const char *)]; 887 acl_type_t type; char type_[PAD_(acl_type_t)]; 888 }; 889 struct __acl_delete_fd_args { 890 int filedes; char filedes_[PAD_(int)]; 891 acl_type_t type; char type_[PAD_(acl_type_t)]; 892 }; 893 struct __acl_aclcheck_file_args { 894 const char * path; char path_[PAD_(const char *)]; 895 acl_type_t type; char type_[PAD_(acl_type_t)]; 896 struct acl * aclp; char aclp_[PAD_(struct acl *)]; 897 }; 898 struct __acl_aclcheck_fd_args { 899 int filedes; char filedes_[PAD_(int)]; 900 acl_type_t type; char type_[PAD_(acl_type_t)]; 901 struct acl * aclp; char aclp_[PAD_(struct acl *)]; 902 }; 903 struct extattrctl_args { 904 const char * path; char path_[PAD_(const char *)]; 905 int cmd; char cmd_[PAD_(int)]; 906 const char * filename; char filename_[PAD_(const char *)]; 907 int attrnamespace; char attrnamespace_[PAD_(int)]; 908 const char * attrname; char attrname_[PAD_(const char *)]; 909 }; 910 struct extattr_set_file_args { 911 const char * path; char path_[PAD_(const char *)]; 912 int attrnamespace; char attrnamespace_[PAD_(int)]; 913 const char * attrname; char attrname_[PAD_(const char *)]; 914 void * data; char data_[PAD_(void *)]; 915 size_t nbytes; char nbytes_[PAD_(size_t)]; 916 }; 917 struct extattr_get_file_args { 918 const char * path; char path_[PAD_(const char *)]; 919 int attrnamespace; char attrnamespace_[PAD_(int)]; 920 const char * attrname; char attrname_[PAD_(const char *)]; 921 void * data; char data_[PAD_(void *)]; 922 size_t nbytes; char nbytes_[PAD_(size_t)]; 923 }; 924 struct extattr_delete_file_args { 925 const char * path; char path_[PAD_(const char *)]; 926 int attrnamespace; char attrnamespace_[PAD_(int)]; 927 const char * attrname; char attrname_[PAD_(const char *)]; 928 }; 929 struct aio_waitcomplete_args { 930 struct aiocb ** aiocbp; char aiocbp_[PAD_(struct aiocb **)]; 931 struct timespec * timeout; char timeout_[PAD_(struct timespec *)]; 932 }; 933 struct getresuid_args { 934 uid_t * ruid; char ruid_[PAD_(uid_t *)]; 935 uid_t * euid; char euid_[PAD_(uid_t *)]; 936 uid_t * suid; char suid_[PAD_(uid_t *)]; 937 }; 938 struct getresgid_args { 939 gid_t * rgid; char rgid_[PAD_(gid_t *)]; 940 gid_t * egid; char egid_[PAD_(gid_t *)]; 941 gid_t * sgid; char sgid_[PAD_(gid_t *)]; 942 }; 943 struct kqueue_args { 944 register_t dummy; 945 }; 946 struct kevent_args { 947 int fd; char fd_[PAD_(int)]; 948 const struct kevent * changelist; char changelist_[PAD_(const struct kevent *)]; 949 int nchanges; char nchanges_[PAD_(int)]; 950 struct kevent * eventlist; char eventlist_[PAD_(struct kevent *)]; 951 int nevents; char nevents_[PAD_(int)]; 952 const struct timespec * timeout; char timeout_[PAD_(const struct timespec *)]; 953 }; 954 struct kenv_args { 955 int what; char what_[PAD_(int)]; 956 const char * name; char name_[PAD_(const char *)]; 957 char * value; char value_[PAD_(char *)]; 958 int len; char len_[PAD_(int)]; 959 }; 960 struct lchflags_args { 961 const char * path; char path_[PAD_(const char *)]; 962 u_long flags; char flags_[PAD_(u_long)]; 963 }; 964 struct uuidgen_args { 965 struct uuid * store; char store_[PAD_(struct uuid *)]; 966 int count; char count_[PAD_(int)]; 967 }; 968 struct sendfile_args { 969 int fd; char fd_[PAD_(int)]; 970 int s; char s_[PAD_(int)]; 971 off_t offset; char offset_[PAD_(off_t)]; 972 size_t nbytes; char nbytes_[PAD_(size_t)]; 973 struct sf_hdtr * hdtr; char hdtr_[PAD_(struct sf_hdtr *)]; 974 off_t * sbytes; char sbytes_[PAD_(off_t *)]; 975 int flags; char flags_[PAD_(int)]; 976 }; 977 struct varsym_set_args { 978 int level; char level_[PAD_(int)]; 979 const char * name; char name_[PAD_(const char *)]; 980 const char * data; char data_[PAD_(const char *)]; 981 }; 982 struct varsym_get_args { 983 int mask; char mask_[PAD_(int)]; 984 const char * wild; char wild_[PAD_(const char *)]; 985 char * buf; char buf_[PAD_(char *)]; 986 int bufsize; char bufsize_[PAD_(int)]; 987 }; 988 struct varsym_list_args { 989 int level; char level_[PAD_(int)]; 990 char * buf; char buf_[PAD_(char *)]; 991 int maxsize; char maxsize_[PAD_(int)]; 992 int * marker; char marker_[PAD_(int *)]; 993 }; 994 struct exec_sys_register_args { 995 void * entry; char entry_[PAD_(void *)]; 996 }; 997 struct exec_sys_unregister_args { 998 int id; char id_[PAD_(int)]; 999 }; 1000 struct sys_checkpoint_args { 1001 int type; char type_[PAD_(int)]; 1002 int fd; char fd_[PAD_(int)]; 1003 pid_t pid; char pid_[PAD_(pid_t)]; 1004 int retval; char retval_[PAD_(int)]; 1005 }; 1006 struct mountctl_args { 1007 const char * path; char path_[PAD_(const char *)]; 1008 int op; char op_[PAD_(int)]; 1009 int fd; char fd_[PAD_(int)]; 1010 const void * ctl; char ctl_[PAD_(const void *)]; 1011 int ctllen; char ctllen_[PAD_(int)]; 1012 void * buf; char buf_[PAD_(void *)]; 1013 int buflen; char buflen_[PAD_(int)]; 1014 }; 1015 struct umtx_sleep_args { 1016 volatile const int * ptr; char ptr_[PAD_(volatile const int *)]; 1017 int value; char value_[PAD_(int)]; 1018 int timeout; char timeout_[PAD_(int)]; 1019 }; 1020 struct umtx_wakeup_args { 1021 volatile const int * ptr; char ptr_[PAD_(volatile const int *)]; 1022 int count; char count_[PAD_(int)]; 1023 }; 1024 struct jail_attach_args { 1025 int jid; char jid_[PAD_(int)]; 1026 }; 1027 struct set_tls_area_args { 1028 int which; char which_[PAD_(int)]; 1029 struct tls_info * info; char info_[PAD_(struct tls_info *)]; 1030 size_t infosize; char infosize_[PAD_(size_t)]; 1031 }; 1032 struct get_tls_area_args { 1033 int which; char which_[PAD_(int)]; 1034 struct tls_info * info; char info_[PAD_(struct tls_info *)]; 1035 size_t infosize; char infosize_[PAD_(size_t)]; 1036 }; 1037 struct closefrom_args { 1038 int fd; char fd_[PAD_(int)]; 1039 }; 1040 struct stat_args { 1041 const char * path; char path_[PAD_(const char *)]; 1042 struct stat * ub; char ub_[PAD_(struct stat *)]; 1043 }; 1044 struct fstat_args { 1045 int fd; char fd_[PAD_(int)]; 1046 struct stat * sb; char sb_[PAD_(struct stat *)]; 1047 }; 1048 struct lstat_args { 1049 const char * path; char path_[PAD_(const char *)]; 1050 struct stat * ub; char ub_[PAD_(struct stat *)]; 1051 }; 1052 struct fhstat_args { 1053 const struct fhandle * u_fhp; char u_fhp_[PAD_(const struct fhandle *)]; 1054 struct stat * sb; char sb_[PAD_(struct stat *)]; 1055 }; 1056 struct getdirentries_args { 1057 int fd; char fd_[PAD_(int)]; 1058 char * buf; char buf_[PAD_(char *)]; 1059 u_int count; char count_[PAD_(u_int)]; 1060 long * basep; char basep_[PAD_(long *)]; 1061 }; 1062 struct getdents_args { 1063 int fd; char fd_[PAD_(int)]; 1064 char * buf; char buf_[PAD_(char *)]; 1065 size_t count; char count_[PAD_(size_t)]; 1066 }; 1067 struct usched_set_args { 1068 pid_t pid; char pid_[PAD_(pid_t)]; 1069 int cmd; char cmd_[PAD_(int)]; 1070 void * data; char data_[PAD_(void *)]; 1071 int bytes; char bytes_[PAD_(int)]; 1072 }; 1073 struct extaccept_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 * anamelen; char anamelen_[PAD_(int *)]; 1078 }; 1079 struct extconnect_args { 1080 int s; char s_[PAD_(int)]; 1081 int flags; char flags_[PAD_(int)]; 1082 caddr_t name; char name_[PAD_(caddr_t)]; 1083 int namelen; char namelen_[PAD_(int)]; 1084 }; 1085 struct mcontrol_args { 1086 void * addr; char addr_[PAD_(void *)]; 1087 size_t len; char len_[PAD_(size_t)]; 1088 int behav; char behav_[PAD_(int)]; 1089 off_t value; char value_[PAD_(off_t)]; 1090 }; 1091 struct vmspace_create_args { 1092 void * id; char id_[PAD_(void *)]; 1093 int type; char type_[PAD_(int)]; 1094 void * data; char data_[PAD_(void *)]; 1095 }; 1096 struct vmspace_destroy_args { 1097 void * id; char id_[PAD_(void *)]; 1098 }; 1099 struct vmspace_ctl_args { 1100 void * id; char id_[PAD_(void *)]; 1101 int cmd; char cmd_[PAD_(int)]; 1102 struct trapframe * tframe; char tframe_[PAD_(struct trapframe *)]; 1103 struct vextframe * vframe; char vframe_[PAD_(struct vextframe *)]; 1104 }; 1105 struct vmspace_mmap_args { 1106 void * id; char id_[PAD_(void *)]; 1107 void * addr; char addr_[PAD_(void *)]; 1108 size_t len; char len_[PAD_(size_t)]; 1109 int prot; char prot_[PAD_(int)]; 1110 int flags; char flags_[PAD_(int)]; 1111 int fd; char fd_[PAD_(int)]; 1112 off_t offset; char offset_[PAD_(off_t)]; 1113 }; 1114 struct vmspace_munmap_args { 1115 void * id; char id_[PAD_(void *)]; 1116 void * addr; char addr_[PAD_(void *)]; 1117 size_t len; char len_[PAD_(size_t)]; 1118 }; 1119 struct vmspace_mcontrol_args { 1120 void * id; char id_[PAD_(void *)]; 1121 void * addr; char addr_[PAD_(void *)]; 1122 size_t len; char len_[PAD_(size_t)]; 1123 int behav; char behav_[PAD_(int)]; 1124 off_t value; char value_[PAD_(off_t)]; 1125 }; 1126 struct vmspace_pread_args { 1127 void * id; char id_[PAD_(void *)]; 1128 void * buf; char buf_[PAD_(void *)]; 1129 size_t nbyte; char nbyte_[PAD_(size_t)]; 1130 int flags; char flags_[PAD_(int)]; 1131 off_t offset; char offset_[PAD_(off_t)]; 1132 }; 1133 struct vmspace_pwrite_args { 1134 void * id; char id_[PAD_(void *)]; 1135 const void * buf; char buf_[PAD_(const void *)]; 1136 size_t nbyte; char nbyte_[PAD_(size_t)]; 1137 int flags; char flags_[PAD_(int)]; 1138 off_t offset; char offset_[PAD_(off_t)]; 1139 }; 1140 struct extexit_args { 1141 int how; char how_[PAD_(int)]; 1142 int status; char status_[PAD_(int)]; 1143 void * addr; char addr_[PAD_(void *)]; 1144 }; 1145 struct lwp_create_args { 1146 struct lwp_params * params; char params_[PAD_(struct lwp_params *)]; 1147 }; 1148 struct lwp_gettid_args { 1149 register_t dummy; 1150 }; 1151 struct lwp_kill_args { 1152 pid_t pid; char pid_[PAD_(pid_t)]; 1153 lwpid_t tid; char tid_[PAD_(lwpid_t)]; 1154 int signum; char signum_[PAD_(int)]; 1155 }; 1156 struct lwp_rtprio_args { 1157 int function; char function_[PAD_(int)]; 1158 pid_t pid; char pid_[PAD_(pid_t)]; 1159 lwpid_t tid; char tid_[PAD_(lwpid_t)]; 1160 struct rtprio * rtp; char rtp_[PAD_(struct rtprio *)]; 1161 }; 1162 struct pselect_args { 1163 int nd; char nd_[PAD_(int)]; 1164 fd_set * in; char in_[PAD_(fd_set *)]; 1165 fd_set * ou; char ou_[PAD_(fd_set *)]; 1166 fd_set * ex; char ex_[PAD_(fd_set *)]; 1167 const struct timespec * ts; char ts_[PAD_(const struct timespec *)]; 1168 const sigset_t * sigmask; char sigmask_[PAD_(const sigset_t *)]; 1169 }; 1170 struct statvfs_args { 1171 const char * path; char path_[PAD_(const char *)]; 1172 struct statvfs * buf; char buf_[PAD_(struct statvfs *)]; 1173 }; 1174 struct fstatvfs_args { 1175 int fd; char fd_[PAD_(int)]; 1176 struct statvfs * buf; char buf_[PAD_(struct statvfs *)]; 1177 }; 1178 struct fhstatvfs_args { 1179 const struct fhandle * u_fhp; char u_fhp_[PAD_(const struct fhandle *)]; 1180 struct statvfs * buf; char buf_[PAD_(struct statvfs *)]; 1181 }; 1182 struct getvfsstat_args { 1183 struct statfs * buf; char buf_[PAD_(struct statfs *)]; 1184 struct statvfs * vbuf; char vbuf_[PAD_(struct statvfs *)]; 1185 long vbufsize; char vbufsize_[PAD_(long)]; 1186 int flags; char flags_[PAD_(int)]; 1187 }; 1188 struct openat_args { 1189 int fd; char fd_[PAD_(int)]; 1190 char * path; char path_[PAD_(char *)]; 1191 int flags; char flags_[PAD_(int)]; 1192 int mode; char mode_[PAD_(int)]; 1193 }; 1194 struct fstatat_args { 1195 int fd; char fd_[PAD_(int)]; 1196 char * path; char path_[PAD_(char *)]; 1197 struct stat * sb; char sb_[PAD_(struct stat *)]; 1198 int flags; char flags_[PAD_(int)]; 1199 }; 1200 struct fchmodat_args { 1201 int fd; char fd_[PAD_(int)]; 1202 char * path; char path_[PAD_(char *)]; 1203 int mode; char mode_[PAD_(int)]; 1204 int flags; char flags_[PAD_(int)]; 1205 }; 1206 struct fchownat_args { 1207 int fd; char fd_[PAD_(int)]; 1208 char * path; char path_[PAD_(char *)]; 1209 int uid; char uid_[PAD_(int)]; 1210 int gid; char gid_[PAD_(int)]; 1211 int flags; char flags_[PAD_(int)]; 1212 }; 1213 struct unlinkat_args { 1214 int fd; char fd_[PAD_(int)]; 1215 char * path; char path_[PAD_(char *)]; 1216 int flags; char flags_[PAD_(int)]; 1217 }; 1218 struct faccessat_args { 1219 int fd; char fd_[PAD_(int)]; 1220 char * path; char path_[PAD_(char *)]; 1221 int amode; char amode_[PAD_(int)]; 1222 int flags; char flags_[PAD_(int)]; 1223 }; 1224 struct mq_open_args { 1225 const char * name; char name_[PAD_(const char *)]; 1226 int oflag; char oflag_[PAD_(int)]; 1227 mode_t mode; char mode_[PAD_(mode_t)]; 1228 struct mq_attr * attr; char attr_[PAD_(struct mq_attr *)]; 1229 }; 1230 struct mq_close_args { 1231 mqd_t mqdes; char mqdes_[PAD_(mqd_t)]; 1232 }; 1233 struct mq_unlink_args { 1234 const char * name; char name_[PAD_(const char *)]; 1235 }; 1236 struct mq_getattr_args { 1237 mqd_t mqdes; char mqdes_[PAD_(mqd_t)]; 1238 struct mq_attr * mqstat; char mqstat_[PAD_(struct mq_attr *)]; 1239 }; 1240 struct mq_setattr_args { 1241 mqd_t mqdes; char mqdes_[PAD_(mqd_t)]; 1242 const struct mq_attr * mqstat; char mqstat_[PAD_(const struct mq_attr *)]; 1243 struct mq_attr * omqstat; char omqstat_[PAD_(struct mq_attr *)]; 1244 }; 1245 struct mq_notify_args { 1246 mqd_t mqdes; char mqdes_[PAD_(mqd_t)]; 1247 const struct sigevent * notification; char notification_[PAD_(const struct sigevent *)]; 1248 }; 1249 struct mq_send_args { 1250 mqd_t mqdes; char mqdes_[PAD_(mqd_t)]; 1251 const char * msg_ptr; char msg_ptr_[PAD_(const 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_receive_args { 1256 mqd_t mqdes; char mqdes_[PAD_(mqd_t)]; 1257 char * msg_ptr; char msg_ptr_[PAD_(char *)]; 1258 size_t msg_len; char msg_len_[PAD_(size_t)]; 1259 unsigned * msg_prio; char msg_prio_[PAD_(unsigned *)]; 1260 }; 1261 struct mq_timedsend_args { 1262 mqd_t mqdes; char mqdes_[PAD_(mqd_t)]; 1263 const char * msg_ptr; char msg_ptr_[PAD_(const char *)]; 1264 size_t msg_len; char msg_len_[PAD_(size_t)]; 1265 unsigned msg_prio; char msg_prio_[PAD_(unsigned)]; 1266 const struct timespec * abs_timeout; char abs_timeout_[PAD_(const struct timespec *)]; 1267 }; 1268 struct mq_timedreceive_args { 1269 mqd_t mqdes; char mqdes_[PAD_(mqd_t)]; 1270 char * msg_ptr; char msg_ptr_[PAD_(char *)]; 1271 size_t msg_len; char msg_len_[PAD_(size_t)]; 1272 unsigned * msg_prio; char msg_prio_[PAD_(unsigned *)]; 1273 const struct timespec * abs_timeout; char abs_timeout_[PAD_(const struct timespec *)]; 1274 }; 1275 struct ioprio_set_args { 1276 int which; char which_[PAD_(int)]; 1277 int who; char who_[PAD_(int)]; 1278 int prio; char prio_[PAD_(int)]; 1279 }; 1280 struct ioprio_get_args { 1281 int which; char which_[PAD_(int)]; 1282 int who; char who_[PAD_(int)]; 1283 }; 1284 struct chroot_kernel_args { 1285 char * path; char path_[PAD_(char *)]; 1286 }; 1287 struct renameat_args { 1288 int oldfd; char oldfd_[PAD_(int)]; 1289 char * old; char old_[PAD_(char *)]; 1290 int newfd; char newfd_[PAD_(int)]; 1291 char * new; char new_[PAD_(char *)]; 1292 }; 1293 struct mkdirat_args { 1294 int fd; char fd_[PAD_(int)]; 1295 char * path; char path_[PAD_(char *)]; 1296 mode_t mode; char mode_[PAD_(mode_t)]; 1297 }; 1298 struct mkfifoat_args { 1299 int fd; char fd_[PAD_(int)]; 1300 char * path; char path_[PAD_(char *)]; 1301 mode_t mode; char mode_[PAD_(mode_t)]; 1302 }; 1303 struct mknodat_args { 1304 int fd; char fd_[PAD_(int)]; 1305 char * path; char path_[PAD_(char *)]; 1306 mode_t mode; char mode_[PAD_(mode_t)]; 1307 dev_t dev; char dev_[PAD_(dev_t)]; 1308 }; 1309 struct readlinkat_args { 1310 int fd; char fd_[PAD_(int)]; 1311 char * path; char path_[PAD_(char *)]; 1312 char * buf; char buf_[PAD_(char *)]; 1313 size_t bufsize; char bufsize_[PAD_(size_t)]; 1314 }; 1315 struct symlinkat_args { 1316 char * path1; char path1_[PAD_(char *)]; 1317 int fd; char fd_[PAD_(int)]; 1318 char * path2; char path2_[PAD_(char *)]; 1319 }; 1320 struct swapoff_args { 1321 char * name; char name_[PAD_(char *)]; 1322 }; 1323 struct vquotactl_args { 1324 const char * path; char path_[PAD_(const char *)]; 1325 struct plistref * pref; char pref_[PAD_(struct plistref *)]; 1326 }; 1327 struct linkat_args { 1328 int fd1; char fd1_[PAD_(int)]; 1329 char * path1; char path1_[PAD_(char *)]; 1330 int fd2; char fd2_[PAD_(int)]; 1331 char * path2; char path2_[PAD_(char *)]; 1332 int flags; char flags_[PAD_(int)]; 1333 }; 1334 struct eaccess_args { 1335 char * path; char path_[PAD_(char *)]; 1336 int flags; char flags_[PAD_(int)]; 1337 }; 1338 struct lpathconf_args { 1339 char * path; char path_[PAD_(char *)]; 1340 int name; char name_[PAD_(int)]; 1341 }; 1342 struct vmm_guest_ctl_args { 1343 int op; char op_[PAD_(int)]; 1344 struct vmm_guest_options * options; char options_[PAD_(struct vmm_guest_options *)]; 1345 }; 1346 struct vmm_guest_sync_addr_args { 1347 long * dstaddr; char dstaddr_[PAD_(long *)]; 1348 long * srcaddr; char srcaddr_[PAD_(long *)]; 1349 }; 1350 struct procctl_args { 1351 idtype_t idtype; char idtype_[PAD_(idtype_t)]; 1352 id_t id; char id_[PAD_(id_t)]; 1353 int cmd; char cmd_[PAD_(int)]; 1354 void * data; char data_[PAD_(void *)]; 1355 }; 1356 struct chflagsat_args { 1357 int fd; char fd_[PAD_(int)]; 1358 const char * path; char path_[PAD_(const char *)]; 1359 u_long flags; char flags_[PAD_(u_long)]; 1360 int atflags; char atflags_[PAD_(int)]; 1361 }; 1362 struct pipe2_args { 1363 int * fildes; char fildes_[PAD_(int *)]; 1364 int flags; char flags_[PAD_(int)]; 1365 }; 1366 struct utimensat_args { 1367 int fd; char fd_[PAD_(int)]; 1368 const char * path; char path_[PAD_(const char *)]; 1369 const struct timespec * ts; char ts_[PAD_(const struct timespec *)]; 1370 int flags; char flags_[PAD_(int)]; 1371 }; 1372 struct futimens_args { 1373 int fd; char fd_[PAD_(int)]; 1374 const struct timespec * ts; char ts_[PAD_(const struct timespec *)]; 1375 }; 1376 struct accept4_args { 1377 int s; char s_[PAD_(int)]; 1378 caddr_t name; char name_[PAD_(caddr_t)]; 1379 int * anamelen; char anamelen_[PAD_(int *)]; 1380 int flags; char flags_[PAD_(int)]; 1381 }; 1382 struct lwp_setname_args { 1383 lwpid_t tid; char tid_[PAD_(lwpid_t)]; 1384 const char * name; char name_[PAD_(const char *)]; 1385 }; 1386 struct ppoll_args { 1387 struct pollfd * fds; char fds_[PAD_(struct pollfd *)]; 1388 u_int nfds; char nfds_[PAD_(u_int)]; 1389 const struct timespec * ts; char ts_[PAD_(const struct timespec *)]; 1390 const sigset_t * sigmask; char sigmask_[PAD_(const sigset_t *)]; 1391 }; 1392 struct lwp_setaffinity_args { 1393 pid_t pid; char pid_[PAD_(pid_t)]; 1394 lwpid_t tid; char tid_[PAD_(lwpid_t)]; 1395 const cpumask_t * mask; char mask_[PAD_(const cpumask_t *)]; 1396 }; 1397 struct lwp_getaffinity_args { 1398 pid_t pid; char pid_[PAD_(pid_t)]; 1399 lwpid_t tid; char tid_[PAD_(lwpid_t)]; 1400 cpumask_t * mask; char mask_[PAD_(cpumask_t *)]; 1401 }; 1402 struct lwp_create2_args { 1403 struct lwp_params * params; char params_[PAD_(struct lwp_params *)]; 1404 const cpumask_t * mask; char mask_[PAD_(const cpumask_t *)]; 1405 }; 1406 struct getcpuclockid_args { 1407 pid_t pid; char pid_[PAD_(pid_t)]; 1408 lwpid_t lwp_id; char lwp_id_[PAD_(lwpid_t)]; 1409 clockid_t * clock_id; char clock_id_[PAD_(clockid_t *)]; 1410 }; 1411 struct wait6_args { 1412 idtype_t idtype; char idtype_[PAD_(idtype_t)]; 1413 id_t id; char id_[PAD_(id_t)]; 1414 int * status; char status_[PAD_(int *)]; 1415 int options; char options_[PAD_(int)]; 1416 struct __wrusage * wrusage; char wrusage_[PAD_(struct __wrusage *)]; 1417 siginfo_t * info; char info_[PAD_(siginfo_t *)]; 1418 }; 1419 struct lwp_getname_args { 1420 lwpid_t tid; char tid_[PAD_(lwpid_t)]; 1421 char * name; char name_[PAD_(char *)]; 1422 size_t len; char len_[PAD_(size_t)]; 1423 }; 1424 struct getrandom_args { 1425 void * buf; char buf_[PAD_(void *)]; 1426 size_t len; char len_[PAD_(size_t)]; 1427 unsigned flags; char flags_[PAD_(unsigned)]; 1428 }; 1429 struct __realpath_args { 1430 const char * path; char path_[PAD_(const char *)]; 1431 char * buf; char buf_[PAD_(char *)]; 1432 size_t len; char len_[PAD_(size_t)]; 1433 }; 1434 1435 #undef PAD_ 1436 1437 #ifdef _KERNEL 1438 1439 struct sysmsg; 1440 1441 1442 #endif /* _KERNEL */ 1443 1444 #ifdef _KERNEL 1445 1446 struct sysmsg; 1447 1448 int sys_xsyscall (struct sysmsg *sysmsg, const struct nosys_args *); 1449 int sys_exit (struct sysmsg *sysmsg, const struct exit_args *); 1450 int sys_fork (struct sysmsg *sysmsg, const struct fork_args *); 1451 int sys_read (struct sysmsg *sysmsg, const struct read_args *); 1452 int sys_write (struct sysmsg *sysmsg, const struct write_args *); 1453 int sys_open (struct sysmsg *sysmsg, const struct open_args *); 1454 int sys_close (struct sysmsg *sysmsg, const struct close_args *); 1455 int sys_wait4 (struct sysmsg *sysmsg, const struct wait_args *); 1456 int sys_nosys (struct sysmsg *sysmsg, const struct nosys_args *); 1457 int sys_link (struct sysmsg *sysmsg, const struct link_args *); 1458 int sys_unlink (struct sysmsg *sysmsg, const struct unlink_args *); 1459 int sys_chdir (struct sysmsg *sysmsg, const struct chdir_args *); 1460 int sys_fchdir (struct sysmsg *sysmsg, const struct fchdir_args *); 1461 int sys_mknod (struct sysmsg *sysmsg, const struct mknod_args *); 1462 int sys_chmod (struct sysmsg *sysmsg, const struct chmod_args *); 1463 int sys_chown (struct sysmsg *sysmsg, const struct chown_args *); 1464 int sys_obreak (struct sysmsg *sysmsg, const struct obreak_args *); 1465 int sys_getfsstat (struct sysmsg *sysmsg, const struct getfsstat_args *); 1466 int sys_getpid (struct sysmsg *sysmsg, const struct getpid_args *); 1467 int sys_mount (struct sysmsg *sysmsg, const struct mount_args *); 1468 int sys_unmount (struct sysmsg *sysmsg, const struct unmount_args *); 1469 int sys_setuid (struct sysmsg *sysmsg, const struct setuid_args *); 1470 int sys_getuid (struct sysmsg *sysmsg, const struct getuid_args *); 1471 int sys_geteuid (struct sysmsg *sysmsg, const struct geteuid_args *); 1472 int sys_ptrace (struct sysmsg *sysmsg, const struct ptrace_args *); 1473 int sys_recvmsg (struct sysmsg *sysmsg, const struct recvmsg_args *); 1474 int sys_sendmsg (struct sysmsg *sysmsg, const struct sendmsg_args *); 1475 int sys_recvfrom (struct sysmsg *sysmsg, const struct recvfrom_args *); 1476 int sys_accept (struct sysmsg *sysmsg, const struct accept_args *); 1477 int sys_getpeername (struct sysmsg *sysmsg, const struct getpeername_args *); 1478 int sys_getsockname (struct sysmsg *sysmsg, const struct getsockname_args *); 1479 int sys_access (struct sysmsg *sysmsg, const struct access_args *); 1480 int sys_chflags (struct sysmsg *sysmsg, const struct chflags_args *); 1481 int sys_fchflags (struct sysmsg *sysmsg, const struct fchflags_args *); 1482 int sys_sync (struct sysmsg *sysmsg, const struct sync_args *); 1483 int sys_kill (struct sysmsg *sysmsg, const struct kill_args *); 1484 int sys_getppid (struct sysmsg *sysmsg, const struct getppid_args *); 1485 int sys_dup (struct sysmsg *sysmsg, const struct dup_args *); 1486 int sys_pipe (struct sysmsg *sysmsg, const struct pipe_args *); 1487 int sys_getegid (struct sysmsg *sysmsg, const struct getegid_args *); 1488 int sys_profil (struct sysmsg *sysmsg, const struct profil_args *); 1489 int sys_ktrace (struct sysmsg *sysmsg, const struct ktrace_args *); 1490 int sys_getgid (struct sysmsg *sysmsg, const struct getgid_args *); 1491 int sys_getlogin (struct sysmsg *sysmsg, const struct getlogin_args *); 1492 int sys_setlogin (struct sysmsg *sysmsg, const struct setlogin_args *); 1493 int sys_acct (struct sysmsg *sysmsg, const struct acct_args *); 1494 int sys_sigaltstack (struct sysmsg *sysmsg, const struct sigaltstack_args *); 1495 int sys_ioctl (struct sysmsg *sysmsg, const struct ioctl_args *); 1496 int sys_reboot (struct sysmsg *sysmsg, const struct reboot_args *); 1497 int sys_revoke (struct sysmsg *sysmsg, const struct revoke_args *); 1498 int sys_symlink (struct sysmsg *sysmsg, const struct symlink_args *); 1499 int sys_readlink (struct sysmsg *sysmsg, const struct readlink_args *); 1500 int sys_execve (struct sysmsg *sysmsg, const struct execve_args *); 1501 int sys_umask (struct sysmsg *sysmsg, const struct umask_args *); 1502 int sys_chroot (struct sysmsg *sysmsg, const struct chroot_args *); 1503 int sys_msync (struct sysmsg *sysmsg, const struct msync_args *); 1504 int sys_vfork (struct sysmsg *sysmsg, const struct vfork_args *); 1505 int sys_sbrk (struct sysmsg *sysmsg, const struct sbrk_args *); 1506 int sys_sstk (struct sysmsg *sysmsg, const struct sstk_args *); 1507 int sys_munmap (struct sysmsg *sysmsg, const struct munmap_args *); 1508 int sys_mprotect (struct sysmsg *sysmsg, const struct mprotect_args *); 1509 int sys_madvise (struct sysmsg *sysmsg, const struct madvise_args *); 1510 int sys_mincore (struct sysmsg *sysmsg, const struct mincore_args *); 1511 int sys_getgroups (struct sysmsg *sysmsg, const struct getgroups_args *); 1512 int sys_setgroups (struct sysmsg *sysmsg, const struct setgroups_args *); 1513 int sys_getpgrp (struct sysmsg *sysmsg, const struct getpgrp_args *); 1514 int sys_setpgid (struct sysmsg *sysmsg, const struct setpgid_args *); 1515 int sys_setitimer (struct sysmsg *sysmsg, const struct setitimer_args *); 1516 int sys_swapon (struct sysmsg *sysmsg, const struct swapon_args *); 1517 int sys_getitimer (struct sysmsg *sysmsg, const struct getitimer_args *); 1518 int sys_getdtablesize (struct sysmsg *sysmsg, const struct getdtablesize_args *); 1519 int sys_dup2 (struct sysmsg *sysmsg, const struct dup2_args *); 1520 int sys_fcntl (struct sysmsg *sysmsg, const struct fcntl_args *); 1521 int sys_select (struct sysmsg *sysmsg, const struct select_args *); 1522 int sys_fsync (struct sysmsg *sysmsg, const struct fsync_args *); 1523 int sys_setpriority (struct sysmsg *sysmsg, const struct setpriority_args *); 1524 int sys_socket (struct sysmsg *sysmsg, const struct socket_args *); 1525 int sys_connect (struct sysmsg *sysmsg, const struct connect_args *); 1526 int sys_getpriority (struct sysmsg *sysmsg, const struct getpriority_args *); 1527 int sys_bind (struct sysmsg *sysmsg, const struct bind_args *); 1528 int sys_setsockopt (struct sysmsg *sysmsg, const struct setsockopt_args *); 1529 int sys_listen (struct sysmsg *sysmsg, const struct listen_args *); 1530 int sys_gettimeofday (struct sysmsg *sysmsg, const struct gettimeofday_args *); 1531 int sys_getrusage (struct sysmsg *sysmsg, const struct getrusage_args *); 1532 int sys_getsockopt (struct sysmsg *sysmsg, const struct getsockopt_args *); 1533 int sys_readv (struct sysmsg *sysmsg, const struct readv_args *); 1534 int sys_writev (struct sysmsg *sysmsg, const struct writev_args *); 1535 int sys_settimeofday (struct sysmsg *sysmsg, const struct settimeofday_args *); 1536 int sys_fchown (struct sysmsg *sysmsg, const struct fchown_args *); 1537 int sys_fchmod (struct sysmsg *sysmsg, const struct fchmod_args *); 1538 int sys_setreuid (struct sysmsg *sysmsg, const struct setreuid_args *); 1539 int sys_setregid (struct sysmsg *sysmsg, const struct setregid_args *); 1540 int sys_rename (struct sysmsg *sysmsg, const struct rename_args *); 1541 int sys_flock (struct sysmsg *sysmsg, const struct flock_args *); 1542 int sys_mkfifo (struct sysmsg *sysmsg, const struct mkfifo_args *); 1543 int sys_sendto (struct sysmsg *sysmsg, const struct sendto_args *); 1544 int sys_shutdown (struct sysmsg *sysmsg, const struct shutdown_args *); 1545 int sys_socketpair (struct sysmsg *sysmsg, const struct socketpair_args *); 1546 int sys_mkdir (struct sysmsg *sysmsg, const struct mkdir_args *); 1547 int sys_rmdir (struct sysmsg *sysmsg, const struct rmdir_args *); 1548 int sys_utimes (struct sysmsg *sysmsg, const struct utimes_args *); 1549 int sys_adjtime (struct sysmsg *sysmsg, const struct adjtime_args *); 1550 int sys_setsid (struct sysmsg *sysmsg, const struct setsid_args *); 1551 int sys_quotactl (struct sysmsg *sysmsg, const struct quotactl_args *); 1552 int sys_nfssvc (struct sysmsg *sysmsg, const struct nfssvc_args *); 1553 int sys_statfs (struct sysmsg *sysmsg, const struct statfs_args *); 1554 int sys_fstatfs (struct sysmsg *sysmsg, const struct fstatfs_args *); 1555 int sys_getfh (struct sysmsg *sysmsg, const struct getfh_args *); 1556 int sys_sysarch (struct sysmsg *sysmsg, const struct sysarch_args *); 1557 int sys_rtprio (struct sysmsg *sysmsg, const struct rtprio_args *); 1558 int sys_extpread (struct sysmsg *sysmsg, const struct extpread_args *); 1559 int sys_extpwrite (struct sysmsg *sysmsg, const struct extpwrite_args *); 1560 int sys_ntp_adjtime (struct sysmsg *sysmsg, const struct ntp_adjtime_args *); 1561 int sys_setgid (struct sysmsg *sysmsg, const struct setgid_args *); 1562 int sys_setegid (struct sysmsg *sysmsg, const struct setegid_args *); 1563 int sys_seteuid (struct sysmsg *sysmsg, const struct seteuid_args *); 1564 int sys_pathconf (struct sysmsg *sysmsg, const struct pathconf_args *); 1565 int sys_fpathconf (struct sysmsg *sysmsg, const struct fpathconf_args *); 1566 int sys_getrlimit (struct sysmsg *sysmsg, const struct __getrlimit_args *); 1567 int sys_setrlimit (struct sysmsg *sysmsg, const struct __setrlimit_args *); 1568 int sys_mmap (struct sysmsg *sysmsg, const struct mmap_args *); 1569 int sys_lseek (struct sysmsg *sysmsg, const struct lseek_args *); 1570 int sys_truncate (struct sysmsg *sysmsg, const struct truncate_args *); 1571 int sys_ftruncate (struct sysmsg *sysmsg, const struct ftruncate_args *); 1572 int sys___sysctl (struct sysmsg *sysmsg, const struct sysctl_args *); 1573 int sys_mlock (struct sysmsg *sysmsg, const struct mlock_args *); 1574 int sys_munlock (struct sysmsg *sysmsg, const struct munlock_args *); 1575 int sys_undelete (struct sysmsg *sysmsg, const struct undelete_args *); 1576 int sys_futimes (struct sysmsg *sysmsg, const struct futimes_args *); 1577 int sys_getpgid (struct sysmsg *sysmsg, const struct getpgid_args *); 1578 int sys_poll (struct sysmsg *sysmsg, const struct poll_args *); 1579 int sys_lkmnosys (struct sysmsg *sysmsg, const struct nosys_args *); 1580 int sys___semctl (struct sysmsg *sysmsg, const struct __semctl_args *); 1581 int sys_semget (struct sysmsg *sysmsg, const struct semget_args *); 1582 int sys_semop (struct sysmsg *sysmsg, const struct semop_args *); 1583 int sys_msgctl (struct sysmsg *sysmsg, const struct msgctl_args *); 1584 int sys_msgget (struct sysmsg *sysmsg, const struct msgget_args *); 1585 int sys_msgsnd (struct sysmsg *sysmsg, const struct msgsnd_args *); 1586 int sys_msgrcv (struct sysmsg *sysmsg, const struct msgrcv_args *); 1587 int sys_shmat (struct sysmsg *sysmsg, const struct shmat_args *); 1588 int sys_shmctl (struct sysmsg *sysmsg, const struct shmctl_args *); 1589 int sys_shmdt (struct sysmsg *sysmsg, const struct shmdt_args *); 1590 int sys_shmget (struct sysmsg *sysmsg, const struct shmget_args *); 1591 int sys_clock_gettime (struct sysmsg *sysmsg, const struct clock_gettime_args *); 1592 int sys_clock_settime (struct sysmsg *sysmsg, const struct clock_settime_args *); 1593 int sys_clock_getres (struct sysmsg *sysmsg, const struct clock_getres_args *); 1594 int sys_nanosleep (struct sysmsg *sysmsg, const struct nanosleep_args *); 1595 int sys_clock_nanosleep (struct sysmsg *sysmsg, const struct clock_nanosleep_args *); 1596 int sys_minherit (struct sysmsg *sysmsg, const struct minherit_args *); 1597 int sys_rfork (struct sysmsg *sysmsg, const struct rfork_args *); 1598 int sys_openbsd_poll (struct sysmsg *sysmsg, const struct openbsd_poll_args *); 1599 int sys_issetugid (struct sysmsg *sysmsg, const struct issetugid_args *); 1600 int sys_lchown (struct sysmsg *sysmsg, const struct lchown_args *); 1601 int sys_lchmod (struct sysmsg *sysmsg, const struct lchmod_args *); 1602 int sys_lutimes (struct sysmsg *sysmsg, const struct lutimes_args *); 1603 int sys_extpreadv (struct sysmsg *sysmsg, const struct extpreadv_args *); 1604 int sys_extpwritev (struct sysmsg *sysmsg, const struct extpwritev_args *); 1605 int sys_fhstatfs (struct sysmsg *sysmsg, const struct fhstatfs_args *); 1606 int sys_fhopen (struct sysmsg *sysmsg, const struct fhopen_args *); 1607 int sys_modnext (struct sysmsg *sysmsg, const struct modnext_args *); 1608 int sys_modstat (struct sysmsg *sysmsg, const struct modstat_args *); 1609 int sys_modfnext (struct sysmsg *sysmsg, const struct modfnext_args *); 1610 int sys_modfind (struct sysmsg *sysmsg, const struct modfind_args *); 1611 int sys_kldload (struct sysmsg *sysmsg, const struct kldload_args *); 1612 int sys_kldunload (struct sysmsg *sysmsg, const struct kldunload_args *); 1613 int sys_kldfind (struct sysmsg *sysmsg, const struct kldfind_args *); 1614 int sys_kldnext (struct sysmsg *sysmsg, const struct kldnext_args *); 1615 int sys_kldstat (struct sysmsg *sysmsg, const struct kldstat_args *); 1616 int sys_kldfirstmod (struct sysmsg *sysmsg, const struct kldfirstmod_args *); 1617 int sys_getsid (struct sysmsg *sysmsg, const struct getsid_args *); 1618 int sys_setresuid (struct sysmsg *sysmsg, const struct setresuid_args *); 1619 int sys_setresgid (struct sysmsg *sysmsg, const struct setresgid_args *); 1620 int sys_aio_return (struct sysmsg *sysmsg, const struct aio_return_args *); 1621 int sys_aio_suspend (struct sysmsg *sysmsg, const struct aio_suspend_args *); 1622 int sys_aio_cancel (struct sysmsg *sysmsg, const struct aio_cancel_args *); 1623 int sys_aio_error (struct sysmsg *sysmsg, const struct aio_error_args *); 1624 int sys_aio_read (struct sysmsg *sysmsg, const struct aio_read_args *); 1625 int sys_aio_write (struct sysmsg *sysmsg, const struct aio_write_args *); 1626 int sys_lio_listio (struct sysmsg *sysmsg, const struct lio_listio_args *); 1627 int sys_yield (struct sysmsg *sysmsg, const struct yield_args *); 1628 int sys_mlockall (struct sysmsg *sysmsg, const struct mlockall_args *); 1629 int sys_munlockall (struct sysmsg *sysmsg, const struct munlockall_args *); 1630 int sys___getcwd (struct sysmsg *sysmsg, const struct __getcwd_args *); 1631 int sys_sched_setparam (struct sysmsg *sysmsg, const struct sched_setparam_args *); 1632 int sys_sched_getparam (struct sysmsg *sysmsg, const struct sched_getparam_args *); 1633 int sys_sched_setscheduler (struct sysmsg *sysmsg, const struct sched_setscheduler_args *); 1634 int sys_sched_getscheduler (struct sysmsg *sysmsg, const struct sched_getscheduler_args *); 1635 int sys_sched_yield (struct sysmsg *sysmsg, const struct sched_yield_args *); 1636 int sys_sched_get_priority_max (struct sysmsg *sysmsg, const struct sched_get_priority_max_args *); 1637 int sys_sched_get_priority_min (struct sysmsg *sysmsg, const struct sched_get_priority_min_args *); 1638 int sys_sched_rr_get_interval (struct sysmsg *sysmsg, const struct sched_rr_get_interval_args *); 1639 int sys_utrace (struct sysmsg *sysmsg, const struct utrace_args *); 1640 int sys_kldsym (struct sysmsg *sysmsg, const struct kldsym_args *); 1641 int sys_jail (struct sysmsg *sysmsg, const struct jail_args *); 1642 int sys_sigprocmask (struct sysmsg *sysmsg, const struct sigprocmask_args *); 1643 int sys_sigsuspend (struct sysmsg *sysmsg, const struct sigsuspend_args *); 1644 int sys_sigaction (struct sysmsg *sysmsg, const struct sigaction_args *); 1645 int sys_sigpending (struct sysmsg *sysmsg, const struct sigpending_args *); 1646 int sys_sigreturn (struct sysmsg *sysmsg, const struct sigreturn_args *); 1647 int sys_sigtimedwait (struct sysmsg *sysmsg, const struct sigtimedwait_args *); 1648 int sys_sigwaitinfo (struct sysmsg *sysmsg, const struct sigwaitinfo_args *); 1649 int sys___acl_get_file (struct sysmsg *sysmsg, const struct __acl_get_file_args *); 1650 int sys___acl_set_file (struct sysmsg *sysmsg, const struct __acl_set_file_args *); 1651 int sys___acl_get_fd (struct sysmsg *sysmsg, const struct __acl_get_fd_args *); 1652 int sys___acl_set_fd (struct sysmsg *sysmsg, const struct __acl_set_fd_args *); 1653 int sys___acl_delete_file (struct sysmsg *sysmsg, const struct __acl_delete_file_args *); 1654 int sys___acl_delete_fd (struct sysmsg *sysmsg, const struct __acl_delete_fd_args *); 1655 int sys___acl_aclcheck_file (struct sysmsg *sysmsg, const struct __acl_aclcheck_file_args *); 1656 int sys___acl_aclcheck_fd (struct sysmsg *sysmsg, const struct __acl_aclcheck_fd_args *); 1657 int sys_extattrctl (struct sysmsg *sysmsg, const struct extattrctl_args *); 1658 int sys_extattr_set_file (struct sysmsg *sysmsg, const struct extattr_set_file_args *); 1659 int sys_extattr_get_file (struct sysmsg *sysmsg, const struct extattr_get_file_args *); 1660 int sys_extattr_delete_file (struct sysmsg *sysmsg, const struct extattr_delete_file_args *); 1661 int sys_aio_waitcomplete (struct sysmsg *sysmsg, const struct aio_waitcomplete_args *); 1662 int sys_getresuid (struct sysmsg *sysmsg, const struct getresuid_args *); 1663 int sys_getresgid (struct sysmsg *sysmsg, const struct getresgid_args *); 1664 int sys_kqueue (struct sysmsg *sysmsg, const struct kqueue_args *); 1665 int sys_kevent (struct sysmsg *sysmsg, const struct kevent_args *); 1666 int sys_kenv (struct sysmsg *sysmsg, const struct kenv_args *); 1667 int sys_lchflags (struct sysmsg *sysmsg, const struct lchflags_args *); 1668 int sys_uuidgen (struct sysmsg *sysmsg, const struct uuidgen_args *); 1669 int sys_sendfile (struct sysmsg *sysmsg, const struct sendfile_args *); 1670 int sys_varsym_set (struct sysmsg *sysmsg, const struct varsym_set_args *); 1671 int sys_varsym_get (struct sysmsg *sysmsg, const struct varsym_get_args *); 1672 int sys_varsym_list (struct sysmsg *sysmsg, const struct varsym_list_args *); 1673 int sys_exec_sys_register (struct sysmsg *sysmsg, const struct exec_sys_register_args *); 1674 int sys_exec_sys_unregister (struct sysmsg *sysmsg, const struct exec_sys_unregister_args *); 1675 int sys_sys_checkpoint (struct sysmsg *sysmsg, const struct sys_checkpoint_args *); 1676 int sys_mountctl (struct sysmsg *sysmsg, const struct mountctl_args *); 1677 int sys_umtx_sleep (struct sysmsg *sysmsg, const struct umtx_sleep_args *); 1678 int sys_umtx_wakeup (struct sysmsg *sysmsg, const struct umtx_wakeup_args *); 1679 int sys_jail_attach (struct sysmsg *sysmsg, const struct jail_attach_args *); 1680 int sys_set_tls_area (struct sysmsg *sysmsg, const struct set_tls_area_args *); 1681 int sys_get_tls_area (struct sysmsg *sysmsg, const struct get_tls_area_args *); 1682 int sys_closefrom (struct sysmsg *sysmsg, const struct closefrom_args *); 1683 int sys_stat (struct sysmsg *sysmsg, const struct stat_args *); 1684 int sys_fstat (struct sysmsg *sysmsg, const struct fstat_args *); 1685 int sys_lstat (struct sysmsg *sysmsg, const struct lstat_args *); 1686 int sys_fhstat (struct sysmsg *sysmsg, const struct fhstat_args *); 1687 int sys_getdirentries (struct sysmsg *sysmsg, const struct getdirentries_args *); 1688 int sys_getdents (struct sysmsg *sysmsg, const struct getdents_args *); 1689 int sys_usched_set (struct sysmsg *sysmsg, const struct usched_set_args *); 1690 int sys_extaccept (struct sysmsg *sysmsg, const struct extaccept_args *); 1691 int sys_extconnect (struct sysmsg *sysmsg, const struct extconnect_args *); 1692 int sys_mcontrol (struct sysmsg *sysmsg, const struct mcontrol_args *); 1693 int sys_vmspace_create (struct sysmsg *sysmsg, const struct vmspace_create_args *); 1694 int sys_vmspace_destroy (struct sysmsg *sysmsg, const struct vmspace_destroy_args *); 1695 int sys_vmspace_ctl (struct sysmsg *sysmsg, const struct vmspace_ctl_args *); 1696 int sys_vmspace_mmap (struct sysmsg *sysmsg, const struct vmspace_mmap_args *); 1697 int sys_vmspace_munmap (struct sysmsg *sysmsg, const struct vmspace_munmap_args *); 1698 int sys_vmspace_mcontrol (struct sysmsg *sysmsg, const struct vmspace_mcontrol_args *); 1699 int sys_vmspace_pread (struct sysmsg *sysmsg, const struct vmspace_pread_args *); 1700 int sys_vmspace_pwrite (struct sysmsg *sysmsg, const struct vmspace_pwrite_args *); 1701 int sys_extexit (struct sysmsg *sysmsg, const struct extexit_args *); 1702 int sys_lwp_create (struct sysmsg *sysmsg, const struct lwp_create_args *); 1703 int sys_lwp_gettid (struct sysmsg *sysmsg, const struct lwp_gettid_args *); 1704 int sys_lwp_kill (struct sysmsg *sysmsg, const struct lwp_kill_args *); 1705 int sys_lwp_rtprio (struct sysmsg *sysmsg, const struct lwp_rtprio_args *); 1706 int sys_pselect (struct sysmsg *sysmsg, const struct pselect_args *); 1707 int sys_statvfs (struct sysmsg *sysmsg, const struct statvfs_args *); 1708 int sys_fstatvfs (struct sysmsg *sysmsg, const struct fstatvfs_args *); 1709 int sys_fhstatvfs (struct sysmsg *sysmsg, const struct fhstatvfs_args *); 1710 int sys_getvfsstat (struct sysmsg *sysmsg, const struct getvfsstat_args *); 1711 int sys_openat (struct sysmsg *sysmsg, const struct openat_args *); 1712 int sys_fstatat (struct sysmsg *sysmsg, const struct fstatat_args *); 1713 int sys_fchmodat (struct sysmsg *sysmsg, const struct fchmodat_args *); 1714 int sys_fchownat (struct sysmsg *sysmsg, const struct fchownat_args *); 1715 int sys_unlinkat (struct sysmsg *sysmsg, const struct unlinkat_args *); 1716 int sys_faccessat (struct sysmsg *sysmsg, const struct faccessat_args *); 1717 int sys_mq_open (struct sysmsg *sysmsg, const struct mq_open_args *); 1718 int sys_mq_close (struct sysmsg *sysmsg, const struct mq_close_args *); 1719 int sys_mq_unlink (struct sysmsg *sysmsg, const struct mq_unlink_args *); 1720 int sys_mq_getattr (struct sysmsg *sysmsg, const struct mq_getattr_args *); 1721 int sys_mq_setattr (struct sysmsg *sysmsg, const struct mq_setattr_args *); 1722 int sys_mq_notify (struct sysmsg *sysmsg, const struct mq_notify_args *); 1723 int sys_mq_send (struct sysmsg *sysmsg, const struct mq_send_args *); 1724 int sys_mq_receive (struct sysmsg *sysmsg, const struct mq_receive_args *); 1725 int sys_mq_timedsend (struct sysmsg *sysmsg, const struct mq_timedsend_args *); 1726 int sys_mq_timedreceive (struct sysmsg *sysmsg, const struct mq_timedreceive_args *); 1727 int sys_ioprio_set (struct sysmsg *sysmsg, const struct ioprio_set_args *); 1728 int sys_ioprio_get (struct sysmsg *sysmsg, const struct ioprio_get_args *); 1729 int sys_chroot_kernel (struct sysmsg *sysmsg, const struct chroot_kernel_args *); 1730 int sys_renameat (struct sysmsg *sysmsg, const struct renameat_args *); 1731 int sys_mkdirat (struct sysmsg *sysmsg, const struct mkdirat_args *); 1732 int sys_mkfifoat (struct sysmsg *sysmsg, const struct mkfifoat_args *); 1733 int sys_mknodat (struct sysmsg *sysmsg, const struct mknodat_args *); 1734 int sys_readlinkat (struct sysmsg *sysmsg, const struct readlinkat_args *); 1735 int sys_symlinkat (struct sysmsg *sysmsg, const struct symlinkat_args *); 1736 int sys_swapoff (struct sysmsg *sysmsg, const struct swapoff_args *); 1737 int sys_vquotactl (struct sysmsg *sysmsg, const struct vquotactl_args *); 1738 int sys_linkat (struct sysmsg *sysmsg, const struct linkat_args *); 1739 int sys_eaccess (struct sysmsg *sysmsg, const struct eaccess_args *); 1740 int sys_lpathconf (struct sysmsg *sysmsg, const struct lpathconf_args *); 1741 int sys_vmm_guest_ctl (struct sysmsg *sysmsg, const struct vmm_guest_ctl_args *); 1742 int sys_vmm_guest_sync_addr (struct sysmsg *sysmsg, const struct vmm_guest_sync_addr_args *); 1743 int sys_procctl (struct sysmsg *sysmsg, const struct procctl_args *); 1744 int sys_chflagsat (struct sysmsg *sysmsg, const struct chflagsat_args *); 1745 int sys_pipe2 (struct sysmsg *sysmsg, const struct pipe2_args *); 1746 int sys_utimensat (struct sysmsg *sysmsg, const struct utimensat_args *); 1747 int sys_futimens (struct sysmsg *sysmsg, const struct futimens_args *); 1748 int sys_accept4 (struct sysmsg *sysmsg, const struct accept4_args *); 1749 int sys_lwp_setname (struct sysmsg *sysmsg, const struct lwp_setname_args *); 1750 int sys_ppoll (struct sysmsg *sysmsg, const struct ppoll_args *); 1751 int sys_lwp_setaffinity (struct sysmsg *sysmsg, const struct lwp_setaffinity_args *); 1752 int sys_lwp_getaffinity (struct sysmsg *sysmsg, const struct lwp_getaffinity_args *); 1753 int sys_lwp_create2 (struct sysmsg *sysmsg, const struct lwp_create2_args *); 1754 int sys_getcpuclockid (struct sysmsg *sysmsg, const struct getcpuclockid_args *); 1755 int sys_wait6 (struct sysmsg *sysmsg, const struct wait6_args *); 1756 int sys_lwp_getname (struct sysmsg *sysmsg, const struct lwp_getname_args *); 1757 int sys_getrandom (struct sysmsg *sysmsg, const struct getrandom_args *); 1758 int sys___realpath (struct sysmsg *sysmsg, const struct __realpath_args *); 1759 1760 #endif /* _KERNEL */ 1761 1762 #endif /* !_SYS_SYSPROTO_H_ */ 1763