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