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