| 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 | |
| 13 | #include <sys/signal.h> |
| 14 | |
| 15 | #include <sys/acl.h> |
| 16 | |
| 17 | #include <sys/msgport.h> |
| 18 | |
| 19 | #include <sys/sysmsg.h> |
| 20 | |
| 21 | #include <sys/syslink.h> |
| 22 | |
| 23 | #define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \ |
| 24 | 0 : sizeof(register_t) - sizeof(t)) |
| 25 | |
| 26 | #ifdef COMPAT_43 |
| 27 | #endif |
| 28 | struct nosys_args { |
| 29 | #ifdef _KERNEL |
| 30 | struct sysmsg sysmsg; |
| 31 | #endif |
| 32 | register_t dummy; |
| 33 | }; |
| 34 | struct exit_args { |
| 35 | #ifdef _KERNEL |
| 36 | struct sysmsg sysmsg; |
| 37 | #endif |
| 38 | int rval; char rval_[PAD_(int)]; |
| 39 | }; |
| 40 | struct fork_args { |
| 41 | #ifdef _KERNEL |
| 42 | struct sysmsg sysmsg; |
| 43 | #endif |
| 44 | register_t dummy; |
| 45 | }; |
| 46 | struct read_args { |
| 47 | #ifdef _KERNEL |
| 48 | struct sysmsg sysmsg; |
| 49 | #endif |
| 50 | int fd; char fd_[PAD_(int)]; |
| 51 | void * buf; char buf_[PAD_(void *)]; |
| 52 | size_t nbyte; char nbyte_[PAD_(size_t)]; |
| 53 | }; |
| 54 | struct write_args { |
| 55 | #ifdef _KERNEL |
| 56 | struct sysmsg sysmsg; |
| 57 | #endif |
| 58 | int fd; char fd_[PAD_(int)]; |
| 59 | const void * buf; char buf_[PAD_(const void *)]; |
| 60 | size_t nbyte; char nbyte_[PAD_(size_t)]; |
| 61 | }; |
| 62 | struct open_args { |
| 63 | #ifdef _KERNEL |
| 64 | struct sysmsg sysmsg; |
| 65 | #endif |
| 66 | char * path; char path_[PAD_(char *)]; |
| 67 | int flags; char flags_[PAD_(int)]; |
| 68 | int mode; char mode_[PAD_(int)]; |
| 69 | }; |
| 70 | struct close_args { |
| 71 | #ifdef _KERNEL |
| 72 | struct sysmsg sysmsg; |
| 73 | #endif |
| 74 | int fd; char fd_[PAD_(int)]; |
| 75 | }; |
| 76 | struct wait_args { |
| 77 | #ifdef _KERNEL |
| 78 | struct sysmsg sysmsg; |
| 79 | #endif |
| 80 | int pid; char pid_[PAD_(int)]; |
| 81 | int * status; char status_[PAD_(int *)]; |
| 82 | int options; char options_[PAD_(int)]; |
| 83 | struct rusage * rusage; char rusage_[PAD_(struct rusage *)]; |
| 84 | }; |
| 85 | struct link_args { |
| 86 | #ifdef _KERNEL |
| 87 | struct sysmsg sysmsg; |
| 88 | #endif |
| 89 | char * path; char path_[PAD_(char *)]; |
| 90 | char * link; char link_[PAD_(char *)]; |
| 91 | }; |
| 92 | struct unlink_args { |
| 93 | #ifdef _KERNEL |
| 94 | struct sysmsg sysmsg; |
| 95 | #endif |
| 96 | char * path; char path_[PAD_(char *)]; |
| 97 | }; |
| 98 | struct chdir_args { |
| 99 | #ifdef _KERNEL |
| 100 | struct sysmsg sysmsg; |
| 101 | #endif |
| 102 | char * path; char path_[PAD_(char *)]; |
| 103 | }; |
| 104 | struct fchdir_args { |
| 105 | #ifdef _KERNEL |
| 106 | struct sysmsg sysmsg; |
| 107 | #endif |
| 108 | int fd; char fd_[PAD_(int)]; |
| 109 | }; |
| 110 | struct mknod_args { |
| 111 | #ifdef _KERNEL |
| 112 | struct sysmsg sysmsg; |
| 113 | #endif |
| 114 | char * path; char path_[PAD_(char *)]; |
| 115 | int mode; char mode_[PAD_(int)]; |
| 116 | int dev; char dev_[PAD_(int)]; |
| 117 | }; |
| 118 | struct chmod_args { |
| 119 | #ifdef _KERNEL |
| 120 | struct sysmsg sysmsg; |
| 121 | #endif |
| 122 | char * path; char path_[PAD_(char *)]; |
| 123 | int mode; char mode_[PAD_(int)]; |
| 124 | }; |
| 125 | struct chown_args { |
| 126 | #ifdef _KERNEL |
| 127 | struct sysmsg sysmsg; |
| 128 | #endif |
| 129 | char * path; char path_[PAD_(char *)]; |
| 130 | int uid; char uid_[PAD_(int)]; |
| 131 | int gid; char gid_[PAD_(int)]; |
| 132 | }; |
| 133 | struct obreak_args { |
| 134 | #ifdef _KERNEL |
| 135 | struct sysmsg sysmsg; |
| 136 | #endif |
| 137 | char * nsize; char nsize_[PAD_(char *)]; |
| 138 | }; |
| 139 | struct getfsstat_args { |
| 140 | #ifdef _KERNEL |
| 141 | struct sysmsg sysmsg; |
| 142 | #endif |
| 143 | struct statfs * buf; char buf_[PAD_(struct statfs *)]; |
| 144 | long bufsize; char bufsize_[PAD_(long)]; |
| 145 | int flags; char flags_[PAD_(int)]; |
| 146 | }; |
| 147 | struct getpid_args { |
| 148 | #ifdef _KERNEL |
| 149 | struct sysmsg sysmsg; |
| 150 | #endif |
| 151 | register_t dummy; |
| 152 | }; |
| 153 | struct mount_args { |
| 154 | #ifdef _KERNEL |
| 155 | struct sysmsg sysmsg; |
| 156 | #endif |
| 157 | char * type; char type_[PAD_(char *)]; |
| 158 | char * path; char path_[PAD_(char *)]; |
| 159 | int flags; char flags_[PAD_(int)]; |
| 160 | caddr_t data; char data_[PAD_(caddr_t)]; |
| 161 | }; |
| 162 | struct unmount_args { |
| 163 | #ifdef _KERNEL |
| 164 | struct sysmsg sysmsg; |
| 165 | #endif |
| 166 | char * path; char path_[PAD_(char *)]; |
| 167 | int flags; char flags_[PAD_(int)]; |
| 168 | }; |
| 169 | struct setuid_args { |
| 170 | #ifdef _KERNEL |
| 171 | struct sysmsg sysmsg; |
| 172 | #endif |
| 173 | uid_t uid; char uid_[PAD_(uid_t)]; |
| 174 | }; |
| 175 | struct getuid_args { |
| 176 | #ifdef _KERNEL |
| 177 | struct sysmsg sysmsg; |
| 178 | #endif |
| 179 | register_t dummy; |
| 180 | }; |
| 181 | struct geteuid_args { |
| 182 | #ifdef _KERNEL |
| 183 | struct sysmsg sysmsg; |
| 184 | #endif |
| 185 | register_t dummy; |
| 186 | }; |
| 187 | struct ptrace_args { |
| 188 | #ifdef _KERNEL |
| 189 | struct sysmsg sysmsg; |
| 190 | #endif |
| 191 | int req; char req_[PAD_(int)]; |
| 192 | pid_t pid; char pid_[PAD_(pid_t)]; |
| 193 | caddr_t addr; char addr_[PAD_(caddr_t)]; |
| 194 | int data; char data_[PAD_(int)]; |
| 195 | }; |
| 196 | struct recvmsg_args { |
| 197 | #ifdef _KERNEL |
| 198 | struct sysmsg sysmsg; |
| 199 | #endif |
| 200 | int s; char s_[PAD_(int)]; |
| 201 | struct msghdr * msg; char msg_[PAD_(struct msghdr *)]; |
| 202 | int flags; char flags_[PAD_(int)]; |
| 203 | }; |
| 204 | struct sendmsg_args { |
| 205 | #ifdef _KERNEL |
| 206 | struct sysmsg sysmsg; |
| 207 | #endif |
| 208 | int s; char s_[PAD_(int)]; |
| 209 | caddr_t msg; char msg_[PAD_(caddr_t)]; |
| 210 | int flags; char flags_[PAD_(int)]; |
| 211 | }; |
| 212 | struct recvfrom_args { |
| 213 | #ifdef _KERNEL |
| 214 | struct sysmsg sysmsg; |
| 215 | #endif |
| 216 | int s; char s_[PAD_(int)]; |
| 217 | caddr_t buf; char buf_[PAD_(caddr_t)]; |
| 218 | size_t len; char len_[PAD_(size_t)]; |
| 219 | int flags; char flags_[PAD_(int)]; |
| 220 | caddr_t from; char from_[PAD_(caddr_t)]; |
| 221 | int * fromlenaddr; char fromlenaddr_[PAD_(int *)]; |
| 222 | }; |
| 223 | struct accept_args { |
| 224 | #ifdef _KERNEL |
| 225 | struct sysmsg sysmsg; |
| 226 | #endif |
| 227 | int s; char s_[PAD_(int)]; |
| 228 | caddr_t name; char name_[PAD_(caddr_t)]; |
| 229 | int * anamelen; char anamelen_[PAD_(int *)]; |
| 230 | }; |
| 231 | struct getpeername_args { |
| 232 | #ifdef _KERNEL |
| 233 | struct sysmsg sysmsg; |
| 234 | #endif |
| 235 | int fdes; char fdes_[PAD_(int)]; |
| 236 | caddr_t asa; char asa_[PAD_(caddr_t)]; |
| 237 | int * alen; char alen_[PAD_(int *)]; |
| 238 | }; |
| 239 | struct getsockname_args { |
| 240 | #ifdef _KERNEL |
| 241 | struct sysmsg sysmsg; |
| 242 | #endif |
| 243 | int fdes; char fdes_[PAD_(int)]; |
| 244 | caddr_t asa; char asa_[PAD_(caddr_t)]; |
| 245 | int * alen; char alen_[PAD_(int *)]; |
| 246 | }; |
| 247 | struct access_args { |
| 248 | #ifdef _KERNEL |
| 249 | struct sysmsg sysmsg; |
| 250 | #endif |
| 251 | char * path; char path_[PAD_(char *)]; |
| 252 | int flags; char flags_[PAD_(int)]; |
| 253 | }; |
| 254 | struct chflags_args { |
| 255 | #ifdef _KERNEL |
| 256 | struct sysmsg sysmsg; |
| 257 | #endif |
| 258 | char * path; char path_[PAD_(char *)]; |
| 259 | int flags; char flags_[PAD_(int)]; |
| 260 | }; |
| 261 | struct fchflags_args { |
| 262 | #ifdef _KERNEL |
| 263 | struct sysmsg sysmsg; |
| 264 | #endif |
| 265 | int fd; char fd_[PAD_(int)]; |
| 266 | int flags; char flags_[PAD_(int)]; |
| 267 | }; |
| 268 | struct sync_args { |
| 269 | #ifdef _KERNEL |
| 270 | struct sysmsg sysmsg; |
| 271 | #endif |
| 272 | register_t dummy; |
| 273 | }; |
| 274 | struct kill_args { |
| 275 | #ifdef _KERNEL |
| 276 | struct sysmsg sysmsg; |
| 277 | #endif |
| 278 | int pid; char pid_[PAD_(int)]; |
| 279 | int signum; char signum_[PAD_(int)]; |
| 280 | }; |
| 281 | struct getppid_args { |
| 282 | #ifdef _KERNEL |
| 283 | struct sysmsg sysmsg; |
| 284 | #endif |
| 285 | register_t dummy; |
| 286 | }; |
| 287 | struct dup_args { |
| 288 | #ifdef _KERNEL |
| 289 | struct sysmsg sysmsg; |
| 290 | #endif |
| 291 | u_int fd; char fd_[PAD_(u_int)]; |
| 292 | }; |
| 293 | struct pipe_args { |
| 294 | #ifdef _KERNEL |
| 295 | struct sysmsg sysmsg; |
| 296 | #endif |
| 297 | register_t dummy; |
| 298 | }; |
| 299 | struct getegid_args { |
| 300 | #ifdef _KERNEL |
| 301 | struct sysmsg sysmsg; |
| 302 | #endif |
| 303 | register_t dummy; |
| 304 | }; |
| 305 | struct profil_args { |
| 306 | #ifdef _KERNEL |
| 307 | struct sysmsg sysmsg; |
| 308 | #endif |
| 309 | caddr_t samples; char samples_[PAD_(caddr_t)]; |
| 310 | size_t size; char size_[PAD_(size_t)]; |
| 311 | size_t offset; char offset_[PAD_(size_t)]; |
| 312 | u_int scale; char scale_[PAD_(u_int)]; |
| 313 | }; |
| 314 | struct ktrace_args { |
| 315 | #ifdef _KERNEL |
| 316 | struct sysmsg sysmsg; |
| 317 | #endif |
| 318 | const char * fname; char fname_[PAD_(const char *)]; |
| 319 | int ops; char ops_[PAD_(int)]; |
| 320 | int facs; char facs_[PAD_(int)]; |
| 321 | int pid; char pid_[PAD_(int)]; |
| 322 | }; |
| 323 | struct getgid_args { |
| 324 | #ifdef _KERNEL |
| 325 | struct sysmsg sysmsg; |
| 326 | #endif |
| 327 | register_t dummy; |
| 328 | }; |
| 329 | struct getlogin_args { |
| 330 | #ifdef _KERNEL |
| 331 | struct sysmsg sysmsg; |
| 332 | #endif |
| 333 | char * namebuf; char namebuf_[PAD_(char *)]; |
| 334 | u_int namelen; char namelen_[PAD_(u_int)]; |
| 335 | }; |
| 336 | struct setlogin_args { |
| 337 | #ifdef _KERNEL |
| 338 | struct sysmsg sysmsg; |
| 339 | #endif |
| 340 | char * namebuf; char namebuf_[PAD_(char *)]; |
| 341 | }; |
| 342 | struct acct_args { |
| 343 | #ifdef _KERNEL |
| 344 | struct sysmsg sysmsg; |
| 345 | #endif |
| 346 | char * path; char path_[PAD_(char *)]; |
| 347 | }; |
| 348 | struct sigaltstack_args { |
| 349 | #ifdef _KERNEL |
| 350 | struct sysmsg sysmsg; |
| 351 | #endif |
| 352 | stack_t * ss; char ss_[PAD_(stack_t *)]; |
| 353 | stack_t * oss; char oss_[PAD_(stack_t *)]; |
| 354 | }; |
| 355 | struct ioctl_args { |
| 356 | #ifdef _KERNEL |
| 357 | struct sysmsg sysmsg; |
| 358 | #endif |
| 359 | int fd; char fd_[PAD_(int)]; |
| 360 | u_long com; char com_[PAD_(u_long)]; |
| 361 | caddr_t data; char data_[PAD_(caddr_t)]; |
| 362 | }; |
| 363 | struct reboot_args { |
| 364 | #ifdef _KERNEL |
| 365 | struct sysmsg sysmsg; |
| 366 | #endif |
| 367 | int opt; char opt_[PAD_(int)]; |
| 368 | }; |
| 369 | struct revoke_args { |
| 370 | #ifdef _KERNEL |
| 371 | struct sysmsg sysmsg; |
| 372 | #endif |
| 373 | char * path; char path_[PAD_(char *)]; |
| 374 | }; |
| 375 | struct symlink_args { |
| 376 | #ifdef _KERNEL |
| 377 | struct sysmsg sysmsg; |
| 378 | #endif |
| 379 | char * path; char path_[PAD_(char *)]; |
| 380 | char * link; char link_[PAD_(char *)]; |
| 381 | }; |
| 382 | struct readlink_args { |
| 383 | #ifdef _KERNEL |
| 384 | struct sysmsg sysmsg; |
| 385 | #endif |
| 386 | char * path; char path_[PAD_(char *)]; |
| 387 | char * buf; char buf_[PAD_(char *)]; |
| 388 | int count; char count_[PAD_(int)]; |
| 389 | }; |
| 390 | struct execve_args { |
| 391 | #ifdef _KERNEL |
| 392 | struct sysmsg sysmsg; |
| 393 | #endif |
| 394 | char * fname; char fname_[PAD_(char *)]; |
| 395 | char ** argv; char argv_[PAD_(char **)]; |
| 396 | char ** envv; char envv_[PAD_(char **)]; |
| 397 | }; |
| 398 | struct umask_args { |
| 399 | #ifdef _KERNEL |
| 400 | struct sysmsg sysmsg; |
| 401 | #endif |
| 402 | int newmask; char newmask_[PAD_(int)]; |
| 403 | }; |
| 404 | struct chroot_args { |
| 405 | #ifdef _KERNEL |
| 406 | struct sysmsg sysmsg; |
| 407 | #endif |
| 408 | char * path; char path_[PAD_(char *)]; |
| 409 | }; |
| 410 | struct getpagesize_args { |
| 411 | #ifdef _KERNEL |
| 412 | struct sysmsg sysmsg; |
| 413 | #endif |
| 414 | register_t dummy; |
| 415 | }; |
| 416 | struct msync_args { |
| 417 | #ifdef _KERNEL |
| 418 | struct sysmsg sysmsg; |
| 419 | #endif |
| 420 | void * addr; char addr_[PAD_(void *)]; |
| 421 | size_t len; char len_[PAD_(size_t)]; |
| 422 | int flags; char flags_[PAD_(int)]; |
| 423 | }; |
| 424 | struct vfork_args { |
| 425 | #ifdef _KERNEL |
| 426 | struct sysmsg sysmsg; |
| 427 | #endif |
| 428 | register_t dummy; |
| 429 | }; |
| 430 | struct sbrk_args { |
| 431 | #ifdef _KERNEL |
| 432 | struct sysmsg sysmsg; |
| 433 | #endif |
| 434 | int incr; char incr_[PAD_(int)]; |
| 435 | }; |
| 436 | struct sstk_args { |
| 437 | #ifdef _KERNEL |
| 438 | struct sysmsg sysmsg; |
| 439 | #endif |
| 440 | int incr; char incr_[PAD_(int)]; |
| 441 | }; |
| 442 | struct munmap_args { |
| 443 | #ifdef _KERNEL |
| 444 | struct sysmsg sysmsg; |
| 445 | #endif |
| 446 | void * addr; char addr_[PAD_(void *)]; |
| 447 | size_t len; char len_[PAD_(size_t)]; |
| 448 | }; |
| 449 | struct mprotect_args { |
| 450 | #ifdef _KERNEL |
| 451 | struct sysmsg sysmsg; |
| 452 | #endif |
| 453 | void * addr; char addr_[PAD_(void *)]; |
| 454 | size_t len; char len_[PAD_(size_t)]; |
| 455 | int prot; char prot_[PAD_(int)]; |
| 456 | }; |
| 457 | struct madvise_args { |
| 458 | #ifdef _KERNEL |
| 459 | struct sysmsg sysmsg; |
| 460 | #endif |
| 461 | void * addr; char addr_[PAD_(void *)]; |
| 462 | size_t len; char len_[PAD_(size_t)]; |
| 463 | int behav; char behav_[PAD_(int)]; |
| 464 | }; |
| 465 | struct mincore_args { |
| 466 | #ifdef _KERNEL |
| 467 | struct sysmsg sysmsg; |
| 468 | #endif |
| 469 | const void * addr; char addr_[PAD_(const void *)]; |
| 470 | size_t len; char len_[PAD_(size_t)]; |
| 471 | char * vec; char vec_[PAD_(char *)]; |
| 472 | }; |
| 473 | struct getgroups_args { |
| 474 | #ifdef _KERNEL |
| 475 | struct sysmsg sysmsg; |
| 476 | #endif |
| 477 | u_int gidsetsize; char gidsetsize_[PAD_(u_int)]; |
| 478 | gid_t * gidset; char gidset_[PAD_(gid_t *)]; |
| 479 | }; |
| 480 | struct setgroups_args { |
| 481 | #ifdef _KERNEL |
| 482 | struct sysmsg sysmsg; |
| 483 | #endif |
| 484 | u_int gidsetsize; char gidsetsize_[PAD_(u_int)]; |
| 485 | gid_t * gidset; char gidset_[PAD_(gid_t *)]; |
| 486 | }; |
| 487 | struct getpgrp_args { |
| 488 | #ifdef _KERNEL |
| 489 | struct sysmsg sysmsg; |
| 490 | #endif |
| 491 | register_t dummy; |
| 492 | }; |
| 493 | struct setpgid_args { |
| 494 | #ifdef _KERNEL |
| 495 | struct sysmsg sysmsg; |
| 496 | #endif |
| 497 | int pid; char pid_[PAD_(int)]; |
| 498 | int pgid; char pgid_[PAD_(int)]; |
| 499 | }; |
| 500 | struct setitimer_args { |
| 501 | #ifdef _KERNEL |
| 502 | struct sysmsg sysmsg; |
| 503 | #endif |
| 504 | u_int which; char which_[PAD_(u_int)]; |
| 505 | struct itimerval * itv; char itv_[PAD_(struct itimerval *)]; |
| 506 | struct itimerval * oitv; char oitv_[PAD_(struct itimerval *)]; |
| 507 | }; |
| 508 | struct owait_args { |
| 509 | #ifdef _KERNEL |
| 510 | struct sysmsg sysmsg; |
| 511 | #endif |
| 512 | register_t dummy; |
| 513 | }; |
| 514 | struct swapon_args { |
| 515 | #ifdef _KERNEL |
| 516 | struct sysmsg sysmsg; |
| 517 | #endif |
| 518 | char * name; char name_[PAD_(char *)]; |
| 519 | }; |
| 520 | struct getitimer_args { |
| 521 | #ifdef _KERNEL |
| 522 | struct sysmsg sysmsg; |
| 523 | #endif |
| 524 | u_int which; char which_[PAD_(u_int)]; |
| 525 | struct itimerval * itv; char itv_[PAD_(struct itimerval *)]; |
| 526 | }; |
| 527 | struct getdtablesize_args { |
| 528 | #ifdef _KERNEL |
| 529 | struct sysmsg sysmsg; |
| 530 | #endif |
| 531 | register_t dummy; |
| 532 | }; |
| 533 | struct dup2_args { |
| 534 | #ifdef _KERNEL |
| 535 | struct sysmsg sysmsg; |
| 536 | #endif |
| 537 | u_int from; char from_[PAD_(u_int)]; |
| 538 | u_int to; char to_[PAD_(u_int)]; |
| 539 | }; |
| 540 | struct fcntl_args { |
| 541 | #ifdef _KERNEL |
| 542 | struct sysmsg sysmsg; |
| 543 | #endif |
| 544 | int fd; char fd_[PAD_(int)]; |
| 545 | int cmd; char cmd_[PAD_(int)]; |
| 546 | long arg; char arg_[PAD_(long)]; |
| 547 | }; |
| 548 | struct select_args { |
| 549 | #ifdef _KERNEL |
| 550 | struct sysmsg sysmsg; |
| 551 | #endif |
| 552 | int nd; char nd_[PAD_(int)]; |
| 553 | fd_set * in; char in_[PAD_(fd_set *)]; |
| 554 | fd_set * ou; char ou_[PAD_(fd_set *)]; |
| 555 | fd_set * ex; char ex_[PAD_(fd_set *)]; |
| 556 | struct timeval * tv; char tv_[PAD_(struct timeval *)]; |
| 557 | }; |
| 558 | struct fsync_args { |
| 559 | #ifdef _KERNEL |
| 560 | struct sysmsg sysmsg; |
| 561 | #endif |
| 562 | int fd; char fd_[PAD_(int)]; |
| 563 | }; |
| 564 | struct setpriority_args { |
| 565 | #ifdef _KERNEL |
| 566 | struct sysmsg sysmsg; |
| 567 | #endif |
| 568 | int which; char which_[PAD_(int)]; |
| 569 | int who; char who_[PAD_(int)]; |
| 570 | int prio; char prio_[PAD_(int)]; |
| 571 | }; |
| 572 | struct socket_args { |
| 573 | #ifdef _KERNEL |
| 574 | struct sysmsg sysmsg; |
| 575 | #endif |
| 576 | int domain; char domain_[PAD_(int)]; |
| 577 | int type; char type_[PAD_(int)]; |
| 578 | int protocol; char protocol_[PAD_(int)]; |
| 579 | }; |
| 580 | struct connect_args { |
| 581 | #ifdef _KERNEL |
| 582 | struct sysmsg sysmsg; |
| 583 | #endif |
| 584 | int s; char s_[PAD_(int)]; |
| 585 | caddr_t name; char name_[PAD_(caddr_t)]; |
| 586 | int namelen; char namelen_[PAD_(int)]; |
| 587 | }; |
| 588 | struct getpriority_args { |
| 589 | #ifdef _KERNEL |
| 590 | struct sysmsg sysmsg; |
| 591 | #endif |
| 592 | int which; char which_[PAD_(int)]; |
| 593 | int who; char who_[PAD_(int)]; |
| 594 | }; |
| 595 | struct bind_args { |
| 596 | #ifdef _KERNEL |
| 597 | struct sysmsg sysmsg; |
| 598 | #endif |
| 599 | int s; char s_[PAD_(int)]; |
| 600 | caddr_t name; char name_[PAD_(caddr_t)]; |
| 601 | int namelen; char namelen_[PAD_(int)]; |
| 602 | }; |
| 603 | struct setsockopt_args { |
| 604 | #ifdef _KERNEL |
| 605 | struct sysmsg sysmsg; |
| 606 | #endif |
| 607 | int s; char s_[PAD_(int)]; |
| 608 | int level; char level_[PAD_(int)]; |
| 609 | int name; char name_[PAD_(int)]; |
| 610 | caddr_t val; char val_[PAD_(caddr_t)]; |
| 611 | int valsize; char valsize_[PAD_(int)]; |
| 612 | }; |
| 613 | struct listen_args { |
| 614 | #ifdef _KERNEL |
| 615 | struct sysmsg sysmsg; |
| 616 | #endif |
| 617 | int s; char s_[PAD_(int)]; |
| 618 | int backlog; char backlog_[PAD_(int)]; |
| 619 | }; |
| 620 | struct gettimeofday_args { |
| 621 | #ifdef _KERNEL |
| 622 | struct sysmsg sysmsg; |
| 623 | #endif |
| 624 | struct timeval * tp; char tp_[PAD_(struct timeval *)]; |
| 625 | struct timezone * tzp; char tzp_[PAD_(struct timezone *)]; |
| 626 | }; |
| 627 | struct getrusage_args { |
| 628 | #ifdef _KERNEL |
| 629 | struct sysmsg sysmsg; |
| 630 | #endif |
| 631 | int who; char who_[PAD_(int)]; |
| 632 | struct rusage * rusage; char rusage_[PAD_(struct rusage *)]; |
| 633 | }; |
| 634 | struct getsockopt_args { |
| 635 | #ifdef _KERNEL |
| 636 | struct sysmsg sysmsg; |
| 637 | #endif |
| 638 | int s; char s_[PAD_(int)]; |
| 639 | int level; char level_[PAD_(int)]; |
| 640 | int name; char name_[PAD_(int)]; |
| 641 | caddr_t val; char val_[PAD_(caddr_t)]; |
| 642 | int * avalsize; char avalsize_[PAD_(int *)]; |
| 643 | }; |
| 644 | struct readv_args { |
| 645 | #ifdef _KERNEL |
| 646 | struct sysmsg sysmsg; |
| 647 | #endif |
| 648 | int fd; char fd_[PAD_(int)]; |
| 649 | struct iovec * iovp; char iovp_[PAD_(struct iovec *)]; |
| 650 | u_int iovcnt; char iovcnt_[PAD_(u_int)]; |
| 651 | }; |
| 652 | struct writev_args { |
| 653 | #ifdef _KERNEL |
| 654 | struct sysmsg sysmsg; |
| 655 | #endif |
| 656 | int fd; char fd_[PAD_(int)]; |
| 657 | struct iovec * iovp; char iovp_[PAD_(struct iovec *)]; |
| 658 | u_int iovcnt; char iovcnt_[PAD_(u_int)]; |
| 659 | }; |
| 660 | struct settimeofday_args { |
| 661 | #ifdef _KERNEL |
| 662 | struct sysmsg sysmsg; |
| 663 | #endif |
| 664 | struct timeval * tv; char tv_[PAD_(struct timeval *)]; |
| 665 | struct timezone * tzp; char tzp_[PAD_(struct timezone *)]; |
| 666 | }; |
| 667 | struct fchown_args { |
| 668 | #ifdef _KERNEL |
| 669 | struct sysmsg sysmsg; |
| 670 | #endif |
| 671 | int fd; char fd_[PAD_(int)]; |
| 672 | int uid; char uid_[PAD_(int)]; |
| 673 | int gid; char gid_[PAD_(int)]; |
| 674 | }; |
| 675 | struct fchmod_args { |
| 676 | #ifdef _KERNEL |
| 677 | struct sysmsg sysmsg; |
| 678 | #endif |
| 679 | int fd; char fd_[PAD_(int)]; |
| 680 | int mode; char mode_[PAD_(int)]; |
| 681 | }; |
| 682 | struct setreuid_args { |
| 683 | #ifdef _KERNEL |
| 684 | struct sysmsg sysmsg; |
| 685 | #endif |
| 686 | int ruid; char ruid_[PAD_(int)]; |
| 687 | int euid; char euid_[PAD_(int)]; |
| 688 | }; |
| 689 | struct setregid_args { |
| 690 | #ifdef _KERNEL |
| 691 | struct sysmsg sysmsg; |
| 692 | #endif |
| 693 | int rgid; char rgid_[PAD_(int)]; |
| 694 | int egid; char egid_[PAD_(int)]; |
| 695 | }; |
| 696 | struct rename_args { |
| 697 | #ifdef _KERNEL |
| 698 | struct sysmsg sysmsg; |
| 699 | #endif |
| 700 | char * from; char from_[PAD_(char *)]; |
| 701 | char * to; char to_[PAD_(char *)]; |
| 702 | }; |
| 703 | struct flock_args { |
| 704 | #ifdef _KERNEL |
| 705 | struct sysmsg sysmsg; |
| 706 | #endif |
| 707 | int fd; char fd_[PAD_(int)]; |
| 708 | int how; char how_[PAD_(int)]; |
| 709 | }; |
| 710 | struct mkfifo_args { |
| 711 | #ifdef _KERNEL |
| 712 | struct sysmsg sysmsg; |
| 713 | #endif |
| 714 | char * path; char path_[PAD_(char *)]; |
| 715 | int mode; char mode_[PAD_(int)]; |
| 716 | }; |
| 717 | struct sendto_args { |
| 718 | #ifdef _KERNEL |
| 719 | struct sysmsg sysmsg; |
| 720 | #endif |
| 721 | int s; char s_[PAD_(int)]; |
| 722 | caddr_t buf; char buf_[PAD_(caddr_t)]; |
| 723 | size_t len; char len_[PAD_(size_t)]; |
| 724 | int flags; char flags_[PAD_(int)]; |
| 725 | caddr_t to; char to_[PAD_(caddr_t)]; |
| 726 | int tolen; char tolen_[PAD_(int)]; |
| 727 | }; |
| 728 | struct shutdown_args { |
| 729 | #ifdef _KERNEL |
| 730 | struct sysmsg sysmsg; |
| 731 | #endif |
| 732 | int s; char s_[PAD_(int)]; |
| 733 | int how; char how_[PAD_(int)]; |
| 734 | }; |
| 735 | struct socketpair_args { |
| 736 | #ifdef _KERNEL |
| 737 | struct sysmsg sysmsg; |
| 738 | #endif |
| 739 | int domain; char domain_[PAD_(int)]; |
| 740 | int type; char type_[PAD_(int)]; |
| 741 | int protocol; char protocol_[PAD_(int)]; |
| 742 | int * rsv; char rsv_[PAD_(int *)]; |
| 743 | }; |
| 744 | struct mkdir_args { |
| 745 | #ifdef _KERNEL |
| 746 | struct sysmsg sysmsg; |
| 747 | #endif |
| 748 | char * path; char path_[PAD_(char *)]; |
| 749 | int mode; char mode_[PAD_(int)]; |
| 750 | }; |
| 751 | struct rmdir_args { |
| 752 | #ifdef _KERNEL |
| 753 | struct sysmsg sysmsg; |
| 754 | #endif |
| 755 | char * path; char path_[PAD_(char *)]; |
| 756 | }; |
| 757 | struct utimes_args { |
| 758 | #ifdef _KERNEL |
| 759 | struct sysmsg sysmsg; |
| 760 | #endif |
| 761 | char * path; char path_[PAD_(char *)]; |
| 762 | struct timeval * tptr; char tptr_[PAD_(struct timeval *)]; |
| 763 | }; |
| 764 | struct adjtime_args { |
| 765 | #ifdef _KERNEL |
| 766 | struct sysmsg sysmsg; |
| 767 | #endif |
| 768 | struct timeval * delta; char delta_[PAD_(struct timeval *)]; |
| 769 | struct timeval * olddelta; char olddelta_[PAD_(struct timeval *)]; |
| 770 | }; |
| 771 | struct ogethostid_args { |
| 772 | #ifdef _KERNEL |
| 773 | struct sysmsg sysmsg; |
| 774 | #endif |
| 775 | register_t dummy; |
| 776 | }; |
| 777 | struct setsid_args { |
| 778 | #ifdef _KERNEL |
| 779 | struct sysmsg sysmsg; |
| 780 | #endif |
| 781 | register_t dummy; |
| 782 | }; |
| 783 | struct quotactl_args { |
| 784 | #ifdef _KERNEL |
| 785 | struct sysmsg sysmsg; |
| 786 | #endif |
| 787 | char * path; char path_[PAD_(char *)]; |
| 788 | int cmd; char cmd_[PAD_(int)]; |
| 789 | int uid; char uid_[PAD_(int)]; |
| 790 | caddr_t arg; char arg_[PAD_(caddr_t)]; |
| 791 | }; |
| 792 | struct oquota_args { |
| 793 | #ifdef _KERNEL |
| 794 | struct sysmsg sysmsg; |
| 795 | #endif |
| 796 | register_t dummy; |
| 797 | }; |
| 798 | struct nfssvc_args { |
| 799 | #ifdef _KERNEL |
| 800 | struct sysmsg sysmsg; |
| 801 | #endif |
| 802 | int flag; char flag_[PAD_(int)]; |
| 803 | caddr_t argp; char argp_[PAD_(caddr_t)]; |
| 804 | }; |
| 805 | struct statfs_args { |
| 806 | #ifdef _KERNEL |
| 807 | struct sysmsg sysmsg; |
| 808 | #endif |
| 809 | char * path; char path_[PAD_(char *)]; |
| 810 | struct statfs * buf; char buf_[PAD_(struct statfs *)]; |
| 811 | }; |
| 812 | struct fstatfs_args { |
| 813 | #ifdef _KERNEL |
| 814 | struct sysmsg sysmsg; |
| 815 | #endif |
| 816 | int fd; char fd_[PAD_(int)]; |
| 817 | struct statfs * buf; char buf_[PAD_(struct statfs *)]; |
| 818 | }; |
| 819 | struct getfh_args { |
| 820 | #ifdef _KERNEL |
| 821 | struct sysmsg sysmsg; |
| 822 | #endif |
| 823 | char * fname; char fname_[PAD_(char *)]; |
| 824 | struct fhandle * fhp; char fhp_[PAD_(struct fhandle *)]; |
| 825 | }; |
| 826 | struct getdomainname_args { |
| 827 | #ifdef _KERNEL |
| 828 | struct sysmsg sysmsg; |
| 829 | #endif |
| 830 | char * domainname; char domainname_[PAD_(char *)]; |
| 831 | int len; char len_[PAD_(int)]; |
| 832 | }; |
| 833 | struct setdomainname_args { |
| 834 | #ifdef _KERNEL |
| 835 | struct sysmsg sysmsg; |
| 836 | #endif |
| 837 | char * domainname; char domainname_[PAD_(char *)]; |
| 838 | int len; char len_[PAD_(int)]; |
| 839 | }; |
| 840 | struct uname_args { |
| 841 | #ifdef _KERNEL |
| 842 | struct sysmsg sysmsg; |
| 843 | #endif |
| 844 | struct utsname * name; char name_[PAD_(struct utsname *)]; |
| 845 | }; |
| 846 | struct sysarch_args { |
| 847 | #ifdef _KERNEL |
| 848 | struct sysmsg sysmsg; |
| 849 | #endif |
| 850 | int op; char op_[PAD_(int)]; |
| 851 | char * parms; char parms_[PAD_(char *)]; |
| 852 | }; |
| 853 | struct rtprio_args { |
| 854 | #ifdef _KERNEL |
| 855 | struct sysmsg sysmsg; |
| 856 | #endif |
| 857 | int function; char function_[PAD_(int)]; |
| 858 | pid_t pid; char pid_[PAD_(pid_t)]; |
| 859 | struct rtprio * rtp; char rtp_[PAD_(struct rtprio *)]; |
| 860 | }; |
| 861 | struct semsys_args { |
| 862 | #ifdef _KERNEL |
| 863 | struct sysmsg sysmsg; |
| 864 | #endif |
| 865 | int which; char which_[PAD_(int)]; |
| 866 | int a2; char a2_[PAD_(int)]; |
| 867 | int a3; char a3_[PAD_(int)]; |
| 868 | int a4; char a4_[PAD_(int)]; |
| 869 | int a5; char a5_[PAD_(int)]; |
| 870 | }; |
| 871 | struct msgsys_args { |
| 872 | #ifdef _KERNEL |
| 873 | struct sysmsg sysmsg; |
| 874 | #endif |
| 875 | int which; char which_[PAD_(int)]; |
| 876 | int a2; char a2_[PAD_(int)]; |
| 877 | int a3; char a3_[PAD_(int)]; |
| 878 | int a4; char a4_[PAD_(int)]; |
| 879 | int a5; char a5_[PAD_(int)]; |
| 880 | int a6; char a6_[PAD_(int)]; |
| 881 | }; |
| 882 | struct shmsys_args { |
| 883 | #ifdef _KERNEL |
| 884 | struct sysmsg sysmsg; |
| 885 | #endif |
| 886 | int which; char which_[PAD_(int)]; |
| 887 | int a2; char a2_[PAD_(int)]; |
| 888 | int a3; char a3_[PAD_(int)]; |
| 889 | int a4; char a4_[PAD_(int)]; |
| 890 | }; |
| 891 | struct extpread_args { |
| 892 | #ifdef _KERNEL |
| 893 | struct sysmsg sysmsg; |
| 894 | #endif |
| 895 | int fd; char fd_[PAD_(int)]; |
| 896 | void * buf; char buf_[PAD_(void *)]; |
| 897 | size_t nbyte; char nbyte_[PAD_(size_t)]; |
| 898 | int flags; char flags_[PAD_(int)]; |
| 899 | off_t offset; char offset_[PAD_(off_t)]; |
| 900 | }; |
| 901 | struct extpwrite_args { |
| 902 | #ifdef _KERNEL |
| 903 | struct sysmsg sysmsg; |
| 904 | #endif |
| 905 | int fd; char fd_[PAD_(int)]; |
| 906 | const void * buf; char buf_[PAD_(const void *)]; |
| 907 | size_t nbyte; char nbyte_[PAD_(size_t)]; |
| 908 | int flags; char flags_[PAD_(int)]; |
| 909 | off_t offset; char offset_[PAD_(off_t)]; |
| 910 | }; |
| 911 | struct ntp_adjtime_args { |
| 912 | #ifdef _KERNEL |
| 913 | struct sysmsg sysmsg; |
| 914 | #endif |
| 915 | struct timex * tp; char tp_[PAD_(struct timex *)]; |
| 916 | }; |
| 917 | struct setgid_args { |
| 918 | #ifdef _KERNEL |
| 919 | struct sysmsg sysmsg; |
| 920 | #endif |
| 921 | gid_t gid; char gid_[PAD_(gid_t)]; |
| 922 | }; |
| 923 | struct setegid_args { |
| 924 | #ifdef _KERNEL |
| 925 | struct sysmsg sysmsg; |
| 926 | #endif |
| 927 | gid_t egid; char egid_[PAD_(gid_t)]; |
| 928 | }; |
| 929 | struct seteuid_args { |
| 930 | #ifdef _KERNEL |
| 931 | struct sysmsg sysmsg; |
| 932 | #endif |
| 933 | uid_t euid; char euid_[PAD_(uid_t)]; |
| 934 | }; |
| 935 | struct pathconf_args { |
| 936 | #ifdef _KERNEL |
| 937 | struct sysmsg sysmsg; |
| 938 | #endif |
| 939 | char * path; char path_[PAD_(char *)]; |
| 940 | int name; char name_[PAD_(int)]; |
| 941 | }; |
| 942 | struct fpathconf_args { |
| 943 | #ifdef _KERNEL |
| 944 | struct sysmsg sysmsg; |
| 945 | #endif |
| 946 | int fd; char fd_[PAD_(int)]; |
| 947 | int name; char name_[PAD_(int)]; |
| 948 | }; |
| 949 | struct __getrlimit_args { |
| 950 | #ifdef _KERNEL |
| 951 | struct sysmsg sysmsg; |
| 952 | #endif |
| 953 | u_int which; char which_[PAD_(u_int)]; |
| 954 | struct rlimit * rlp; char rlp_[PAD_(struct rlimit *)]; |
| 955 | }; |
| 956 | struct __setrlimit_args { |
| 957 | #ifdef _KERNEL |
| 958 | struct sysmsg sysmsg; |
| 959 | #endif |
| 960 | u_int which; char which_[PAD_(u_int)]; |
| 961 | struct rlimit * rlp; char rlp_[PAD_(struct rlimit *)]; |
| 962 | }; |
| 963 | struct mmap_args { |
| 964 | #ifdef _KERNEL |
| 965 | struct sysmsg sysmsg; |
| 966 | #endif |
| 967 | caddr_t addr; char addr_[PAD_(caddr_t)]; |
| 968 | size_t len; char len_[PAD_(size_t)]; |
| 969 | int prot; char prot_[PAD_(int)]; |
| 970 | int flags; char flags_[PAD_(int)]; |
| 971 | int fd; char fd_[PAD_(int)]; |
| 972 | int pad; char pad_[PAD_(int)]; |
| 973 | off_t pos; char pos_[PAD_(off_t)]; |
| 974 | }; |
| 975 | struct lseek_args { |
| 976 | #ifdef _KERNEL |
| 977 | struct sysmsg sysmsg; |
| 978 | #endif |
| 979 | int fd; char fd_[PAD_(int)]; |
| 980 | int pad; char pad_[PAD_(int)]; |
| 981 | off_t offset; char offset_[PAD_(off_t)]; |
| 982 | int whence; char whence_[PAD_(int)]; |
| 983 | }; |
| 984 | struct truncate_args { |
| 985 | #ifdef _KERNEL |
| 986 | struct sysmsg sysmsg; |
| 987 | #endif |
| 988 | char * path; char path_[PAD_(char *)]; |
| 989 | int pad; char pad_[PAD_(int)]; |
| 990 | off_t length; char length_[PAD_(off_t)]; |
| 991 | }; |
| 992 | struct ftruncate_args { |
| 993 | #ifdef _KERNEL |
| 994 | struct sysmsg sysmsg; |
| 995 | #endif |
| 996 | int fd; char fd_[PAD_(int)]; |
| 997 | int pad; char pad_[PAD_(int)]; |
| 998 | off_t length; char length_[PAD_(off_t)]; |
| 999 | }; |
| 1000 | struct sysctl_args { |
| 1001 | #ifdef _KERNEL |
| 1002 | struct sysmsg sysmsg; |
| 1003 | #endif |
| 1004 | int * name; char name_[PAD_(int *)]; |
| 1005 | u_int namelen; char namelen_[PAD_(u_int)]; |
| 1006 | void * old; char old_[PAD_(void *)]; |
| 1007 | size_t * oldlenp; char oldlenp_[PAD_(size_t *)]; |
| 1008 | void * new; char new_[PAD_(void *)]; |
| 1009 | size_t newlen; char newlen_[PAD_(size_t)]; |
| 1010 | }; |
| 1011 | struct mlock_args { |
| 1012 | #ifdef _KERNEL |
| 1013 | struct sysmsg sysmsg; |
| 1014 | #endif |
| 1015 | const void * addr; char addr_[PAD_(const void *)]; |
| 1016 | size_t len; char len_[PAD_(size_t)]; |
| 1017 | }; |
| 1018 | struct munlock_args { |
| 1019 | #ifdef _KERNEL |
| 1020 | struct sysmsg sysmsg; |
| 1021 | #endif |
| 1022 | const void * addr; char addr_[PAD_(const void *)]; |
| 1023 | size_t len; char len_[PAD_(size_t)]; |
| 1024 | }; |
| 1025 | struct undelete_args { |
| 1026 | #ifdef _KERNEL |
| 1027 | struct sysmsg sysmsg; |
| 1028 | #endif |
| 1029 | char * path; char path_[PAD_(char *)]; |
| 1030 | }; |
| 1031 | struct futimes_args { |
| 1032 | #ifdef _KERNEL |
| 1033 | struct sysmsg sysmsg; |
| 1034 | #endif |
| 1035 | int fd; char fd_[PAD_(int)]; |
| 1036 | struct timeval * tptr; char tptr_[PAD_(struct timeval *)]; |
| 1037 | }; |
| 1038 | struct getpgid_args { |
| 1039 | #ifdef _KERNEL |
| 1040 | struct sysmsg sysmsg; |
| 1041 | #endif |
| 1042 | pid_t pid; char pid_[PAD_(pid_t)]; |
| 1043 | }; |
| 1044 | struct poll_args { |
| 1045 | #ifdef _KERNEL |
| 1046 | struct sysmsg sysmsg; |
| 1047 | #endif |
| 1048 | struct pollfd * fds; char fds_[PAD_(struct pollfd *)]; |
| 1049 | u_int nfds; char nfds_[PAD_(u_int)]; |
| 1050 | int timeout; char timeout_[PAD_(int)]; |
| 1051 | }; |
| 1052 | struct __semctl_args { |
| 1053 | #ifdef _KERNEL |
| 1054 | struct sysmsg sysmsg; |
| 1055 | #endif |
| 1056 | int semid; char semid_[PAD_(int)]; |
| 1057 | int semnum; char semnum_[PAD_(int)]; |
| 1058 | int cmd; char cmd_[PAD_(int)]; |
| 1059 | union semun * arg; char arg_[PAD_(union semun *)]; |
| 1060 | }; |
| 1061 | struct semget_args { |
| 1062 | #ifdef _KERNEL |
| 1063 | struct sysmsg sysmsg; |
| 1064 | #endif |
| 1065 | key_t key; char key_[PAD_(key_t)]; |
| 1066 | int nsems; char nsems_[PAD_(int)]; |
| 1067 | int semflg; char semflg_[PAD_(int)]; |
| 1068 | }; |
| 1069 | struct semop_args { |
| 1070 | #ifdef _KERNEL |
| 1071 | struct sysmsg sysmsg; |
| 1072 | #endif |
| 1073 | int semid; char semid_[PAD_(int)]; |
| 1074 | struct sembuf * sops; char sops_[PAD_(struct sembuf *)]; |
| 1075 | u_int nsops; char nsops_[PAD_(u_int)]; |
| 1076 | }; |
| 1077 | struct msgctl_args { |
| 1078 | #ifdef _KERNEL |
| 1079 | struct sysmsg sysmsg; |
| 1080 | #endif |
| 1081 | int msqid; char msqid_[PAD_(int)]; |
| 1082 | int cmd; char cmd_[PAD_(int)]; |
| 1083 | struct msqid_ds * buf; char buf_[PAD_(struct msqid_ds *)]; |
| 1084 | }; |
| 1085 | struct msgget_args { |
| 1086 | #ifdef _KERNEL |
| 1087 | struct sysmsg sysmsg; |
| 1088 | #endif |
| 1089 | key_t key; char key_[PAD_(key_t)]; |
| 1090 | int msgflg; char msgflg_[PAD_(int)]; |
| 1091 | }; |
| 1092 | struct msgsnd_args { |
| 1093 | #ifdef _KERNEL |
| 1094 | struct sysmsg sysmsg; |
| 1095 | #endif |
| 1096 | int msqid; char msqid_[PAD_(int)]; |
| 1097 | void * msgp; char msgp_[PAD_(void *)]; |
| 1098 | size_t msgsz; char msgsz_[PAD_(size_t)]; |
| 1099 | int msgflg; char msgflg_[PAD_(int)]; |
| 1100 | }; |
| 1101 | struct msgrcv_args { |
| 1102 | #ifdef _KERNEL |
| 1103 | struct sysmsg sysmsg; |
| 1104 | #endif |
| 1105 | int msqid; char msqid_[PAD_(int)]; |
| 1106 | void * msgp; char msgp_[PAD_(void *)]; |
| 1107 | size_t msgsz; char msgsz_[PAD_(size_t)]; |
| 1108 | long msgtyp; char msgtyp_[PAD_(long)]; |
| 1109 | int msgflg; char msgflg_[PAD_(int)]; |
| 1110 | }; |
| 1111 | struct shmat_args { |
| 1112 | #ifdef _KERNEL |
| 1113 | struct sysmsg sysmsg; |
| 1114 | #endif |
| 1115 | int shmid; char shmid_[PAD_(int)]; |
| 1116 | const void * shmaddr; char shmaddr_[PAD_(const void *)]; |
| 1117 | int shmflg; char shmflg_[PAD_(int)]; |
| 1118 | }; |
| 1119 | struct shmctl_args { |
| 1120 | #ifdef _KERNEL |
| 1121 | struct sysmsg sysmsg; |
| 1122 | #endif |
| 1123 | int shmid; char shmid_[PAD_(int)]; |
| 1124 | int cmd; char cmd_[PAD_(int)]; |
| 1125 | struct shmid_ds * buf; char buf_[PAD_(struct shmid_ds *)]; |
| 1126 | }; |
| 1127 | struct shmdt_args { |
| 1128 | #ifdef _KERNEL |
| 1129 | struct sysmsg sysmsg; |
| 1130 | #endif |
| 1131 | const void * shmaddr; char shmaddr_[PAD_(const void *)]; |
| 1132 | }; |
| 1133 | struct shmget_args { |
| 1134 | #ifdef _KERNEL |
| 1135 | struct sysmsg sysmsg; |
| 1136 | #endif |
| 1137 | key_t key; char key_[PAD_(key_t)]; |
| 1138 | size_t size; char size_[PAD_(size_t)]; |
| 1139 | int shmflg; char shmflg_[PAD_(int)]; |
| 1140 | }; |
| 1141 | struct clock_gettime_args { |
| 1142 | #ifdef _KERNEL |
| 1143 | struct sysmsg sysmsg; |
| 1144 | #endif |
| 1145 | clockid_t clock_id; char clock_id_[PAD_(clockid_t)]; |
| 1146 | struct timespec * tp; char tp_[PAD_(struct timespec *)]; |
| 1147 | }; |
| 1148 | struct clock_settime_args { |
| 1149 | #ifdef _KERNEL |
| 1150 | struct sysmsg sysmsg; |
| 1151 | #endif |
| 1152 | clockid_t clock_id; char clock_id_[PAD_(clockid_t)]; |
| 1153 | const struct timespec * tp; char tp_[PAD_(const struct timespec *)]; |
| 1154 | }; |
| 1155 | struct clock_getres_args { |
| 1156 | #ifdef _KERNEL |
| 1157 | struct sysmsg sysmsg; |
| 1158 | #endif |
| 1159 | clockid_t clock_id; char clock_id_[PAD_(clockid_t)]; |
| 1160 | struct timespec * tp; char tp_[PAD_(struct timespec *)]; |
| 1161 | }; |
| 1162 | struct nanosleep_args { |
| 1163 | #ifdef _KERNEL |
| 1164 | struct sysmsg sysmsg; |
| 1165 | #endif |
| 1166 | const struct timespec * rqtp; char rqtp_[PAD_(const struct timespec *)]; |
| 1167 | struct timespec * rmtp; char rmtp_[PAD_(struct timespec *)]; |
| 1168 | }; |
| 1169 | struct minherit_args { |
| 1170 | #ifdef _KERNEL |
| 1171 | struct sysmsg sysmsg; |
| 1172 | #endif |
| 1173 | void * addr; char addr_[PAD_(void *)]; |
| 1174 | size_t len; char len_[PAD_(size_t)]; |
| 1175 | int inherit; char inherit_[PAD_(int)]; |
| 1176 | }; |
| 1177 | struct rfork_args { |
| 1178 | #ifdef _KERNEL |
| 1179 | struct sysmsg sysmsg; |
| 1180 | #endif |
| 1181 | int flags; char flags_[PAD_(int)]; |
| 1182 | }; |
| 1183 | struct openbsd_poll_args { |
| 1184 | #ifdef _KERNEL |
| 1185 | struct sysmsg sysmsg; |
| 1186 | #endif |
| 1187 | struct pollfd * fds; char fds_[PAD_(struct pollfd *)]; |
| 1188 | u_int nfds; char nfds_[PAD_(u_int)]; |
| 1189 | int timeout; char timeout_[PAD_(int)]; |
| 1190 | }; |
| 1191 | struct issetugid_args { |
| 1192 | #ifdef _KERNEL |
| 1193 | struct sysmsg sysmsg; |
| 1194 | #endif |
| 1195 | register_t dummy; |
| 1196 | }; |
| 1197 | struct lchown_args { |
| 1198 | #ifdef _KERNEL |
| 1199 | struct sysmsg sysmsg; |
| 1200 | #endif |
| 1201 | char * path; char path_[PAD_(char *)]; |
| 1202 | int uid; char uid_[PAD_(int)]; |
| 1203 | int gid; char gid_[PAD_(int)]; |
| 1204 | }; |
| 1205 | struct lchmod_args { |
| 1206 | #ifdef _KERNEL |
| 1207 | struct sysmsg sysmsg; |
| 1208 | #endif |
| 1209 | char * path; char path_[PAD_(char *)]; |
| 1210 | mode_t mode; char mode_[PAD_(mode_t)]; |
| 1211 | }; |
| 1212 | struct lutimes_args { |
| 1213 | #ifdef _KERNEL |
| 1214 | struct sysmsg sysmsg; |
| 1215 | #endif |
| 1216 | char * path; char path_[PAD_(char *)]; |
| 1217 | struct timeval * tptr; char tptr_[PAD_(struct timeval *)]; |
| 1218 | }; |
| 1219 | struct extpreadv_args { |
| 1220 | #ifdef _KERNEL |
| 1221 | struct sysmsg sysmsg; |
| 1222 | #endif |
| 1223 | int fd; char fd_[PAD_(int)]; |
| 1224 | struct iovec * iovp; char iovp_[PAD_(struct iovec *)]; |
| 1225 | u_int iovcnt; char iovcnt_[PAD_(u_int)]; |
| 1226 | int flags; char flags_[PAD_(int)]; |
| 1227 | off_t offset; char offset_[PAD_(off_t)]; |
| 1228 | }; |
| 1229 | struct extpwritev_args { |
| 1230 | #ifdef _KERNEL |
| 1231 | struct sysmsg sysmsg; |
| 1232 | #endif |
| 1233 | int fd; char fd_[PAD_(int)]; |
| 1234 | struct iovec * iovp; char iovp_[PAD_(struct iovec *)]; |
| 1235 | u_int iovcnt; char iovcnt_[PAD_(u_int)]; |
| 1236 | int flags; char flags_[PAD_(int)]; |
| 1237 | off_t offset; char offset_[PAD_(off_t)]; |
| 1238 | }; |
| 1239 | struct fhstatfs_args { |
| 1240 | #ifdef _KERNEL |
| 1241 | struct sysmsg sysmsg; |
| 1242 | #endif |
| 1243 | const struct fhandle * u_fhp; char u_fhp_[PAD_(const struct fhandle *)]; |
| 1244 | struct statfs * buf; char buf_[PAD_(struct statfs *)]; |
| 1245 | }; |
| 1246 | struct fhopen_args { |
| 1247 | #ifdef _KERNEL |
| 1248 | struct sysmsg sysmsg; |
| 1249 | #endif |
| 1250 | const struct fhandle * u_fhp; char u_fhp_[PAD_(const struct fhandle *)]; |
| 1251 | int flags; char flags_[PAD_(int)]; |
| 1252 | }; |
| 1253 | struct modnext_args { |
| 1254 | #ifdef _KERNEL |
| 1255 | struct sysmsg sysmsg; |
| 1256 | #endif |
| 1257 | int modid; char modid_[PAD_(int)]; |
| 1258 | }; |
| 1259 | struct modstat_args { |
| 1260 | #ifdef _KERNEL |
| 1261 | struct sysmsg sysmsg; |
| 1262 | #endif |
| 1263 | int modid; char modid_[PAD_(int)]; |
| 1264 | struct module_stat * stat; char stat_[PAD_(struct module_stat *)]; |
| 1265 | }; |
| 1266 | struct modfnext_args { |
| 1267 | #ifdef _KERNEL |
| 1268 | struct sysmsg sysmsg; |
| 1269 | #endif |
| 1270 | int modid; char modid_[PAD_(int)]; |
| 1271 | }; |
| 1272 | struct modfind_args { |
| 1273 | #ifdef _KERNEL |
| 1274 | struct sysmsg sysmsg; |
| 1275 | #endif |
| 1276 | const char * name; char name_[PAD_(const char *)]; |
| 1277 | }; |
| 1278 | struct kldload_args { |
| 1279 | #ifdef _KERNEL |
| 1280 | struct sysmsg sysmsg; |
| 1281 | #endif |
| 1282 | const char * file; char file_[PAD_(const char *)]; |
| 1283 | }; |
| 1284 | struct kldunload_args { |
| 1285 | #ifdef _KERNEL |
| 1286 | struct sysmsg sysmsg; |
| 1287 | #endif |
| 1288 | int fileid; char fileid_[PAD_(int)]; |
| 1289 | }; |
| 1290 | struct kldfind_args { |
| 1291 | #ifdef _KERNEL |
| 1292 | struct sysmsg sysmsg; |
| 1293 | #endif |
| 1294 | const char * file; char file_[PAD_(const char *)]; |
| 1295 | }; |
| 1296 | struct kldnext_args { |
| 1297 | #ifdef _KERNEL |
| 1298 | struct sysmsg sysmsg; |
| 1299 | #endif |
| 1300 | int fileid; char fileid_[PAD_(int)]; |
| 1301 | }; |
| 1302 | struct kldstat_args { |
| 1303 | #ifdef _KERNEL |
| 1304 | struct sysmsg sysmsg; |
| 1305 | #endif |
| 1306 | int fileid; char fileid_[PAD_(int)]; |
| 1307 | struct kld_file_stat * stat; char stat_[PAD_(struct kld_file_stat *)]; |
| 1308 | }; |
| 1309 | struct kldfirstmod_args { |
| 1310 | #ifdef _KERNEL |
| 1311 | struct sysmsg sysmsg; |
| 1312 | #endif |
| 1313 | int fileid; char fileid_[PAD_(int)]; |
| 1314 | }; |
| 1315 | struct getsid_args { |
| 1316 | #ifdef _KERNEL |
| 1317 | struct sysmsg sysmsg; |
| 1318 | #endif |
| 1319 | pid_t pid; char pid_[PAD_(pid_t)]; |
| 1320 | }; |
| 1321 | struct setresuid_args { |
| 1322 | #ifdef _KERNEL |
| 1323 | struct sysmsg sysmsg; |
| 1324 | #endif |
| 1325 | uid_t ruid; char ruid_[PAD_(uid_t)]; |
| 1326 | uid_t euid; char euid_[PAD_(uid_t)]; |
| 1327 | uid_t suid; char suid_[PAD_(uid_t)]; |
| 1328 | }; |
| 1329 | struct setresgid_args { |
| 1330 | #ifdef _KERNEL |
| 1331 | struct sysmsg sysmsg; |
| 1332 | #endif |
| 1333 | gid_t rgid; char rgid_[PAD_(gid_t)]; |
| 1334 | gid_t egid; char egid_[PAD_(gid_t)]; |
| 1335 | gid_t sgid; char sgid_[PAD_(gid_t)]; |
| 1336 | }; |
| 1337 | struct aio_return_args { |
| 1338 | #ifdef _KERNEL |
| 1339 | struct sysmsg sysmsg; |
| 1340 | #endif |
| 1341 | struct aiocb * aiocbp; char aiocbp_[PAD_(struct aiocb *)]; |
| 1342 | }; |
| 1343 | struct aio_suspend_args { |
| 1344 | #ifdef _KERNEL |
| 1345 | struct sysmsg sysmsg; |
| 1346 | #endif |
| 1347 | struct aiocb *const * aiocbp; char aiocbp_[PAD_(struct aiocb *const *)]; |
| 1348 | int nent; char nent_[PAD_(int)]; |
| 1349 | const struct timespec * timeout; char timeout_[PAD_(const struct timespec *)]; |
| 1350 | }; |
| 1351 | struct aio_cancel_args { |
| 1352 | #ifdef _KERNEL |
| 1353 | struct sysmsg sysmsg; |
| 1354 | #endif |
| 1355 | int fd; char fd_[PAD_(int)]; |
| 1356 | struct aiocb * aiocbp; char aiocbp_[PAD_(struct aiocb *)]; |
| 1357 | }; |
| 1358 | struct aio_error_args { |
| 1359 | #ifdef _KERNEL |
| 1360 | struct sysmsg sysmsg; |
| 1361 | #endif |
| 1362 | struct aiocb * aiocbp; char aiocbp_[PAD_(struct aiocb *)]; |
| 1363 | }; |
| 1364 | struct aio_read_args { |
| 1365 | #ifdef _KERNEL |
| 1366 | struct sysmsg sysmsg; |
| 1367 | #endif |
| 1368 | struct aiocb * aiocbp; char aiocbp_[PAD_(struct aiocb *)]; |
| 1369 | }; |
| 1370 | struct aio_write_args { |
| 1371 | #ifdef _KERNEL |
| 1372 | struct sysmsg sysmsg; |
| 1373 | #endif |
| 1374 | struct aiocb * aiocbp; char aiocbp_[PAD_(struct aiocb *)]; |
| 1375 | }; |
| 1376 | struct lio_listio_args { |
| 1377 | #ifdef _KERNEL |
| 1378 | struct sysmsg sysmsg; |
| 1379 | #endif |
| 1380 | int mode; char mode_[PAD_(int)]; |
| 1381 | struct aiocb *const * acb_list; char acb_list_[PAD_(struct aiocb *const *)]; |
| 1382 | int nent; char nent_[PAD_(int)]; |
| 1383 | struct sigevent * sig; char sig_[PAD_(struct sigevent *)]; |
| 1384 | }; |
| 1385 | struct yield_args { |
| 1386 | #ifdef _KERNEL |
| 1387 | struct sysmsg sysmsg; |
| 1388 | #endif |
| 1389 | register_t dummy; |
| 1390 | }; |
| 1391 | struct mlockall_args { |
| 1392 | #ifdef _KERNEL |
| 1393 | struct sysmsg sysmsg; |
| 1394 | #endif |
| 1395 | int how; char how_[PAD_(int)]; |
| 1396 | }; |
| 1397 | struct munlockall_args { |
| 1398 | #ifdef _KERNEL |
| 1399 | struct sysmsg sysmsg; |
| 1400 | #endif |
| 1401 | register_t dummy; |
| 1402 | }; |
| 1403 | struct __getcwd_args { |
| 1404 | #ifdef _KERNEL |
| 1405 | struct sysmsg sysmsg; |
| 1406 | #endif |
| 1407 | u_char * buf; char buf_[PAD_(u_char *)]; |
| 1408 | u_int buflen; char buflen_[PAD_(u_int)]; |
| 1409 | }; |
| 1410 | struct sched_setparam_args { |
| 1411 | #ifdef _KERNEL |
| 1412 | struct sysmsg sysmsg; |
| 1413 | #endif |
| 1414 | pid_t pid; char pid_[PAD_(pid_t)]; |
| 1415 | const struct sched_param * param; char param_[PAD_(const struct sched_param *)]; |
| 1416 | }; |
| 1417 | struct sched_getparam_args { |
| 1418 | #ifdef _KERNEL |
| 1419 | struct sysmsg sysmsg; |
| 1420 | #endif |
| 1421 | pid_t pid; char pid_[PAD_(pid_t)]; |
| 1422 | struct sched_param * param; char param_[PAD_(struct sched_param *)]; |
| 1423 | }; |
| 1424 | struct sched_setscheduler_args { |
| 1425 | #ifdef _KERNEL |
| 1426 | struct sysmsg sysmsg; |
| 1427 | #endif |
| 1428 | pid_t pid; char pid_[PAD_(pid_t)]; |
| 1429 | int policy; char policy_[PAD_(int)]; |
| 1430 | const struct sched_param * param; char param_[PAD_(const struct sched_param *)]; |
| 1431 | }; |
| 1432 | struct sched_getscheduler_args { |
| 1433 | #ifdef _KERNEL |
| 1434 | struct sysmsg sysmsg; |
| 1435 | #endif |
| 1436 | pid_t pid; char pid_[PAD_(pid_t)]; |
| 1437 | }; |
| 1438 | struct sched_yield_args { |
| 1439 | #ifdef _KERNEL |
| 1440 | struct sysmsg sysmsg; |
| 1441 | #endif |
| 1442 | register_t dummy; |
| 1443 | }; |
| 1444 | struct sched_get_priority_max_args { |
| 1445 | #ifdef _KERNEL |
| 1446 | struct sysmsg sysmsg; |
| 1447 | #endif |
| 1448 | int policy; char policy_[PAD_(int)]; |
| 1449 | }; |
| 1450 | struct sched_get_priority_min_args { |
| 1451 | #ifdef _KERNEL |
| 1452 | struct sysmsg sysmsg; |
| 1453 | #endif |
| 1454 | int policy; char policy_[PAD_(int)]; |
| 1455 | }; |
| 1456 | struct sched_rr_get_interval_args { |
| 1457 | #ifdef _KERNEL |
| 1458 | struct sysmsg sysmsg; |
| 1459 | #endif |
| 1460 | pid_t pid; char pid_[PAD_(pid_t)]; |
| 1461 | struct timespec * interval; char interval_[PAD_(struct timespec *)]; |
| 1462 | }; |
| 1463 | struct utrace_args { |
| 1464 | #ifdef _KERNEL |
| 1465 | struct sysmsg sysmsg; |
| 1466 | #endif |
| 1467 | const void * addr; char addr_[PAD_(const void *)]; |
| 1468 | size_t len; char len_[PAD_(size_t)]; |
| 1469 | }; |
| 1470 | struct kldsym_args { |
| 1471 | #ifdef _KERNEL |
| 1472 | struct sysmsg sysmsg; |
| 1473 | #endif |
| 1474 | int fileid; char fileid_[PAD_(int)]; |
| 1475 | int cmd; char cmd_[PAD_(int)]; |
| 1476 | void * data; char data_[PAD_(void *)]; |
| 1477 | }; |
| 1478 | struct jail_args { |
| 1479 | #ifdef _KERNEL |
| 1480 | struct sysmsg sysmsg; |
| 1481 | #endif |
| 1482 | struct jail * jail; char jail_[PAD_(struct jail *)]; |
| 1483 | }; |
| 1484 | struct sigprocmask_args { |
| 1485 | #ifdef _KERNEL |
| 1486 | struct sysmsg sysmsg; |
| 1487 | #endif |
| 1488 | int how; char how_[PAD_(int)]; |
| 1489 | const sigset_t * set; char set_[PAD_(const sigset_t *)]; |
| 1490 | sigset_t * oset; char oset_[PAD_(sigset_t *)]; |
| 1491 | }; |
| 1492 | struct sigsuspend_args { |
| 1493 | #ifdef _KERNEL |
| 1494 | struct sysmsg sysmsg; |
| 1495 | #endif |
| 1496 | const sigset_t * sigmask; char sigmask_[PAD_(const sigset_t *)]; |
| 1497 | }; |
| 1498 | struct sigaction_args { |
| 1499 | #ifdef _KERNEL |
| 1500 | struct sysmsg sysmsg; |
| 1501 | #endif |
| 1502 | int sig; char sig_[PAD_(int)]; |
| 1503 | const struct sigaction * act; char act_[PAD_(const struct sigaction *)]; |
| 1504 | struct sigaction * oact; char oact_[PAD_(struct sigaction *)]; |
| 1505 | }; |
| 1506 | struct sigpending_args { |
| 1507 | #ifdef _KERNEL |
| 1508 | struct sysmsg sysmsg; |
| 1509 | #endif |
| 1510 | sigset_t * set; char set_[PAD_(sigset_t *)]; |
| 1511 | }; |
| 1512 | struct sigreturn_args { |
| 1513 | #ifdef _KERNEL |
| 1514 | struct sysmsg sysmsg; |
| 1515 | #endif |
| 1516 | ucontext_t * sigcntxp; char sigcntxp_[PAD_(ucontext_t *)]; |
| 1517 | }; |
| 1518 | struct sigtimedwait_args { |
| 1519 | #ifdef _KERNEL |
| 1520 | struct sysmsg sysmsg; |
| 1521 | #endif |
| 1522 | const sigset_t * set; char set_[PAD_(const sigset_t *)]; |
| 1523 | siginfo_t * info; char info_[PAD_(siginfo_t *)]; |
| 1524 | const struct timespec * timeout; char timeout_[PAD_(const struct timespec *)]; |
| 1525 | }; |
| 1526 | struct sigwaitinfo_args { |
| 1527 | #ifdef _KERNEL |
| 1528 | struct sysmsg sysmsg; |
| 1529 | #endif |
| 1530 | const sigset_t * set; char set_[PAD_(const sigset_t *)]; |
| 1531 | siginfo_t * info; char info_[PAD_(siginfo_t *)]; |
| 1532 | }; |
| 1533 | struct __acl_get_file_args { |
| 1534 | #ifdef _KERNEL |
| 1535 | struct sysmsg sysmsg; |
| 1536 | #endif |
| 1537 | const char * path; char path_[PAD_(const char *)]; |
| 1538 | acl_type_t type; char type_[PAD_(acl_type_t)]; |
| 1539 | struct acl * aclp; char aclp_[PAD_(struct acl *)]; |
| 1540 | }; |
| 1541 | struct __acl_set_file_args { |
| 1542 | #ifdef _KERNEL |
| 1543 | struct sysmsg sysmsg; |
| 1544 | #endif |
| 1545 | const char * path; char path_[PAD_(const char *)]; |
| 1546 | acl_type_t type; char type_[PAD_(acl_type_t)]; |
| 1547 | struct acl * aclp; char aclp_[PAD_(struct acl *)]; |
| 1548 | }; |
| 1549 | struct __acl_get_fd_args { |
| 1550 | #ifdef _KERNEL |
| 1551 | struct sysmsg sysmsg; |
| 1552 | #endif |
| 1553 | int filedes; char filedes_[PAD_(int)]; |
| 1554 | acl_type_t type; char type_[PAD_(acl_type_t)]; |
| 1555 | struct acl * aclp; char aclp_[PAD_(struct acl *)]; |
| 1556 | }; |
| 1557 | struct __acl_set_fd_args { |
| 1558 | #ifdef _KERNEL |
| 1559 | struct sysmsg sysmsg; |
| 1560 | #endif |
| 1561 | int filedes; char filedes_[PAD_(int)]; |
| 1562 | acl_type_t type; char type_[PAD_(acl_type_t)]; |
| 1563 | struct acl * aclp; char aclp_[PAD_(struct acl *)]; |
| 1564 | }; |
| 1565 | struct __acl_delete_file_args { |
| 1566 | #ifdef _KERNEL |
| 1567 | struct sysmsg sysmsg; |
| 1568 | #endif |
| 1569 | const char * path; char path_[PAD_(const char *)]; |
| 1570 | acl_type_t type; char type_[PAD_(acl_type_t)]; |
| 1571 | }; |
| 1572 | struct __acl_delete_fd_args { |
| 1573 | #ifdef _KERNEL |
| 1574 | struct sysmsg sysmsg; |
| 1575 | #endif |
| 1576 | int filedes; char filedes_[PAD_(int)]; |
| 1577 | acl_type_t type; char type_[PAD_(acl_type_t)]; |
| 1578 | }; |
| 1579 | struct __acl_aclcheck_file_args { |
| 1580 | #ifdef _KERNEL |
| 1581 | struct sysmsg sysmsg; |
| 1582 | #endif |
| 1583 | const char * path; char path_[PAD_(const char *)]; |
| 1584 | acl_type_t type; char type_[PAD_(acl_type_t)]; |
| 1585 | struct acl * aclp; char aclp_[PAD_(struct acl *)]; |
| 1586 | }; |
| 1587 | struct __acl_aclcheck_fd_args { |
| 1588 | #ifdef _KERNEL |
| 1589 | struct sysmsg sysmsg; |
| 1590 | #endif |
| 1591 | int filedes; char filedes_[PAD_(int)]; |
| 1592 | acl_type_t type; char type_[PAD_(acl_type_t)]; |
| 1593 | struct acl * aclp; char aclp_[PAD_(struct acl *)]; |
| 1594 | }; |
| 1595 | struct extattrctl_args { |
| 1596 | #ifdef _KERNEL |
| 1597 | struct sysmsg sysmsg; |
| 1598 | #endif |
| 1599 | const char * path; char path_[PAD_(const char *)]; |
| 1600 | int cmd; char cmd_[PAD_(int)]; |
| 1601 | const char * filename; char filename_[PAD_(const char *)]; |
| 1602 | int attrnamespace; char attrnamespace_[PAD_(int)]; |
| 1603 | const char * attrname; char attrname_[PAD_(const char *)]; |
| 1604 | }; |
| 1605 | struct extattr_set_file_args { |
| 1606 | #ifdef _KERNEL |
| 1607 | struct sysmsg sysmsg; |
| 1608 | #endif |
| 1609 | const char * path; char path_[PAD_(const char *)]; |
| 1610 | int attrnamespace; char attrnamespace_[PAD_(int)]; |
| 1611 | const char * attrname; char attrname_[PAD_(const char *)]; |
| 1612 | void * data; char data_[PAD_(void *)]; |
| 1613 | size_t nbytes; char nbytes_[PAD_(size_t)]; |
| 1614 | }; |
| 1615 | struct extattr_get_file_args { |
| 1616 | #ifdef _KERNEL |
| 1617 | struct sysmsg sysmsg; |
| 1618 | #endif |
| 1619 | const char * path; char path_[PAD_(const char *)]; |
| 1620 | int attrnamespace; char attrnamespace_[PAD_(int)]; |
| 1621 | const char * attrname; char attrname_[PAD_(const char *)]; |
| 1622 | void * data; char data_[PAD_(void *)]; |
| 1623 | size_t nbytes; char nbytes_[PAD_(size_t)]; |
| 1624 | }; |
| 1625 | struct extattr_delete_file_args { |
| 1626 | #ifdef _KERNEL |
| 1627 | struct sysmsg sysmsg; |
| 1628 | #endif |
| 1629 | const char * path; char path_[PAD_(const char *)]; |
| 1630 | int attrnamespace; char attrnamespace_[PAD_(int)]; |
| 1631 | const char * attrname; char attrname_[PAD_(const char *)]; |
| 1632 | }; |
| 1633 | struct aio_waitcomplete_args { |
| 1634 | #ifdef _KERNEL |
| 1635 | struct sysmsg sysmsg; |
| 1636 | #endif |
| 1637 | struct aiocb ** aiocbp; char aiocbp_[PAD_(struct aiocb **)]; |
| 1638 | struct timespec * timeout; char timeout_[PAD_(struct timespec *)]; |
| 1639 | }; |
| 1640 | struct getresuid_args { |
| 1641 | #ifdef _KERNEL |
| 1642 | struct sysmsg sysmsg; |
| 1643 | #endif |
| 1644 | uid_t * ruid; char ruid_[PAD_(uid_t *)]; |
| 1645 | uid_t * euid; char euid_[PAD_(uid_t *)]; |
| 1646 | uid_t * suid; char suid_[PAD_(uid_t *)]; |
| 1647 | }; |
| 1648 | struct getresgid_args { |
| 1649 | #ifdef _KERNEL |
| 1650 | struct sysmsg sysmsg; |
| 1651 | #endif |
| 1652 | gid_t * rgid; char rgid_[PAD_(gid_t *)]; |
| 1653 | gid_t * egid; char egid_[PAD_(gid_t *)]; |
| 1654 | gid_t * sgid; char sgid_[PAD_(gid_t *)]; |
| 1655 | }; |
| 1656 | struct kqueue_args { |
| 1657 | #ifdef _KERNEL |
| 1658 | struct sysmsg sysmsg; |
| 1659 | #endif |
| 1660 | register_t dummy; |
| 1661 | }; |
| 1662 | struct kevent_args { |
| 1663 | #ifdef _KERNEL |
| 1664 | struct sysmsg sysmsg; |
| 1665 | #endif |
| 1666 | int fd; char fd_[PAD_(int)]; |
| 1667 | const struct kevent * changelist; char changelist_[PAD_(const struct kevent *)]; |
| 1668 | int nchanges; char nchanges_[PAD_(int)]; |
| 1669 | struct kevent * eventlist; char eventlist_[PAD_(struct kevent *)]; |
| 1670 | int nevents; char nevents_[PAD_(int)]; |
| 1671 | const struct timespec * timeout; char timeout_[PAD_(const struct timespec *)]; |
| 1672 | }; |
| 1673 | struct sctp_peeloff_args { |
| 1674 | #ifdef _KERNEL |
| 1675 | struct sysmsg sysmsg; |
| 1676 | #endif |
| 1677 | int sd; char sd_[PAD_(int)]; |
| 1678 | caddr_t name; char name_[PAD_(caddr_t)]; |
| 1679 | }; |
| 1680 | struct lchflags_args { |
| 1681 | #ifdef _KERNEL |
| 1682 | struct sysmsg sysmsg; |
| 1683 | #endif |
| 1684 | char * path; char path_[PAD_(char *)]; |
| 1685 | int flags; char flags_[PAD_(int)]; |
| 1686 | }; |
| 1687 | struct uuidgen_args { |
| 1688 | #ifdef _KERNEL |
| 1689 | struct sysmsg sysmsg; |
| 1690 | #endif |
| 1691 | struct uuid * store; char store_[PAD_(struct uuid *)]; |
| 1692 | int count; char count_[PAD_(int)]; |
| 1693 | }; |
| 1694 | struct sendfile_args { |
| 1695 | #ifdef _KERNEL |
| 1696 | struct sysmsg sysmsg; |
| 1697 | #endif |
| 1698 | int fd; char fd_[PAD_(int)]; |
| 1699 | int s; char s_[PAD_(int)]; |
| 1700 | off_t offset; char offset_[PAD_(off_t)]; |
| 1701 | size_t nbytes; char nbytes_[PAD_(size_t)]; |
| 1702 | struct sf_hdtr * hdtr; char hdtr_[PAD_(struct sf_hdtr *)]; |
| 1703 | off_t * sbytes; char sbytes_[PAD_(off_t *)]; |
| 1704 | int flags; char flags_[PAD_(int)]; |
| 1705 | }; |
| 1706 | struct varsym_set_args { |
| 1707 | #ifdef _KERNEL |
| 1708 | struct sysmsg sysmsg; |
| 1709 | #endif |
| 1710 | int level; char level_[PAD_(int)]; |
| 1711 | const char * name; char name_[PAD_(const char *)]; |
| 1712 | const char * data; char data_[PAD_(const char *)]; |
| 1713 | }; |
| 1714 | struct varsym_get_args { |
| 1715 | #ifdef _KERNEL |
| 1716 | struct sysmsg sysmsg; |
| 1717 | #endif |
| 1718 | int mask; char mask_[PAD_(int)]; |
| 1719 | const char * wild; char wild_[PAD_(const char *)]; |
| 1720 | char * buf; char buf_[PAD_(char *)]; |
| 1721 | int bufsize; char bufsize_[PAD_(int)]; |
| 1722 | }; |
| 1723 | struct varsym_list_args { |
| 1724 | #ifdef _KERNEL |
| 1725 | struct sysmsg sysmsg; |
| 1726 | #endif |
| 1727 | int level; char level_[PAD_(int)]; |
| 1728 | char * buf; char buf_[PAD_(char *)]; |
| 1729 | int maxsize; char maxsize_[PAD_(int)]; |
| 1730 | int * marker; char marker_[PAD_(int *)]; |
| 1731 | }; |
| 1732 | struct exec_sys_register_args { |
| 1733 | #ifdef _KERNEL |
| 1734 | struct sysmsg sysmsg; |
| 1735 | #endif |
| 1736 | void * entry; char entry_[PAD_(void *)]; |
| 1737 | }; |
| 1738 | struct exec_sys_unregister_args { |
| 1739 | #ifdef _KERNEL |
| 1740 | struct sysmsg sysmsg; |
| 1741 | #endif |
| 1742 | int id; char id_[PAD_(int)]; |
| 1743 | }; |
| 1744 | struct sys_checkpoint_args { |
| 1745 | #ifdef _KERNEL |
| 1746 | struct sysmsg sysmsg; |
| 1747 | #endif |
| 1748 | int type; char type_[PAD_(int)]; |
| 1749 | int fd; char fd_[PAD_(int)]; |
| 1750 | pid_t pid; char pid_[PAD_(pid_t)]; |
| 1751 | int retval; char retval_[PAD_(int)]; |
| 1752 | }; |
| 1753 | struct mountctl_args { |
| 1754 | #ifdef _KERNEL |
| 1755 | struct sysmsg sysmsg; |
| 1756 | #endif |
| 1757 | const char * path; char path_[PAD_(const char *)]; |
| 1758 | int op; char op_[PAD_(int)]; |
| 1759 | int fd; char fd_[PAD_(int)]; |
| 1760 | const void * ctl; char ctl_[PAD_(const void *)]; |
| 1761 | int ctllen; char ctllen_[PAD_(int)]; |
| 1762 | void * buf; char buf_[PAD_(void *)]; |
| 1763 | int buflen; char buflen_[PAD_(int)]; |
| 1764 | }; |
| 1765 | struct umtx_sleep_args { |
| 1766 | #ifdef _KERNEL |
| 1767 | struct sysmsg sysmsg; |
| 1768 | #endif |
| 1769 | volatile const int * ptr; char ptr_[PAD_(volatile const int *)]; |
| 1770 | int value; char value_[PAD_(int)]; |
| 1771 | int timeout; char timeout_[PAD_(int)]; |
| 1772 | }; |
| 1773 | struct umtx_wakeup_args { |
| 1774 | #ifdef _KERNEL |
| 1775 | struct sysmsg sysmsg; |
| 1776 | #endif |
| 1777 | volatile const int * ptr; char ptr_[PAD_(volatile const int *)]; |
| 1778 | int count; char count_[PAD_(int)]; |
| 1779 | }; |
| 1780 | struct jail_attach_args { |
| 1781 | #ifdef _KERNEL |
| 1782 | struct sysmsg sysmsg; |
| 1783 | #endif |
| 1784 | int jid; char jid_[PAD_(int)]; |
| 1785 | }; |
| 1786 | struct set_tls_area_args { |
| 1787 | #ifdef _KERNEL |
| 1788 | struct sysmsg sysmsg; |
| 1789 | #endif |
| 1790 | int which; char which_[PAD_(int)]; |
| 1791 | struct tls_info * info; char info_[PAD_(struct tls_info *)]; |
| 1792 | size_t infosize; char infosize_[PAD_(size_t)]; |
| 1793 | }; |
| 1794 | struct get_tls_area_args { |
| 1795 | #ifdef _KERNEL |
| 1796 | struct sysmsg sysmsg; |
| 1797 | #endif |
| 1798 | int which; char which_[PAD_(int)]; |
| 1799 | struct tls_info * info; char info_[PAD_(struct tls_info *)]; |
| 1800 | size_t infosize; char infosize_[PAD_(size_t)]; |
| 1801 | }; |
| 1802 | struct closefrom_args { |
| 1803 | #ifdef _KERNEL |
| 1804 | struct sysmsg sysmsg; |
| 1805 | #endif |
| 1806 | int fd; char fd_[PAD_(int)]; |
| 1807 | }; |
| 1808 | struct stat_args { |
| 1809 | #ifdef _KERNEL |
| 1810 | struct sysmsg sysmsg; |
| 1811 | #endif |
| 1812 | const char * path; char path_[PAD_(const char *)]; |
| 1813 | struct stat * ub; char ub_[PAD_(struct stat *)]; |
| 1814 | }; |
| 1815 | struct fstat_args { |
| 1816 | #ifdef _KERNEL |
| 1817 | struct sysmsg sysmsg; |
| 1818 | #endif |
| 1819 | int fd; char fd_[PAD_(int)]; |
| 1820 | struct stat * sb; char sb_[PAD_(struct stat *)]; |
| 1821 | }; |
| 1822 | struct lstat_args { |
| 1823 | #ifdef _KERNEL |
| 1824 | struct sysmsg sysmsg; |
| 1825 | #endif |
| 1826 | const char * path; char path_[PAD_(const char *)]; |
| 1827 | struct stat * ub; char ub_[PAD_(struct stat *)]; |
| 1828 | }; |
| 1829 | struct fhstat_args { |
| 1830 | #ifdef _KERNEL |
| 1831 | struct sysmsg sysmsg; |
| 1832 | #endif |
| 1833 | const struct fhandle * u_fhp; char u_fhp_[PAD_(const struct fhandle *)]; |
| 1834 | struct stat * sb; char sb_[PAD_(struct stat *)]; |
| 1835 | }; |
| 1836 | struct getdirentries_args { |
| 1837 | #ifdef _KERNEL |
| 1838 | struct sysmsg sysmsg; |
| 1839 | #endif |
| 1840 | int fd; char fd_[PAD_(int)]; |
| 1841 | char * buf; char buf_[PAD_(char *)]; |
| 1842 | u_int count; char count_[PAD_(u_int)]; |
| 1843 | long * basep; char basep_[PAD_(long *)]; |
| 1844 | }; |
| 1845 | struct getdents_args { |
| 1846 | #ifdef _KERNEL |
| 1847 | struct sysmsg sysmsg; |
| 1848 | #endif |
| 1849 | int fd; char fd_[PAD_(int)]; |
| 1850 | char * buf; char buf_[PAD_(char *)]; |
| 1851 | size_t count; char count_[PAD_(size_t)]; |
| 1852 | }; |
| 1853 | struct usched_set_args { |
| 1854 | #ifdef _KERNEL |
| 1855 | struct sysmsg sysmsg; |
| 1856 | #endif |
| 1857 | pid_t pid; char pid_[PAD_(pid_t)]; |
| 1858 | int cmd; char cmd_[PAD_(int)]; |
| 1859 | void * data; char data_[PAD_(void *)]; |
| 1860 | int bytes; char bytes_[PAD_(int)]; |
| 1861 | }; |
| 1862 | struct extaccept_args { |
| 1863 | #ifdef _KERNEL |
| 1864 | struct sysmsg sysmsg; |
| 1865 | #endif |
| 1866 | int s; char s_[PAD_(int)]; |
| 1867 | int flags; char flags_[PAD_(int)]; |
| 1868 | caddr_t name; char name_[PAD_(caddr_t)]; |
| 1869 | int * anamelen; char anamelen_[PAD_(int *)]; |
| 1870 | }; |
| 1871 | struct extconnect_args { |
| 1872 | #ifdef _KERNEL |
| 1873 | struct sysmsg sysmsg; |
| 1874 | #endif |
| 1875 | int s; char s_[PAD_(int)]; |
| 1876 | int flags; char flags_[PAD_(int)]; |
| 1877 | caddr_t name; char name_[PAD_(caddr_t)]; |
| 1878 | int namelen; char namelen_[PAD_(int)]; |
| 1879 | }; |
| 1880 | struct syslink_args { |
| 1881 | #ifdef _KERNEL |
| 1882 | struct sysmsg sysmsg; |
| 1883 | #endif |
| 1884 | int cmd; char cmd_[PAD_(int)]; |
| 1885 | struct syslink_info * info; char info_[PAD_(struct syslink_info *)]; |
| 1886 | size_t bytes; char bytes_[PAD_(size_t)]; |
| 1887 | }; |
| 1888 | struct mcontrol_args { |
| 1889 | #ifdef _KERNEL |
| 1890 | struct sysmsg sysmsg; |
| 1891 | #endif |
| 1892 | void * addr; char addr_[PAD_(void *)]; |
| 1893 | size_t len; char len_[PAD_(size_t)]; |
| 1894 | int behav; char behav_[PAD_(int)]; |
| 1895 | off_t value; char value_[PAD_(off_t)]; |
| 1896 | }; |
| 1897 | struct vmspace_create_args { |
| 1898 | #ifdef _KERNEL |
| 1899 | struct sysmsg sysmsg; |
| 1900 | #endif |
| 1901 | void * id; char id_[PAD_(void *)]; |
| 1902 | int type; char type_[PAD_(int)]; |
| 1903 | void * data; char data_[PAD_(void *)]; |
| 1904 | }; |
| 1905 | struct vmspace_destroy_args { |
| 1906 | #ifdef _KERNEL |
| 1907 | struct sysmsg sysmsg; |
| 1908 | #endif |
| 1909 | void * id; char id_[PAD_(void *)]; |
| 1910 | }; |
| 1911 | struct vmspace_ctl_args { |
| 1912 | #ifdef _KERNEL |
| 1913 | struct sysmsg sysmsg; |
| 1914 | #endif |
| 1915 | void * id; char id_[PAD_(void *)]; |
| 1916 | int cmd; char cmd_[PAD_(int)]; |
| 1917 | struct trapframe * tframe; char tframe_[PAD_(struct trapframe *)]; |
| 1918 | struct vextframe * vframe; char vframe_[PAD_(struct vextframe *)]; |
| 1919 | }; |
| 1920 | struct vmspace_mmap_args { |
| 1921 | #ifdef _KERNEL |
| 1922 | struct sysmsg sysmsg; |
| 1923 | #endif |
| 1924 | void * id; char id_[PAD_(void *)]; |
| 1925 | void * addr; char addr_[PAD_(void *)]; |
| 1926 | size_t len; char len_[PAD_(size_t)]; |
| 1927 | int prot; char prot_[PAD_(int)]; |
| 1928 | int flags; char flags_[PAD_(int)]; |
| 1929 | int fd; char fd_[PAD_(int)]; |
| 1930 | off_t offset; char offset_[PAD_(off_t)]; |
| 1931 | }; |
| 1932 | struct vmspace_munmap_args { |
| 1933 | #ifdef _KERNEL |
| 1934 | struct sysmsg sysmsg; |
| 1935 | #endif |
| 1936 | void * id; char id_[PAD_(void *)]; |
| 1937 | void * addr; char addr_[PAD_(void *)]; |
| 1938 | size_t len; char len_[PAD_(size_t)]; |
| 1939 | }; |
| 1940 | struct vmspace_mcontrol_args { |
| 1941 | #ifdef _KERNEL |
| 1942 | struct sysmsg sysmsg; |
| 1943 | #endif |
| 1944 | void * id; char id_[PAD_(void *)]; |
| 1945 | void * addr; char addr_[PAD_(void *)]; |
| 1946 | size_t len; char len_[PAD_(size_t)]; |
| 1947 | int behav; char behav_[PAD_(int)]; |
| 1948 | off_t value; char value_[PAD_(off_t)]; |
| 1949 | }; |
| 1950 | struct vmspace_pread_args { |
| 1951 | #ifdef _KERNEL |
| 1952 | struct sysmsg sysmsg; |
| 1953 | #endif |
| 1954 | void * id; char id_[PAD_(void *)]; |
| 1955 | void * buf; char buf_[PAD_(void *)]; |
| 1956 | size_t nbyte; char nbyte_[PAD_(size_t)]; |
| 1957 | int flags; char flags_[PAD_(int)]; |
| 1958 | off_t offset; char offset_[PAD_(off_t)]; |
| 1959 | }; |
| 1960 | struct vmspace_pwrite_args { |
| 1961 | #ifdef _KERNEL |
| 1962 | struct sysmsg sysmsg; |
| 1963 | #endif |
| 1964 | void * id; char id_[PAD_(void *)]; |
| 1965 | const void * buf; char buf_[PAD_(const void *)]; |
| 1966 | size_t nbyte; char nbyte_[PAD_(size_t)]; |
| 1967 | int flags; char flags_[PAD_(int)]; |
| 1968 | off_t offset; char offset_[PAD_(off_t)]; |
| 1969 | }; |
| 1970 | struct extexit_args { |
| 1971 | #ifdef _KERNEL |
| 1972 | struct sysmsg sysmsg; |
| 1973 | #endif |
| 1974 | int how; char how_[PAD_(int)]; |
| 1975 | int status; char status_[PAD_(int)]; |
| 1976 | void * addr; char addr_[PAD_(void *)]; |
| 1977 | }; |
| 1978 | struct lwp_create_args { |
| 1979 | #ifdef _KERNEL |
| 1980 | struct sysmsg sysmsg; |
| 1981 | #endif |
| 1982 | struct lwp_params * params; char params_[PAD_(struct lwp_params *)]; |
| 1983 | }; |
| 1984 | struct lwp_gettid_args { |
| 1985 | #ifdef _KERNEL |
| 1986 | struct sysmsg sysmsg; |
| 1987 | #endif |
| 1988 | register_t dummy; |
| 1989 | }; |
| 1990 | struct lwp_kill_args { |
| 1991 | #ifdef _KERNEL |
| 1992 | struct sysmsg sysmsg; |
| 1993 | #endif |
| 1994 | pid_t pid; char pid_[PAD_(pid_t)]; |
| 1995 | lwpid_t tid; char tid_[PAD_(lwpid_t)]; |
| 1996 | int signum; char signum_[PAD_(int)]; |
| 1997 | }; |
| 1998 | struct lwp_rtprio_args { |
| 1999 | #ifdef _KERNEL |
| 2000 | struct sysmsg sysmsg; |
| 2001 | #endif |
| 2002 | int function; char function_[PAD_(int)]; |
| 2003 | pid_t pid; char pid_[PAD_(pid_t)]; |
| 2004 | lwpid_t tid; char tid_[PAD_(lwpid_t)]; |
| 2005 | struct rtprio * rtp; char rtp_[PAD_(struct rtprio *)]; |
| 2006 | }; |
| 2007 | struct pselect_args { |
| 2008 | #ifdef _KERNEL |
| 2009 | struct sysmsg sysmsg; |
| 2010 | #endif |
| 2011 | int nd; char nd_[PAD_(int)]; |
| 2012 | fd_set * in; char in_[PAD_(fd_set *)]; |
| 2013 | fd_set * ou; char ou_[PAD_(fd_set *)]; |
| 2014 | fd_set * ex; char ex_[PAD_(fd_set *)]; |
| 2015 | const struct timespec * ts; char ts_[PAD_(const struct timespec *)]; |
| 2016 | const sigset_t * sigmask; char sigmask_[PAD_(const sigset_t *)]; |
| 2017 | }; |
| 2018 | struct statvfs_args { |
| 2019 | #ifdef _KERNEL |
| 2020 | struct sysmsg sysmsg; |
| 2021 | #endif |
| 2022 | const char * path; char path_[PAD_(const char *)]; |
| 2023 | struct statvfs * buf; char buf_[PAD_(struct statvfs *)]; |
| 2024 | }; |
| 2025 | struct fstatvfs_args { |
| 2026 | #ifdef _KERNEL |
| 2027 | struct sysmsg sysmsg; |
| 2028 | #endif |
| 2029 | int fd; char fd_[PAD_(int)]; |
| 2030 | struct statvfs * buf; char buf_[PAD_(struct statvfs *)]; |
| 2031 | }; |
| 2032 | struct fhstatvfs_args { |
| 2033 | #ifdef _KERNEL |
| 2034 | struct sysmsg sysmsg; |
| 2035 | #endif |
| 2036 | const struct fhandle * u_fhp; char u_fhp_[PAD_(const struct fhandle *)]; |
| 2037 | struct statvfs * buf; char buf_[PAD_(struct statvfs *)]; |
| 2038 | }; |
| 2039 | struct getvfsstat_args { |
| 2040 | #ifdef _KERNEL |
| 2041 | struct sysmsg sysmsg; |
| 2042 | #endif |
| 2043 | struct statfs * buf; char buf_[PAD_(struct statfs *)]; |
| 2044 | struct statvfs * vbuf; char vbuf_[PAD_(struct statvfs *)]; |
| 2045 | long vbufsize; char vbufsize_[PAD_(long)]; |
| 2046 | int flags; char flags_[PAD_(int)]; |
| 2047 | }; |
| 2048 | struct openat_args { |
| 2049 | #ifdef _KERNEL |
| 2050 | struct sysmsg sysmsg; |
| 2051 | #endif |
| 2052 | int fd; char fd_[PAD_(int)]; |
| 2053 | char * path; char path_[PAD_(char *)]; |
| 2054 | int flags; char flags_[PAD_(int)]; |
| 2055 | int mode; char mode_[PAD_(int)]; |
| 2056 | }; |
| 2057 | struct fstatat_args { |
| 2058 | #ifdef _KERNEL |
| 2059 | struct sysmsg sysmsg; |
| 2060 | #endif |
| 2061 | int fd; char fd_[PAD_(int)]; |
| 2062 | char * path; char path_[PAD_(char *)]; |
| 2063 | struct stat * sb; char sb_[PAD_(struct stat *)]; |
| 2064 | int flags; char flags_[PAD_(int)]; |
| 2065 | }; |
| 2066 | struct fchmodat_args { |
| 2067 | #ifdef _KERNEL |
| 2068 | struct sysmsg sysmsg; |
| 2069 | #endif |
| 2070 | int fd; char fd_[PAD_(int)]; |
| 2071 | char * path; char path_[PAD_(char *)]; |
| 2072 | int mode; char mode_[PAD_(int)]; |
| 2073 | int flags; char flags_[PAD_(int)]; |
| 2074 | }; |
| 2075 | struct fchownat_args { |
| 2076 | #ifdef _KERNEL |
| 2077 | struct sysmsg sysmsg; |
| 2078 | #endif |
| 2079 | int fd; char fd_[PAD_(int)]; |
| 2080 | char * path; char path_[PAD_(char *)]; |
| 2081 | int uid; char uid_[PAD_(int)]; |
| 2082 | int gid; char gid_[PAD_(int)]; |
| 2083 | int flags; char flags_[PAD_(int)]; |
| 2084 | }; |
| 2085 | struct unlinkat_args { |
| 2086 | #ifdef _KERNEL |
| 2087 | struct sysmsg sysmsg; |
| 2088 | #endif |
| 2089 | int fd; char fd_[PAD_(int)]; |
| 2090 | char * path; char path_[PAD_(char *)]; |
| 2091 | int flags; char flags_[PAD_(int)]; |
| 2092 | }; |
| 2093 | struct faccessat_args { |
| 2094 | #ifdef _KERNEL |
| 2095 | struct sysmsg sysmsg; |
| 2096 | #endif |
| 2097 | int fd; char fd_[PAD_(int)]; |
| 2098 | char * path; char path_[PAD_(char *)]; |
| 2099 | int amode; char amode_[PAD_(int)]; |
| 2100 | int flags; char flags_[PAD_(int)]; |
| 2101 | }; |
| 2102 | struct mq_open_args { |
| 2103 | #ifdef _KERNEL |
| 2104 | struct sysmsg sysmsg; |
| 2105 | #endif |
| 2106 | const char * name; char name_[PAD_(const char *)]; |
| 2107 | int oflag; char oflag_[PAD_(int)]; |
| 2108 | mode_t mode; char mode_[PAD_(mode_t)]; |
| 2109 | struct mq_attr * attr; char attr_[PAD_(struct mq_attr *)]; |
| 2110 | }; |
| 2111 | struct mq_close_args { |
| 2112 | #ifdef _KERNEL |
| 2113 | struct sysmsg sysmsg; |
| 2114 | #endif |
| 2115 | mqd_t mqdes; char mqdes_[PAD_(mqd_t)]; |
| 2116 | }; |
| 2117 | struct mq_unlink_args { |
| 2118 | #ifdef _KERNEL |
| 2119 | struct sysmsg sysmsg; |
| 2120 | #endif |
| 2121 | const char * name; char name_[PAD_(const char *)]; |
| 2122 | }; |
| 2123 | struct mq_getattr_args { |
| 2124 | #ifdef _KERNEL |
| 2125 | struct sysmsg sysmsg; |
| 2126 | #endif |
| 2127 | mqd_t mqdes; char mqdes_[PAD_(mqd_t)]; |
| 2128 | struct mq_attr * mqstat; char mqstat_[PAD_(struct mq_attr *)]; |
| 2129 | }; |
| 2130 | struct mq_setattr_args { |
| 2131 | #ifdef _KERNEL |
| 2132 | struct sysmsg sysmsg; |
| 2133 | #endif |
| 2134 | mqd_t mqdes; char mqdes_[PAD_(mqd_t)]; |
| 2135 | const struct mq_attr * mqstat; char mqstat_[PAD_(const struct mq_attr *)]; |
| 2136 | struct mq_attr * omqstat; char omqstat_[PAD_(struct mq_attr *)]; |
| 2137 | }; |
| 2138 | struct mq_notify_args { |
| 2139 | #ifdef _KERNEL |
| 2140 | struct sysmsg sysmsg; |
| 2141 | #endif |
| 2142 | mqd_t mqdes; char mqdes_[PAD_(mqd_t)]; |
| 2143 | const struct sigevent * notification; char notification_[PAD_(const struct sigevent *)]; |
| 2144 | }; |
| 2145 | struct mq_send_args { |
| 2146 | #ifdef _KERNEL |
| 2147 | struct sysmsg sysmsg; |
| 2148 | #endif |
| 2149 | mqd_t mqdes; char mqdes_[PAD_(mqd_t)]; |
| 2150 | const char * msg_ptr; char msg_ptr_[PAD_(const char *)]; |
| 2151 | size_t msg_len; char msg_len_[PAD_(size_t)]; |
| 2152 | unsigned msg_prio; char msg_prio_[PAD_(unsigned)]; |
| 2153 | }; |
| 2154 | struct mq_receive_args { |
| 2155 | #ifdef _KERNEL |
| 2156 | struct sysmsg sysmsg; |
| 2157 | #endif |
| 2158 | mqd_t mqdes; char mqdes_[PAD_(mqd_t)]; |
| 2159 | char * msg_ptr; char msg_ptr_[PAD_(char *)]; |
| 2160 | size_t msg_len; char msg_len_[PAD_(size_t)]; |
| 2161 | unsigned * msg_prio; char msg_prio_[PAD_(unsigned *)]; |
| 2162 | }; |
| 2163 | struct mq_timedsend_args { |
| 2164 | #ifdef _KERNEL |
| 2165 | struct sysmsg sysmsg; |
| 2166 | #endif |
| 2167 | mqd_t mqdes; char mqdes_[PAD_(mqd_t)]; |
| 2168 | const char * msg_ptr; char msg_ptr_[PAD_(const char *)]; |
| 2169 | size_t msg_len; char msg_len_[PAD_(size_t)]; |
| 2170 | unsigned msg_prio; char msg_prio_[PAD_(unsigned)]; |
| 2171 | const struct timespec * abs_timeout; char abs_timeout_[PAD_(const struct timespec *)]; |
| 2172 | }; |
| 2173 | struct mq_timedreceive_args { |
| 2174 | #ifdef _KERNEL |
| 2175 | struct sysmsg sysmsg; |
| 2176 | #endif |
| 2177 | mqd_t mqdes; char mqdes_[PAD_(mqd_t)]; |
| 2178 | char * msg_ptr; char msg_ptr_[PAD_(char *)]; |
| 2179 | size_t msg_len; char msg_len_[PAD_(size_t)]; |
| 2180 | unsigned * msg_prio; char msg_prio_[PAD_(unsigned *)]; |
| 2181 | const struct timespec * abs_timeout; char abs_timeout_[PAD_(const struct timespec *)]; |
| 2182 | }; |
| 2183 | struct ioprio_set_args { |
| 2184 | #ifdef _KERNEL |
| 2185 | struct sysmsg sysmsg; |
| 2186 | #endif |
| 2187 | int which; char which_[PAD_(int)]; |
| 2188 | int who; char who_[PAD_(int)]; |
| 2189 | int prio; char prio_[PAD_(int)]; |
| 2190 | }; |
| 2191 | struct ioprio_get_args { |
| 2192 | #ifdef _KERNEL |
| 2193 | struct sysmsg sysmsg; |
| 2194 | #endif |
| 2195 | int which; char which_[PAD_(int)]; |
| 2196 | int who; char who_[PAD_(int)]; |
| 2197 | }; |
| 2198 | struct chroot_kernel_args { |
| 2199 | #ifdef _KERNEL |
| 2200 | struct sysmsg sysmsg; |
| 2201 | #endif |
| 2202 | char * path; char path_[PAD_(char *)]; |
| 2203 | }; |
| 2204 | struct renameat_args { |
| 2205 | #ifdef _KERNEL |
| 2206 | struct sysmsg sysmsg; |
| 2207 | #endif |
| 2208 | int oldfd; char oldfd_[PAD_(int)]; |
| 2209 | char * old; char old_[PAD_(char *)]; |
| 2210 | int newfd; char newfd_[PAD_(int)]; |
| 2211 | char * new; char new_[PAD_(char *)]; |
| 2212 | }; |
| 2213 | struct mkdirat_args { |
| 2214 | #ifdef _KERNEL |
| 2215 | struct sysmsg sysmsg; |
| 2216 | #endif |
| 2217 | int fd; char fd_[PAD_(int)]; |
| 2218 | char * path; char path_[PAD_(char *)]; |
| 2219 | mode_t mode; char mode_[PAD_(mode_t)]; |
| 2220 | }; |
| 2221 | struct mkfifoat_args { |
| 2222 | #ifdef _KERNEL |
| 2223 | struct sysmsg sysmsg; |
| 2224 | #endif |
| 2225 | int fd; char fd_[PAD_(int)]; |
| 2226 | char * path; char path_[PAD_(char *)]; |
| 2227 | mode_t mode; char mode_[PAD_(mode_t)]; |
| 2228 | }; |
| 2229 | struct mknodat_args { |
| 2230 | #ifdef _KERNEL |
| 2231 | struct sysmsg sysmsg; |
| 2232 | #endif |
| 2233 | int fd; char fd_[PAD_(int)]; |
| 2234 | char * path; char path_[PAD_(char *)]; |
| 2235 | mode_t mode; char mode_[PAD_(mode_t)]; |
| 2236 | dev_t dev; char dev_[PAD_(dev_t)]; |
| 2237 | }; |
| 2238 | struct readlinkat_args { |
| 2239 | #ifdef _KERNEL |
| 2240 | struct sysmsg sysmsg; |
| 2241 | #endif |
| 2242 | int fd; char fd_[PAD_(int)]; |
| 2243 | char * path; char path_[PAD_(char *)]; |
| 2244 | char * buf; char buf_[PAD_(char *)]; |
| 2245 | size_t bufsize; char bufsize_[PAD_(size_t)]; |
| 2246 | }; |
| 2247 | struct symlinkat_args { |
| 2248 | #ifdef _KERNEL |
| 2249 | struct sysmsg sysmsg; |
| 2250 | #endif |
| 2251 | char * path1; char path1_[PAD_(char *)]; |
| 2252 | int fd; char fd_[PAD_(int)]; |
| 2253 | char * path2; char path2_[PAD_(char *)]; |
| 2254 | }; |
| 2255 | struct swapoff_args { |
| 2256 | #ifdef _KERNEL |
| 2257 | struct sysmsg sysmsg; |
| 2258 | #endif |
| 2259 | char * name; char name_[PAD_(char *)]; |
| 2260 | }; |
| 2261 | struct vquotactl_args { |
| 2262 | #ifdef _KERNEL |
| 2263 | struct sysmsg sysmsg; |
| 2264 | #endif |
| 2265 | const char * path; char path_[PAD_(const char *)]; |
| 2266 | struct plistref * pref; char pref_[PAD_(struct plistref *)]; |
| 2267 | }; |
| 2268 | struct linkat_args { |
| 2269 | #ifdef _KERNEL |
| 2270 | struct sysmsg sysmsg; |
| 2271 | #endif |
| 2272 | int fd1; char fd1_[PAD_(int)]; |
| 2273 | char * path1; char path1_[PAD_(char *)]; |
| 2274 | int fd2; char fd2_[PAD_(int)]; |
| 2275 | char * path2; char path2_[PAD_(char *)]; |
| 2276 | int flags; char flags_[PAD_(int)]; |
| 2277 | }; |
| 2278 | struct eaccess_args { |
| 2279 | #ifdef _KERNEL |
| 2280 | struct sysmsg sysmsg; |
| 2281 | #endif |
| 2282 | char * path; char path_[PAD_(char *)]; |
| 2283 | int flags; char flags_[PAD_(int)]; |
| 2284 | }; |
| 2285 | |
| 2286 | #ifdef COMPAT_43 |
| 2287 | |
| 2288 | #ifdef COMPAT_43 |
| 2289 | #endif |
| 2290 | struct ocreat_args { |
| 2291 | #ifdef _KERNEL |
| 2292 | struct sysmsg sysmsg; |
| 2293 | #endif |
| 2294 | char * path; char path_[PAD_(char *)]; |
| 2295 | int mode; char mode_[PAD_(int)]; |
| 2296 | }; |
| 2297 | struct olseek_args { |
| 2298 | #ifdef _KERNEL |
| 2299 | struct sysmsg sysmsg; |
| 2300 | #endif |
| 2301 | int fd; char fd_[PAD_(int)]; |
| 2302 | long offset; char offset_[PAD_(long)]; |
| 2303 | int whence; char whence_[PAD_(int)]; |
| 2304 | }; |
| 2305 | struct ostat_args { |
| 2306 | #ifdef _KERNEL |
| 2307 | struct sysmsg sysmsg; |
| 2308 | #endif |
| 2309 | char * path; char path_[PAD_(char *)]; |
| 2310 | struct ostat * ub; char ub_[PAD_(struct ostat *)]; |
| 2311 | }; |
| 2312 | struct olstat_args { |
| 2313 | #ifdef _KERNEL |
| 2314 | struct sysmsg sysmsg; |
| 2315 | #endif |
| 2316 | char * path; char path_[PAD_(char *)]; |
| 2317 | struct ostat * ub; char ub_[PAD_(struct ostat *)]; |
| 2318 | }; |
| 2319 | struct ofstat_args { |
| 2320 | #ifdef _KERNEL |
| 2321 | struct sysmsg sysmsg; |
| 2322 | #endif |
| 2323 | int fd; char fd_[PAD_(int)]; |
| 2324 | struct ostat * sb; char sb_[PAD_(struct ostat *)]; |
| 2325 | }; |
| 2326 | struct getkerninfo_args { |
| 2327 | #ifdef _KERNEL |
| 2328 | struct sysmsg sysmsg; |
| 2329 | #endif |
| 2330 | int op; char op_[PAD_(int)]; |
| 2331 | char * where; char where_[PAD_(char *)]; |
| 2332 | size_t * size; char size_[PAD_(size_t *)]; |
| 2333 | int arg; char arg_[PAD_(int)]; |
| 2334 | }; |
| 2335 | struct ommap_args { |
| 2336 | #ifdef _KERNEL |
| 2337 | struct sysmsg sysmsg; |
| 2338 | #endif |
| 2339 | void * addr; char addr_[PAD_(void *)]; |
| 2340 | int len; char len_[PAD_(int)]; |
| 2341 | int prot; char prot_[PAD_(int)]; |
| 2342 | int flags; char flags_[PAD_(int)]; |
| 2343 | int fd; char fd_[PAD_(int)]; |
| 2344 | long pos; char pos_[PAD_(long)]; |
| 2345 | }; |
| 2346 | struct ovadvise_args { |
| 2347 | #ifdef _KERNEL |
| 2348 | struct sysmsg sysmsg; |
| 2349 | #endif |
| 2350 | int anom; char anom_[PAD_(int)]; |
| 2351 | }; |
| 2352 | struct gethostname_args { |
| 2353 | #ifdef _KERNEL |
| 2354 | struct sysmsg sysmsg; |
| 2355 | #endif |
| 2356 | char * hostname; char hostname_[PAD_(char *)]; |
| 2357 | u_int len; char len_[PAD_(u_int)]; |
| 2358 | }; |
| 2359 | struct sethostname_args { |
| 2360 | #ifdef _KERNEL |
| 2361 | struct sysmsg sysmsg; |
| 2362 | #endif |
| 2363 | char * hostname; char hostname_[PAD_(char *)]; |
| 2364 | u_int len; char len_[PAD_(u_int)]; |
| 2365 | }; |
| 2366 | struct osend_args { |
| 2367 | #ifdef _KERNEL |
| 2368 | struct sysmsg sysmsg; |
| 2369 | #endif |
| 2370 | int s; char s_[PAD_(int)]; |
| 2371 | caddr_t buf; char buf_[PAD_(caddr_t)]; |
| 2372 | int len; char len_[PAD_(int)]; |
| 2373 | int flags; char flags_[PAD_(int)]; |
| 2374 | }; |
| 2375 | struct orecv_args { |
| 2376 | #ifdef _KERNEL |
| 2377 | struct sysmsg sysmsg; |
| 2378 | #endif |
| 2379 | int s; char s_[PAD_(int)]; |
| 2380 | caddr_t buf; char buf_[PAD_(caddr_t)]; |
| 2381 | int len; char len_[PAD_(int)]; |
| 2382 | int flags; char flags_[PAD_(int)]; |
| 2383 | }; |
| 2384 | struct osigvec_args { |
| 2385 | #ifdef _KERNEL |
| 2386 | struct sysmsg sysmsg; |
| 2387 | #endif |
| 2388 | int signum; char signum_[PAD_(int)]; |
| 2389 | struct sigvec * nsv; char nsv_[PAD_(struct sigvec *)]; |
| 2390 | struct sigvec * osv; char osv_[PAD_(struct sigvec *)]; |
| 2391 | }; |
| 2392 | struct osigblock_args { |
| 2393 | #ifdef _KERNEL |
| 2394 | struct sysmsg sysmsg; |
| 2395 | #endif |
| 2396 | int mask; char mask_[PAD_(int)]; |
| 2397 | }; |
| 2398 | struct osigsetmask_args { |
| 2399 | #ifdef _KERNEL |
| 2400 | struct sysmsg sysmsg; |
| 2401 | #endif |
| 2402 | int mask; char mask_[PAD_(int)]; |
| 2403 | }; |
| 2404 | struct osigstack_args { |
| 2405 | #ifdef _KERNEL |
| 2406 | struct sysmsg sysmsg; |
| 2407 | #endif |
| 2408 | struct sigstack * nss; char nss_[PAD_(struct sigstack *)]; |
| 2409 | struct sigstack * oss; char oss_[PAD_(struct sigstack *)]; |
| 2410 | }; |
| 2411 | struct orecvmsg_args { |
| 2412 | #ifdef _KERNEL |
| 2413 | struct sysmsg sysmsg; |
| 2414 | #endif |
| 2415 | int s; char s_[PAD_(int)]; |
| 2416 | struct omsghdr * msg; char msg_[PAD_(struct omsghdr *)]; |
| 2417 | int flags; char flags_[PAD_(int)]; |
| 2418 | }; |
| 2419 | struct osendmsg_args { |
| 2420 | #ifdef _KERNEL |
| 2421 | struct sysmsg sysmsg; |
| 2422 | #endif |
| 2423 | int s; char s_[PAD_(int)]; |
| 2424 | caddr_t msg; char msg_[PAD_(caddr_t)]; |
| 2425 | int flags; char flags_[PAD_(int)]; |
| 2426 | }; |
| 2427 | struct otruncate_args { |
| 2428 | #ifdef _KERNEL |
| 2429 | struct sysmsg sysmsg; |
| 2430 | #endif |
| 2431 | char * path; char path_[PAD_(char *)]; |
| 2432 | long length; char length_[PAD_(long)]; |
| 2433 | }; |
| 2434 | struct oftruncate_args { |
| 2435 | #ifdef _KERNEL |
| 2436 | struct sysmsg sysmsg; |
| 2437 | #endif |
| 2438 | int fd; char fd_[PAD_(int)]; |
| 2439 | long length; char length_[PAD_(long)]; |
| 2440 | }; |
| 2441 | struct ogetpeername_args { |
| 2442 | #ifdef _KERNEL |
| 2443 | struct sysmsg sysmsg; |
| 2444 | #endif |
| 2445 | int fdes; char fdes_[PAD_(int)]; |
| 2446 | caddr_t asa; char asa_[PAD_(caddr_t)]; |
| 2447 | int * alen; char alen_[PAD_(int *)]; |
| 2448 | }; |
| 2449 | struct osethostid_args { |
| 2450 | #ifdef _KERNEL |
| 2451 | struct sysmsg sysmsg; |
| 2452 | #endif |
| 2453 | long hostid; char hostid_[PAD_(long)]; |
| 2454 | }; |
| 2455 | struct ogetrlimit_args { |
| 2456 | #ifdef _KERNEL |
| 2457 | struct sysmsg sysmsg; |
| 2458 | #endif |
| 2459 | u_int which; char which_[PAD_(u_int)]; |
| 2460 | struct orlimit * rlp; char rlp_[PAD_(struct orlimit *)]; |
| 2461 | }; |
| 2462 | struct osetrlimit_args { |
| 2463 | #ifdef _KERNEL |
| 2464 | struct sysmsg sysmsg; |
| 2465 | #endif |
| 2466 | u_int which; char which_[PAD_(u_int)]; |
| 2467 | struct orlimit * rlp; char rlp_[PAD_(struct orlimit *)]; |
| 2468 | }; |
| 2469 | struct okillpg_args { |
| 2470 | #ifdef _KERNEL |
| 2471 | struct sysmsg sysmsg; |
| 2472 | #endif |
| 2473 | int pgid; char pgid_[PAD_(int)]; |
| 2474 | int signum; char signum_[PAD_(int)]; |
| 2475 | }; |
| 2476 | struct ogetdirentries_args { |
| 2477 | #ifdef _KERNEL |
| 2478 | struct sysmsg sysmsg; |
| 2479 | #endif |
| 2480 | int fd; char fd_[PAD_(int)]; |
| 2481 | char * buf; char buf_[PAD_(char *)]; |
| 2482 | u_int count; char count_[PAD_(u_int)]; |
| 2483 | long * basep; char basep_[PAD_(long *)]; |
| 2484 | }; |
| 2485 | |
| 2486 | #ifdef _KERNEL |
| 2487 | |
| 2488 | int sys_ocreat (struct ocreat_args *); |
| 2489 | int sys_olseek (struct olseek_args *); |
| 2490 | int sys_ostat (struct ostat_args *); |
| 2491 | int sys_olstat (struct olstat_args *); |
| 2492 | int sys_ofstat (struct ofstat_args *); |
| 2493 | int sys_ogetkerninfo (struct getkerninfo_args *); |
| 2494 | int sys_ogetpagesize (struct getpagesize_args *); |
| 2495 | int sys_ommap (struct ommap_args *); |
| 2496 | int sys_ovadvise (struct ovadvise_args *); |
| 2497 | int sys_owait (struct owait_args *); |
| 2498 | int sys_ogethostname (struct gethostname_args *); |
| 2499 | int sys_osethostname (struct sethostname_args *); |
| 2500 | int sys_oaccept (struct accept_args *); |
| 2501 | int sys_osend (struct osend_args *); |
| 2502 | int sys_orecv (struct orecv_args *); |
| 2503 | int sys_osigvec (struct osigvec_args *); |
| 2504 | int sys_osigblock (struct osigblock_args *); |
| 2505 | int sys_osigsetmask (struct osigsetmask_args *); |
| 2506 | int sys_osigstack (struct osigstack_args *); |
| 2507 | int sys_orecvmsg (struct orecvmsg_args *); |
| 2508 | int sys_osendmsg (struct osendmsg_args *); |
| 2509 | int sys_orecvfrom (struct recvfrom_args *); |
| 2510 | int sys_otruncate (struct otruncate_args *); |
| 2511 | int sys_oftruncate (struct oftruncate_args *); |
| 2512 | int sys_ogetpeername (struct ogetpeername_args *); |
| 2513 | int sys_ogethostid (struct ogethostid_args *); |
| 2514 | int sys_osethostid (struct osethostid_args *); |
| 2515 | int sys_ogetrlimit (struct ogetrlimit_args *); |
| 2516 | int sys_osetrlimit (struct osetrlimit_args *); |
| 2517 | int sys_okillpg (struct okillpg_args *); |
| 2518 | int sys_oquota (struct oquota_args *); |
| 2519 | int sys_ogetsockname (struct getsockname_args *); |
| 2520 | int sys_ogetdirentries (struct ogetdirentries_args *); |
| 2521 | |
| 2522 | #endif /* _KERNEL */ |
| 2523 | |
| 2524 | #endif /* COMPAT_43 */ |
| 2525 | |
| 2526 | |
| 2527 | #ifdef COMPAT_DF12 |
| 2528 | |
| 2529 | #ifdef COMPAT_43 |
| 2530 | #endif |
| 2531 | struct dfbsd12_stat_args { |
| 2532 | #ifdef _KERNEL |
| 2533 | struct sysmsg sysmsg; |
| 2534 | #endif |
| 2535 | const char * path; char path_[PAD_(const char *)]; |
| 2536 | struct dfbsd12_stat * ub; char ub_[PAD_(struct dfbsd12_stat *)]; |
| 2537 | }; |
| 2538 | struct dfbsd12_fstat_args { |
| 2539 | #ifdef _KERNEL |
| 2540 | struct sysmsg sysmsg; |
| 2541 | #endif |
| 2542 | int fd; char fd_[PAD_(int)]; |
| 2543 | struct dfbsd12_stat * sb; char sb_[PAD_(struct dfbsd12_stat *)]; |
| 2544 | }; |
| 2545 | struct dfbsd12_lstat_args { |
| 2546 | #ifdef _KERNEL |
| 2547 | struct sysmsg sysmsg; |
| 2548 | #endif |
| 2549 | const char * path; char path_[PAD_(const char *)]; |
| 2550 | struct dfbsd12_stat * ub; char ub_[PAD_(struct dfbsd12_stat *)]; |
| 2551 | }; |
| 2552 | struct dfbsd12_getdirentries_args { |
| 2553 | #ifdef _KERNEL |
| 2554 | struct sysmsg sysmsg; |
| 2555 | #endif |
| 2556 | int fd; char fd_[PAD_(int)]; |
| 2557 | char * buf; char buf_[PAD_(char *)]; |
| 2558 | u_int count; char count_[PAD_(u_int)]; |
| 2559 | long * basep; char basep_[PAD_(long *)]; |
| 2560 | }; |
| 2561 | struct dfbsd12_getdents_args { |
| 2562 | #ifdef _KERNEL |
| 2563 | struct sysmsg sysmsg; |
| 2564 | #endif |
| 2565 | int fd; char fd_[PAD_(int)]; |
| 2566 | char * buf; char buf_[PAD_(char *)]; |
| 2567 | size_t count; char count_[PAD_(size_t)]; |
| 2568 | }; |
| 2569 | struct dfbsd12_fhstat_args { |
| 2570 | #ifdef _KERNEL |
| 2571 | struct sysmsg sysmsg; |
| 2572 | #endif |
| 2573 | const struct fhandle * u_fhp; char u_fhp_[PAD_(const struct fhandle *)]; |
| 2574 | struct dfbsd12_stat * sb; char sb_[PAD_(struct dfbsd12_stat *)]; |
| 2575 | }; |
| 2576 | |
| 2577 | #ifdef _KERNEL |
| 2578 | |
| 2579 | int sys_dfbsd12_stat (struct dfbsd12_stat_args *); |
| 2580 | int sys_dfbsd12_fstat (struct dfbsd12_fstat_args *); |
| 2581 | int sys_dfbsd12_lstat (struct dfbsd12_lstat_args *); |
| 2582 | int sys_dfbsd12_getdirentries (struct dfbsd12_getdirentries_args *); |
| 2583 | int sys_dfbsd12_getdents (struct dfbsd12_getdents_args *); |
| 2584 | int sys_dfbsd12_fhstat (struct dfbsd12_fhstat_args *); |
| 2585 | |
| 2586 | #endif /* _KERNEL */ |
| 2587 | |
| 2588 | #endif /* COMPAT_DF12 */ |
| 2589 | |
| 2590 | |
| 2591 | #ifdef _KERNEL |
| 2592 | |
| 2593 | #ifdef COMPAT_43 |
| 2594 | #endif |
| 2595 | int sys_nosys (struct nosys_args *); |
| 2596 | int sys_exit (struct exit_args *); |
| 2597 | int sys_fork (struct fork_args *); |
| 2598 | int sys_read (struct read_args *); |
| 2599 | int sys_write (struct write_args *); |
| 2600 | int sys_open (struct open_args *); |
| 2601 | int sys_close (struct close_args *); |
| 2602 | int sys_wait4 (struct wait_args *); |
| 2603 | int sys_link (struct link_args *); |
| 2604 | int sys_unlink (struct unlink_args *); |
| 2605 | int sys_chdir (struct chdir_args *); |
| 2606 | int sys_fchdir (struct fchdir_args *); |
| 2607 | int sys_mknod (struct mknod_args *); |
| 2608 | int sys_chmod (struct chmod_args *); |
| 2609 | int sys_chown (struct chown_args *); |
| 2610 | int sys_obreak (struct obreak_args *); |
| 2611 | int sys_getfsstat (struct getfsstat_args *); |
| 2612 | int sys_getpid (struct getpid_args *); |
| 2613 | int sys_mount (struct mount_args *); |
| 2614 | int sys_unmount (struct unmount_args *); |
| 2615 | int sys_setuid (struct setuid_args *); |
| 2616 | int sys_getuid (struct getuid_args *); |
| 2617 | int sys_geteuid (struct geteuid_args *); |
| 2618 | int sys_ptrace (struct ptrace_args *); |
| 2619 | int sys_recvmsg (struct recvmsg_args *); |
| 2620 | int sys_sendmsg (struct sendmsg_args *); |
| 2621 | int sys_recvfrom (struct recvfrom_args *); |
| 2622 | int sys_accept (struct accept_args *); |
| 2623 | int sys_getpeername (struct getpeername_args *); |
| 2624 | int sys_getsockname (struct getsockname_args *); |
| 2625 | int sys_access (struct access_args *); |
| 2626 | int sys_chflags (struct chflags_args *); |
| 2627 | int sys_fchflags (struct fchflags_args *); |
| 2628 | int sys_sync (struct sync_args *); |
| 2629 | int sys_kill (struct kill_args *); |
| 2630 | int sys_getppid (struct getppid_args *); |
| 2631 | int sys_dup (struct dup_args *); |
| 2632 | int sys_pipe (struct pipe_args *); |
| 2633 | int sys_getegid (struct getegid_args *); |
| 2634 | int sys_profil (struct profil_args *); |
| 2635 | int sys_ktrace (struct ktrace_args *); |
| 2636 | int sys_getgid (struct getgid_args *); |
| 2637 | int sys_getlogin (struct getlogin_args *); |
| 2638 | int sys_setlogin (struct setlogin_args *); |
| 2639 | int sys_acct (struct acct_args *); |
| 2640 | int sys_sigaltstack (struct sigaltstack_args *); |
| 2641 | int sys_ioctl (struct ioctl_args *); |
| 2642 | int sys_reboot (struct reboot_args *); |
| 2643 | int sys_revoke (struct revoke_args *); |
| 2644 | int sys_symlink (struct symlink_args *); |
| 2645 | int sys_readlink (struct readlink_args *); |
| 2646 | int sys_execve (struct execve_args *); |
| 2647 | int sys_umask (struct umask_args *); |
| 2648 | int sys_chroot (struct chroot_args *); |
| 2649 | int sys_msync (struct msync_args *); |
| 2650 | int sys_vfork (struct vfork_args *); |
| 2651 | int sys_sbrk (struct sbrk_args *); |
| 2652 | int sys_sstk (struct sstk_args *); |
| 2653 | int sys_munmap (struct munmap_args *); |
| 2654 | int sys_mprotect (struct mprotect_args *); |
| 2655 | int sys_madvise (struct madvise_args *); |
| 2656 | int sys_mincore (struct mincore_args *); |
| 2657 | int sys_getgroups (struct getgroups_args *); |
| 2658 | int sys_setgroups (struct setgroups_args *); |
| 2659 | int sys_getpgrp (struct getpgrp_args *); |
| 2660 | int sys_setpgid (struct setpgid_args *); |
| 2661 | int sys_setitimer (struct setitimer_args *); |
| 2662 | int sys_swapon (struct swapon_args *); |
| 2663 | int sys_getitimer (struct getitimer_args *); |
| 2664 | int sys_getdtablesize (struct getdtablesize_args *); |
| 2665 | int sys_dup2 (struct dup2_args *); |
| 2666 | int sys_fcntl (struct fcntl_args *); |
| 2667 | int sys_select (struct select_args *); |
| 2668 | int sys_fsync (struct fsync_args *); |
| 2669 | int sys_setpriority (struct setpriority_args *); |
| 2670 | int sys_socket (struct socket_args *); |
| 2671 | int sys_connect (struct connect_args *); |
| 2672 | int sys_getpriority (struct getpriority_args *); |
| 2673 | int sys_bind (struct bind_args *); |
| 2674 | int sys_setsockopt (struct setsockopt_args *); |
| 2675 | int sys_listen (struct listen_args *); |
| 2676 | int sys_gettimeofday (struct gettimeofday_args *); |
| 2677 | int sys_getrusage (struct getrusage_args *); |
| 2678 | int sys_getsockopt (struct getsockopt_args *); |
| 2679 | int sys_readv (struct readv_args *); |
| 2680 | int sys_writev (struct writev_args *); |
| 2681 | int sys_settimeofday (struct settimeofday_args *); |
| 2682 | int sys_fchown (struct fchown_args *); |
| 2683 | int sys_fchmod (struct fchmod_args *); |
| 2684 | int sys_setreuid (struct setreuid_args *); |
| 2685 | int sys_setregid (struct setregid_args *); |
| 2686 | int sys_rename (struct rename_args *); |
| 2687 | int sys_flock (struct flock_args *); |
| 2688 | int sys_mkfifo (struct mkfifo_args *); |
| 2689 | int sys_sendto (struct sendto_args *); |
| 2690 | int sys_shutdown (struct shutdown_args *); |
| 2691 | int sys_socketpair (struct socketpair_args *); |
| 2692 | int sys_mkdir (struct mkdir_args *); |
| 2693 | int sys_rmdir (struct rmdir_args *); |
| 2694 | int sys_utimes (struct utimes_args *); |
| 2695 | int sys_adjtime (struct adjtime_args *); |
| 2696 | int sys_setsid (struct setsid_args *); |
| 2697 | int sys_quotactl (struct quotactl_args *); |
| 2698 | int sys_nfssvc (struct nfssvc_args *); |
| 2699 | int sys_statfs (struct statfs_args *); |
| 2700 | int sys_fstatfs (struct fstatfs_args *); |
| 2701 | int sys_getfh (struct getfh_args *); |
| 2702 | int sys_getdomainname (struct getdomainname_args *); |
| 2703 | int sys_setdomainname (struct setdomainname_args *); |
| 2704 | int sys_uname (struct uname_args *); |
| 2705 | int sys_sysarch (struct sysarch_args *); |
| 2706 | int sys_rtprio (struct rtprio_args *); |
| 2707 | int sys_semsys (struct semsys_args *); |
| 2708 | int sys_msgsys (struct msgsys_args *); |
| 2709 | int sys_shmsys (struct shmsys_args *); |
| 2710 | int sys_extpread (struct extpread_args *); |
| 2711 | int sys_extpwrite (struct extpwrite_args *); |
| 2712 | int sys_ntp_adjtime (struct ntp_adjtime_args *); |
| 2713 | int sys_setgid (struct setgid_args *); |
| 2714 | int sys_setegid (struct setegid_args *); |
| 2715 | int sys_seteuid (struct seteuid_args *); |
| 2716 | int sys_pathconf (struct pathconf_args *); |
| 2717 | int sys_fpathconf (struct fpathconf_args *); |
| 2718 | int sys_getrlimit (struct __getrlimit_args *); |
| 2719 | int sys_setrlimit (struct __setrlimit_args *); |
| 2720 | int sys_mmap (struct mmap_args *); |
| 2721 | int sys_lseek (struct lseek_args *); |
| 2722 | int sys_truncate (struct truncate_args *); |
| 2723 | int sys_ftruncate (struct ftruncate_args *); |
| 2724 | int sys___sysctl (struct sysctl_args *); |
| 2725 | int sys_mlock (struct mlock_args *); |
| 2726 | int sys_munlock (struct munlock_args *); |
| 2727 | int sys_undelete (struct undelete_args *); |
| 2728 | int sys_futimes (struct futimes_args *); |
| 2729 | int sys_getpgid (struct getpgid_args *); |
| 2730 | int sys_poll (struct poll_args *); |
| 2731 | int sys_lkmnosys (struct nosys_args *); |
| 2732 | int sys___semctl (struct __semctl_args *); |
| 2733 | int sys_semget (struct semget_args *); |
| 2734 | int sys_semop (struct semop_args *); |
| 2735 | int sys_msgctl (struct msgctl_args *); |
| 2736 | int sys_msgget (struct msgget_args *); |
| 2737 | int sys_msgsnd (struct msgsnd_args *); |
| 2738 | int sys_msgrcv (struct msgrcv_args *); |
| 2739 | int sys_shmat (struct shmat_args *); |
| 2740 | int sys_shmctl (struct shmctl_args *); |
| 2741 | int sys_shmdt (struct shmdt_args *); |
| 2742 | int sys_shmget (struct shmget_args *); |
| 2743 | int sys_clock_gettime (struct clock_gettime_args *); |
| 2744 | int sys_clock_settime (struct clock_settime_args *); |
| 2745 | int sys_clock_getres (struct clock_getres_args *); |
| 2746 | int sys_nanosleep (struct nanosleep_args *); |
| 2747 | int sys_minherit (struct minherit_args *); |
| 2748 | int sys_rfork (struct rfork_args *); |
| 2749 | int sys_openbsd_poll (struct openbsd_poll_args *); |
| 2750 | int sys_issetugid (struct issetugid_args *); |
| 2751 | int sys_lchown (struct lchown_args *); |
| 2752 | int sys_lchmod (struct lchmod_args *); |
| 2753 | int sys_lutimes (struct lutimes_args *); |
| 2754 | int sys_extpreadv (struct extpreadv_args *); |
| 2755 | int sys_extpwritev (struct extpwritev_args *); |
| 2756 | int sys_fhstatfs (struct fhstatfs_args *); |
| 2757 | int sys_fhopen (struct fhopen_args *); |
| 2758 | int sys_modnext (struct modnext_args *); |
| 2759 | int sys_modstat (struct modstat_args *); |
| 2760 | int sys_modfnext (struct modfnext_args *); |
| 2761 | int sys_modfind (struct modfind_args *); |
| 2762 | int sys_kldload (struct kldload_args *); |
| 2763 | int sys_kldunload (struct kldunload_args *); |
| 2764 | int sys_kldfind (struct kldfind_args *); |
| 2765 | int sys_kldnext (struct kldnext_args *); |
| 2766 | int sys_kldstat (struct kldstat_args *); |
| 2767 | int sys_kldfirstmod (struct kldfirstmod_args *); |
| 2768 | int sys_getsid (struct getsid_args *); |
| 2769 | int sys_setresuid (struct setresuid_args *); |
| 2770 | int sys_setresgid (struct setresgid_args *); |
| 2771 | int sys_aio_return (struct aio_return_args *); |
| 2772 | int sys_aio_suspend (struct aio_suspend_args *); |
| 2773 | int sys_aio_cancel (struct aio_cancel_args *); |
| 2774 | int sys_aio_error (struct aio_error_args *); |
| 2775 | int sys_aio_read (struct aio_read_args *); |
| 2776 | int sys_aio_write (struct aio_write_args *); |
| 2777 | int sys_lio_listio (struct lio_listio_args *); |
| 2778 | int sys_yield (struct yield_args *); |
| 2779 | int sys_mlockall (struct mlockall_args *); |
| 2780 | int sys_munlockall (struct munlockall_args *); |
| 2781 | int sys___getcwd (struct __getcwd_args *); |
| 2782 | int sys_sched_setparam (struct sched_setparam_args *); |
| 2783 | int sys_sched_getparam (struct sched_getparam_args *); |
| 2784 | int sys_sched_setscheduler (struct sched_setscheduler_args *); |
| 2785 | int sys_sched_getscheduler (struct sched_getscheduler_args *); |
| 2786 | int sys_sched_yield (struct sched_yield_args *); |
| 2787 | int sys_sched_get_priority_max (struct sched_get_priority_max_args *); |
| 2788 | int sys_sched_get_priority_min (struct sched_get_priority_min_args *); |
| 2789 | int sys_sched_rr_get_interval (struct sched_rr_get_interval_args *); |
| 2790 | int sys_utrace (struct utrace_args *); |
| 2791 | int sys_kldsym (struct kldsym_args *); |
| 2792 | int sys_jail (struct jail_args *); |
| 2793 | int sys_sigprocmask (struct sigprocmask_args *); |
| 2794 | int sys_sigsuspend (struct sigsuspend_args *); |
| 2795 | int sys_sigaction (struct sigaction_args *); |
| 2796 | int sys_sigpending (struct sigpending_args *); |
| 2797 | int sys_sigreturn (struct sigreturn_args *); |
| 2798 | int sys_sigtimedwait (struct sigtimedwait_args *); |
| 2799 | int sys_sigwaitinfo (struct sigwaitinfo_args *); |
| 2800 | int sys___acl_get_file (struct __acl_get_file_args *); |
| 2801 | int sys___acl_set_file (struct __acl_set_file_args *); |
| 2802 | int sys___acl_get_fd (struct __acl_get_fd_args *); |
| 2803 | int sys___acl_set_fd (struct __acl_set_fd_args *); |
| 2804 | int sys___acl_delete_file (struct __acl_delete_file_args *); |
| 2805 | int sys___acl_delete_fd (struct __acl_delete_fd_args *); |
| 2806 | int sys___acl_aclcheck_file (struct __acl_aclcheck_file_args *); |
| 2807 | int sys___acl_aclcheck_fd (struct __acl_aclcheck_fd_args *); |
| 2808 | int sys_extattrctl (struct extattrctl_args *); |
| 2809 | int sys_extattr_set_file (struct extattr_set_file_args *); |
| 2810 | int sys_extattr_get_file (struct extattr_get_file_args *); |
| 2811 | int sys_extattr_delete_file (struct extattr_delete_file_args *); |
| 2812 | int sys_aio_waitcomplete (struct aio_waitcomplete_args *); |
| 2813 | int sys_getresuid (struct getresuid_args *); |
| 2814 | int sys_getresgid (struct getresgid_args *); |
| 2815 | int sys_kqueue (struct kqueue_args *); |
| 2816 | int sys_kevent (struct kevent_args *); |
| 2817 | int sys_sctp_peeloff (struct sctp_peeloff_args *); |
| 2818 | int sys_lchflags (struct lchflags_args *); |
| 2819 | int sys_uuidgen (struct uuidgen_args *); |
| 2820 | int sys_sendfile (struct sendfile_args *); |
| 2821 | int sys_varsym_set (struct varsym_set_args *); |
| 2822 | int sys_varsym_get (struct varsym_get_args *); |
| 2823 | int sys_varsym_list (struct varsym_list_args *); |
| 2824 | int sys_exec_sys_register (struct exec_sys_register_args *); |
| 2825 | int sys_exec_sys_unregister (struct exec_sys_unregister_args *); |
| 2826 | int sys_sys_checkpoint (struct sys_checkpoint_args *); |
| 2827 | int sys_mountctl (struct mountctl_args *); |
| 2828 | int sys_umtx_sleep (struct umtx_sleep_args *); |
| 2829 | int sys_umtx_wakeup (struct umtx_wakeup_args *); |
| 2830 | int sys_jail_attach (struct jail_attach_args *); |
| 2831 | int sys_set_tls_area (struct set_tls_area_args *); |
| 2832 | int sys_get_tls_area (struct get_tls_area_args *); |
| 2833 | int sys_closefrom (struct closefrom_args *); |
| 2834 | int sys_stat (struct stat_args *); |
| 2835 | int sys_fstat (struct fstat_args *); |
| 2836 | int sys_lstat (struct lstat_args *); |
| 2837 | int sys_fhstat (struct fhstat_args *); |
| 2838 | int sys_getdirentries (struct getdirentries_args *); |
| 2839 | int sys_getdents (struct getdents_args *); |
| 2840 | int sys_usched_set (struct usched_set_args *); |
| 2841 | int sys_extaccept (struct extaccept_args *); |
| 2842 | int sys_extconnect (struct extconnect_args *); |
| 2843 | int sys_syslink (struct syslink_args *); |
| 2844 | int sys_mcontrol (struct mcontrol_args *); |
| 2845 | int sys_vmspace_create (struct vmspace_create_args *); |
| 2846 | int sys_vmspace_destroy (struct vmspace_destroy_args *); |
| 2847 | int sys_vmspace_ctl (struct vmspace_ctl_args *); |
| 2848 | int sys_vmspace_mmap (struct vmspace_mmap_args *); |
| 2849 | int sys_vmspace_munmap (struct vmspace_munmap_args *); |
| 2850 | int sys_vmspace_mcontrol (struct vmspace_mcontrol_args *); |
| 2851 | int sys_vmspace_pread (struct vmspace_pread_args *); |
| 2852 | int sys_vmspace_pwrite (struct vmspace_pwrite_args *); |
| 2853 | int sys_extexit (struct extexit_args *); |
| 2854 | int sys_lwp_create (struct lwp_create_args *); |
| 2855 | int sys_lwp_gettid (struct lwp_gettid_args *); |
| 2856 | int sys_lwp_kill (struct lwp_kill_args *); |
| 2857 | int sys_lwp_rtprio (struct lwp_rtprio_args *); |
| 2858 | int sys_pselect (struct pselect_args *); |
| 2859 | int sys_statvfs (struct statvfs_args *); |
| 2860 | int sys_fstatvfs (struct fstatvfs_args *); |
| 2861 | int sys_fhstatvfs (struct fhstatvfs_args *); |
| 2862 | int sys_getvfsstat (struct getvfsstat_args *); |
| 2863 | int sys_openat (struct openat_args *); |
| 2864 | int sys_fstatat (struct fstatat_args *); |
| 2865 | int sys_fchmodat (struct fchmodat_args *); |
| 2866 | int sys_fchownat (struct fchownat_args *); |
| 2867 | int sys_unlinkat (struct unlinkat_args *); |
| 2868 | int sys_faccessat (struct faccessat_args *); |
| 2869 | int sys_mq_open (struct mq_open_args *); |
| 2870 | int sys_mq_close (struct mq_close_args *); |
| 2871 | int sys_mq_unlink (struct mq_unlink_args *); |
| 2872 | int sys_mq_getattr (struct mq_getattr_args *); |
| 2873 | int sys_mq_setattr (struct mq_setattr_args *); |
| 2874 | int sys_mq_notify (struct mq_notify_args *); |
| 2875 | int sys_mq_send (struct mq_send_args *); |
| 2876 | int sys_mq_receive (struct mq_receive_args *); |
| 2877 | int sys_mq_timedsend (struct mq_timedsend_args *); |
| 2878 | int sys_mq_timedreceive (struct mq_timedreceive_args *); |
| 2879 | int sys_ioprio_set (struct ioprio_set_args *); |
| 2880 | int sys_ioprio_get (struct ioprio_get_args *); |
| 2881 | int sys_chroot_kernel (struct chroot_kernel_args *); |
| 2882 | int sys_renameat (struct renameat_args *); |
| 2883 | int sys_mkdirat (struct mkdirat_args *); |
| 2884 | int sys_mkfifoat (struct mkfifoat_args *); |
| 2885 | int sys_mknodat (struct mknodat_args *); |
| 2886 | int sys_readlinkat (struct readlinkat_args *); |
| 2887 | int sys_symlinkat (struct symlinkat_args *); |
| 2888 | int sys_swapoff (struct swapoff_args *); |
| 2889 | int sys_vquotactl (struct vquotactl_args *); |
| 2890 | int sys_linkat (struct linkat_args *); |
| 2891 | int sys_eaccess (struct eaccess_args *); |
| 2892 | |
| 2893 | #endif /* !_SYS_SYSPROTO_H_ */ |
| 2894 | #undef PAD_ |
| 2895 | |
| 2896 | #endif /* _KERNEL */ |