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