]>
Commit | Line | Data |
---|---|---|
1 | /* | |
2 | * Copyright (c) 2004 Apple Computer, Inc. All rights reserved. | |
3 | * | |
4 | * @APPLE_LICENSE_HEADER_START@ | |
5 | * | |
6 | * The contents of this file constitute Original Code as defined in and | |
7 | * are subject to the Apple Public Source License Version 1.1 (the | |
8 | * "License"). You may not use this file except in compliance with the | |
9 | * License. Please obtain a copy of the License at | |
10 | * http://www.apple.com/publicsource and read it before using this file. | |
11 | * | |
12 | * This Original Code and all software distributed under the License are | |
13 | * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER | |
14 | * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, | |
15 | * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, | |
16 | * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the | |
17 | * License for the specific language governing rights and limitations | |
18 | * under the License. | |
19 | * | |
20 | * @APPLE_LICENSE_HEADER_END@ | |
21 | * | |
22 | * | |
23 | * System call switch table. | |
24 | * | |
25 | * DO NOT EDIT-- this file is automatically generated. | |
26 | * created from syscalls.master | |
27 | */ | |
28 | ||
29 | #ifndef _SYS_SYSPROTO_H_ | |
30 | #define _SYS_SYSPROTO_H_ | |
31 | ||
32 | #include <sys/appleapiopts.h> | |
33 | #include <sys/cdefs.h> | |
34 | #include <sys/mount_internal.h> | |
35 | #include <sys/types.h> | |
36 | #include <sys/sem_internal.h> | |
37 | #include <sys/semaphore.h> | |
38 | #include <sys/wait.h> | |
39 | #include <mach/shared_memory_server.h> | |
40 | ||
41 | #ifdef KERNEL | |
42 | #ifdef __APPLE_API_PRIVATE | |
43 | #ifdef __ppc__ | |
44 | #define PAD_(t) (sizeof(uint64_t) <= sizeof(t) \ | |
45 | ? 0 : sizeof(uint64_t) - sizeof(t)) | |
46 | #else | |
47 | #define PAD_(t) (sizeof(register_t) <= sizeof(t) \ | |
48 | ? 0 : sizeof(register_t) - sizeof(t)) | |
49 | #endif | |
50 | #if BYTE_ORDER == LITTLE_ENDIAN | |
51 | #define PADL_(t) 0 | |
52 | #define PADR_(t) PAD_(t) | |
53 | #else | |
54 | #define PADL_(t) PAD_(t) | |
55 | #define PADR_(t) 0 | |
56 | #endif | |
57 | ||
58 | __BEGIN_DECLS | |
59 | #ifndef __MUNGE_ONCE | |
60 | #define __MUNGE_ONCE | |
61 | #ifdef __ppc__ | |
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 *); | |
70 | void munge_d(const void *, void *); | |
71 | void munge_dd(const void *, void *); | |
72 | void munge_ddd(const void *, void *); | |
73 | void munge_dddd(const void *, void *); | |
74 | void munge_ddddd(const void *, void *); | |
75 | void munge_dddddd(const void *, void *); | |
76 | void munge_ddddddd(const void *, void *); | |
77 | void munge_dddddddd(const void *, void *); | |
78 | void munge_wl(const void *, void *); | |
79 | void munge_wlw(const void *, void *); | |
80 | void munge_wwwl(const void *, void *); | |
81 | void munge_wwwwl(const void *, void *); | |
82 | void munge_wwwwwl(const void *, void *); | |
83 | void munge_wsw(const void *, void *); | |
84 | void munge_wws(const void *, void *); | |
85 | void munge_wwwsw(const void *, void *); | |
86 | #else | |
87 | #define munge_w NULL | |
88 | #define munge_ww NULL | |
89 | #define munge_www NULL | |
90 | #define munge_wwww NULL | |
91 | #define munge_wwwww NULL | |
92 | #define munge_wwwwww NULL | |
93 | #define munge_wwwwwww NULL | |
94 | #define munge_wwwwwwww NULL | |
95 | #define munge_d NULL | |
96 | #define munge_dd NULL | |
97 | #define munge_ddd NULL | |
98 | #define munge_dddd NULL | |
99 | #define munge_ddddd NULL | |
100 | #define munge_dddddd NULL | |
101 | #define munge_ddddddd NULL | |
102 | #define munge_dddddddd NULL | |
103 | #define munge_wl NULL | |
104 | #define munge_wlw NULL | |
105 | #define munge_wwwl NULL | |
106 | #define munge_wwwwl NULL | |
107 | #define munge_wwwwwl NULL | |
108 | #define munge_wsw NULL | |
109 | #define munge_wws NULL | |
110 | #define munge_wwwsw NULL | |
111 | #endif // __ppc__ | |
112 | #endif /* !__MUNGE_ONCE */ | |
113 | ||
114 | struct nosys_args { | |
115 | register_t dummy; | |
116 | }; | |
117 | struct exit_args { | |
118 | char rval_l_[PADL_(int)]; int rval; char rval_r_[PADR_(int)]; | |
119 | }; | |
120 | struct fork_args { | |
121 | register_t dummy; | |
122 | }; | |
123 | struct read_args { | |
124 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
125 | char cbuf_l_[PADL_(user_addr_t)]; user_addr_t cbuf; char cbuf_r_[PADR_(user_addr_t)]; | |
126 | char nbyte_l_[PADL_(user_size_t)]; user_size_t nbyte; char nbyte_r_[PADR_(user_size_t)]; | |
127 | }; | |
128 | struct write_args { | |
129 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
130 | char cbuf_l_[PADL_(user_addr_t)]; user_addr_t cbuf; char cbuf_r_[PADR_(user_addr_t)]; | |
131 | char nbyte_l_[PADL_(user_size_t)]; user_size_t nbyte; char nbyte_r_[PADR_(user_size_t)]; | |
132 | }; | |
133 | struct open_args { | |
134 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
135 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; | |
136 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; | |
137 | }; | |
138 | struct close_args { | |
139 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
140 | }; | |
141 | struct wait4_args { | |
142 | char pid_l_[PADL_(int)]; int pid; char pid_r_[PADR_(int)]; | |
143 | char status_l_[PADL_(user_addr_t)]; user_addr_t status; char status_r_[PADR_(user_addr_t)]; | |
144 | char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)]; | |
145 | char rusage_l_[PADL_(user_addr_t)]; user_addr_t rusage; char rusage_r_[PADR_(user_addr_t)]; | |
146 | }; | |
147 | struct link_args { | |
148 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
149 | char link_l_[PADL_(user_addr_t)]; user_addr_t link; char link_r_[PADR_(user_addr_t)]; | |
150 | }; | |
151 | struct unlink_args { | |
152 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
153 | }; | |
154 | struct chdir_args { | |
155 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
156 | }; | |
157 | struct fchdir_args { | |
158 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
159 | }; | |
160 | struct mknod_args { | |
161 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
162 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; | |
163 | char dev_l_[PADL_(int)]; int dev; char dev_r_[PADR_(int)]; | |
164 | }; | |
165 | struct chmod_args { | |
166 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
167 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; | |
168 | }; | |
169 | struct chown_args { | |
170 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
171 | char uid_l_[PADL_(int)]; int uid; char uid_r_[PADR_(int)]; | |
172 | char gid_l_[PADL_(int)]; int gid; char gid_r_[PADR_(int)]; | |
173 | }; | |
174 | struct obreak_args { | |
175 | char nsize_l_[PADL_(char *)]; char * nsize; char nsize_r_[PADR_(char *)]; | |
176 | }; | |
177 | #if COMPAT_GETFSSTAT | |
178 | struct ogetfsstat_args { | |
179 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; | |
180 | char bufsize_l_[PADL_(int)]; int bufsize; char bufsize_r_[PADR_(int)]; | |
181 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; | |
182 | }; | |
183 | #else | |
184 | struct getfsstat_args { | |
185 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; | |
186 | char bufsize_l_[PADL_(int)]; int bufsize; char bufsize_r_[PADR_(int)]; | |
187 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; | |
188 | }; | |
189 | #endif | |
190 | struct getpid_args { | |
191 | register_t dummy; | |
192 | }; | |
193 | struct setuid_args { | |
194 | char uid_l_[PADL_(uid_t)]; uid_t uid; char uid_r_[PADR_(uid_t)]; | |
195 | }; | |
196 | struct getuid_args { | |
197 | register_t dummy; | |
198 | }; | |
199 | struct geteuid_args { | |
200 | register_t dummy; | |
201 | }; | |
202 | struct ptrace_args { | |
203 | char req_l_[PADL_(int)]; int req; char req_r_[PADR_(int)]; | |
204 | char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)]; | |
205 | char addr_l_[PADL_(user_addr_t)]; user_addr_t addr; char addr_r_[PADR_(user_addr_t)]; | |
206 | char data_l_[PADL_(int)]; int data; char data_r_[PADR_(int)]; | |
207 | }; | |
208 | struct recvmsg_args { | |
209 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; | |
210 | char msg_l_[PADL_(user_addr_t)]; user_addr_t msg; char msg_r_[PADR_(user_addr_t)]; | |
211 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; | |
212 | }; | |
213 | struct sendmsg_args { | |
214 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; | |
215 | char msg_l_[PADL_(user_addr_t)]; user_addr_t msg; char msg_r_[PADR_(user_addr_t)]; | |
216 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; | |
217 | }; | |
218 | struct recvfrom_args { | |
219 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; | |
220 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; | |
221 | char len_l_[PADL_(user_size_t)]; user_size_t len; char len_r_[PADR_(user_size_t)]; | |
222 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; | |
223 | char from_l_[PADL_(user_addr_t)]; user_addr_t from; char from_r_[PADR_(user_addr_t)]; | |
224 | char fromlenaddr_l_[PADL_(user_addr_t)]; user_addr_t fromlenaddr; char fromlenaddr_r_[PADR_(user_addr_t)]; | |
225 | }; | |
226 | struct accept_args { | |
227 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; | |
228 | char name_l_[PADL_(user_addr_t)]; user_addr_t name; char name_r_[PADR_(user_addr_t)]; | |
229 | char anamelen_l_[PADL_(user_addr_t)]; user_addr_t anamelen; char anamelen_r_[PADR_(user_addr_t)]; | |
230 | }; | |
231 | struct getpeername_args { | |
232 | char fdes_l_[PADL_(int)]; int fdes; char fdes_r_[PADR_(int)]; | |
233 | char asa_l_[PADL_(user_addr_t)]; user_addr_t asa; char asa_r_[PADR_(user_addr_t)]; | |
234 | char alen_l_[PADL_(user_addr_t)]; user_addr_t alen; char alen_r_[PADR_(user_addr_t)]; | |
235 | }; | |
236 | struct getsockname_args { | |
237 | char fdes_l_[PADL_(int)]; int fdes; char fdes_r_[PADR_(int)]; | |
238 | char asa_l_[PADL_(user_addr_t)]; user_addr_t asa; char asa_r_[PADR_(user_addr_t)]; | |
239 | char alen_l_[PADL_(user_addr_t)]; user_addr_t alen; char alen_r_[PADR_(user_addr_t)]; | |
240 | }; | |
241 | struct access_args { | |
242 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
243 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; | |
244 | }; | |
245 | struct chflags_args { | |
246 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
247 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; | |
248 | }; | |
249 | struct fchflags_args { | |
250 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
251 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; | |
252 | }; | |
253 | struct sync_args { | |
254 | register_t dummy; | |
255 | }; | |
256 | struct kill_args { | |
257 | char pid_l_[PADL_(int)]; int pid; char pid_r_[PADR_(int)]; | |
258 | char signum_l_[PADL_(int)]; int signum; char signum_r_[PADR_(int)]; | |
259 | }; | |
260 | struct getppid_args { | |
261 | register_t dummy; | |
262 | }; | |
263 | struct dup_args { | |
264 | char fd_l_[PADL_(u_int)]; u_int fd; char fd_r_[PADR_(u_int)]; | |
265 | }; | |
266 | struct pipe_args { | |
267 | register_t dummy; | |
268 | }; | |
269 | struct getegid_args { | |
270 | register_t dummy; | |
271 | }; | |
272 | struct profil_args { | |
273 | char bufbase_l_[PADL_(user_addr_t)]; user_addr_t bufbase; char bufbase_r_[PADR_(user_addr_t)]; | |
274 | char bufsize_l_[PADL_(user_size_t)]; user_size_t bufsize; char bufsize_r_[PADR_(user_size_t)]; | |
275 | char pcoffset_l_[PADL_(user_ulong_t)]; user_ulong_t pcoffset; char pcoffset_r_[PADR_(user_ulong_t)]; | |
276 | char pcscale_l_[PADL_(u_int)]; u_int pcscale; char pcscale_r_[PADR_(u_int)]; | |
277 | }; | |
278 | struct ktrace_args { | |
279 | char fname_l_[PADL_(user_addr_t)]; user_addr_t fname; char fname_r_[PADR_(user_addr_t)]; | |
280 | char ops_l_[PADL_(int)]; int ops; char ops_r_[PADR_(int)]; | |
281 | char facs_l_[PADL_(int)]; int facs; char facs_r_[PADR_(int)]; | |
282 | char pid_l_[PADL_(int)]; int pid; char pid_r_[PADR_(int)]; | |
283 | }; | |
284 | struct sigaction_args { | |
285 | char signum_l_[PADL_(int)]; int signum; char signum_r_[PADR_(int)]; | |
286 | char nsa_l_[PADL_(user_addr_t)]; user_addr_t nsa; char nsa_r_[PADR_(user_addr_t)]; | |
287 | char osa_l_[PADL_(user_addr_t)]; user_addr_t osa; char osa_r_[PADR_(user_addr_t)]; | |
288 | }; | |
289 | struct getgid_args { | |
290 | register_t dummy; | |
291 | }; | |
292 | struct sigprocmask_args { | |
293 | char how_l_[PADL_(int)]; int how; char how_r_[PADR_(int)]; | |
294 | char mask_l_[PADL_(user_addr_t)]; user_addr_t mask; char mask_r_[PADR_(user_addr_t)]; | |
295 | char omask_l_[PADL_(user_addr_t)]; user_addr_t omask; char omask_r_[PADR_(user_addr_t)]; | |
296 | }; | |
297 | struct getlogin_args { | |
298 | char namebuf_l_[PADL_(user_addr_t)]; user_addr_t namebuf; char namebuf_r_[PADR_(user_addr_t)]; | |
299 | char namelen_l_[PADL_(u_int)]; u_int namelen; char namelen_r_[PADR_(u_int)]; | |
300 | }; | |
301 | struct setlogin_args { | |
302 | char namebuf_l_[PADL_(user_addr_t)]; user_addr_t namebuf; char namebuf_r_[PADR_(user_addr_t)]; | |
303 | }; | |
304 | struct acct_args { | |
305 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
306 | }; | |
307 | struct sigpending_args { | |
308 | char osv_l_[PADL_(user_addr_t)]; user_addr_t osv; char osv_r_[PADR_(user_addr_t)]; | |
309 | }; | |
310 | struct sigaltstack_args { | |
311 | char nss_l_[PADL_(user_addr_t)]; user_addr_t nss; char nss_r_[PADR_(user_addr_t)]; | |
312 | char oss_l_[PADL_(user_addr_t)]; user_addr_t oss; char oss_r_[PADR_(user_addr_t)]; | |
313 | }; | |
314 | struct ioctl_args { | |
315 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
316 | char com_l_[PADL_(user_ulong_t)]; user_ulong_t com; char com_r_[PADR_(user_ulong_t)]; | |
317 | char data_l_[PADL_(user_addr_t)]; user_addr_t data; char data_r_[PADR_(user_addr_t)]; | |
318 | }; | |
319 | struct reboot_args { | |
320 | char opt_l_[PADL_(int)]; int opt; char opt_r_[PADR_(int)]; | |
321 | char command_l_[PADL_(user_addr_t)]; user_addr_t command; char command_r_[PADR_(user_addr_t)]; | |
322 | }; | |
323 | struct revoke_args { | |
324 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
325 | }; | |
326 | struct symlink_args { | |
327 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
328 | char link_l_[PADL_(user_addr_t)]; user_addr_t link; char link_r_[PADR_(user_addr_t)]; | |
329 | }; | |
330 | struct readlink_args { | |
331 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
332 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; | |
333 | char count_l_[PADL_(int)]; int count; char count_r_[PADR_(int)]; | |
334 | }; | |
335 | struct execve_args { | |
336 | char fname_l_[PADL_(user_addr_t)]; user_addr_t fname; char fname_r_[PADR_(user_addr_t)]; | |
337 | char argp_l_[PADL_(user_addr_t)]; user_addr_t argp; char argp_r_[PADR_(user_addr_t)]; | |
338 | char envp_l_[PADL_(user_addr_t)]; user_addr_t envp; char envp_r_[PADR_(user_addr_t)]; | |
339 | }; | |
340 | struct umask_args { | |
341 | char newmask_l_[PADL_(int)]; int newmask; char newmask_r_[PADR_(int)]; | |
342 | }; | |
343 | struct chroot_args { | |
344 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
345 | }; | |
346 | struct msync_args { | |
347 | char addr_l_[PADL_(user_addr_t)]; user_addr_t addr; char addr_r_[PADR_(user_addr_t)]; | |
348 | char len_l_[PADL_(user_size_t)]; user_size_t len; char len_r_[PADR_(user_size_t)]; | |
349 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; | |
350 | }; | |
351 | struct vfork_args { | |
352 | register_t dummy; | |
353 | }; | |
354 | struct sbrk_args { | |
355 | char incr_l_[PADL_(int)]; int incr; char incr_r_[PADR_(int)]; | |
356 | }; | |
357 | struct sstk_args { | |
358 | char incr_l_[PADL_(int)]; int incr; char incr_r_[PADR_(int)]; | |
359 | }; | |
360 | struct ovadvise_args { | |
361 | register_t dummy; | |
362 | }; | |
363 | struct munmap_args { | |
364 | char addr_l_[PADL_(user_addr_t)]; user_addr_t addr; char addr_r_[PADR_(user_addr_t)]; | |
365 | char len_l_[PADL_(user_size_t)]; user_size_t len; char len_r_[PADR_(user_size_t)]; | |
366 | }; | |
367 | struct mprotect_args { | |
368 | char addr_l_[PADL_(user_addr_t)]; user_addr_t addr; char addr_r_[PADR_(user_addr_t)]; | |
369 | char len_l_[PADL_(user_size_t)]; user_size_t len; char len_r_[PADR_(user_size_t)]; | |
370 | char prot_l_[PADL_(int)]; int prot; char prot_r_[PADR_(int)]; | |
371 | }; | |
372 | struct madvise_args { | |
373 | char addr_l_[PADL_(user_addr_t)]; user_addr_t addr; char addr_r_[PADR_(user_addr_t)]; | |
374 | char len_l_[PADL_(user_size_t)]; user_size_t len; char len_r_[PADR_(user_size_t)]; | |
375 | char behav_l_[PADL_(int)]; int behav; char behav_r_[PADR_(int)]; | |
376 | }; | |
377 | struct mincore_args { | |
378 | char addr_l_[PADL_(user_addr_t)]; user_addr_t addr; char addr_r_[PADR_(user_addr_t)]; | |
379 | char len_l_[PADL_(user_size_t)]; user_size_t len; char len_r_[PADR_(user_size_t)]; | |
380 | char vec_l_[PADL_(user_addr_t)]; user_addr_t vec; char vec_r_[PADR_(user_addr_t)]; | |
381 | }; | |
382 | struct getgroups_args { | |
383 | char gidsetsize_l_[PADL_(u_int)]; u_int gidsetsize; char gidsetsize_r_[PADR_(u_int)]; | |
384 | char gidset_l_[PADL_(user_addr_t)]; user_addr_t gidset; char gidset_r_[PADR_(user_addr_t)]; | |
385 | }; | |
386 | struct setgroups_args { | |
387 | char gidsetsize_l_[PADL_(u_int)]; u_int gidsetsize; char gidsetsize_r_[PADR_(u_int)]; | |
388 | char gidset_l_[PADL_(user_addr_t)]; user_addr_t gidset; char gidset_r_[PADR_(user_addr_t)]; | |
389 | }; | |
390 | struct getpgrp_args { | |
391 | register_t dummy; | |
392 | }; | |
393 | struct setpgid_args { | |
394 | char pid_l_[PADL_(int)]; int pid; char pid_r_[PADR_(int)]; | |
395 | char pgid_l_[PADL_(int)]; int pgid; char pgid_r_[PADR_(int)]; | |
396 | }; | |
397 | struct setitimer_args { | |
398 | char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)]; | |
399 | char itv_l_[PADL_(user_addr_t)]; user_addr_t itv; char itv_r_[PADR_(user_addr_t)]; | |
400 | char oitv_l_[PADL_(user_addr_t)]; user_addr_t oitv; char oitv_r_[PADR_(user_addr_t)]; | |
401 | }; | |
402 | struct swapon_args { | |
403 | register_t dummy; | |
404 | }; | |
405 | struct getitimer_args { | |
406 | char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)]; | |
407 | char itv_l_[PADL_(user_addr_t)]; user_addr_t itv; char itv_r_[PADR_(user_addr_t)]; | |
408 | }; | |
409 | struct getdtablesize_args { | |
410 | register_t dummy; | |
411 | }; | |
412 | struct dup2_args { | |
413 | char from_l_[PADL_(u_int)]; u_int from; char from_r_[PADR_(u_int)]; | |
414 | char to_l_[PADL_(u_int)]; u_int to; char to_r_[PADR_(u_int)]; | |
415 | }; | |
416 | struct fcntl_args { | |
417 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
418 | char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; | |
419 | char arg_l_[PADL_(user_long_t)]; user_long_t arg; char arg_r_[PADR_(user_long_t)]; | |
420 | }; | |
421 | struct select_args { | |
422 | char nd_l_[PADL_(int)]; int nd; char nd_r_[PADR_(int)]; | |
423 | char in_l_[PADL_(user_addr_t)]; user_addr_t in; char in_r_[PADR_(user_addr_t)]; | |
424 | char ou_l_[PADL_(user_addr_t)]; user_addr_t ou; char ou_r_[PADR_(user_addr_t)]; | |
425 | char ex_l_[PADL_(user_addr_t)]; user_addr_t ex; char ex_r_[PADR_(user_addr_t)]; | |
426 | char tv_l_[PADL_(user_addr_t)]; user_addr_t tv; char tv_r_[PADR_(user_addr_t)]; | |
427 | }; | |
428 | struct fsync_args { | |
429 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
430 | }; | |
431 | struct setpriority_args { | |
432 | char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)]; | |
433 | char who_l_[PADL_(int)]; int who; char who_r_[PADR_(int)]; | |
434 | char prio_l_[PADL_(int)]; int prio; char prio_r_[PADR_(int)]; | |
435 | }; | |
436 | struct socket_args { | |
437 | char domain_l_[PADL_(int)]; int domain; char domain_r_[PADR_(int)]; | |
438 | char type_l_[PADL_(int)]; int type; char type_r_[PADR_(int)]; | |
439 | char protocol_l_[PADL_(int)]; int protocol; char protocol_r_[PADR_(int)]; | |
440 | }; | |
441 | struct connect_args { | |
442 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; | |
443 | char name_l_[PADL_(user_addr_t)]; user_addr_t name; char name_r_[PADR_(user_addr_t)]; | |
444 | char namelen_l_[PADL_(socklen_t)]; socklen_t namelen; char namelen_r_[PADR_(socklen_t)]; | |
445 | }; | |
446 | struct getpriority_args { | |
447 | char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)]; | |
448 | char who_l_[PADL_(int)]; int who; char who_r_[PADR_(int)]; | |
449 | }; | |
450 | #ifdef __ppc__ | |
451 | #else | |
452 | struct sigreturn_args { | |
453 | char sigcntxp_l_[PADL_(struct sigcontext *)]; struct sigcontext * sigcntxp; char sigcntxp_r_[PADR_(struct sigcontext *)]; | |
454 | }; | |
455 | #endif | |
456 | struct bind_args { | |
457 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; | |
458 | char name_l_[PADL_(user_addr_t)]; user_addr_t name; char name_r_[PADR_(user_addr_t)]; | |
459 | char namelen_l_[PADL_(socklen_t)]; socklen_t namelen; char namelen_r_[PADR_(socklen_t)]; | |
460 | }; | |
461 | struct setsockopt_args { | |
462 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; | |
463 | char level_l_[PADL_(int)]; int level; char level_r_[PADR_(int)]; | |
464 | char name_l_[PADL_(int)]; int name; char name_r_[PADR_(int)]; | |
465 | char val_l_[PADL_(user_addr_t)]; user_addr_t val; char val_r_[PADR_(user_addr_t)]; | |
466 | char valsize_l_[PADL_(socklen_t)]; socklen_t valsize; char valsize_r_[PADR_(socklen_t)]; | |
467 | }; | |
468 | struct listen_args { | |
469 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; | |
470 | char backlog_l_[PADL_(int)]; int backlog; char backlog_r_[PADR_(int)]; | |
471 | }; | |
472 | struct sigsuspend_args { | |
473 | char mask_l_[PADL_(sigset_t)]; sigset_t mask; char mask_r_[PADR_(sigset_t)]; | |
474 | }; | |
475 | #ifdef __ppc__ | |
476 | struct ppc_gettimeofday_args { | |
477 | char tp_l_[PADL_(user_addr_t)]; user_addr_t tp; char tp_r_[PADR_(user_addr_t)]; | |
478 | char tzp_l_[PADL_(user_addr_t)]; user_addr_t tzp; char tzp_r_[PADR_(user_addr_t)]; | |
479 | }; | |
480 | #else | |
481 | struct gettimeofday_args { | |
482 | char tp_l_[PADL_(user_addr_t)]; user_addr_t tp; char tp_r_[PADR_(user_addr_t)]; | |
483 | char tzp_l_[PADL_(user_addr_t)]; user_addr_t tzp; char tzp_r_[PADR_(user_addr_t)]; | |
484 | }; | |
485 | #endif | |
486 | struct getrusage_args { | |
487 | char who_l_[PADL_(int)]; int who; char who_r_[PADR_(int)]; | |
488 | char rusage_l_[PADL_(user_addr_t)]; user_addr_t rusage; char rusage_r_[PADR_(user_addr_t)]; | |
489 | }; | |
490 | struct getsockopt_args { | |
491 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; | |
492 | char level_l_[PADL_(int)]; int level; char level_r_[PADR_(int)]; | |
493 | char name_l_[PADL_(int)]; int name; char name_r_[PADR_(int)]; | |
494 | char val_l_[PADL_(user_addr_t)]; user_addr_t val; char val_r_[PADR_(user_addr_t)]; | |
495 | char avalsize_l_[PADL_(user_addr_t)]; user_addr_t avalsize; char avalsize_r_[PADR_(user_addr_t)]; | |
496 | }; | |
497 | struct readv_args { | |
498 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
499 | char iovp_l_[PADL_(user_addr_t)]; user_addr_t iovp; char iovp_r_[PADR_(user_addr_t)]; | |
500 | char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)]; | |
501 | }; | |
502 | struct writev_args { | |
503 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
504 | char iovp_l_[PADL_(user_addr_t)]; user_addr_t iovp; char iovp_r_[PADR_(user_addr_t)]; | |
505 | char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)]; | |
506 | }; | |
507 | struct settimeofday_args { | |
508 | char tv_l_[PADL_(user_addr_t)]; user_addr_t tv; char tv_r_[PADR_(user_addr_t)]; | |
509 | char tzp_l_[PADL_(user_addr_t)]; user_addr_t tzp; char tzp_r_[PADR_(user_addr_t)]; | |
510 | }; | |
511 | struct fchown_args { | |
512 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
513 | char uid_l_[PADL_(int)]; int uid; char uid_r_[PADR_(int)]; | |
514 | char gid_l_[PADL_(int)]; int gid; char gid_r_[PADR_(int)]; | |
515 | }; | |
516 | struct fchmod_args { | |
517 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
518 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; | |
519 | }; | |
520 | struct rename_args { | |
521 | char from_l_[PADL_(user_addr_t)]; user_addr_t from; char from_r_[PADR_(user_addr_t)]; | |
522 | char to_l_[PADL_(user_addr_t)]; user_addr_t to; char to_r_[PADR_(user_addr_t)]; | |
523 | }; | |
524 | struct flock_args { | |
525 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
526 | char how_l_[PADL_(int)]; int how; char how_r_[PADR_(int)]; | |
527 | }; | |
528 | struct mkfifo_args { | |
529 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
530 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; | |
531 | }; | |
532 | struct sendto_args { | |
533 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; | |
534 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; | |
535 | char len_l_[PADL_(user_size_t)]; user_size_t len; char len_r_[PADR_(user_size_t)]; | |
536 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; | |
537 | char to_l_[PADL_(user_addr_t)]; user_addr_t to; char to_r_[PADR_(user_addr_t)]; | |
538 | char tolen_l_[PADL_(socklen_t)]; socklen_t tolen; char tolen_r_[PADR_(socklen_t)]; | |
539 | }; | |
540 | struct shutdown_args { | |
541 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; | |
542 | char how_l_[PADL_(int)]; int how; char how_r_[PADR_(int)]; | |
543 | }; | |
544 | struct socketpair_args { | |
545 | char domain_l_[PADL_(int)]; int domain; char domain_r_[PADR_(int)]; | |
546 | char type_l_[PADL_(int)]; int type; char type_r_[PADR_(int)]; | |
547 | char protocol_l_[PADL_(int)]; int protocol; char protocol_r_[PADR_(int)]; | |
548 | char rsv_l_[PADL_(user_addr_t)]; user_addr_t rsv; char rsv_r_[PADR_(user_addr_t)]; | |
549 | }; | |
550 | struct mkdir_args { | |
551 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
552 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; | |
553 | }; | |
554 | struct rmdir_args { | |
555 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
556 | }; | |
557 | struct utimes_args { | |
558 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
559 | char tptr_l_[PADL_(user_addr_t)]; user_addr_t tptr; char tptr_r_[PADR_(user_addr_t)]; | |
560 | }; | |
561 | struct futimes_args { | |
562 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
563 | char tptr_l_[PADL_(user_addr_t)]; user_addr_t tptr; char tptr_r_[PADR_(user_addr_t)]; | |
564 | }; | |
565 | struct adjtime_args { | |
566 | char delta_l_[PADL_(user_addr_t)]; user_addr_t delta; char delta_r_[PADR_(user_addr_t)]; | |
567 | char olddelta_l_[PADL_(user_addr_t)]; user_addr_t olddelta; char olddelta_r_[PADR_(user_addr_t)]; | |
568 | }; | |
569 | struct setsid_args { | |
570 | register_t dummy; | |
571 | }; | |
572 | struct getpgid_args { | |
573 | char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)]; | |
574 | }; | |
575 | struct setprivexec_args { | |
576 | char flag_l_[PADL_(int)]; int flag; char flag_r_[PADR_(int)]; | |
577 | }; | |
578 | struct pread_args { | |
579 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
580 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; | |
581 | char nbyte_l_[PADL_(user_size_t)]; user_size_t nbyte; char nbyte_r_[PADR_(user_size_t)]; | |
582 | char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)]; | |
583 | }; | |
584 | struct pwrite_args { | |
585 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
586 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; | |
587 | char nbyte_l_[PADL_(user_size_t)]; user_size_t nbyte; char nbyte_r_[PADR_(user_size_t)]; | |
588 | char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)]; | |
589 | }; | |
590 | #if NFSSERVER | |
591 | struct nfssvc_args { | |
592 | char flag_l_[PADL_(int)]; int flag; char flag_r_[PADR_(int)]; | |
593 | char argp_l_[PADL_(user_addr_t)]; user_addr_t argp; char argp_r_[PADR_(user_addr_t)]; | |
594 | }; | |
595 | #else | |
596 | #endif | |
597 | struct statfs_args { | |
598 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
599 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; | |
600 | }; | |
601 | struct fstatfs_args { | |
602 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
603 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; | |
604 | }; | |
605 | struct unmount_args { | |
606 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
607 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; | |
608 | }; | |
609 | #if NFSCLIENT | |
610 | struct getfh_args { | |
611 | char fname_l_[PADL_(user_addr_t)]; user_addr_t fname; char fname_r_[PADR_(user_addr_t)]; | |
612 | char fhp_l_[PADL_(user_addr_t)]; user_addr_t fhp; char fhp_r_[PADR_(user_addr_t)]; | |
613 | }; | |
614 | #else | |
615 | #endif | |
616 | struct quotactl_args { | |
617 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
618 | char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; | |
619 | char uid_l_[PADL_(int)]; int uid; char uid_r_[PADR_(int)]; | |
620 | char arg_l_[PADL_(user_addr_t)]; user_addr_t arg; char arg_r_[PADR_(user_addr_t)]; | |
621 | }; | |
622 | struct mount_args { | |
623 | char type_l_[PADL_(user_addr_t)]; user_addr_t type; char type_r_[PADR_(user_addr_t)]; | |
624 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
625 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; | |
626 | char data_l_[PADL_(user_addr_t)]; user_addr_t data; char data_r_[PADR_(user_addr_t)]; | |
627 | }; | |
628 | struct waitid_args { | |
629 | char idtype_l_[PADL_(idtype_t)]; idtype_t idtype; char idtype_r_[PADR_(idtype_t)]; | |
630 | char id_l_[PADL_(id_t)]; id_t id; char id_r_[PADR_(id_t)]; | |
631 | char infop_l_[PADL_(user_addr_t)]; user_addr_t infop; char infop_r_[PADR_(user_addr_t)]; | |
632 | char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)]; | |
633 | }; | |
634 | struct add_profil_args { | |
635 | char bufbase_l_[PADL_(user_addr_t)]; user_addr_t bufbase; char bufbase_r_[PADR_(user_addr_t)]; | |
636 | char bufsize_l_[PADL_(user_size_t)]; user_size_t bufsize; char bufsize_r_[PADR_(user_size_t)]; | |
637 | char pcoffset_l_[PADL_(user_ulong_t)]; user_ulong_t pcoffset; char pcoffset_r_[PADR_(user_ulong_t)]; | |
638 | char pcscale_l_[PADL_(u_int)]; u_int pcscale; char pcscale_r_[PADR_(u_int)]; | |
639 | }; | |
640 | struct kdebug_trace_args { | |
641 | char code_l_[PADL_(int)]; int code; char code_r_[PADR_(int)]; | |
642 | char arg1_l_[PADL_(int)]; int arg1; char arg1_r_[PADR_(int)]; | |
643 | char arg2_l_[PADL_(int)]; int arg2; char arg2_r_[PADR_(int)]; | |
644 | char arg3_l_[PADL_(int)]; int arg3; char arg3_r_[PADR_(int)]; | |
645 | char arg4_l_[PADL_(int)]; int arg4; char arg4_r_[PADR_(int)]; | |
646 | char arg5_l_[PADL_(int)]; int arg5; char arg5_r_[PADR_(int)]; | |
647 | }; | |
648 | struct setgid_args { | |
649 | char gid_l_[PADL_(gid_t)]; gid_t gid; char gid_r_[PADR_(gid_t)]; | |
650 | }; | |
651 | struct setegid_args { | |
652 | char egid_l_[PADL_(gid_t)]; gid_t egid; char egid_r_[PADR_(gid_t)]; | |
653 | }; | |
654 | struct seteuid_args { | |
655 | char euid_l_[PADL_(uid_t)]; uid_t euid; char euid_r_[PADR_(uid_t)]; | |
656 | }; | |
657 | #ifdef __ppc__ | |
658 | struct sigreturn_args { | |
659 | char uctx_l_[PADL_(user_addr_t)]; user_addr_t uctx; char uctx_r_[PADR_(user_addr_t)]; | |
660 | char infostyle_l_[PADL_(int)]; int infostyle; char infostyle_r_[PADR_(int)]; | |
661 | }; | |
662 | #else | |
663 | #endif | |
664 | struct stat_args { | |
665 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
666 | char ub_l_[PADL_(user_addr_t)]; user_addr_t ub; char ub_r_[PADR_(user_addr_t)]; | |
667 | }; | |
668 | struct fstat_args { | |
669 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
670 | char ub_l_[PADL_(user_addr_t)]; user_addr_t ub; char ub_r_[PADR_(user_addr_t)]; | |
671 | }; | |
672 | struct lstat_args { | |
673 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
674 | char ub_l_[PADL_(user_addr_t)]; user_addr_t ub; char ub_r_[PADR_(user_addr_t)]; | |
675 | }; | |
676 | struct pathconf_args { | |
677 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
678 | char name_l_[PADL_(int)]; int name; char name_r_[PADR_(int)]; | |
679 | }; | |
680 | struct fpathconf_args { | |
681 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
682 | char name_l_[PADL_(int)]; int name; char name_r_[PADR_(int)]; | |
683 | }; | |
684 | #if COMPAT_GETFSSTAT | |
685 | struct getfsstat_args { | |
686 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; | |
687 | char bufsize_l_[PADL_(user_long_t)]; user_long_t bufsize; char bufsize_r_[PADR_(user_long_t)]; | |
688 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; | |
689 | }; | |
690 | #else | |
691 | #endif | |
692 | struct getrlimit_args { | |
693 | char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)]; | |
694 | char rlp_l_[PADL_(user_addr_t)]; user_addr_t rlp; char rlp_r_[PADR_(user_addr_t)]; | |
695 | }; | |
696 | struct setrlimit_args { | |
697 | char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)]; | |
698 | char rlp_l_[PADL_(user_addr_t)]; user_addr_t rlp; char rlp_r_[PADR_(user_addr_t)]; | |
699 | }; | |
700 | struct getdirentries_args { | |
701 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
702 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; | |
703 | char count_l_[PADL_(u_int)]; u_int count; char count_r_[PADR_(u_int)]; | |
704 | char basep_l_[PADL_(user_addr_t)]; user_addr_t basep; char basep_r_[PADR_(user_addr_t)]; | |
705 | }; | |
706 | struct mmap_args { | |
707 | char addr_l_[PADL_(user_addr_t)]; user_addr_t addr; char addr_r_[PADR_(user_addr_t)]; | |
708 | char len_l_[PADL_(user_size_t)]; user_size_t len; char len_r_[PADR_(user_size_t)]; | |
709 | char prot_l_[PADL_(int)]; int prot; char prot_r_[PADR_(int)]; | |
710 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; | |
711 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
712 | char pos_l_[PADL_(off_t)]; off_t pos; char pos_r_[PADR_(off_t)]; | |
713 | }; | |
714 | struct lseek_args { | |
715 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
716 | char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)]; | |
717 | char whence_l_[PADL_(int)]; int whence; char whence_r_[PADR_(int)]; | |
718 | }; | |
719 | struct truncate_args { | |
720 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
721 | char length_l_[PADL_(off_t)]; off_t length; char length_r_[PADR_(off_t)]; | |
722 | }; | |
723 | struct ftruncate_args { | |
724 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
725 | char length_l_[PADL_(off_t)]; off_t length; char length_r_[PADR_(off_t)]; | |
726 | }; | |
727 | struct __sysctl_args { | |
728 | char name_l_[PADL_(user_addr_t)]; user_addr_t name; char name_r_[PADR_(user_addr_t)]; | |
729 | char namelen_l_[PADL_(u_int)]; u_int namelen; char namelen_r_[PADR_(u_int)]; | |
730 | char old_l_[PADL_(user_addr_t)]; user_addr_t old; char old_r_[PADR_(user_addr_t)]; | |
731 | char oldlenp_l_[PADL_(user_addr_t)]; user_addr_t oldlenp; char oldlenp_r_[PADR_(user_addr_t)]; | |
732 | char new_l_[PADL_(user_addr_t)]; user_addr_t new; char new_r_[PADR_(user_addr_t)]; | |
733 | char newlen_l_[PADL_(user_size_t)]; user_size_t newlen; char newlen_r_[PADR_(user_size_t)]; | |
734 | }; | |
735 | struct mlock_args { | |
736 | char addr_l_[PADL_(user_addr_t)]; user_addr_t addr; char addr_r_[PADR_(user_addr_t)]; | |
737 | char len_l_[PADL_(user_size_t)]; user_size_t len; char len_r_[PADR_(user_size_t)]; | |
738 | }; | |
739 | struct munlock_args { | |
740 | char addr_l_[PADL_(user_addr_t)]; user_addr_t addr; char addr_r_[PADR_(user_addr_t)]; | |
741 | char len_l_[PADL_(user_size_t)]; user_size_t len; char len_r_[PADR_(user_size_t)]; | |
742 | }; | |
743 | struct undelete_args { | |
744 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
745 | }; | |
746 | #ifdef __ppc__ | |
747 | struct ATsocket_args { | |
748 | char proto_l_[PADL_(int)]; int proto; char proto_r_[PADR_(int)]; | |
749 | }; | |
750 | struct ATgetmsg_args { | |
751 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
752 | char ctlptr_l_[PADL_(void *)]; void * ctlptr; char ctlptr_r_[PADR_(void *)]; | |
753 | char datptr_l_[PADL_(void *)]; void * datptr; char datptr_r_[PADR_(void *)]; | |
754 | char flags_l_[PADL_(int *)]; int * flags; char flags_r_[PADR_(int *)]; | |
755 | }; | |
756 | struct ATputmsg_args { | |
757 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
758 | char ctlptr_l_[PADL_(void *)]; void * ctlptr; char ctlptr_r_[PADR_(void *)]; | |
759 | char datptr_l_[PADL_(void *)]; void * datptr; char datptr_r_[PADR_(void *)]; | |
760 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; | |
761 | }; | |
762 | struct ATPsndreq_args { | |
763 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
764 | char buf_l_[PADL_(unsigned char *)]; unsigned char * buf; char buf_r_[PADR_(unsigned char *)]; | |
765 | char len_l_[PADL_(int)]; int len; char len_r_[PADR_(int)]; | |
766 | char nowait_l_[PADL_(int)]; int nowait; char nowait_r_[PADR_(int)]; | |
767 | }; | |
768 | struct ATPsndrsp_args { | |
769 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
770 | char respbuff_l_[PADL_(unsigned char *)]; unsigned char * respbuff; char respbuff_r_[PADR_(unsigned char *)]; | |
771 | char resplen_l_[PADL_(int)]; int resplen; char resplen_r_[PADR_(int)]; | |
772 | char datalen_l_[PADL_(int)]; int datalen; char datalen_r_[PADR_(int)]; | |
773 | }; | |
774 | struct ATPgetreq_args { | |
775 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
776 | char buf_l_[PADL_(unsigned char *)]; unsigned char * buf; char buf_r_[PADR_(unsigned char *)]; | |
777 | char buflen_l_[PADL_(int)]; int buflen; char buflen_r_[PADR_(int)]; | |
778 | }; | |
779 | struct ATPgetrsp_args { | |
780 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
781 | char bdsp_l_[PADL_(unsigned char *)]; unsigned char * bdsp; char bdsp_r_[PADR_(unsigned char *)]; | |
782 | }; | |
783 | #else | |
784 | #endif /* __ppc__ */ | |
785 | struct kqueue_from_portset_np_args { | |
786 | char portset_l_[PADL_(int)]; int portset; char portset_r_[PADR_(int)]; | |
787 | }; | |
788 | struct kqueue_portset_np_args { | |
789 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
790 | }; | |
791 | struct getattrlist_args { | |
792 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
793 | char alist_l_[PADL_(user_addr_t)]; user_addr_t alist; char alist_r_[PADR_(user_addr_t)]; | |
794 | char attributeBuffer_l_[PADL_(user_addr_t)]; user_addr_t attributeBuffer; char attributeBuffer_r_[PADR_(user_addr_t)]; | |
795 | char bufferSize_l_[PADL_(user_size_t)]; user_size_t bufferSize; char bufferSize_r_[PADR_(user_size_t)]; | |
796 | char options_l_[PADL_(user_ulong_t)]; user_ulong_t options; char options_r_[PADR_(user_ulong_t)]; | |
797 | }; | |
798 | struct setattrlist_args { | |
799 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
800 | char alist_l_[PADL_(user_addr_t)]; user_addr_t alist; char alist_r_[PADR_(user_addr_t)]; | |
801 | char attributeBuffer_l_[PADL_(user_addr_t)]; user_addr_t attributeBuffer; char attributeBuffer_r_[PADR_(user_addr_t)]; | |
802 | char bufferSize_l_[PADL_(user_size_t)]; user_size_t bufferSize; char bufferSize_r_[PADR_(user_size_t)]; | |
803 | char options_l_[PADL_(user_ulong_t)]; user_ulong_t options; char options_r_[PADR_(user_ulong_t)]; | |
804 | }; | |
805 | struct getdirentriesattr_args { | |
806 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
807 | char alist_l_[PADL_(user_addr_t)]; user_addr_t alist; char alist_r_[PADR_(user_addr_t)]; | |
808 | char buffer_l_[PADL_(user_addr_t)]; user_addr_t buffer; char buffer_r_[PADR_(user_addr_t)]; | |
809 | char buffersize_l_[PADL_(user_size_t)]; user_size_t buffersize; char buffersize_r_[PADR_(user_size_t)]; | |
810 | char count_l_[PADL_(user_addr_t)]; user_addr_t count; char count_r_[PADR_(user_addr_t)]; | |
811 | char basep_l_[PADL_(user_addr_t)]; user_addr_t basep; char basep_r_[PADR_(user_addr_t)]; | |
812 | char newstate_l_[PADL_(user_addr_t)]; user_addr_t newstate; char newstate_r_[PADR_(user_addr_t)]; | |
813 | char options_l_[PADL_(user_ulong_t)]; user_ulong_t options; char options_r_[PADR_(user_ulong_t)]; | |
814 | }; | |
815 | struct exchangedata_args { | |
816 | char path1_l_[PADL_(user_addr_t)]; user_addr_t path1; char path1_r_[PADR_(user_addr_t)]; | |
817 | char path2_l_[PADL_(user_addr_t)]; user_addr_t path2; char path2_r_[PADR_(user_addr_t)]; | |
818 | char options_l_[PADL_(user_ulong_t)]; user_ulong_t options; char options_r_[PADR_(user_ulong_t)]; | |
819 | }; | |
820 | #ifdef __APPLE_API_OBSOLETE | |
821 | struct checkuseraccess_args { | |
822 | char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)]; | |
823 | char userid_l_[PADL_(uid_t)]; uid_t userid; char userid_r_[PADR_(uid_t)]; | |
824 | char groups_l_[PADL_(gid_t *)]; gid_t * groups; char groups_r_[PADR_(gid_t *)]; | |
825 | char ngroups_l_[PADL_(int)]; int ngroups; char ngroups_r_[PADR_(int)]; | |
826 | char accessrequired_l_[PADL_(int)]; int accessrequired; char accessrequired_r_[PADR_(int)]; | |
827 | char options_l_[PADL_(u_long)]; u_long options; char options_r_[PADR_(u_long)]; | |
828 | }; | |
829 | #else | |
830 | #endif /* __APPLE_API_OBSOLETE */ | |
831 | struct searchfs_args { | |
832 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
833 | char searchblock_l_[PADL_(user_addr_t)]; user_addr_t searchblock; char searchblock_r_[PADR_(user_addr_t)]; | |
834 | char nummatches_l_[PADL_(user_addr_t)]; user_addr_t nummatches; char nummatches_r_[PADR_(user_addr_t)]; | |
835 | char scriptcode_l_[PADL_(user_ulong_t)]; user_ulong_t scriptcode; char scriptcode_r_[PADR_(user_ulong_t)]; | |
836 | char options_l_[PADL_(user_ulong_t)]; user_ulong_t options; char options_r_[PADR_(user_ulong_t)]; | |
837 | char state_l_[PADL_(user_addr_t)]; user_addr_t state; char state_r_[PADR_(user_addr_t)]; | |
838 | }; | |
839 | struct delete_args { | |
840 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
841 | }; | |
842 | struct copyfile_args { | |
843 | char from_l_[PADL_(user_addr_t)]; user_addr_t from; char from_r_[PADR_(user_addr_t)]; | |
844 | char to_l_[PADL_(user_addr_t)]; user_addr_t to; char to_r_[PADR_(user_addr_t)]; | |
845 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; | |
846 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; | |
847 | }; | |
848 | struct poll_args { | |
849 | char fds_l_[PADL_(user_addr_t)]; user_addr_t fds; char fds_r_[PADR_(user_addr_t)]; | |
850 | char nfds_l_[PADL_(u_int)]; u_int nfds; char nfds_r_[PADR_(u_int)]; | |
851 | char timeout_l_[PADL_(int)]; int timeout; char timeout_r_[PADR_(int)]; | |
852 | }; | |
853 | struct watchevent_args { | |
854 | char u_req_l_[PADL_(struct eventreq *)]; struct eventreq * u_req; char u_req_r_[PADR_(struct eventreq *)]; | |
855 | char u_eventmask_l_[PADL_(int)]; int u_eventmask; char u_eventmask_r_[PADR_(int)]; | |
856 | }; | |
857 | struct waitevent_args { | |
858 | char u_req_l_[PADL_(struct eventreq *)]; struct eventreq * u_req; char u_req_r_[PADR_(struct eventreq *)]; | |
859 | char tv_l_[PADL_(struct timeval *)]; struct timeval * tv; char tv_r_[PADR_(struct timeval *)]; | |
860 | }; | |
861 | struct modwatch_args { | |
862 | char u_req_l_[PADL_(struct eventreq *)]; struct eventreq * u_req; char u_req_r_[PADR_(struct eventreq *)]; | |
863 | char u_eventmask_l_[PADL_(int)]; int u_eventmask; char u_eventmask_r_[PADR_(int)]; | |
864 | }; | |
865 | struct getxattr_args { | |
866 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
867 | char attrname_l_[PADL_(user_addr_t)]; user_addr_t attrname; char attrname_r_[PADR_(user_addr_t)]; | |
868 | char value_l_[PADL_(user_addr_t)]; user_addr_t value; char value_r_[PADR_(user_addr_t)]; | |
869 | char size_l_[PADL_(user_size_t)]; user_size_t size; char size_r_[PADR_(user_size_t)]; | |
870 | char position_l_[PADL_(uint32_t)]; uint32_t position; char position_r_[PADR_(uint32_t)]; | |
871 | char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)]; | |
872 | }; | |
873 | struct fgetxattr_args { | |
874 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
875 | char attrname_l_[PADL_(user_addr_t)]; user_addr_t attrname; char attrname_r_[PADR_(user_addr_t)]; | |
876 | char value_l_[PADL_(user_addr_t)]; user_addr_t value; char value_r_[PADR_(user_addr_t)]; | |
877 | char size_l_[PADL_(user_size_t)]; user_size_t size; char size_r_[PADR_(user_size_t)]; | |
878 | char position_l_[PADL_(uint32_t)]; uint32_t position; char position_r_[PADR_(uint32_t)]; | |
879 | char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)]; | |
880 | }; | |
881 | struct setxattr_args { | |
882 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
883 | char attrname_l_[PADL_(user_addr_t)]; user_addr_t attrname; char attrname_r_[PADR_(user_addr_t)]; | |
884 | char value_l_[PADL_(user_addr_t)]; user_addr_t value; char value_r_[PADR_(user_addr_t)]; | |
885 | char size_l_[PADL_(user_size_t)]; user_size_t size; char size_r_[PADR_(user_size_t)]; | |
886 | char position_l_[PADL_(uint32_t)]; uint32_t position; char position_r_[PADR_(uint32_t)]; | |
887 | char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)]; | |
888 | }; | |
889 | struct fsetxattr_args { | |
890 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
891 | char attrname_l_[PADL_(user_addr_t)]; user_addr_t attrname; char attrname_r_[PADR_(user_addr_t)]; | |
892 | char value_l_[PADL_(user_addr_t)]; user_addr_t value; char value_r_[PADR_(user_addr_t)]; | |
893 | char size_l_[PADL_(user_size_t)]; user_size_t size; char size_r_[PADR_(user_size_t)]; | |
894 | char position_l_[PADL_(uint32_t)]; uint32_t position; char position_r_[PADR_(uint32_t)]; | |
895 | char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)]; | |
896 | }; | |
897 | struct removexattr_args { | |
898 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
899 | char attrname_l_[PADL_(user_addr_t)]; user_addr_t attrname; char attrname_r_[PADR_(user_addr_t)]; | |
900 | char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)]; | |
901 | }; | |
902 | struct fremovexattr_args { | |
903 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
904 | char attrname_l_[PADL_(user_addr_t)]; user_addr_t attrname; char attrname_r_[PADR_(user_addr_t)]; | |
905 | char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)]; | |
906 | }; | |
907 | struct listxattr_args { | |
908 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
909 | char namebuf_l_[PADL_(user_addr_t)]; user_addr_t namebuf; char namebuf_r_[PADR_(user_addr_t)]; | |
910 | char bufsize_l_[PADL_(user_size_t)]; user_size_t bufsize; char bufsize_r_[PADR_(user_size_t)]; | |
911 | char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)]; | |
912 | }; | |
913 | struct flistxattr_args { | |
914 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
915 | char namebuf_l_[PADL_(user_addr_t)]; user_addr_t namebuf; char namebuf_r_[PADR_(user_addr_t)]; | |
916 | char bufsize_l_[PADL_(user_size_t)]; user_size_t bufsize; char bufsize_r_[PADR_(user_size_t)]; | |
917 | char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)]; | |
918 | }; | |
919 | struct fsctl_args { | |
920 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
921 | char cmd_l_[PADL_(user_ulong_t)]; user_ulong_t cmd; char cmd_r_[PADR_(user_ulong_t)]; | |
922 | char data_l_[PADL_(user_addr_t)]; user_addr_t data; char data_r_[PADR_(user_addr_t)]; | |
923 | char options_l_[PADL_(user_ulong_t)]; user_ulong_t options; char options_r_[PADR_(user_ulong_t)]; | |
924 | }; | |
925 | struct initgroups_args { | |
926 | char gidsetsize_l_[PADL_(u_int)]; u_int gidsetsize; char gidsetsize_r_[PADR_(u_int)]; | |
927 | char gidset_l_[PADL_(user_addr_t)]; user_addr_t gidset; char gidset_r_[PADR_(user_addr_t)]; | |
928 | char gmuid_l_[PADL_(int)]; int gmuid; char gmuid_r_[PADR_(int)]; | |
929 | }; | |
930 | #if NFSCLIENT | |
931 | struct nfsclnt_args { | |
932 | char flag_l_[PADL_(int)]; int flag; char flag_r_[PADR_(int)]; | |
933 | char argp_l_[PADL_(user_addr_t)]; user_addr_t argp; char argp_r_[PADR_(user_addr_t)]; | |
934 | }; | |
935 | struct fhopen_args { | |
936 | char u_fhp_l_[PADL_(user_addr_t)]; user_addr_t u_fhp; char u_fhp_r_[PADR_(user_addr_t)]; | |
937 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; | |
938 | }; | |
939 | #else | |
940 | #endif | |
941 | struct minherit_args { | |
942 | char addr_l_[PADL_(user_addr_t)]; user_addr_t addr; char addr_r_[PADR_(user_addr_t)]; | |
943 | char len_l_[PADL_(user_size_t)]; user_size_t len; char len_r_[PADR_(user_size_t)]; | |
944 | char inherit_l_[PADL_(int)]; int inherit; char inherit_r_[PADR_(int)]; | |
945 | }; | |
946 | struct semsys_args { | |
947 | char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)]; | |
948 | char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)]; | |
949 | char a3_l_[PADL_(int)]; int a3; char a3_r_[PADR_(int)]; | |
950 | char a4_l_[PADL_(int)]; int a4; char a4_r_[PADR_(int)]; | |
951 | char a5_l_[PADL_(int)]; int a5; char a5_r_[PADR_(int)]; | |
952 | }; | |
953 | struct msgsys_args { | |
954 | char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)]; | |
955 | char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)]; | |
956 | char a3_l_[PADL_(int)]; int a3; char a3_r_[PADR_(int)]; | |
957 | char a4_l_[PADL_(int)]; int a4; char a4_r_[PADR_(int)]; | |
958 | char a5_l_[PADL_(int)]; int a5; char a5_r_[PADR_(int)]; | |
959 | }; | |
960 | struct shmsys_args { | |
961 | char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)]; | |
962 | char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)]; | |
963 | char a3_l_[PADL_(int)]; int a3; char a3_r_[PADR_(int)]; | |
964 | char a4_l_[PADL_(int)]; int a4; char a4_r_[PADR_(int)]; | |
965 | }; | |
966 | struct semctl_args { | |
967 | char semid_l_[PADL_(int)]; int semid; char semid_r_[PADR_(int)]; | |
968 | char semnum_l_[PADL_(int)]; int semnum; char semnum_r_[PADR_(int)]; | |
969 | char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; | |
970 | char arg_l_[PADL_(user_addr_t)]; user_addr_t arg; char arg_r_[PADR_(user_addr_t)]; | |
971 | }; | |
972 | struct semget_args { | |
973 | char key_l_[PADL_(key_t)]; key_t key; char key_r_[PADR_(key_t)]; | |
974 | char nsems_l_[PADL_(int)]; int nsems; char nsems_r_[PADR_(int)]; | |
975 | char semflg_l_[PADL_(int)]; int semflg; char semflg_r_[PADR_(int)]; | |
976 | }; | |
977 | struct semop_args { | |
978 | char semid_l_[PADL_(int)]; int semid; char semid_r_[PADR_(int)]; | |
979 | char sops_l_[PADL_(user_addr_t)]; user_addr_t sops; char sops_r_[PADR_(user_addr_t)]; | |
980 | char nsops_l_[PADL_(int)]; int nsops; char nsops_r_[PADR_(int)]; | |
981 | }; | |
982 | struct msgctl_args { | |
983 | char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)]; | |
984 | char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; | |
985 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; | |
986 | }; | |
987 | struct msgget_args { | |
988 | char key_l_[PADL_(key_t)]; key_t key; char key_r_[PADR_(key_t)]; | |
989 | char msgflg_l_[PADL_(int)]; int msgflg; char msgflg_r_[PADR_(int)]; | |
990 | }; | |
991 | struct msgsnd_args { | |
992 | char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)]; | |
993 | char msgp_l_[PADL_(user_addr_t)]; user_addr_t msgp; char msgp_r_[PADR_(user_addr_t)]; | |
994 | char msgsz_l_[PADL_(user_size_t)]; user_size_t msgsz; char msgsz_r_[PADR_(user_size_t)]; | |
995 | char msgflg_l_[PADL_(int)]; int msgflg; char msgflg_r_[PADR_(int)]; | |
996 | }; | |
997 | struct msgrcv_args { | |
998 | char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)]; | |
999 | char msgp_l_[PADL_(user_addr_t)]; user_addr_t msgp; char msgp_r_[PADR_(user_addr_t)]; | |
1000 | char msgsz_l_[PADL_(user_size_t)]; user_size_t msgsz; char msgsz_r_[PADR_(user_size_t)]; | |
1001 | char msgtyp_l_[PADL_(user_long_t)]; user_long_t msgtyp; char msgtyp_r_[PADR_(user_long_t)]; | |
1002 | char msgflg_l_[PADL_(int)]; int msgflg; char msgflg_r_[PADR_(int)]; | |
1003 | }; | |
1004 | struct shmat_args { | |
1005 | char shmid_l_[PADL_(int)]; int shmid; char shmid_r_[PADR_(int)]; | |
1006 | char shmaddr_l_[PADL_(user_addr_t)]; user_addr_t shmaddr; char shmaddr_r_[PADR_(user_addr_t)]; | |
1007 | char shmflg_l_[PADL_(int)]; int shmflg; char shmflg_r_[PADR_(int)]; | |
1008 | }; | |
1009 | struct shmctl_args { | |
1010 | char shmid_l_[PADL_(int)]; int shmid; char shmid_r_[PADR_(int)]; | |
1011 | char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; | |
1012 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; | |
1013 | }; | |
1014 | struct shmdt_args { | |
1015 | char shmaddr_l_[PADL_(user_addr_t)]; user_addr_t shmaddr; char shmaddr_r_[PADR_(user_addr_t)]; | |
1016 | }; | |
1017 | struct shmget_args { | |
1018 | char key_l_[PADL_(key_t)]; key_t key; char key_r_[PADR_(key_t)]; | |
1019 | char size_l_[PADL_(user_size_t)]; user_size_t size; char size_r_[PADR_(user_size_t)]; | |
1020 | char shmflg_l_[PADL_(int)]; int shmflg; char shmflg_r_[PADR_(int)]; | |
1021 | }; | |
1022 | struct shm_open_args { | |
1023 | char name_l_[PADL_(user_addr_t)]; user_addr_t name; char name_r_[PADR_(user_addr_t)]; | |
1024 | char oflag_l_[PADL_(int)]; int oflag; char oflag_r_[PADR_(int)]; | |
1025 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; | |
1026 | }; | |
1027 | struct shm_unlink_args { | |
1028 | char name_l_[PADL_(user_addr_t)]; user_addr_t name; char name_r_[PADR_(user_addr_t)]; | |
1029 | }; | |
1030 | struct sem_open_args { | |
1031 | char name_l_[PADL_(user_addr_t)]; user_addr_t name; char name_r_[PADR_(user_addr_t)]; | |
1032 | char oflag_l_[PADL_(int)]; int oflag; char oflag_r_[PADR_(int)]; | |
1033 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; | |
1034 | char value_l_[PADL_(int)]; int value; char value_r_[PADR_(int)]; | |
1035 | }; | |
1036 | struct sem_close_args { | |
1037 | char sem_l_[PADL_(user_addr_t)]; user_addr_t sem; char sem_r_[PADR_(user_addr_t)]; | |
1038 | }; | |
1039 | struct sem_unlink_args { | |
1040 | char name_l_[PADL_(user_addr_t)]; user_addr_t name; char name_r_[PADR_(user_addr_t)]; | |
1041 | }; | |
1042 | struct sem_wait_args { | |
1043 | char sem_l_[PADL_(user_addr_t)]; user_addr_t sem; char sem_r_[PADR_(user_addr_t)]; | |
1044 | }; | |
1045 | struct sem_trywait_args { | |
1046 | char sem_l_[PADL_(user_addr_t)]; user_addr_t sem; char sem_r_[PADR_(user_addr_t)]; | |
1047 | }; | |
1048 | struct sem_post_args { | |
1049 | char sem_l_[PADL_(user_addr_t)]; user_addr_t sem; char sem_r_[PADR_(user_addr_t)]; | |
1050 | }; | |
1051 | struct sem_getvalue_args { | |
1052 | char sem_l_[PADL_(user_addr_t)]; user_addr_t sem; char sem_r_[PADR_(user_addr_t)]; | |
1053 | char sval_l_[PADL_(user_addr_t)]; user_addr_t sval; char sval_r_[PADR_(user_addr_t)]; | |
1054 | }; | |
1055 | struct sem_init_args { | |
1056 | char sem_l_[PADL_(user_addr_t)]; user_addr_t sem; char sem_r_[PADR_(user_addr_t)]; | |
1057 | char phsared_l_[PADL_(int)]; int phsared; char phsared_r_[PADR_(int)]; | |
1058 | char value_l_[PADL_(u_int)]; u_int value; char value_r_[PADR_(u_int)]; | |
1059 | }; | |
1060 | struct sem_destroy_args { | |
1061 | char sem_l_[PADL_(user_addr_t)]; user_addr_t sem; char sem_r_[PADR_(user_addr_t)]; | |
1062 | }; | |
1063 | struct open_extended_args { | |
1064 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
1065 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; | |
1066 | char uid_l_[PADL_(uid_t)]; uid_t uid; char uid_r_[PADR_(uid_t)]; | |
1067 | char gid_l_[PADL_(gid_t)]; gid_t gid; char gid_r_[PADR_(gid_t)]; | |
1068 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; | |
1069 | char xsecurity_l_[PADL_(user_addr_t)]; user_addr_t xsecurity; char xsecurity_r_[PADR_(user_addr_t)]; | |
1070 | }; | |
1071 | struct umask_extended_args { | |
1072 | char newmask_l_[PADL_(int)]; int newmask; char newmask_r_[PADR_(int)]; | |
1073 | char xsecurity_l_[PADL_(user_addr_t)]; user_addr_t xsecurity; char xsecurity_r_[PADR_(user_addr_t)]; | |
1074 | }; | |
1075 | struct stat_extended_args { | |
1076 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
1077 | char ub_l_[PADL_(user_addr_t)]; user_addr_t ub; char ub_r_[PADR_(user_addr_t)]; | |
1078 | char xsecurity_l_[PADL_(user_addr_t)]; user_addr_t xsecurity; char xsecurity_r_[PADR_(user_addr_t)]; | |
1079 | char xsecurity_size_l_[PADL_(user_addr_t)]; user_addr_t xsecurity_size; char xsecurity_size_r_[PADR_(user_addr_t)]; | |
1080 | }; | |
1081 | struct lstat_extended_args { | |
1082 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
1083 | char ub_l_[PADL_(user_addr_t)]; user_addr_t ub; char ub_r_[PADR_(user_addr_t)]; | |
1084 | char xsecurity_l_[PADL_(user_addr_t)]; user_addr_t xsecurity; char xsecurity_r_[PADR_(user_addr_t)]; | |
1085 | char xsecurity_size_l_[PADL_(user_addr_t)]; user_addr_t xsecurity_size; char xsecurity_size_r_[PADR_(user_addr_t)]; | |
1086 | }; | |
1087 | struct fstat_extended_args { | |
1088 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
1089 | char ub_l_[PADL_(user_addr_t)]; user_addr_t ub; char ub_r_[PADR_(user_addr_t)]; | |
1090 | char xsecurity_l_[PADL_(user_addr_t)]; user_addr_t xsecurity; char xsecurity_r_[PADR_(user_addr_t)]; | |
1091 | char xsecurity_size_l_[PADL_(user_addr_t)]; user_addr_t xsecurity_size; char xsecurity_size_r_[PADR_(user_addr_t)]; | |
1092 | }; | |
1093 | struct chmod_extended_args { | |
1094 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
1095 | char uid_l_[PADL_(uid_t)]; uid_t uid; char uid_r_[PADR_(uid_t)]; | |
1096 | char gid_l_[PADL_(gid_t)]; gid_t gid; char gid_r_[PADR_(gid_t)]; | |
1097 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; | |
1098 | char xsecurity_l_[PADL_(user_addr_t)]; user_addr_t xsecurity; char xsecurity_r_[PADR_(user_addr_t)]; | |
1099 | }; | |
1100 | struct fchmod_extended_args { | |
1101 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
1102 | char uid_l_[PADL_(uid_t)]; uid_t uid; char uid_r_[PADR_(uid_t)]; | |
1103 | char gid_l_[PADL_(gid_t)]; gid_t gid; char gid_r_[PADR_(gid_t)]; | |
1104 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; | |
1105 | char xsecurity_l_[PADL_(user_addr_t)]; user_addr_t xsecurity; char xsecurity_r_[PADR_(user_addr_t)]; | |
1106 | }; | |
1107 | struct access_extended_args { | |
1108 | char entries_l_[PADL_(user_addr_t)]; user_addr_t entries; char entries_r_[PADR_(user_addr_t)]; | |
1109 | char size_l_[PADL_(user_size_t)]; user_size_t size; char size_r_[PADR_(user_size_t)]; | |
1110 | char results_l_[PADL_(user_addr_t)]; user_addr_t results; char results_r_[PADR_(user_addr_t)]; | |
1111 | char uid_l_[PADL_(uid_t)]; uid_t uid; char uid_r_[PADR_(uid_t)]; | |
1112 | }; | |
1113 | struct settid_args { | |
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 | }; | |
1117 | struct gettid_args { | |
1118 | char uidp_l_[PADL_(user_addr_t)]; user_addr_t uidp; char uidp_r_[PADR_(user_addr_t)]; | |
1119 | char gidp_l_[PADL_(user_addr_t)]; user_addr_t gidp; char gidp_r_[PADR_(user_addr_t)]; | |
1120 | }; | |
1121 | struct setsgroups_args { | |
1122 | char setlen_l_[PADL_(int)]; int setlen; char setlen_r_[PADR_(int)]; | |
1123 | char guidset_l_[PADL_(user_addr_t)]; user_addr_t guidset; char guidset_r_[PADR_(user_addr_t)]; | |
1124 | }; | |
1125 | struct getsgroups_args { | |
1126 | char setlen_l_[PADL_(user_addr_t)]; user_addr_t setlen; char setlen_r_[PADR_(user_addr_t)]; | |
1127 | char guidset_l_[PADL_(user_addr_t)]; user_addr_t guidset; char guidset_r_[PADR_(user_addr_t)]; | |
1128 | }; | |
1129 | struct setwgroups_args { | |
1130 | char setlen_l_[PADL_(int)]; int setlen; char setlen_r_[PADR_(int)]; | |
1131 | char guidset_l_[PADL_(user_addr_t)]; user_addr_t guidset; char guidset_r_[PADR_(user_addr_t)]; | |
1132 | }; | |
1133 | struct getwgroups_args { | |
1134 | char setlen_l_[PADL_(user_addr_t)]; user_addr_t setlen; char setlen_r_[PADR_(user_addr_t)]; | |
1135 | char guidset_l_[PADL_(user_addr_t)]; user_addr_t guidset; char guidset_r_[PADR_(user_addr_t)]; | |
1136 | }; | |
1137 | struct mkfifo_extended_args { | |
1138 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
1139 | char uid_l_[PADL_(uid_t)]; uid_t uid; char uid_r_[PADR_(uid_t)]; | |
1140 | char gid_l_[PADL_(gid_t)]; gid_t gid; char gid_r_[PADR_(gid_t)]; | |
1141 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; | |
1142 | char xsecurity_l_[PADL_(user_addr_t)]; user_addr_t xsecurity; char xsecurity_r_[PADR_(user_addr_t)]; | |
1143 | }; | |
1144 | struct mkdir_extended_args { | |
1145 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
1146 | char uid_l_[PADL_(uid_t)]; uid_t uid; char uid_r_[PADR_(uid_t)]; | |
1147 | char gid_l_[PADL_(gid_t)]; gid_t gid; char gid_r_[PADR_(gid_t)]; | |
1148 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; | |
1149 | char xsecurity_l_[PADL_(user_addr_t)]; user_addr_t xsecurity; char xsecurity_r_[PADR_(user_addr_t)]; | |
1150 | }; | |
1151 | struct identitysvc_args { | |
1152 | char opcode_l_[PADL_(int)]; int opcode; char opcode_r_[PADR_(int)]; | |
1153 | char message_l_[PADL_(user_addr_t)]; user_addr_t message; char message_r_[PADR_(user_addr_t)]; | |
1154 | }; | |
1155 | struct load_shared_file_args { | |
1156 | char filename_l_[PADL_(char *)]; char * filename; char filename_r_[PADR_(char *)]; | |
1157 | char mfa_l_[PADL_(caddr_t)]; caddr_t mfa; char mfa_r_[PADR_(caddr_t)]; | |
1158 | char mfs_l_[PADL_(u_long)]; u_long mfs; char mfs_r_[PADR_(u_long)]; | |
1159 | char ba_l_[PADL_(caddr_t *)]; caddr_t * ba; char ba_r_[PADR_(caddr_t *)]; | |
1160 | char map_cnt_l_[PADL_(int)]; int map_cnt; char map_cnt_r_[PADR_(int)]; | |
1161 | char mappings_l_[PADL_(sf_mapping_t *)]; sf_mapping_t * mappings; char mappings_r_[PADR_(sf_mapping_t *)]; | |
1162 | char flags_l_[PADL_(int *)]; int * flags; char flags_r_[PADR_(int *)]; | |
1163 | }; | |
1164 | struct reset_shared_file_args { | |
1165 | char ba_l_[PADL_(caddr_t *)]; caddr_t * ba; char ba_r_[PADR_(caddr_t *)]; | |
1166 | char map_cnt_l_[PADL_(int)]; int map_cnt; char map_cnt_r_[PADR_(int)]; | |
1167 | char mappings_l_[PADL_(sf_mapping_t *)]; sf_mapping_t * mappings; char mappings_r_[PADR_(sf_mapping_t *)]; | |
1168 | }; | |
1169 | struct new_system_shared_regions_args { | |
1170 | register_t dummy; | |
1171 | }; | |
1172 | struct shared_region_map_file_np_args { | |
1173 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
1174 | char mappingCount_l_[PADL_(uint32_t)]; uint32_t mappingCount; char mappingCount_r_[PADR_(uint32_t)]; | |
1175 | char mappings_l_[PADL_(user_addr_t)]; user_addr_t mappings; char mappings_r_[PADR_(user_addr_t)]; | |
1176 | char slide_p_l_[PADL_(user_addr_t)]; user_addr_t slide_p; char slide_p_r_[PADR_(user_addr_t)]; | |
1177 | }; | |
1178 | struct shared_region_make_private_np_args { | |
1179 | char rangeCount_l_[PADL_(uint32_t)]; uint32_t rangeCount; char rangeCount_r_[PADR_(uint32_t)]; | |
1180 | char ranges_l_[PADL_(user_addr_t)]; user_addr_t ranges; char ranges_r_[PADR_(user_addr_t)]; | |
1181 | }; | |
1182 | struct getsid_args { | |
1183 | char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)]; | |
1184 | }; | |
1185 | struct settid_with_pid_args { | |
1186 | char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)]; | |
1187 | char assume_l_[PADL_(int)]; int assume; char assume_r_[PADR_(int)]; | |
1188 | }; | |
1189 | struct aio_fsync_args { | |
1190 | char op_l_[PADL_(int)]; int op; char op_r_[PADR_(int)]; | |
1191 | char aiocbp_l_[PADL_(user_addr_t)]; user_addr_t aiocbp; char aiocbp_r_[PADR_(user_addr_t)]; | |
1192 | }; | |
1193 | struct aio_return_args { | |
1194 | char aiocbp_l_[PADL_(user_addr_t)]; user_addr_t aiocbp; char aiocbp_r_[PADR_(user_addr_t)]; | |
1195 | }; | |
1196 | struct aio_suspend_args { | |
1197 | char aiocblist_l_[PADL_(user_addr_t)]; user_addr_t aiocblist; char aiocblist_r_[PADR_(user_addr_t)]; | |
1198 | char nent_l_[PADL_(int)]; int nent; char nent_r_[PADR_(int)]; | |
1199 | char timeoutp_l_[PADL_(user_addr_t)]; user_addr_t timeoutp; char timeoutp_r_[PADR_(user_addr_t)]; | |
1200 | }; | |
1201 | struct aio_cancel_args { | |
1202 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
1203 | char aiocbp_l_[PADL_(user_addr_t)]; user_addr_t aiocbp; char aiocbp_r_[PADR_(user_addr_t)]; | |
1204 | }; | |
1205 | struct aio_error_args { | |
1206 | char aiocbp_l_[PADL_(user_addr_t)]; user_addr_t aiocbp; char aiocbp_r_[PADR_(user_addr_t)]; | |
1207 | }; | |
1208 | struct aio_read_args { | |
1209 | char aiocbp_l_[PADL_(user_addr_t)]; user_addr_t aiocbp; char aiocbp_r_[PADR_(user_addr_t)]; | |
1210 | }; | |
1211 | struct aio_write_args { | |
1212 | char aiocbp_l_[PADL_(user_addr_t)]; user_addr_t aiocbp; char aiocbp_r_[PADR_(user_addr_t)]; | |
1213 | }; | |
1214 | struct lio_listio_args { | |
1215 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; | |
1216 | char aiocblist_l_[PADL_(user_addr_t)]; user_addr_t aiocblist; char aiocblist_r_[PADR_(user_addr_t)]; | |
1217 | char nent_l_[PADL_(int)]; int nent; char nent_r_[PADR_(int)]; | |
1218 | char sigp_l_[PADL_(user_addr_t)]; user_addr_t sigp; char sigp_r_[PADR_(user_addr_t)]; | |
1219 | }; | |
1220 | struct mlockall_args { | |
1221 | char how_l_[PADL_(int)]; int how; char how_r_[PADR_(int)]; | |
1222 | }; | |
1223 | struct munlockall_args { | |
1224 | char how_l_[PADL_(int)]; int how; char how_r_[PADR_(int)]; | |
1225 | }; | |
1226 | struct issetugid_args { | |
1227 | register_t dummy; | |
1228 | }; | |
1229 | struct __pthread_kill_args { | |
1230 | char thread_port_l_[PADL_(int)]; int thread_port; char thread_port_r_[PADR_(int)]; | |
1231 | char sig_l_[PADL_(int)]; int sig; char sig_r_[PADR_(int)]; | |
1232 | }; | |
1233 | struct pthread_sigmask_args { | |
1234 | char how_l_[PADL_(int)]; int how; char how_r_[PADR_(int)]; | |
1235 | char set_l_[PADL_(user_addr_t)]; user_addr_t set; char set_r_[PADR_(user_addr_t)]; | |
1236 | char oset_l_[PADL_(user_addr_t)]; user_addr_t oset; char oset_r_[PADR_(user_addr_t)]; | |
1237 | }; | |
1238 | struct sigwait_args { | |
1239 | char set_l_[PADL_(user_addr_t)]; user_addr_t set; char set_r_[PADR_(user_addr_t)]; | |
1240 | char sig_l_[PADL_(user_addr_t)]; user_addr_t sig; char sig_r_[PADR_(user_addr_t)]; | |
1241 | }; | |
1242 | struct __disable_threadsignal_args { | |
1243 | char value_l_[PADL_(int)]; int value; char value_r_[PADR_(int)]; | |
1244 | }; | |
1245 | struct __pthread_markcancel_args { | |
1246 | char thread_port_l_[PADL_(int)]; int thread_port; char thread_port_r_[PADR_(int)]; | |
1247 | }; | |
1248 | struct __pthread_canceled_args { | |
1249 | char action_l_[PADL_(int)]; int action; char action_r_[PADR_(int)]; | |
1250 | }; | |
1251 | struct __semwait_signal_args { | |
1252 | char cond_sem_l_[PADL_(int)]; int cond_sem; char cond_sem_r_[PADR_(int)]; | |
1253 | char mutex_sem_l_[PADL_(int)]; int mutex_sem; char mutex_sem_r_[PADR_(int)]; | |
1254 | char timeout_l_[PADL_(int)]; int timeout; char timeout_r_[PADR_(int)]; | |
1255 | char relative_l_[PADL_(int)]; int relative; char relative_r_[PADR_(int)]; | |
1256 | char tv_sec_l_[PADL_(time_t)]; time_t tv_sec; char tv_sec_r_[PADR_(time_t)]; | |
1257 | char tv_nsec_l_[PADL_(int32_t)]; int32_t tv_nsec; char tv_nsec_r_[PADR_(int32_t)]; | |
1258 | }; | |
1259 | struct utrace_args { | |
1260 | char addr_l_[PADL_(user_addr_t)]; user_addr_t addr; char addr_r_[PADR_(user_addr_t)]; | |
1261 | char len_l_[PADL_(user_size_t)]; user_size_t len; char len_r_[PADR_(user_size_t)]; | |
1262 | }; | |
1263 | struct audit_args { | |
1264 | char record_l_[PADL_(user_addr_t)]; user_addr_t record; char record_r_[PADR_(user_addr_t)]; | |
1265 | char length_l_[PADL_(int)]; int length; char length_r_[PADR_(int)]; | |
1266 | }; | |
1267 | struct auditon_args { | |
1268 | char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; | |
1269 | char data_l_[PADL_(user_addr_t)]; user_addr_t data; char data_r_[PADR_(user_addr_t)]; | |
1270 | char length_l_[PADL_(int)]; int length; char length_r_[PADR_(int)]; | |
1271 | }; | |
1272 | struct getauid_args { | |
1273 | char auid_l_[PADL_(user_addr_t)]; user_addr_t auid; char auid_r_[PADR_(user_addr_t)]; | |
1274 | }; | |
1275 | struct setauid_args { | |
1276 | char auid_l_[PADL_(user_addr_t)]; user_addr_t auid; char auid_r_[PADR_(user_addr_t)]; | |
1277 | }; | |
1278 | struct getaudit_args { | |
1279 | char auditinfo_l_[PADL_(user_addr_t)]; user_addr_t auditinfo; char auditinfo_r_[PADR_(user_addr_t)]; | |
1280 | }; | |
1281 | struct setaudit_args { | |
1282 | char auditinfo_l_[PADL_(user_addr_t)]; user_addr_t auditinfo; char auditinfo_r_[PADR_(user_addr_t)]; | |
1283 | }; | |
1284 | struct getaudit_addr_args { | |
1285 | char auditinfo_addr_l_[PADL_(user_addr_t)]; user_addr_t auditinfo_addr; char auditinfo_addr_r_[PADR_(user_addr_t)]; | |
1286 | char length_l_[PADL_(int)]; int length; char length_r_[PADR_(int)]; | |
1287 | }; | |
1288 | struct setaudit_addr_args { | |
1289 | char auditinfo_addr_l_[PADL_(user_addr_t)]; user_addr_t auditinfo_addr; char auditinfo_addr_r_[PADR_(user_addr_t)]; | |
1290 | char length_l_[PADL_(int)]; int length; char length_r_[PADR_(int)]; | |
1291 | }; | |
1292 | struct auditctl_args { | |
1293 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
1294 | }; | |
1295 | struct kqueue_args { | |
1296 | register_t dummy; | |
1297 | }; | |
1298 | struct kevent_args { | |
1299 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; | |
1300 | char changelist_l_[PADL_(user_addr_t)]; user_addr_t changelist; char changelist_r_[PADR_(user_addr_t)]; | |
1301 | char nchanges_l_[PADL_(int)]; int nchanges; char nchanges_r_[PADR_(int)]; | |
1302 | char eventlist_l_[PADL_(user_addr_t)]; user_addr_t eventlist; char eventlist_r_[PADR_(user_addr_t)]; | |
1303 | char nevents_l_[PADL_(int)]; int nevents; char nevents_r_[PADR_(int)]; | |
1304 | char timeout_l_[PADL_(user_addr_t)]; user_addr_t timeout; char timeout_r_[PADR_(user_addr_t)]; | |
1305 | }; | |
1306 | struct lchown_args { | |
1307 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; | |
1308 | char owner_l_[PADL_(uid_t)]; uid_t owner; char owner_r_[PADR_(uid_t)]; | |
1309 | char group_l_[PADL_(gid_t)]; gid_t group; char group_r_[PADR_(gid_t)]; | |
1310 | }; | |
1311 | int nosys(struct proc *, struct nosys_args *, int *); | |
1312 | void exit(struct proc *, struct exit_args *, int *); | |
1313 | int fork(struct proc *, struct fork_args *, int *); | |
1314 | int read(struct proc *, struct read_args *, user_ssize_t *); | |
1315 | int write(struct proc *, struct write_args *, user_ssize_t *); | |
1316 | int open(struct proc *, struct open_args *, int *); | |
1317 | int close(struct proc *, struct close_args *, int *); | |
1318 | int wait4(struct proc *, struct wait4_args *, int *); | |
1319 | int link(struct proc *, struct link_args *, int *); | |
1320 | int unlink(struct proc *, struct unlink_args *, int *); | |
1321 | int chdir(struct proc *, struct chdir_args *, int *); | |
1322 | int fchdir(struct proc *, struct fchdir_args *, int *); | |
1323 | int mknod(struct proc *, struct mknod_args *, int *); | |
1324 | int chmod(struct proc *, struct chmod_args *, int *); | |
1325 | int chown(struct proc *, struct chown_args *, int *); | |
1326 | int obreak(struct proc *, struct obreak_args *, int *); | |
1327 | #if COMPAT_GETFSSTAT | |
1328 | int ogetfsstat(struct proc *, struct ogetfsstat_args *, int *); | |
1329 | #else | |
1330 | int getfsstat(struct proc *, struct getfsstat_args *, int *); | |
1331 | #endif | |
1332 | int getpid(struct proc *, struct getpid_args *, int *); | |
1333 | int setuid(struct proc *, struct setuid_args *, int *); | |
1334 | int getuid(struct proc *, struct getuid_args *, int *); | |
1335 | int geteuid(struct proc *, struct geteuid_args *, int *); | |
1336 | int ptrace(struct proc *, struct ptrace_args *, int *); | |
1337 | int recvmsg(struct proc *, struct recvmsg_args *, int *); | |
1338 | int sendmsg(struct proc *, struct sendmsg_args *, int *); | |
1339 | int recvfrom(struct proc *, struct recvfrom_args *, int *); | |
1340 | int accept(struct proc *, struct accept_args *, int *); | |
1341 | int getpeername(struct proc *, struct getpeername_args *, int *); | |
1342 | int getsockname(struct proc *, struct getsockname_args *, int *); | |
1343 | int access(struct proc *, struct access_args *, int *); | |
1344 | int chflags(struct proc *, struct chflags_args *, int *); | |
1345 | int fchflags(struct proc *, struct fchflags_args *, int *); | |
1346 | int sync(struct proc *, struct sync_args *, int *); | |
1347 | int kill(struct proc *, struct kill_args *, int *); | |
1348 | int getppid(struct proc *, struct getppid_args *, int *); | |
1349 | int dup(struct proc *, struct dup_args *, int *); | |
1350 | int pipe(struct proc *, struct pipe_args *, int *); | |
1351 | int getegid(struct proc *, struct getegid_args *, int *); | |
1352 | int profil(struct proc *, struct profil_args *, int *); | |
1353 | int ktrace(struct proc *, struct ktrace_args *, int *); | |
1354 | int sigaction(struct proc *, struct sigaction_args *, int *); | |
1355 | int getgid(struct proc *, struct getgid_args *, int *); | |
1356 | int sigprocmask(struct proc *, struct sigprocmask_args *, int *); | |
1357 | int getlogin(struct proc *, struct getlogin_args *, int *); | |
1358 | int setlogin(struct proc *, struct setlogin_args *, int *); | |
1359 | int acct(struct proc *, struct acct_args *, int *); | |
1360 | int sigpending(struct proc *, struct sigpending_args *, int *); | |
1361 | int sigaltstack(struct proc *, struct sigaltstack_args *, int *); | |
1362 | int ioctl(struct proc *, struct ioctl_args *, int *); | |
1363 | int reboot(struct proc *, struct reboot_args *, int *); | |
1364 | int revoke(struct proc *, struct revoke_args *, int *); | |
1365 | int symlink(struct proc *, struct symlink_args *, int *); | |
1366 | int readlink(struct proc *, struct readlink_args *, int *); | |
1367 | int execve(struct proc *, struct execve_args *, int *); | |
1368 | int umask(struct proc *, struct umask_args *, int *); | |
1369 | int chroot(struct proc *, struct chroot_args *, int *); | |
1370 | int msync(struct proc *, struct msync_args *, int *); | |
1371 | int vfork(struct proc *, struct vfork_args *, int *); | |
1372 | int sbrk(struct proc *, struct sbrk_args *, int *); | |
1373 | int sstk(struct proc *, struct sstk_args *, int *); | |
1374 | int ovadvise(struct proc *, struct ovadvise_args *, int *); | |
1375 | int munmap(struct proc *, struct munmap_args *, int *); | |
1376 | int mprotect(struct proc *, struct mprotect_args *, int *); | |
1377 | int madvise(struct proc *, struct madvise_args *, int *); | |
1378 | int mincore(struct proc *, struct mincore_args *, int *); | |
1379 | int getgroups(struct proc *, struct getgroups_args *, int *); | |
1380 | int setgroups(struct proc *, struct setgroups_args *, int *); | |
1381 | int getpgrp(struct proc *, struct getpgrp_args *, int *); | |
1382 | int setpgid(struct proc *, struct setpgid_args *, int *); | |
1383 | int setitimer(struct proc *, struct setitimer_args *, int *); | |
1384 | int swapon(struct proc *, struct swapon_args *, int *); | |
1385 | int getitimer(struct proc *, struct getitimer_args *, int *); | |
1386 | int getdtablesize(struct proc *, struct getdtablesize_args *, int *); | |
1387 | int dup2(struct proc *, struct dup2_args *, int *); | |
1388 | int fcntl(struct proc *, struct fcntl_args *, int *); | |
1389 | int select(struct proc *, struct select_args *, int *); | |
1390 | int fsync(struct proc *, struct fsync_args *, int *); | |
1391 | int setpriority(struct proc *, struct setpriority_args *, int *); | |
1392 | int socket(struct proc *, struct socket_args *, int *); | |
1393 | int connect(struct proc *, struct connect_args *, int *); | |
1394 | int getpriority(struct proc *, struct getpriority_args *, int *); | |
1395 | #ifdef __ppc__ | |
1396 | #else | |
1397 | int sigreturn(struct proc *, struct sigreturn_args *, int *); | |
1398 | #endif | |
1399 | int bind(struct proc *, struct bind_args *, int *); | |
1400 | int setsockopt(struct proc *, struct setsockopt_args *, int *); | |
1401 | int listen(struct proc *, struct listen_args *, int *); | |
1402 | int sigsuspend(struct proc *, struct sigsuspend_args *, int *); | |
1403 | #ifdef __ppc__ | |
1404 | int ppc_gettimeofday(struct proc *, struct ppc_gettimeofday_args *, int *); | |
1405 | #else | |
1406 | int gettimeofday(struct proc *, struct gettimeofday_args *, int *); | |
1407 | #endif | |
1408 | int getrusage(struct proc *, struct getrusage_args *, int *); | |
1409 | int getsockopt(struct proc *, struct getsockopt_args *, int *); | |
1410 | int readv(struct proc *, struct readv_args *, user_ssize_t *); | |
1411 | int writev(struct proc *, struct writev_args *, user_ssize_t *); | |
1412 | int settimeofday(struct proc *, struct settimeofday_args *, int *); | |
1413 | int fchown(struct proc *, struct fchown_args *, int *); | |
1414 | int fchmod(struct proc *, struct fchmod_args *, int *); | |
1415 | int rename(struct proc *, struct rename_args *, int *); | |
1416 | int flock(struct proc *, struct flock_args *, int *); | |
1417 | int mkfifo(struct proc *, struct mkfifo_args *, int *); | |
1418 | int sendto(struct proc *, struct sendto_args *, int *); | |
1419 | int shutdown(struct proc *, struct shutdown_args *, int *); | |
1420 | int socketpair(struct proc *, struct socketpair_args *, int *); | |
1421 | int mkdir(struct proc *, struct mkdir_args *, int *); | |
1422 | int rmdir(struct proc *, struct rmdir_args *, int *); | |
1423 | int utimes(struct proc *, struct utimes_args *, int *); | |
1424 | int futimes(struct proc *, struct futimes_args *, int *); | |
1425 | int adjtime(struct proc *, struct adjtime_args *, int *); | |
1426 | int setsid(struct proc *, struct setsid_args *, int *); | |
1427 | int getpgid(struct proc *, struct getpgid_args *, int *); | |
1428 | int setprivexec(struct proc *, struct setprivexec_args *, int *); | |
1429 | int pread(struct proc *, struct pread_args *, user_ssize_t *); | |
1430 | int pwrite(struct proc *, struct pwrite_args *, user_ssize_t *); | |
1431 | #if NFSSERVER | |
1432 | int nfssvc(struct proc *, struct nfssvc_args *, int *); | |
1433 | #else | |
1434 | #endif | |
1435 | int statfs(struct proc *, struct statfs_args *, int *); | |
1436 | int fstatfs(struct proc *, struct fstatfs_args *, int *); | |
1437 | int unmount(struct proc *, struct unmount_args *, int *); | |
1438 | #if NFSCLIENT | |
1439 | int getfh(struct proc *, struct getfh_args *, int *); | |
1440 | #else | |
1441 | #endif | |
1442 | int quotactl(struct proc *, struct quotactl_args *, int *); | |
1443 | int mount(struct proc *, struct mount_args *, int *); | |
1444 | int waitid(struct proc *, struct waitid_args *, int *); | |
1445 | int add_profil(struct proc *, struct add_profil_args *, int *); | |
1446 | int kdebug_trace(struct proc *, struct kdebug_trace_args *, int *); | |
1447 | int setgid(struct proc *, struct setgid_args *, int *); | |
1448 | int setegid(struct proc *, struct setegid_args *, int *); | |
1449 | int seteuid(struct proc *, struct seteuid_args *, int *); | |
1450 | #ifdef __ppc__ | |
1451 | int sigreturn(struct proc *, struct sigreturn_args *, int *); | |
1452 | #else | |
1453 | #endif | |
1454 | int stat(struct proc *, struct stat_args *, int *); | |
1455 | int fstat(struct proc *, struct fstat_args *, int *); | |
1456 | int lstat(struct proc *, struct lstat_args *, int *); | |
1457 | int pathconf(struct proc *, struct pathconf_args *, int *); | |
1458 | int fpathconf(struct proc *, struct fpathconf_args *, int *); | |
1459 | #if COMPAT_GETFSSTAT | |
1460 | int getfsstat(struct proc *, struct getfsstat_args *, int *); | |
1461 | #else | |
1462 | #endif | |
1463 | int getrlimit(struct proc *, struct getrlimit_args *, int *); | |
1464 | int setrlimit(struct proc *, struct setrlimit_args *, int *); | |
1465 | int getdirentries(struct proc *, struct getdirentries_args *, int *); | |
1466 | int mmap(struct proc *, struct mmap_args *, user_addr_t *); | |
1467 | int lseek(struct proc *, struct lseek_args *, off_t *); | |
1468 | int truncate(struct proc *, struct truncate_args *, int *); | |
1469 | int ftruncate(struct proc *, struct ftruncate_args *, int *); | |
1470 | int __sysctl(struct proc *, struct __sysctl_args *, int *); | |
1471 | int mlock(struct proc *, struct mlock_args *, int *); | |
1472 | int munlock(struct proc *, struct munlock_args *, int *); | |
1473 | int undelete(struct proc *, struct undelete_args *, int *); | |
1474 | #ifdef __ppc__ | |
1475 | int ATsocket(struct proc *, struct ATsocket_args *, int *); | |
1476 | int ATgetmsg(struct proc *, struct ATgetmsg_args *, int *); | |
1477 | int ATputmsg(struct proc *, struct ATputmsg_args *, int *); | |
1478 | int ATPsndreq(struct proc *, struct ATPsndreq_args *, int *); | |
1479 | int ATPsndrsp(struct proc *, struct ATPsndrsp_args *, int *); | |
1480 | int ATPgetreq(struct proc *, struct ATPgetreq_args *, int *); | |
1481 | int ATPgetrsp(struct proc *, struct ATPgetrsp_args *, int *); | |
1482 | #else | |
1483 | #endif /* __ppc__ */ | |
1484 | int kqueue_from_portset_np(struct proc *, struct kqueue_from_portset_np_args *, int *); | |
1485 | int kqueue_portset_np(struct proc *, struct kqueue_portset_np_args *, int *); | |
1486 | int getattrlist(struct proc *, struct getattrlist_args *, int *); | |
1487 | int setattrlist(struct proc *, struct setattrlist_args *, int *); | |
1488 | int getdirentriesattr(struct proc *, struct getdirentriesattr_args *, int *); | |
1489 | int exchangedata(struct proc *, struct exchangedata_args *, int *); | |
1490 | #ifdef __APPLE_API_OBSOLETE | |
1491 | int checkuseraccess(struct proc *, struct checkuseraccess_args *, int *); | |
1492 | #else | |
1493 | #endif /* __APPLE_API_OBSOLETE */ | |
1494 | int searchfs(struct proc *, struct searchfs_args *, int *); | |
1495 | int delete(struct proc *, struct delete_args *, int *); | |
1496 | int copyfile(struct proc *, struct copyfile_args *, int *); | |
1497 | int poll(struct proc *, struct poll_args *, int *); | |
1498 | int watchevent(struct proc *, struct watchevent_args *, int *); | |
1499 | int waitevent(struct proc *, struct waitevent_args *, int *); | |
1500 | int modwatch(struct proc *, struct modwatch_args *, int *); | |
1501 | int getxattr(struct proc *, struct getxattr_args *, user_ssize_t *); | |
1502 | int fgetxattr(struct proc *, struct fgetxattr_args *, user_ssize_t *); | |
1503 | int setxattr(struct proc *, struct setxattr_args *, int *); | |
1504 | int fsetxattr(struct proc *, struct fsetxattr_args *, int *); | |
1505 | int removexattr(struct proc *, struct removexattr_args *, int *); | |
1506 | int fremovexattr(struct proc *, struct fremovexattr_args *, int *); | |
1507 | int listxattr(struct proc *, struct listxattr_args *, user_ssize_t *); | |
1508 | int flistxattr(struct proc *, struct flistxattr_args *, user_ssize_t *); | |
1509 | int fsctl(struct proc *, struct fsctl_args *, int *); | |
1510 | int initgroups(struct proc *, struct initgroups_args *, int *); | |
1511 | #if NFSCLIENT | |
1512 | int nfsclnt(struct proc *, struct nfsclnt_args *, int *); | |
1513 | int fhopen(struct proc *, struct fhopen_args *, int *); | |
1514 | #else | |
1515 | #endif | |
1516 | int minherit(struct proc *, struct minherit_args *, int *); | |
1517 | int semsys(struct proc *, struct semsys_args *, int *); | |
1518 | int msgsys(struct proc *, struct msgsys_args *, int *); | |
1519 | int shmsys(struct proc *, struct shmsys_args *, int *); | |
1520 | int semctl(struct proc *, struct semctl_args *, int *); | |
1521 | int semget(struct proc *, struct semget_args *, int *); | |
1522 | int semop(struct proc *, struct semop_args *, int *); | |
1523 | int msgctl(struct proc *, struct msgctl_args *, int *); | |
1524 | int msgget(struct proc *, struct msgget_args *, int *); | |
1525 | int msgsnd(struct proc *, struct msgsnd_args *, int *); | |
1526 | int msgrcv(struct proc *, struct msgrcv_args *, user_ssize_t *); | |
1527 | int shmat(struct proc *, struct shmat_args *, int *); | |
1528 | int shmctl(struct proc *, struct shmctl_args *, int *); | |
1529 | int shmdt(struct proc *, struct shmdt_args *, int *); | |
1530 | int shmget(struct proc *, struct shmget_args *, int *); | |
1531 | int shm_open(struct proc *, struct shm_open_args *, int *); | |
1532 | int shm_unlink(struct proc *, struct shm_unlink_args *, int *); | |
1533 | int sem_open(struct proc *, struct sem_open_args *, user_addr_t *); | |
1534 | int sem_close(struct proc *, struct sem_close_args *, int *); | |
1535 | int sem_unlink(struct proc *, struct sem_unlink_args *, int *); | |
1536 | int sem_wait(struct proc *, struct sem_wait_args *, int *); | |
1537 | int sem_trywait(struct proc *, struct sem_trywait_args *, int *); | |
1538 | int sem_post(struct proc *, struct sem_post_args *, int *); | |
1539 | int sem_getvalue(struct proc *, struct sem_getvalue_args *, int *); | |
1540 | int sem_init(struct proc *, struct sem_init_args *, int *); | |
1541 | int sem_destroy(struct proc *, struct sem_destroy_args *, int *); | |
1542 | int open_extended(struct proc *, struct open_extended_args *, int *); | |
1543 | int umask_extended(struct proc *, struct umask_extended_args *, int *); | |
1544 | int stat_extended(struct proc *, struct stat_extended_args *, int *); | |
1545 | int lstat_extended(struct proc *, struct lstat_extended_args *, int *); | |
1546 | int fstat_extended(struct proc *, struct fstat_extended_args *, int *); | |
1547 | int chmod_extended(struct proc *, struct chmod_extended_args *, int *); | |
1548 | int fchmod_extended(struct proc *, struct fchmod_extended_args *, int *); | |
1549 | int access_extended(struct proc *, struct access_extended_args *, int *); | |
1550 | int settid(struct proc *, struct settid_args *, int *); | |
1551 | int gettid(struct proc *, struct gettid_args *, int *); | |
1552 | int setsgroups(struct proc *, struct setsgroups_args *, int *); | |
1553 | int getsgroups(struct proc *, struct getsgroups_args *, int *); | |
1554 | int setwgroups(struct proc *, struct setwgroups_args *, int *); | |
1555 | int getwgroups(struct proc *, struct getwgroups_args *, int *); | |
1556 | int mkfifo_extended(struct proc *, struct mkfifo_extended_args *, int *); | |
1557 | int mkdir_extended(struct proc *, struct mkdir_extended_args *, int *); | |
1558 | int identitysvc(struct proc *, struct identitysvc_args *, int *); | |
1559 | int load_shared_file(struct proc *, struct load_shared_file_args *, int *); | |
1560 | int reset_shared_file(struct proc *, struct reset_shared_file_args *, int *); | |
1561 | int new_system_shared_regions(struct proc *, struct new_system_shared_regions_args *, int *); | |
1562 | int shared_region_map_file_np(struct proc *, struct shared_region_map_file_np_args *, int *); | |
1563 | int shared_region_make_private_np(struct proc *, struct shared_region_make_private_np_args *, int *); | |
1564 | int getsid(struct proc *, struct getsid_args *, int *); | |
1565 | int settid_with_pid(struct proc *, struct settid_with_pid_args *, int *); | |
1566 | int aio_fsync(struct proc *, struct aio_fsync_args *, int *); | |
1567 | int aio_return(struct proc *, struct aio_return_args *, user_ssize_t *); | |
1568 | int aio_suspend(struct proc *, struct aio_suspend_args *, int *); | |
1569 | int aio_cancel(struct proc *, struct aio_cancel_args *, int *); | |
1570 | int aio_error(struct proc *, struct aio_error_args *, int *); | |
1571 | int aio_read(struct proc *, struct aio_read_args *, int *); | |
1572 | int aio_write(struct proc *, struct aio_write_args *, int *); | |
1573 | int lio_listio(struct proc *, struct lio_listio_args *, int *); | |
1574 | int mlockall(struct proc *, struct mlockall_args *, int *); | |
1575 | int munlockall(struct proc *, struct munlockall_args *, int *); | |
1576 | int issetugid(struct proc *, struct issetugid_args *, int *); | |
1577 | int __pthread_kill(struct proc *, struct __pthread_kill_args *, int *); | |
1578 | int pthread_sigmask(struct proc *, struct pthread_sigmask_args *, int *); | |
1579 | int sigwait(struct proc *, struct sigwait_args *, int *); | |
1580 | int __disable_threadsignal(struct proc *, struct __disable_threadsignal_args *, int *); | |
1581 | int __pthread_markcancel(struct proc *, struct __pthread_markcancel_args *, int *); | |
1582 | int __pthread_canceled(struct proc *, struct __pthread_canceled_args *, int *); | |
1583 | int __semwait_signal(struct proc *, struct __semwait_signal_args *, int *); | |
1584 | int utrace(struct proc *, struct utrace_args *, int *); | |
1585 | int audit(struct proc *, struct audit_args *, int *); | |
1586 | int auditon(struct proc *, struct auditon_args *, int *); | |
1587 | int getauid(struct proc *, struct getauid_args *, int *); | |
1588 | int setauid(struct proc *, struct setauid_args *, int *); | |
1589 | int getaudit(struct proc *, struct getaudit_args *, int *); | |
1590 | int setaudit(struct proc *, struct setaudit_args *, int *); | |
1591 | int getaudit_addr(struct proc *, struct getaudit_addr_args *, int *); | |
1592 | int setaudit_addr(struct proc *, struct setaudit_addr_args *, int *); | |
1593 | int auditctl(struct proc *, struct auditctl_args *, int *); | |
1594 | int kqueue(struct proc *, struct kqueue_args *, int *); | |
1595 | int kevent(struct proc *, struct kevent_args *, int *); | |
1596 | int lchown(struct proc *, struct lchown_args *, int *); | |
1597 | ||
1598 | __END_DECLS | |
1599 | #undef PAD_ | |
1600 | #undef PADL_ | |
1601 | #undef PADR_ | |
1602 | ||
1603 | #endif /* __APPLE_API_PRIVATE */ | |
1604 | #endif /* KERNEL */ | |
1605 | ||
1606 | #endif /* !_SYS_SYSPROTO_H_ */ |