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