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