mqueues: Port POSIX message queues from NetBSD.
[dragonfly.git] / sys / sys / sysunion.h
CommitLineData
a64ba182
MD
1/*
2 * Union of syscall args for messaging.
3 *
4 * DO NOT EDIT-- this file is automatically generated.
a64ba182
MD
5 */
6
7union sysunion {
245e4f17 8#ifdef _KERNEL /* header only applies in kernel */
9ba76b73 9 struct lwkt_msg lmsg;
df2244e3 10 struct sysmsg sysmsg;
17e1a2b5
JS
11#endif
12#ifdef COMPAT_43
245e4f17 13#endif
a64ba182 14 struct nosys_args nosys;
753fd850 15 struct exit_args exit;
a64ba182
MD
16 struct fork_args fork;
17 struct read_args read;
18 struct write_args write;
19 struct open_args open;
20 struct close_args close;
21 struct wait_args wait4;
22#ifdef COMPAT_43
753fd850 23 struct ocreat_args sys_ocreat;
a64ba182
MD
24#endif
25 struct link_args link;
26 struct unlink_args unlink;
27 struct chdir_args chdir;
28 struct fchdir_args fchdir;
29 struct mknod_args mknod;
30 struct chmod_args chmod;
31 struct chown_args chown;
32 struct obreak_args obreak;
33 struct getfsstat_args getfsstat;
34#ifdef COMPAT_43
753fd850 35 struct olseek_args sys_olseek;
a64ba182
MD
36#endif
37 struct getpid_args getpid;
38 struct mount_args mount;
39 struct unmount_args unmount;
40 struct setuid_args setuid;
41 struct getuid_args getuid;
42 struct geteuid_args geteuid;
43 struct ptrace_args ptrace;
44 struct recvmsg_args recvmsg;
45 struct sendmsg_args sendmsg;
46 struct recvfrom_args recvfrom;
47 struct accept_args accept;
48 struct getpeername_args getpeername;
49 struct getsockname_args getsockname;
50 struct access_args access;
51 struct chflags_args chflags;
52 struct fchflags_args fchflags;
53 struct sync_args sync;
54 struct kill_args kill;
55#ifdef COMPAT_43
753fd850 56 struct ostat_args sys_ostat;
a64ba182
MD
57#endif
58 struct getppid_args getppid;
59#ifdef COMPAT_43
753fd850 60 struct olstat_args sys_olstat;
a64ba182
MD
61#endif
62 struct dup_args dup;
63 struct pipe_args pipe;
64 struct getegid_args getegid;
65 struct profil_args profil;
66 struct ktrace_args ktrace;
a64ba182 67 struct getgid_args getgid;
a64ba182
MD
68 struct getlogin_args getlogin;
69 struct setlogin_args setlogin;
70 struct acct_args acct;
a64ba182
MD
71 struct sigaltstack_args sigaltstack;
72 struct ioctl_args ioctl;
73 struct reboot_args reboot;
74 struct revoke_args revoke;
75 struct symlink_args symlink;
76 struct readlink_args readlink;
77 struct execve_args execve;
78 struct umask_args umask;
79 struct chroot_args chroot;
80#ifdef COMPAT_43
753fd850 81 struct ofstat_args sys_ofstat;
a64ba182
MD
82#endif
83#ifdef COMPAT_43
84 struct getkerninfo_args getkerninfo;
85#endif
86 struct getpagesize_args getpagesize;
87 struct msync_args msync;
88 struct vfork_args vfork;
89 struct sbrk_args sbrk;
90 struct sstk_args sstk;
91#ifdef COMPAT_43
753fd850 92 struct ommap_args sys_ommap;
a64ba182
MD
93#endif
94 struct ovadvise_args ovadvise;
95 struct munmap_args munmap;
96 struct mprotect_args mprotect;
97 struct madvise_args madvise;
98 struct mincore_args mincore;
99 struct getgroups_args getgroups;
100 struct setgroups_args setgroups;
101 struct getpgrp_args getpgrp;
102 struct setpgid_args setpgid;
103 struct setitimer_args setitimer;
753fd850 104 struct owait_args sys_owait;
a64ba182
MD
105 struct swapon_args swapon;
106 struct getitimer_args getitimer;
107#ifdef COMPAT_43
108 struct gethostname_args gethostname;
109#endif
110#ifdef COMPAT_43
111 struct sethostname_args sethostname;
112#endif
113 struct getdtablesize_args getdtablesize;
114 struct dup2_args dup2;
115 struct fcntl_args fcntl;
116 struct select_args select;
117 struct fsync_args fsync;
118 struct setpriority_args setpriority;
119 struct socket_args socket;
120 struct connect_args connect;
121 struct getpriority_args getpriority;
122#ifdef COMPAT_43
753fd850 123 struct osend_args sys_osend;
a64ba182
MD
124#endif
125#ifdef COMPAT_43
753fd850 126 struct orecv_args sys_orecv;
a64ba182
MD
127#endif
128 struct bind_args bind;
129 struct setsockopt_args setsockopt;
130 struct listen_args listen;
131#ifdef COMPAT_43
753fd850 132 struct osigvec_args sys_osigvec;
a64ba182
MD
133#endif
134#ifdef COMPAT_43
753fd850 135 struct osigblock_args sys_osigblock;
a64ba182
MD
136#endif
137#ifdef COMPAT_43
753fd850 138 struct osigsetmask_args sys_osigsetmask;
a64ba182 139#endif
a64ba182 140#ifdef COMPAT_43
753fd850 141 struct osigstack_args sys_osigstack;
a64ba182
MD
142#endif
143#ifdef COMPAT_43
753fd850 144 struct orecvmsg_args sys_orecvmsg;
a64ba182
MD
145#endif
146#ifdef COMPAT_43
753fd850 147 struct osendmsg_args sys_osendmsg;
a64ba182
MD
148#endif
149 struct gettimeofday_args gettimeofday;
150 struct getrusage_args getrusage;
151 struct getsockopt_args getsockopt;
152 struct readv_args readv;
153 struct writev_args writev;
154 struct settimeofday_args settimeofday;
155 struct fchown_args fchown;
156 struct fchmod_args fchmod;
157 struct setreuid_args setreuid;
158 struct setregid_args setregid;
159 struct rename_args rename;
160#ifdef COMPAT_43
753fd850 161 struct otruncate_args sys_otruncate;
a64ba182
MD
162#endif
163#ifdef COMPAT_43
753fd850 164 struct oftruncate_args sys_oftruncate;
a64ba182
MD
165#endif
166 struct flock_args flock;
167 struct mkfifo_args mkfifo;
168 struct sendto_args sendto;
169 struct shutdown_args shutdown;
170 struct socketpair_args socketpair;
171 struct mkdir_args mkdir;
172 struct rmdir_args rmdir;
173 struct utimes_args utimes;
174 struct adjtime_args adjtime;
175#ifdef COMPAT_43
753fd850 176 struct ogetpeername_args sys_ogetpeername;
a64ba182 177#endif
753fd850 178 struct ogethostid_args sys_ogethostid;
a64ba182 179#ifdef COMPAT_43
753fd850 180 struct osethostid_args sys_osethostid;
a64ba182
MD
181#endif
182#ifdef COMPAT_43
753fd850 183 struct ogetrlimit_args sys_ogetrlimit;
a64ba182
MD
184#endif
185#ifdef COMPAT_43
753fd850 186 struct osetrlimit_args sys_osetrlimit;
a64ba182
MD
187#endif
188#ifdef COMPAT_43
753fd850 189 struct okillpg_args sys_okillpg;
a64ba182
MD
190#endif
191 struct setsid_args setsid;
192 struct quotactl_args quotactl;
753fd850 193 struct oquota_args sys_oquota;
a64ba182
MD
194 struct nfssvc_args nfssvc;
195#ifdef COMPAT_43
753fd850 196 struct ogetdirentries_args sys_ogetdirentries;
a64ba182
MD
197#endif
198 struct statfs_args statfs;
199 struct fstatfs_args fstatfs;
200 struct getfh_args getfh;
201 struct getdomainname_args getdomainname;
202 struct setdomainname_args setdomainname;
203 struct uname_args uname;
204 struct sysarch_args sysarch;
205 struct rtprio_args rtprio;
206 struct semsys_args semsys;
207 struct msgsys_args msgsys;
208 struct shmsys_args shmsys;
b09fd398
MD
209 struct extpread_args extpread;
210 struct extpwrite_args extpwrite;
a64ba182
MD
211 struct ntp_adjtime_args ntp_adjtime;
212 struct setgid_args setgid;
213 struct setegid_args setegid;
214 struct seteuid_args seteuid;
f1787048 215#ifdef COMPAT_DF12
753fd850 216 struct dfbsd12_stat_args sys_dfbsd12_stat;
f1787048
JS
217#endif
218#ifdef COMPAT_DF12
753fd850 219 struct dfbsd12_fstat_args sys_dfbsd12_fstat;
f1787048
JS
220#endif
221#ifdef COMPAT_DF12
753fd850 222 struct dfbsd12_lstat_args sys_dfbsd12_lstat;
f1787048 223#endif
a64ba182
MD
224 struct pathconf_args pathconf;
225 struct fpathconf_args fpathconf;
226 struct __getrlimit_args getrlimit;
227 struct __setrlimit_args setrlimit;
01f31ab3 228#ifdef COMPAT_DF12
753fd850 229 struct dfbsd12_getdirentries_args sys_dfbsd12_getdirentries;
01f31ab3 230#endif
a64ba182
MD
231 struct mmap_args mmap;
232 struct lseek_args lseek;
233 struct truncate_args truncate;
234 struct ftruncate_args ftruncate;
235 struct sysctl_args __sysctl;
236 struct mlock_args mlock;
237 struct munlock_args munlock;
238 struct undelete_args undelete;
239 struct futimes_args futimes;
240 struct getpgid_args getpgid;
241 struct poll_args poll;
242 struct __semctl_args __semctl;
243 struct semget_args semget;
244 struct semop_args semop;
245 struct msgctl_args msgctl;
246 struct msgget_args msgget;
247 struct msgsnd_args msgsnd;
248 struct msgrcv_args msgrcv;
249 struct shmat_args shmat;
250 struct shmctl_args shmctl;
251 struct shmdt_args shmdt;
252 struct shmget_args shmget;
253 struct clock_gettime_args clock_gettime;
254 struct clock_settime_args clock_settime;
255 struct clock_getres_args clock_getres;
256 struct nanosleep_args nanosleep;
257 struct minherit_args minherit;
258 struct rfork_args rfork;
259 struct openbsd_poll_args openbsd_poll;
260 struct issetugid_args issetugid;
261 struct lchown_args lchown;
01f31ab3 262#ifdef COMPAT_DF12
753fd850 263 struct dfbsd12_getdents_args sys_dfbsd12_getdents;
01f31ab3 264#endif
a64ba182
MD
265 struct lchmod_args lchmod;
266 struct lutimes_args lutimes;
b09fd398
MD
267 struct extpreadv_args extpreadv;
268 struct extpwritev_args extpwritev;
a64ba182
MD
269 struct fhstatfs_args fhstatfs;
270 struct fhopen_args fhopen;
f1787048 271#ifdef COMPAT_DF12
753fd850 272 struct dfbsd12_fhstat_args sys_dfbsd12_fhstat;
f1787048 273#endif
a64ba182
MD
274 struct modnext_args modnext;
275 struct modstat_args modstat;
276 struct modfnext_args modfnext;
277 struct modfind_args modfind;
278 struct kldload_args kldload;
279 struct kldunload_args kldunload;
280 struct kldfind_args kldfind;
281 struct kldnext_args kldnext;
282 struct kldstat_args kldstat;
283 struct kldfirstmod_args kldfirstmod;
284 struct getsid_args getsid;
285 struct setresuid_args setresuid;
286 struct setresgid_args setresgid;
287 struct aio_return_args aio_return;
288 struct aio_suspend_args aio_suspend;
289 struct aio_cancel_args aio_cancel;
290 struct aio_error_args aio_error;
291 struct aio_read_args aio_read;
292 struct aio_write_args aio_write;
293 struct lio_listio_args lio_listio;
294 struct yield_args yield;
295 struct thr_sleep_args thr_sleep;
296 struct thr_wakeup_args thr_wakeup;
297 struct mlockall_args mlockall;
298 struct munlockall_args munlockall;
299 struct __getcwd_args __getcwd;
300 struct sched_setparam_args sched_setparam;
301 struct sched_getparam_args sched_getparam;
302 struct sched_setscheduler_args sched_setscheduler;
303 struct sched_getscheduler_args sched_getscheduler;
304 struct sched_yield_args sched_yield;
305 struct sched_get_priority_max_args sched_get_priority_max;
306 struct sched_get_priority_min_args sched_get_priority_min;
307 struct sched_rr_get_interval_args sched_rr_get_interval;
308 struct utrace_args utrace;
a64ba182
MD
309 struct kldsym_args kldsym;
310 struct jail_args jail;
311 struct sigprocmask_args sigprocmask;
312 struct sigsuspend_args sigsuspend;
313 struct sigaction_args sigaction;
314 struct sigpending_args sigpending;
315 struct sigreturn_args sigreturn;
3a59f0f7
DX
316 struct sigtimedwait_args sigtimedwait;
317 struct sigwaitinfo_args sigwaitinfo;
a64ba182
MD
318 struct __acl_get_file_args __acl_get_file;
319 struct __acl_set_file_args __acl_set_file;
320 struct __acl_get_fd_args __acl_get_fd;
321 struct __acl_set_fd_args __acl_set_fd;
322 struct __acl_delete_file_args __acl_delete_file;
323 struct __acl_delete_fd_args __acl_delete_fd;
324 struct __acl_aclcheck_file_args __acl_aclcheck_file;
325 struct __acl_aclcheck_fd_args __acl_aclcheck_fd;
326 struct extattrctl_args extattrctl;
327 struct extattr_set_file_args extattr_set_file;
328 struct extattr_get_file_args extattr_get_file;
329 struct extattr_delete_file_args extattr_delete_file;
330 struct aio_waitcomplete_args aio_waitcomplete;
331 struct getresuid_args getresuid;
332 struct getresgid_args getresgid;
333 struct kqueue_args kqueue;
334 struct kevent_args kevent;
78812139 335 struct sctp_peeloff_args sctp_peeloff;
91fdc001 336 struct lchflags_args lchflags;
2a0783db 337 struct uuidgen_args uuidgen;
a64ba182 338 struct sendfile_args sendfile;
98a7f915
MD
339 struct varsym_set_args varsym_set;
340 struct varsym_get_args varsym_get;
0a004aa2 341 struct varsym_list_args varsym_list;
a722be49
MD
342 struct upc_register_args upc_register;
343 struct upc_control_args upc_control;
1bc8e992
MD
344 struct caps_sys_service_args caps_sys_service;
345 struct caps_sys_client_args caps_sys_client;
346 struct caps_sys_close_args caps_sys_close;
347 struct caps_sys_put_args caps_sys_put;
348 struct caps_sys_reply_args caps_sys_reply;
349 struct caps_sys_get_args caps_sys_get;
350 struct caps_sys_wait_args caps_sys_wait;
351 struct caps_sys_abort_args caps_sys_abort;
e30f9e2c
MD
352 struct caps_sys_getgen_args caps_sys_getgen;
353 struct caps_sys_setgen_args caps_sys_setgen;
29802dbb
MD
354 struct exec_sys_register_args exec_sys_register;
355 struct exec_sys_unregister_args exec_sys_unregister;
0ba6fbbf 356 struct sys_checkpoint_args sys_checkpoint;
949ecb9b 357 struct mountctl_args mountctl;
da5fb9ef
MD
358 struct umtx_sleep_args umtx_sleep;
359 struct umtx_wakeup_args umtx_wakeup;
b9fca94d 360 struct jail_attach_args jail_attach;
ba491dfb
MD
361 struct set_tls_area_args set_tls_area;
362 struct get_tls_area_args get_tls_area;
ae5995b9 363 struct closefrom_args closefrom;
f1787048
JS
364 struct stat_args stat;
365 struct fstat_args fstat;
366 struct lstat_args lstat;
367 struct fhstat_args fhstat;
01f31ab3
JS
368 struct getdirentries_args getdirentries;
369 struct getdents_args getdents;
cb7f4ab1 370 struct usched_set_args usched_set;
b09fd398
MD
371 struct extaccept_args extaccept;
372 struct extconnect_args extconnect;
e143cb06 373 struct syslink_args syslink;
afeabdca 374 struct mcontrol_args mcontrol;
d3313941
MD
375 struct vmspace_create_args vmspace_create;
376 struct vmspace_destroy_args vmspace_destroy;
377 struct vmspace_ctl_args vmspace_ctl;
378 struct vmspace_mmap_args vmspace_mmap;
379 struct vmspace_munmap_args vmspace_munmap;
380 struct vmspace_mcontrol_args vmspace_mcontrol;
021a4ed4
MD
381 struct vmspace_pread_args vmspace_pread;
382 struct vmspace_pwrite_args vmspace_pwrite;
a704dbd9 383 struct extexit_args extexit;
a0a27cfb 384 struct lwp_create_args lwp_create;
c2e552b5
SS
385 struct lwp_gettid_args lwp_gettid;
386 struct lwp_kill_args lwp_kill;
649d3bd2 387 struct lwp_rtprio_args lwp_rtprio;
ae7cb1b5 388 struct pselect_args pselect;
d9fad06e
MD
389 struct statvfs_args statvfs;
390 struct fstatvfs_args fstatvfs;
391 struct fhstatvfs_args fhstatvfs;
00fe9d48 392 struct getvfsstat_args getvfsstat;
83a11774 393 struct openat_args openat;
e101a3f4 394 struct fstatat_args fstatat;
8cde3c79 395 struct fchmodat_args fchmodat;
32013176 396 struct fchownat_args fchownat;
3a6d8629 397 struct unlinkat_args unlinkat;
18cf460b 398 struct faccessat_args faccessat;
a64ba182 399};