1 /*
2 * System call prototypes.
3 *
4 * DO NOT EDIT-- this file is automatically @generated.
5 * $FreeBSD$
6 */
7
8 #ifndef _IBCS2_XENIX_H_
9 #define _IBCS2_XENIX_H_
10
11 #include <sys/signal.h>
12 #include <sys/acl.h>
13 #include <sys/cpuset.h>
14 #include <sys/domainset.h>
15 #include <sys/_ffcounter.h>
16 #include <sys/_semaphore.h>
17 #include <sys/ucontext.h>
18 #include <sys/wait.h>
19
20 #include <bsm/audit_kevents.h>
21
22 struct proc;
23
24 struct thread;
25
26 #define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \
27 0 : sizeof(register_t) - sizeof(t))
28
29 #if BYTE_ORDER == LITTLE_ENDIAN
30 #define PADL_(t) 0
31 #define PADR_(t) PAD_(t)
32 #else
33 #define PADL_(t) PAD_(t)
34 #define PADR_(t) 0
35 #endif
36
37 struct xenix_rdchk_args {
38 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
39 };
40 struct xenix_chsize_args {
41 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
42 char size_l_[PADL_(long)]; long size; char size_r_[PADR_(long)];
43 };
44 struct xenix_ftime_args {
45 char tp_l_[PADL_(struct timeb *)]; struct timeb * tp; char tp_r_[PADR_(struct timeb *)];
46 };
47 struct xenix_nap_args {
48 char millisec_l_[PADL_(int)]; int millisec; char millisec_r_[PADR_(int)];
49 };
50 struct xenix_scoinfo_args {
51 register_t dummy;
52 };
53 struct xenix_eaccess_args {
54 char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
55 char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
56 };
57 struct ibcs2_sigaction_args {
58 char sig_l_[PADL_(int)]; int sig; char sig_r_[PADR_(int)];
59 char act_l_[PADL_(struct ibcs2_sigaction *)]; struct ibcs2_sigaction * act; char act_r_[PADR_(struct ibcs2_sigaction *)];
60 char oact_l_[PADL_(struct ibcs2_sigaction *)]; struct ibcs2_sigaction * oact; char oact_r_[PADR_(struct ibcs2_sigaction *)];
61 };
62 struct ibcs2_sigprocmask_args {
63 char how_l_[PADL_(int)]; int how; char how_r_[PADR_(int)];
64 char set_l_[PADL_(ibcs2_sigset_t *)]; ibcs2_sigset_t * set; char set_r_[PADR_(ibcs2_sigset_t *)];
65 char oset_l_[PADL_(ibcs2_sigset_t *)]; ibcs2_sigset_t * oset; char oset_r_[PADR_(ibcs2_sigset_t *)];
66 };
67 struct ibcs2_sigpending_args {
68 char mask_l_[PADL_(ibcs2_sigset_t *)]; ibcs2_sigset_t * mask; char mask_r_[PADR_(ibcs2_sigset_t *)];
69 };
70 struct ibcs2_sigsuspend_args {
71 char mask_l_[PADL_(ibcs2_sigset_t *)]; ibcs2_sigset_t * mask; char mask_r_[PADR_(ibcs2_sigset_t *)];
72 };
73 struct ibcs2_getgroups_args {
74 char gidsetsize_l_[PADL_(int)]; int gidsetsize; char gidsetsize_r_[PADR_(int)];
75 char gidset_l_[PADL_(ibcs2_gid_t *)]; ibcs2_gid_t * gidset; char gidset_r_[PADR_(ibcs2_gid_t *)];
76 };
77 struct ibcs2_setgroups_args {
78 char gidsetsize_l_[PADL_(int)]; int gidsetsize; char gidsetsize_r_[PADR_(int)];
79 char gidset_l_[PADL_(ibcs2_gid_t *)]; ibcs2_gid_t * gidset; char gidset_r_[PADR_(ibcs2_gid_t *)];
80 };
81 struct ibcs2_sysconf_args {
82 char name_l_[PADL_(int)]; int name; char name_r_[PADR_(int)];
83 };
84 struct ibcs2_pathconf_args {
85 char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
86 char name_l_[PADL_(int)]; int name; char name_r_[PADR_(int)];
87 };
88 struct ibcs2_fpathconf_args {
89 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
90 char name_l_[PADL_(int)]; int name; char name_r_[PADR_(int)];
91 };
92 struct ibcs2_rename_args {
93 char from_l_[PADL_(char *)]; char * from; char from_r_[PADR_(char *)];
94 char to_l_[PADL_(char *)]; char * to; char to_r_[PADR_(char *)];
95 };
96 struct xenix_utsname_args {
97 char addr_l_[PADL_(long)]; long addr; char addr_r_[PADR_(long)];
98 };
99 int xenix_rdchk(struct thread *, struct xenix_rdchk_args *);
100 int xenix_chsize(struct thread *, struct xenix_chsize_args *);
101 int xenix_ftime(struct thread *, struct xenix_ftime_args *);
102 int xenix_nap(struct thread *, struct xenix_nap_args *);
103 int xenix_scoinfo(struct thread *, struct xenix_scoinfo_args *);
104 int xenix_eaccess(struct thread *, struct xenix_eaccess_args *);
105 int ibcs2_sigaction(struct thread *, struct ibcs2_sigaction_args *);
106 int ibcs2_sigprocmask(struct thread *, struct ibcs2_sigprocmask_args *);
107 int ibcs2_sigpending(struct thread *, struct ibcs2_sigpending_args *);
108 int ibcs2_sigsuspend(struct thread *, struct ibcs2_sigsuspend_args *);
109 int ibcs2_getgroups(struct thread *, struct ibcs2_getgroups_args *);
110 int ibcs2_setgroups(struct thread *, struct ibcs2_setgroups_args *);
111 int ibcs2_sysconf(struct thread *, struct ibcs2_sysconf_args *);
112 int ibcs2_pathconf(struct thread *, struct ibcs2_pathconf_args *);
113 int ibcs2_fpathconf(struct thread *, struct ibcs2_fpathconf_args *);
114 int ibcs2_rename(struct thread *, struct ibcs2_rename_args *);
115 int xenix_utsname(struct thread *, struct xenix_utsname_args *);
116
117 #ifdef COMPAT_43
118
119
120 #endif /* COMPAT_43 */
121
122
123 #ifdef COMPAT_FREEBSD4
124
125
126 #endif /* COMPAT_FREEBSD4 */
127
128
129 #ifdef COMPAT_FREEBSD6
130
131
132 #endif /* COMPAT_FREEBSD6 */
133
134
135 #ifdef COMPAT_FREEBSD7
136
137
138 #endif /* COMPAT_FREEBSD7 */
139
140
141 #ifdef COMPAT_FREEBSD10
142
143
144 #endif /* COMPAT_FREEBSD10 */
145
146
147 #ifdef COMPAT_FREEBSD11
148
149
150 #endif /* COMPAT_FREEBSD11 */
151
152 #define IBCS2_XENIX_AUE_xenix_rdchk AUE_NULL
153 #define IBCS2_XENIX_AUE_xenix_chsize AUE_FTRUNCATE
154 #define IBCS2_XENIX_AUE_xenix_ftime AUE_NULL
155 #define IBCS2_XENIX_AUE_xenix_nap AUE_NULL
156 #define IBCS2_XENIX_AUE_xenix_scoinfo AUE_NULL
157 #define IBCS2_XENIX_AUE_xenix_eaccess AUE_EACCESS
158 #define IBCS2_XENIX_AUE_ibcs2_sigaction AUE_NULL
159 #define IBCS2_XENIX_AUE_ibcs2_sigprocmask AUE_NULL
160 #define IBCS2_XENIX_AUE_ibcs2_sigpending AUE_NULL
161 #define IBCS2_XENIX_AUE_ibcs2_sigsuspend AUE_NULL
162 #define IBCS2_XENIX_AUE_ibcs2_getgroups AUE_GETGROUPS
163 #define IBCS2_XENIX_AUE_ibcs2_setgroups AUE_SETGROUPS
164 #define IBCS2_XENIX_AUE_ibcs2_sysconf AUE_NULL
165 #define IBCS2_XENIX_AUE_ibcs2_pathconf AUE_PATHCONF
166 #define IBCS2_XENIX_AUE_ibcs2_fpathconf AUE_FPATHCONF
167 #define IBCS2_XENIX_AUE_ibcs2_rename AUE_RENAME
168 #define IBCS2_XENIX_AUE_xenix_utsname AUE_NULL
169
170 #undef PAD_
171 #undef PADL_
172 #undef PADR_
173
174 #endif /* !_IBCS2_XENIX_H_ */
Cache object: 75f1b87589cb8a41ab695879984e726b
|