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