2 * Copyright (c) 2004 Apple Computer, Inc. All rights reserved.
4 * @APPLE_LICENSE_HEADER_START@
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.
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
20 * @APPLE_LICENSE_HEADER_END@
23 * System call switch table.
25 * DO NOT EDIT-- this file is automatically generated.
26 * created from syscalls.master
29 #ifndef _SYS_SYSPROTO_H_
30 #define _SYS_SYSPROTO_H_
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>
39 #include <mach/shared_memory_server.h>
42 #ifdef __APPLE_API_PRIVATE
43 #define PAD_(t) (sizeof(uint64_t) <= sizeof(t) \
44 ? 0 : sizeof(uint64_t) - sizeof(t))
45 #if BYTE_ORDER == LITTLE_ENDIAN
47 #define PADR_(t) PAD_(t)
49 #define PADL_(t) PAD_(t)
56 void munge_w(const void *, void *);
57 void munge_ww(const void *, void *);
58 void munge_www(const void *, void *);
59 void munge_wwww(const void *, void *);
60 void munge_wwwww(const void *, void *);
61 void munge_wwwwww(const void *, void *);
62 void munge_wwwwwww(const void *, void *);
63 void munge_wwwwwwww(const void *, void *);
64 void munge_wl(const void *, void *);
65 void munge_wlw(const void *, void *);
66 void munge_wwwl(const void *, void *);
67 void munge_wwwlww(const void *, void *);
68 void munge_wwwwl(const void *, void *);
69 void munge_wwwwwl(const void *, void *);
70 void munge_wsw(const void *, void *);
71 void munge_wws(const void *, void *);
72 void munge_wwwsw(const void *, void *);
74 void munge_d(const void *, void *);
75 void munge_dd(const void *, void *);
76 void munge_ddd(const void *, void *);
77 void munge_dddd(const void *, void *);
78 void munge_ddddd(const void *, void *);
79 void munge_dddddd(const void *, void *);
80 void munge_ddddddd(const void *, void *);
81 void munge_dddddddd(const void *, void *);
85 #define munge_ddd NULL
86 #define munge_dddd NULL
87 #define munge_ddddd NULL
88 #define munge_dddddd NULL
89 #define munge_ddddddd NULL
90 #define munge_dddddddd NULL
92 #endif /* !__MUNGE_ONCE */
98 char rval_l_
[PADL_(int)]; int rval
; char rval_r_
[PADR_(int)];
104 char fd_l_
[PADL_(int)]; int fd
; char fd_r_
[PADR_(int)];
105 char cbuf_l_
[PADL_(user_addr_t
)]; user_addr_t cbuf
; char cbuf_r_
[PADR_(user_addr_t
)];
106 char nbyte_l_
[PADL_(user_size_t
)]; user_size_t nbyte
; char nbyte_r_
[PADR_(user_size_t
)];
109 char fd_l_
[PADL_(int)]; int fd
; char fd_r_
[PADR_(int)];
110 char cbuf_l_
[PADL_(user_addr_t
)]; user_addr_t cbuf
; char cbuf_r_
[PADR_(user_addr_t
)];
111 char nbyte_l_
[PADL_(user_size_t
)]; user_size_t nbyte
; char nbyte_r_
[PADR_(user_size_t
)];
114 char path_l_
[PADL_(user_addr_t
)]; user_addr_t path
; char path_r_
[PADR_(user_addr_t
)];
115 char flags_l_
[PADL_(int)]; int flags
; char flags_r_
[PADR_(int)];
116 char mode_l_
[PADL_(int)]; int mode
; char mode_r_
[PADR_(int)];
119 char fd_l_
[PADL_(int)]; int fd
; char fd_r_
[PADR_(int)];
122 char pid_l_
[PADL_(int)]; int pid
; char pid_r_
[PADR_(int)];
123 char status_l_
[PADL_(user_addr_t
)]; user_addr_t status
; char status_r_
[PADR_(user_addr_t
)];
124 char options_l_
[PADL_(int)]; int options
; char options_r_
[PADR_(int)];
125 char rusage_l_
[PADL_(user_addr_t
)]; user_addr_t rusage
; char rusage_r_
[PADR_(user_addr_t
)];
128 char path_l_
[PADL_(user_addr_t
)]; user_addr_t path
; char path_r_
[PADR_(user_addr_t
)];
129 char link_l_
[PADL_(user_addr_t
)]; user_addr_t link
; char link_r_
[PADR_(user_addr_t
)];
132 char path_l_
[PADL_(user_addr_t
)]; user_addr_t path
; char path_r_
[PADR_(user_addr_t
)];
135 char path_l_
[PADL_(user_addr_t
)]; user_addr_t path
; char path_r_
[PADR_(user_addr_t
)];
138 char fd_l_
[PADL_(int)]; int fd
; char fd_r_
[PADR_(int)];
141 char path_l_
[PADL_(user_addr_t
)]; user_addr_t path
; char path_r_
[PADR_(user_addr_t
)];
142 char mode_l_
[PADL_(int)]; int mode
; char mode_r_
[PADR_(int)];
143 char dev_l_
[PADL_(int)]; int dev
; char dev_r_
[PADR_(int)];
146 char path_l_
[PADL_(user_addr_t
)]; user_addr_t path
; char path_r_
[PADR_(user_addr_t
)];
147 char mode_l_
[PADL_(int)]; int mode
; char mode_r_
[PADR_(int)];
150 char path_l_
[PADL_(user_addr_t
)]; user_addr_t path
; char path_r_
[PADR_(user_addr_t
)];
151 char uid_l_
[PADL_(int)]; int uid
; char uid_r_
[PADR_(int)];
152 char gid_l_
[PADL_(int)]; int gid
; char gid_r_
[PADR_(int)];
155 char nsize_l_
[PADL_(char *)]; char * nsize
; char nsize_r_
[PADR_(char *)];
158 struct ogetfsstat_args
{
159 char buf_l_
[PADL_(user_addr_t
)]; user_addr_t buf
; char buf_r_
[PADR_(user_addr_t
)];
160 char bufsize_l_
[PADL_(int)]; int bufsize
; char bufsize_r_
[PADR_(int)];
161 char flags_l_
[PADL_(int)]; int flags
; char flags_r_
[PADR_(int)];
164 struct getfsstat_args
{
165 char buf_l_
[PADL_(user_addr_t
)]; user_addr_t buf
; char buf_r_
[PADR_(user_addr_t
)];
166 char bufsize_l_
[PADL_(int)]; int bufsize
; char bufsize_r_
[PADR_(int)];
167 char flags_l_
[PADL_(int)]; int flags
; char flags_r_
[PADR_(int)];
174 char uid_l_
[PADL_(uid_t
)]; uid_t uid
; char uid_r_
[PADR_(uid_t
)];
179 struct geteuid_args
{
183 char req_l_
[PADL_(int)]; int req
; char req_r_
[PADR_(int)];
184 char pid_l_
[PADL_(pid_t
)]; pid_t pid
; char pid_r_
[PADR_(pid_t
)];
185 char addr_l_
[PADL_(user_addr_t
)]; user_addr_t addr
; char addr_r_
[PADR_(user_addr_t
)];
186 char data_l_
[PADL_(int)]; int data
; char data_r_
[PADR_(int)];
188 struct recvmsg_args
{
189 char s_l_
[PADL_(int)]; int s
; char s_r_
[PADR_(int)];
190 char msg_l_
[PADL_(user_addr_t
)]; user_addr_t msg
; char msg_r_
[PADR_(user_addr_t
)];
191 char flags_l_
[PADL_(int)]; int flags
; char flags_r_
[PADR_(int)];
193 struct sendmsg_args
{
194 char s_l_
[PADL_(int)]; int s
; char s_r_
[PADR_(int)];
195 char msg_l_
[PADL_(user_addr_t
)]; user_addr_t msg
; char msg_r_
[PADR_(user_addr_t
)];
196 char flags_l_
[PADL_(int)]; int flags
; char flags_r_
[PADR_(int)];
198 struct recvfrom_args
{
199 char s_l_
[PADL_(int)]; int s
; char s_r_
[PADR_(int)];
200 char buf_l_
[PADL_(user_addr_t
)]; user_addr_t buf
; char buf_r_
[PADR_(user_addr_t
)];
201 char len_l_
[PADL_(user_size_t
)]; user_size_t len
; char len_r_
[PADR_(user_size_t
)];
202 char flags_l_
[PADL_(int)]; int flags
; char flags_r_
[PADR_(int)];
203 char from_l_
[PADL_(user_addr_t
)]; user_addr_t from
; char from_r_
[PADR_(user_addr_t
)];
204 char fromlenaddr_l_
[PADL_(user_addr_t
)]; user_addr_t fromlenaddr
; char fromlenaddr_r_
[PADR_(user_addr_t
)];
207 char s_l_
[PADL_(int)]; int s
; char s_r_
[PADR_(int)];
208 char name_l_
[PADL_(user_addr_t
)]; user_addr_t name
; char name_r_
[PADR_(user_addr_t
)];
209 char anamelen_l_
[PADL_(user_addr_t
)]; user_addr_t anamelen
; char anamelen_r_
[PADR_(user_addr_t
)];
211 struct getpeername_args
{
212 char fdes_l_
[PADL_(int)]; int fdes
; char fdes_r_
[PADR_(int)];
213 char asa_l_
[PADL_(user_addr_t
)]; user_addr_t asa
; char asa_r_
[PADR_(user_addr_t
)];
214 char alen_l_
[PADL_(user_addr_t
)]; user_addr_t alen
; char alen_r_
[PADR_(user_addr_t
)];
216 struct getsockname_args
{
217 char fdes_l_
[PADL_(int)]; int fdes
; char fdes_r_
[PADR_(int)];
218 char asa_l_
[PADL_(user_addr_t
)]; user_addr_t asa
; char asa_r_
[PADR_(user_addr_t
)];
219 char alen_l_
[PADL_(user_addr_t
)]; user_addr_t alen
; char alen_r_
[PADR_(user_addr_t
)];
222 char path_l_
[PADL_(user_addr_t
)]; user_addr_t path
; char path_r_
[PADR_(user_addr_t
)];
223 char flags_l_
[PADL_(int)]; int flags
; char flags_r_
[PADR_(int)];
225 struct chflags_args
{
226 char path_l_
[PADL_(user_addr_t
)]; user_addr_t path
; char path_r_
[PADR_(user_addr_t
)];
227 char flags_l_
[PADL_(int)]; int flags
; char flags_r_
[PADR_(int)];
229 struct fchflags_args
{
230 char fd_l_
[PADL_(int)]; int fd
; char fd_r_
[PADR_(int)];
231 char flags_l_
[PADL_(int)]; int flags
; char flags_r_
[PADR_(int)];
237 char pid_l_
[PADL_(int)]; int pid
; char pid_r_
[PADR_(int)];
238 char signum_l_
[PADL_(int)]; int signum
; char signum_r_
[PADR_(int)];
240 struct getppid_args
{
244 char fd_l_
[PADL_(u_int
)]; u_int fd
; char fd_r_
[PADR_(u_int
)];
249 struct getegid_args
{
253 char bufbase_l_
[PADL_(user_addr_t
)]; user_addr_t bufbase
; char bufbase_r_
[PADR_(user_addr_t
)];
254 char bufsize_l_
[PADL_(user_size_t
)]; user_size_t bufsize
; char bufsize_r_
[PADR_(user_size_t
)];
255 char pcoffset_l_
[PADL_(user_ulong_t
)]; user_ulong_t pcoffset
; char pcoffset_r_
[PADR_(user_ulong_t
)];
256 char pcscale_l_
[PADL_(u_int
)]; u_int pcscale
; char pcscale_r_
[PADR_(u_int
)];
259 char fname_l_
[PADL_(user_addr_t
)]; user_addr_t fname
; char fname_r_
[PADR_(user_addr_t
)];
260 char ops_l_
[PADL_(int)]; int ops
; char ops_r_
[PADR_(int)];
261 char facs_l_
[PADL_(int)]; int facs
; char facs_r_
[PADR_(int)];
262 char pid_l_
[PADL_(int)]; int pid
; char pid_r_
[PADR_(int)];
264 struct sigaction_args
{
265 char signum_l_
[PADL_(int)]; int signum
; char signum_r_
[PADR_(int)];
266 char nsa_l_
[PADL_(user_addr_t
)]; user_addr_t nsa
; char nsa_r_
[PADR_(user_addr_t
)];
267 char osa_l_
[PADL_(user_addr_t
)]; user_addr_t osa
; char osa_r_
[PADR_(user_addr_t
)];
272 struct sigprocmask_args
{
273 char how_l_
[PADL_(int)]; int how
; char how_r_
[PADR_(int)];
274 char mask_l_
[PADL_(user_addr_t
)]; user_addr_t mask
; char mask_r_
[PADR_(user_addr_t
)];
275 char omask_l_
[PADL_(user_addr_t
)]; user_addr_t omask
; char omask_r_
[PADR_(user_addr_t
)];
277 struct getlogin_args
{
278 char namebuf_l_
[PADL_(user_addr_t
)]; user_addr_t namebuf
; char namebuf_r_
[PADR_(user_addr_t
)];
279 char namelen_l_
[PADL_(u_int
)]; u_int namelen
; char namelen_r_
[PADR_(u_int
)];
281 struct setlogin_args
{
282 char namebuf_l_
[PADL_(user_addr_t
)]; user_addr_t namebuf
; char namebuf_r_
[PADR_(user_addr_t
)];
285 char path_l_
[PADL_(user_addr_t
)]; user_addr_t path
; char path_r_
[PADR_(user_addr_t
)];
287 struct sigpending_args
{
288 char osv_l_
[PADL_(user_addr_t
)]; user_addr_t osv
; char osv_r_
[PADR_(user_addr_t
)];
290 struct sigaltstack_args
{
291 char nss_l_
[PADL_(user_addr_t
)]; user_addr_t nss
; char nss_r_
[PADR_(user_addr_t
)];
292 char oss_l_
[PADL_(user_addr_t
)]; user_addr_t oss
; char oss_r_
[PADR_(user_addr_t
)];
295 char fd_l_
[PADL_(int)]; int fd
; char fd_r_
[PADR_(int)];
296 char com_l_
[PADL_(user_ulong_t
)]; user_ulong_t com
; char com_r_
[PADR_(user_ulong_t
)];
297 char data_l_
[PADL_(user_addr_t
)]; user_addr_t data
; char data_r_
[PADR_(user_addr_t
)];
300 char opt_l_
[PADL_(int)]; int opt
; char opt_r_
[PADR_(int)];
301 char command_l_
[PADL_(user_addr_t
)]; user_addr_t command
; char command_r_
[PADR_(user_addr_t
)];
304 char path_l_
[PADL_(user_addr_t
)]; user_addr_t path
; char path_r_
[PADR_(user_addr_t
)];
306 struct symlink_args
{
307 char path_l_
[PADL_(user_addr_t
)]; user_addr_t path
; char path_r_
[PADR_(user_addr_t
)];
308 char link_l_
[PADL_(user_addr_t
)]; user_addr_t link
; char link_r_
[PADR_(user_addr_t
)];
310 struct readlink_args
{
311 char path_l_
[PADL_(user_addr_t
)]; user_addr_t path
; char path_r_
[PADR_(user_addr_t
)];
312 char buf_l_
[PADL_(user_addr_t
)]; user_addr_t buf
; char buf_r_
[PADR_(user_addr_t
)];
313 char count_l_
[PADL_(int)]; int count
; char count_r_
[PADR_(int)];
316 char fname_l_
[PADL_(user_addr_t
)]; user_addr_t fname
; char fname_r_
[PADR_(user_addr_t
)];
317 char argp_l_
[PADL_(user_addr_t
)]; user_addr_t argp
; char argp_r_
[PADR_(user_addr_t
)];
318 char envp_l_
[PADL_(user_addr_t
)]; user_addr_t envp
; char envp_r_
[PADR_(user_addr_t
)];
321 char newmask_l_
[PADL_(int)]; int newmask
; char newmask_r_
[PADR_(int)];
324 char path_l_
[PADL_(user_addr_t
)]; user_addr_t path
; char path_r_
[PADR_(user_addr_t
)];
327 char addr_l_
[PADL_(user_addr_t
)]; user_addr_t addr
; char addr_r_
[PADR_(user_addr_t
)];
328 char len_l_
[PADL_(user_size_t
)]; user_size_t len
; char len_r_
[PADR_(user_size_t
)];
329 char flags_l_
[PADL_(int)]; int flags
; char flags_r_
[PADR_(int)];
335 char incr_l_
[PADL_(int)]; int incr
; char incr_r_
[PADR_(int)];
338 char incr_l_
[PADL_(int)]; int incr
; char incr_r_
[PADR_(int)];
340 struct ovadvise_args
{
344 char addr_l_
[PADL_(user_addr_t
)]; user_addr_t addr
; char addr_r_
[PADR_(user_addr_t
)];
345 char len_l_
[PADL_(user_size_t
)]; user_size_t len
; char len_r_
[PADR_(user_size_t
)];
347 struct mprotect_args
{
348 char addr_l_
[PADL_(user_addr_t
)]; user_addr_t addr
; char addr_r_
[PADR_(user_addr_t
)];
349 char len_l_
[PADL_(user_size_t
)]; user_size_t len
; char len_r_
[PADR_(user_size_t
)];
350 char prot_l_
[PADL_(int)]; int prot
; char prot_r_
[PADR_(int)];
352 struct madvise_args
{
353 char addr_l_
[PADL_(user_addr_t
)]; user_addr_t addr
; char addr_r_
[PADR_(user_addr_t
)];
354 char len_l_
[PADL_(user_size_t
)]; user_size_t len
; char len_r_
[PADR_(user_size_t
)];
355 char behav_l_
[PADL_(int)]; int behav
; char behav_r_
[PADR_(int)];
357 struct mincore_args
{
358 char addr_l_
[PADL_(user_addr_t
)]; user_addr_t addr
; char addr_r_
[PADR_(user_addr_t
)];
359 char len_l_
[PADL_(user_size_t
)]; user_size_t len
; char len_r_
[PADR_(user_size_t
)];
360 char vec_l_
[PADL_(user_addr_t
)]; user_addr_t vec
; char vec_r_
[PADR_(user_addr_t
)];
362 struct getgroups_args
{
363 char gidsetsize_l_
[PADL_(u_int
)]; u_int gidsetsize
; char gidsetsize_r_
[PADR_(u_int
)];
364 char gidset_l_
[PADL_(user_addr_t
)]; user_addr_t gidset
; char gidset_r_
[PADR_(user_addr_t
)];
366 struct setgroups_args
{
367 char gidsetsize_l_
[PADL_(u_int
)]; u_int gidsetsize
; char gidsetsize_r_
[PADR_(u_int
)];
368 char gidset_l_
[PADL_(user_addr_t
)]; user_addr_t gidset
; char gidset_r_
[PADR_(user_addr_t
)];
370 struct getpgrp_args
{
373 struct setpgid_args
{
374 char pid_l_
[PADL_(int)]; int pid
; char pid_r_
[PADR_(int)];
375 char pgid_l_
[PADL_(int)]; int pgid
; char pgid_r_
[PADR_(int)];
377 struct setitimer_args
{
378 char which_l_
[PADL_(u_int
)]; u_int which
; char which_r_
[PADR_(u_int
)];
379 char itv_l_
[PADL_(user_addr_t
)]; user_addr_t itv
; char itv_r_
[PADR_(user_addr_t
)];
380 char oitv_l_
[PADL_(user_addr_t
)]; user_addr_t oitv
; char oitv_r_
[PADR_(user_addr_t
)];
385 struct getitimer_args
{
386 char which_l_
[PADL_(u_int
)]; u_int which
; char which_r_
[PADR_(u_int
)];
387 char itv_l_
[PADL_(user_addr_t
)]; user_addr_t itv
; char itv_r_
[PADR_(user_addr_t
)];
389 struct getdtablesize_args
{
393 char from_l_
[PADL_(u_int
)]; u_int from
; char from_r_
[PADR_(u_int
)];
394 char to_l_
[PADL_(u_int
)]; u_int to
; char to_r_
[PADR_(u_int
)];
397 char fd_l_
[PADL_(int)]; int fd
; char fd_r_
[PADR_(int)];
398 char cmd_l_
[PADL_(int)]; int cmd
; char cmd_r_
[PADR_(int)];
399 char arg_l_
[PADL_(user_long_t
)]; user_long_t arg
; char arg_r_
[PADR_(user_long_t
)];
402 char nd_l_
[PADL_(int)]; int nd
; char nd_r_
[PADR_(int)];
403 char in_l_
[PADL_(user_addr_t
)]; user_addr_t in
; char in_r_
[PADR_(user_addr_t
)];
404 char ou_l_
[PADL_(user_addr_t
)]; user_addr_t ou
; char ou_r_
[PADR_(user_addr_t
)];
405 char ex_l_
[PADL_(user_addr_t
)]; user_addr_t ex
; char ex_r_
[PADR_(user_addr_t
)];
406 char tv_l_
[PADL_(user_addr_t
)]; user_addr_t tv
; char tv_r_
[PADR_(user_addr_t
)];
409 char fd_l_
[PADL_(int)]; int fd
; char fd_r_
[PADR_(int)];
411 struct setpriority_args
{
412 char which_l_
[PADL_(int)]; int which
; char which_r_
[PADR_(int)];
413 char who_l_
[PADL_(int)]; int who
; char who_r_
[PADR_(int)];
414 char prio_l_
[PADL_(int)]; int prio
; char prio_r_
[PADR_(int)];
417 char domain_l_
[PADL_(int)]; int domain
; char domain_r_
[PADR_(int)];
418 char type_l_
[PADL_(int)]; int type
; char type_r_
[PADR_(int)];
419 char protocol_l_
[PADL_(int)]; int protocol
; char protocol_r_
[PADR_(int)];
421 struct connect_args
{
422 char s_l_
[PADL_(int)]; int s
; char s_r_
[PADR_(int)];
423 char name_l_
[PADL_(user_addr_t
)]; user_addr_t name
; char name_r_
[PADR_(user_addr_t
)];
424 char namelen_l_
[PADL_(socklen_t
)]; socklen_t namelen
; char namelen_r_
[PADR_(socklen_t
)];
426 struct getpriority_args
{
427 char which_l_
[PADL_(int)]; int which
; char which_r_
[PADR_(int)];
428 char who_l_
[PADL_(int)]; int who
; char who_r_
[PADR_(int)];
431 char s_l_
[PADL_(int)]; int s
; char s_r_
[PADR_(int)];
432 char name_l_
[PADL_(user_addr_t
)]; user_addr_t name
; char name_r_
[PADR_(user_addr_t
)];
433 char namelen_l_
[PADL_(socklen_t
)]; socklen_t namelen
; char namelen_r_
[PADR_(socklen_t
)];
435 struct setsockopt_args
{
436 char s_l_
[PADL_(int)]; int s
; char s_r_
[PADR_(int)];
437 char level_l_
[PADL_(int)]; int level
; char level_r_
[PADR_(int)];
438 char name_l_
[PADL_(int)]; int name
; char name_r_
[PADR_(int)];
439 char val_l_
[PADL_(user_addr_t
)]; user_addr_t val
; char val_r_
[PADR_(user_addr_t
)];
440 char valsize_l_
[PADL_(socklen_t
)]; socklen_t valsize
; char valsize_r_
[PADR_(socklen_t
)];
443 char s_l_
[PADL_(int)]; int s
; char s_r_
[PADR_(int)];
444 char backlog_l_
[PADL_(int)]; int backlog
; char backlog_r_
[PADR_(int)];
446 struct sigsuspend_args
{
447 char mask_l_
[PADL_(sigset_t
)]; sigset_t mask
; char mask_r_
[PADR_(sigset_t
)];
449 struct gettimeofday_args
{
450 char tp_l_
[PADL_(user_addr_t
)]; user_addr_t tp
; char tp_r_
[PADR_(user_addr_t
)];
451 char tzp_l_
[PADL_(user_addr_t
)]; user_addr_t tzp
; char tzp_r_
[PADR_(user_addr_t
)];
453 struct getrusage_args
{
454 char who_l_
[PADL_(int)]; int who
; char who_r_
[PADR_(int)];
455 char rusage_l_
[PADL_(user_addr_t
)]; user_addr_t rusage
; char rusage_r_
[PADR_(user_addr_t
)];
457 struct getsockopt_args
{
458 char s_l_
[PADL_(int)]; int s
; char s_r_
[PADR_(int)];
459 char level_l_
[PADL_(int)]; int level
; char level_r_
[PADR_(int)];
460 char name_l_
[PADL_(int)]; int name
; char name_r_
[PADR_(int)];
461 char val_l_
[PADL_(user_addr_t
)]; user_addr_t val
; char val_r_
[PADR_(user_addr_t
)];
462 char avalsize_l_
[PADL_(user_addr_t
)]; user_addr_t avalsize
; char avalsize_r_
[PADR_(user_addr_t
)];
465 char fd_l_
[PADL_(int)]; int fd
; char fd_r_
[PADR_(int)];
466 char iovp_l_
[PADL_(user_addr_t
)]; user_addr_t iovp
; char iovp_r_
[PADR_(user_addr_t
)];
467 char iovcnt_l_
[PADL_(u_int
)]; u_int iovcnt
; char iovcnt_r_
[PADR_(u_int
)];
470 char fd_l_
[PADL_(int)]; int fd
; char fd_r_
[PADR_(int)];
471 char iovp_l_
[PADL_(user_addr_t
)]; user_addr_t iovp
; char iovp_r_
[PADR_(user_addr_t
)];
472 char iovcnt_l_
[PADL_(u_int
)]; u_int iovcnt
; char iovcnt_r_
[PADR_(u_int
)];
474 struct settimeofday_args
{
475 char tv_l_
[PADL_(user_addr_t
)]; user_addr_t tv
; char tv_r_
[PADR_(user_addr_t
)];
476 char tzp_l_
[PADL_(user_addr_t
)]; user_addr_t tzp
; char tzp_r_
[PADR_(user_addr_t
)];
479 char fd_l_
[PADL_(int)]; int fd
; char fd_r_
[PADR_(int)];
480 char uid_l_
[PADL_(int)]; int uid
; char uid_r_
[PADR_(int)];
481 char gid_l_
[PADL_(int)]; int gid
; char gid_r_
[PADR_(int)];
484 char fd_l_
[PADL_(int)]; int fd
; char fd_r_
[PADR_(int)];
485 char mode_l_
[PADL_(int)]; int mode
; char mode_r_
[PADR_(int)];
488 char from_l_
[PADL_(user_addr_t
)]; user_addr_t from
; char from_r_
[PADR_(user_addr_t
)];
489 char to_l_
[PADL_(user_addr_t
)]; user_addr_t to
; char to_r_
[PADR_(user_addr_t
)];
492 char fd_l_
[PADL_(int)]; int fd
; char fd_r_
[PADR_(int)];
493 char how_l_
[PADL_(int)]; int how
; char how_r_
[PADR_(int)];
496 char path_l_
[PADL_(user_addr_t
)]; user_addr_t path
; char path_r_
[PADR_(user_addr_t
)];
497 char mode_l_
[PADL_(int)]; int mode
; char mode_r_
[PADR_(int)];
500 char s_l_
[PADL_(int)]; int s
; char s_r_
[PADR_(int)];
501 char buf_l_
[PADL_(user_addr_t
)]; user_addr_t buf
; char buf_r_
[PADR_(user_addr_t
)];
502 char len_l_
[PADL_(user_size_t
)]; user_size_t len
; char len_r_
[PADR_(user_size_t
)];
503 char flags_l_
[PADL_(int)]; int flags
; char flags_r_
[PADR_(int)];
504 char to_l_
[PADL_(user_addr_t
)]; user_addr_t to
; char to_r_
[PADR_(user_addr_t
)];
505 char tolen_l_
[PADL_(socklen_t
)]; socklen_t tolen
; char tolen_r_
[PADR_(socklen_t
)];
507 struct shutdown_args
{
508 char s_l_
[PADL_(int)]; int s
; char s_r_
[PADR_(int)];
509 char how_l_
[PADL_(int)]; int how
; char how_r_
[PADR_(int)];
511 struct socketpair_args
{
512 char domain_l_
[PADL_(int)]; int domain
; char domain_r_
[PADR_(int)];
513 char type_l_
[PADL_(int)]; int type
; char type_r_
[PADR_(int)];
514 char protocol_l_
[PADL_(int)]; int protocol
; char protocol_r_
[PADR_(int)];
515 char rsv_l_
[PADL_(user_addr_t
)]; user_addr_t rsv
; char rsv_r_
[PADR_(user_addr_t
)];
518 char path_l_
[PADL_(user_addr_t
)]; user_addr_t path
; char path_r_
[PADR_(user_addr_t
)];
519 char mode_l_
[PADL_(int)]; int mode
; char mode_r_
[PADR_(int)];
522 char path_l_
[PADL_(user_addr_t
)]; user_addr_t path
; char path_r_
[PADR_(user_addr_t
)];
525 char path_l_
[PADL_(user_addr_t
)]; user_addr_t path
; char path_r_
[PADR_(user_addr_t
)];
526 char tptr_l_
[PADL_(user_addr_t
)]; user_addr_t tptr
; char tptr_r_
[PADR_(user_addr_t
)];
528 struct futimes_args
{
529 char fd_l_
[PADL_(int)]; int fd
; char fd_r_
[PADR_(int)];
530 char tptr_l_
[PADL_(user_addr_t
)]; user_addr_t tptr
; char tptr_r_
[PADR_(user_addr_t
)];
532 struct adjtime_args
{
533 char delta_l_
[PADL_(user_addr_t
)]; user_addr_t delta
; char delta_r_
[PADR_(user_addr_t
)];
534 char olddelta_l_
[PADL_(user_addr_t
)]; user_addr_t olddelta
; char olddelta_r_
[PADR_(user_addr_t
)];
539 struct getpgid_args
{
540 char pid_l_
[PADL_(pid_t
)]; pid_t pid
; char pid_r_
[PADR_(pid_t
)];
542 struct setprivexec_args
{
543 char flag_l_
[PADL_(int)]; int flag
; char flag_r_
[PADR_(int)];
546 char fd_l_
[PADL_(int)]; int fd
; char fd_r_
[PADR_(int)];
547 char buf_l_
[PADL_(user_addr_t
)]; user_addr_t buf
; char buf_r_
[PADR_(user_addr_t
)];
548 char nbyte_l_
[PADL_(user_size_t
)]; user_size_t nbyte
; char nbyte_r_
[PADR_(user_size_t
)];
549 char offset_l_
[PADL_(off_t
)]; off_t offset
; char offset_r_
[PADR_(off_t
)];
552 char fd_l_
[PADL_(int)]; int fd
; char fd_r_
[PADR_(int)];
553 char buf_l_
[PADL_(user_addr_t
)]; user_addr_t buf
; char buf_r_
[PADR_(user_addr_t
)];
554 char nbyte_l_
[PADL_(user_size_t
)]; user_size_t nbyte
; char nbyte_r_
[PADR_(user_size_t
)];
555 char offset_l_
[PADL_(off_t
)]; off_t offset
; char offset_r_
[PADR_(off_t
)];
559 char flag_l_
[PADL_(int)]; int flag
; char flag_r_
[PADR_(int)];
560 char argp_l_
[PADL_(user_addr_t
)]; user_addr_t argp
; char argp_r_
[PADR_(user_addr_t
)];
565 char path_l_
[PADL_(user_addr_t
)]; user_addr_t path
; char path_r_
[PADR_(user_addr_t
)];
566 char buf_l_
[PADL_(user_addr_t
)]; user_addr_t buf
; char buf_r_
[PADR_(user_addr_t
)];
568 struct fstatfs_args
{
569 char fd_l_
[PADL_(int)]; int fd
; char fd_r_
[PADR_(int)];
570 char buf_l_
[PADL_(user_addr_t
)]; user_addr_t buf
; char buf_r_
[PADR_(user_addr_t
)];
572 struct unmount_args
{
573 char path_l_
[PADL_(user_addr_t
)]; user_addr_t path
; char path_r_
[PADR_(user_addr_t
)];
574 char flags_l_
[PADL_(int)]; int flags
; char flags_r_
[PADR_(int)];
578 char fname_l_
[PADL_(user_addr_t
)]; user_addr_t fname
; char fname_r_
[PADR_(user_addr_t
)];
579 char fhp_l_
[PADL_(user_addr_t
)]; user_addr_t fhp
; char fhp_r_
[PADR_(user_addr_t
)];
583 struct quotactl_args
{
584 char path_l_
[PADL_(user_addr_t
)]; user_addr_t path
; char path_r_
[PADR_(user_addr_t
)];
585 char cmd_l_
[PADL_(int)]; int cmd
; char cmd_r_
[PADR_(int)];
586 char uid_l_
[PADL_(int)]; int uid
; char uid_r_
[PADR_(int)];
587 char arg_l_
[PADL_(user_addr_t
)]; user_addr_t arg
; char arg_r_
[PADR_(user_addr_t
)];
590 char type_l_
[PADL_(user_addr_t
)]; user_addr_t type
; char type_r_
[PADR_(user_addr_t
)];
591 char path_l_
[PADL_(user_addr_t
)]; user_addr_t path
; char path_r_
[PADR_(user_addr_t
)];
592 char flags_l_
[PADL_(int)]; int flags
; char flags_r_
[PADR_(int)];
593 char data_l_
[PADL_(user_addr_t
)]; user_addr_t data
; char data_r_
[PADR_(user_addr_t
)];
596 char idtype_l_
[PADL_(idtype_t
)]; idtype_t idtype
; char idtype_r_
[PADR_(idtype_t
)];
597 char id_l_
[PADL_(id_t
)]; id_t id
; char id_r_
[PADR_(id_t
)];
598 char infop_l_
[PADL_(user_addr_t
)]; user_addr_t infop
; char infop_r_
[PADR_(user_addr_t
)];
599 char options_l_
[PADL_(int)]; int options
; char options_r_
[PADR_(int)];
601 struct add_profil_args
{
602 char bufbase_l_
[PADL_(user_addr_t
)]; user_addr_t bufbase
; char bufbase_r_
[PADR_(user_addr_t
)];
603 char bufsize_l_
[PADL_(user_size_t
)]; user_size_t bufsize
; char bufsize_r_
[PADR_(user_size_t
)];
604 char pcoffset_l_
[PADL_(user_ulong_t
)]; user_ulong_t pcoffset
; char pcoffset_r_
[PADR_(user_ulong_t
)];
605 char pcscale_l_
[PADL_(u_int
)]; u_int pcscale
; char pcscale_r_
[PADR_(u_int
)];
607 struct kdebug_trace_args
{
608 char code_l_
[PADL_(int)]; int code
; char code_r_
[PADR_(int)];
609 char arg1_l_
[PADL_(int)]; int arg1
; char arg1_r_
[PADR_(int)];
610 char arg2_l_
[PADL_(int)]; int arg2
; char arg2_r_
[PADR_(int)];
611 char arg3_l_
[PADL_(int)]; int arg3
; char arg3_r_
[PADR_(int)];
612 char arg4_l_
[PADL_(int)]; int arg4
; char arg4_r_
[PADR_(int)];
613 char arg5_l_
[PADL_(int)]; int arg5
; char arg5_r_
[PADR_(int)];
616 char gid_l_
[PADL_(gid_t
)]; gid_t gid
; char gid_r_
[PADR_(gid_t
)];
618 struct setegid_args
{
619 char egid_l_
[PADL_(gid_t
)]; gid_t egid
; char egid_r_
[PADR_(gid_t
)];
621 struct seteuid_args
{
622 char euid_l_
[PADL_(uid_t
)]; uid_t euid
; char euid_r_
[PADR_(uid_t
)];
624 struct sigreturn_args
{
625 char uctx_l_
[PADL_(user_addr_t
)]; user_addr_t uctx
; char uctx_r_
[PADR_(user_addr_t
)];
626 char infostyle_l_
[PADL_(int)]; int infostyle
; char infostyle_r_
[PADR_(int)];
629 char code_l_
[PADL_(int)]; int code
; char code_r_
[PADR_(int)];
630 char arg1_l_
[PADL_(int)]; int arg1
; char arg1_r_
[PADR_(int)];
631 char arg2_l_
[PADL_(int)]; int arg2
; char arg2_r_
[PADR_(int)];
632 char arg3_l_
[PADL_(int)]; int arg3
; char arg3_r_
[PADR_(int)];
633 char arg4_l_
[PADL_(int)]; int arg4
; char arg4_r_
[PADR_(int)];
634 char arg5_l_
[PADL_(int)]; int arg5
; char arg5_r_
[PADR_(int)];
637 char path_l_
[PADL_(user_addr_t
)]; user_addr_t path
; char path_r_
[PADR_(user_addr_t
)];
638 char ub_l_
[PADL_(user_addr_t
)]; user_addr_t ub
; char ub_r_
[PADR_(user_addr_t
)];
641 char fd_l_
[PADL_(int)]; int fd
; char fd_r_
[PADR_(int)];
642 char ub_l_
[PADL_(user_addr_t
)]; user_addr_t ub
; char ub_r_
[PADR_(user_addr_t
)];
645 char path_l_
[PADL_(user_addr_t
)]; user_addr_t path
; char path_r_
[PADR_(user_addr_t
)];
646 char ub_l_
[PADL_(user_addr_t
)]; user_addr_t ub
; char ub_r_
[PADR_(user_addr_t
)];
648 struct pathconf_args
{
649 char path_l_
[PADL_(user_addr_t
)]; user_addr_t path
; char path_r_
[PADR_(user_addr_t
)];
650 char name_l_
[PADL_(int)]; int name
; char name_r_
[PADR_(int)];
652 struct fpathconf_args
{
653 char fd_l_
[PADL_(int)]; int fd
; char fd_r_
[PADR_(int)];
654 char name_l_
[PADL_(int)]; int name
; char name_r_
[PADR_(int)];
657 struct getfsstat_args
{
658 char buf_l_
[PADL_(user_addr_t
)]; user_addr_t buf
; char buf_r_
[PADR_(user_addr_t
)];
659 char bufsize_l_
[PADL_(user_long_t
)]; user_long_t bufsize
; char bufsize_r_
[PADR_(user_long_t
)];
660 char flags_l_
[PADL_(int)]; int flags
; char flags_r_
[PADR_(int)];
664 struct getrlimit_args
{
665 char which_l_
[PADL_(u_int
)]; u_int which
; char which_r_
[PADR_(u_int
)];
666 char rlp_l_
[PADL_(user_addr_t
)]; user_addr_t rlp
; char rlp_r_
[PADR_(user_addr_t
)];
668 struct setrlimit_args
{
669 char which_l_
[PADL_(u_int
)]; u_int which
; char which_r_
[PADR_(u_int
)];
670 char rlp_l_
[PADL_(user_addr_t
)]; user_addr_t rlp
; char rlp_r_
[PADR_(user_addr_t
)];
672 struct getdirentries_args
{
673 char fd_l_
[PADL_(int)]; int fd
; char fd_r_
[PADR_(int)];
674 char buf_l_
[PADL_(user_addr_t
)]; user_addr_t buf
; char buf_r_
[PADR_(user_addr_t
)];
675 char count_l_
[PADL_(u_int
)]; u_int count
; char count_r_
[PADR_(u_int
)];
676 char basep_l_
[PADL_(user_addr_t
)]; user_addr_t basep
; char basep_r_
[PADR_(user_addr_t
)];
679 char addr_l_
[PADL_(user_addr_t
)]; user_addr_t addr
; char addr_r_
[PADR_(user_addr_t
)];
680 char len_l_
[PADL_(user_size_t
)]; user_size_t len
; char len_r_
[PADR_(user_size_t
)];
681 char prot_l_
[PADL_(int)]; int prot
; char prot_r_
[PADR_(int)];
682 char flags_l_
[PADL_(int)]; int flags
; char flags_r_
[PADR_(int)];
683 char fd_l_
[PADL_(int)]; int fd
; char fd_r_
[PADR_(int)];
684 char pos_l_
[PADL_(off_t
)]; off_t pos
; char pos_r_
[PADR_(off_t
)];
687 char fd_l_
[PADL_(int)]; int fd
; char fd_r_
[PADR_(int)];
688 char offset_l_
[PADL_(off_t
)]; off_t offset
; char offset_r_
[PADR_(off_t
)];
689 char whence_l_
[PADL_(int)]; int whence
; char whence_r_
[PADR_(int)];
691 struct truncate_args
{
692 char path_l_
[PADL_(user_addr_t
)]; user_addr_t path
; char path_r_
[PADR_(user_addr_t
)];
693 char length_l_
[PADL_(off_t
)]; off_t length
; char length_r_
[PADR_(off_t
)];
695 struct ftruncate_args
{
696 char fd_l_
[PADL_(int)]; int fd
; char fd_r_
[PADR_(int)];
697 char length_l_
[PADL_(off_t
)]; off_t length
; char length_r_
[PADR_(off_t
)];
699 struct __sysctl_args
{
700 char name_l_
[PADL_(user_addr_t
)]; user_addr_t name
; char name_r_
[PADR_(user_addr_t
)];
701 char namelen_l_
[PADL_(u_int
)]; u_int namelen
; char namelen_r_
[PADR_(u_int
)];
702 char old_l_
[PADL_(user_addr_t
)]; user_addr_t old
; char old_r_
[PADR_(user_addr_t
)];
703 char oldlenp_l_
[PADL_(user_addr_t
)]; user_addr_t oldlenp
; char oldlenp_r_
[PADR_(user_addr_t
)];
704 char new_l_
[PADL_(user_addr_t
)]; user_addr_t
new; char new_r_
[PADR_(user_addr_t
)];
705 char newlen_l_
[PADL_(user_size_t
)]; user_size_t newlen
; char newlen_r_
[PADR_(user_size_t
)];
708 char addr_l_
[PADL_(user_addr_t
)]; user_addr_t addr
; char addr_r_
[PADR_(user_addr_t
)];
709 char len_l_
[PADL_(user_size_t
)]; user_size_t len
; char len_r_
[PADR_(user_size_t
)];
711 struct munlock_args
{
712 char addr_l_
[PADL_(user_addr_t
)]; user_addr_t addr
; char addr_r_
[PADR_(user_addr_t
)];
713 char len_l_
[PADL_(user_size_t
)]; user_size_t len
; char len_r_
[PADR_(user_size_t
)];
715 struct undelete_args
{
716 char path_l_
[PADL_(user_addr_t
)]; user_addr_t path
; char path_r_
[PADR_(user_addr_t
)];
718 struct ATsocket_args
{
719 char proto_l_
[PADL_(int)]; int proto
; char proto_r_
[PADR_(int)];
721 struct ATgetmsg_args
{
722 char fd_l_
[PADL_(int)]; int fd
; char fd_r_
[PADR_(int)];
723 char ctlptr_l_
[PADL_(void *)]; void * ctlptr
; char ctlptr_r_
[PADR_(void *)];
724 char datptr_l_
[PADL_(void *)]; void * datptr
; char datptr_r_
[PADR_(void *)];
725 char flags_l_
[PADL_(int *)]; int * flags
; char flags_r_
[PADR_(int *)];
727 struct ATputmsg_args
{
728 char fd_l_
[PADL_(int)]; int fd
; char fd_r_
[PADR_(int)];
729 char ctlptr_l_
[PADL_(void *)]; void * ctlptr
; char ctlptr_r_
[PADR_(void *)];
730 char datptr_l_
[PADL_(void *)]; void * datptr
; char datptr_r_
[PADR_(void *)];
731 char flags_l_
[PADL_(int)]; int flags
; char flags_r_
[PADR_(int)];
733 struct ATPsndreq_args
{
734 char fd_l_
[PADL_(int)]; int fd
; char fd_r_
[PADR_(int)];
735 char buf_l_
[PADL_(unsigned char *)]; unsigned char * buf
; char buf_r_
[PADR_(unsigned char *)];
736 char len_l_
[PADL_(int)]; int len
; char len_r_
[PADR_(int)];
737 char nowait_l_
[PADL_(int)]; int nowait
; char nowait_r_
[PADR_(int)];
739 struct ATPsndrsp_args
{
740 char fd_l_
[PADL_(int)]; int fd
; char fd_r_
[PADR_(int)];
741 char respbuff_l_
[PADL_(unsigned char *)]; unsigned char * respbuff
; char respbuff_r_
[PADR_(unsigned char *)];
742 char resplen_l_
[PADL_(int)]; int resplen
; char resplen_r_
[PADR_(int)];
743 char datalen_l_
[PADL_(int)]; int datalen
; char datalen_r_
[PADR_(int)];
745 struct ATPgetreq_args
{
746 char fd_l_
[PADL_(int)]; int fd
; char fd_r_
[PADR_(int)];
747 char buf_l_
[PADL_(unsigned char *)]; unsigned char * buf
; char buf_r_
[PADR_(unsigned char *)];
748 char buflen_l_
[PADL_(int)]; int buflen
; char buflen_r_
[PADR_(int)];
750 struct ATPgetrsp_args
{
751 char fd_l_
[PADL_(int)]; int fd
; char fd_r_
[PADR_(int)];
752 char bdsp_l_
[PADL_(unsigned char *)]; unsigned char * bdsp
; char bdsp_r_
[PADR_(unsigned char *)];
754 struct kqueue_from_portset_np_args
{
755 char portset_l_
[PADL_(int)]; int portset
; char portset_r_
[PADR_(int)];
757 struct kqueue_portset_np_args
{
758 char fd_l_
[PADL_(int)]; int fd
; char fd_r_
[PADR_(int)];
760 struct getattrlist_args
{
761 char path_l_
[PADL_(user_addr_t
)]; user_addr_t path
; char path_r_
[PADR_(user_addr_t
)];
762 char alist_l_
[PADL_(user_addr_t
)]; user_addr_t alist
; char alist_r_
[PADR_(user_addr_t
)];
763 char attributeBuffer_l_
[PADL_(user_addr_t
)]; user_addr_t attributeBuffer
; char attributeBuffer_r_
[PADR_(user_addr_t
)];
764 char bufferSize_l_
[PADL_(user_size_t
)]; user_size_t bufferSize
; char bufferSize_r_
[PADR_(user_size_t
)];
765 char options_l_
[PADL_(user_ulong_t
)]; user_ulong_t options
; char options_r_
[PADR_(user_ulong_t
)];
767 struct setattrlist_args
{
768 char path_l_
[PADL_(user_addr_t
)]; user_addr_t path
; char path_r_
[PADR_(user_addr_t
)];
769 char alist_l_
[PADL_(user_addr_t
)]; user_addr_t alist
; char alist_r_
[PADR_(user_addr_t
)];
770 char attributeBuffer_l_
[PADL_(user_addr_t
)]; user_addr_t attributeBuffer
; char attributeBuffer_r_
[PADR_(user_addr_t
)];
771 char bufferSize_l_
[PADL_(user_size_t
)]; user_size_t bufferSize
; char bufferSize_r_
[PADR_(user_size_t
)];
772 char options_l_
[PADL_(user_ulong_t
)]; user_ulong_t options
; char options_r_
[PADR_(user_ulong_t
)];
774 struct getdirentriesattr_args
{
775 char fd_l_
[PADL_(int)]; int fd
; char fd_r_
[PADR_(int)];
776 char alist_l_
[PADL_(user_addr_t
)]; user_addr_t alist
; char alist_r_
[PADR_(user_addr_t
)];
777 char buffer_l_
[PADL_(user_addr_t
)]; user_addr_t buffer
; char buffer_r_
[PADR_(user_addr_t
)];
778 char buffersize_l_
[PADL_(user_size_t
)]; user_size_t buffersize
; char buffersize_r_
[PADR_(user_size_t
)];
779 char count_l_
[PADL_(user_addr_t
)]; user_addr_t count
; char count_r_
[PADR_(user_addr_t
)];
780 char basep_l_
[PADL_(user_addr_t
)]; user_addr_t basep
; char basep_r_
[PADR_(user_addr_t
)];
781 char newstate_l_
[PADL_(user_addr_t
)]; user_addr_t newstate
; char newstate_r_
[PADR_(user_addr_t
)];
782 char options_l_
[PADL_(user_ulong_t
)]; user_ulong_t options
; char options_r_
[PADR_(user_ulong_t
)];
784 struct exchangedata_args
{
785 char path1_l_
[PADL_(user_addr_t
)]; user_addr_t path1
; char path1_r_
[PADR_(user_addr_t
)];
786 char path2_l_
[PADL_(user_addr_t
)]; user_addr_t path2
; char path2_r_
[PADR_(user_addr_t
)];
787 char options_l_
[PADL_(user_ulong_t
)]; user_ulong_t options
; char options_r_
[PADR_(user_ulong_t
)];
789 #ifdef __APPLE_API_OBSOLETE
790 struct checkuseraccess_args
{
791 char path_l_
[PADL_(const char *)]; const char * path
; char path_r_
[PADR_(const char *)];
792 char userid_l_
[PADL_(uid_t
)]; uid_t userid
; char userid_r_
[PADR_(uid_t
)];
793 char groups_l_
[PADL_(gid_t
*)]; gid_t
* groups
; char groups_r_
[PADR_(gid_t
*)];
794 char ngroups_l_
[PADL_(int)]; int ngroups
; char ngroups_r_
[PADR_(int)];
795 char accessrequired_l_
[PADL_(int)]; int accessrequired
; char accessrequired_r_
[PADR_(int)];
796 char options_l_
[PADL_(u_long
)]; u_long options
; char options_r_
[PADR_(u_long
)];
799 #endif /* __APPLE_API_OBSOLETE */
800 struct searchfs_args
{
801 char path_l_
[PADL_(user_addr_t
)]; user_addr_t path
; char path_r_
[PADR_(user_addr_t
)];
802 char searchblock_l_
[PADL_(user_addr_t
)]; user_addr_t searchblock
; char searchblock_r_
[PADR_(user_addr_t
)];
803 char nummatches_l_
[PADL_(user_addr_t
)]; user_addr_t nummatches
; char nummatches_r_
[PADR_(user_addr_t
)];
804 char scriptcode_l_
[PADL_(user_ulong_t
)]; user_ulong_t scriptcode
; char scriptcode_r_
[PADR_(user_ulong_t
)];
805 char options_l_
[PADL_(user_ulong_t
)]; user_ulong_t options
; char options_r_
[PADR_(user_ulong_t
)];
806 char state_l_
[PADL_(user_addr_t
)]; user_addr_t state
; char state_r_
[PADR_(user_addr_t
)];
809 char path_l_
[PADL_(user_addr_t
)]; user_addr_t path
; char path_r_
[PADR_(user_addr_t
)];
811 struct copyfile_args
{
812 char from_l_
[PADL_(user_addr_t
)]; user_addr_t from
; char from_r_
[PADR_(user_addr_t
)];
813 char to_l_
[PADL_(user_addr_t
)]; user_addr_t to
; char to_r_
[PADR_(user_addr_t
)];
814 char mode_l_
[PADL_(int)]; int mode
; char mode_r_
[PADR_(int)];
815 char flags_l_
[PADL_(int)]; int flags
; char flags_r_
[PADR_(int)];
818 char fds_l_
[PADL_(user_addr_t
)]; user_addr_t fds
; char fds_r_
[PADR_(user_addr_t
)];
819 char nfds_l_
[PADL_(u_int
)]; u_int nfds
; char nfds_r_
[PADR_(u_int
)];
820 char timeout_l_
[PADL_(int)]; int timeout
; char timeout_r_
[PADR_(int)];
822 struct watchevent_args
{
823 char u_req_l_
[PADL_(struct eventreq
*)]; struct eventreq
* u_req
; char u_req_r_
[PADR_(struct eventreq
*)];
824 char u_eventmask_l_
[PADL_(int)]; int u_eventmask
; char u_eventmask_r_
[PADR_(int)];
826 struct waitevent_args
{
827 char u_req_l_
[PADL_(struct eventreq
*)]; struct eventreq
* u_req
; char u_req_r_
[PADR_(struct eventreq
*)];
828 char tv_l_
[PADL_(struct timeval
*)]; struct timeval
* tv
; char tv_r_
[PADR_(struct timeval
*)];
830 struct modwatch_args
{
831 char u_req_l_
[PADL_(struct eventreq
*)]; struct eventreq
* u_req
; char u_req_r_
[PADR_(struct eventreq
*)];
832 char u_eventmask_l_
[PADL_(int)]; int u_eventmask
; char u_eventmask_r_
[PADR_(int)];
834 struct getxattr_args
{
835 char path_l_
[PADL_(user_addr_t
)]; user_addr_t path
; char path_r_
[PADR_(user_addr_t
)];
836 char attrname_l_
[PADL_(user_addr_t
)]; user_addr_t attrname
; char attrname_r_
[PADR_(user_addr_t
)];
837 char value_l_
[PADL_(user_addr_t
)]; user_addr_t value
; char value_r_
[PADR_(user_addr_t
)];
838 char size_l_
[PADL_(user_size_t
)]; user_size_t size
; char size_r_
[PADR_(user_size_t
)];
839 char position_l_
[PADL_(uint32_t)]; uint32_t position
; char position_r_
[PADR_(uint32_t)];
840 char options_l_
[PADL_(int)]; int options
; char options_r_
[PADR_(int)];
842 struct fgetxattr_args
{
843 char fd_l_
[PADL_(int)]; int fd
; char fd_r_
[PADR_(int)];
844 char attrname_l_
[PADL_(user_addr_t
)]; user_addr_t attrname
; char attrname_r_
[PADR_(user_addr_t
)];
845 char value_l_
[PADL_(user_addr_t
)]; user_addr_t value
; char value_r_
[PADR_(user_addr_t
)];
846 char size_l_
[PADL_(user_size_t
)]; user_size_t size
; char size_r_
[PADR_(user_size_t
)];
847 char position_l_
[PADL_(uint32_t)]; uint32_t position
; char position_r_
[PADR_(uint32_t)];
848 char options_l_
[PADL_(int)]; int options
; char options_r_
[PADR_(int)];
850 struct setxattr_args
{
851 char path_l_
[PADL_(user_addr_t
)]; user_addr_t path
; char path_r_
[PADR_(user_addr_t
)];
852 char attrname_l_
[PADL_(user_addr_t
)]; user_addr_t attrname
; char attrname_r_
[PADR_(user_addr_t
)];
853 char value_l_
[PADL_(user_addr_t
)]; user_addr_t value
; char value_r_
[PADR_(user_addr_t
)];
854 char size_l_
[PADL_(user_size_t
)]; user_size_t size
; char size_r_
[PADR_(user_size_t
)];
855 char position_l_
[PADL_(uint32_t)]; uint32_t position
; char position_r_
[PADR_(uint32_t)];
856 char options_l_
[PADL_(int)]; int options
; char options_r_
[PADR_(int)];
858 struct fsetxattr_args
{
859 char fd_l_
[PADL_(int)]; int fd
; char fd_r_
[PADR_(int)];
860 char attrname_l_
[PADL_(user_addr_t
)]; user_addr_t attrname
; char attrname_r_
[PADR_(user_addr_t
)];
861 char value_l_
[PADL_(user_addr_t
)]; user_addr_t value
; char value_r_
[PADR_(user_addr_t
)];
862 char size_l_
[PADL_(user_size_t
)]; user_size_t size
; char size_r_
[PADR_(user_size_t
)];
863 char position_l_
[PADL_(uint32_t)]; uint32_t position
; char position_r_
[PADR_(uint32_t)];
864 char options_l_
[PADL_(int)]; int options
; char options_r_
[PADR_(int)];
866 struct removexattr_args
{
867 char path_l_
[PADL_(user_addr_t
)]; user_addr_t path
; char path_r_
[PADR_(user_addr_t
)];
868 char attrname_l_
[PADL_(user_addr_t
)]; user_addr_t attrname
; char attrname_r_
[PADR_(user_addr_t
)];
869 char options_l_
[PADL_(int)]; int options
; char options_r_
[PADR_(int)];
871 struct fremovexattr_args
{
872 char fd_l_
[PADL_(int)]; int fd
; char fd_r_
[PADR_(int)];
873 char attrname_l_
[PADL_(user_addr_t
)]; user_addr_t attrname
; char attrname_r_
[PADR_(user_addr_t
)];
874 char options_l_
[PADL_(int)]; int options
; char options_r_
[PADR_(int)];
876 struct listxattr_args
{
877 char path_l_
[PADL_(user_addr_t
)]; user_addr_t path
; char path_r_
[PADR_(user_addr_t
)];
878 char namebuf_l_
[PADL_(user_addr_t
)]; user_addr_t namebuf
; char namebuf_r_
[PADR_(user_addr_t
)];
879 char bufsize_l_
[PADL_(user_size_t
)]; user_size_t bufsize
; char bufsize_r_
[PADR_(user_size_t
)];
880 char options_l_
[PADL_(int)]; int options
; char options_r_
[PADR_(int)];
882 struct flistxattr_args
{
883 char fd_l_
[PADL_(int)]; int fd
; char fd_r_
[PADR_(int)];
884 char namebuf_l_
[PADL_(user_addr_t
)]; user_addr_t namebuf
; char namebuf_r_
[PADR_(user_addr_t
)];
885 char bufsize_l_
[PADL_(user_size_t
)]; user_size_t bufsize
; char bufsize_r_
[PADR_(user_size_t
)];
886 char options_l_
[PADL_(int)]; int options
; char options_r_
[PADR_(int)];
889 char path_l_
[PADL_(user_addr_t
)]; user_addr_t path
; char path_r_
[PADR_(user_addr_t
)];
890 char cmd_l_
[PADL_(user_ulong_t
)]; user_ulong_t cmd
; char cmd_r_
[PADR_(user_ulong_t
)];
891 char data_l_
[PADL_(user_addr_t
)]; user_addr_t data
; char data_r_
[PADR_(user_addr_t
)];
892 char options_l_
[PADL_(user_ulong_t
)]; user_ulong_t options
; char options_r_
[PADR_(user_ulong_t
)];
894 struct initgroups_args
{
895 char gidsetsize_l_
[PADL_(u_int
)]; u_int gidsetsize
; char gidsetsize_r_
[PADR_(u_int
)];
896 char gidset_l_
[PADL_(user_addr_t
)]; user_addr_t gidset
; char gidset_r_
[PADR_(user_addr_t
)];
897 char gmuid_l_
[PADL_(int)]; int gmuid
; char gmuid_r_
[PADR_(int)];
900 struct nfsclnt_args
{
901 char flag_l_
[PADL_(int)]; int flag
; char flag_r_
[PADR_(int)];
902 char argp_l_
[PADL_(user_addr_t
)]; user_addr_t argp
; char argp_r_
[PADR_(user_addr_t
)];
905 char u_fhp_l_
[PADL_(user_addr_t
)]; user_addr_t u_fhp
; char u_fhp_r_
[PADR_(user_addr_t
)];
906 char flags_l_
[PADL_(int)]; int flags
; char flags_r_
[PADR_(int)];
910 struct minherit_args
{
911 char addr_l_
[PADL_(user_addr_t
)]; user_addr_t addr
; char addr_r_
[PADR_(user_addr_t
)];
912 char len_l_
[PADL_(user_size_t
)]; user_size_t len
; char len_r_
[PADR_(user_size_t
)];
913 char inherit_l_
[PADL_(int)]; int inherit
; char inherit_r_
[PADR_(int)];
916 char which_l_
[PADL_(u_int
)]; u_int which
; char which_r_
[PADR_(u_int
)];
917 char a2_l_
[PADL_(int)]; int a2
; char a2_r_
[PADR_(int)];
918 char a3_l_
[PADL_(int)]; int a3
; char a3_r_
[PADR_(int)];
919 char a4_l_
[PADL_(int)]; int a4
; char a4_r_
[PADR_(int)];
920 char a5_l_
[PADL_(int)]; int a5
; char a5_r_
[PADR_(int)];
923 char which_l_
[PADL_(u_int
)]; u_int which
; char which_r_
[PADR_(u_int
)];
924 char a2_l_
[PADL_(int)]; int a2
; char a2_r_
[PADR_(int)];
925 char a3_l_
[PADL_(int)]; int a3
; char a3_r_
[PADR_(int)];
926 char a4_l_
[PADL_(int)]; int a4
; char a4_r_
[PADR_(int)];
927 char a5_l_
[PADL_(int)]; int a5
; char a5_r_
[PADR_(int)];
930 char which_l_
[PADL_(u_int
)]; u_int which
; char which_r_
[PADR_(u_int
)];
931 char a2_l_
[PADL_(int)]; int a2
; char a2_r_
[PADR_(int)];
932 char a3_l_
[PADL_(int)]; int a3
; char a3_r_
[PADR_(int)];
933 char a4_l_
[PADL_(int)]; int a4
; char a4_r_
[PADR_(int)];
936 char semid_l_
[PADL_(int)]; int semid
; char semid_r_
[PADR_(int)];
937 char semnum_l_
[PADL_(int)]; int semnum
; char semnum_r_
[PADR_(int)];
938 char cmd_l_
[PADL_(int)]; int cmd
; char cmd_r_
[PADR_(int)];
939 char arg_l_
[PADL_(user_addr_t
)]; user_addr_t arg
; char arg_r_
[PADR_(user_addr_t
)];
942 char key_l_
[PADL_(key_t
)]; key_t key
; char key_r_
[PADR_(key_t
)];
943 char nsems_l_
[PADL_(int)]; int nsems
; char nsems_r_
[PADR_(int)];
944 char semflg_l_
[PADL_(int)]; int semflg
; char semflg_r_
[PADR_(int)];
947 char semid_l_
[PADL_(int)]; int semid
; char semid_r_
[PADR_(int)];
948 char sops_l_
[PADL_(user_addr_t
)]; user_addr_t sops
; char sops_r_
[PADR_(user_addr_t
)];
949 char nsops_l_
[PADL_(int)]; int nsops
; char nsops_r_
[PADR_(int)];
952 char msqid_l_
[PADL_(int)]; int msqid
; char msqid_r_
[PADR_(int)];
953 char cmd_l_
[PADL_(int)]; int cmd
; char cmd_r_
[PADR_(int)];
954 char buf_l_
[PADL_(user_addr_t
)]; user_addr_t buf
; char buf_r_
[PADR_(user_addr_t
)];
957 char key_l_
[PADL_(key_t
)]; key_t key
; char key_r_
[PADR_(key_t
)];
958 char msgflg_l_
[PADL_(int)]; int msgflg
; char msgflg_r_
[PADR_(int)];
961 char msqid_l_
[PADL_(int)]; int msqid
; char msqid_r_
[PADR_(int)];
962 char msgp_l_
[PADL_(user_addr_t
)]; user_addr_t msgp
; char msgp_r_
[PADR_(user_addr_t
)];
963 char msgsz_l_
[PADL_(user_size_t
)]; user_size_t msgsz
; char msgsz_r_
[PADR_(user_size_t
)];
964 char msgflg_l_
[PADL_(int)]; int msgflg
; char msgflg_r_
[PADR_(int)];
967 char msqid_l_
[PADL_(int)]; int msqid
; char msqid_r_
[PADR_(int)];
968 char msgp_l_
[PADL_(user_addr_t
)]; user_addr_t msgp
; char msgp_r_
[PADR_(user_addr_t
)];
969 char msgsz_l_
[PADL_(user_size_t
)]; user_size_t msgsz
; char msgsz_r_
[PADR_(user_size_t
)];
970 char msgtyp_l_
[PADL_(user_long_t
)]; user_long_t msgtyp
; char msgtyp_r_
[PADR_(user_long_t
)];
971 char msgflg_l_
[PADL_(int)]; int msgflg
; char msgflg_r_
[PADR_(int)];
974 char shmid_l_
[PADL_(int)]; int shmid
; char shmid_r_
[PADR_(int)];
975 char shmaddr_l_
[PADL_(user_addr_t
)]; user_addr_t shmaddr
; char shmaddr_r_
[PADR_(user_addr_t
)];
976 char shmflg_l_
[PADL_(int)]; int shmflg
; char shmflg_r_
[PADR_(int)];
979 char shmid_l_
[PADL_(int)]; int shmid
; char shmid_r_
[PADR_(int)];
980 char cmd_l_
[PADL_(int)]; int cmd
; char cmd_r_
[PADR_(int)];
981 char buf_l_
[PADL_(user_addr_t
)]; user_addr_t buf
; char buf_r_
[PADR_(user_addr_t
)];
984 char shmaddr_l_
[PADL_(user_addr_t
)]; user_addr_t shmaddr
; char shmaddr_r_
[PADR_(user_addr_t
)];
987 char key_l_
[PADL_(key_t
)]; key_t key
; char key_r_
[PADR_(key_t
)];
988 char size_l_
[PADL_(user_size_t
)]; user_size_t size
; char size_r_
[PADR_(user_size_t
)];
989 char shmflg_l_
[PADL_(int)]; int shmflg
; char shmflg_r_
[PADR_(int)];
991 struct shm_open_args
{
992 char name_l_
[PADL_(user_addr_t
)]; user_addr_t name
; char name_r_
[PADR_(user_addr_t
)];
993 char oflag_l_
[PADL_(int)]; int oflag
; char oflag_r_
[PADR_(int)];
994 char mode_l_
[PADL_(int)]; int mode
; char mode_r_
[PADR_(int)];
996 struct shm_unlink_args
{
997 char name_l_
[PADL_(user_addr_t
)]; user_addr_t name
; char name_r_
[PADR_(user_addr_t
)];
999 struct sem_open_args
{
1000 char name_l_
[PADL_(user_addr_t
)]; user_addr_t name
; char name_r_
[PADR_(user_addr_t
)];
1001 char oflag_l_
[PADL_(int)]; int oflag
; char oflag_r_
[PADR_(int)];
1002 char mode_l_
[PADL_(int)]; int mode
; char mode_r_
[PADR_(int)];
1003 char value_l_
[PADL_(int)]; int value
; char value_r_
[PADR_(int)];
1005 struct sem_close_args
{
1006 char sem_l_
[PADL_(user_addr_t
)]; user_addr_t sem
; char sem_r_
[PADR_(user_addr_t
)];
1008 struct sem_unlink_args
{
1009 char name_l_
[PADL_(user_addr_t
)]; user_addr_t name
; char name_r_
[PADR_(user_addr_t
)];
1011 struct sem_wait_args
{
1012 char sem_l_
[PADL_(user_addr_t
)]; user_addr_t sem
; char sem_r_
[PADR_(user_addr_t
)];
1014 struct sem_trywait_args
{
1015 char sem_l_
[PADL_(user_addr_t
)]; user_addr_t sem
; char sem_r_
[PADR_(user_addr_t
)];
1017 struct sem_post_args
{
1018 char sem_l_
[PADL_(user_addr_t
)]; user_addr_t sem
; char sem_r_
[PADR_(user_addr_t
)];
1020 struct sem_getvalue_args
{
1021 char sem_l_
[PADL_(user_addr_t
)]; user_addr_t sem
; char sem_r_
[PADR_(user_addr_t
)];
1022 char sval_l_
[PADL_(user_addr_t
)]; user_addr_t sval
; char sval_r_
[PADR_(user_addr_t
)];
1024 struct sem_init_args
{
1025 char sem_l_
[PADL_(user_addr_t
)]; user_addr_t sem
; char sem_r_
[PADR_(user_addr_t
)];
1026 char phsared_l_
[PADL_(int)]; int phsared
; char phsared_r_
[PADR_(int)];
1027 char value_l_
[PADL_(u_int
)]; u_int value
; char value_r_
[PADR_(u_int
)];
1029 struct sem_destroy_args
{
1030 char sem_l_
[PADL_(user_addr_t
)]; user_addr_t sem
; char sem_r_
[PADR_(user_addr_t
)];
1032 struct open_extended_args
{
1033 char path_l_
[PADL_(user_addr_t
)]; user_addr_t path
; char path_r_
[PADR_(user_addr_t
)];
1034 char flags_l_
[PADL_(int)]; int flags
; char flags_r_
[PADR_(int)];
1035 char uid_l_
[PADL_(uid_t
)]; uid_t uid
; char uid_r_
[PADR_(uid_t
)];
1036 char gid_l_
[PADL_(gid_t
)]; gid_t gid
; char gid_r_
[PADR_(gid_t
)];
1037 char mode_l_
[PADL_(int)]; int mode
; char mode_r_
[PADR_(int)];
1038 char xsecurity_l_
[PADL_(user_addr_t
)]; user_addr_t xsecurity
; char xsecurity_r_
[PADR_(user_addr_t
)];
1040 struct umask_extended_args
{
1041 char newmask_l_
[PADL_(int)]; int newmask
; char newmask_r_
[PADR_(int)];
1042 char xsecurity_l_
[PADL_(user_addr_t
)]; user_addr_t xsecurity
; char xsecurity_r_
[PADR_(user_addr_t
)];
1044 struct stat_extended_args
{
1045 char path_l_
[PADL_(user_addr_t
)]; user_addr_t path
; char path_r_
[PADR_(user_addr_t
)];
1046 char ub_l_
[PADL_(user_addr_t
)]; user_addr_t ub
; char ub_r_
[PADR_(user_addr_t
)];
1047 char xsecurity_l_
[PADL_(user_addr_t
)]; user_addr_t xsecurity
; char xsecurity_r_
[PADR_(user_addr_t
)];
1048 char xsecurity_size_l_
[PADL_(user_addr_t
)]; user_addr_t xsecurity_size
; char xsecurity_size_r_
[PADR_(user_addr_t
)];
1050 struct lstat_extended_args
{
1051 char path_l_
[PADL_(user_addr_t
)]; user_addr_t path
; char path_r_
[PADR_(user_addr_t
)];
1052 char ub_l_
[PADL_(user_addr_t
)]; user_addr_t ub
; char ub_r_
[PADR_(user_addr_t
)];
1053 char xsecurity_l_
[PADL_(user_addr_t
)]; user_addr_t xsecurity
; char xsecurity_r_
[PADR_(user_addr_t
)];
1054 char xsecurity_size_l_
[PADL_(user_addr_t
)]; user_addr_t xsecurity_size
; char xsecurity_size_r_
[PADR_(user_addr_t
)];
1056 struct fstat_extended_args
{
1057 char fd_l_
[PADL_(int)]; int fd
; char fd_r_
[PADR_(int)];
1058 char ub_l_
[PADL_(user_addr_t
)]; user_addr_t ub
; char ub_r_
[PADR_(user_addr_t
)];
1059 char xsecurity_l_
[PADL_(user_addr_t
)]; user_addr_t xsecurity
; char xsecurity_r_
[PADR_(user_addr_t
)];
1060 char xsecurity_size_l_
[PADL_(user_addr_t
)]; user_addr_t xsecurity_size
; char xsecurity_size_r_
[PADR_(user_addr_t
)];
1062 struct chmod_extended_args
{
1063 char path_l_
[PADL_(user_addr_t
)]; user_addr_t path
; char path_r_
[PADR_(user_addr_t
)];
1064 char uid_l_
[PADL_(uid_t
)]; uid_t uid
; char uid_r_
[PADR_(uid_t
)];
1065 char gid_l_
[PADL_(gid_t
)]; gid_t gid
; char gid_r_
[PADR_(gid_t
)];
1066 char mode_l_
[PADL_(int)]; int mode
; char mode_r_
[PADR_(int)];
1067 char xsecurity_l_
[PADL_(user_addr_t
)]; user_addr_t xsecurity
; char xsecurity_r_
[PADR_(user_addr_t
)];
1069 struct fchmod_extended_args
{
1070 char fd_l_
[PADL_(int)]; int fd
; char fd_r_
[PADR_(int)];
1071 char uid_l_
[PADL_(uid_t
)]; uid_t uid
; char uid_r_
[PADR_(uid_t
)];
1072 char gid_l_
[PADL_(gid_t
)]; gid_t gid
; char gid_r_
[PADR_(gid_t
)];
1073 char mode_l_
[PADL_(int)]; int mode
; char mode_r_
[PADR_(int)];
1074 char xsecurity_l_
[PADL_(user_addr_t
)]; user_addr_t xsecurity
; char xsecurity_r_
[PADR_(user_addr_t
)];
1076 struct access_extended_args
{
1077 char entries_l_
[PADL_(user_addr_t
)]; user_addr_t entries
; char entries_r_
[PADR_(user_addr_t
)];
1078 char size_l_
[PADL_(user_size_t
)]; user_size_t size
; char size_r_
[PADR_(user_size_t
)];
1079 char results_l_
[PADL_(user_addr_t
)]; user_addr_t results
; char results_r_
[PADR_(user_addr_t
)];
1080 char uid_l_
[PADL_(uid_t
)]; uid_t uid
; char uid_r_
[PADR_(uid_t
)];
1082 struct settid_args
{
1083 char uid_l_
[PADL_(uid_t
)]; uid_t uid
; char uid_r_
[PADR_(uid_t
)];
1084 char gid_l_
[PADL_(gid_t
)]; gid_t gid
; char gid_r_
[PADR_(gid_t
)];
1086 struct gettid_args
{
1087 char uidp_l_
[PADL_(user_addr_t
)]; user_addr_t uidp
; char uidp_r_
[PADR_(user_addr_t
)];
1088 char gidp_l_
[PADL_(user_addr_t
)]; user_addr_t gidp
; char gidp_r_
[PADR_(user_addr_t
)];
1090 struct setsgroups_args
{
1091 char setlen_l_
[PADL_(int)]; int setlen
; char setlen_r_
[PADR_(int)];
1092 char guidset_l_
[PADL_(user_addr_t
)]; user_addr_t guidset
; char guidset_r_
[PADR_(user_addr_t
)];
1094 struct getsgroups_args
{
1095 char setlen_l_
[PADL_(user_addr_t
)]; user_addr_t setlen
; char setlen_r_
[PADR_(user_addr_t
)];
1096 char guidset_l_
[PADL_(user_addr_t
)]; user_addr_t guidset
; char guidset_r_
[PADR_(user_addr_t
)];
1098 struct setwgroups_args
{
1099 char setlen_l_
[PADL_(int)]; int setlen
; char setlen_r_
[PADR_(int)];
1100 char guidset_l_
[PADL_(user_addr_t
)]; user_addr_t guidset
; char guidset_r_
[PADR_(user_addr_t
)];
1102 struct getwgroups_args
{
1103 char setlen_l_
[PADL_(user_addr_t
)]; user_addr_t setlen
; char setlen_r_
[PADR_(user_addr_t
)];
1104 char guidset_l_
[PADL_(user_addr_t
)]; user_addr_t guidset
; char guidset_r_
[PADR_(user_addr_t
)];
1106 struct mkfifo_extended_args
{
1107 char path_l_
[PADL_(user_addr_t
)]; user_addr_t path
; char path_r_
[PADR_(user_addr_t
)];
1108 char uid_l_
[PADL_(uid_t
)]; uid_t uid
; char uid_r_
[PADR_(uid_t
)];
1109 char gid_l_
[PADL_(gid_t
)]; gid_t gid
; char gid_r_
[PADR_(gid_t
)];
1110 char mode_l_
[PADL_(int)]; int mode
; char mode_r_
[PADR_(int)];
1111 char xsecurity_l_
[PADL_(user_addr_t
)]; user_addr_t xsecurity
; char xsecurity_r_
[PADR_(user_addr_t
)];
1113 struct mkdir_extended_args
{
1114 char path_l_
[PADL_(user_addr_t
)]; user_addr_t path
; char path_r_
[PADR_(user_addr_t
)];
1115 char uid_l_
[PADL_(uid_t
)]; uid_t uid
; char uid_r_
[PADR_(uid_t
)];
1116 char gid_l_
[PADL_(gid_t
)]; gid_t gid
; char gid_r_
[PADR_(gid_t
)];
1117 char mode_l_
[PADL_(int)]; int mode
; char mode_r_
[PADR_(int)];
1118 char xsecurity_l_
[PADL_(user_addr_t
)]; user_addr_t xsecurity
; char xsecurity_r_
[PADR_(user_addr_t
)];
1120 struct identitysvc_args
{
1121 char opcode_l_
[PADL_(int)]; int opcode
; char opcode_r_
[PADR_(int)];
1122 char message_l_
[PADL_(user_addr_t
)]; user_addr_t message
; char message_r_
[PADR_(user_addr_t
)];
1124 struct load_shared_file_args
{
1125 char filename_l_
[PADL_(char *)]; char * filename
; char filename_r_
[PADR_(char *)];
1126 char mfa_l_
[PADL_(caddr_t
)]; caddr_t mfa
; char mfa_r_
[PADR_(caddr_t
)];
1127 char mfs_l_
[PADL_(u_long
)]; u_long mfs
; char mfs_r_
[PADR_(u_long
)];
1128 char ba_l_
[PADL_(caddr_t
*)]; caddr_t
* ba
; char ba_r_
[PADR_(caddr_t
*)];
1129 char map_cnt_l_
[PADL_(int)]; int map_cnt
; char map_cnt_r_
[PADR_(int)];
1130 char mappings_l_
[PADL_(sf_mapping_t
*)]; sf_mapping_t
* mappings
; char mappings_r_
[PADR_(sf_mapping_t
*)];
1131 char flags_l_
[PADL_(int *)]; int * flags
; char flags_r_
[PADR_(int *)];
1133 struct reset_shared_file_args
{
1134 char ba_l_
[PADL_(caddr_t
*)]; caddr_t
* ba
; char ba_r_
[PADR_(caddr_t
*)];
1135 char map_cnt_l_
[PADL_(int)]; int map_cnt
; char map_cnt_r_
[PADR_(int)];
1136 char mappings_l_
[PADL_(sf_mapping_t
*)]; sf_mapping_t
* mappings
; char mappings_r_
[PADR_(sf_mapping_t
*)];
1138 struct new_system_shared_regions_args
{
1141 struct shared_region_map_file_np_args
{
1142 char fd_l_
[PADL_(int)]; int fd
; char fd_r_
[PADR_(int)];
1143 char mappingCount_l_
[PADL_(uint32_t)]; uint32_t mappingCount
; char mappingCount_r_
[PADR_(uint32_t)];
1144 char mappings_l_
[PADL_(user_addr_t
)]; user_addr_t mappings
; char mappings_r_
[PADR_(user_addr_t
)];
1145 char slide_p_l_
[PADL_(user_addr_t
)]; user_addr_t slide_p
; char slide_p_r_
[PADR_(user_addr_t
)];
1147 struct shared_region_make_private_np_args
{
1148 char rangeCount_l_
[PADL_(uint32_t)]; uint32_t rangeCount
; char rangeCount_r_
[PADR_(uint32_t)];
1149 char ranges_l_
[PADL_(user_addr_t
)]; user_addr_t ranges
; char ranges_r_
[PADR_(user_addr_t
)];
1151 struct getsid_args
{
1152 char pid_l_
[PADL_(pid_t
)]; pid_t pid
; char pid_r_
[PADR_(pid_t
)];
1154 struct settid_with_pid_args
{
1155 char pid_l_
[PADL_(pid_t
)]; pid_t pid
; char pid_r_
[PADR_(pid_t
)];
1156 char assume_l_
[PADL_(int)]; int assume
; char assume_r_
[PADR_(int)];
1158 struct aio_fsync_args
{
1159 char op_l_
[PADL_(int)]; int op
; char op_r_
[PADR_(int)];
1160 char aiocbp_l_
[PADL_(user_addr_t
)]; user_addr_t aiocbp
; char aiocbp_r_
[PADR_(user_addr_t
)];
1162 struct aio_return_args
{
1163 char aiocbp_l_
[PADL_(user_addr_t
)]; user_addr_t aiocbp
; char aiocbp_r_
[PADR_(user_addr_t
)];
1165 struct aio_suspend_args
{
1166 char aiocblist_l_
[PADL_(user_addr_t
)]; user_addr_t aiocblist
; char aiocblist_r_
[PADR_(user_addr_t
)];
1167 char nent_l_
[PADL_(int)]; int nent
; char nent_r_
[PADR_(int)];
1168 char timeoutp_l_
[PADL_(user_addr_t
)]; user_addr_t timeoutp
; char timeoutp_r_
[PADR_(user_addr_t
)];
1170 struct aio_cancel_args
{
1171 char fd_l_
[PADL_(int)]; int fd
; char fd_r_
[PADR_(int)];
1172 char aiocbp_l_
[PADL_(user_addr_t
)]; user_addr_t aiocbp
; char aiocbp_r_
[PADR_(user_addr_t
)];
1174 struct aio_error_args
{
1175 char aiocbp_l_
[PADL_(user_addr_t
)]; user_addr_t aiocbp
; char aiocbp_r_
[PADR_(user_addr_t
)];
1177 struct aio_read_args
{
1178 char aiocbp_l_
[PADL_(user_addr_t
)]; user_addr_t aiocbp
; char aiocbp_r_
[PADR_(user_addr_t
)];
1180 struct aio_write_args
{
1181 char aiocbp_l_
[PADL_(user_addr_t
)]; user_addr_t aiocbp
; char aiocbp_r_
[PADR_(user_addr_t
)];
1183 struct lio_listio_args
{
1184 char mode_l_
[PADL_(int)]; int mode
; char mode_r_
[PADR_(int)];
1185 char aiocblist_l_
[PADL_(user_addr_t
)]; user_addr_t aiocblist
; char aiocblist_r_
[PADR_(user_addr_t
)];
1186 char nent_l_
[PADL_(int)]; int nent
; char nent_r_
[PADR_(int)];
1187 char sigp_l_
[PADL_(user_addr_t
)]; user_addr_t sigp
; char sigp_r_
[PADR_(user_addr_t
)];
1189 struct mlockall_args
{
1190 char how_l_
[PADL_(int)]; int how
; char how_r_
[PADR_(int)];
1192 struct munlockall_args
{
1193 char how_l_
[PADL_(int)]; int how
; char how_r_
[PADR_(int)];
1195 struct issetugid_args
{
1198 struct __pthread_kill_args
{
1199 char thread_port_l_
[PADL_(int)]; int thread_port
; char thread_port_r_
[PADR_(int)];
1200 char sig_l_
[PADL_(int)]; int sig
; char sig_r_
[PADR_(int)];
1202 struct pthread_sigmask_args
{
1203 char how_l_
[PADL_(int)]; int how
; char how_r_
[PADR_(int)];
1204 char set_l_
[PADL_(user_addr_t
)]; user_addr_t set
; char set_r_
[PADR_(user_addr_t
)];
1205 char oset_l_
[PADL_(user_addr_t
)]; user_addr_t oset
; char oset_r_
[PADR_(user_addr_t
)];
1207 struct sigwait_args
{
1208 char set_l_
[PADL_(user_addr_t
)]; user_addr_t set
; char set_r_
[PADR_(user_addr_t
)];
1209 char sig_l_
[PADL_(user_addr_t
)]; user_addr_t sig
; char sig_r_
[PADR_(user_addr_t
)];
1211 struct __disable_threadsignal_args
{
1212 char value_l_
[PADL_(int)]; int value
; char value_r_
[PADR_(int)];
1214 struct __pthread_markcancel_args
{
1215 char thread_port_l_
[PADL_(int)]; int thread_port
; char thread_port_r_
[PADR_(int)];
1217 struct __pthread_canceled_args
{
1218 char action_l_
[PADL_(int)]; int action
; char action_r_
[PADR_(int)];
1220 struct __semwait_signal_args
{
1221 char cond_sem_l_
[PADL_(int)]; int cond_sem
; char cond_sem_r_
[PADR_(int)];
1222 char mutex_sem_l_
[PADL_(int)]; int mutex_sem
; char mutex_sem_r_
[PADR_(int)];
1223 char timeout_l_
[PADL_(int)]; int timeout
; char timeout_r_
[PADR_(int)];
1224 char relative_l_
[PADL_(int)]; int relative
; char relative_r_
[PADR_(int)];
1225 char tv_sec_l_
[PADL_(time_t)]; time_t tv_sec
; char tv_sec_r_
[PADR_(time_t)];
1226 char tv_nsec_l_
[PADL_(int32_t)]; int32_t tv_nsec
; char tv_nsec_r_
[PADR_(int32_t)];
1228 struct utrace_args
{
1229 char addr_l_
[PADL_(user_addr_t
)]; user_addr_t addr
; char addr_r_
[PADR_(user_addr_t
)];
1230 char len_l_
[PADL_(user_size_t
)]; user_size_t len
; char len_r_
[PADR_(user_size_t
)];
1232 struct proc_info_args
{
1233 char callnum_l_
[PADL_(int32_t)]; int32_t callnum
; char callnum_r_
[PADR_(int32_t)];
1234 char pid_l_
[PADL_(int32_t)]; int32_t pid
; char pid_r_
[PADR_(int32_t)];
1235 char flavor_l_
[PADL_(uint32_t)]; uint32_t flavor
; char flavor_r_
[PADR_(uint32_t)];
1236 char arg_l_
[PADL_(uint64_t)]; uint64_t arg
; char arg_r_
[PADR_(uint64_t)];
1237 char buffer_l_
[PADL_(user_addr_t
)]; user_addr_t buffer
; char buffer_r_
[PADR_(user_addr_t
)];
1238 char buffersize_l_
[PADL_(int32_t)]; int32_t buffersize
; char buffersize_r_
[PADR_(int32_t)];
1241 char record_l_
[PADL_(user_addr_t
)]; user_addr_t record
; char record_r_
[PADR_(user_addr_t
)];
1242 char length_l_
[PADL_(int)]; int length
; char length_r_
[PADR_(int)];
1244 struct auditon_args
{
1245 char cmd_l_
[PADL_(int)]; int cmd
; char cmd_r_
[PADR_(int)];
1246 char data_l_
[PADL_(user_addr_t
)]; user_addr_t data
; char data_r_
[PADR_(user_addr_t
)];
1247 char length_l_
[PADL_(int)]; int length
; char length_r_
[PADR_(int)];
1249 struct getauid_args
{
1250 char auid_l_
[PADL_(user_addr_t
)]; user_addr_t auid
; char auid_r_
[PADR_(user_addr_t
)];
1252 struct setauid_args
{
1253 char auid_l_
[PADL_(user_addr_t
)]; user_addr_t auid
; char auid_r_
[PADR_(user_addr_t
)];
1255 struct getaudit_args
{
1256 char auditinfo_l_
[PADL_(user_addr_t
)]; user_addr_t auditinfo
; char auditinfo_r_
[PADR_(user_addr_t
)];
1258 struct setaudit_args
{
1259 char auditinfo_l_
[PADL_(user_addr_t
)]; user_addr_t auditinfo
; char auditinfo_r_
[PADR_(user_addr_t
)];
1261 struct getaudit_addr_args
{
1262 char auditinfo_addr_l_
[PADL_(user_addr_t
)]; user_addr_t auditinfo_addr
; char auditinfo_addr_r_
[PADR_(user_addr_t
)];
1263 char length_l_
[PADL_(int)]; int length
; char length_r_
[PADR_(int)];
1265 struct setaudit_addr_args
{
1266 char auditinfo_addr_l_
[PADL_(user_addr_t
)]; user_addr_t auditinfo_addr
; char auditinfo_addr_r_
[PADR_(user_addr_t
)];
1267 char length_l_
[PADL_(int)]; int length
; char length_r_
[PADR_(int)];
1269 struct auditctl_args
{
1270 char path_l_
[PADL_(user_addr_t
)]; user_addr_t path
; char path_r_
[PADR_(user_addr_t
)];
1272 struct kqueue_args
{
1275 struct kevent_args
{
1276 char fd_l_
[PADL_(int)]; int fd
; char fd_r_
[PADR_(int)];
1277 char changelist_l_
[PADL_(user_addr_t
)]; user_addr_t changelist
; char changelist_r_
[PADR_(user_addr_t
)];
1278 char nchanges_l_
[PADL_(int)]; int nchanges
; char nchanges_r_
[PADR_(int)];
1279 char eventlist_l_
[PADL_(user_addr_t
)]; user_addr_t eventlist
; char eventlist_r_
[PADR_(user_addr_t
)];
1280 char nevents_l_
[PADL_(int)]; int nevents
; char nevents_r_
[PADR_(int)];
1281 char timeout_l_
[PADL_(user_addr_t
)]; user_addr_t timeout
; char timeout_r_
[PADR_(user_addr_t
)];
1283 struct lchown_args
{
1284 char path_l_
[PADL_(user_addr_t
)]; user_addr_t path
; char path_r_
[PADR_(user_addr_t
)];
1285 char owner_l_
[PADL_(uid_t
)]; uid_t owner
; char owner_r_
[PADR_(uid_t
)];
1286 char group_l_
[PADL_(gid_t
)]; gid_t group
; char group_r_
[PADR_(gid_t
)];
1288 struct stack_snapshot_args
{
1289 char pid_l_
[PADL_(pid_t
)]; pid_t pid
; char pid_r_
[PADR_(pid_t
)];
1290 char tracebuf_l_
[PADL_(user_addr_t
)]; user_addr_t tracebuf
; char tracebuf_r_
[PADR_(user_addr_t
)];
1291 char tracebuf_size_l_
[PADL_(uint32_t)]; uint32_t tracebuf_size
; char tracebuf_size_r_
[PADR_(uint32_t)];
1292 char options_l_
[PADL_(uint32_t)]; uint32_t options
; char options_r_
[PADR_(uint32_t)];
1294 int nosys(struct proc
*, struct nosys_args
*, int *);
1295 void exit(struct proc
*, struct exit_args
*, int *);
1296 int fork(struct proc
*, struct fork_args
*, int *);
1297 int read(struct proc
*, struct read_args
*, user_ssize_t
*);
1298 int write(struct proc
*, struct write_args
*, user_ssize_t
*);
1299 int open(struct proc
*, struct open_args
*, int *);
1300 int close(struct proc
*, struct close_args
*, int *);
1301 int wait4(struct proc
*, struct wait4_args
*, int *);
1302 int link(struct proc
*, struct link_args
*, int *);
1303 int unlink(struct proc
*, struct unlink_args
*, int *);
1304 int chdir(struct proc
*, struct chdir_args
*, int *);
1305 int fchdir(struct proc
*, struct fchdir_args
*, int *);
1306 int mknod(struct proc
*, struct mknod_args
*, int *);
1307 int chmod(struct proc
*, struct chmod_args
*, int *);
1308 int chown(struct proc
*, struct chown_args
*, int *);
1309 int obreak(struct proc
*, struct obreak_args
*, int *);
1310 #if COMPAT_GETFSSTAT
1311 int ogetfsstat(struct proc
*, struct ogetfsstat_args
*, int *);
1313 int getfsstat(struct proc
*, struct getfsstat_args
*, int *);
1315 int getpid(struct proc
*, struct getpid_args
*, int *);
1316 int setuid(struct proc
*, struct setuid_args
*, int *);
1317 int getuid(struct proc
*, struct getuid_args
*, int *);
1318 int geteuid(struct proc
*, struct geteuid_args
*, int *);
1319 int ptrace(struct proc
*, struct ptrace_args
*, int *);
1320 int recvmsg(struct proc
*, struct recvmsg_args
*, int *);
1321 int sendmsg(struct proc
*, struct sendmsg_args
*, int *);
1322 int recvfrom(struct proc
*, struct recvfrom_args
*, int *);
1323 int accept(struct proc
*, struct accept_args
*, int *);
1324 int getpeername(struct proc
*, struct getpeername_args
*, int *);
1325 int getsockname(struct proc
*, struct getsockname_args
*, int *);
1326 int access(struct proc
*, struct access_args
*, int *);
1327 int chflags(struct proc
*, struct chflags_args
*, int *);
1328 int fchflags(struct proc
*, struct fchflags_args
*, int *);
1329 int sync(struct proc
*, struct sync_args
*, int *);
1330 int kill(struct proc
*, struct kill_args
*, int *);
1331 int getppid(struct proc
*, struct getppid_args
*, int *);
1332 int dup(struct proc
*, struct dup_args
*, int *);
1333 int pipe(struct proc
*, struct pipe_args
*, int *);
1334 int getegid(struct proc
*, struct getegid_args
*, int *);
1335 int profil(struct proc
*, struct profil_args
*, int *);
1336 int ktrace(struct proc
*, struct ktrace_args
*, int *);
1337 int sigaction(struct proc
*, struct sigaction_args
*, int *);
1338 int getgid(struct proc
*, struct getgid_args
*, int *);
1339 int sigprocmask(struct proc
*, struct sigprocmask_args
*, int *);
1340 int getlogin(struct proc
*, struct getlogin_args
*, int *);
1341 int setlogin(struct proc
*, struct setlogin_args
*, int *);
1342 int acct(struct proc
*, struct acct_args
*, int *);
1343 int sigpending(struct proc
*, struct sigpending_args
*, int *);
1344 int sigaltstack(struct proc
*, struct sigaltstack_args
*, int *);
1345 int ioctl(struct proc
*, struct ioctl_args
*, int *);
1346 int reboot(struct proc
*, struct reboot_args
*, int *);
1347 int revoke(struct proc
*, struct revoke_args
*, int *);
1348 int symlink(struct proc
*, struct symlink_args
*, int *);
1349 int readlink(struct proc
*, struct readlink_args
*, int *);
1350 int execve(struct proc
*, struct execve_args
*, int *);
1351 int umask(struct proc
*, struct umask_args
*, int *);
1352 int chroot(struct proc
*, struct chroot_args
*, int *);
1353 int msync(struct proc
*, struct msync_args
*, int *);
1354 int vfork(struct proc
*, struct vfork_args
*, int *);
1355 int sbrk(struct proc
*, struct sbrk_args
*, int *);
1356 int sstk(struct proc
*, struct sstk_args
*, int *);
1357 int ovadvise(struct proc
*, struct ovadvise_args
*, int *);
1358 int munmap(struct proc
*, struct munmap_args
*, int *);
1359 int mprotect(struct proc
*, struct mprotect_args
*, int *);
1360 int madvise(struct proc
*, struct madvise_args
*, int *);
1361 int mincore(struct proc
*, struct mincore_args
*, int *);
1362 int getgroups(struct proc
*, struct getgroups_args
*, int *);
1363 int setgroups(struct proc
*, struct setgroups_args
*, int *);
1364 int getpgrp(struct proc
*, struct getpgrp_args
*, int *);
1365 int setpgid(struct proc
*, struct setpgid_args
*, int *);
1366 int setitimer(struct proc
*, struct setitimer_args
*, int *);
1367 int swapon(struct proc
*, struct swapon_args
*, int *);
1368 int getitimer(struct proc
*, struct getitimer_args
*, int *);
1369 int getdtablesize(struct proc
*, struct getdtablesize_args
*, int *);
1370 int dup2(struct proc
*, struct dup2_args
*, int *);
1371 int fcntl(struct proc
*, struct fcntl_args
*, int *);
1372 int select(struct proc
*, struct select_args
*, int *);
1373 int fsync(struct proc
*, struct fsync_args
*, int *);
1374 int setpriority(struct proc
*, struct setpriority_args
*, int *);
1375 int socket(struct proc
*, struct socket_args
*, int *);
1376 int connect(struct proc
*, struct connect_args
*, int *);
1377 int getpriority(struct proc
*, struct getpriority_args
*, int *);
1378 int bind(struct proc
*, struct bind_args
*, int *);
1379 int setsockopt(struct proc
*, struct setsockopt_args
*, int *);
1380 int listen(struct proc
*, struct listen_args
*, int *);
1381 int sigsuspend(struct proc
*, struct sigsuspend_args
*, int *);
1382 int gettimeofday(struct proc
*, struct gettimeofday_args
*, int *);
1383 int getrusage(struct proc
*, struct getrusage_args
*, int *);
1384 int getsockopt(struct proc
*, struct getsockopt_args
*, int *);
1385 int readv(struct proc
*, struct readv_args
*, user_ssize_t
*);
1386 int writev(struct proc
*, struct writev_args
*, user_ssize_t
*);
1387 int settimeofday(struct proc
*, struct settimeofday_args
*, int *);
1388 int fchown(struct proc
*, struct fchown_args
*, int *);
1389 int fchmod(struct proc
*, struct fchmod_args
*, int *);
1390 int rename(struct proc
*, struct rename_args
*, int *);
1391 int flock(struct proc
*, struct flock_args
*, int *);
1392 int mkfifo(struct proc
*, struct mkfifo_args
*, int *);
1393 int sendto(struct proc
*, struct sendto_args
*, int *);
1394 int shutdown(struct proc
*, struct shutdown_args
*, int *);
1395 int socketpair(struct proc
*, struct socketpair_args
*, int *);
1396 int mkdir(struct proc
*, struct mkdir_args
*, int *);
1397 int rmdir(struct proc
*, struct rmdir_args
*, int *);
1398 int utimes(struct proc
*, struct utimes_args
*, int *);
1399 int futimes(struct proc
*, struct futimes_args
*, int *);
1400 int adjtime(struct proc
*, struct adjtime_args
*, int *);
1401 int setsid(struct proc
*, struct setsid_args
*, int *);
1402 int getpgid(struct proc
*, struct getpgid_args
*, int *);
1403 int setprivexec(struct proc
*, struct setprivexec_args
*, int *);
1404 int pread(struct proc
*, struct pread_args
*, user_ssize_t
*);
1405 int pwrite(struct proc
*, struct pwrite_args
*, user_ssize_t
*);
1407 int nfssvc(struct proc
*, struct nfssvc_args
*, int *);
1410 int statfs(struct proc
*, struct statfs_args
*, int *);
1411 int fstatfs(struct proc
*, struct fstatfs_args
*, int *);
1412 int unmount(struct proc
*, struct unmount_args
*, int *);
1414 int getfh(struct proc
*, struct getfh_args
*, int *);
1417 int quotactl(struct proc
*, struct quotactl_args
*, int *);
1418 int mount(struct proc
*, struct mount_args
*, int *);
1419 int waitid(struct proc
*, struct waitid_args
*, int *);
1420 int add_profil(struct proc
*, struct add_profil_args
*, int *);
1421 int kdebug_trace(struct proc
*, struct kdebug_trace_args
*, int *);
1422 int setgid(struct proc
*, struct setgid_args
*, int *);
1423 int setegid(struct proc
*, struct setegid_args
*, int *);
1424 int seteuid(struct proc
*, struct seteuid_args
*, int *);
1425 int sigreturn(struct proc
*, struct sigreturn_args
*, int *);
1426 int chud(struct proc
*, struct chud_args
*, int *);
1427 int stat(struct proc
*, struct stat_args
*, int *);
1428 int fstat(struct proc
*, struct fstat_args
*, int *);
1429 int lstat(struct proc
*, struct lstat_args
*, int *);
1430 int pathconf(struct proc
*, struct pathconf_args
*, int *);
1431 int fpathconf(struct proc
*, struct fpathconf_args
*, int *);
1432 #if COMPAT_GETFSSTAT
1433 int getfsstat(struct proc
*, struct getfsstat_args
*, int *);
1436 int getrlimit(struct proc
*, struct getrlimit_args
*, int *);
1437 int setrlimit(struct proc
*, struct setrlimit_args
*, int *);
1438 int getdirentries(struct proc
*, struct getdirentries_args
*, int *);
1439 int mmap(struct proc
*, struct mmap_args
*, user_addr_t
*);
1440 int lseek(struct proc
*, struct lseek_args
*, off_t
*);
1441 int truncate(struct proc
*, struct truncate_args
*, int *);
1442 int ftruncate(struct proc
*, struct ftruncate_args
*, int *);
1443 int __sysctl(struct proc
*, struct __sysctl_args
*, int *);
1444 int mlock(struct proc
*, struct mlock_args
*, int *);
1445 int munlock(struct proc
*, struct munlock_args
*, int *);
1446 int undelete(struct proc
*, struct undelete_args
*, int *);
1447 int ATsocket(struct proc
*, struct ATsocket_args
*, int *);
1448 int ATgetmsg(struct proc
*, struct ATgetmsg_args
*, int *);
1449 int ATputmsg(struct proc
*, struct ATputmsg_args
*, int *);
1450 int ATPsndreq(struct proc
*, struct ATPsndreq_args
*, int *);
1451 int ATPsndrsp(struct proc
*, struct ATPsndrsp_args
*, int *);
1452 int ATPgetreq(struct proc
*, struct ATPgetreq_args
*, int *);
1453 int ATPgetrsp(struct proc
*, struct ATPgetrsp_args
*, int *);
1454 int kqueue_from_portset_np(struct proc
*, struct kqueue_from_portset_np_args
*, int *);
1455 int kqueue_portset_np(struct proc
*, struct kqueue_portset_np_args
*, int *);
1456 int getattrlist(struct proc
*, struct getattrlist_args
*, int *);
1457 int setattrlist(struct proc
*, struct setattrlist_args
*, int *);
1458 int getdirentriesattr(struct proc
*, struct getdirentriesattr_args
*, int *);
1459 int exchangedata(struct proc
*, struct exchangedata_args
*, int *);
1460 #ifdef __APPLE_API_OBSOLETE
1461 int checkuseraccess(struct proc
*, struct checkuseraccess_args
*, int *);
1463 #endif /* __APPLE_API_OBSOLETE */
1464 int searchfs(struct proc
*, struct searchfs_args
*, int *);
1465 int delete(struct proc
*, struct delete_args
*, int *);
1466 int copyfile(struct proc
*, struct copyfile_args
*, int *);
1467 int poll(struct proc
*, struct poll_args
*, int *);
1468 int watchevent(struct proc
*, struct watchevent_args
*, int *);
1469 int waitevent(struct proc
*, struct waitevent_args
*, int *);
1470 int modwatch(struct proc
*, struct modwatch_args
*, int *);
1471 int getxattr(struct proc
*, struct getxattr_args
*, user_ssize_t
*);
1472 int fgetxattr(struct proc
*, struct fgetxattr_args
*, user_ssize_t
*);
1473 int setxattr(struct proc
*, struct setxattr_args
*, int *);
1474 int fsetxattr(struct proc
*, struct fsetxattr_args
*, int *);
1475 int removexattr(struct proc
*, struct removexattr_args
*, int *);
1476 int fremovexattr(struct proc
*, struct fremovexattr_args
*, int *);
1477 int listxattr(struct proc
*, struct listxattr_args
*, user_ssize_t
*);
1478 int flistxattr(struct proc
*, struct flistxattr_args
*, user_ssize_t
*);
1479 int fsctl(struct proc
*, struct fsctl_args
*, int *);
1480 int initgroups(struct proc
*, struct initgroups_args
*, int *);
1482 int nfsclnt(struct proc
*, struct nfsclnt_args
*, int *);
1483 int fhopen(struct proc
*, struct fhopen_args
*, int *);
1486 int minherit(struct proc
*, struct minherit_args
*, int *);
1487 int semsys(struct proc
*, struct semsys_args
*, int *);
1488 int msgsys(struct proc
*, struct msgsys_args
*, int *);
1489 int shmsys(struct proc
*, struct shmsys_args
*, int *);
1490 int semctl(struct proc
*, struct semctl_args
*, int *);
1491 int semget(struct proc
*, struct semget_args
*, int *);
1492 int semop(struct proc
*, struct semop_args
*, int *);
1493 int msgctl(struct proc
*, struct msgctl_args
*, int *);
1494 int msgget(struct proc
*, struct msgget_args
*, int *);
1495 int msgsnd(struct proc
*, struct msgsnd_args
*, int *);
1496 int msgrcv(struct proc
*, struct msgrcv_args
*, user_ssize_t
*);
1497 int shmat(struct proc
*, struct shmat_args
*, int *);
1498 int shmctl(struct proc
*, struct shmctl_args
*, int *);
1499 int shmdt(struct proc
*, struct shmdt_args
*, int *);
1500 int shmget(struct proc
*, struct shmget_args
*, int *);
1501 int shm_open(struct proc
*, struct shm_open_args
*, int *);
1502 int shm_unlink(struct proc
*, struct shm_unlink_args
*, int *);
1503 int sem_open(struct proc
*, struct sem_open_args
*, user_addr_t
*);
1504 int sem_close(struct proc
*, struct sem_close_args
*, int *);
1505 int sem_unlink(struct proc
*, struct sem_unlink_args
*, int *);
1506 int sem_wait(struct proc
*, struct sem_wait_args
*, int *);
1507 int sem_trywait(struct proc
*, struct sem_trywait_args
*, int *);
1508 int sem_post(struct proc
*, struct sem_post_args
*, int *);
1509 int sem_getvalue(struct proc
*, struct sem_getvalue_args
*, int *);
1510 int sem_init(struct proc
*, struct sem_init_args
*, int *);
1511 int sem_destroy(struct proc
*, struct sem_destroy_args
*, int *);
1512 int open_extended(struct proc
*, struct open_extended_args
*, int *);
1513 int umask_extended(struct proc
*, struct umask_extended_args
*, int *);
1514 int stat_extended(struct proc
*, struct stat_extended_args
*, int *);
1515 int lstat_extended(struct proc
*, struct lstat_extended_args
*, int *);
1516 int fstat_extended(struct proc
*, struct fstat_extended_args
*, int *);
1517 int chmod_extended(struct proc
*, struct chmod_extended_args
*, int *);
1518 int fchmod_extended(struct proc
*, struct fchmod_extended_args
*, int *);
1519 int access_extended(struct proc
*, struct access_extended_args
*, int *);
1520 int settid(struct proc
*, struct settid_args
*, int *);
1521 int gettid(struct proc
*, struct gettid_args
*, int *);
1522 int setsgroups(struct proc
*, struct setsgroups_args
*, int *);
1523 int getsgroups(struct proc
*, struct getsgroups_args
*, int *);
1524 int setwgroups(struct proc
*, struct setwgroups_args
*, int *);
1525 int getwgroups(struct proc
*, struct getwgroups_args
*, int *);
1526 int mkfifo_extended(struct proc
*, struct mkfifo_extended_args
*, int *);
1527 int mkdir_extended(struct proc
*, struct mkdir_extended_args
*, int *);
1528 int identitysvc(struct proc
*, struct identitysvc_args
*, int *);
1529 int load_shared_file(struct proc
*, struct load_shared_file_args
*, int *);
1530 int reset_shared_file(struct proc
*, struct reset_shared_file_args
*, int *);
1531 int new_system_shared_regions(struct proc
*, struct new_system_shared_regions_args
*, int *);
1532 int shared_region_map_file_np(struct proc
*, struct shared_region_map_file_np_args
*, int *);
1533 int shared_region_make_private_np(struct proc
*, struct shared_region_make_private_np_args
*, int *);
1534 int getsid(struct proc
*, struct getsid_args
*, int *);
1535 int settid_with_pid(struct proc
*, struct settid_with_pid_args
*, int *);
1536 int aio_fsync(struct proc
*, struct aio_fsync_args
*, int *);
1537 int aio_return(struct proc
*, struct aio_return_args
*, user_ssize_t
*);
1538 int aio_suspend(struct proc
*, struct aio_suspend_args
*, int *);
1539 int aio_cancel(struct proc
*, struct aio_cancel_args
*, int *);
1540 int aio_error(struct proc
*, struct aio_error_args
*, int *);
1541 int aio_read(struct proc
*, struct aio_read_args
*, int *);
1542 int aio_write(struct proc
*, struct aio_write_args
*, int *);
1543 int lio_listio(struct proc
*, struct lio_listio_args
*, int *);
1544 int mlockall(struct proc
*, struct mlockall_args
*, int *);
1545 int munlockall(struct proc
*, struct munlockall_args
*, int *);
1546 int issetugid(struct proc
*, struct issetugid_args
*, int *);
1547 int __pthread_kill(struct proc
*, struct __pthread_kill_args
*, int *);
1548 int pthread_sigmask(struct proc
*, struct pthread_sigmask_args
*, int *);
1549 int sigwait(struct proc
*, struct sigwait_args
*, int *);
1550 int __disable_threadsignal(struct proc
*, struct __disable_threadsignal_args
*, int *);
1551 int __pthread_markcancel(struct proc
*, struct __pthread_markcancel_args
*, int *);
1552 int __pthread_canceled(struct proc
*, struct __pthread_canceled_args
*, int *);
1553 int __semwait_signal(struct proc
*, struct __semwait_signal_args
*, int *);
1554 int utrace(struct proc
*, struct utrace_args
*, int *);
1555 int proc_info(struct proc
*, struct proc_info_args
*, int *);
1556 int audit(struct proc
*, struct audit_args
*, int *);
1557 int auditon(struct proc
*, struct auditon_args
*, int *);
1558 int getauid(struct proc
*, struct getauid_args
*, int *);
1559 int setauid(struct proc
*, struct setauid_args
*, int *);
1560 int getaudit(struct proc
*, struct getaudit_args
*, int *);
1561 int setaudit(struct proc
*, struct setaudit_args
*, int *);
1562 int getaudit_addr(struct proc
*, struct getaudit_addr_args
*, int *);
1563 int setaudit_addr(struct proc
*, struct setaudit_addr_args
*, int *);
1564 int auditctl(struct proc
*, struct auditctl_args
*, int *);
1565 int kqueue(struct proc
*, struct kqueue_args
*, int *);
1566 int kevent(struct proc
*, struct kevent_args
*, int *);
1567 int lchown(struct proc
*, struct lchown_args
*, int *);
1568 int stack_snapshot(struct proc
*, struct stack_snapshot_args
*, int *);
1575 #endif /* __APPLE_API_PRIVATE */
1578 #endif /* !_SYS_SYSPROTO_H_ */