]>
Commit | Line | Data |
---|---|---|
91447636 | 1 | /* |
2d21ac55 | 2 | * Copyright (c) 2004-2007 Apple Inc. All rights reserved. |
91447636 | 3 | * |
2d21ac55 | 4 | * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ |
91447636 | 5 | * |
2d21ac55 A |
6 | * This file contains Original Code and/or Modifications of Original Code |
7 | * as defined in and that are subject to the Apple Public Source License | |
8 | * Version 2.0 (the 'License'). You may not use this file except in | |
9 | * compliance with the License. The rights granted to you under the License | |
10 | * may not be used to create, or enable the creation or redistribution of, | |
11 | * unlawful or unlicensed copies of an Apple operating system, or to | |
12 | * circumvent, violate, or enable the circumvention or violation of, any | |
13 | * terms of an Apple operating system software license agreement. | |
8f6c56a5 | 14 | * |
2d21ac55 A |
15 | * Please obtain a copy of the License at |
16 | * http://www.opensource.apple.com/apsl/ and read it before using this file. | |
8f6c56a5 | 17 | * |
2d21ac55 A |
18 | * The Original Code and all software distributed under the License are |
19 | * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER | |
20 | * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, | |
21 | * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, | |
22 | * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. | |
23 | * Please see the License for the specific language governing rights and | |
24 | * limitations under the License. | |
25 | * | |
26 | * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ | |
91447636 A |
27 | * |
28 | * | |
29 | * System call switch table. | |
30 | * | |
31 | * DO NOT EDIT-- this file is automatically generated. | |
32 | * created from syscalls.master | |
33 | */ | |
34 | ||
35 | #ifndef _SYS_SYSPROTO_H_ | |
36 | #define _SYS_SYSPROTO_H_ | |
37 | ||
38 | #include <sys/appleapiopts.h> | |
39 | #include <sys/cdefs.h> | |
40 | #include <sys/mount_internal.h> | |
41 | #include <sys/types.h> | |
42 | #include <sys/sem_internal.h> | |
43 | #include <sys/semaphore.h> | |
44 | #include <sys/wait.h> | |
2d21ac55 | 45 | #include <mach/shared_region.h> |
91447636 A |
46 | |
47 | #ifdef KERNEL | |
48 | #ifdef __APPLE_API_PRIVATE | |
91447636 A |
49 | #define PAD_(t) (sizeof(uint64_t) <= sizeof(t) \ |
50 | ? 0 : sizeof(uint64_t) - sizeof(t)) | |
91447636 A |
51 | #if BYTE_ORDER == LITTLE_ENDIAN |
52 | #define PADL_(t) 0 | |
53 | #define PADR_(t) PAD_(t) | |
54 | #else | |
55 | #define PADL_(t) PAD_(t) | |
56 | #define PADR_(t) 0 | |
57 | #endif | |
58 | ||
59 | __BEGIN_DECLS | |
60 | #ifndef __MUNGE_ONCE | |
61 | #define __MUNGE_ONCE | |
91447636 A |
62 | void munge_w(const void *, void *); |
63 | void munge_ww(const void *, void *); | |
64 | void munge_www(const void *, void *); | |
65 | void munge_wwww(const void *, void *); | |
66 | void munge_wwwww(const void *, void *); | |
67 | void munge_wwwwww(const void *, void *); | |
68 | void munge_wwwwwww(const void *, void *); | |
69 | void munge_wwwwwwww(const void *, void *); | |
6601e61a A |
70 | void munge_wl(const void *, void *); |
71 | void munge_wlw(const void *, void *); | |
72 | void munge_wwwl(const void *, void *); | |
2d21ac55 A |
73 | void munge_wwwlww(const void *, void *); |
74 | void munge_wwlwww(const void *, void *); | |
6601e61a A |
75 | void munge_wwwwl(const void *, void *); |
76 | void munge_wwwwwl(const void *, void *); | |
77 | void munge_wsw(const void *, void *); | |
78 | void munge_wws(const void *, void *); | |
79 | void munge_wwwsw(const void *, void *); | |
0c530ab8 A |
80 | #ifdef __ppc__ |
81 | void munge_d(const void *, void *); | |
82 | void munge_dd(const void *, void *); | |
83 | void munge_ddd(const void *, void *); | |
84 | void munge_dddd(const void *, void *); | |
85 | void munge_ddddd(const void *, void *); | |
86 | void munge_dddddd(const void *, void *); | |
87 | void munge_ddddddd(const void *, void *); | |
88 | void munge_dddddddd(const void *, void *); | |
91447636 | 89 | #else |
91447636 A |
90 | #define munge_d NULL |
91 | #define munge_dd NULL | |
92 | #define munge_ddd NULL | |
93 | #define munge_dddd NULL | |
94 | #define munge_ddddd NULL | |
95 | #define munge_dddddd NULL | |
96 | #define munge_ddddddd NULL | |
97 | #define munge_dddddddd NULL | |
91447636 A |
98 | #endif // __ppc__ |
99 | #endif /* !__MUNGE_ONCE */ | |
100 | ||
101 | struct nosys_args { | |
102 | register_t dummy; | |
103 | }; | |
104 | struct exit_args { | |
105 | char rval_l_[PADL_(int)]; int rval; char rval_r_[PADR_(int)]; | |
106 | }; | |
107 | struct fork_args { | |
108 | register_t dummy; | |
109 | }; | |
110 | struct read_args { | |
111 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
112 | char cbuf_l_[PADL_(user_addr_t)]; user_addr_t cbuf; char cbuf_r_[PADR_(user_addr_t)]; | |
113 | char nbyte_l_[PADL_(user_size_t)]; user_size_t nbyte; char nbyte_r_[PADR_(user_size_t)]; | |
114 | }; | |
115 | struct write_args { | |
116 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
117 | char cbuf_l_[PADL_(user_addr_t)]; user_addr_t cbuf; char cbuf_r_[PADR_(user_addr_t)]; | |
118 | char nbyte_l_[PADL_(user_size_t)]; user_size_t nbyte; char nbyte_r_[PADR_(user_size_t)]; | |
119 | }; | |
120 | struct open_args { | |
121 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
122 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; | |
123 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; | |
124 | }; | |
125 | struct close_args { | |
126 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
127 | }; | |
128 | struct wait4_args { | |
129 | char pid_l_[PADL_(int)]; int pid; char pid_r_[PADR_(int)]; | |
130 | char status_l_[PADL_(user_addr_t)]; user_addr_t status; char status_r_[PADR_(user_addr_t)]; | |
131 | char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)]; | |
132 | char rusage_l_[PADL_(user_addr_t)]; user_addr_t rusage; char rusage_r_[PADR_(user_addr_t)]; | |
133 | }; | |
134 | struct link_args { | |
135 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
136 | char link_l_[PADL_(user_addr_t)]; user_addr_t link; char link_r_[PADR_(user_addr_t)]; | |
137 | }; | |
138 | struct unlink_args { | |
139 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
140 | }; | |
141 | struct chdir_args { | |
142 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
143 | }; | |
144 | struct fchdir_args { | |
145 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
146 | }; | |
147 | struct mknod_args { | |
148 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
149 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; | |
150 | char dev_l_[PADL_(int)]; int dev; char dev_r_[PADR_(int)]; | |
151 | }; | |
152 | struct chmod_args { | |
153 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
154 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; | |
155 | }; | |
156 | struct chown_args { | |
157 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
158 | char uid_l_[PADL_(int)]; int uid; char uid_r_[PADR_(int)]; | |
159 | char gid_l_[PADL_(int)]; int gid; char gid_r_[PADR_(int)]; | |
160 | }; | |
161 | struct obreak_args { | |
162 | char nsize_l_[PADL_(char *)]; char * nsize; char nsize_r_[PADR_(char *)]; | |
163 | }; | |
164 | #if COMPAT_GETFSSTAT | |
165 | struct ogetfsstat_args { | |
166 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; | |
167 | char bufsize_l_[PADL_(int)]; int bufsize; char bufsize_r_[PADR_(int)]; | |
168 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; | |
169 | }; | |
170 | #else | |
171 | struct getfsstat_args { | |
172 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; | |
173 | char bufsize_l_[PADL_(int)]; int bufsize; char bufsize_r_[PADR_(int)]; | |
174 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; | |
175 | }; | |
176 | #endif | |
177 | struct getpid_args { | |
178 | register_t dummy; | |
179 | }; | |
180 | struct setuid_args { | |
181 | char uid_l_[PADL_(uid_t)]; uid_t uid; char uid_r_[PADR_(uid_t)]; | |
182 | }; | |
183 | struct getuid_args { | |
184 | register_t dummy; | |
185 | }; | |
186 | struct geteuid_args { | |
187 | register_t dummy; | |
188 | }; | |
189 | struct ptrace_args { | |
190 | char req_l_[PADL_(int)]; int req; char req_r_[PADR_(int)]; | |
191 | char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)]; | |
192 | char addr_l_[PADL_(user_addr_t)]; user_addr_t addr; char addr_r_[PADR_(user_addr_t)]; | |
193 | char data_l_[PADL_(int)]; int data; char data_r_[PADR_(int)]; | |
194 | }; | |
2d21ac55 | 195 | #if SOCKETS |
91447636 A |
196 | struct recvmsg_args { |
197 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; | |
198 | char msg_l_[PADL_(user_addr_t)]; user_addr_t msg; char msg_r_[PADR_(user_addr_t)]; | |
199 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; | |
200 | }; | |
201 | struct sendmsg_args { | |
202 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; | |
203 | char msg_l_[PADL_(user_addr_t)]; user_addr_t msg; char msg_r_[PADR_(user_addr_t)]; | |
204 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; | |
205 | }; | |
206 | struct recvfrom_args { | |
207 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; | |
208 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; | |
209 | char len_l_[PADL_(user_size_t)]; user_size_t len; char len_r_[PADR_(user_size_t)]; | |
210 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; | |
211 | char from_l_[PADL_(user_addr_t)]; user_addr_t from; char from_r_[PADR_(user_addr_t)]; | |
212 | char fromlenaddr_l_[PADL_(user_addr_t)]; user_addr_t fromlenaddr; char fromlenaddr_r_[PADR_(user_addr_t)]; | |
213 | }; | |
214 | struct accept_args { | |
215 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; | |
216 | char name_l_[PADL_(user_addr_t)]; user_addr_t name; char name_r_[PADR_(user_addr_t)]; | |
217 | char anamelen_l_[PADL_(user_addr_t)]; user_addr_t anamelen; char anamelen_r_[PADR_(user_addr_t)]; | |
218 | }; | |
219 | struct getpeername_args { | |
220 | char fdes_l_[PADL_(int)]; int fdes; char fdes_r_[PADR_(int)]; | |
221 | char asa_l_[PADL_(user_addr_t)]; user_addr_t asa; char asa_r_[PADR_(user_addr_t)]; | |
222 | char alen_l_[PADL_(user_addr_t)]; user_addr_t alen; char alen_r_[PADR_(user_addr_t)]; | |
223 | }; | |
224 | struct getsockname_args { | |
225 | char fdes_l_[PADL_(int)]; int fdes; char fdes_r_[PADR_(int)]; | |
226 | char asa_l_[PADL_(user_addr_t)]; user_addr_t asa; char asa_r_[PADR_(user_addr_t)]; | |
227 | char alen_l_[PADL_(user_addr_t)]; user_addr_t alen; char alen_r_[PADR_(user_addr_t)]; | |
228 | }; | |
2d21ac55 A |
229 | #else |
230 | #endif /* SOCKETS */ | |
91447636 A |
231 | struct access_args { |
232 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
233 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; | |
234 | }; | |
235 | struct chflags_args { | |
236 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
237 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; | |
238 | }; | |
239 | struct fchflags_args { | |
240 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
241 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; | |
242 | }; | |
243 | struct sync_args { | |
244 | register_t dummy; | |
245 | }; | |
246 | struct kill_args { | |
247 | char pid_l_[PADL_(int)]; int pid; char pid_r_[PADR_(int)]; | |
248 | char signum_l_[PADL_(int)]; int signum; char signum_r_[PADR_(int)]; | |
2d21ac55 | 249 | char posix_l_[PADL_(int)]; int posix; char posix_r_[PADR_(int)]; |
91447636 A |
250 | }; |
251 | struct getppid_args { | |
252 | register_t dummy; | |
253 | }; | |
254 | struct dup_args { | |
255 | char fd_l_[PADL_(u_int)]; u_int fd; char fd_r_[PADR_(u_int)]; | |
256 | }; | |
257 | struct pipe_args { | |
258 | register_t dummy; | |
259 | }; | |
260 | struct getegid_args { | |
261 | register_t dummy; | |
262 | }; | |
263 | struct profil_args { | |
264 | char bufbase_l_[PADL_(user_addr_t)]; user_addr_t bufbase; char bufbase_r_[PADR_(user_addr_t)]; | |
265 | char bufsize_l_[PADL_(user_size_t)]; user_size_t bufsize; char bufsize_r_[PADR_(user_size_t)]; | |
266 | char pcoffset_l_[PADL_(user_ulong_t)]; user_ulong_t pcoffset; char pcoffset_r_[PADR_(user_ulong_t)]; | |
267 | char pcscale_l_[PADL_(u_int)]; u_int pcscale; char pcscale_r_[PADR_(u_int)]; | |
268 | }; | |
91447636 A |
269 | struct sigaction_args { |
270 | char signum_l_[PADL_(int)]; int signum; char signum_r_[PADR_(int)]; | |
271 | char nsa_l_[PADL_(user_addr_t)]; user_addr_t nsa; char nsa_r_[PADR_(user_addr_t)]; | |
272 | char osa_l_[PADL_(user_addr_t)]; user_addr_t osa; char osa_r_[PADR_(user_addr_t)]; | |
273 | }; | |
274 | struct getgid_args { | |
275 | register_t dummy; | |
276 | }; | |
277 | struct sigprocmask_args { | |
278 | char how_l_[PADL_(int)]; int how; char how_r_[PADR_(int)]; | |
279 | char mask_l_[PADL_(user_addr_t)]; user_addr_t mask; char mask_r_[PADR_(user_addr_t)]; | |
280 | char omask_l_[PADL_(user_addr_t)]; user_addr_t omask; char omask_r_[PADR_(user_addr_t)]; | |
281 | }; | |
282 | struct getlogin_args { | |
283 | char namebuf_l_[PADL_(user_addr_t)]; user_addr_t namebuf; char namebuf_r_[PADR_(user_addr_t)]; | |
284 | char namelen_l_[PADL_(u_int)]; u_int namelen; char namelen_r_[PADR_(u_int)]; | |
285 | }; | |
286 | struct setlogin_args { | |
287 | char namebuf_l_[PADL_(user_addr_t)]; user_addr_t namebuf; char namebuf_r_[PADR_(user_addr_t)]; | |
288 | }; | |
289 | struct acct_args { | |
290 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
291 | }; | |
292 | struct sigpending_args { | |
293 | char osv_l_[PADL_(user_addr_t)]; user_addr_t osv; char osv_r_[PADR_(user_addr_t)]; | |
294 | }; | |
295 | struct sigaltstack_args { | |
296 | char nss_l_[PADL_(user_addr_t)]; user_addr_t nss; char nss_r_[PADR_(user_addr_t)]; | |
297 | char oss_l_[PADL_(user_addr_t)]; user_addr_t oss; char oss_r_[PADR_(user_addr_t)]; | |
298 | }; | |
299 | struct ioctl_args { | |
300 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
301 | char com_l_[PADL_(user_ulong_t)]; user_ulong_t com; char com_r_[PADR_(user_ulong_t)]; | |
302 | char data_l_[PADL_(user_addr_t)]; user_addr_t data; char data_r_[PADR_(user_addr_t)]; | |
303 | }; | |
304 | struct reboot_args { | |
305 | char opt_l_[PADL_(int)]; int opt; char opt_r_[PADR_(int)]; | |
306 | char command_l_[PADL_(user_addr_t)]; user_addr_t command; char command_r_[PADR_(user_addr_t)]; | |
307 | }; | |
308 | struct revoke_args { | |
309 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
310 | }; | |
311 | struct symlink_args { | |
312 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
313 | char link_l_[PADL_(user_addr_t)]; user_addr_t link; char link_r_[PADR_(user_addr_t)]; | |
314 | }; | |
315 | struct readlink_args { | |
316 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
317 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; | |
318 | char count_l_[PADL_(int)]; int count; char count_r_[PADR_(int)]; | |
319 | }; | |
320 | struct execve_args { | |
321 | char fname_l_[PADL_(user_addr_t)]; user_addr_t fname; char fname_r_[PADR_(user_addr_t)]; | |
322 | char argp_l_[PADL_(user_addr_t)]; user_addr_t argp; char argp_r_[PADR_(user_addr_t)]; | |
323 | char envp_l_[PADL_(user_addr_t)]; user_addr_t envp; char envp_r_[PADR_(user_addr_t)]; | |
324 | }; | |
325 | struct umask_args { | |
326 | char newmask_l_[PADL_(int)]; int newmask; char newmask_r_[PADR_(int)]; | |
327 | }; | |
328 | struct chroot_args { | |
329 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
330 | }; | |
331 | struct msync_args { | |
332 | char addr_l_[PADL_(user_addr_t)]; user_addr_t addr; char addr_r_[PADR_(user_addr_t)]; | |
333 | char len_l_[PADL_(user_size_t)]; user_size_t len; char len_r_[PADR_(user_size_t)]; | |
334 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; | |
335 | }; | |
336 | struct vfork_args { | |
337 | register_t dummy; | |
338 | }; | |
339 | struct sbrk_args { | |
340 | char incr_l_[PADL_(int)]; int incr; char incr_r_[PADR_(int)]; | |
341 | }; | |
342 | struct sstk_args { | |
343 | char incr_l_[PADL_(int)]; int incr; char incr_r_[PADR_(int)]; | |
344 | }; | |
345 | struct ovadvise_args { | |
346 | register_t dummy; | |
347 | }; | |
348 | struct munmap_args { | |
349 | char addr_l_[PADL_(user_addr_t)]; user_addr_t addr; char addr_r_[PADR_(user_addr_t)]; | |
350 | char len_l_[PADL_(user_size_t)]; user_size_t len; char len_r_[PADR_(user_size_t)]; | |
351 | }; | |
352 | struct mprotect_args { | |
353 | char addr_l_[PADL_(user_addr_t)]; user_addr_t addr; char addr_r_[PADR_(user_addr_t)]; | |
354 | char len_l_[PADL_(user_size_t)]; user_size_t len; char len_r_[PADR_(user_size_t)]; | |
355 | char prot_l_[PADL_(int)]; int prot; char prot_r_[PADR_(int)]; | |
356 | }; | |
357 | struct madvise_args { | |
358 | char addr_l_[PADL_(user_addr_t)]; user_addr_t addr; char addr_r_[PADR_(user_addr_t)]; | |
359 | char len_l_[PADL_(user_size_t)]; user_size_t len; char len_r_[PADR_(user_size_t)]; | |
360 | char behav_l_[PADL_(int)]; int behav; char behav_r_[PADR_(int)]; | |
361 | }; | |
362 | struct mincore_args { | |
363 | char addr_l_[PADL_(user_addr_t)]; user_addr_t addr; char addr_r_[PADR_(user_addr_t)]; | |
364 | char len_l_[PADL_(user_size_t)]; user_size_t len; char len_r_[PADR_(user_size_t)]; | |
365 | char vec_l_[PADL_(user_addr_t)]; user_addr_t vec; char vec_r_[PADR_(user_addr_t)]; | |
366 | }; | |
367 | struct getgroups_args { | |
368 | char gidsetsize_l_[PADL_(u_int)]; u_int gidsetsize; char gidsetsize_r_[PADR_(u_int)]; | |
369 | char gidset_l_[PADL_(user_addr_t)]; user_addr_t gidset; char gidset_r_[PADR_(user_addr_t)]; | |
370 | }; | |
371 | struct setgroups_args { | |
372 | char gidsetsize_l_[PADL_(u_int)]; u_int gidsetsize; char gidsetsize_r_[PADR_(u_int)]; | |
373 | char gidset_l_[PADL_(user_addr_t)]; user_addr_t gidset; char gidset_r_[PADR_(user_addr_t)]; | |
374 | }; | |
375 | struct getpgrp_args { | |
376 | register_t dummy; | |
377 | }; | |
378 | struct setpgid_args { | |
379 | char pid_l_[PADL_(int)]; int pid; char pid_r_[PADR_(int)]; | |
380 | char pgid_l_[PADL_(int)]; int pgid; char pgid_r_[PADR_(int)]; | |
381 | }; | |
382 | struct setitimer_args { | |
383 | char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)]; | |
384 | char itv_l_[PADL_(user_addr_t)]; user_addr_t itv; char itv_r_[PADR_(user_addr_t)]; | |
385 | char oitv_l_[PADL_(user_addr_t)]; user_addr_t oitv; char oitv_r_[PADR_(user_addr_t)]; | |
386 | }; | |
387 | struct swapon_args { | |
388 | register_t dummy; | |
389 | }; | |
390 | struct getitimer_args { | |
391 | char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)]; | |
392 | char itv_l_[PADL_(user_addr_t)]; user_addr_t itv; char itv_r_[PADR_(user_addr_t)]; | |
393 | }; | |
394 | struct getdtablesize_args { | |
395 | register_t dummy; | |
396 | }; | |
397 | struct dup2_args { | |
398 | char from_l_[PADL_(u_int)]; u_int from; char from_r_[PADR_(u_int)]; | |
399 | char to_l_[PADL_(u_int)]; u_int to; char to_r_[PADR_(u_int)]; | |
400 | }; | |
401 | struct fcntl_args { | |
402 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
403 | char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; | |
404 | char arg_l_[PADL_(user_long_t)]; user_long_t arg; char arg_r_[PADR_(user_long_t)]; | |
405 | }; | |
406 | struct select_args { | |
407 | char nd_l_[PADL_(int)]; int nd; char nd_r_[PADR_(int)]; | |
408 | char in_l_[PADL_(user_addr_t)]; user_addr_t in; char in_r_[PADR_(user_addr_t)]; | |
409 | char ou_l_[PADL_(user_addr_t)]; user_addr_t ou; char ou_r_[PADR_(user_addr_t)]; | |
410 | char ex_l_[PADL_(user_addr_t)]; user_addr_t ex; char ex_r_[PADR_(user_addr_t)]; | |
411 | char tv_l_[PADL_(user_addr_t)]; user_addr_t tv; char tv_r_[PADR_(user_addr_t)]; | |
412 | }; | |
413 | struct fsync_args { | |
414 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
415 | }; | |
416 | struct setpriority_args { | |
417 | char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)]; | |
2d21ac55 | 418 | char who_l_[PADL_(id_t)]; id_t who; char who_r_[PADR_(id_t)]; |
91447636 A |
419 | char prio_l_[PADL_(int)]; int prio; char prio_r_[PADR_(int)]; |
420 | }; | |
2d21ac55 | 421 | #if SOCKETS |
91447636 A |
422 | struct socket_args { |
423 | char domain_l_[PADL_(int)]; int domain; char domain_r_[PADR_(int)]; | |
424 | char type_l_[PADL_(int)]; int type; char type_r_[PADR_(int)]; | |
425 | char protocol_l_[PADL_(int)]; int protocol; char protocol_r_[PADR_(int)]; | |
426 | }; | |
427 | struct connect_args { | |
428 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; | |
429 | char name_l_[PADL_(user_addr_t)]; user_addr_t name; char name_r_[PADR_(user_addr_t)]; | |
430 | char namelen_l_[PADL_(socklen_t)]; socklen_t namelen; char namelen_r_[PADR_(socklen_t)]; | |
431 | }; | |
2d21ac55 A |
432 | #else |
433 | #endif /* SOCKETS */ | |
91447636 A |
434 | struct getpriority_args { |
435 | char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)]; | |
2d21ac55 | 436 | char who_l_[PADL_(id_t)]; id_t who; char who_r_[PADR_(id_t)]; |
91447636 | 437 | }; |
2d21ac55 | 438 | #if SOCKETS |
91447636 A |
439 | struct bind_args { |
440 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; | |
441 | char name_l_[PADL_(user_addr_t)]; user_addr_t name; char name_r_[PADR_(user_addr_t)]; | |
442 | char namelen_l_[PADL_(socklen_t)]; socklen_t namelen; char namelen_r_[PADR_(socklen_t)]; | |
443 | }; | |
444 | struct setsockopt_args { | |
445 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; | |
446 | char level_l_[PADL_(int)]; int level; char level_r_[PADR_(int)]; | |
447 | char name_l_[PADL_(int)]; int name; char name_r_[PADR_(int)]; | |
448 | char val_l_[PADL_(user_addr_t)]; user_addr_t val; char val_r_[PADR_(user_addr_t)]; | |
449 | char valsize_l_[PADL_(socklen_t)]; socklen_t valsize; char valsize_r_[PADR_(socklen_t)]; | |
450 | }; | |
451 | struct listen_args { | |
452 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; | |
453 | char backlog_l_[PADL_(int)]; int backlog; char backlog_r_[PADR_(int)]; | |
454 | }; | |
2d21ac55 A |
455 | #else |
456 | #endif /* SOCKETS */ | |
91447636 A |
457 | struct sigsuspend_args { |
458 | char mask_l_[PADL_(sigset_t)]; sigset_t mask; char mask_r_[PADR_(sigset_t)]; | |
459 | }; | |
2d21ac55 A |
460 | #if SOCKETS |
461 | #else | |
462 | #endif /* SOCKETS */ | |
91447636 A |
463 | struct gettimeofday_args { |
464 | char tp_l_[PADL_(user_addr_t)]; user_addr_t tp; char tp_r_[PADR_(user_addr_t)]; | |
465 | char tzp_l_[PADL_(user_addr_t)]; user_addr_t tzp; char tzp_r_[PADR_(user_addr_t)]; | |
466 | }; | |
91447636 A |
467 | struct getrusage_args { |
468 | char who_l_[PADL_(int)]; int who; char who_r_[PADR_(int)]; | |
469 | char rusage_l_[PADL_(user_addr_t)]; user_addr_t rusage; char rusage_r_[PADR_(user_addr_t)]; | |
470 | }; | |
2d21ac55 | 471 | #if SOCKETS |
91447636 A |
472 | struct getsockopt_args { |
473 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; | |
474 | char level_l_[PADL_(int)]; int level; char level_r_[PADR_(int)]; | |
475 | char name_l_[PADL_(int)]; int name; char name_r_[PADR_(int)]; | |
476 | char val_l_[PADL_(user_addr_t)]; user_addr_t val; char val_r_[PADR_(user_addr_t)]; | |
477 | char avalsize_l_[PADL_(user_addr_t)]; user_addr_t avalsize; char avalsize_r_[PADR_(user_addr_t)]; | |
478 | }; | |
2d21ac55 A |
479 | #else |
480 | #endif /* SOCKETS */ | |
91447636 A |
481 | struct readv_args { |
482 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
483 | char iovp_l_[PADL_(user_addr_t)]; user_addr_t iovp; char iovp_r_[PADR_(user_addr_t)]; | |
484 | char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)]; | |
485 | }; | |
486 | struct writev_args { | |
487 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
488 | char iovp_l_[PADL_(user_addr_t)]; user_addr_t iovp; char iovp_r_[PADR_(user_addr_t)]; | |
489 | char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)]; | |
490 | }; | |
491 | struct settimeofday_args { | |
492 | char tv_l_[PADL_(user_addr_t)]; user_addr_t tv; char tv_r_[PADR_(user_addr_t)]; | |
493 | char tzp_l_[PADL_(user_addr_t)]; user_addr_t tzp; char tzp_r_[PADR_(user_addr_t)]; | |
494 | }; | |
495 | struct fchown_args { | |
496 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
497 | char uid_l_[PADL_(int)]; int uid; char uid_r_[PADR_(int)]; | |
498 | char gid_l_[PADL_(int)]; int gid; char gid_r_[PADR_(int)]; | |
499 | }; | |
500 | struct fchmod_args { | |
501 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
502 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; | |
503 | }; | |
2d21ac55 A |
504 | struct setreuid_args { |
505 | char ruid_l_[PADL_(uid_t)]; uid_t ruid; char ruid_r_[PADR_(uid_t)]; | |
506 | char euid_l_[PADL_(uid_t)]; uid_t euid; char euid_r_[PADR_(uid_t)]; | |
507 | }; | |
508 | struct setregid_args { | |
509 | char rgid_l_[PADL_(gid_t)]; gid_t rgid; char rgid_r_[PADR_(gid_t)]; | |
510 | char egid_l_[PADL_(gid_t)]; gid_t egid; char egid_r_[PADR_(gid_t)]; | |
511 | }; | |
91447636 A |
512 | struct rename_args { |
513 | char from_l_[PADL_(user_addr_t)]; user_addr_t from; char from_r_[PADR_(user_addr_t)]; | |
514 | char to_l_[PADL_(user_addr_t)]; user_addr_t to; char to_r_[PADR_(user_addr_t)]; | |
515 | }; | |
516 | struct flock_args { | |
517 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
518 | char how_l_[PADL_(int)]; int how; char how_r_[PADR_(int)]; | |
519 | }; | |
520 | struct mkfifo_args { | |
521 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
522 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; | |
523 | }; | |
2d21ac55 | 524 | #if SOCKETS |
91447636 A |
525 | struct sendto_args { |
526 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; | |
527 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; | |
528 | char len_l_[PADL_(user_size_t)]; user_size_t len; char len_r_[PADR_(user_size_t)]; | |
529 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; | |
530 | char to_l_[PADL_(user_addr_t)]; user_addr_t to; char to_r_[PADR_(user_addr_t)]; | |
531 | char tolen_l_[PADL_(socklen_t)]; socklen_t tolen; char tolen_r_[PADR_(socklen_t)]; | |
532 | }; | |
533 | struct shutdown_args { | |
534 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; | |
535 | char how_l_[PADL_(int)]; int how; char how_r_[PADR_(int)]; | |
536 | }; | |
537 | struct socketpair_args { | |
538 | char domain_l_[PADL_(int)]; int domain; char domain_r_[PADR_(int)]; | |
539 | char type_l_[PADL_(int)]; int type; char type_r_[PADR_(int)]; | |
540 | char protocol_l_[PADL_(int)]; int protocol; char protocol_r_[PADR_(int)]; | |
541 | char rsv_l_[PADL_(user_addr_t)]; user_addr_t rsv; char rsv_r_[PADR_(user_addr_t)]; | |
542 | }; | |
2d21ac55 A |
543 | #else |
544 | #endif /* SOCKETS */ | |
91447636 A |
545 | struct mkdir_args { |
546 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
547 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; | |
548 | }; | |
549 | struct rmdir_args { | |
550 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
551 | }; | |
552 | struct utimes_args { | |
553 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
554 | char tptr_l_[PADL_(user_addr_t)]; user_addr_t tptr; char tptr_r_[PADR_(user_addr_t)]; | |
555 | }; | |
556 | struct futimes_args { | |
557 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
558 | char tptr_l_[PADL_(user_addr_t)]; user_addr_t tptr; char tptr_r_[PADR_(user_addr_t)]; | |
559 | }; | |
560 | struct adjtime_args { | |
561 | char delta_l_[PADL_(user_addr_t)]; user_addr_t delta; char delta_r_[PADR_(user_addr_t)]; | |
562 | char olddelta_l_[PADL_(user_addr_t)]; user_addr_t olddelta; char olddelta_r_[PADR_(user_addr_t)]; | |
563 | }; | |
2d21ac55 A |
564 | struct gethostuuid_args { |
565 | char uuid_buf_l_[PADL_(user_addr_t)]; user_addr_t uuid_buf; char uuid_buf_r_[PADR_(user_addr_t)]; | |
566 | char timeoutp_l_[PADL_(user_addr_t)]; user_addr_t timeoutp; char timeoutp_r_[PADR_(user_addr_t)]; | |
567 | }; | |
91447636 A |
568 | struct setsid_args { |
569 | register_t dummy; | |
570 | }; | |
571 | struct getpgid_args { | |
572 | char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)]; | |
573 | }; | |
574 | struct setprivexec_args { | |
575 | char flag_l_[PADL_(int)]; int flag; char flag_r_[PADR_(int)]; | |
576 | }; | |
577 | struct pread_args { | |
578 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
579 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; | |
580 | char nbyte_l_[PADL_(user_size_t)]; user_size_t nbyte; char nbyte_r_[PADR_(user_size_t)]; | |
581 | char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)]; | |
582 | }; | |
583 | struct pwrite_args { | |
584 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
585 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; | |
586 | char nbyte_l_[PADL_(user_size_t)]; user_size_t nbyte; char nbyte_r_[PADR_(user_size_t)]; | |
587 | char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)]; | |
588 | }; | |
589 | #if NFSSERVER | |
590 | struct nfssvc_args { | |
591 | char flag_l_[PADL_(int)]; int flag; char flag_r_[PADR_(int)]; | |
592 | char argp_l_[PADL_(user_addr_t)]; user_addr_t argp; char argp_r_[PADR_(user_addr_t)]; | |
593 | }; | |
594 | #else | |
595 | #endif | |
596 | struct statfs_args { | |
597 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
598 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; | |
599 | }; | |
600 | struct fstatfs_args { | |
601 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
602 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; | |
603 | }; | |
604 | struct unmount_args { | |
605 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
606 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; | |
607 | }; | |
2d21ac55 | 608 | #if NFSSERVER |
91447636 A |
609 | struct getfh_args { |
610 | char fname_l_[PADL_(user_addr_t)]; user_addr_t fname; char fname_r_[PADR_(user_addr_t)]; | |
611 | char fhp_l_[PADL_(user_addr_t)]; user_addr_t fhp; char fhp_r_[PADR_(user_addr_t)]; | |
612 | }; | |
613 | #else | |
614 | #endif | |
615 | struct quotactl_args { | |
616 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
617 | char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; | |
618 | char uid_l_[PADL_(int)]; int uid; char uid_r_[PADR_(int)]; | |
619 | char arg_l_[PADL_(user_addr_t)]; user_addr_t arg; char arg_r_[PADR_(user_addr_t)]; | |
620 | }; | |
621 | struct mount_args { | |
622 | char type_l_[PADL_(user_addr_t)]; user_addr_t type; char type_r_[PADR_(user_addr_t)]; | |
623 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
624 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; | |
625 | char data_l_[PADL_(user_addr_t)]; user_addr_t data; char data_r_[PADR_(user_addr_t)]; | |
626 | }; | |
2d21ac55 A |
627 | struct csops_args { |
628 | char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)]; | |
629 | char ops_l_[PADL_(uint32_t)]; uint32_t ops; char ops_r_[PADR_(uint32_t)]; | |
630 | char useraddr_l_[PADL_(user_addr_t)]; user_addr_t useraddr; char useraddr_r_[PADR_(user_addr_t)]; | |
631 | char usersize_l_[PADL_(user_size_t)]; user_size_t usersize; char usersize_r_[PADR_(user_size_t)]; | |
632 | }; | |
91447636 A |
633 | struct waitid_args { |
634 | char idtype_l_[PADL_(idtype_t)]; idtype_t idtype; char idtype_r_[PADR_(idtype_t)]; | |
635 | char id_l_[PADL_(id_t)]; id_t id; char id_r_[PADR_(id_t)]; | |
636 | char infop_l_[PADL_(user_addr_t)]; user_addr_t infop; char infop_r_[PADR_(user_addr_t)]; | |
637 | char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)]; | |
638 | }; | |
639 | struct add_profil_args { | |
640 | char bufbase_l_[PADL_(user_addr_t)]; user_addr_t bufbase; char bufbase_r_[PADR_(user_addr_t)]; | |
641 | char bufsize_l_[PADL_(user_size_t)]; user_size_t bufsize; char bufsize_r_[PADR_(user_size_t)]; | |
642 | char pcoffset_l_[PADL_(user_ulong_t)]; user_ulong_t pcoffset; char pcoffset_r_[PADR_(user_ulong_t)]; | |
643 | char pcscale_l_[PADL_(u_int)]; u_int pcscale; char pcscale_r_[PADR_(u_int)]; | |
644 | }; | |
645 | struct kdebug_trace_args { | |
646 | char code_l_[PADL_(int)]; int code; char code_r_[PADR_(int)]; | |
647 | char arg1_l_[PADL_(int)]; int arg1; char arg1_r_[PADR_(int)]; | |
648 | char arg2_l_[PADL_(int)]; int arg2; char arg2_r_[PADR_(int)]; | |
649 | char arg3_l_[PADL_(int)]; int arg3; char arg3_r_[PADR_(int)]; | |
650 | char arg4_l_[PADL_(int)]; int arg4; char arg4_r_[PADR_(int)]; | |
651 | char arg5_l_[PADL_(int)]; int arg5; char arg5_r_[PADR_(int)]; | |
652 | }; | |
653 | struct setgid_args { | |
654 | char gid_l_[PADL_(gid_t)]; gid_t gid; char gid_r_[PADR_(gid_t)]; | |
655 | }; | |
656 | struct setegid_args { | |
657 | char egid_l_[PADL_(gid_t)]; gid_t egid; char egid_r_[PADR_(gid_t)]; | |
658 | }; | |
659 | struct seteuid_args { | |
660 | char euid_l_[PADL_(uid_t)]; uid_t euid; char euid_r_[PADR_(uid_t)]; | |
661 | }; | |
91447636 A |
662 | struct sigreturn_args { |
663 | char uctx_l_[PADL_(user_addr_t)]; user_addr_t uctx; char uctx_r_[PADR_(user_addr_t)]; | |
664 | char infostyle_l_[PADL_(int)]; int infostyle; char infostyle_r_[PADR_(int)]; | |
665 | }; | |
0c530ab8 A |
666 | struct chud_args { |
667 | char code_l_[PADL_(int)]; int code; char code_r_[PADR_(int)]; | |
668 | char arg1_l_[PADL_(int)]; int arg1; char arg1_r_[PADR_(int)]; | |
669 | char arg2_l_[PADL_(int)]; int arg2; char arg2_r_[PADR_(int)]; | |
670 | char arg3_l_[PADL_(int)]; int arg3; char arg3_r_[PADR_(int)]; | |
671 | char arg4_l_[PADL_(int)]; int arg4; char arg4_r_[PADR_(int)]; | |
672 | char arg5_l_[PADL_(int)]; int arg5; char arg5_r_[PADR_(int)]; | |
673 | }; | |
91447636 A |
674 | struct stat_args { |
675 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
676 | char ub_l_[PADL_(user_addr_t)]; user_addr_t ub; char ub_r_[PADR_(user_addr_t)]; | |
677 | }; | |
678 | struct fstat_args { | |
679 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
680 | char ub_l_[PADL_(user_addr_t)]; user_addr_t ub; char ub_r_[PADR_(user_addr_t)]; | |
681 | }; | |
682 | struct lstat_args { | |
683 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
684 | char ub_l_[PADL_(user_addr_t)]; user_addr_t ub; char ub_r_[PADR_(user_addr_t)]; | |
685 | }; | |
686 | struct pathconf_args { | |
687 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
688 | char name_l_[PADL_(int)]; int name; char name_r_[PADR_(int)]; | |
689 | }; | |
690 | struct fpathconf_args { | |
691 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
692 | char name_l_[PADL_(int)]; int name; char name_r_[PADR_(int)]; | |
693 | }; | |
91447636 A |
694 | struct getrlimit_args { |
695 | char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)]; | |
696 | char rlp_l_[PADL_(user_addr_t)]; user_addr_t rlp; char rlp_r_[PADR_(user_addr_t)]; | |
697 | }; | |
698 | struct setrlimit_args { | |
699 | char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)]; | |
700 | char rlp_l_[PADL_(user_addr_t)]; user_addr_t rlp; char rlp_r_[PADR_(user_addr_t)]; | |
701 | }; | |
702 | struct getdirentries_args { | |
703 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
704 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; | |
705 | char count_l_[PADL_(u_int)]; u_int count; char count_r_[PADR_(u_int)]; | |
706 | char basep_l_[PADL_(user_addr_t)]; user_addr_t basep; char basep_r_[PADR_(user_addr_t)]; | |
707 | }; | |
708 | struct mmap_args { | |
709 | char addr_l_[PADL_(user_addr_t)]; user_addr_t addr; char addr_r_[PADR_(user_addr_t)]; | |
710 | char len_l_[PADL_(user_size_t)]; user_size_t len; char len_r_[PADR_(user_size_t)]; | |
711 | char prot_l_[PADL_(int)]; int prot; char prot_r_[PADR_(int)]; | |
712 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; | |
713 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
714 | char pos_l_[PADL_(off_t)]; off_t pos; char pos_r_[PADR_(off_t)]; | |
715 | }; | |
716 | struct lseek_args { | |
717 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
718 | char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)]; | |
719 | char whence_l_[PADL_(int)]; int whence; char whence_r_[PADR_(int)]; | |
720 | }; | |
721 | struct truncate_args { | |
722 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
723 | char length_l_[PADL_(off_t)]; off_t length; char length_r_[PADR_(off_t)]; | |
724 | }; | |
725 | struct ftruncate_args { | |
726 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
727 | char length_l_[PADL_(off_t)]; off_t length; char length_r_[PADR_(off_t)]; | |
728 | }; | |
729 | struct __sysctl_args { | |
730 | char name_l_[PADL_(user_addr_t)]; user_addr_t name; char name_r_[PADR_(user_addr_t)]; | |
731 | char namelen_l_[PADL_(u_int)]; u_int namelen; char namelen_r_[PADR_(u_int)]; | |
732 | char old_l_[PADL_(user_addr_t)]; user_addr_t old; char old_r_[PADR_(user_addr_t)]; | |
733 | char oldlenp_l_[PADL_(user_addr_t)]; user_addr_t oldlenp; char oldlenp_r_[PADR_(user_addr_t)]; | |
734 | char new_l_[PADL_(user_addr_t)]; user_addr_t new; char new_r_[PADR_(user_addr_t)]; | |
735 | char newlen_l_[PADL_(user_size_t)]; user_size_t newlen; char newlen_r_[PADR_(user_size_t)]; | |
736 | }; | |
737 | struct mlock_args { | |
738 | char addr_l_[PADL_(user_addr_t)]; user_addr_t addr; char addr_r_[PADR_(user_addr_t)]; | |
739 | char len_l_[PADL_(user_size_t)]; user_size_t len; char len_r_[PADR_(user_size_t)]; | |
740 | }; | |
741 | struct munlock_args { | |
742 | char addr_l_[PADL_(user_addr_t)]; user_addr_t addr; char addr_r_[PADR_(user_addr_t)]; | |
743 | char len_l_[PADL_(user_size_t)]; user_size_t len; char len_r_[PADR_(user_size_t)]; | |
744 | }; | |
745 | struct undelete_args { | |
746 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
747 | }; | |
2d21ac55 | 748 | #if NETAT |
91447636 A |
749 | struct ATsocket_args { |
750 | char proto_l_[PADL_(int)]; int proto; char proto_r_[PADR_(int)]; | |
751 | }; | |
752 | struct ATgetmsg_args { | |
753 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
754 | char ctlptr_l_[PADL_(void *)]; void * ctlptr; char ctlptr_r_[PADR_(void *)]; | |
755 | char datptr_l_[PADL_(void *)]; void * datptr; char datptr_r_[PADR_(void *)]; | |
756 | char flags_l_[PADL_(int *)]; int * flags; char flags_r_[PADR_(int *)]; | |
757 | }; | |
758 | struct ATputmsg_args { | |
759 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
760 | char ctlptr_l_[PADL_(void *)]; void * ctlptr; char ctlptr_r_[PADR_(void *)]; | |
761 | char datptr_l_[PADL_(void *)]; void * datptr; char datptr_r_[PADR_(void *)]; | |
762 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; | |
763 | }; | |
764 | struct ATPsndreq_args { | |
765 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
766 | char buf_l_[PADL_(unsigned char *)]; unsigned char * buf; char buf_r_[PADR_(unsigned char *)]; | |
767 | char len_l_[PADL_(int)]; int len; char len_r_[PADR_(int)]; | |
768 | char nowait_l_[PADL_(int)]; int nowait; char nowait_r_[PADR_(int)]; | |
769 | }; | |
770 | struct ATPsndrsp_args { | |
771 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
772 | char respbuff_l_[PADL_(unsigned char *)]; unsigned char * respbuff; char respbuff_r_[PADR_(unsigned char *)]; | |
773 | char resplen_l_[PADL_(int)]; int resplen; char resplen_r_[PADR_(int)]; | |
774 | char datalen_l_[PADL_(int)]; int datalen; char datalen_r_[PADR_(int)]; | |
775 | }; | |
776 | struct ATPgetreq_args { | |
777 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
778 | char buf_l_[PADL_(unsigned char *)]; unsigned char * buf; char buf_r_[PADR_(unsigned char *)]; | |
779 | char buflen_l_[PADL_(int)]; int buflen; char buflen_r_[PADR_(int)]; | |
780 | }; | |
781 | struct ATPgetrsp_args { | |
782 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
783 | char bdsp_l_[PADL_(unsigned char *)]; unsigned char * bdsp; char bdsp_r_[PADR_(unsigned char *)]; | |
784 | }; | |
2d21ac55 A |
785 | #else |
786 | #endif /* NETAT */ | |
91447636 A |
787 | struct kqueue_from_portset_np_args { |
788 | char portset_l_[PADL_(int)]; int portset; char portset_r_[PADR_(int)]; | |
789 | }; | |
790 | struct kqueue_portset_np_args { | |
791 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
792 | }; | |
793 | struct getattrlist_args { | |
794 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
795 | char alist_l_[PADL_(user_addr_t)]; user_addr_t alist; char alist_r_[PADR_(user_addr_t)]; | |
796 | char attributeBuffer_l_[PADL_(user_addr_t)]; user_addr_t attributeBuffer; char attributeBuffer_r_[PADR_(user_addr_t)]; | |
797 | char bufferSize_l_[PADL_(user_size_t)]; user_size_t bufferSize; char bufferSize_r_[PADR_(user_size_t)]; | |
798 | char options_l_[PADL_(user_ulong_t)]; user_ulong_t options; char options_r_[PADR_(user_ulong_t)]; | |
799 | }; | |
800 | struct setattrlist_args { | |
801 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
802 | char alist_l_[PADL_(user_addr_t)]; user_addr_t alist; char alist_r_[PADR_(user_addr_t)]; | |
803 | char attributeBuffer_l_[PADL_(user_addr_t)]; user_addr_t attributeBuffer; char attributeBuffer_r_[PADR_(user_addr_t)]; | |
804 | char bufferSize_l_[PADL_(user_size_t)]; user_size_t bufferSize; char bufferSize_r_[PADR_(user_size_t)]; | |
805 | char options_l_[PADL_(user_ulong_t)]; user_ulong_t options; char options_r_[PADR_(user_ulong_t)]; | |
806 | }; | |
807 | struct getdirentriesattr_args { | |
808 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
809 | char alist_l_[PADL_(user_addr_t)]; user_addr_t alist; char alist_r_[PADR_(user_addr_t)]; | |
810 | char buffer_l_[PADL_(user_addr_t)]; user_addr_t buffer; char buffer_r_[PADR_(user_addr_t)]; | |
811 | char buffersize_l_[PADL_(user_size_t)]; user_size_t buffersize; char buffersize_r_[PADR_(user_size_t)]; | |
812 | char count_l_[PADL_(user_addr_t)]; user_addr_t count; char count_r_[PADR_(user_addr_t)]; | |
813 | char basep_l_[PADL_(user_addr_t)]; user_addr_t basep; char basep_r_[PADR_(user_addr_t)]; | |
814 | char newstate_l_[PADL_(user_addr_t)]; user_addr_t newstate; char newstate_r_[PADR_(user_addr_t)]; | |
815 | char options_l_[PADL_(user_ulong_t)]; user_ulong_t options; char options_r_[PADR_(user_ulong_t)]; | |
816 | }; | |
817 | struct exchangedata_args { | |
818 | char path1_l_[PADL_(user_addr_t)]; user_addr_t path1; char path1_r_[PADR_(user_addr_t)]; | |
819 | char path2_l_[PADL_(user_addr_t)]; user_addr_t path2; char path2_r_[PADR_(user_addr_t)]; | |
820 | char options_l_[PADL_(user_ulong_t)]; user_ulong_t options; char options_r_[PADR_(user_ulong_t)]; | |
821 | }; | |
91447636 A |
822 | struct searchfs_args { |
823 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
824 | char searchblock_l_[PADL_(user_addr_t)]; user_addr_t searchblock; char searchblock_r_[PADR_(user_addr_t)]; | |
825 | char nummatches_l_[PADL_(user_addr_t)]; user_addr_t nummatches; char nummatches_r_[PADR_(user_addr_t)]; | |
826 | char scriptcode_l_[PADL_(user_ulong_t)]; user_ulong_t scriptcode; char scriptcode_r_[PADR_(user_ulong_t)]; | |
827 | char options_l_[PADL_(user_ulong_t)]; user_ulong_t options; char options_r_[PADR_(user_ulong_t)]; | |
828 | char state_l_[PADL_(user_addr_t)]; user_addr_t state; char state_r_[PADR_(user_addr_t)]; | |
829 | }; | |
830 | struct delete_args { | |
831 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
832 | }; | |
833 | struct copyfile_args { | |
834 | char from_l_[PADL_(user_addr_t)]; user_addr_t from; char from_r_[PADR_(user_addr_t)]; | |
835 | char to_l_[PADL_(user_addr_t)]; user_addr_t to; char to_r_[PADR_(user_addr_t)]; | |
836 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; | |
837 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; | |
838 | }; | |
839 | struct poll_args { | |
840 | char fds_l_[PADL_(user_addr_t)]; user_addr_t fds; char fds_r_[PADR_(user_addr_t)]; | |
841 | char nfds_l_[PADL_(u_int)]; u_int nfds; char nfds_r_[PADR_(u_int)]; | |
842 | char timeout_l_[PADL_(int)]; int timeout; char timeout_r_[PADR_(int)]; | |
843 | }; | |
844 | struct watchevent_args { | |
2d21ac55 | 845 | char u_req_l_[PADL_(user_addr_t)]; user_addr_t u_req; char u_req_r_[PADR_(user_addr_t)]; |
91447636 A |
846 | char u_eventmask_l_[PADL_(int)]; int u_eventmask; char u_eventmask_r_[PADR_(int)]; |
847 | }; | |
848 | struct waitevent_args { | |
2d21ac55 A |
849 | char u_req_l_[PADL_(user_addr_t)]; user_addr_t u_req; char u_req_r_[PADR_(user_addr_t)]; |
850 | char tv_l_[PADL_(user_addr_t)]; user_addr_t tv; char tv_r_[PADR_(user_addr_t)]; | |
91447636 A |
851 | }; |
852 | struct modwatch_args { | |
2d21ac55 | 853 | char u_req_l_[PADL_(user_addr_t)]; user_addr_t u_req; char u_req_r_[PADR_(user_addr_t)]; |
91447636 A |
854 | char u_eventmask_l_[PADL_(int)]; int u_eventmask; char u_eventmask_r_[PADR_(int)]; |
855 | }; | |
856 | struct getxattr_args { | |
857 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
858 | char attrname_l_[PADL_(user_addr_t)]; user_addr_t attrname; char attrname_r_[PADR_(user_addr_t)]; | |
859 | char value_l_[PADL_(user_addr_t)]; user_addr_t value; char value_r_[PADR_(user_addr_t)]; | |
860 | char size_l_[PADL_(user_size_t)]; user_size_t size; char size_r_[PADR_(user_size_t)]; | |
861 | char position_l_[PADL_(uint32_t)]; uint32_t position; char position_r_[PADR_(uint32_t)]; | |
862 | char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)]; | |
863 | }; | |
864 | struct fgetxattr_args { | |
865 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
866 | char attrname_l_[PADL_(user_addr_t)]; user_addr_t attrname; char attrname_r_[PADR_(user_addr_t)]; | |
867 | char value_l_[PADL_(user_addr_t)]; user_addr_t value; char value_r_[PADR_(user_addr_t)]; | |
868 | char size_l_[PADL_(user_size_t)]; user_size_t size; char size_r_[PADR_(user_size_t)]; | |
869 | char position_l_[PADL_(uint32_t)]; uint32_t position; char position_r_[PADR_(uint32_t)]; | |
870 | char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)]; | |
871 | }; | |
872 | struct setxattr_args { | |
873 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
874 | char attrname_l_[PADL_(user_addr_t)]; user_addr_t attrname; char attrname_r_[PADR_(user_addr_t)]; | |
875 | char value_l_[PADL_(user_addr_t)]; user_addr_t value; char value_r_[PADR_(user_addr_t)]; | |
876 | char size_l_[PADL_(user_size_t)]; user_size_t size; char size_r_[PADR_(user_size_t)]; | |
877 | char position_l_[PADL_(uint32_t)]; uint32_t position; char position_r_[PADR_(uint32_t)]; | |
878 | char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)]; | |
879 | }; | |
880 | struct fsetxattr_args { | |
881 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
882 | char attrname_l_[PADL_(user_addr_t)]; user_addr_t attrname; char attrname_r_[PADR_(user_addr_t)]; | |
883 | char value_l_[PADL_(user_addr_t)]; user_addr_t value; char value_r_[PADR_(user_addr_t)]; | |
884 | char size_l_[PADL_(user_size_t)]; user_size_t size; char size_r_[PADR_(user_size_t)]; | |
885 | char position_l_[PADL_(uint32_t)]; uint32_t position; char position_r_[PADR_(uint32_t)]; | |
886 | char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)]; | |
887 | }; | |
888 | struct removexattr_args { | |
889 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
890 | char attrname_l_[PADL_(user_addr_t)]; user_addr_t attrname; char attrname_r_[PADR_(user_addr_t)]; | |
891 | char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)]; | |
892 | }; | |
893 | struct fremovexattr_args { | |
894 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
895 | char attrname_l_[PADL_(user_addr_t)]; user_addr_t attrname; char attrname_r_[PADR_(user_addr_t)]; | |
896 | char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)]; | |
897 | }; | |
898 | struct listxattr_args { | |
899 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
900 | char namebuf_l_[PADL_(user_addr_t)]; user_addr_t namebuf; char namebuf_r_[PADR_(user_addr_t)]; | |
901 | char bufsize_l_[PADL_(user_size_t)]; user_size_t bufsize; char bufsize_r_[PADR_(user_size_t)]; | |
902 | char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)]; | |
903 | }; | |
904 | struct flistxattr_args { | |
905 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
906 | char namebuf_l_[PADL_(user_addr_t)]; user_addr_t namebuf; char namebuf_r_[PADR_(user_addr_t)]; | |
907 | char bufsize_l_[PADL_(user_size_t)]; user_size_t bufsize; char bufsize_r_[PADR_(user_size_t)]; | |
908 | char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)]; | |
909 | }; | |
910 | struct fsctl_args { | |
911 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
912 | char cmd_l_[PADL_(user_ulong_t)]; user_ulong_t cmd; char cmd_r_[PADR_(user_ulong_t)]; | |
913 | char data_l_[PADL_(user_addr_t)]; user_addr_t data; char data_r_[PADR_(user_addr_t)]; | |
914 | char options_l_[PADL_(user_ulong_t)]; user_ulong_t options; char options_r_[PADR_(user_ulong_t)]; | |
915 | }; | |
916 | struct initgroups_args { | |
917 | char gidsetsize_l_[PADL_(u_int)]; u_int gidsetsize; char gidsetsize_r_[PADR_(u_int)]; | |
918 | char gidset_l_[PADL_(user_addr_t)]; user_addr_t gidset; char gidset_r_[PADR_(user_addr_t)]; | |
919 | char gmuid_l_[PADL_(int)]; int gmuid; char gmuid_r_[PADR_(int)]; | |
920 | }; | |
2d21ac55 A |
921 | struct posix_spawn_args { |
922 | char pid_l_[PADL_(user_addr_t)]; user_addr_t pid; char pid_r_[PADR_(user_addr_t)]; | |
923 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
924 | char adesc_l_[PADL_(user_addr_t)]; user_addr_t adesc; char adesc_r_[PADR_(user_addr_t)]; | |
925 | char argv_l_[PADL_(user_addr_t)]; user_addr_t argv; char argv_r_[PADR_(user_addr_t)]; | |
926 | char envp_l_[PADL_(user_addr_t)]; user_addr_t envp; char envp_r_[PADR_(user_addr_t)]; | |
927 | }; | |
91447636 A |
928 | #if NFSCLIENT |
929 | struct nfsclnt_args { | |
930 | char flag_l_[PADL_(int)]; int flag; char flag_r_[PADR_(int)]; | |
931 | char argp_l_[PADL_(user_addr_t)]; user_addr_t argp; char argp_r_[PADR_(user_addr_t)]; | |
932 | }; | |
2d21ac55 A |
933 | #else |
934 | #endif | |
935 | #if NFSSERVER | |
91447636 A |
936 | struct fhopen_args { |
937 | char u_fhp_l_[PADL_(user_addr_t)]; user_addr_t u_fhp; char u_fhp_r_[PADR_(user_addr_t)]; | |
938 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; | |
939 | }; | |
940 | #else | |
941 | #endif | |
942 | struct minherit_args { | |
943 | char addr_l_[PADL_(user_addr_t)]; user_addr_t addr; char addr_r_[PADR_(user_addr_t)]; | |
944 | char len_l_[PADL_(user_size_t)]; user_size_t len; char len_r_[PADR_(user_size_t)]; | |
945 | char inherit_l_[PADL_(int)]; int inherit; char inherit_r_[PADR_(int)]; | |
946 | }; | |
2d21ac55 | 947 | #if SYSV_SEM |
91447636 A |
948 | struct semsys_args { |
949 | char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)]; | |
950 | char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)]; | |
951 | char a3_l_[PADL_(int)]; int a3; char a3_r_[PADR_(int)]; | |
952 | char a4_l_[PADL_(int)]; int a4; char a4_r_[PADR_(int)]; | |
953 | char a5_l_[PADL_(int)]; int a5; char a5_r_[PADR_(int)]; | |
954 | }; | |
2d21ac55 A |
955 | #else |
956 | #endif | |
957 | #if SYSV_MSG | |
91447636 A |
958 | struct msgsys_args { |
959 | char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)]; | |
960 | char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)]; | |
961 | char a3_l_[PADL_(int)]; int a3; char a3_r_[PADR_(int)]; | |
962 | char a4_l_[PADL_(int)]; int a4; char a4_r_[PADR_(int)]; | |
963 | char a5_l_[PADL_(int)]; int a5; char a5_r_[PADR_(int)]; | |
964 | }; | |
2d21ac55 A |
965 | #else |
966 | #endif | |
967 | #if SYSV_SHM | |
91447636 A |
968 | struct shmsys_args { |
969 | char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)]; | |
970 | char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)]; | |
971 | char a3_l_[PADL_(int)]; int a3; char a3_r_[PADR_(int)]; | |
972 | char a4_l_[PADL_(int)]; int a4; char a4_r_[PADR_(int)]; | |
973 | }; | |
2d21ac55 A |
974 | #else |
975 | #endif | |
976 | #if SYSV_SEM | |
91447636 A |
977 | struct semctl_args { |
978 | char semid_l_[PADL_(int)]; int semid; char semid_r_[PADR_(int)]; | |
979 | char semnum_l_[PADL_(int)]; int semnum; char semnum_r_[PADR_(int)]; | |
980 | char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; | |
981 | char arg_l_[PADL_(user_addr_t)]; user_addr_t arg; char arg_r_[PADR_(user_addr_t)]; | |
982 | }; | |
983 | struct semget_args { | |
984 | char key_l_[PADL_(key_t)]; key_t key; char key_r_[PADR_(key_t)]; | |
985 | char nsems_l_[PADL_(int)]; int nsems; char nsems_r_[PADR_(int)]; | |
986 | char semflg_l_[PADL_(int)]; int semflg; char semflg_r_[PADR_(int)]; | |
987 | }; | |
988 | struct semop_args { | |
989 | char semid_l_[PADL_(int)]; int semid; char semid_r_[PADR_(int)]; | |
990 | char sops_l_[PADL_(user_addr_t)]; user_addr_t sops; char sops_r_[PADR_(user_addr_t)]; | |
991 | char nsops_l_[PADL_(int)]; int nsops; char nsops_r_[PADR_(int)]; | |
992 | }; | |
2d21ac55 A |
993 | #else |
994 | #endif | |
995 | #if SYSV_MSG | |
91447636 A |
996 | struct msgctl_args { |
997 | char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)]; | |
998 | char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; | |
999 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; | |
1000 | }; | |
1001 | struct msgget_args { | |
1002 | char key_l_[PADL_(key_t)]; key_t key; char key_r_[PADR_(key_t)]; | |
1003 | char msgflg_l_[PADL_(int)]; int msgflg; char msgflg_r_[PADR_(int)]; | |
1004 | }; | |
1005 | struct msgsnd_args { | |
1006 | char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)]; | |
1007 | char msgp_l_[PADL_(user_addr_t)]; user_addr_t msgp; char msgp_r_[PADR_(user_addr_t)]; | |
1008 | char msgsz_l_[PADL_(user_size_t)]; user_size_t msgsz; char msgsz_r_[PADR_(user_size_t)]; | |
1009 | char msgflg_l_[PADL_(int)]; int msgflg; char msgflg_r_[PADR_(int)]; | |
1010 | }; | |
1011 | struct msgrcv_args { | |
1012 | char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)]; | |
1013 | char msgp_l_[PADL_(user_addr_t)]; user_addr_t msgp; char msgp_r_[PADR_(user_addr_t)]; | |
1014 | char msgsz_l_[PADL_(user_size_t)]; user_size_t msgsz; char msgsz_r_[PADR_(user_size_t)]; | |
1015 | char msgtyp_l_[PADL_(user_long_t)]; user_long_t msgtyp; char msgtyp_r_[PADR_(user_long_t)]; | |
1016 | char msgflg_l_[PADL_(int)]; int msgflg; char msgflg_r_[PADR_(int)]; | |
1017 | }; | |
2d21ac55 A |
1018 | #else |
1019 | #endif | |
1020 | #if SYSV_SHM | |
91447636 A |
1021 | struct shmat_args { |
1022 | char shmid_l_[PADL_(int)]; int shmid; char shmid_r_[PADR_(int)]; | |
1023 | char shmaddr_l_[PADL_(user_addr_t)]; user_addr_t shmaddr; char shmaddr_r_[PADR_(user_addr_t)]; | |
1024 | char shmflg_l_[PADL_(int)]; int shmflg; char shmflg_r_[PADR_(int)]; | |
1025 | }; | |
1026 | struct shmctl_args { | |
1027 | char shmid_l_[PADL_(int)]; int shmid; char shmid_r_[PADR_(int)]; | |
1028 | char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; | |
1029 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; | |
1030 | }; | |
1031 | struct shmdt_args { | |
1032 | char shmaddr_l_[PADL_(user_addr_t)]; user_addr_t shmaddr; char shmaddr_r_[PADR_(user_addr_t)]; | |
1033 | }; | |
1034 | struct shmget_args { | |
1035 | char key_l_[PADL_(key_t)]; key_t key; char key_r_[PADR_(key_t)]; | |
1036 | char size_l_[PADL_(user_size_t)]; user_size_t size; char size_r_[PADR_(user_size_t)]; | |
1037 | char shmflg_l_[PADL_(int)]; int shmflg; char shmflg_r_[PADR_(int)]; | |
1038 | }; | |
2d21ac55 A |
1039 | #else |
1040 | #endif | |
91447636 A |
1041 | struct shm_open_args { |
1042 | char name_l_[PADL_(user_addr_t)]; user_addr_t name; char name_r_[PADR_(user_addr_t)]; | |
1043 | char oflag_l_[PADL_(int)]; int oflag; char oflag_r_[PADR_(int)]; | |
1044 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; | |
1045 | }; | |
1046 | struct shm_unlink_args { | |
1047 | char name_l_[PADL_(user_addr_t)]; user_addr_t name; char name_r_[PADR_(user_addr_t)]; | |
1048 | }; | |
1049 | struct sem_open_args { | |
1050 | char name_l_[PADL_(user_addr_t)]; user_addr_t name; char name_r_[PADR_(user_addr_t)]; | |
1051 | char oflag_l_[PADL_(int)]; int oflag; char oflag_r_[PADR_(int)]; | |
1052 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; | |
1053 | char value_l_[PADL_(int)]; int value; char value_r_[PADR_(int)]; | |
1054 | }; | |
1055 | struct sem_close_args { | |
1056 | char sem_l_[PADL_(user_addr_t)]; user_addr_t sem; char sem_r_[PADR_(user_addr_t)]; | |
1057 | }; | |
1058 | struct sem_unlink_args { | |
1059 | char name_l_[PADL_(user_addr_t)]; user_addr_t name; char name_r_[PADR_(user_addr_t)]; | |
1060 | }; | |
1061 | struct sem_wait_args { | |
1062 | char sem_l_[PADL_(user_addr_t)]; user_addr_t sem; char sem_r_[PADR_(user_addr_t)]; | |
1063 | }; | |
1064 | struct sem_trywait_args { | |
1065 | char sem_l_[PADL_(user_addr_t)]; user_addr_t sem; char sem_r_[PADR_(user_addr_t)]; | |
1066 | }; | |
1067 | struct sem_post_args { | |
1068 | char sem_l_[PADL_(user_addr_t)]; user_addr_t sem; char sem_r_[PADR_(user_addr_t)]; | |
1069 | }; | |
1070 | struct sem_getvalue_args { | |
1071 | char sem_l_[PADL_(user_addr_t)]; user_addr_t sem; char sem_r_[PADR_(user_addr_t)]; | |
1072 | char sval_l_[PADL_(user_addr_t)]; user_addr_t sval; char sval_r_[PADR_(user_addr_t)]; | |
1073 | }; | |
1074 | struct sem_init_args { | |
1075 | char sem_l_[PADL_(user_addr_t)]; user_addr_t sem; char sem_r_[PADR_(user_addr_t)]; | |
1076 | char phsared_l_[PADL_(int)]; int phsared; char phsared_r_[PADR_(int)]; | |
1077 | char value_l_[PADL_(u_int)]; u_int value; char value_r_[PADR_(u_int)]; | |
1078 | }; | |
1079 | struct sem_destroy_args { | |
1080 | char sem_l_[PADL_(user_addr_t)]; user_addr_t sem; char sem_r_[PADR_(user_addr_t)]; | |
1081 | }; | |
1082 | struct open_extended_args { | |
1083 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
1084 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; | |
1085 | char uid_l_[PADL_(uid_t)]; uid_t uid; char uid_r_[PADR_(uid_t)]; | |
1086 | char gid_l_[PADL_(gid_t)]; gid_t gid; char gid_r_[PADR_(gid_t)]; | |
1087 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; | |
1088 | char xsecurity_l_[PADL_(user_addr_t)]; user_addr_t xsecurity; char xsecurity_r_[PADR_(user_addr_t)]; | |
1089 | }; | |
1090 | struct umask_extended_args { | |
1091 | char newmask_l_[PADL_(int)]; int newmask; char newmask_r_[PADR_(int)]; | |
1092 | char xsecurity_l_[PADL_(user_addr_t)]; user_addr_t xsecurity; char xsecurity_r_[PADR_(user_addr_t)]; | |
1093 | }; | |
1094 | struct stat_extended_args { | |
1095 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
1096 | char ub_l_[PADL_(user_addr_t)]; user_addr_t ub; char ub_r_[PADR_(user_addr_t)]; | |
1097 | char xsecurity_l_[PADL_(user_addr_t)]; user_addr_t xsecurity; char xsecurity_r_[PADR_(user_addr_t)]; | |
1098 | char xsecurity_size_l_[PADL_(user_addr_t)]; user_addr_t xsecurity_size; char xsecurity_size_r_[PADR_(user_addr_t)]; | |
1099 | }; | |
1100 | struct lstat_extended_args { | |
1101 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
1102 | char ub_l_[PADL_(user_addr_t)]; user_addr_t ub; char ub_r_[PADR_(user_addr_t)]; | |
1103 | char xsecurity_l_[PADL_(user_addr_t)]; user_addr_t xsecurity; char xsecurity_r_[PADR_(user_addr_t)]; | |
1104 | char xsecurity_size_l_[PADL_(user_addr_t)]; user_addr_t xsecurity_size; char xsecurity_size_r_[PADR_(user_addr_t)]; | |
1105 | }; | |
1106 | struct fstat_extended_args { | |
1107 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
1108 | char ub_l_[PADL_(user_addr_t)]; user_addr_t ub; char ub_r_[PADR_(user_addr_t)]; | |
1109 | char xsecurity_l_[PADL_(user_addr_t)]; user_addr_t xsecurity; char xsecurity_r_[PADR_(user_addr_t)]; | |
1110 | char xsecurity_size_l_[PADL_(user_addr_t)]; user_addr_t xsecurity_size; char xsecurity_size_r_[PADR_(user_addr_t)]; | |
1111 | }; | |
1112 | struct chmod_extended_args { | |
1113 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
1114 | char uid_l_[PADL_(uid_t)]; uid_t uid; char uid_r_[PADR_(uid_t)]; | |
1115 | char gid_l_[PADL_(gid_t)]; gid_t gid; char gid_r_[PADR_(gid_t)]; | |
1116 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; | |
1117 | char xsecurity_l_[PADL_(user_addr_t)]; user_addr_t xsecurity; char xsecurity_r_[PADR_(user_addr_t)]; | |
1118 | }; | |
1119 | struct fchmod_extended_args { | |
1120 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
1121 | char uid_l_[PADL_(uid_t)]; uid_t uid; char uid_r_[PADR_(uid_t)]; | |
1122 | char gid_l_[PADL_(gid_t)]; gid_t gid; char gid_r_[PADR_(gid_t)]; | |
1123 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; | |
1124 | char xsecurity_l_[PADL_(user_addr_t)]; user_addr_t xsecurity; char xsecurity_r_[PADR_(user_addr_t)]; | |
1125 | }; | |
1126 | struct access_extended_args { | |
1127 | char entries_l_[PADL_(user_addr_t)]; user_addr_t entries; char entries_r_[PADR_(user_addr_t)]; | |
1128 | char size_l_[PADL_(user_size_t)]; user_size_t size; char size_r_[PADR_(user_size_t)]; | |
1129 | char results_l_[PADL_(user_addr_t)]; user_addr_t results; char results_r_[PADR_(user_addr_t)]; | |
1130 | char uid_l_[PADL_(uid_t)]; uid_t uid; char uid_r_[PADR_(uid_t)]; | |
1131 | }; | |
1132 | struct settid_args { | |
1133 | char uid_l_[PADL_(uid_t)]; uid_t uid; char uid_r_[PADR_(uid_t)]; | |
1134 | char gid_l_[PADL_(gid_t)]; gid_t gid; char gid_r_[PADR_(gid_t)]; | |
1135 | }; | |
1136 | struct gettid_args { | |
1137 | char uidp_l_[PADL_(user_addr_t)]; user_addr_t uidp; char uidp_r_[PADR_(user_addr_t)]; | |
1138 | char gidp_l_[PADL_(user_addr_t)]; user_addr_t gidp; char gidp_r_[PADR_(user_addr_t)]; | |
1139 | }; | |
1140 | struct setsgroups_args { | |
1141 | char setlen_l_[PADL_(int)]; int setlen; char setlen_r_[PADR_(int)]; | |
1142 | char guidset_l_[PADL_(user_addr_t)]; user_addr_t guidset; char guidset_r_[PADR_(user_addr_t)]; | |
1143 | }; | |
1144 | struct getsgroups_args { | |
1145 | char setlen_l_[PADL_(user_addr_t)]; user_addr_t setlen; char setlen_r_[PADR_(user_addr_t)]; | |
1146 | char guidset_l_[PADL_(user_addr_t)]; user_addr_t guidset; char guidset_r_[PADR_(user_addr_t)]; | |
1147 | }; | |
1148 | struct setwgroups_args { | |
1149 | char setlen_l_[PADL_(int)]; int setlen; char setlen_r_[PADR_(int)]; | |
1150 | char guidset_l_[PADL_(user_addr_t)]; user_addr_t guidset; char guidset_r_[PADR_(user_addr_t)]; | |
1151 | }; | |
1152 | struct getwgroups_args { | |
1153 | char setlen_l_[PADL_(user_addr_t)]; user_addr_t setlen; char setlen_r_[PADR_(user_addr_t)]; | |
1154 | char guidset_l_[PADL_(user_addr_t)]; user_addr_t guidset; char guidset_r_[PADR_(user_addr_t)]; | |
1155 | }; | |
1156 | struct mkfifo_extended_args { | |
1157 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
1158 | char uid_l_[PADL_(uid_t)]; uid_t uid; char uid_r_[PADR_(uid_t)]; | |
1159 | char gid_l_[PADL_(gid_t)]; gid_t gid; char gid_r_[PADR_(gid_t)]; | |
1160 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; | |
1161 | char xsecurity_l_[PADL_(user_addr_t)]; user_addr_t xsecurity; char xsecurity_r_[PADR_(user_addr_t)]; | |
1162 | }; | |
1163 | struct mkdir_extended_args { | |
1164 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
1165 | char uid_l_[PADL_(uid_t)]; uid_t uid; char uid_r_[PADR_(uid_t)]; | |
1166 | char gid_l_[PADL_(gid_t)]; gid_t gid; char gid_r_[PADR_(gid_t)]; | |
1167 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; | |
1168 | char xsecurity_l_[PADL_(user_addr_t)]; user_addr_t xsecurity; char xsecurity_r_[PADR_(user_addr_t)]; | |
1169 | }; | |
1170 | struct identitysvc_args { | |
1171 | char opcode_l_[PADL_(int)]; int opcode; char opcode_r_[PADR_(int)]; | |
1172 | char message_l_[PADL_(user_addr_t)]; user_addr_t message; char message_r_[PADR_(user_addr_t)]; | |
1173 | }; | |
2d21ac55 A |
1174 | struct shared_region_check_np_args { |
1175 | char start_address_l_[PADL_(user_addr_t)]; user_addr_t start_address; char start_address_r_[PADR_(user_addr_t)]; | |
91447636 | 1176 | }; |
2d21ac55 | 1177 | struct shared_region_map_np_args { |
91447636 | 1178 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
2d21ac55 | 1179 | char count_l_[PADL_(uint32_t)]; uint32_t count; char count_r_[PADR_(uint32_t)]; |
91447636 | 1180 | char mappings_l_[PADL_(user_addr_t)]; user_addr_t mappings; char mappings_r_[PADR_(user_addr_t)]; |
91447636 | 1181 | }; |
2d21ac55 A |
1182 | struct __pthread_mutex_destroy_args { |
1183 | char mutexid_l_[PADL_(int)]; int mutexid; char mutexid_r_[PADR_(int)]; | |
1184 | }; | |
1185 | struct __pthread_mutex_init_args { | |
1186 | char mutex_l_[PADL_(user_addr_t)]; user_addr_t mutex; char mutex_r_[PADR_(user_addr_t)]; | |
1187 | char attr_l_[PADL_(user_addr_t)]; user_addr_t attr; char attr_r_[PADR_(user_addr_t)]; | |
1188 | }; | |
1189 | struct __pthread_mutex_lock_args { | |
1190 | char mutexid_l_[PADL_(int)]; int mutexid; char mutexid_r_[PADR_(int)]; | |
1191 | }; | |
1192 | struct __pthread_mutex_trylock_args { | |
1193 | char mutexid_l_[PADL_(int)]; int mutexid; char mutexid_r_[PADR_(int)]; | |
1194 | }; | |
1195 | struct __pthread_mutex_unlock_args { | |
1196 | char mutexid_l_[PADL_(int)]; int mutexid; char mutexid_r_[PADR_(int)]; | |
1197 | }; | |
1198 | struct __pthread_cond_init_args { | |
1199 | char cond_l_[PADL_(user_addr_t)]; user_addr_t cond; char cond_r_[PADR_(user_addr_t)]; | |
1200 | char attr_l_[PADL_(user_addr_t)]; user_addr_t attr; char attr_r_[PADR_(user_addr_t)]; | |
1201 | }; | |
1202 | struct __pthread_cond_destroy_args { | |
1203 | char condid_l_[PADL_(int)]; int condid; char condid_r_[PADR_(int)]; | |
1204 | }; | |
1205 | struct __pthread_cond_broadcast_args { | |
1206 | char condid_l_[PADL_(int)]; int condid; char condid_r_[PADR_(int)]; | |
1207 | }; | |
1208 | struct __pthread_cond_signal_args { | |
1209 | char condid_l_[PADL_(int)]; int condid; char condid_r_[PADR_(int)]; | |
91447636 A |
1210 | }; |
1211 | struct getsid_args { | |
1212 | char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)]; | |
1213 | }; | |
1214 | struct settid_with_pid_args { | |
1215 | char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)]; | |
1216 | char assume_l_[PADL_(int)]; int assume; char assume_r_[PADR_(int)]; | |
1217 | }; | |
2d21ac55 A |
1218 | struct __pthread_cond_timedwait_args { |
1219 | char condid_l_[PADL_(int)]; int condid; char condid_r_[PADR_(int)]; | |
1220 | char mutexid_l_[PADL_(int)]; int mutexid; char mutexid_r_[PADR_(int)]; | |
1221 | char abstime_l_[PADL_(user_addr_t)]; user_addr_t abstime; char abstime_r_[PADR_(user_addr_t)]; | |
1222 | }; | |
91447636 A |
1223 | struct aio_fsync_args { |
1224 | char op_l_[PADL_(int)]; int op; char op_r_[PADR_(int)]; | |
1225 | char aiocbp_l_[PADL_(user_addr_t)]; user_addr_t aiocbp; char aiocbp_r_[PADR_(user_addr_t)]; | |
1226 | }; | |
1227 | struct aio_return_args { | |
1228 | char aiocbp_l_[PADL_(user_addr_t)]; user_addr_t aiocbp; char aiocbp_r_[PADR_(user_addr_t)]; | |
1229 | }; | |
1230 | struct aio_suspend_args { | |
1231 | char aiocblist_l_[PADL_(user_addr_t)]; user_addr_t aiocblist; char aiocblist_r_[PADR_(user_addr_t)]; | |
1232 | char nent_l_[PADL_(int)]; int nent; char nent_r_[PADR_(int)]; | |
1233 | char timeoutp_l_[PADL_(user_addr_t)]; user_addr_t timeoutp; char timeoutp_r_[PADR_(user_addr_t)]; | |
1234 | }; | |
1235 | struct aio_cancel_args { | |
1236 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
1237 | char aiocbp_l_[PADL_(user_addr_t)]; user_addr_t aiocbp; char aiocbp_r_[PADR_(user_addr_t)]; | |
1238 | }; | |
1239 | struct aio_error_args { | |
1240 | char aiocbp_l_[PADL_(user_addr_t)]; user_addr_t aiocbp; char aiocbp_r_[PADR_(user_addr_t)]; | |
1241 | }; | |
1242 | struct aio_read_args { | |
1243 | char aiocbp_l_[PADL_(user_addr_t)]; user_addr_t aiocbp; char aiocbp_r_[PADR_(user_addr_t)]; | |
1244 | }; | |
1245 | struct aio_write_args { | |
1246 | char aiocbp_l_[PADL_(user_addr_t)]; user_addr_t aiocbp; char aiocbp_r_[PADR_(user_addr_t)]; | |
1247 | }; | |
1248 | struct lio_listio_args { | |
1249 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; | |
1250 | char aiocblist_l_[PADL_(user_addr_t)]; user_addr_t aiocblist; char aiocblist_r_[PADR_(user_addr_t)]; | |
1251 | char nent_l_[PADL_(int)]; int nent; char nent_r_[PADR_(int)]; | |
1252 | char sigp_l_[PADL_(user_addr_t)]; user_addr_t sigp; char sigp_r_[PADR_(user_addr_t)]; | |
1253 | }; | |
2d21ac55 A |
1254 | struct __pthread_cond_wait_args { |
1255 | char condid_l_[PADL_(int)]; int condid; char condid_r_[PADR_(int)]; | |
1256 | char mutexid_l_[PADL_(int)]; int mutexid; char mutexid_r_[PADR_(int)]; | |
1257 | }; | |
1258 | struct iopolicysys_args { | |
1259 | char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; | |
1260 | char arg_l_[PADL_(user_addr_t)]; user_addr_t arg; char arg_r_[PADR_(user_addr_t)]; | |
1261 | }; | |
91447636 A |
1262 | struct mlockall_args { |
1263 | char how_l_[PADL_(int)]; int how; char how_r_[PADR_(int)]; | |
1264 | }; | |
1265 | struct munlockall_args { | |
1266 | char how_l_[PADL_(int)]; int how; char how_r_[PADR_(int)]; | |
1267 | }; | |
1268 | struct issetugid_args { | |
1269 | register_t dummy; | |
1270 | }; | |
1271 | struct __pthread_kill_args { | |
1272 | char thread_port_l_[PADL_(int)]; int thread_port; char thread_port_r_[PADR_(int)]; | |
1273 | char sig_l_[PADL_(int)]; int sig; char sig_r_[PADR_(int)]; | |
1274 | }; | |
2d21ac55 | 1275 | struct __pthread_sigmask_args { |
91447636 A |
1276 | char how_l_[PADL_(int)]; int how; char how_r_[PADR_(int)]; |
1277 | char set_l_[PADL_(user_addr_t)]; user_addr_t set; char set_r_[PADR_(user_addr_t)]; | |
1278 | char oset_l_[PADL_(user_addr_t)]; user_addr_t oset; char oset_r_[PADR_(user_addr_t)]; | |
1279 | }; | |
2d21ac55 | 1280 | struct __sigwait_args { |
91447636 A |
1281 | char set_l_[PADL_(user_addr_t)]; user_addr_t set; char set_r_[PADR_(user_addr_t)]; |
1282 | char sig_l_[PADL_(user_addr_t)]; user_addr_t sig; char sig_r_[PADR_(user_addr_t)]; | |
1283 | }; | |
1284 | struct __disable_threadsignal_args { | |
1285 | char value_l_[PADL_(int)]; int value; char value_r_[PADR_(int)]; | |
1286 | }; | |
1287 | struct __pthread_markcancel_args { | |
1288 | char thread_port_l_[PADL_(int)]; int thread_port; char thread_port_r_[PADR_(int)]; | |
1289 | }; | |
1290 | struct __pthread_canceled_args { | |
1291 | char action_l_[PADL_(int)]; int action; char action_r_[PADR_(int)]; | |
1292 | }; | |
1293 | struct __semwait_signal_args { | |
1294 | char cond_sem_l_[PADL_(int)]; int cond_sem; char cond_sem_r_[PADR_(int)]; | |
1295 | char mutex_sem_l_[PADL_(int)]; int mutex_sem; char mutex_sem_r_[PADR_(int)]; | |
1296 | char timeout_l_[PADL_(int)]; int timeout; char timeout_r_[PADR_(int)]; | |
1297 | char relative_l_[PADL_(int)]; int relative; char relative_r_[PADR_(int)]; | |
1298 | char tv_sec_l_[PADL_(time_t)]; time_t tv_sec; char tv_sec_r_[PADR_(time_t)]; | |
1299 | char tv_nsec_l_[PADL_(int32_t)]; int32_t tv_nsec; char tv_nsec_r_[PADR_(int32_t)]; | |
1300 | }; | |
0c530ab8 A |
1301 | struct proc_info_args { |
1302 | char callnum_l_[PADL_(int32_t)]; int32_t callnum; char callnum_r_[PADR_(int32_t)]; | |
1303 | char pid_l_[PADL_(int32_t)]; int32_t pid; char pid_r_[PADR_(int32_t)]; | |
1304 | char flavor_l_[PADL_(uint32_t)]; uint32_t flavor; char flavor_r_[PADR_(uint32_t)]; | |
1305 | char arg_l_[PADL_(uint64_t)]; uint64_t arg; char arg_r_[PADR_(uint64_t)]; | |
1306 | char buffer_l_[PADL_(user_addr_t)]; user_addr_t buffer; char buffer_r_[PADR_(user_addr_t)]; | |
1307 | char buffersize_l_[PADL_(int32_t)]; int32_t buffersize; char buffersize_r_[PADR_(int32_t)]; | |
1308 | }; | |
2d21ac55 A |
1309 | #if SENDFILE |
1310 | struct sendfile_args { | |
1311 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
1312 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; | |
1313 | char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)]; | |
1314 | char nbytes_l_[PADL_(user_addr_t)]; user_addr_t nbytes; char nbytes_r_[PADR_(user_addr_t)]; | |
1315 | char hdtr_l_[PADL_(user_addr_t)]; user_addr_t hdtr; char hdtr_r_[PADR_(user_addr_t)]; | |
1316 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; | |
1317 | }; | |
1318 | #else /* !SENDFILE */ | |
1319 | #endif /* SENDFILE */ | |
1320 | struct stat64_args { | |
1321 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
1322 | char ub_l_[PADL_(user_addr_t)]; user_addr_t ub; char ub_r_[PADR_(user_addr_t)]; | |
1323 | }; | |
1324 | struct fstat64_args { | |
1325 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
1326 | char ub_l_[PADL_(user_addr_t)]; user_addr_t ub; char ub_r_[PADR_(user_addr_t)]; | |
1327 | }; | |
1328 | struct lstat64_args { | |
1329 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
1330 | char ub_l_[PADL_(user_addr_t)]; user_addr_t ub; char ub_r_[PADR_(user_addr_t)]; | |
1331 | }; | |
1332 | struct stat64_extended_args { | |
1333 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
1334 | char ub_l_[PADL_(user_addr_t)]; user_addr_t ub; char ub_r_[PADR_(user_addr_t)]; | |
1335 | char xsecurity_l_[PADL_(user_addr_t)]; user_addr_t xsecurity; char xsecurity_r_[PADR_(user_addr_t)]; | |
1336 | char xsecurity_size_l_[PADL_(user_addr_t)]; user_addr_t xsecurity_size; char xsecurity_size_r_[PADR_(user_addr_t)]; | |
1337 | }; | |
1338 | struct lstat64_extended_args { | |
1339 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
1340 | char ub_l_[PADL_(user_addr_t)]; user_addr_t ub; char ub_r_[PADR_(user_addr_t)]; | |
1341 | char xsecurity_l_[PADL_(user_addr_t)]; user_addr_t xsecurity; char xsecurity_r_[PADR_(user_addr_t)]; | |
1342 | char xsecurity_size_l_[PADL_(user_addr_t)]; user_addr_t xsecurity_size; char xsecurity_size_r_[PADR_(user_addr_t)]; | |
1343 | }; | |
1344 | struct fstat64_extended_args { | |
1345 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
1346 | char ub_l_[PADL_(user_addr_t)]; user_addr_t ub; char ub_r_[PADR_(user_addr_t)]; | |
1347 | char xsecurity_l_[PADL_(user_addr_t)]; user_addr_t xsecurity; char xsecurity_r_[PADR_(user_addr_t)]; | |
1348 | char xsecurity_size_l_[PADL_(user_addr_t)]; user_addr_t xsecurity_size; char xsecurity_size_r_[PADR_(user_addr_t)]; | |
1349 | }; | |
1350 | struct getdirentries64_args { | |
1351 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
1352 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; | |
1353 | char bufsize_l_[PADL_(user_size_t)]; user_size_t bufsize; char bufsize_r_[PADR_(user_size_t)]; | |
1354 | char position_l_[PADL_(user_addr_t)]; user_addr_t position; char position_r_[PADR_(user_addr_t)]; | |
1355 | }; | |
1356 | struct statfs64_args { | |
1357 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
1358 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; | |
1359 | }; | |
1360 | struct fstatfs64_args { | |
1361 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
1362 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; | |
1363 | }; | |
1364 | struct getfsstat64_args { | |
1365 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; | |
1366 | char bufsize_l_[PADL_(int)]; int bufsize; char bufsize_r_[PADR_(int)]; | |
1367 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; | |
1368 | }; | |
1369 | struct __pthread_chdir_args { | |
1370 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
1371 | }; | |
1372 | struct __pthread_fchdir_args { | |
1373 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
1374 | }; | |
1375 | #if AUDIT | |
91447636 A |
1376 | struct audit_args { |
1377 | char record_l_[PADL_(user_addr_t)]; user_addr_t record; char record_r_[PADR_(user_addr_t)]; | |
1378 | char length_l_[PADL_(int)]; int length; char length_r_[PADR_(int)]; | |
1379 | }; | |
1380 | struct auditon_args { | |
1381 | char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; | |
1382 | char data_l_[PADL_(user_addr_t)]; user_addr_t data; char data_r_[PADR_(user_addr_t)]; | |
1383 | char length_l_[PADL_(int)]; int length; char length_r_[PADR_(int)]; | |
1384 | }; | |
1385 | struct getauid_args { | |
1386 | char auid_l_[PADL_(user_addr_t)]; user_addr_t auid; char auid_r_[PADR_(user_addr_t)]; | |
1387 | }; | |
1388 | struct setauid_args { | |
1389 | char auid_l_[PADL_(user_addr_t)]; user_addr_t auid; char auid_r_[PADR_(user_addr_t)]; | |
1390 | }; | |
1391 | struct getaudit_args { | |
1392 | char auditinfo_l_[PADL_(user_addr_t)]; user_addr_t auditinfo; char auditinfo_r_[PADR_(user_addr_t)]; | |
1393 | }; | |
1394 | struct setaudit_args { | |
1395 | char auditinfo_l_[PADL_(user_addr_t)]; user_addr_t auditinfo; char auditinfo_r_[PADR_(user_addr_t)]; | |
1396 | }; | |
1397 | struct getaudit_addr_args { | |
1398 | char auditinfo_addr_l_[PADL_(user_addr_t)]; user_addr_t auditinfo_addr; char auditinfo_addr_r_[PADR_(user_addr_t)]; | |
1399 | char length_l_[PADL_(int)]; int length; char length_r_[PADR_(int)]; | |
1400 | }; | |
1401 | struct setaudit_addr_args { | |
1402 | char auditinfo_addr_l_[PADL_(user_addr_t)]; user_addr_t auditinfo_addr; char auditinfo_addr_r_[PADR_(user_addr_t)]; | |
1403 | char length_l_[PADL_(int)]; int length; char length_r_[PADR_(int)]; | |
1404 | }; | |
1405 | struct auditctl_args { | |
1406 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
1407 | }; | |
2d21ac55 A |
1408 | #else |
1409 | #endif | |
1410 | struct bsdthread_create_args { | |
1411 | char func_l_[PADL_(user_addr_t)]; user_addr_t func; char func_r_[PADR_(user_addr_t)]; | |
1412 | char func_arg_l_[PADL_(user_addr_t)]; user_addr_t func_arg; char func_arg_r_[PADR_(user_addr_t)]; | |
1413 | char stack_l_[PADL_(user_addr_t)]; user_addr_t stack; char stack_r_[PADR_(user_addr_t)]; | |
1414 | char pthread_l_[PADL_(user_addr_t)]; user_addr_t pthread; char pthread_r_[PADR_(user_addr_t)]; | |
1415 | char flags_l_[PADL_(uint32_t)]; uint32_t flags; char flags_r_[PADR_(uint32_t)]; | |
1416 | }; | |
1417 | struct bsdthread_terminate_args { | |
1418 | char stackaddr_l_[PADL_(user_addr_t)]; user_addr_t stackaddr; char stackaddr_r_[PADR_(user_addr_t)]; | |
1419 | char freesize_l_[PADL_(user_size_t)]; user_size_t freesize; char freesize_r_[PADR_(user_size_t)]; | |
1420 | char port_l_[PADL_(uint32_t)]; uint32_t port; char port_r_[PADR_(uint32_t)]; | |
1421 | char sem_l_[PADL_(uint32_t)]; uint32_t sem; char sem_r_[PADR_(uint32_t)]; | |
1422 | }; | |
91447636 A |
1423 | struct kqueue_args { |
1424 | register_t dummy; | |
1425 | }; | |
1426 | struct kevent_args { | |
1427 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
1428 | char changelist_l_[PADL_(user_addr_t)]; user_addr_t changelist; char changelist_r_[PADR_(user_addr_t)]; | |
1429 | char nchanges_l_[PADL_(int)]; int nchanges; char nchanges_r_[PADR_(int)]; | |
1430 | char eventlist_l_[PADL_(user_addr_t)]; user_addr_t eventlist; char eventlist_r_[PADR_(user_addr_t)]; | |
1431 | char nevents_l_[PADL_(int)]; int nevents; char nevents_r_[PADR_(int)]; | |
1432 | char timeout_l_[PADL_(user_addr_t)]; user_addr_t timeout; char timeout_r_[PADR_(user_addr_t)]; | |
1433 | }; | |
1434 | struct lchown_args { | |
1435 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
1436 | char owner_l_[PADL_(uid_t)]; uid_t owner; char owner_r_[PADR_(uid_t)]; | |
1437 | char group_l_[PADL_(gid_t)]; gid_t group; char group_r_[PADR_(gid_t)]; | |
1438 | }; | |
0c530ab8 A |
1439 | struct stack_snapshot_args { |
1440 | char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)]; | |
1441 | char tracebuf_l_[PADL_(user_addr_t)]; user_addr_t tracebuf; char tracebuf_r_[PADR_(user_addr_t)]; | |
1442 | char tracebuf_size_l_[PADL_(uint32_t)]; uint32_t tracebuf_size; char tracebuf_size_r_[PADR_(uint32_t)]; | |
1443 | char options_l_[PADL_(uint32_t)]; uint32_t options; char options_r_[PADR_(uint32_t)]; | |
1444 | }; | |
2d21ac55 A |
1445 | struct bsdthread_register_args { |
1446 | char threadstart_l_[PADL_(user_addr_t)]; user_addr_t threadstart; char threadstart_r_[PADR_(user_addr_t)]; | |
1447 | char wqthread_l_[PADL_(user_addr_t)]; user_addr_t wqthread; char wqthread_r_[PADR_(user_addr_t)]; | |
1448 | char pthsize_l_[PADL_(int)]; int pthsize; char pthsize_r_[PADR_(int)]; | |
1449 | }; | |
1450 | struct workq_open_args { | |
1451 | register_t dummy; | |
1452 | }; | |
1453 | struct workq_ops_args { | |
1454 | char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)]; | |
1455 | char item_l_[PADL_(user_addr_t)]; user_addr_t item; char item_r_[PADR_(user_addr_t)]; | |
1456 | char prio_l_[PADL_(int)]; int prio; char prio_r_[PADR_(int)]; | |
1457 | }; | |
1458 | struct __mac_execve_args { | |
1459 | char fname_l_[PADL_(user_addr_t)]; user_addr_t fname; char fname_r_[PADR_(user_addr_t)]; | |
1460 | char argp_l_[PADL_(user_addr_t)]; user_addr_t argp; char argp_r_[PADR_(user_addr_t)]; | |
1461 | char envp_l_[PADL_(user_addr_t)]; user_addr_t envp; char envp_r_[PADR_(user_addr_t)]; | |
1462 | char mac_p_l_[PADL_(user_addr_t)]; user_addr_t mac_p; char mac_p_r_[PADR_(user_addr_t)]; | |
1463 | }; | |
1464 | struct __mac_syscall_args { | |
1465 | char policy_l_[PADL_(user_addr_t)]; user_addr_t policy; char policy_r_[PADR_(user_addr_t)]; | |
1466 | char call_l_[PADL_(int)]; int call; char call_r_[PADR_(int)]; | |
1467 | char arg_l_[PADL_(user_addr_t)]; user_addr_t arg; char arg_r_[PADR_(user_addr_t)]; | |
1468 | }; | |
1469 | struct __mac_get_file_args { | |
1470 | char path_p_l_[PADL_(user_addr_t)]; user_addr_t path_p; char path_p_r_[PADR_(user_addr_t)]; | |
1471 | char mac_p_l_[PADL_(user_addr_t)]; user_addr_t mac_p; char mac_p_r_[PADR_(user_addr_t)]; | |
1472 | }; | |
1473 | struct __mac_set_file_args { | |
1474 | char path_p_l_[PADL_(user_addr_t)]; user_addr_t path_p; char path_p_r_[PADR_(user_addr_t)]; | |
1475 | char mac_p_l_[PADL_(user_addr_t)]; user_addr_t mac_p; char mac_p_r_[PADR_(user_addr_t)]; | |
1476 | }; | |
1477 | struct __mac_get_link_args { | |
1478 | char path_p_l_[PADL_(user_addr_t)]; user_addr_t path_p; char path_p_r_[PADR_(user_addr_t)]; | |
1479 | char mac_p_l_[PADL_(user_addr_t)]; user_addr_t mac_p; char mac_p_r_[PADR_(user_addr_t)]; | |
1480 | }; | |
1481 | struct __mac_set_link_args { | |
1482 | char path_p_l_[PADL_(user_addr_t)]; user_addr_t path_p; char path_p_r_[PADR_(user_addr_t)]; | |
1483 | char mac_p_l_[PADL_(user_addr_t)]; user_addr_t mac_p; char mac_p_r_[PADR_(user_addr_t)]; | |
1484 | }; | |
1485 | struct __mac_get_proc_args { | |
1486 | char mac_p_l_[PADL_(user_addr_t)]; user_addr_t mac_p; char mac_p_r_[PADR_(user_addr_t)]; | |
1487 | }; | |
1488 | struct __mac_set_proc_args { | |
1489 | char mac_p_l_[PADL_(user_addr_t)]; user_addr_t mac_p; char mac_p_r_[PADR_(user_addr_t)]; | |
1490 | }; | |
1491 | struct __mac_get_fd_args { | |
1492 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
1493 | char mac_p_l_[PADL_(user_addr_t)]; user_addr_t mac_p; char mac_p_r_[PADR_(user_addr_t)]; | |
1494 | }; | |
1495 | struct __mac_set_fd_args { | |
1496 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
1497 | char mac_p_l_[PADL_(user_addr_t)]; user_addr_t mac_p; char mac_p_r_[PADR_(user_addr_t)]; | |
1498 | }; | |
1499 | struct __mac_get_pid_args { | |
1500 | char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)]; | |
1501 | char mac_p_l_[PADL_(user_addr_t)]; user_addr_t mac_p; char mac_p_r_[PADR_(user_addr_t)]; | |
1502 | }; | |
1503 | struct __mac_get_lcid_args { | |
1504 | char lcid_l_[PADL_(pid_t)]; pid_t lcid; char lcid_r_[PADR_(pid_t)]; | |
1505 | char mac_p_l_[PADL_(user_addr_t)]; user_addr_t mac_p; char mac_p_r_[PADR_(user_addr_t)]; | |
1506 | }; | |
1507 | struct __mac_get_lctx_args { | |
1508 | char mac_p_l_[PADL_(user_addr_t)]; user_addr_t mac_p; char mac_p_r_[PADR_(user_addr_t)]; | |
1509 | }; | |
1510 | struct __mac_set_lctx_args { | |
1511 | char mac_p_l_[PADL_(user_addr_t)]; user_addr_t mac_p; char mac_p_r_[PADR_(user_addr_t)]; | |
1512 | }; | |
1513 | struct setlcid_args { | |
1514 | char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)]; | |
1515 | char lcid_l_[PADL_(pid_t)]; pid_t lcid; char lcid_r_[PADR_(pid_t)]; | |
1516 | }; | |
1517 | struct getlcid_args { | |
1518 | char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)]; | |
1519 | }; | |
1520 | struct read_nocancel_args { | |
1521 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
1522 | char cbuf_l_[PADL_(user_addr_t)]; user_addr_t cbuf; char cbuf_r_[PADR_(user_addr_t)]; | |
1523 | char nbyte_l_[PADL_(user_size_t)]; user_size_t nbyte; char nbyte_r_[PADR_(user_size_t)]; | |
1524 | }; | |
1525 | struct write_nocancel_args { | |
1526 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
1527 | char cbuf_l_[PADL_(user_addr_t)]; user_addr_t cbuf; char cbuf_r_[PADR_(user_addr_t)]; | |
1528 | char nbyte_l_[PADL_(user_size_t)]; user_size_t nbyte; char nbyte_r_[PADR_(user_size_t)]; | |
1529 | }; | |
1530 | struct open_nocancel_args { | |
1531 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
1532 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; | |
1533 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; | |
1534 | }; | |
1535 | struct close_nocancel_args { | |
1536 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
1537 | }; | |
1538 | struct wait4_nocancel_args { | |
1539 | char pid_l_[PADL_(int)]; int pid; char pid_r_[PADR_(int)]; | |
1540 | char status_l_[PADL_(user_addr_t)]; user_addr_t status; char status_r_[PADR_(user_addr_t)]; | |
1541 | char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)]; | |
1542 | char rusage_l_[PADL_(user_addr_t)]; user_addr_t rusage; char rusage_r_[PADR_(user_addr_t)]; | |
1543 | }; | |
1544 | #if SOCKETS | |
1545 | struct recvmsg_nocancel_args { | |
1546 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; | |
1547 | char msg_l_[PADL_(user_addr_t)]; user_addr_t msg; char msg_r_[PADR_(user_addr_t)]; | |
1548 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; | |
1549 | }; | |
1550 | struct sendmsg_nocancel_args { | |
1551 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; | |
1552 | char msg_l_[PADL_(user_addr_t)]; user_addr_t msg; char msg_r_[PADR_(user_addr_t)]; | |
1553 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; | |
1554 | }; | |
1555 | struct recvfrom_nocancel_args { | |
1556 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; | |
1557 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; | |
1558 | char len_l_[PADL_(user_size_t)]; user_size_t len; char len_r_[PADR_(user_size_t)]; | |
1559 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; | |
1560 | char from_l_[PADL_(user_addr_t)]; user_addr_t from; char from_r_[PADR_(user_addr_t)]; | |
1561 | char fromlenaddr_l_[PADL_(user_addr_t)]; user_addr_t fromlenaddr; char fromlenaddr_r_[PADR_(user_addr_t)]; | |
1562 | }; | |
1563 | struct accept_nocancel_args { | |
1564 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; | |
1565 | char name_l_[PADL_(user_addr_t)]; user_addr_t name; char name_r_[PADR_(user_addr_t)]; | |
1566 | char anamelen_l_[PADL_(user_addr_t)]; user_addr_t anamelen; char anamelen_r_[PADR_(user_addr_t)]; | |
1567 | }; | |
1568 | #else | |
1569 | #endif /* SOCKETS */ | |
1570 | struct msync_nocancel_args { | |
1571 | char addr_l_[PADL_(user_addr_t)]; user_addr_t addr; char addr_r_[PADR_(user_addr_t)]; | |
1572 | char len_l_[PADL_(user_size_t)]; user_size_t len; char len_r_[PADR_(user_size_t)]; | |
1573 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; | |
1574 | }; | |
1575 | struct fcntl_nocancel_args { | |
1576 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
1577 | char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; | |
1578 | char arg_l_[PADL_(user_long_t)]; user_long_t arg; char arg_r_[PADR_(user_long_t)]; | |
1579 | }; | |
1580 | struct select_nocancel_args { | |
1581 | char nd_l_[PADL_(int)]; int nd; char nd_r_[PADR_(int)]; | |
1582 | char in_l_[PADL_(user_addr_t)]; user_addr_t in; char in_r_[PADR_(user_addr_t)]; | |
1583 | char ou_l_[PADL_(user_addr_t)]; user_addr_t ou; char ou_r_[PADR_(user_addr_t)]; | |
1584 | char ex_l_[PADL_(user_addr_t)]; user_addr_t ex; char ex_r_[PADR_(user_addr_t)]; | |
1585 | char tv_l_[PADL_(user_addr_t)]; user_addr_t tv; char tv_r_[PADR_(user_addr_t)]; | |
1586 | }; | |
1587 | struct fsync_nocancel_args { | |
1588 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
1589 | }; | |
1590 | #if SOCKETS | |
1591 | struct connect_nocancel_args { | |
1592 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; | |
1593 | char name_l_[PADL_(user_addr_t)]; user_addr_t name; char name_r_[PADR_(user_addr_t)]; | |
1594 | char namelen_l_[PADL_(socklen_t)]; socklen_t namelen; char namelen_r_[PADR_(socklen_t)]; | |
1595 | }; | |
1596 | #else | |
1597 | #endif /* SOCKETS */ | |
1598 | struct sigsuspend_nocancel_args { | |
1599 | char mask_l_[PADL_(sigset_t)]; sigset_t mask; char mask_r_[PADR_(sigset_t)]; | |
1600 | }; | |
1601 | struct readv_nocancel_args { | |
1602 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
1603 | char iovp_l_[PADL_(user_addr_t)]; user_addr_t iovp; char iovp_r_[PADR_(user_addr_t)]; | |
1604 | char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)]; | |
1605 | }; | |
1606 | struct writev_nocancel_args { | |
1607 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
1608 | char iovp_l_[PADL_(user_addr_t)]; user_addr_t iovp; char iovp_r_[PADR_(user_addr_t)]; | |
1609 | char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)]; | |
1610 | }; | |
1611 | #if SOCKETS | |
1612 | struct sendto_nocancel_args { | |
1613 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; | |
1614 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; | |
1615 | char len_l_[PADL_(user_size_t)]; user_size_t len; char len_r_[PADR_(user_size_t)]; | |
1616 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; | |
1617 | char to_l_[PADL_(user_addr_t)]; user_addr_t to; char to_r_[PADR_(user_addr_t)]; | |
1618 | char tolen_l_[PADL_(socklen_t)]; socklen_t tolen; char tolen_r_[PADR_(socklen_t)]; | |
1619 | }; | |
1620 | #else | |
1621 | #endif /* SOCKETS */ | |
1622 | struct pread_nocancel_args { | |
1623 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
1624 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; | |
1625 | char nbyte_l_[PADL_(user_size_t)]; user_size_t nbyte; char nbyte_r_[PADR_(user_size_t)]; | |
1626 | char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)]; | |
1627 | }; | |
1628 | struct pwrite_nocancel_args { | |
1629 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
1630 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; | |
1631 | char nbyte_l_[PADL_(user_size_t)]; user_size_t nbyte; char nbyte_r_[PADR_(user_size_t)]; | |
1632 | char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)]; | |
1633 | }; | |
1634 | struct waitid_nocancel_args { | |
1635 | char idtype_l_[PADL_(idtype_t)]; idtype_t idtype; char idtype_r_[PADR_(idtype_t)]; | |
1636 | char id_l_[PADL_(id_t)]; id_t id; char id_r_[PADR_(id_t)]; | |
1637 | char infop_l_[PADL_(user_addr_t)]; user_addr_t infop; char infop_r_[PADR_(user_addr_t)]; | |
1638 | char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)]; | |
1639 | }; | |
1640 | struct poll_nocancel_args { | |
1641 | char fds_l_[PADL_(user_addr_t)]; user_addr_t fds; char fds_r_[PADR_(user_addr_t)]; | |
1642 | char nfds_l_[PADL_(u_int)]; u_int nfds; char nfds_r_[PADR_(u_int)]; | |
1643 | char timeout_l_[PADL_(int)]; int timeout; char timeout_r_[PADR_(int)]; | |
1644 | }; | |
1645 | #if SYSV_MSG | |
1646 | struct msgsnd_nocancel_args { | |
1647 | char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)]; | |
1648 | char msgp_l_[PADL_(user_addr_t)]; user_addr_t msgp; char msgp_r_[PADR_(user_addr_t)]; | |
1649 | char msgsz_l_[PADL_(user_size_t)]; user_size_t msgsz; char msgsz_r_[PADR_(user_size_t)]; | |
1650 | char msgflg_l_[PADL_(int)]; int msgflg; char msgflg_r_[PADR_(int)]; | |
1651 | }; | |
1652 | struct msgrcv_nocancel_args { | |
1653 | char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)]; | |
1654 | char msgp_l_[PADL_(user_addr_t)]; user_addr_t msgp; char msgp_r_[PADR_(user_addr_t)]; | |
1655 | char msgsz_l_[PADL_(user_size_t)]; user_size_t msgsz; char msgsz_r_[PADR_(user_size_t)]; | |
1656 | char msgtyp_l_[PADL_(user_long_t)]; user_long_t msgtyp; char msgtyp_r_[PADR_(user_long_t)]; | |
1657 | char msgflg_l_[PADL_(int)]; int msgflg; char msgflg_r_[PADR_(int)]; | |
1658 | }; | |
1659 | #else | |
1660 | #endif | |
1661 | struct sem_wait_nocancel_args { | |
1662 | char sem_l_[PADL_(user_addr_t)]; user_addr_t sem; char sem_r_[PADR_(user_addr_t)]; | |
1663 | }; | |
1664 | struct aio_suspend_nocancel_args { | |
1665 | char aiocblist_l_[PADL_(user_addr_t)]; user_addr_t aiocblist; char aiocblist_r_[PADR_(user_addr_t)]; | |
1666 | char nent_l_[PADL_(int)]; int nent; char nent_r_[PADR_(int)]; | |
1667 | char timeoutp_l_[PADL_(user_addr_t)]; user_addr_t timeoutp; char timeoutp_r_[PADR_(user_addr_t)]; | |
1668 | }; | |
1669 | struct __sigwait_nocancel_args { | |
1670 | char set_l_[PADL_(user_addr_t)]; user_addr_t set; char set_r_[PADR_(user_addr_t)]; | |
1671 | char sig_l_[PADL_(user_addr_t)]; user_addr_t sig; char sig_r_[PADR_(user_addr_t)]; | |
1672 | }; | |
1673 | struct __semwait_signal_nocancel_args { | |
1674 | char cond_sem_l_[PADL_(int)]; int cond_sem; char cond_sem_r_[PADR_(int)]; | |
1675 | char mutex_sem_l_[PADL_(int)]; int mutex_sem; char mutex_sem_r_[PADR_(int)]; | |
1676 | char timeout_l_[PADL_(int)]; int timeout; char timeout_r_[PADR_(int)]; | |
1677 | char relative_l_[PADL_(int)]; int relative; char relative_r_[PADR_(int)]; | |
1678 | char tv_sec_l_[PADL_(time_t)]; time_t tv_sec; char tv_sec_r_[PADR_(time_t)]; | |
1679 | char tv_nsec_l_[PADL_(int32_t)]; int32_t tv_nsec; char tv_nsec_r_[PADR_(int32_t)]; | |
1680 | }; | |
1681 | struct __mac_mount_args { | |
1682 | char type_l_[PADL_(user_addr_t)]; user_addr_t type; char type_r_[PADR_(user_addr_t)]; | |
1683 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
1684 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; | |
1685 | char data_l_[PADL_(user_addr_t)]; user_addr_t data; char data_r_[PADR_(user_addr_t)]; | |
1686 | char mac_p_l_[PADL_(user_addr_t)]; user_addr_t mac_p; char mac_p_r_[PADR_(user_addr_t)]; | |
1687 | }; | |
1688 | struct __mac_get_mount_args { | |
1689 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
1690 | char mac_p_l_[PADL_(user_addr_t)]; user_addr_t mac_p; char mac_p_r_[PADR_(user_addr_t)]; | |
1691 | }; | |
1692 | struct __mac_getfsstat_args { | |
1693 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; | |
1694 | char bufsize_l_[PADL_(int)]; int bufsize; char bufsize_r_[PADR_(int)]; | |
1695 | char mac_l_[PADL_(user_addr_t)]; user_addr_t mac; char mac_r_[PADR_(user_addr_t)]; | |
1696 | char macsize_l_[PADL_(int)]; int macsize; char macsize_r_[PADR_(int)]; | |
1697 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; | |
1698 | }; | |
91447636 A |
1699 | int nosys(struct proc *, struct nosys_args *, int *); |
1700 | void exit(struct proc *, struct exit_args *, int *); | |
1701 | int fork(struct proc *, struct fork_args *, int *); | |
1702 | int read(struct proc *, struct read_args *, user_ssize_t *); | |
1703 | int write(struct proc *, struct write_args *, user_ssize_t *); | |
1704 | int open(struct proc *, struct open_args *, int *); | |
1705 | int close(struct proc *, struct close_args *, int *); | |
1706 | int wait4(struct proc *, struct wait4_args *, int *); | |
1707 | int link(struct proc *, struct link_args *, int *); | |
1708 | int unlink(struct proc *, struct unlink_args *, int *); | |
1709 | int chdir(struct proc *, struct chdir_args *, int *); | |
1710 | int fchdir(struct proc *, struct fchdir_args *, int *); | |
1711 | int mknod(struct proc *, struct mknod_args *, int *); | |
1712 | int chmod(struct proc *, struct chmod_args *, int *); | |
1713 | int chown(struct proc *, struct chown_args *, int *); | |
1714 | int obreak(struct proc *, struct obreak_args *, int *); | |
1715 | #if COMPAT_GETFSSTAT | |
1716 | int ogetfsstat(struct proc *, struct ogetfsstat_args *, int *); | |
1717 | #else | |
1718 | int getfsstat(struct proc *, struct getfsstat_args *, int *); | |
1719 | #endif | |
1720 | int getpid(struct proc *, struct getpid_args *, int *); | |
1721 | int setuid(struct proc *, struct setuid_args *, int *); | |
1722 | int getuid(struct proc *, struct getuid_args *, int *); | |
1723 | int geteuid(struct proc *, struct geteuid_args *, int *); | |
1724 | int ptrace(struct proc *, struct ptrace_args *, int *); | |
2d21ac55 | 1725 | #if SOCKETS |
91447636 A |
1726 | int recvmsg(struct proc *, struct recvmsg_args *, int *); |
1727 | int sendmsg(struct proc *, struct sendmsg_args *, int *); | |
1728 | int recvfrom(struct proc *, struct recvfrom_args *, int *); | |
1729 | int accept(struct proc *, struct accept_args *, int *); | |
1730 | int getpeername(struct proc *, struct getpeername_args *, int *); | |
1731 | int getsockname(struct proc *, struct getsockname_args *, int *); | |
2d21ac55 A |
1732 | #else |
1733 | #endif /* SOCKETS */ | |
91447636 A |
1734 | int access(struct proc *, struct access_args *, int *); |
1735 | int chflags(struct proc *, struct chflags_args *, int *); | |
1736 | int fchflags(struct proc *, struct fchflags_args *, int *); | |
1737 | int sync(struct proc *, struct sync_args *, int *); | |
1738 | int kill(struct proc *, struct kill_args *, int *); | |
1739 | int getppid(struct proc *, struct getppid_args *, int *); | |
1740 | int dup(struct proc *, struct dup_args *, int *); | |
1741 | int pipe(struct proc *, struct pipe_args *, int *); | |
1742 | int getegid(struct proc *, struct getegid_args *, int *); | |
1743 | int profil(struct proc *, struct profil_args *, int *); | |
91447636 A |
1744 | int sigaction(struct proc *, struct sigaction_args *, int *); |
1745 | int getgid(struct proc *, struct getgid_args *, int *); | |
1746 | int sigprocmask(struct proc *, struct sigprocmask_args *, int *); | |
1747 | int getlogin(struct proc *, struct getlogin_args *, int *); | |
1748 | int setlogin(struct proc *, struct setlogin_args *, int *); | |
1749 | int acct(struct proc *, struct acct_args *, int *); | |
1750 | int sigpending(struct proc *, struct sigpending_args *, int *); | |
1751 | int sigaltstack(struct proc *, struct sigaltstack_args *, int *); | |
1752 | int ioctl(struct proc *, struct ioctl_args *, int *); | |
1753 | int reboot(struct proc *, struct reboot_args *, int *); | |
1754 | int revoke(struct proc *, struct revoke_args *, int *); | |
1755 | int symlink(struct proc *, struct symlink_args *, int *); | |
1756 | int readlink(struct proc *, struct readlink_args *, int *); | |
1757 | int execve(struct proc *, struct execve_args *, int *); | |
1758 | int umask(struct proc *, struct umask_args *, int *); | |
1759 | int chroot(struct proc *, struct chroot_args *, int *); | |
1760 | int msync(struct proc *, struct msync_args *, int *); | |
1761 | int vfork(struct proc *, struct vfork_args *, int *); | |
1762 | int sbrk(struct proc *, struct sbrk_args *, int *); | |
1763 | int sstk(struct proc *, struct sstk_args *, int *); | |
1764 | int ovadvise(struct proc *, struct ovadvise_args *, int *); | |
1765 | int munmap(struct proc *, struct munmap_args *, int *); | |
1766 | int mprotect(struct proc *, struct mprotect_args *, int *); | |
1767 | int madvise(struct proc *, struct madvise_args *, int *); | |
1768 | int mincore(struct proc *, struct mincore_args *, int *); | |
1769 | int getgroups(struct proc *, struct getgroups_args *, int *); | |
1770 | int setgroups(struct proc *, struct setgroups_args *, int *); | |
1771 | int getpgrp(struct proc *, struct getpgrp_args *, int *); | |
1772 | int setpgid(struct proc *, struct setpgid_args *, int *); | |
1773 | int setitimer(struct proc *, struct setitimer_args *, int *); | |
1774 | int swapon(struct proc *, struct swapon_args *, int *); | |
1775 | int getitimer(struct proc *, struct getitimer_args *, int *); | |
1776 | int getdtablesize(struct proc *, struct getdtablesize_args *, int *); | |
1777 | int dup2(struct proc *, struct dup2_args *, int *); | |
1778 | int fcntl(struct proc *, struct fcntl_args *, int *); | |
1779 | int select(struct proc *, struct select_args *, int *); | |
1780 | int fsync(struct proc *, struct fsync_args *, int *); | |
1781 | int setpriority(struct proc *, struct setpriority_args *, int *); | |
2d21ac55 | 1782 | #if SOCKETS |
91447636 A |
1783 | int socket(struct proc *, struct socket_args *, int *); |
1784 | int connect(struct proc *, struct connect_args *, int *); | |
2d21ac55 A |
1785 | #else |
1786 | #endif /* SOCKETS */ | |
91447636 | 1787 | int getpriority(struct proc *, struct getpriority_args *, int *); |
2d21ac55 | 1788 | #if SOCKETS |
91447636 A |
1789 | int bind(struct proc *, struct bind_args *, int *); |
1790 | int setsockopt(struct proc *, struct setsockopt_args *, int *); | |
1791 | int listen(struct proc *, struct listen_args *, int *); | |
2d21ac55 A |
1792 | #else |
1793 | #endif /* SOCKETS */ | |
91447636 | 1794 | int sigsuspend(struct proc *, struct sigsuspend_args *, int *); |
2d21ac55 A |
1795 | #if SOCKETS |
1796 | #else | |
1797 | #endif /* SOCKETS */ | |
91447636 | 1798 | int gettimeofday(struct proc *, struct gettimeofday_args *, int *); |
91447636 | 1799 | int getrusage(struct proc *, struct getrusage_args *, int *); |
2d21ac55 | 1800 | #if SOCKETS |
91447636 | 1801 | int getsockopt(struct proc *, struct getsockopt_args *, int *); |
2d21ac55 A |
1802 | #else |
1803 | #endif /* SOCKETS */ | |
91447636 A |
1804 | int readv(struct proc *, struct readv_args *, user_ssize_t *); |
1805 | int writev(struct proc *, struct writev_args *, user_ssize_t *); | |
1806 | int settimeofday(struct proc *, struct settimeofday_args *, int *); | |
1807 | int fchown(struct proc *, struct fchown_args *, int *); | |
1808 | int fchmod(struct proc *, struct fchmod_args *, int *); | |
2d21ac55 A |
1809 | int setreuid(struct proc *, struct setreuid_args *, int *); |
1810 | int setregid(struct proc *, struct setregid_args *, int *); | |
91447636 A |
1811 | int rename(struct proc *, struct rename_args *, int *); |
1812 | int flock(struct proc *, struct flock_args *, int *); | |
1813 | int mkfifo(struct proc *, struct mkfifo_args *, int *); | |
2d21ac55 | 1814 | #if SOCKETS |
91447636 A |
1815 | int sendto(struct proc *, struct sendto_args *, int *); |
1816 | int shutdown(struct proc *, struct shutdown_args *, int *); | |
1817 | int socketpair(struct proc *, struct socketpair_args *, int *); | |
2d21ac55 A |
1818 | #else |
1819 | #endif /* SOCKETS */ | |
91447636 A |
1820 | int mkdir(struct proc *, struct mkdir_args *, int *); |
1821 | int rmdir(struct proc *, struct rmdir_args *, int *); | |
1822 | int utimes(struct proc *, struct utimes_args *, int *); | |
1823 | int futimes(struct proc *, struct futimes_args *, int *); | |
1824 | int adjtime(struct proc *, struct adjtime_args *, int *); | |
2d21ac55 | 1825 | int gethostuuid(struct proc *, struct gethostuuid_args *, int *); |
91447636 A |
1826 | int setsid(struct proc *, struct setsid_args *, int *); |
1827 | int getpgid(struct proc *, struct getpgid_args *, int *); | |
1828 | int setprivexec(struct proc *, struct setprivexec_args *, int *); | |
1829 | int pread(struct proc *, struct pread_args *, user_ssize_t *); | |
1830 | int pwrite(struct proc *, struct pwrite_args *, user_ssize_t *); | |
1831 | #if NFSSERVER | |
1832 | int nfssvc(struct proc *, struct nfssvc_args *, int *); | |
1833 | #else | |
1834 | #endif | |
1835 | int statfs(struct proc *, struct statfs_args *, int *); | |
1836 | int fstatfs(struct proc *, struct fstatfs_args *, int *); | |
1837 | int unmount(struct proc *, struct unmount_args *, int *); | |
2d21ac55 | 1838 | #if NFSSERVER |
91447636 A |
1839 | int getfh(struct proc *, struct getfh_args *, int *); |
1840 | #else | |
1841 | #endif | |
1842 | int quotactl(struct proc *, struct quotactl_args *, int *); | |
1843 | int mount(struct proc *, struct mount_args *, int *); | |
2d21ac55 | 1844 | int csops(struct proc *, struct csops_args *, int *); |
91447636 A |
1845 | int waitid(struct proc *, struct waitid_args *, int *); |
1846 | int add_profil(struct proc *, struct add_profil_args *, int *); | |
1847 | int kdebug_trace(struct proc *, struct kdebug_trace_args *, int *); | |
1848 | int setgid(struct proc *, struct setgid_args *, int *); | |
1849 | int setegid(struct proc *, struct setegid_args *, int *); | |
1850 | int seteuid(struct proc *, struct seteuid_args *, int *); | |
91447636 | 1851 | int sigreturn(struct proc *, struct sigreturn_args *, int *); |
0c530ab8 | 1852 | int chud(struct proc *, struct chud_args *, int *); |
91447636 A |
1853 | int stat(struct proc *, struct stat_args *, int *); |
1854 | int fstat(struct proc *, struct fstat_args *, int *); | |
1855 | int lstat(struct proc *, struct lstat_args *, int *); | |
1856 | int pathconf(struct proc *, struct pathconf_args *, int *); | |
1857 | int fpathconf(struct proc *, struct fpathconf_args *, int *); | |
91447636 A |
1858 | int getrlimit(struct proc *, struct getrlimit_args *, int *); |
1859 | int setrlimit(struct proc *, struct setrlimit_args *, int *); | |
1860 | int getdirentries(struct proc *, struct getdirentries_args *, int *); | |
1861 | int mmap(struct proc *, struct mmap_args *, user_addr_t *); | |
1862 | int lseek(struct proc *, struct lseek_args *, off_t *); | |
1863 | int truncate(struct proc *, struct truncate_args *, int *); | |
1864 | int ftruncate(struct proc *, struct ftruncate_args *, int *); | |
1865 | int __sysctl(struct proc *, struct __sysctl_args *, int *); | |
1866 | int mlock(struct proc *, struct mlock_args *, int *); | |
1867 | int munlock(struct proc *, struct munlock_args *, int *); | |
1868 | int undelete(struct proc *, struct undelete_args *, int *); | |
2d21ac55 | 1869 | #if NETAT |
91447636 A |
1870 | int ATsocket(struct proc *, struct ATsocket_args *, int *); |
1871 | int ATgetmsg(struct proc *, struct ATgetmsg_args *, int *); | |
1872 | int ATputmsg(struct proc *, struct ATputmsg_args *, int *); | |
1873 | int ATPsndreq(struct proc *, struct ATPsndreq_args *, int *); | |
1874 | int ATPsndrsp(struct proc *, struct ATPsndrsp_args *, int *); | |
1875 | int ATPgetreq(struct proc *, struct ATPgetreq_args *, int *); | |
1876 | int ATPgetrsp(struct proc *, struct ATPgetrsp_args *, int *); | |
2d21ac55 A |
1877 | #else |
1878 | #endif /* NETAT */ | |
91447636 A |
1879 | int kqueue_from_portset_np(struct proc *, struct kqueue_from_portset_np_args *, int *); |
1880 | int kqueue_portset_np(struct proc *, struct kqueue_portset_np_args *, int *); | |
1881 | int getattrlist(struct proc *, struct getattrlist_args *, int *); | |
1882 | int setattrlist(struct proc *, struct setattrlist_args *, int *); | |
1883 | int getdirentriesattr(struct proc *, struct getdirentriesattr_args *, int *); | |
1884 | int exchangedata(struct proc *, struct exchangedata_args *, int *); | |
91447636 A |
1885 | int searchfs(struct proc *, struct searchfs_args *, int *); |
1886 | int delete(struct proc *, struct delete_args *, int *); | |
1887 | int copyfile(struct proc *, struct copyfile_args *, int *); | |
1888 | int poll(struct proc *, struct poll_args *, int *); | |
1889 | int watchevent(struct proc *, struct watchevent_args *, int *); | |
1890 | int waitevent(struct proc *, struct waitevent_args *, int *); | |
1891 | int modwatch(struct proc *, struct modwatch_args *, int *); | |
1892 | int getxattr(struct proc *, struct getxattr_args *, user_ssize_t *); | |
1893 | int fgetxattr(struct proc *, struct fgetxattr_args *, user_ssize_t *); | |
1894 | int setxattr(struct proc *, struct setxattr_args *, int *); | |
1895 | int fsetxattr(struct proc *, struct fsetxattr_args *, int *); | |
1896 | int removexattr(struct proc *, struct removexattr_args *, int *); | |
1897 | int fremovexattr(struct proc *, struct fremovexattr_args *, int *); | |
1898 | int listxattr(struct proc *, struct listxattr_args *, user_ssize_t *); | |
1899 | int flistxattr(struct proc *, struct flistxattr_args *, user_ssize_t *); | |
1900 | int fsctl(struct proc *, struct fsctl_args *, int *); | |
1901 | int initgroups(struct proc *, struct initgroups_args *, int *); | |
2d21ac55 | 1902 | int posix_spawn(struct proc *, struct posix_spawn_args *, int *); |
91447636 A |
1903 | #if NFSCLIENT |
1904 | int nfsclnt(struct proc *, struct nfsclnt_args *, int *); | |
2d21ac55 A |
1905 | #else |
1906 | #endif | |
1907 | #if NFSSERVER | |
91447636 A |
1908 | int fhopen(struct proc *, struct fhopen_args *, int *); |
1909 | #else | |
1910 | #endif | |
1911 | int minherit(struct proc *, struct minherit_args *, int *); | |
2d21ac55 | 1912 | #if SYSV_SEM |
91447636 | 1913 | int semsys(struct proc *, struct semsys_args *, int *); |
2d21ac55 A |
1914 | #else |
1915 | #endif | |
1916 | #if SYSV_MSG | |
91447636 | 1917 | int msgsys(struct proc *, struct msgsys_args *, int *); |
2d21ac55 A |
1918 | #else |
1919 | #endif | |
1920 | #if SYSV_SHM | |
91447636 | 1921 | int shmsys(struct proc *, struct shmsys_args *, int *); |
2d21ac55 A |
1922 | #else |
1923 | #endif | |
1924 | #if SYSV_SEM | |
91447636 A |
1925 | int semctl(struct proc *, struct semctl_args *, int *); |
1926 | int semget(struct proc *, struct semget_args *, int *); | |
1927 | int semop(struct proc *, struct semop_args *, int *); | |
2d21ac55 A |
1928 | #else |
1929 | #endif | |
1930 | #if SYSV_MSG | |
91447636 A |
1931 | int msgctl(struct proc *, struct msgctl_args *, int *); |
1932 | int msgget(struct proc *, struct msgget_args *, int *); | |
1933 | int msgsnd(struct proc *, struct msgsnd_args *, int *); | |
1934 | int msgrcv(struct proc *, struct msgrcv_args *, user_ssize_t *); | |
2d21ac55 A |
1935 | #else |
1936 | #endif | |
1937 | #if SYSV_SHM | |
1938 | int shmat(struct proc *, struct shmat_args *, user_addr_t *); | |
91447636 A |
1939 | int shmctl(struct proc *, struct shmctl_args *, int *); |
1940 | int shmdt(struct proc *, struct shmdt_args *, int *); | |
1941 | int shmget(struct proc *, struct shmget_args *, int *); | |
2d21ac55 A |
1942 | #else |
1943 | #endif | |
91447636 A |
1944 | int shm_open(struct proc *, struct shm_open_args *, int *); |
1945 | int shm_unlink(struct proc *, struct shm_unlink_args *, int *); | |
1946 | int sem_open(struct proc *, struct sem_open_args *, user_addr_t *); | |
1947 | int sem_close(struct proc *, struct sem_close_args *, int *); | |
1948 | int sem_unlink(struct proc *, struct sem_unlink_args *, int *); | |
1949 | int sem_wait(struct proc *, struct sem_wait_args *, int *); | |
1950 | int sem_trywait(struct proc *, struct sem_trywait_args *, int *); | |
1951 | int sem_post(struct proc *, struct sem_post_args *, int *); | |
1952 | int sem_getvalue(struct proc *, struct sem_getvalue_args *, int *); | |
1953 | int sem_init(struct proc *, struct sem_init_args *, int *); | |
1954 | int sem_destroy(struct proc *, struct sem_destroy_args *, int *); | |
1955 | int open_extended(struct proc *, struct open_extended_args *, int *); | |
1956 | int umask_extended(struct proc *, struct umask_extended_args *, int *); | |
1957 | int stat_extended(struct proc *, struct stat_extended_args *, int *); | |
1958 | int lstat_extended(struct proc *, struct lstat_extended_args *, int *); | |
1959 | int fstat_extended(struct proc *, struct fstat_extended_args *, int *); | |
1960 | int chmod_extended(struct proc *, struct chmod_extended_args *, int *); | |
1961 | int fchmod_extended(struct proc *, struct fchmod_extended_args *, int *); | |
1962 | int access_extended(struct proc *, struct access_extended_args *, int *); | |
1963 | int settid(struct proc *, struct settid_args *, int *); | |
1964 | int gettid(struct proc *, struct gettid_args *, int *); | |
1965 | int setsgroups(struct proc *, struct setsgroups_args *, int *); | |
1966 | int getsgroups(struct proc *, struct getsgroups_args *, int *); | |
1967 | int setwgroups(struct proc *, struct setwgroups_args *, int *); | |
1968 | int getwgroups(struct proc *, struct getwgroups_args *, int *); | |
1969 | int mkfifo_extended(struct proc *, struct mkfifo_extended_args *, int *); | |
1970 | int mkdir_extended(struct proc *, struct mkdir_extended_args *, int *); | |
1971 | int identitysvc(struct proc *, struct identitysvc_args *, int *); | |
2d21ac55 A |
1972 | int shared_region_check_np(struct proc *, struct shared_region_check_np_args *, int *); |
1973 | int shared_region_map_np(struct proc *, struct shared_region_map_np_args *, int *); | |
1974 | int __pthread_mutex_destroy(struct proc *, struct __pthread_mutex_destroy_args *, int *); | |
1975 | int __pthread_mutex_init(struct proc *, struct __pthread_mutex_init_args *, int *); | |
1976 | int __pthread_mutex_lock(struct proc *, struct __pthread_mutex_lock_args *, int *); | |
1977 | int __pthread_mutex_trylock(struct proc *, struct __pthread_mutex_trylock_args *, int *); | |
1978 | int __pthread_mutex_unlock(struct proc *, struct __pthread_mutex_unlock_args *, int *); | |
1979 | int __pthread_cond_init(struct proc *, struct __pthread_cond_init_args *, int *); | |
1980 | int __pthread_cond_destroy(struct proc *, struct __pthread_cond_destroy_args *, int *); | |
1981 | int __pthread_cond_broadcast(struct proc *, struct __pthread_cond_broadcast_args *, int *); | |
1982 | int __pthread_cond_signal(struct proc *, struct __pthread_cond_signal_args *, int *); | |
91447636 A |
1983 | int getsid(struct proc *, struct getsid_args *, int *); |
1984 | int settid_with_pid(struct proc *, struct settid_with_pid_args *, int *); | |
2d21ac55 | 1985 | int __pthread_cond_timedwait(struct proc *, struct __pthread_cond_timedwait_args *, int *); |
91447636 A |
1986 | int aio_fsync(struct proc *, struct aio_fsync_args *, int *); |
1987 | int aio_return(struct proc *, struct aio_return_args *, user_ssize_t *); | |
1988 | int aio_suspend(struct proc *, struct aio_suspend_args *, int *); | |
1989 | int aio_cancel(struct proc *, struct aio_cancel_args *, int *); | |
1990 | int aio_error(struct proc *, struct aio_error_args *, int *); | |
1991 | int aio_read(struct proc *, struct aio_read_args *, int *); | |
1992 | int aio_write(struct proc *, struct aio_write_args *, int *); | |
1993 | int lio_listio(struct proc *, struct lio_listio_args *, int *); | |
2d21ac55 A |
1994 | int __pthread_cond_wait(struct proc *, struct __pthread_cond_wait_args *, int *); |
1995 | int iopolicysys(struct proc *, struct iopolicysys_args *, int *); | |
91447636 A |
1996 | int mlockall(struct proc *, struct mlockall_args *, int *); |
1997 | int munlockall(struct proc *, struct munlockall_args *, int *); | |
1998 | int issetugid(struct proc *, struct issetugid_args *, int *); | |
1999 | int __pthread_kill(struct proc *, struct __pthread_kill_args *, int *); | |
2d21ac55 A |
2000 | int __pthread_sigmask(struct proc *, struct __pthread_sigmask_args *, int *); |
2001 | int __sigwait(struct proc *, struct __sigwait_args *, int *); | |
91447636 A |
2002 | int __disable_threadsignal(struct proc *, struct __disable_threadsignal_args *, int *); |
2003 | int __pthread_markcancel(struct proc *, struct __pthread_markcancel_args *, int *); | |
2004 | int __pthread_canceled(struct proc *, struct __pthread_canceled_args *, int *); | |
2005 | int __semwait_signal(struct proc *, struct __semwait_signal_args *, int *); | |
0c530ab8 | 2006 | int proc_info(struct proc *, struct proc_info_args *, int *); |
2d21ac55 A |
2007 | #if SENDFILE |
2008 | int sendfile(struct proc *, struct sendfile_args *, int *); | |
2009 | #else /* !SENDFILE */ | |
2010 | #endif /* SENDFILE */ | |
2011 | int stat64(struct proc *, struct stat64_args *, int *); | |
2012 | int fstat64(struct proc *, struct fstat64_args *, int *); | |
2013 | int lstat64(struct proc *, struct lstat64_args *, int *); | |
2014 | int stat64_extended(struct proc *, struct stat64_extended_args *, int *); | |
2015 | int lstat64_extended(struct proc *, struct lstat64_extended_args *, int *); | |
2016 | int fstat64_extended(struct proc *, struct fstat64_extended_args *, int *); | |
2017 | int getdirentries64(struct proc *, struct getdirentries64_args *, user_ssize_t *); | |
2018 | int statfs64(struct proc *, struct statfs64_args *, int *); | |
2019 | int fstatfs64(struct proc *, struct fstatfs64_args *, int *); | |
2020 | int getfsstat64(struct proc *, struct getfsstat64_args *, int *); | |
2021 | int __pthread_chdir(struct proc *, struct __pthread_chdir_args *, int *); | |
2022 | int __pthread_fchdir(struct proc *, struct __pthread_fchdir_args *, int *); | |
2023 | #if AUDIT | |
91447636 A |
2024 | int audit(struct proc *, struct audit_args *, int *); |
2025 | int auditon(struct proc *, struct auditon_args *, int *); | |
2026 | int getauid(struct proc *, struct getauid_args *, int *); | |
2027 | int setauid(struct proc *, struct setauid_args *, int *); | |
2028 | int getaudit(struct proc *, struct getaudit_args *, int *); | |
2029 | int setaudit(struct proc *, struct setaudit_args *, int *); | |
2030 | int getaudit_addr(struct proc *, struct getaudit_addr_args *, int *); | |
2031 | int setaudit_addr(struct proc *, struct setaudit_addr_args *, int *); | |
2032 | int auditctl(struct proc *, struct auditctl_args *, int *); | |
2d21ac55 A |
2033 | #else |
2034 | #endif | |
2035 | int bsdthread_create(struct proc *, struct bsdthread_create_args *, user_addr_t *); | |
2036 | int bsdthread_terminate(struct proc *, struct bsdthread_terminate_args *, int *); | |
91447636 A |
2037 | int kqueue(struct proc *, struct kqueue_args *, int *); |
2038 | int kevent(struct proc *, struct kevent_args *, int *); | |
2039 | int lchown(struct proc *, struct lchown_args *, int *); | |
0c530ab8 | 2040 | int stack_snapshot(struct proc *, struct stack_snapshot_args *, int *); |
2d21ac55 A |
2041 | int bsdthread_register(struct proc *, struct bsdthread_register_args *, int *); |
2042 | int workq_open(struct proc *, struct workq_open_args *, int *); | |
2043 | int workq_ops(struct proc *, struct workq_ops_args *, int *); | |
2044 | int __mac_execve(struct proc *, struct __mac_execve_args *, int *); | |
2045 | int __mac_syscall(struct proc *, struct __mac_syscall_args *, int *); | |
2046 | int __mac_get_file(struct proc *, struct __mac_get_file_args *, int *); | |
2047 | int __mac_set_file(struct proc *, struct __mac_set_file_args *, int *); | |
2048 | int __mac_get_link(struct proc *, struct __mac_get_link_args *, int *); | |
2049 | int __mac_set_link(struct proc *, struct __mac_set_link_args *, int *); | |
2050 | int __mac_get_proc(struct proc *, struct __mac_get_proc_args *, int *); | |
2051 | int __mac_set_proc(struct proc *, struct __mac_set_proc_args *, int *); | |
2052 | int __mac_get_fd(struct proc *, struct __mac_get_fd_args *, int *); | |
2053 | int __mac_set_fd(struct proc *, struct __mac_set_fd_args *, int *); | |
2054 | int __mac_get_pid(struct proc *, struct __mac_get_pid_args *, int *); | |
2055 | int __mac_get_lcid(struct proc *, struct __mac_get_lcid_args *, int *); | |
2056 | int __mac_get_lctx(struct proc *, struct __mac_get_lctx_args *, int *); | |
2057 | int __mac_set_lctx(struct proc *, struct __mac_set_lctx_args *, int *); | |
2058 | int setlcid(struct proc *, struct setlcid_args *, int *); | |
2059 | int getlcid(struct proc *, struct getlcid_args *, int *); | |
2060 | int read_nocancel(struct proc *, struct read_nocancel_args *, user_ssize_t *); | |
2061 | int write_nocancel(struct proc *, struct write_nocancel_args *, user_ssize_t *); | |
2062 | int open_nocancel(struct proc *, struct open_nocancel_args *, int *); | |
2063 | int close_nocancel(struct proc *, struct close_nocancel_args *, int *); | |
2064 | int wait4_nocancel(struct proc *, struct wait4_nocancel_args *, int *); | |
2065 | #if SOCKETS | |
2066 | int recvmsg_nocancel(struct proc *, struct recvmsg_nocancel_args *, int *); | |
2067 | int sendmsg_nocancel(struct proc *, struct sendmsg_nocancel_args *, int *); | |
2068 | int recvfrom_nocancel(struct proc *, struct recvfrom_nocancel_args *, int *); | |
2069 | int accept_nocancel(struct proc *, struct accept_nocancel_args *, int *); | |
2070 | #else | |
2071 | #endif /* SOCKETS */ | |
2072 | int msync_nocancel(struct proc *, struct msync_nocancel_args *, int *); | |
2073 | int fcntl_nocancel(struct proc *, struct fcntl_nocancel_args *, int *); | |
2074 | int select_nocancel(struct proc *, struct select_nocancel_args *, int *); | |
2075 | int fsync_nocancel(struct proc *, struct fsync_nocancel_args *, int *); | |
2076 | #if SOCKETS | |
2077 | int connect_nocancel(struct proc *, struct connect_nocancel_args *, int *); | |
2078 | #else | |
2079 | #endif /* SOCKETS */ | |
2080 | int sigsuspend_nocancel(struct proc *, struct sigsuspend_nocancel_args *, int *); | |
2081 | int readv_nocancel(struct proc *, struct readv_nocancel_args *, user_ssize_t *); | |
2082 | int writev_nocancel(struct proc *, struct writev_nocancel_args *, user_ssize_t *); | |
2083 | #if SOCKETS | |
2084 | int sendto_nocancel(struct proc *, struct sendto_nocancel_args *, int *); | |
2085 | #else | |
2086 | #endif /* SOCKETS */ | |
2087 | int pread_nocancel(struct proc *, struct pread_nocancel_args *, user_ssize_t *); | |
2088 | int pwrite_nocancel(struct proc *, struct pwrite_nocancel_args *, user_ssize_t *); | |
2089 | int waitid_nocancel(struct proc *, struct waitid_nocancel_args *, int *); | |
2090 | int poll_nocancel(struct proc *, struct poll_nocancel_args *, int *); | |
2091 | #if SYSV_MSG | |
2092 | int msgsnd_nocancel(struct proc *, struct msgsnd_nocancel_args *, int *); | |
2093 | int msgrcv_nocancel(struct proc *, struct msgrcv_nocancel_args *, user_ssize_t *); | |
2094 | #else | |
2095 | #endif | |
2096 | int sem_wait_nocancel(struct proc *, struct sem_wait_nocancel_args *, int *); | |
2097 | int aio_suspend_nocancel(struct proc *, struct aio_suspend_nocancel_args *, int *); | |
2098 | int __sigwait_nocancel(struct proc *, struct __sigwait_nocancel_args *, int *); | |
2099 | int __semwait_signal_nocancel(struct proc *, struct __semwait_signal_nocancel_args *, int *); | |
2100 | int __mac_mount(struct proc *, struct __mac_mount_args *, int *); | |
2101 | int __mac_get_mount(struct proc *, struct __mac_get_mount_args *, int *); | |
2102 | int __mac_getfsstat(struct proc *, struct __mac_getfsstat_args *, int *); | |
91447636 A |
2103 | |
2104 | __END_DECLS | |
2105 | #undef PAD_ | |
2106 | #undef PADL_ | |
2107 | #undef PADR_ | |
2108 | ||
2109 | #endif /* __APPLE_API_PRIVATE */ | |
2110 | #endif /* KERNEL */ | |
2111 | ||
2112 | #endif /* !_SYS_SYSPROTO_H_ */ |