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