1 | /* |
2 | * Copyright (c) 2004-2008 Apple Inc. All rights reserved. |
3 | * |
4 | * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ |
5 | * |
6 | * This file contains Original Code and/or Modifications of Original Code |
7 | * as defined in and that are subject to the Apple Public Source License |
8 | * Version 2.0 (the 'License'). You may not use this file except in |
9 | * compliance with the License. The rights granted to you under the License |
10 | * may not be used to create, or enable the creation or redistribution of, |
11 | * unlawful or unlicensed copies of an Apple operating system, or to |
12 | * circumvent, violate, or enable the circumvention or violation of, any |
13 | * terms of an Apple operating system software license agreement. |
14 | * |
15 | * Please obtain a copy of the License at |
16 | * http://www.opensource.apple.com/apsl/ and read it before using this file. |
17 | * |
18 | * The Original Code and all software distributed under the License are |
19 | * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER |
20 | * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, |
21 | * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, |
22 | * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. |
23 | * Please see the License for the specific language governing rights and |
24 | * limitations under the License. |
25 | * |
26 | * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ |
27 | * |
28 | * |
29 | * System call switch table. |
30 | * |
31 | * DO NOT EDIT-- this file is automatically generated. |
32 | * created from /bsd.syscalls.master |
33 | */ |
34 | |
35 | #ifndef _SYS_SYSPROTO_H_ |
36 | #define _SYS_SYSPROTO_H_ |
37 | |
38 | #include <sys/appleapiopts.h> |
39 | #include <sys/cdefs.h> |
40 | #include <sys/mount_internal.h> |
41 | #include <sys/types.h> |
42 | #include <sys/sem_internal.h> |
43 | #include <sys/semaphore.h> |
44 | #include <sys/wait.h> |
45 | #include <mach/shared_region.h> |
46 | |
47 | #ifdef KERNEL |
48 | #ifdef __APPLE_API_PRIVATE |
49 | /* |
50 | * The kernel may support multiple userspace ABIs, and must use |
51 | * argument structures with elements large enough for any of them. |
52 | */ |
53 | |
54 | #if CONFIG_REQUIRES_U32_MUNGING |
55 | #define PAD_(t) (sizeof(uint64_t) <= sizeof(t) \ |
56 | ? 0 : sizeof(uint64_t) - sizeof(t)) |
57 | #else |
58 | #define PAD_(t) (sizeof(uint32_t) <= sizeof(t) \ |
59 | ? 0 : sizeof(uint32_t) - sizeof(t)) |
60 | #endif |
61 | #if BYTE_ORDER == LITTLE_ENDIAN |
62 | #define PADL_(t) 0 |
63 | #define PADR_(t) PAD_(t) |
64 | #else |
65 | #define PADL_(t) PAD_(t) |
66 | #define PADR_(t) 0 |
67 | #endif |
68 | |
69 | __BEGIN_DECLS |
70 | #include <sys/munge.h> |
71 | |
72 | struct nosys_args { |
73 | int32_t dummy; |
74 | }; |
75 | struct exit_args { |
76 | char rval_l_[PADL_(int)]; int rval; char rval_r_[PADR_(int)]; |
77 | }; |
78 | struct fork_args { |
79 | int32_t dummy; |
80 | }; |
81 | struct read_args { |
82 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
83 | char cbuf_l_[PADL_(user_addr_t)]; user_addr_t cbuf; char cbuf_r_[PADR_(user_addr_t)]; |
84 | char nbyte_l_[PADL_(user_size_t)]; user_size_t nbyte; char nbyte_r_[PADR_(user_size_t)]; |
85 | }; |
86 | struct write_args { |
87 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
88 | char cbuf_l_[PADL_(user_addr_t)]; user_addr_t cbuf; char cbuf_r_[PADR_(user_addr_t)]; |
89 | char nbyte_l_[PADL_(user_size_t)]; user_size_t nbyte; char nbyte_r_[PADR_(user_size_t)]; |
90 | }; |
91 | struct open_args { |
92 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
93 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
94 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; |
95 | }; |
96 | struct close_args { |
97 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
98 | }; |
99 | struct wait4_args { |
100 | char pid_l_[PADL_(int)]; int pid; char pid_r_[PADR_(int)]; |
101 | char status_l_[PADL_(user_addr_t)]; user_addr_t status; char status_r_[PADR_(user_addr_t)]; |
102 | char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)]; |
103 | char rusage_l_[PADL_(user_addr_t)]; user_addr_t rusage; char rusage_r_[PADR_(user_addr_t)]; |
104 | }; |
105 | struct link_args { |
106 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
107 | char link_l_[PADL_(user_addr_t)]; user_addr_t link; char link_r_[PADR_(user_addr_t)]; |
108 | }; |
109 | struct unlink_args { |
110 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
111 | }; |
112 | struct chdir_args { |
113 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
114 | }; |
115 | struct fchdir_args { |
116 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
117 | }; |
118 | struct mknod_args { |
119 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
120 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; |
121 | char dev_l_[PADL_(int)]; int dev; char dev_r_[PADR_(int)]; |
122 | }; |
123 | struct chmod_args { |
124 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
125 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; |
126 | }; |
127 | struct chown_args { |
128 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
129 | char uid_l_[PADL_(int)]; int uid; char uid_r_[PADR_(int)]; |
130 | char gid_l_[PADL_(int)]; int gid; char gid_r_[PADR_(int)]; |
131 | }; |
132 | struct getfsstat_args { |
133 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; |
134 | char bufsize_l_[PADL_(int)]; int bufsize; char bufsize_r_[PADR_(int)]; |
135 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
136 | }; |
137 | struct getpid_args { |
138 | int32_t dummy; |
139 | }; |
140 | struct setuid_args { |
141 | char uid_l_[PADL_(uid_t)]; uid_t uid; char uid_r_[PADR_(uid_t)]; |
142 | }; |
143 | struct getuid_args { |
144 | int32_t dummy; |
145 | }; |
146 | struct geteuid_args { |
147 | int32_t dummy; |
148 | }; |
149 | struct ptrace_args { |
150 | char req_l_[PADL_(int)]; int req; char req_r_[PADR_(int)]; |
151 | char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)]; |
152 | char addr_l_[PADL_(user_addr_t)]; user_addr_t addr; char addr_r_[PADR_(user_addr_t)]; |
153 | char data_l_[PADL_(int)]; int data; char data_r_[PADR_(int)]; |
154 | }; |
155 | #if SOCKETS |
156 | struct recvmsg_args { |
157 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; |
158 | char msg_l_[PADL_(user_addr_t)]; user_addr_t msg; char msg_r_[PADR_(user_addr_t)]; |
159 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
160 | }; |
161 | struct sendmsg_args { |
162 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; |
163 | char msg_l_[PADL_(user_addr_t)]; user_addr_t msg; char msg_r_[PADR_(user_addr_t)]; |
164 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
165 | }; |
166 | struct recvfrom_args { |
167 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; |
168 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; |
169 | char len_l_[PADL_(user_size_t)]; user_size_t len; char len_r_[PADR_(user_size_t)]; |
170 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
171 | char from_l_[PADL_(user_addr_t)]; user_addr_t from; char from_r_[PADR_(user_addr_t)]; |
172 | char fromlenaddr_l_[PADL_(user_addr_t)]; user_addr_t fromlenaddr; char fromlenaddr_r_[PADR_(user_addr_t)]; |
173 | }; |
174 | struct accept_args { |
175 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; |
176 | char name_l_[PADL_(user_addr_t)]; user_addr_t name; char name_r_[PADR_(user_addr_t)]; |
177 | char anamelen_l_[PADL_(user_addr_t)]; user_addr_t anamelen; char anamelen_r_[PADR_(user_addr_t)]; |
178 | }; |
179 | struct getpeername_args { |
180 | char fdes_l_[PADL_(int)]; int fdes; char fdes_r_[PADR_(int)]; |
181 | char asa_l_[PADL_(user_addr_t)]; user_addr_t asa; char asa_r_[PADR_(user_addr_t)]; |
182 | char alen_l_[PADL_(user_addr_t)]; user_addr_t alen; char alen_r_[PADR_(user_addr_t)]; |
183 | }; |
184 | struct getsockname_args { |
185 | char fdes_l_[PADL_(int)]; int fdes; char fdes_r_[PADR_(int)]; |
186 | char asa_l_[PADL_(user_addr_t)]; user_addr_t asa; char asa_r_[PADR_(user_addr_t)]; |
187 | char alen_l_[PADL_(user_addr_t)]; user_addr_t alen; char alen_r_[PADR_(user_addr_t)]; |
188 | }; |
189 | #else |
190 | #endif /* SOCKETS */ |
191 | struct access_args { |
192 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
193 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
194 | }; |
195 | struct chflags_args { |
196 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
197 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
198 | }; |
199 | struct fchflags_args { |
200 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
201 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
202 | }; |
203 | struct sync_args { |
204 | int32_t dummy; |
205 | }; |
206 | struct kill_args { |
207 | char pid_l_[PADL_(int)]; int pid; char pid_r_[PADR_(int)]; |
208 | char signum_l_[PADL_(int)]; int signum; char signum_r_[PADR_(int)]; |
209 | char posix_l_[PADL_(int)]; int posix; char posix_r_[PADR_(int)]; |
210 | }; |
211 | struct crossarch_trap_args { |
212 | char name_l_[PADL_(uint32_t)]; uint32_t name; char name_r_[PADR_(uint32_t)]; |
213 | }; |
214 | struct getppid_args { |
215 | int32_t dummy; |
216 | }; |
217 | struct dup_args { |
218 | char fd_l_[PADL_(u_int)]; u_int fd; char fd_r_[PADR_(u_int)]; |
219 | }; |
220 | struct pipe_args { |
221 | int32_t dummy; |
222 | }; |
223 | struct getegid_args { |
224 | int32_t dummy; |
225 | }; |
226 | struct sigaction_args { |
227 | char signum_l_[PADL_(int)]; int signum; char signum_r_[PADR_(int)]; |
228 | char nsa_l_[PADL_(user_addr_t)]; user_addr_t nsa; char nsa_r_[PADR_(user_addr_t)]; |
229 | char osa_l_[PADL_(user_addr_t)]; user_addr_t osa; char osa_r_[PADR_(user_addr_t)]; |
230 | }; |
231 | struct getgid_args { |
232 | int32_t dummy; |
233 | }; |
234 | struct sigprocmask_args { |
235 | char how_l_[PADL_(int)]; int how; char how_r_[PADR_(int)]; |
236 | char mask_l_[PADL_(user_addr_t)]; user_addr_t mask; char mask_r_[PADR_(user_addr_t)]; |
237 | char omask_l_[PADL_(user_addr_t)]; user_addr_t omask; char omask_r_[PADR_(user_addr_t)]; |
238 | }; |
239 | struct getlogin_args { |
240 | char namebuf_l_[PADL_(user_addr_t)]; user_addr_t namebuf; char namebuf_r_[PADR_(user_addr_t)]; |
241 | char namelen_l_[PADL_(u_int)]; u_int namelen; char namelen_r_[PADR_(u_int)]; |
242 | }; |
243 | struct setlogin_args { |
244 | char namebuf_l_[PADL_(user_addr_t)]; user_addr_t namebuf; char namebuf_r_[PADR_(user_addr_t)]; |
245 | }; |
246 | struct acct_args { |
247 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
248 | }; |
249 | struct sigpending_args { |
250 | char osv_l_[PADL_(user_addr_t)]; user_addr_t osv; char osv_r_[PADR_(user_addr_t)]; |
251 | }; |
252 | struct sigaltstack_args { |
253 | char nss_l_[PADL_(user_addr_t)]; user_addr_t nss; char nss_r_[PADR_(user_addr_t)]; |
254 | char oss_l_[PADL_(user_addr_t)]; user_addr_t oss; char oss_r_[PADR_(user_addr_t)]; |
255 | }; |
256 | struct ioctl_args { |
257 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
258 | char com_l_[PADL_(user_ulong_t)]; user_ulong_t com; char com_r_[PADR_(user_ulong_t)]; |
259 | char data_l_[PADL_(user_addr_t)]; user_addr_t data; char data_r_[PADR_(user_addr_t)]; |
260 | }; |
261 | struct reboot_args { |
262 | char opt_l_[PADL_(int)]; int opt; char opt_r_[PADR_(int)]; |
263 | char msg_l_[PADL_(user_addr_t)]; user_addr_t msg; char msg_r_[PADR_(user_addr_t)]; |
264 | }; |
265 | struct revoke_args { |
266 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
267 | }; |
268 | struct symlink_args { |
269 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
270 | char link_l_[PADL_(user_addr_t)]; user_addr_t link; char link_r_[PADR_(user_addr_t)]; |
271 | }; |
272 | struct readlink_args { |
273 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
274 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; |
275 | char count_l_[PADL_(int)]; int count; char count_r_[PADR_(int)]; |
276 | }; |
277 | struct execve_args { |
278 | char fname_l_[PADL_(user_addr_t)]; user_addr_t fname; char fname_r_[PADR_(user_addr_t)]; |
279 | char argp_l_[PADL_(user_addr_t)]; user_addr_t argp; char argp_r_[PADR_(user_addr_t)]; |
280 | char envp_l_[PADL_(user_addr_t)]; user_addr_t envp; char envp_r_[PADR_(user_addr_t)]; |
281 | }; |
282 | struct umask_args { |
283 | char newmask_l_[PADL_(int)]; int newmask; char newmask_r_[PADR_(int)]; |
284 | }; |
285 | struct chroot_args { |
286 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
287 | }; |
288 | struct msync_args { |
289 | char addr_l_[PADL_(user_addr_t)]; user_addr_t addr; char addr_r_[PADR_(user_addr_t)]; |
290 | char len_l_[PADL_(user_size_t)]; user_size_t len; char len_r_[PADR_(user_size_t)]; |
291 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
292 | }; |
293 | #if CONFIG_VFORK |
294 | struct vfork_args { |
295 | int32_t dummy; |
296 | }; |
297 | #else |
298 | #endif |
299 | struct munmap_args { |
300 | char addr_l_[PADL_(user_addr_t)]; user_addr_t addr; char addr_r_[PADR_(user_addr_t)]; |
301 | char len_l_[PADL_(user_size_t)]; user_size_t len; char len_r_[PADR_(user_size_t)]; |
302 | }; |
303 | struct mprotect_args { |
304 | char addr_l_[PADL_(user_addr_t)]; user_addr_t addr; char addr_r_[PADR_(user_addr_t)]; |
305 | char len_l_[PADL_(user_size_t)]; user_size_t len; char len_r_[PADR_(user_size_t)]; |
306 | char prot_l_[PADL_(int)]; int prot; char prot_r_[PADR_(int)]; |
307 | }; |
308 | struct madvise_args { |
309 | char addr_l_[PADL_(user_addr_t)]; user_addr_t addr; char addr_r_[PADR_(user_addr_t)]; |
310 | char len_l_[PADL_(user_size_t)]; user_size_t len; char len_r_[PADR_(user_size_t)]; |
311 | char behav_l_[PADL_(int)]; int behav; char behav_r_[PADR_(int)]; |
312 | }; |
313 | struct mincore_args { |
314 | char addr_l_[PADL_(user_addr_t)]; user_addr_t addr; char addr_r_[PADR_(user_addr_t)]; |
315 | char len_l_[PADL_(user_size_t)]; user_size_t len; char len_r_[PADR_(user_size_t)]; |
316 | char vec_l_[PADL_(user_addr_t)]; user_addr_t vec; char vec_r_[PADR_(user_addr_t)]; |
317 | }; |
318 | struct getgroups_args { |
319 | char gidsetsize_l_[PADL_(u_int)]; u_int gidsetsize; char gidsetsize_r_[PADR_(u_int)]; |
320 | char gidset_l_[PADL_(user_addr_t)]; user_addr_t gidset; char gidset_r_[PADR_(user_addr_t)]; |
321 | }; |
322 | struct setgroups_args { |
323 | char gidsetsize_l_[PADL_(u_int)]; u_int gidsetsize; char gidsetsize_r_[PADR_(u_int)]; |
324 | char gidset_l_[PADL_(user_addr_t)]; user_addr_t gidset; char gidset_r_[PADR_(user_addr_t)]; |
325 | }; |
326 | struct getpgrp_args { |
327 | int32_t dummy; |
328 | }; |
329 | struct setpgid_args { |
330 | char pid_l_[PADL_(int)]; int pid; char pid_r_[PADR_(int)]; |
331 | char pgid_l_[PADL_(int)]; int pgid; char pgid_r_[PADR_(int)]; |
332 | }; |
333 | struct setitimer_args { |
334 | char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)]; |
335 | char itv_l_[PADL_(user_addr_t)]; user_addr_t itv; char itv_r_[PADR_(user_addr_t)]; |
336 | char oitv_l_[PADL_(user_addr_t)]; user_addr_t oitv; char oitv_r_[PADR_(user_addr_t)]; |
337 | }; |
338 | struct swapon_args { |
339 | int32_t dummy; |
340 | }; |
341 | struct getitimer_args { |
342 | char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)]; |
343 | char itv_l_[PADL_(user_addr_t)]; user_addr_t itv; char itv_r_[PADR_(user_addr_t)]; |
344 | }; |
345 | struct getdtablesize_args { |
346 | int32_t dummy; |
347 | }; |
348 | struct dup2_args { |
349 | char from_l_[PADL_(u_int)]; u_int from; char from_r_[PADR_(u_int)]; |
350 | char to_l_[PADL_(u_int)]; u_int to; char to_r_[PADR_(u_int)]; |
351 | }; |
352 | struct fcntl_args { |
353 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
354 | char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; |
355 | char arg_l_[PADL_(user_long_t)]; user_long_t arg; char arg_r_[PADR_(user_long_t)]; |
356 | }; |
357 | struct select_args { |
358 | char nd_l_[PADL_(int)]; int nd; char nd_r_[PADR_(int)]; |
359 | char in_l_[PADL_(user_addr_t)]; user_addr_t in; char in_r_[PADR_(user_addr_t)]; |
360 | char ou_l_[PADL_(user_addr_t)]; user_addr_t ou; char ou_r_[PADR_(user_addr_t)]; |
361 | char ex_l_[PADL_(user_addr_t)]; user_addr_t ex; char ex_r_[PADR_(user_addr_t)]; |
362 | char tv_l_[PADL_(user_addr_t)]; user_addr_t tv; char tv_r_[PADR_(user_addr_t)]; |
363 | }; |
364 | struct fsync_args { |
365 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
366 | }; |
367 | struct setpriority_args { |
368 | char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)]; |
369 | char who_l_[PADL_(id_t)]; id_t who; char who_r_[PADR_(id_t)]; |
370 | char prio_l_[PADL_(int)]; int prio; char prio_r_[PADR_(int)]; |
371 | }; |
372 | #if SOCKETS |
373 | struct socket_args { |
374 | char domain_l_[PADL_(int)]; int domain; char domain_r_[PADR_(int)]; |
375 | char type_l_[PADL_(int)]; int type; char type_r_[PADR_(int)]; |
376 | char protocol_l_[PADL_(int)]; int protocol; char protocol_r_[PADR_(int)]; |
377 | }; |
378 | struct connect_args { |
379 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; |
380 | char name_l_[PADL_(user_addr_t)]; user_addr_t name; char name_r_[PADR_(user_addr_t)]; |
381 | char namelen_l_[PADL_(socklen_t)]; socklen_t namelen; char namelen_r_[PADR_(socklen_t)]; |
382 | }; |
383 | #else |
384 | #endif /* SOCKETS */ |
385 | struct getpriority_args { |
386 | char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)]; |
387 | char who_l_[PADL_(id_t)]; id_t who; char who_r_[PADR_(id_t)]; |
388 | }; |
389 | #if SOCKETS |
390 | struct bind_args { |
391 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; |
392 | char name_l_[PADL_(user_addr_t)]; user_addr_t name; char name_r_[PADR_(user_addr_t)]; |
393 | char namelen_l_[PADL_(socklen_t)]; socklen_t namelen; char namelen_r_[PADR_(socklen_t)]; |
394 | }; |
395 | struct setsockopt_args { |
396 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; |
397 | char level_l_[PADL_(int)]; int level; char level_r_[PADR_(int)]; |
398 | char name_l_[PADL_(int)]; int name; char name_r_[PADR_(int)]; |
399 | char val_l_[PADL_(user_addr_t)]; user_addr_t val; char val_r_[PADR_(user_addr_t)]; |
400 | char valsize_l_[PADL_(socklen_t)]; socklen_t valsize; char valsize_r_[PADR_(socklen_t)]; |
401 | }; |
402 | struct listen_args { |
403 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; |
404 | char backlog_l_[PADL_(int)]; int backlog; char backlog_r_[PADR_(int)]; |
405 | }; |
406 | #else |
407 | #endif /* SOCKETS */ |
408 | struct sigsuspend_args { |
409 | char mask_l_[PADL_(sigset_t)]; sigset_t mask; char mask_r_[PADR_(sigset_t)]; |
410 | }; |
411 | #if SOCKETS |
412 | #else |
413 | #endif /* SOCKETS */ |
414 | struct gettimeofday_args { |
415 | char tp_l_[PADL_(user_addr_t)]; user_addr_t tp; char tp_r_[PADR_(user_addr_t)]; |
416 | char tzp_l_[PADL_(user_addr_t)]; user_addr_t tzp; char tzp_r_[PADR_(user_addr_t)]; |
417 | char mach_absolute_time_l_[PADL_(user_addr_t)]; user_addr_t mach_absolute_time; char mach_absolute_time_r_[PADR_(user_addr_t)]; |
418 | }; |
419 | struct getrusage_args { |
420 | char who_l_[PADL_(int)]; int who; char who_r_[PADR_(int)]; |
421 | char rusage_l_[PADL_(user_addr_t)]; user_addr_t rusage; char rusage_r_[PADR_(user_addr_t)]; |
422 | }; |
423 | #if SOCKETS |
424 | struct getsockopt_args { |
425 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; |
426 | char level_l_[PADL_(int)]; int level; char level_r_[PADR_(int)]; |
427 | char name_l_[PADL_(int)]; int name; char name_r_[PADR_(int)]; |
428 | char val_l_[PADL_(user_addr_t)]; user_addr_t val; char val_r_[PADR_(user_addr_t)]; |
429 | char avalsize_l_[PADL_(user_addr_t)]; user_addr_t avalsize; char avalsize_r_[PADR_(user_addr_t)]; |
430 | }; |
431 | #else |
432 | #endif /* SOCKETS */ |
433 | struct readv_args { |
434 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
435 | char iovp_l_[PADL_(user_addr_t)]; user_addr_t iovp; char iovp_r_[PADR_(user_addr_t)]; |
436 | char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)]; |
437 | }; |
438 | struct writev_args { |
439 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
440 | char iovp_l_[PADL_(user_addr_t)]; user_addr_t iovp; char iovp_r_[PADR_(user_addr_t)]; |
441 | char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)]; |
442 | }; |
443 | struct settimeofday_args { |
444 | char tv_l_[PADL_(user_addr_t)]; user_addr_t tv; char tv_r_[PADR_(user_addr_t)]; |
445 | char tzp_l_[PADL_(user_addr_t)]; user_addr_t tzp; char tzp_r_[PADR_(user_addr_t)]; |
446 | }; |
447 | struct fchown_args { |
448 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
449 | char uid_l_[PADL_(int)]; int uid; char uid_r_[PADR_(int)]; |
450 | char gid_l_[PADL_(int)]; int gid; char gid_r_[PADR_(int)]; |
451 | }; |
452 | struct fchmod_args { |
453 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
454 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; |
455 | }; |
456 | struct setreuid_args { |
457 | char ruid_l_[PADL_(uid_t)]; uid_t ruid; char ruid_r_[PADR_(uid_t)]; |
458 | char euid_l_[PADL_(uid_t)]; uid_t euid; char euid_r_[PADR_(uid_t)]; |
459 | }; |
460 | struct setregid_args { |
461 | char rgid_l_[PADL_(gid_t)]; gid_t rgid; char rgid_r_[PADR_(gid_t)]; |
462 | char egid_l_[PADL_(gid_t)]; gid_t egid; char egid_r_[PADR_(gid_t)]; |
463 | }; |
464 | struct rename_args { |
465 | char from_l_[PADL_(user_addr_t)]; user_addr_t from; char from_r_[PADR_(user_addr_t)]; |
466 | char to_l_[PADL_(user_addr_t)]; user_addr_t to; char to_r_[PADR_(user_addr_t)]; |
467 | }; |
468 | struct flock_args { |
469 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
470 | char how_l_[PADL_(int)]; int how; char how_r_[PADR_(int)]; |
471 | }; |
472 | struct mkfifo_args { |
473 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
474 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; |
475 | }; |
476 | #if SOCKETS |
477 | struct sendto_args { |
478 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; |
479 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; |
480 | char len_l_[PADL_(user_size_t)]; user_size_t len; char len_r_[PADR_(user_size_t)]; |
481 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
482 | char to_l_[PADL_(user_addr_t)]; user_addr_t to; char to_r_[PADR_(user_addr_t)]; |
483 | char tolen_l_[PADL_(socklen_t)]; socklen_t tolen; char tolen_r_[PADR_(socklen_t)]; |
484 | }; |
485 | struct shutdown_args { |
486 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; |
487 | char how_l_[PADL_(int)]; int how; char how_r_[PADR_(int)]; |
488 | }; |
489 | struct socketpair_args { |
490 | char domain_l_[PADL_(int)]; int domain; char domain_r_[PADR_(int)]; |
491 | char type_l_[PADL_(int)]; int type; char type_r_[PADR_(int)]; |
492 | char protocol_l_[PADL_(int)]; int protocol; char protocol_r_[PADR_(int)]; |
493 | char rsv_l_[PADL_(user_addr_t)]; user_addr_t rsv; char rsv_r_[PADR_(user_addr_t)]; |
494 | }; |
495 | #else |
496 | #endif /* SOCKETS */ |
497 | struct mkdir_args { |
498 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
499 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; |
500 | }; |
501 | struct rmdir_args { |
502 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
503 | }; |
504 | struct utimes_args { |
505 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
506 | char tptr_l_[PADL_(user_addr_t)]; user_addr_t tptr; char tptr_r_[PADR_(user_addr_t)]; |
507 | }; |
508 | struct futimes_args { |
509 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
510 | char tptr_l_[PADL_(user_addr_t)]; user_addr_t tptr; char tptr_r_[PADR_(user_addr_t)]; |
511 | }; |
512 | struct adjtime_args { |
513 | char delta_l_[PADL_(user_addr_t)]; user_addr_t delta; char delta_r_[PADR_(user_addr_t)]; |
514 | char olddelta_l_[PADL_(user_addr_t)]; user_addr_t olddelta; char olddelta_r_[PADR_(user_addr_t)]; |
515 | }; |
516 | struct gethostuuid_args { |
517 | char uuid_buf_l_[PADL_(user_addr_t)]; user_addr_t uuid_buf; char uuid_buf_r_[PADR_(user_addr_t)]; |
518 | char timeoutp_l_[PADL_(user_addr_t)]; user_addr_t timeoutp; char timeoutp_r_[PADR_(user_addr_t)]; |
519 | }; |
520 | struct setsid_args { |
521 | int32_t dummy; |
522 | }; |
523 | struct getpgid_args { |
524 | char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)]; |
525 | }; |
526 | struct setprivexec_args { |
527 | char flag_l_[PADL_(int)]; int flag; char flag_r_[PADR_(int)]; |
528 | }; |
529 | struct pread_args { |
530 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
531 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; |
532 | char nbyte_l_[PADL_(user_size_t)]; user_size_t nbyte; char nbyte_r_[PADR_(user_size_t)]; |
533 | char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)]; |
534 | }; |
535 | struct pwrite_args { |
536 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
537 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; |
538 | char nbyte_l_[PADL_(user_size_t)]; user_size_t nbyte; char nbyte_r_[PADR_(user_size_t)]; |
539 | char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)]; |
540 | }; |
541 | #if NFSSERVER /* XXX */ |
542 | struct nfssvc_args { |
543 | char flag_l_[PADL_(int)]; int flag; char flag_r_[PADR_(int)]; |
544 | char argp_l_[PADL_(user_addr_t)]; user_addr_t argp; char argp_r_[PADR_(user_addr_t)]; |
545 | }; |
546 | #else |
547 | #endif |
548 | struct statfs_args { |
549 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
550 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; |
551 | }; |
552 | struct fstatfs_args { |
553 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
554 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; |
555 | }; |
556 | struct unmount_args { |
557 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
558 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
559 | }; |
560 | #if NFSSERVER /* XXX */ |
561 | struct getfh_args { |
562 | char fname_l_[PADL_(user_addr_t)]; user_addr_t fname; char fname_r_[PADR_(user_addr_t)]; |
563 | char fhp_l_[PADL_(user_addr_t)]; user_addr_t fhp; char fhp_r_[PADR_(user_addr_t)]; |
564 | }; |
565 | #else |
566 | #endif |
567 | struct quotactl_args { |
568 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
569 | char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; |
570 | char uid_l_[PADL_(int)]; int uid; char uid_r_[PADR_(int)]; |
571 | char arg_l_[PADL_(user_addr_t)]; user_addr_t arg; char arg_r_[PADR_(user_addr_t)]; |
572 | }; |
573 | struct mount_args { |
574 | char type_l_[PADL_(user_addr_t)]; user_addr_t type; char type_r_[PADR_(user_addr_t)]; |
575 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
576 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
577 | char data_l_[PADL_(user_addr_t)]; user_addr_t data; char data_r_[PADR_(user_addr_t)]; |
578 | }; |
579 | struct csops_args { |
580 | char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)]; |
581 | char ops_l_[PADL_(uint32_t)]; uint32_t ops; char ops_r_[PADR_(uint32_t)]; |
582 | char useraddr_l_[PADL_(user_addr_t)]; user_addr_t useraddr; char useraddr_r_[PADR_(user_addr_t)]; |
583 | char usersize_l_[PADL_(user_size_t)]; user_size_t usersize; char usersize_r_[PADR_(user_size_t)]; |
584 | }; |
585 | struct csops_audittoken_args { |
586 | char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)]; |
587 | char ops_l_[PADL_(uint32_t)]; uint32_t ops; char ops_r_[PADR_(uint32_t)]; |
588 | char useraddr_l_[PADL_(user_addr_t)]; user_addr_t useraddr; char useraddr_r_[PADR_(user_addr_t)]; |
589 | char usersize_l_[PADL_(user_size_t)]; user_size_t usersize; char usersize_r_[PADR_(user_size_t)]; |
590 | char uaudittoken_l_[PADL_(user_addr_t)]; user_addr_t uaudittoken; char uaudittoken_r_[PADR_(user_addr_t)]; |
591 | }; |
592 | struct waitid_args { |
593 | char idtype_l_[PADL_(idtype_t)]; idtype_t idtype; char idtype_r_[PADR_(idtype_t)]; |
594 | char id_l_[PADL_(id_t)]; id_t id; char id_r_[PADR_(id_t)]; |
595 | char infop_l_[PADL_(user_addr_t)]; user_addr_t infop; char infop_r_[PADR_(user_addr_t)]; |
596 | char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)]; |
597 | }; |
598 | struct kdebug_typefilter_args { |
599 | char addr_l_[PADL_(user_addr_t)]; user_addr_t addr; char addr_r_[PADR_(user_addr_t)]; |
600 | char size_l_[PADL_(user_addr_t)]; user_addr_t size; char size_r_[PADR_(user_addr_t)]; |
601 | }; |
602 | struct kdebug_trace_string_args { |
603 | char debugid_l_[PADL_(uint32_t)]; uint32_t debugid; char debugid_r_[PADR_(uint32_t)]; |
604 | char str_id_l_[PADL_(uint64_t)]; uint64_t str_id; char str_id_r_[PADR_(uint64_t)]; |
605 | char str_l_[PADL_(user_addr_t)]; user_addr_t str; char str_r_[PADR_(user_addr_t)]; |
606 | }; |
607 | struct kdebug_trace64_args { |
608 | char code_l_[PADL_(uint32_t)]; uint32_t code; char code_r_[PADR_(uint32_t)]; |
609 | char arg1_l_[PADL_(uint64_t)]; uint64_t arg1; char arg1_r_[PADR_(uint64_t)]; |
610 | char arg2_l_[PADL_(uint64_t)]; uint64_t arg2; char arg2_r_[PADR_(uint64_t)]; |
611 | char arg3_l_[PADL_(uint64_t)]; uint64_t arg3; char arg3_r_[PADR_(uint64_t)]; |
612 | char arg4_l_[PADL_(uint64_t)]; uint64_t arg4; char arg4_r_[PADR_(uint64_t)]; |
613 | }; |
614 | struct kdebug_trace_args { |
615 | char code_l_[PADL_(uint32_t)]; uint32_t code; char code_r_[PADR_(uint32_t)]; |
616 | char arg1_l_[PADL_(user_ulong_t)]; user_ulong_t arg1; char arg1_r_[PADR_(user_ulong_t)]; |
617 | char arg2_l_[PADL_(user_ulong_t)]; user_ulong_t arg2; char arg2_r_[PADR_(user_ulong_t)]; |
618 | char arg3_l_[PADL_(user_ulong_t)]; user_ulong_t arg3; char arg3_r_[PADR_(user_ulong_t)]; |
619 | char arg4_l_[PADL_(user_ulong_t)]; user_ulong_t arg4; char arg4_r_[PADR_(user_ulong_t)]; |
620 | }; |
621 | struct setgid_args { |
622 | char gid_l_[PADL_(gid_t)]; gid_t gid; char gid_r_[PADR_(gid_t)]; |
623 | }; |
624 | struct setegid_args { |
625 | char egid_l_[PADL_(gid_t)]; gid_t egid; char egid_r_[PADR_(gid_t)]; |
626 | }; |
627 | struct seteuid_args { |
628 | char euid_l_[PADL_(uid_t)]; uid_t euid; char euid_r_[PADR_(uid_t)]; |
629 | }; |
630 | struct sigreturn_args { |
631 | char uctx_l_[PADL_(user_addr_t)]; user_addr_t uctx; char uctx_r_[PADR_(user_addr_t)]; |
632 | char infostyle_l_[PADL_(int)]; int infostyle; char infostyle_r_[PADR_(int)]; |
633 | char token_l_[PADL_(user_addr_t)]; user_addr_t token; char token_r_[PADR_(user_addr_t)]; |
634 | }; |
635 | struct panic_with_data_args { |
636 | char uuid_l_[PADL_(user_addr_t)]; user_addr_t uuid; char uuid_r_[PADR_(user_addr_t)]; |
637 | char addr_l_[PADL_(user_addr_t)]; user_addr_t addr; char addr_r_[PADR_(user_addr_t)]; |
638 | char len_l_[PADL_(uint32_t)]; uint32_t len; char len_r_[PADR_(uint32_t)]; |
639 | char flags_l_[PADL_(uint32_t)]; uint32_t flags; char flags_r_[PADR_(uint32_t)]; |
640 | char msg_l_[PADL_(user_addr_t)]; user_addr_t msg; char msg_r_[PADR_(user_addr_t)]; |
641 | }; |
642 | struct thread_selfcounts_args { |
643 | char kind_l_[PADL_(uint32_t)]; uint32_t kind; char kind_r_[PADR_(uint32_t)]; |
644 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; |
645 | char size_l_[PADL_(user_size_t)]; user_size_t size; char size_r_[PADR_(user_size_t)]; |
646 | }; |
647 | struct fdatasync_args { |
648 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
649 | }; |
650 | struct stat_args { |
651 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
652 | char ub_l_[PADL_(user_addr_t)]; user_addr_t ub; char ub_r_[PADR_(user_addr_t)]; |
653 | }; |
654 | struct fstat_args { |
655 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
656 | char ub_l_[PADL_(user_addr_t)]; user_addr_t ub; char ub_r_[PADR_(user_addr_t)]; |
657 | }; |
658 | struct lstat_args { |
659 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
660 | char ub_l_[PADL_(user_addr_t)]; user_addr_t ub; char ub_r_[PADR_(user_addr_t)]; |
661 | }; |
662 | struct pathconf_args { |
663 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
664 | char name_l_[PADL_(int)]; int name; char name_r_[PADR_(int)]; |
665 | }; |
666 | struct fpathconf_args { |
667 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
668 | char name_l_[PADL_(int)]; int name; char name_r_[PADR_(int)]; |
669 | }; |
670 | struct getrlimit_args { |
671 | char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)]; |
672 | char rlp_l_[PADL_(user_addr_t)]; user_addr_t rlp; char rlp_r_[PADR_(user_addr_t)]; |
673 | }; |
674 | struct setrlimit_args { |
675 | char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)]; |
676 | char rlp_l_[PADL_(user_addr_t)]; user_addr_t rlp; char rlp_r_[PADR_(user_addr_t)]; |
677 | }; |
678 | struct getdirentries_args { |
679 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
680 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; |
681 | char count_l_[PADL_(u_int)]; u_int count; char count_r_[PADR_(u_int)]; |
682 | char basep_l_[PADL_(user_addr_t)]; user_addr_t basep; char basep_r_[PADR_(user_addr_t)]; |
683 | }; |
684 | struct mmap_args { |
685 | char addr_l_[PADL_(user_addr_t)]; user_addr_t addr; char addr_r_[PADR_(user_addr_t)]; |
686 | char len_l_[PADL_(user_size_t)]; user_size_t len; char len_r_[PADR_(user_size_t)]; |
687 | char prot_l_[PADL_(int)]; int prot; char prot_r_[PADR_(int)]; |
688 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
689 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
690 | char pos_l_[PADL_(off_t)]; off_t pos; char pos_r_[PADR_(off_t)]; |
691 | }; |
692 | struct lseek_args { |
693 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
694 | char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)]; |
695 | char whence_l_[PADL_(int)]; int whence; char whence_r_[PADR_(int)]; |
696 | }; |
697 | struct truncate_args { |
698 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
699 | char length_l_[PADL_(off_t)]; off_t length; char length_r_[PADR_(off_t)]; |
700 | }; |
701 | struct ftruncate_args { |
702 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
703 | char length_l_[PADL_(off_t)]; off_t length; char length_r_[PADR_(off_t)]; |
704 | }; |
705 | struct sysctl_args { |
706 | char name_l_[PADL_(user_addr_t)]; user_addr_t name; char name_r_[PADR_(user_addr_t)]; |
707 | char namelen_l_[PADL_(u_int)]; u_int namelen; char namelen_r_[PADR_(u_int)]; |
708 | char old_l_[PADL_(user_addr_t)]; user_addr_t old; char old_r_[PADR_(user_addr_t)]; |
709 | char oldlenp_l_[PADL_(user_addr_t)]; user_addr_t oldlenp; char oldlenp_r_[PADR_(user_addr_t)]; |
710 | char new_l_[PADL_(user_addr_t)]; user_addr_t new; char new_r_[PADR_(user_addr_t)]; |
711 | char newlen_l_[PADL_(user_size_t)]; user_size_t newlen; char newlen_r_[PADR_(user_size_t)]; |
712 | }; |
713 | struct mlock_args { |
714 | char addr_l_[PADL_(user_addr_t)]; user_addr_t addr; char addr_r_[PADR_(user_addr_t)]; |
715 | char len_l_[PADL_(user_size_t)]; user_size_t len; char len_r_[PADR_(user_size_t)]; |
716 | }; |
717 | struct munlock_args { |
718 | char addr_l_[PADL_(user_addr_t)]; user_addr_t addr; char addr_r_[PADR_(user_addr_t)]; |
719 | char len_l_[PADL_(user_size_t)]; user_size_t len; char len_r_[PADR_(user_size_t)]; |
720 | }; |
721 | struct undelete_args { |
722 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
723 | }; |
724 | struct open_dprotected_np_args { |
725 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
726 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
727 | char class_l_[PADL_(int)]; int class; char class_r_[PADR_(int)]; |
728 | char dpflags_l_[PADL_(int)]; int dpflags; char dpflags_r_[PADR_(int)]; |
729 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; |
730 | }; |
731 | struct fsgetpath_ext_args { |
732 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; |
733 | char bufsize_l_[PADL_(user_size_t)]; user_size_t bufsize; char bufsize_r_[PADR_(user_size_t)]; |
734 | char fsid_l_[PADL_(user_addr_t)]; user_addr_t fsid; char fsid_r_[PADR_(user_addr_t)]; |
735 | char objid_l_[PADL_(uint64_t)]; uint64_t objid; char objid_r_[PADR_(uint64_t)]; |
736 | char options_l_[PADL_(uint32_t)]; uint32_t options; char options_r_[PADR_(uint32_t)]; |
737 | }; |
738 | struct openat_dprotected_np_args { |
739 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
740 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
741 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
742 | char class_l_[PADL_(int)]; int class; char class_r_[PADR_(int)]; |
743 | char dpflags_l_[PADL_(int)]; int dpflags; char dpflags_r_[PADR_(int)]; |
744 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; |
745 | char authfd_l_[PADL_(int)]; int authfd; char authfd_r_[PADR_(int)]; |
746 | }; |
747 | struct getattrlist_args { |
748 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
749 | char alist_l_[PADL_(user_addr_t)]; user_addr_t alist; char alist_r_[PADR_(user_addr_t)]; |
750 | char attributeBuffer_l_[PADL_(user_addr_t)]; user_addr_t attributeBuffer; char attributeBuffer_r_[PADR_(user_addr_t)]; |
751 | char bufferSize_l_[PADL_(user_size_t)]; user_size_t bufferSize; char bufferSize_r_[PADR_(user_size_t)]; |
752 | char options_l_[PADL_(user_ulong_t)]; user_ulong_t options; char options_r_[PADR_(user_ulong_t)]; |
753 | }; |
754 | struct setattrlist_args { |
755 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
756 | char alist_l_[PADL_(user_addr_t)]; user_addr_t alist; char alist_r_[PADR_(user_addr_t)]; |
757 | char attributeBuffer_l_[PADL_(user_addr_t)]; user_addr_t attributeBuffer; char attributeBuffer_r_[PADR_(user_addr_t)]; |
758 | char bufferSize_l_[PADL_(user_size_t)]; user_size_t bufferSize; char bufferSize_r_[PADR_(user_size_t)]; |
759 | char options_l_[PADL_(user_ulong_t)]; user_ulong_t options; char options_r_[PADR_(user_ulong_t)]; |
760 | }; |
761 | struct getdirentriesattr_args { |
762 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
763 | char alist_l_[PADL_(user_addr_t)]; user_addr_t alist; char alist_r_[PADR_(user_addr_t)]; |
764 | char buffer_l_[PADL_(user_addr_t)]; user_addr_t buffer; char buffer_r_[PADR_(user_addr_t)]; |
765 | char buffersize_l_[PADL_(user_size_t)]; user_size_t buffersize; char buffersize_r_[PADR_(user_size_t)]; |
766 | char count_l_[PADL_(user_addr_t)]; user_addr_t count; char count_r_[PADR_(user_addr_t)]; |
767 | char basep_l_[PADL_(user_addr_t)]; user_addr_t basep; char basep_r_[PADR_(user_addr_t)]; |
768 | char newstate_l_[PADL_(user_addr_t)]; user_addr_t newstate; char newstate_r_[PADR_(user_addr_t)]; |
769 | char options_l_[PADL_(user_ulong_t)]; user_ulong_t options; char options_r_[PADR_(user_ulong_t)]; |
770 | }; |
771 | struct exchangedata_args { |
772 | char path1_l_[PADL_(user_addr_t)]; user_addr_t path1; char path1_r_[PADR_(user_addr_t)]; |
773 | char path2_l_[PADL_(user_addr_t)]; user_addr_t path2; char path2_r_[PADR_(user_addr_t)]; |
774 | char options_l_[PADL_(user_ulong_t)]; user_ulong_t options; char options_r_[PADR_(user_ulong_t)]; |
775 | }; |
776 | struct searchfs_args { |
777 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
778 | char searchblock_l_[PADL_(user_addr_t)]; user_addr_t searchblock; char searchblock_r_[PADR_(user_addr_t)]; |
779 | char nummatches_l_[PADL_(user_addr_t)]; user_addr_t nummatches; char nummatches_r_[PADR_(user_addr_t)]; |
780 | char scriptcode_l_[PADL_(uint32_t)]; uint32_t scriptcode; char scriptcode_r_[PADR_(uint32_t)]; |
781 | char options_l_[PADL_(uint32_t)]; uint32_t options; char options_r_[PADR_(uint32_t)]; |
782 | char state_l_[PADL_(user_addr_t)]; user_addr_t state; char state_r_[PADR_(user_addr_t)]; |
783 | }; |
784 | struct delete_args { |
785 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
786 | }; |
787 | struct copyfile_args { |
788 | char from_l_[PADL_(user_addr_t)]; user_addr_t from; char from_r_[PADR_(user_addr_t)]; |
789 | char to_l_[PADL_(user_addr_t)]; user_addr_t to; char to_r_[PADR_(user_addr_t)]; |
790 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; |
791 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
792 | }; |
793 | struct fgetattrlist_args { |
794 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
795 | char alist_l_[PADL_(user_addr_t)]; user_addr_t alist; char alist_r_[PADR_(user_addr_t)]; |
796 | char attributeBuffer_l_[PADL_(user_addr_t)]; user_addr_t attributeBuffer; char attributeBuffer_r_[PADR_(user_addr_t)]; |
797 | char bufferSize_l_[PADL_(user_size_t)]; user_size_t bufferSize; char bufferSize_r_[PADR_(user_size_t)]; |
798 | char options_l_[PADL_(user_ulong_t)]; user_ulong_t options; char options_r_[PADR_(user_ulong_t)]; |
799 | }; |
800 | struct fsetattrlist_args { |
801 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
802 | char alist_l_[PADL_(user_addr_t)]; user_addr_t alist; char alist_r_[PADR_(user_addr_t)]; |
803 | char attributeBuffer_l_[PADL_(user_addr_t)]; user_addr_t attributeBuffer; char attributeBuffer_r_[PADR_(user_addr_t)]; |
804 | char bufferSize_l_[PADL_(user_size_t)]; user_size_t bufferSize; char bufferSize_r_[PADR_(user_size_t)]; |
805 | char options_l_[PADL_(user_ulong_t)]; user_ulong_t options; char options_r_[PADR_(user_ulong_t)]; |
806 | }; |
807 | struct poll_args { |
808 | char fds_l_[PADL_(user_addr_t)]; user_addr_t fds; char fds_r_[PADR_(user_addr_t)]; |
809 | char nfds_l_[PADL_(u_int)]; u_int nfds; char nfds_r_[PADR_(u_int)]; |
810 | char timeout_l_[PADL_(int)]; int timeout; char timeout_r_[PADR_(int)]; |
811 | }; |
812 | struct getxattr_args { |
813 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
814 | char attrname_l_[PADL_(user_addr_t)]; user_addr_t attrname; char attrname_r_[PADR_(user_addr_t)]; |
815 | char value_l_[PADL_(user_addr_t)]; user_addr_t value; char value_r_[PADR_(user_addr_t)]; |
816 | char size_l_[PADL_(user_size_t)]; user_size_t size; char size_r_[PADR_(user_size_t)]; |
817 | char position_l_[PADL_(uint32_t)]; uint32_t position; char position_r_[PADR_(uint32_t)]; |
818 | char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)]; |
819 | }; |
820 | struct fgetxattr_args { |
821 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
822 | char attrname_l_[PADL_(user_addr_t)]; user_addr_t attrname; char attrname_r_[PADR_(user_addr_t)]; |
823 | char value_l_[PADL_(user_addr_t)]; user_addr_t value; char value_r_[PADR_(user_addr_t)]; |
824 | char size_l_[PADL_(user_size_t)]; user_size_t size; char size_r_[PADR_(user_size_t)]; |
825 | char position_l_[PADL_(uint32_t)]; uint32_t position; char position_r_[PADR_(uint32_t)]; |
826 | char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)]; |
827 | }; |
828 | struct setxattr_args { |
829 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
830 | char attrname_l_[PADL_(user_addr_t)]; user_addr_t attrname; char attrname_r_[PADR_(user_addr_t)]; |
831 | char value_l_[PADL_(user_addr_t)]; user_addr_t value; char value_r_[PADR_(user_addr_t)]; |
832 | char size_l_[PADL_(user_size_t)]; user_size_t size; char size_r_[PADR_(user_size_t)]; |
833 | char position_l_[PADL_(uint32_t)]; uint32_t position; char position_r_[PADR_(uint32_t)]; |
834 | char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)]; |
835 | }; |
836 | struct fsetxattr_args { |
837 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
838 | char attrname_l_[PADL_(user_addr_t)]; user_addr_t attrname; char attrname_r_[PADR_(user_addr_t)]; |
839 | char value_l_[PADL_(user_addr_t)]; user_addr_t value; char value_r_[PADR_(user_addr_t)]; |
840 | char size_l_[PADL_(user_size_t)]; user_size_t size; char size_r_[PADR_(user_size_t)]; |
841 | char position_l_[PADL_(uint32_t)]; uint32_t position; char position_r_[PADR_(uint32_t)]; |
842 | char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)]; |
843 | }; |
844 | struct removexattr_args { |
845 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
846 | char attrname_l_[PADL_(user_addr_t)]; user_addr_t attrname; char attrname_r_[PADR_(user_addr_t)]; |
847 | char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)]; |
848 | }; |
849 | struct fremovexattr_args { |
850 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
851 | char attrname_l_[PADL_(user_addr_t)]; user_addr_t attrname; char attrname_r_[PADR_(user_addr_t)]; |
852 | char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)]; |
853 | }; |
854 | struct listxattr_args { |
855 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
856 | char namebuf_l_[PADL_(user_addr_t)]; user_addr_t namebuf; char namebuf_r_[PADR_(user_addr_t)]; |
857 | char bufsize_l_[PADL_(user_size_t)]; user_size_t bufsize; char bufsize_r_[PADR_(user_size_t)]; |
858 | char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)]; |
859 | }; |
860 | struct flistxattr_args { |
861 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
862 | char namebuf_l_[PADL_(user_addr_t)]; user_addr_t namebuf; char namebuf_r_[PADR_(user_addr_t)]; |
863 | char bufsize_l_[PADL_(user_size_t)]; user_size_t bufsize; char bufsize_r_[PADR_(user_size_t)]; |
864 | char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)]; |
865 | }; |
866 | struct fsctl_args { |
867 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
868 | char cmd_l_[PADL_(user_ulong_t)]; user_ulong_t cmd; char cmd_r_[PADR_(user_ulong_t)]; |
869 | char data_l_[PADL_(user_addr_t)]; user_addr_t data; char data_r_[PADR_(user_addr_t)]; |
870 | char options_l_[PADL_(u_int)]; u_int options; char options_r_[PADR_(u_int)]; |
871 | }; |
872 | struct initgroups_args { |
873 | char gidsetsize_l_[PADL_(u_int)]; u_int gidsetsize; char gidsetsize_r_[PADR_(u_int)]; |
874 | char gidset_l_[PADL_(user_addr_t)]; user_addr_t gidset; char gidset_r_[PADR_(user_addr_t)]; |
875 | char gmuid_l_[PADL_(int)]; int gmuid; char gmuid_r_[PADR_(int)]; |
876 | }; |
877 | struct posix_spawn_args { |
878 | char pid_l_[PADL_(user_addr_t)]; user_addr_t pid; char pid_r_[PADR_(user_addr_t)]; |
879 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
880 | char adesc_l_[PADL_(user_addr_t)]; user_addr_t adesc; char adesc_r_[PADR_(user_addr_t)]; |
881 | char argv_l_[PADL_(user_addr_t)]; user_addr_t argv; char argv_r_[PADR_(user_addr_t)]; |
882 | char envp_l_[PADL_(user_addr_t)]; user_addr_t envp; char envp_r_[PADR_(user_addr_t)]; |
883 | }; |
884 | struct ffsctl_args { |
885 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
886 | char cmd_l_[PADL_(user_ulong_t)]; user_ulong_t cmd; char cmd_r_[PADR_(user_ulong_t)]; |
887 | char data_l_[PADL_(user_addr_t)]; user_addr_t data; char data_r_[PADR_(user_addr_t)]; |
888 | char options_l_[PADL_(u_int)]; u_int options; char options_r_[PADR_(u_int)]; |
889 | }; |
890 | #if NFSSERVER /* XXX */ |
891 | struct fhopen_args { |
892 | char u_fhp_l_[PADL_(user_addr_t)]; user_addr_t u_fhp; char u_fhp_r_[PADR_(user_addr_t)]; |
893 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
894 | }; |
895 | #else |
896 | #endif |
897 | struct minherit_args { |
898 | char addr_l_[PADL_(user_addr_t)]; user_addr_t addr; char addr_r_[PADR_(user_addr_t)]; |
899 | char len_l_[PADL_(user_size_t)]; user_size_t len; char len_r_[PADR_(user_size_t)]; |
900 | char inherit_l_[PADL_(int)]; int inherit; char inherit_r_[PADR_(int)]; |
901 | }; |
902 | #if SYSV_SEM |
903 | struct semsys_args { |
904 | char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)]; |
905 | char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)]; |
906 | char a3_l_[PADL_(int)]; int a3; char a3_r_[PADR_(int)]; |
907 | char a4_l_[PADL_(int)]; int a4; char a4_r_[PADR_(int)]; |
908 | char a5_l_[PADL_(int)]; int a5; char a5_r_[PADR_(int)]; |
909 | }; |
910 | #else |
911 | #endif |
912 | #if SYSV_MSG |
913 | struct msgsys_args { |
914 | char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)]; |
915 | char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)]; |
916 | char a3_l_[PADL_(int)]; int a3; char a3_r_[PADR_(int)]; |
917 | char a4_l_[PADL_(int)]; int a4; char a4_r_[PADR_(int)]; |
918 | char a5_l_[PADL_(int)]; int a5; char a5_r_[PADR_(int)]; |
919 | }; |
920 | #else |
921 | #endif |
922 | #if SYSV_SHM |
923 | struct shmsys_args { |
924 | char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)]; |
925 | char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)]; |
926 | char a3_l_[PADL_(int)]; int a3; char a3_r_[PADR_(int)]; |
927 | char a4_l_[PADL_(int)]; int a4; char a4_r_[PADR_(int)]; |
928 | }; |
929 | #else |
930 | #endif |
931 | #if SYSV_SEM |
932 | struct semctl_args { |
933 | char semid_l_[PADL_(int)]; int semid; char semid_r_[PADR_(int)]; |
934 | char semnum_l_[PADL_(int)]; int semnum; char semnum_r_[PADR_(int)]; |
935 | char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; |
936 | char arg_l_[PADL_(user_addr_t)]; user_addr_t arg; char arg_r_[PADR_(user_addr_t)]; |
937 | }; |
938 | struct semget_args { |
939 | char key_l_[PADL_(key_t)]; key_t key; char key_r_[PADR_(key_t)]; |
940 | char nsems_l_[PADL_(int)]; int nsems; char nsems_r_[PADR_(int)]; |
941 | char semflg_l_[PADL_(int)]; int semflg; char semflg_r_[PADR_(int)]; |
942 | }; |
943 | struct semop_args { |
944 | char semid_l_[PADL_(int)]; int semid; char semid_r_[PADR_(int)]; |
945 | char sops_l_[PADL_(user_addr_t)]; user_addr_t sops; char sops_r_[PADR_(user_addr_t)]; |
946 | char nsops_l_[PADL_(int)]; int nsops; char nsops_r_[PADR_(int)]; |
947 | }; |
948 | #else |
949 | #endif |
950 | #if SYSV_MSG |
951 | struct msgctl_args { |
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)]; |
955 | }; |
956 | struct msgget_args { |
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)]; |
959 | }; |
960 | struct msgsnd_args { |
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)]; |
965 | }; |
966 | struct msgrcv_args { |
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)]; |
972 | }; |
973 | #else |
974 | #endif |
975 | #if SYSV_SHM |
976 | struct shmat_args { |
977 | char shmid_l_[PADL_(int)]; int shmid; char shmid_r_[PADR_(int)]; |
978 | char shmaddr_l_[PADL_(user_addr_t)]; user_addr_t shmaddr; char shmaddr_r_[PADR_(user_addr_t)]; |
979 | char shmflg_l_[PADL_(int)]; int shmflg; char shmflg_r_[PADR_(int)]; |
980 | }; |
981 | struct shmctl_args { |
982 | char shmid_l_[PADL_(int)]; int shmid; char shmid_r_[PADR_(int)]; |
983 | char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; |
984 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; |
985 | }; |
986 | struct shmdt_args { |
987 | char shmaddr_l_[PADL_(user_addr_t)]; user_addr_t shmaddr; char shmaddr_r_[PADR_(user_addr_t)]; |
988 | }; |
989 | struct shmget_args { |
990 | char key_l_[PADL_(key_t)]; key_t key; char key_r_[PADR_(key_t)]; |
991 | char size_l_[PADL_(user_size_t)]; user_size_t size; char size_r_[PADR_(user_size_t)]; |
992 | char shmflg_l_[PADL_(int)]; int shmflg; char shmflg_r_[PADR_(int)]; |
993 | }; |
994 | #else |
995 | #endif |
996 | struct shm_open_args { |
997 | char name_l_[PADL_(user_addr_t)]; user_addr_t name; char name_r_[PADR_(user_addr_t)]; |
998 | char oflag_l_[PADL_(int)]; int oflag; char oflag_r_[PADR_(int)]; |
999 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; |
1000 | }; |
1001 | struct shm_unlink_args { |
1002 | char name_l_[PADL_(user_addr_t)]; user_addr_t name; char name_r_[PADR_(user_addr_t)]; |
1003 | }; |
1004 | struct sem_open_args { |
1005 | char name_l_[PADL_(user_addr_t)]; user_addr_t name; char name_r_[PADR_(user_addr_t)]; |
1006 | char oflag_l_[PADL_(int)]; int oflag; char oflag_r_[PADR_(int)]; |
1007 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; |
1008 | char value_l_[PADL_(int)]; int value; char value_r_[PADR_(int)]; |
1009 | }; |
1010 | struct sem_close_args { |
1011 | char sem_l_[PADL_(user_addr_t)]; user_addr_t sem; char sem_r_[PADR_(user_addr_t)]; |
1012 | }; |
1013 | struct sem_unlink_args { |
1014 | char name_l_[PADL_(user_addr_t)]; user_addr_t name; char name_r_[PADR_(user_addr_t)]; |
1015 | }; |
1016 | struct sem_wait_args { |
1017 | char sem_l_[PADL_(user_addr_t)]; user_addr_t sem; char sem_r_[PADR_(user_addr_t)]; |
1018 | }; |
1019 | struct sem_trywait_args { |
1020 | char sem_l_[PADL_(user_addr_t)]; user_addr_t sem; char sem_r_[PADR_(user_addr_t)]; |
1021 | }; |
1022 | struct sem_post_args { |
1023 | char sem_l_[PADL_(user_addr_t)]; user_addr_t sem; char sem_r_[PADR_(user_addr_t)]; |
1024 | }; |
1025 | struct sysctlbyname_args { |
1026 | char name_l_[PADL_(user_addr_t)]; user_addr_t name; char name_r_[PADR_(user_addr_t)]; |
1027 | char namelen_l_[PADL_(user_size_t)]; user_size_t namelen; char namelen_r_[PADR_(user_size_t)]; |
1028 | char old_l_[PADL_(user_addr_t)]; user_addr_t old; char old_r_[PADR_(user_addr_t)]; |
1029 | char oldlenp_l_[PADL_(user_addr_t)]; user_addr_t oldlenp; char oldlenp_r_[PADR_(user_addr_t)]; |
1030 | char new_l_[PADL_(user_addr_t)]; user_addr_t new; char new_r_[PADR_(user_addr_t)]; |
1031 | char newlen_l_[PADL_(user_size_t)]; user_size_t newlen; char newlen_r_[PADR_(user_size_t)]; |
1032 | }; |
1033 | struct open_extended_args { |
1034 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
1035 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
1036 | char uid_l_[PADL_(uid_t)]; uid_t uid; char uid_r_[PADR_(uid_t)]; |
1037 | char gid_l_[PADL_(gid_t)]; gid_t gid; char gid_r_[PADR_(gid_t)]; |
1038 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; |
1039 | char xsecurity_l_[PADL_(user_addr_t)]; user_addr_t xsecurity; char xsecurity_r_[PADR_(user_addr_t)]; |
1040 | }; |
1041 | struct umask_extended_args { |
1042 | char newmask_l_[PADL_(int)]; int newmask; char newmask_r_[PADR_(int)]; |
1043 | char xsecurity_l_[PADL_(user_addr_t)]; user_addr_t xsecurity; char xsecurity_r_[PADR_(user_addr_t)]; |
1044 | }; |
1045 | struct stat_extended_args { |
1046 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
1047 | char ub_l_[PADL_(user_addr_t)]; user_addr_t ub; char ub_r_[PADR_(user_addr_t)]; |
1048 | char xsecurity_l_[PADL_(user_addr_t)]; user_addr_t xsecurity; char xsecurity_r_[PADR_(user_addr_t)]; |
1049 | char xsecurity_size_l_[PADL_(user_addr_t)]; user_addr_t xsecurity_size; char xsecurity_size_r_[PADR_(user_addr_t)]; |
1050 | }; |
1051 | struct lstat_extended_args { |
1052 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
1053 | char ub_l_[PADL_(user_addr_t)]; user_addr_t ub; char ub_r_[PADR_(user_addr_t)]; |
1054 | char xsecurity_l_[PADL_(user_addr_t)]; user_addr_t xsecurity; char xsecurity_r_[PADR_(user_addr_t)]; |
1055 | char xsecurity_size_l_[PADL_(user_addr_t)]; user_addr_t xsecurity_size; char xsecurity_size_r_[PADR_(user_addr_t)]; |
1056 | }; |
1057 | struct fstat_extended_args { |
1058 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
1059 | char ub_l_[PADL_(user_addr_t)]; user_addr_t ub; char ub_r_[PADR_(user_addr_t)]; |
1060 | char xsecurity_l_[PADL_(user_addr_t)]; user_addr_t xsecurity; char xsecurity_r_[PADR_(user_addr_t)]; |
1061 | char xsecurity_size_l_[PADL_(user_addr_t)]; user_addr_t xsecurity_size; char xsecurity_size_r_[PADR_(user_addr_t)]; |
1062 | }; |
1063 | struct chmod_extended_args { |
1064 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
1065 | char uid_l_[PADL_(uid_t)]; uid_t uid; char uid_r_[PADR_(uid_t)]; |
1066 | char gid_l_[PADL_(gid_t)]; gid_t gid; char gid_r_[PADR_(gid_t)]; |
1067 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; |
1068 | char xsecurity_l_[PADL_(user_addr_t)]; user_addr_t xsecurity; char xsecurity_r_[PADR_(user_addr_t)]; |
1069 | }; |
1070 | struct fchmod_extended_args { |
1071 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
1072 | char uid_l_[PADL_(uid_t)]; uid_t uid; char uid_r_[PADR_(uid_t)]; |
1073 | char gid_l_[PADL_(gid_t)]; gid_t gid; char gid_r_[PADR_(gid_t)]; |
1074 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; |
1075 | char xsecurity_l_[PADL_(user_addr_t)]; user_addr_t xsecurity; char xsecurity_r_[PADR_(user_addr_t)]; |
1076 | }; |
1077 | struct access_extended_args { |
1078 | char entries_l_[PADL_(user_addr_t)]; user_addr_t entries; char entries_r_[PADR_(user_addr_t)]; |
1079 | char size_l_[PADL_(user_size_t)]; user_size_t size; char size_r_[PADR_(user_size_t)]; |
1080 | char results_l_[PADL_(user_addr_t)]; user_addr_t results; char results_r_[PADR_(user_addr_t)]; |
1081 | char uid_l_[PADL_(uid_t)]; uid_t uid; char uid_r_[PADR_(uid_t)]; |
1082 | }; |
1083 | struct settid_args { |
1084 | char uid_l_[PADL_(uid_t)]; uid_t uid; char uid_r_[PADR_(uid_t)]; |
1085 | char gid_l_[PADL_(gid_t)]; gid_t gid; char gid_r_[PADR_(gid_t)]; |
1086 | }; |
1087 | struct gettid_args { |
1088 | char uidp_l_[PADL_(user_addr_t)]; user_addr_t uidp; char uidp_r_[PADR_(user_addr_t)]; |
1089 | char gidp_l_[PADL_(user_addr_t)]; user_addr_t gidp; char gidp_r_[PADR_(user_addr_t)]; |
1090 | }; |
1091 | struct setsgroups_args { |
1092 | char setlen_l_[PADL_(int)]; int setlen; char setlen_r_[PADR_(int)]; |
1093 | char guidset_l_[PADL_(user_addr_t)]; user_addr_t guidset; char guidset_r_[PADR_(user_addr_t)]; |
1094 | }; |
1095 | struct getsgroups_args { |
1096 | char setlen_l_[PADL_(user_addr_t)]; user_addr_t setlen; char setlen_r_[PADR_(user_addr_t)]; |
1097 | char guidset_l_[PADL_(user_addr_t)]; user_addr_t guidset; char guidset_r_[PADR_(user_addr_t)]; |
1098 | }; |
1099 | struct setwgroups_args { |
1100 | char setlen_l_[PADL_(int)]; int setlen; char setlen_r_[PADR_(int)]; |
1101 | char guidset_l_[PADL_(user_addr_t)]; user_addr_t guidset; char guidset_r_[PADR_(user_addr_t)]; |
1102 | }; |
1103 | struct getwgroups_args { |
1104 | char setlen_l_[PADL_(user_addr_t)]; user_addr_t setlen; char setlen_r_[PADR_(user_addr_t)]; |
1105 | char guidset_l_[PADL_(user_addr_t)]; user_addr_t guidset; char guidset_r_[PADR_(user_addr_t)]; |
1106 | }; |
1107 | struct mkfifo_extended_args { |
1108 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
1109 | char uid_l_[PADL_(uid_t)]; uid_t uid; char uid_r_[PADR_(uid_t)]; |
1110 | char gid_l_[PADL_(gid_t)]; gid_t gid; char gid_r_[PADR_(gid_t)]; |
1111 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; |
1112 | char xsecurity_l_[PADL_(user_addr_t)]; user_addr_t xsecurity; char xsecurity_r_[PADR_(user_addr_t)]; |
1113 | }; |
1114 | struct mkdir_extended_args { |
1115 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
1116 | char uid_l_[PADL_(uid_t)]; uid_t uid; char uid_r_[PADR_(uid_t)]; |
1117 | char gid_l_[PADL_(gid_t)]; gid_t gid; char gid_r_[PADR_(gid_t)]; |
1118 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; |
1119 | char xsecurity_l_[PADL_(user_addr_t)]; user_addr_t xsecurity; char xsecurity_r_[PADR_(user_addr_t)]; |
1120 | }; |
1121 | #if CONFIG_EXT_RESOLVER |
1122 | struct identitysvc_args { |
1123 | char opcode_l_[PADL_(int)]; int opcode; char opcode_r_[PADR_(int)]; |
1124 | char message_l_[PADL_(user_addr_t)]; user_addr_t message; char message_r_[PADR_(user_addr_t)]; |
1125 | }; |
1126 | #else |
1127 | #endif |
1128 | struct shared_region_check_np_args { |
1129 | char start_address_l_[PADL_(user_addr_t)]; user_addr_t start_address; char start_address_r_[PADR_(user_addr_t)]; |
1130 | }; |
1131 | struct vm_pressure_monitor_args { |
1132 | char wait_for_pressure_l_[PADL_(int)]; int wait_for_pressure; char wait_for_pressure_r_[PADR_(int)]; |
1133 | char nsecs_monitored_l_[PADL_(int)]; int nsecs_monitored; char nsecs_monitored_r_[PADR_(int)]; |
1134 | char pages_reclaimed_l_[PADL_(user_addr_t)]; user_addr_t pages_reclaimed; char pages_reclaimed_r_[PADR_(user_addr_t)]; |
1135 | }; |
1136 | #if PSYNCH |
1137 | struct psynch_rw_longrdlock_args { |
1138 | char rwlock_l_[PADL_(user_addr_t)]; user_addr_t rwlock; char rwlock_r_[PADR_(user_addr_t)]; |
1139 | char lgenval_l_[PADL_(uint32_t)]; uint32_t lgenval; char lgenval_r_[PADR_(uint32_t)]; |
1140 | char ugenval_l_[PADL_(uint32_t)]; uint32_t ugenval; char ugenval_r_[PADR_(uint32_t)]; |
1141 | char rw_wc_l_[PADL_(uint32_t)]; uint32_t rw_wc; char rw_wc_r_[PADR_(uint32_t)]; |
1142 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
1143 | }; |
1144 | struct psynch_rw_yieldwrlock_args { |
1145 | char rwlock_l_[PADL_(user_addr_t)]; user_addr_t rwlock; char rwlock_r_[PADR_(user_addr_t)]; |
1146 | char lgenval_l_[PADL_(uint32_t)]; uint32_t lgenval; char lgenval_r_[PADR_(uint32_t)]; |
1147 | char ugenval_l_[PADL_(uint32_t)]; uint32_t ugenval; char ugenval_r_[PADR_(uint32_t)]; |
1148 | char rw_wc_l_[PADL_(uint32_t)]; uint32_t rw_wc; char rw_wc_r_[PADR_(uint32_t)]; |
1149 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
1150 | }; |
1151 | struct psynch_rw_downgrade_args { |
1152 | char rwlock_l_[PADL_(user_addr_t)]; user_addr_t rwlock; char rwlock_r_[PADR_(user_addr_t)]; |
1153 | char lgenval_l_[PADL_(uint32_t)]; uint32_t lgenval; char lgenval_r_[PADR_(uint32_t)]; |
1154 | char ugenval_l_[PADL_(uint32_t)]; uint32_t ugenval; char ugenval_r_[PADR_(uint32_t)]; |
1155 | char rw_wc_l_[PADL_(uint32_t)]; uint32_t rw_wc; char rw_wc_r_[PADR_(uint32_t)]; |
1156 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
1157 | }; |
1158 | struct psynch_rw_upgrade_args { |
1159 | char rwlock_l_[PADL_(user_addr_t)]; user_addr_t rwlock; char rwlock_r_[PADR_(user_addr_t)]; |
1160 | char lgenval_l_[PADL_(uint32_t)]; uint32_t lgenval; char lgenval_r_[PADR_(uint32_t)]; |
1161 | char ugenval_l_[PADL_(uint32_t)]; uint32_t ugenval; char ugenval_r_[PADR_(uint32_t)]; |
1162 | char rw_wc_l_[PADL_(uint32_t)]; uint32_t rw_wc; char rw_wc_r_[PADR_(uint32_t)]; |
1163 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
1164 | }; |
1165 | struct psynch_mutexwait_args { |
1166 | char mutex_l_[PADL_(user_addr_t)]; user_addr_t mutex; char mutex_r_[PADR_(user_addr_t)]; |
1167 | char mgen_l_[PADL_(uint32_t)]; uint32_t mgen; char mgen_r_[PADR_(uint32_t)]; |
1168 | char ugen_l_[PADL_(uint32_t)]; uint32_t ugen; char ugen_r_[PADR_(uint32_t)]; |
1169 | char tid_l_[PADL_(uint64_t)]; uint64_t tid; char tid_r_[PADR_(uint64_t)]; |
1170 | char flags_l_[PADL_(uint32_t)]; uint32_t flags; char flags_r_[PADR_(uint32_t)]; |
1171 | }; |
1172 | struct psynch_mutexdrop_args { |
1173 | char mutex_l_[PADL_(user_addr_t)]; user_addr_t mutex; char mutex_r_[PADR_(user_addr_t)]; |
1174 | char mgen_l_[PADL_(uint32_t)]; uint32_t mgen; char mgen_r_[PADR_(uint32_t)]; |
1175 | char ugen_l_[PADL_(uint32_t)]; uint32_t ugen; char ugen_r_[PADR_(uint32_t)]; |
1176 | char tid_l_[PADL_(uint64_t)]; uint64_t tid; char tid_r_[PADR_(uint64_t)]; |
1177 | char flags_l_[PADL_(uint32_t)]; uint32_t flags; char flags_r_[PADR_(uint32_t)]; |
1178 | }; |
1179 | struct psynch_cvbroad_args { |
1180 | char cv_l_[PADL_(user_addr_t)]; user_addr_t cv; char cv_r_[PADR_(user_addr_t)]; |
1181 | char cvlsgen_l_[PADL_(uint64_t)]; uint64_t cvlsgen; char cvlsgen_r_[PADR_(uint64_t)]; |
1182 | char cvudgen_l_[PADL_(uint64_t)]; uint64_t cvudgen; char cvudgen_r_[PADR_(uint64_t)]; |
1183 | char flags_l_[PADL_(uint32_t)]; uint32_t flags; char flags_r_[PADR_(uint32_t)]; |
1184 | char mutex_l_[PADL_(user_addr_t)]; user_addr_t mutex; char mutex_r_[PADR_(user_addr_t)]; |
1185 | char mugen_l_[PADL_(uint64_t)]; uint64_t mugen; char mugen_r_[PADR_(uint64_t)]; |
1186 | char tid_l_[PADL_(uint64_t)]; uint64_t tid; char tid_r_[PADR_(uint64_t)]; |
1187 | }; |
1188 | struct psynch_cvsignal_args { |
1189 | char cv_l_[PADL_(user_addr_t)]; user_addr_t cv; char cv_r_[PADR_(user_addr_t)]; |
1190 | char cvlsgen_l_[PADL_(uint64_t)]; uint64_t cvlsgen; char cvlsgen_r_[PADR_(uint64_t)]; |
1191 | char cvugen_l_[PADL_(uint32_t)]; uint32_t cvugen; char cvugen_r_[PADR_(uint32_t)]; |
1192 | char thread_port_l_[PADL_(int)]; int thread_port; char thread_port_r_[PADR_(int)]; |
1193 | char mutex_l_[PADL_(user_addr_t)]; user_addr_t mutex; char mutex_r_[PADR_(user_addr_t)]; |
1194 | char mugen_l_[PADL_(uint64_t)]; uint64_t mugen; char mugen_r_[PADR_(uint64_t)]; |
1195 | char tid_l_[PADL_(uint64_t)]; uint64_t tid; char tid_r_[PADR_(uint64_t)]; |
1196 | char flags_l_[PADL_(uint32_t)]; uint32_t flags; char flags_r_[PADR_(uint32_t)]; |
1197 | }; |
1198 | struct psynch_cvwait_args { |
1199 | char cv_l_[PADL_(user_addr_t)]; user_addr_t cv; char cv_r_[PADR_(user_addr_t)]; |
1200 | char cvlsgen_l_[PADL_(uint64_t)]; uint64_t cvlsgen; char cvlsgen_r_[PADR_(uint64_t)]; |
1201 | char cvugen_l_[PADL_(uint32_t)]; uint32_t cvugen; char cvugen_r_[PADR_(uint32_t)]; |
1202 | char mutex_l_[PADL_(user_addr_t)]; user_addr_t mutex; char mutex_r_[PADR_(user_addr_t)]; |
1203 | char mugen_l_[PADL_(uint64_t)]; uint64_t mugen; char mugen_r_[PADR_(uint64_t)]; |
1204 | char flags_l_[PADL_(uint32_t)]; uint32_t flags; char flags_r_[PADR_(uint32_t)]; |
1205 | char sec_l_[PADL_(int64_t)]; int64_t sec; char sec_r_[PADR_(int64_t)]; |
1206 | char nsec_l_[PADL_(uint32_t)]; uint32_t nsec; char nsec_r_[PADR_(uint32_t)]; |
1207 | }; |
1208 | struct psynch_rw_rdlock_args { |
1209 | char rwlock_l_[PADL_(user_addr_t)]; user_addr_t rwlock; char rwlock_r_[PADR_(user_addr_t)]; |
1210 | char lgenval_l_[PADL_(uint32_t)]; uint32_t lgenval; char lgenval_r_[PADR_(uint32_t)]; |
1211 | char ugenval_l_[PADL_(uint32_t)]; uint32_t ugenval; char ugenval_r_[PADR_(uint32_t)]; |
1212 | char rw_wc_l_[PADL_(uint32_t)]; uint32_t rw_wc; char rw_wc_r_[PADR_(uint32_t)]; |
1213 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
1214 | }; |
1215 | struct psynch_rw_wrlock_args { |
1216 | char rwlock_l_[PADL_(user_addr_t)]; user_addr_t rwlock; char rwlock_r_[PADR_(user_addr_t)]; |
1217 | char lgenval_l_[PADL_(uint32_t)]; uint32_t lgenval; char lgenval_r_[PADR_(uint32_t)]; |
1218 | char ugenval_l_[PADL_(uint32_t)]; uint32_t ugenval; char ugenval_r_[PADR_(uint32_t)]; |
1219 | char rw_wc_l_[PADL_(uint32_t)]; uint32_t rw_wc; char rw_wc_r_[PADR_(uint32_t)]; |
1220 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
1221 | }; |
1222 | struct psynch_rw_unlock_args { |
1223 | char rwlock_l_[PADL_(user_addr_t)]; user_addr_t rwlock; char rwlock_r_[PADR_(user_addr_t)]; |
1224 | char lgenval_l_[PADL_(uint32_t)]; uint32_t lgenval; char lgenval_r_[PADR_(uint32_t)]; |
1225 | char ugenval_l_[PADL_(uint32_t)]; uint32_t ugenval; char ugenval_r_[PADR_(uint32_t)]; |
1226 | char rw_wc_l_[PADL_(uint32_t)]; uint32_t rw_wc; char rw_wc_r_[PADR_(uint32_t)]; |
1227 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
1228 | }; |
1229 | struct psynch_rw_unlock2_args { |
1230 | char rwlock_l_[PADL_(user_addr_t)]; user_addr_t rwlock; char rwlock_r_[PADR_(user_addr_t)]; |
1231 | char lgenval_l_[PADL_(uint32_t)]; uint32_t lgenval; char lgenval_r_[PADR_(uint32_t)]; |
1232 | char ugenval_l_[PADL_(uint32_t)]; uint32_t ugenval; char ugenval_r_[PADR_(uint32_t)]; |
1233 | char rw_wc_l_[PADL_(uint32_t)]; uint32_t rw_wc; char rw_wc_r_[PADR_(uint32_t)]; |
1234 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
1235 | }; |
1236 | #else |
1237 | #endif |
1238 | struct getsid_args { |
1239 | char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)]; |
1240 | }; |
1241 | struct settid_with_pid_args { |
1242 | char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)]; |
1243 | char assume_l_[PADL_(int)]; int assume; char assume_r_[PADR_(int)]; |
1244 | }; |
1245 | #if PSYNCH |
1246 | struct psynch_cvclrprepost_args { |
1247 | char cv_l_[PADL_(user_addr_t)]; user_addr_t cv; char cv_r_[PADR_(user_addr_t)]; |
1248 | char cvgen_l_[PADL_(uint32_t)]; uint32_t cvgen; char cvgen_r_[PADR_(uint32_t)]; |
1249 | char cvugen_l_[PADL_(uint32_t)]; uint32_t cvugen; char cvugen_r_[PADR_(uint32_t)]; |
1250 | char cvsgen_l_[PADL_(uint32_t)]; uint32_t cvsgen; char cvsgen_r_[PADR_(uint32_t)]; |
1251 | char prepocnt_l_[PADL_(uint32_t)]; uint32_t prepocnt; char prepocnt_r_[PADR_(uint32_t)]; |
1252 | char preposeq_l_[PADL_(uint32_t)]; uint32_t preposeq; char preposeq_r_[PADR_(uint32_t)]; |
1253 | char flags_l_[PADL_(uint32_t)]; uint32_t flags; char flags_r_[PADR_(uint32_t)]; |
1254 | }; |
1255 | #else |
1256 | #endif |
1257 | struct aio_fsync_args { |
1258 | char op_l_[PADL_(int)]; int op; char op_r_[PADR_(int)]; |
1259 | char aiocbp_l_[PADL_(user_addr_t)]; user_addr_t aiocbp; char aiocbp_r_[PADR_(user_addr_t)]; |
1260 | }; |
1261 | struct aio_return_args { |
1262 | char aiocbp_l_[PADL_(user_addr_t)]; user_addr_t aiocbp; char aiocbp_r_[PADR_(user_addr_t)]; |
1263 | }; |
1264 | struct aio_suspend_args { |
1265 | char aiocblist_l_[PADL_(user_addr_t)]; user_addr_t aiocblist; char aiocblist_r_[PADR_(user_addr_t)]; |
1266 | char nent_l_[PADL_(int)]; int nent; char nent_r_[PADR_(int)]; |
1267 | char timeoutp_l_[PADL_(user_addr_t)]; user_addr_t timeoutp; char timeoutp_r_[PADR_(user_addr_t)]; |
1268 | }; |
1269 | struct aio_cancel_args { |
1270 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
1271 | char aiocbp_l_[PADL_(user_addr_t)]; user_addr_t aiocbp; char aiocbp_r_[PADR_(user_addr_t)]; |
1272 | }; |
1273 | struct aio_error_args { |
1274 | char aiocbp_l_[PADL_(user_addr_t)]; user_addr_t aiocbp; char aiocbp_r_[PADR_(user_addr_t)]; |
1275 | }; |
1276 | struct aio_read_args { |
1277 | char aiocbp_l_[PADL_(user_addr_t)]; user_addr_t aiocbp; char aiocbp_r_[PADR_(user_addr_t)]; |
1278 | }; |
1279 | struct aio_write_args { |
1280 | char aiocbp_l_[PADL_(user_addr_t)]; user_addr_t aiocbp; char aiocbp_r_[PADR_(user_addr_t)]; |
1281 | }; |
1282 | struct lio_listio_args { |
1283 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; |
1284 | char aiocblist_l_[PADL_(user_addr_t)]; user_addr_t aiocblist; char aiocblist_r_[PADR_(user_addr_t)]; |
1285 | char nent_l_[PADL_(int)]; int nent; char nent_r_[PADR_(int)]; |
1286 | char sigp_l_[PADL_(user_addr_t)]; user_addr_t sigp; char sigp_r_[PADR_(user_addr_t)]; |
1287 | }; |
1288 | struct iopolicysys_args { |
1289 | char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; |
1290 | char arg_l_[PADL_(user_addr_t)]; user_addr_t arg; char arg_r_[PADR_(user_addr_t)]; |
1291 | }; |
1292 | struct process_policy_args { |
1293 | char scope_l_[PADL_(int)]; int scope; char scope_r_[PADR_(int)]; |
1294 | char action_l_[PADL_(int)]; int action; char action_r_[PADR_(int)]; |
1295 | char policy_l_[PADL_(int)]; int policy; char policy_r_[PADR_(int)]; |
1296 | char policy_subtype_l_[PADL_(int)]; int policy_subtype; char policy_subtype_r_[PADR_(int)]; |
1297 | char attrp_l_[PADL_(user_addr_t)]; user_addr_t attrp; char attrp_r_[PADR_(user_addr_t)]; |
1298 | char target_pid_l_[PADL_(pid_t)]; pid_t target_pid; char target_pid_r_[PADR_(pid_t)]; |
1299 | char target_threadid_l_[PADL_(uint64_t)]; uint64_t target_threadid; char target_threadid_r_[PADR_(uint64_t)]; |
1300 | }; |
1301 | struct mlockall_args { |
1302 | char how_l_[PADL_(int)]; int how; char how_r_[PADR_(int)]; |
1303 | }; |
1304 | struct munlockall_args { |
1305 | char how_l_[PADL_(int)]; int how; char how_r_[PADR_(int)]; |
1306 | }; |
1307 | struct issetugid_args { |
1308 | int32_t dummy; |
1309 | }; |
1310 | struct __pthread_kill_args { |
1311 | char thread_port_l_[PADL_(int)]; int thread_port; char thread_port_r_[PADR_(int)]; |
1312 | char sig_l_[PADL_(int)]; int sig; char sig_r_[PADR_(int)]; |
1313 | }; |
1314 | struct __pthread_sigmask_args { |
1315 | char how_l_[PADL_(int)]; int how; char how_r_[PADR_(int)]; |
1316 | char set_l_[PADL_(user_addr_t)]; user_addr_t set; char set_r_[PADR_(user_addr_t)]; |
1317 | char oset_l_[PADL_(user_addr_t)]; user_addr_t oset; char oset_r_[PADR_(user_addr_t)]; |
1318 | }; |
1319 | struct __sigwait_args { |
1320 | char set_l_[PADL_(user_addr_t)]; user_addr_t set; char set_r_[PADR_(user_addr_t)]; |
1321 | char sig_l_[PADL_(user_addr_t)]; user_addr_t sig; char sig_r_[PADR_(user_addr_t)]; |
1322 | }; |
1323 | struct __disable_threadsignal_args { |
1324 | char value_l_[PADL_(int)]; int value; char value_r_[PADR_(int)]; |
1325 | }; |
1326 | struct __pthread_markcancel_args { |
1327 | char thread_port_l_[PADL_(int)]; int thread_port; char thread_port_r_[PADR_(int)]; |
1328 | }; |
1329 | struct __pthread_canceled_args { |
1330 | char action_l_[PADL_(int)]; int action; char action_r_[PADR_(int)]; |
1331 | }; |
1332 | struct __semwait_signal_args { |
1333 | char cond_sem_l_[PADL_(int)]; int cond_sem; char cond_sem_r_[PADR_(int)]; |
1334 | char mutex_sem_l_[PADL_(int)]; int mutex_sem; char mutex_sem_r_[PADR_(int)]; |
1335 | char timeout_l_[PADL_(int)]; int timeout; char timeout_r_[PADR_(int)]; |
1336 | char relative_l_[PADL_(int)]; int relative; char relative_r_[PADR_(int)]; |
1337 | char tv_sec_l_[PADL_(int64_t)]; int64_t tv_sec; char tv_sec_r_[PADR_(int64_t)]; |
1338 | char tv_nsec_l_[PADL_(int32_t)]; int32_t tv_nsec; char tv_nsec_r_[PADR_(int32_t)]; |
1339 | }; |
1340 | struct proc_info_args { |
1341 | char callnum_l_[PADL_(int32_t)]; int32_t callnum; char callnum_r_[PADR_(int32_t)]; |
1342 | char pid_l_[PADL_(int32_t)]; int32_t pid; char pid_r_[PADR_(int32_t)]; |
1343 | char flavor_l_[PADL_(uint32_t)]; uint32_t flavor; char flavor_r_[PADR_(uint32_t)]; |
1344 | char arg_l_[PADL_(uint64_t)]; uint64_t arg; char arg_r_[PADR_(uint64_t)]; |
1345 | char buffer_l_[PADL_(user_addr_t)]; user_addr_t buffer; char buffer_r_[PADR_(user_addr_t)]; |
1346 | char buffersize_l_[PADL_(int32_t)]; int32_t buffersize; char buffersize_r_[PADR_(int32_t)]; |
1347 | }; |
1348 | #if SENDFILE |
1349 | struct sendfile_args { |
1350 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
1351 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; |
1352 | char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)]; |
1353 | char nbytes_l_[PADL_(user_addr_t)]; user_addr_t nbytes; char nbytes_r_[PADR_(user_addr_t)]; |
1354 | char hdtr_l_[PADL_(user_addr_t)]; user_addr_t hdtr; char hdtr_r_[PADR_(user_addr_t)]; |
1355 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
1356 | }; |
1357 | #else /* !SENDFILE */ |
1358 | #endif /* SENDFILE */ |
1359 | struct stat64_args { |
1360 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
1361 | char ub_l_[PADL_(user_addr_t)]; user_addr_t ub; char ub_r_[PADR_(user_addr_t)]; |
1362 | }; |
1363 | struct fstat64_args { |
1364 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
1365 | char ub_l_[PADL_(user_addr_t)]; user_addr_t ub; char ub_r_[PADR_(user_addr_t)]; |
1366 | }; |
1367 | struct lstat64_args { |
1368 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
1369 | char ub_l_[PADL_(user_addr_t)]; user_addr_t ub; char ub_r_[PADR_(user_addr_t)]; |
1370 | }; |
1371 | struct stat64_extended_args { |
1372 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
1373 | char ub_l_[PADL_(user_addr_t)]; user_addr_t ub; char ub_r_[PADR_(user_addr_t)]; |
1374 | char xsecurity_l_[PADL_(user_addr_t)]; user_addr_t xsecurity; char xsecurity_r_[PADR_(user_addr_t)]; |
1375 | char xsecurity_size_l_[PADL_(user_addr_t)]; user_addr_t xsecurity_size; char xsecurity_size_r_[PADR_(user_addr_t)]; |
1376 | }; |
1377 | struct lstat64_extended_args { |
1378 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
1379 | char ub_l_[PADL_(user_addr_t)]; user_addr_t ub; char ub_r_[PADR_(user_addr_t)]; |
1380 | char xsecurity_l_[PADL_(user_addr_t)]; user_addr_t xsecurity; char xsecurity_r_[PADR_(user_addr_t)]; |
1381 | char xsecurity_size_l_[PADL_(user_addr_t)]; user_addr_t xsecurity_size; char xsecurity_size_r_[PADR_(user_addr_t)]; |
1382 | }; |
1383 | struct fstat64_extended_args { |
1384 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
1385 | char ub_l_[PADL_(user_addr_t)]; user_addr_t ub; char ub_r_[PADR_(user_addr_t)]; |
1386 | char xsecurity_l_[PADL_(user_addr_t)]; user_addr_t xsecurity; char xsecurity_r_[PADR_(user_addr_t)]; |
1387 | char xsecurity_size_l_[PADL_(user_addr_t)]; user_addr_t xsecurity_size; char xsecurity_size_r_[PADR_(user_addr_t)]; |
1388 | }; |
1389 | struct getdirentries64_args { |
1390 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
1391 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; |
1392 | char bufsize_l_[PADL_(user_size_t)]; user_size_t bufsize; char bufsize_r_[PADR_(user_size_t)]; |
1393 | char position_l_[PADL_(user_addr_t)]; user_addr_t position; char position_r_[PADR_(user_addr_t)]; |
1394 | }; |
1395 | struct statfs64_args { |
1396 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
1397 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; |
1398 | }; |
1399 | struct fstatfs64_args { |
1400 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
1401 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; |
1402 | }; |
1403 | struct getfsstat64_args { |
1404 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; |
1405 | char bufsize_l_[PADL_(int)]; int bufsize; char bufsize_r_[PADR_(int)]; |
1406 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
1407 | }; |
1408 | struct __pthread_chdir_args { |
1409 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
1410 | }; |
1411 | struct __pthread_fchdir_args { |
1412 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
1413 | }; |
1414 | struct audit_args { |
1415 | char record_l_[PADL_(user_addr_t)]; user_addr_t record; char record_r_[PADR_(user_addr_t)]; |
1416 | char length_l_[PADL_(int)]; int length; char length_r_[PADR_(int)]; |
1417 | }; |
1418 | struct auditon_args { |
1419 | char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; |
1420 | char data_l_[PADL_(user_addr_t)]; user_addr_t data; char data_r_[PADR_(user_addr_t)]; |
1421 | char length_l_[PADL_(int)]; int length; char length_r_[PADR_(int)]; |
1422 | }; |
1423 | struct getauid_args { |
1424 | char auid_l_[PADL_(user_addr_t)]; user_addr_t auid; char auid_r_[PADR_(user_addr_t)]; |
1425 | }; |
1426 | struct setauid_args { |
1427 | char auid_l_[PADL_(user_addr_t)]; user_addr_t auid; char auid_r_[PADR_(user_addr_t)]; |
1428 | }; |
1429 | struct getaudit_addr_args { |
1430 | char auditinfo_addr_l_[PADL_(user_addr_t)]; user_addr_t auditinfo_addr; char auditinfo_addr_r_[PADR_(user_addr_t)]; |
1431 | char length_l_[PADL_(int)]; int length; char length_r_[PADR_(int)]; |
1432 | }; |
1433 | struct setaudit_addr_args { |
1434 | char auditinfo_addr_l_[PADL_(user_addr_t)]; user_addr_t auditinfo_addr; char auditinfo_addr_r_[PADR_(user_addr_t)]; |
1435 | char length_l_[PADL_(int)]; int length; char length_r_[PADR_(int)]; |
1436 | }; |
1437 | struct auditctl_args { |
1438 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
1439 | }; |
1440 | struct bsdthread_create_args { |
1441 | char func_l_[PADL_(user_addr_t)]; user_addr_t func; char func_r_[PADR_(user_addr_t)]; |
1442 | char func_arg_l_[PADL_(user_addr_t)]; user_addr_t func_arg; char func_arg_r_[PADR_(user_addr_t)]; |
1443 | char stack_l_[PADL_(user_addr_t)]; user_addr_t stack; char stack_r_[PADR_(user_addr_t)]; |
1444 | char pthread_l_[PADL_(user_addr_t)]; user_addr_t pthread; char pthread_r_[PADR_(user_addr_t)]; |
1445 | char flags_l_[PADL_(uint32_t)]; uint32_t flags; char flags_r_[PADR_(uint32_t)]; |
1446 | }; |
1447 | struct bsdthread_terminate_args { |
1448 | char stackaddr_l_[PADL_(user_addr_t)]; user_addr_t stackaddr; char stackaddr_r_[PADR_(user_addr_t)]; |
1449 | char freesize_l_[PADL_(user_size_t)]; user_size_t freesize; char freesize_r_[PADR_(user_size_t)]; |
1450 | char port_l_[PADL_(uint32_t)]; uint32_t port; char port_r_[PADR_(uint32_t)]; |
1451 | char sema_or_ulock_l_[PADL_(user_addr_t)]; user_addr_t sema_or_ulock; char sema_or_ulock_r_[PADR_(user_addr_t)]; |
1452 | }; |
1453 | struct kqueue_args { |
1454 | int32_t dummy; |
1455 | }; |
1456 | struct kevent_args { |
1457 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
1458 | char changelist_l_[PADL_(user_addr_t)]; user_addr_t changelist; char changelist_r_[PADR_(user_addr_t)]; |
1459 | char nchanges_l_[PADL_(int)]; int nchanges; char nchanges_r_[PADR_(int)]; |
1460 | char eventlist_l_[PADL_(user_addr_t)]; user_addr_t eventlist; char eventlist_r_[PADR_(user_addr_t)]; |
1461 | char nevents_l_[PADL_(int)]; int nevents; char nevents_r_[PADR_(int)]; |
1462 | char timeout_l_[PADL_(user_addr_t)]; user_addr_t timeout; char timeout_r_[PADR_(user_addr_t)]; |
1463 | }; |
1464 | struct lchown_args { |
1465 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
1466 | char owner_l_[PADL_(uid_t)]; uid_t owner; char owner_r_[PADR_(uid_t)]; |
1467 | char group_l_[PADL_(gid_t)]; gid_t group; char group_r_[PADR_(gid_t)]; |
1468 | }; |
1469 | struct bsdthread_register_args { |
1470 | char threadstart_l_[PADL_(user_addr_t)]; user_addr_t threadstart; char threadstart_r_[PADR_(user_addr_t)]; |
1471 | char wqthread_l_[PADL_(user_addr_t)]; user_addr_t wqthread; char wqthread_r_[PADR_(user_addr_t)]; |
1472 | char flags_l_[PADL_(uint32_t)]; uint32_t flags; char flags_r_[PADR_(uint32_t)]; |
1473 | char stack_addr_hint_l_[PADL_(user_addr_t)]; user_addr_t stack_addr_hint; char stack_addr_hint_r_[PADR_(user_addr_t)]; |
1474 | char targetconc_ptr_l_[PADL_(user_addr_t)]; user_addr_t targetconc_ptr; char targetconc_ptr_r_[PADR_(user_addr_t)]; |
1475 | char dispatchqueue_offset_l_[PADL_(uint32_t)]; uint32_t dispatchqueue_offset; char dispatchqueue_offset_r_[PADR_(uint32_t)]; |
1476 | char tsd_offset_l_[PADL_(uint32_t)]; uint32_t tsd_offset; char tsd_offset_r_[PADR_(uint32_t)]; |
1477 | }; |
1478 | struct workq_open_args { |
1479 | int32_t dummy; |
1480 | }; |
1481 | struct workq_kernreturn_args { |
1482 | char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)]; |
1483 | char item_l_[PADL_(user_addr_t)]; user_addr_t item; char item_r_[PADR_(user_addr_t)]; |
1484 | char affinity_l_[PADL_(int)]; int affinity; char affinity_r_[PADR_(int)]; |
1485 | char prio_l_[PADL_(int)]; int prio; char prio_r_[PADR_(int)]; |
1486 | }; |
1487 | struct kevent64_args { |
1488 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
1489 | char changelist_l_[PADL_(user_addr_t)]; user_addr_t changelist; char changelist_r_[PADR_(user_addr_t)]; |
1490 | char nchanges_l_[PADL_(int)]; int nchanges; char nchanges_r_[PADR_(int)]; |
1491 | char eventlist_l_[PADL_(user_addr_t)]; user_addr_t eventlist; char eventlist_r_[PADR_(user_addr_t)]; |
1492 | char nevents_l_[PADL_(int)]; int nevents; char nevents_r_[PADR_(int)]; |
1493 | char flags_l_[PADL_(unsigned int)]; unsigned int flags; char flags_r_[PADR_(unsigned int)]; |
1494 | char timeout_l_[PADL_(user_addr_t)]; user_addr_t timeout; char timeout_r_[PADR_(user_addr_t)]; |
1495 | }; |
1496 | struct thread_selfid_args { |
1497 | int32_t dummy; |
1498 | }; |
1499 | struct ledger_args { |
1500 | char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; |
1501 | char arg1_l_[PADL_(user_addr_t)]; user_addr_t arg1; char arg1_r_[PADR_(user_addr_t)]; |
1502 | char arg2_l_[PADL_(user_addr_t)]; user_addr_t arg2; char arg2_r_[PADR_(user_addr_t)]; |
1503 | char arg3_l_[PADL_(user_addr_t)]; user_addr_t arg3; char arg3_r_[PADR_(user_addr_t)]; |
1504 | }; |
1505 | struct kevent_qos_args { |
1506 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
1507 | char changelist_l_[PADL_(user_addr_t)]; user_addr_t changelist; char changelist_r_[PADR_(user_addr_t)]; |
1508 | char nchanges_l_[PADL_(int)]; int nchanges; char nchanges_r_[PADR_(int)]; |
1509 | char eventlist_l_[PADL_(user_addr_t)]; user_addr_t eventlist; char eventlist_r_[PADR_(user_addr_t)]; |
1510 | char nevents_l_[PADL_(int)]; int nevents; char nevents_r_[PADR_(int)]; |
1511 | char data_out_l_[PADL_(user_addr_t)]; user_addr_t data_out; char data_out_r_[PADR_(user_addr_t)]; |
1512 | char data_available_l_[PADL_(user_addr_t)]; user_addr_t data_available; char data_available_r_[PADR_(user_addr_t)]; |
1513 | char flags_l_[PADL_(unsigned int)]; unsigned int flags; char flags_r_[PADR_(unsigned int)]; |
1514 | }; |
1515 | struct kevent_id_args { |
1516 | char id_l_[PADL_(uint64_t)]; uint64_t id; char id_r_[PADR_(uint64_t)]; |
1517 | char changelist_l_[PADL_(user_addr_t)]; user_addr_t changelist; char changelist_r_[PADR_(user_addr_t)]; |
1518 | char nchanges_l_[PADL_(int)]; int nchanges; char nchanges_r_[PADR_(int)]; |
1519 | char eventlist_l_[PADL_(user_addr_t)]; user_addr_t eventlist; char eventlist_r_[PADR_(user_addr_t)]; |
1520 | char nevents_l_[PADL_(int)]; int nevents; char nevents_r_[PADR_(int)]; |
1521 | char data_out_l_[PADL_(user_addr_t)]; user_addr_t data_out; char data_out_r_[PADR_(user_addr_t)]; |
1522 | char data_available_l_[PADL_(user_addr_t)]; user_addr_t data_available; char data_available_r_[PADR_(user_addr_t)]; |
1523 | char flags_l_[PADL_(unsigned int)]; unsigned int flags; char flags_r_[PADR_(unsigned int)]; |
1524 | }; |
1525 | struct __mac_execve_args { |
1526 | char fname_l_[PADL_(user_addr_t)]; user_addr_t fname; char fname_r_[PADR_(user_addr_t)]; |
1527 | char argp_l_[PADL_(user_addr_t)]; user_addr_t argp; char argp_r_[PADR_(user_addr_t)]; |
1528 | char envp_l_[PADL_(user_addr_t)]; user_addr_t envp; char envp_r_[PADR_(user_addr_t)]; |
1529 | char mac_p_l_[PADL_(user_addr_t)]; user_addr_t mac_p; char mac_p_r_[PADR_(user_addr_t)]; |
1530 | }; |
1531 | #if CONFIG_MACF |
1532 | struct __mac_syscall_args { |
1533 | char policy_l_[PADL_(user_addr_t)]; user_addr_t policy; char policy_r_[PADR_(user_addr_t)]; |
1534 | char call_l_[PADL_(int)]; int call; char call_r_[PADR_(int)]; |
1535 | char arg_l_[PADL_(user_addr_t)]; user_addr_t arg; char arg_r_[PADR_(user_addr_t)]; |
1536 | }; |
1537 | struct __mac_get_file_args { |
1538 | char path_p_l_[PADL_(user_addr_t)]; user_addr_t path_p; char path_p_r_[PADR_(user_addr_t)]; |
1539 | char mac_p_l_[PADL_(user_addr_t)]; user_addr_t mac_p; char mac_p_r_[PADR_(user_addr_t)]; |
1540 | }; |
1541 | struct __mac_set_file_args { |
1542 | char path_p_l_[PADL_(user_addr_t)]; user_addr_t path_p; char path_p_r_[PADR_(user_addr_t)]; |
1543 | char mac_p_l_[PADL_(user_addr_t)]; user_addr_t mac_p; char mac_p_r_[PADR_(user_addr_t)]; |
1544 | }; |
1545 | struct __mac_get_link_args { |
1546 | char path_p_l_[PADL_(user_addr_t)]; user_addr_t path_p; char path_p_r_[PADR_(user_addr_t)]; |
1547 | char mac_p_l_[PADL_(user_addr_t)]; user_addr_t mac_p; char mac_p_r_[PADR_(user_addr_t)]; |
1548 | }; |
1549 | struct __mac_set_link_args { |
1550 | char path_p_l_[PADL_(user_addr_t)]; user_addr_t path_p; char path_p_r_[PADR_(user_addr_t)]; |
1551 | char mac_p_l_[PADL_(user_addr_t)]; user_addr_t mac_p; char mac_p_r_[PADR_(user_addr_t)]; |
1552 | }; |
1553 | struct __mac_get_proc_args { |
1554 | char mac_p_l_[PADL_(user_addr_t)]; user_addr_t mac_p; char mac_p_r_[PADR_(user_addr_t)]; |
1555 | }; |
1556 | struct __mac_set_proc_args { |
1557 | char mac_p_l_[PADL_(user_addr_t)]; user_addr_t mac_p; char mac_p_r_[PADR_(user_addr_t)]; |
1558 | }; |
1559 | struct __mac_get_fd_args { |
1560 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
1561 | char mac_p_l_[PADL_(user_addr_t)]; user_addr_t mac_p; char mac_p_r_[PADR_(user_addr_t)]; |
1562 | }; |
1563 | struct __mac_set_fd_args { |
1564 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
1565 | char mac_p_l_[PADL_(user_addr_t)]; user_addr_t mac_p; char mac_p_r_[PADR_(user_addr_t)]; |
1566 | }; |
1567 | struct __mac_get_pid_args { |
1568 | char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)]; |
1569 | char mac_p_l_[PADL_(user_addr_t)]; user_addr_t mac_p; char mac_p_r_[PADR_(user_addr_t)]; |
1570 | }; |
1571 | #else |
1572 | #endif |
1573 | struct pselect_args { |
1574 | char nd_l_[PADL_(int)]; int nd; char nd_r_[PADR_(int)]; |
1575 | char in_l_[PADL_(user_addr_t)]; user_addr_t in; char in_r_[PADR_(user_addr_t)]; |
1576 | char ou_l_[PADL_(user_addr_t)]; user_addr_t ou; char ou_r_[PADR_(user_addr_t)]; |
1577 | char ex_l_[PADL_(user_addr_t)]; user_addr_t ex; char ex_r_[PADR_(user_addr_t)]; |
1578 | char ts_l_[PADL_(user_addr_t)]; user_addr_t ts; char ts_r_[PADR_(user_addr_t)]; |
1579 | char mask_l_[PADL_(user_addr_t)]; user_addr_t mask; char mask_r_[PADR_(user_addr_t)]; |
1580 | }; |
1581 | struct pselect_nocancel_args { |
1582 | char nd_l_[PADL_(int)]; int nd; char nd_r_[PADR_(int)]; |
1583 | char in_l_[PADL_(user_addr_t)]; user_addr_t in; char in_r_[PADR_(user_addr_t)]; |
1584 | char ou_l_[PADL_(user_addr_t)]; user_addr_t ou; char ou_r_[PADR_(user_addr_t)]; |
1585 | char ex_l_[PADL_(user_addr_t)]; user_addr_t ex; char ex_r_[PADR_(user_addr_t)]; |
1586 | char ts_l_[PADL_(user_addr_t)]; user_addr_t ts; char ts_r_[PADR_(user_addr_t)]; |
1587 | char mask_l_[PADL_(user_addr_t)]; user_addr_t mask; char mask_r_[PADR_(user_addr_t)]; |
1588 | }; |
1589 | struct read_nocancel_args { |
1590 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
1591 | char cbuf_l_[PADL_(user_addr_t)]; user_addr_t cbuf; char cbuf_r_[PADR_(user_addr_t)]; |
1592 | char nbyte_l_[PADL_(user_size_t)]; user_size_t nbyte; char nbyte_r_[PADR_(user_size_t)]; |
1593 | }; |
1594 | struct write_nocancel_args { |
1595 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
1596 | char cbuf_l_[PADL_(user_addr_t)]; user_addr_t cbuf; char cbuf_r_[PADR_(user_addr_t)]; |
1597 | char nbyte_l_[PADL_(user_size_t)]; user_size_t nbyte; char nbyte_r_[PADR_(user_size_t)]; |
1598 | }; |
1599 | struct open_nocancel_args { |
1600 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
1601 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
1602 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; |
1603 | }; |
1604 | struct close_nocancel_args { |
1605 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
1606 | }; |
1607 | struct wait4_nocancel_args { |
1608 | char pid_l_[PADL_(int)]; int pid; char pid_r_[PADR_(int)]; |
1609 | char status_l_[PADL_(user_addr_t)]; user_addr_t status; char status_r_[PADR_(user_addr_t)]; |
1610 | char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)]; |
1611 | char rusage_l_[PADL_(user_addr_t)]; user_addr_t rusage; char rusage_r_[PADR_(user_addr_t)]; |
1612 | }; |
1613 | #if SOCKETS |
1614 | struct recvmsg_nocancel_args { |
1615 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; |
1616 | char msg_l_[PADL_(user_addr_t)]; user_addr_t msg; char msg_r_[PADR_(user_addr_t)]; |
1617 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
1618 | }; |
1619 | struct sendmsg_nocancel_args { |
1620 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; |
1621 | char msg_l_[PADL_(user_addr_t)]; user_addr_t msg; char msg_r_[PADR_(user_addr_t)]; |
1622 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
1623 | }; |
1624 | struct recvfrom_nocancel_args { |
1625 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; |
1626 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; |
1627 | char len_l_[PADL_(user_size_t)]; user_size_t len; char len_r_[PADR_(user_size_t)]; |
1628 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
1629 | char from_l_[PADL_(user_addr_t)]; user_addr_t from; char from_r_[PADR_(user_addr_t)]; |
1630 | char fromlenaddr_l_[PADL_(user_addr_t)]; user_addr_t fromlenaddr; char fromlenaddr_r_[PADR_(user_addr_t)]; |
1631 | }; |
1632 | struct accept_nocancel_args { |
1633 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; |
1634 | char name_l_[PADL_(user_addr_t)]; user_addr_t name; char name_r_[PADR_(user_addr_t)]; |
1635 | char anamelen_l_[PADL_(user_addr_t)]; user_addr_t anamelen; char anamelen_r_[PADR_(user_addr_t)]; |
1636 | }; |
1637 | #else |
1638 | #endif /* SOCKETS */ |
1639 | struct msync_nocancel_args { |
1640 | char addr_l_[PADL_(user_addr_t)]; user_addr_t addr; char addr_r_[PADR_(user_addr_t)]; |
1641 | char len_l_[PADL_(user_size_t)]; user_size_t len; char len_r_[PADR_(user_size_t)]; |
1642 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
1643 | }; |
1644 | struct fcntl_nocancel_args { |
1645 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
1646 | char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; |
1647 | char arg_l_[PADL_(user_long_t)]; user_long_t arg; char arg_r_[PADR_(user_long_t)]; |
1648 | }; |
1649 | struct select_nocancel_args { |
1650 | char nd_l_[PADL_(int)]; int nd; char nd_r_[PADR_(int)]; |
1651 | char in_l_[PADL_(user_addr_t)]; user_addr_t in; char in_r_[PADR_(user_addr_t)]; |
1652 | char ou_l_[PADL_(user_addr_t)]; user_addr_t ou; char ou_r_[PADR_(user_addr_t)]; |
1653 | char ex_l_[PADL_(user_addr_t)]; user_addr_t ex; char ex_r_[PADR_(user_addr_t)]; |
1654 | char tv_l_[PADL_(user_addr_t)]; user_addr_t tv; char tv_r_[PADR_(user_addr_t)]; |
1655 | }; |
1656 | struct fsync_nocancel_args { |
1657 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
1658 | }; |
1659 | #if SOCKETS |
1660 | struct connect_nocancel_args { |
1661 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; |
1662 | char name_l_[PADL_(user_addr_t)]; user_addr_t name; char name_r_[PADR_(user_addr_t)]; |
1663 | char namelen_l_[PADL_(socklen_t)]; socklen_t namelen; char namelen_r_[PADR_(socklen_t)]; |
1664 | }; |
1665 | #else |
1666 | #endif /* SOCKETS */ |
1667 | struct sigsuspend_nocancel_args { |
1668 | char mask_l_[PADL_(sigset_t)]; sigset_t mask; char mask_r_[PADR_(sigset_t)]; |
1669 | }; |
1670 | struct readv_nocancel_args { |
1671 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
1672 | char iovp_l_[PADL_(user_addr_t)]; user_addr_t iovp; char iovp_r_[PADR_(user_addr_t)]; |
1673 | char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)]; |
1674 | }; |
1675 | struct writev_nocancel_args { |
1676 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
1677 | char iovp_l_[PADL_(user_addr_t)]; user_addr_t iovp; char iovp_r_[PADR_(user_addr_t)]; |
1678 | char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)]; |
1679 | }; |
1680 | #if SOCKETS |
1681 | struct sendto_nocancel_args { |
1682 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; |
1683 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; |
1684 | char len_l_[PADL_(user_size_t)]; user_size_t len; char len_r_[PADR_(user_size_t)]; |
1685 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
1686 | char to_l_[PADL_(user_addr_t)]; user_addr_t to; char to_r_[PADR_(user_addr_t)]; |
1687 | char tolen_l_[PADL_(socklen_t)]; socklen_t tolen; char tolen_r_[PADR_(socklen_t)]; |
1688 | }; |
1689 | #else |
1690 | #endif /* SOCKETS */ |
1691 | struct pread_nocancel_args { |
1692 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
1693 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; |
1694 | char nbyte_l_[PADL_(user_size_t)]; user_size_t nbyte; char nbyte_r_[PADR_(user_size_t)]; |
1695 | char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)]; |
1696 | }; |
1697 | struct pwrite_nocancel_args { |
1698 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
1699 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; |
1700 | char nbyte_l_[PADL_(user_size_t)]; user_size_t nbyte; char nbyte_r_[PADR_(user_size_t)]; |
1701 | char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)]; |
1702 | }; |
1703 | struct waitid_nocancel_args { |
1704 | char idtype_l_[PADL_(idtype_t)]; idtype_t idtype; char idtype_r_[PADR_(idtype_t)]; |
1705 | char id_l_[PADL_(id_t)]; id_t id; char id_r_[PADR_(id_t)]; |
1706 | char infop_l_[PADL_(user_addr_t)]; user_addr_t infop; char infop_r_[PADR_(user_addr_t)]; |
1707 | char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)]; |
1708 | }; |
1709 | struct poll_nocancel_args { |
1710 | char fds_l_[PADL_(user_addr_t)]; user_addr_t fds; char fds_r_[PADR_(user_addr_t)]; |
1711 | char nfds_l_[PADL_(u_int)]; u_int nfds; char nfds_r_[PADR_(u_int)]; |
1712 | char timeout_l_[PADL_(int)]; int timeout; char timeout_r_[PADR_(int)]; |
1713 | }; |
1714 | #if SYSV_MSG |
1715 | struct msgsnd_nocancel_args { |
1716 | char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)]; |
1717 | char msgp_l_[PADL_(user_addr_t)]; user_addr_t msgp; char msgp_r_[PADR_(user_addr_t)]; |
1718 | char msgsz_l_[PADL_(user_size_t)]; user_size_t msgsz; char msgsz_r_[PADR_(user_size_t)]; |
1719 | char msgflg_l_[PADL_(int)]; int msgflg; char msgflg_r_[PADR_(int)]; |
1720 | }; |
1721 | struct msgrcv_nocancel_args { |
1722 | char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)]; |
1723 | char msgp_l_[PADL_(user_addr_t)]; user_addr_t msgp; char msgp_r_[PADR_(user_addr_t)]; |
1724 | char msgsz_l_[PADL_(user_size_t)]; user_size_t msgsz; char msgsz_r_[PADR_(user_size_t)]; |
1725 | char msgtyp_l_[PADL_(user_long_t)]; user_long_t msgtyp; char msgtyp_r_[PADR_(user_long_t)]; |
1726 | char msgflg_l_[PADL_(int)]; int msgflg; char msgflg_r_[PADR_(int)]; |
1727 | }; |
1728 | #else |
1729 | #endif |
1730 | struct sem_wait_nocancel_args { |
1731 | char sem_l_[PADL_(user_addr_t)]; user_addr_t sem; char sem_r_[PADR_(user_addr_t)]; |
1732 | }; |
1733 | struct aio_suspend_nocancel_args { |
1734 | char aiocblist_l_[PADL_(user_addr_t)]; user_addr_t aiocblist; char aiocblist_r_[PADR_(user_addr_t)]; |
1735 | char nent_l_[PADL_(int)]; int nent; char nent_r_[PADR_(int)]; |
1736 | char timeoutp_l_[PADL_(user_addr_t)]; user_addr_t timeoutp; char timeoutp_r_[PADR_(user_addr_t)]; |
1737 | }; |
1738 | struct __sigwait_nocancel_args { |
1739 | char set_l_[PADL_(user_addr_t)]; user_addr_t set; char set_r_[PADR_(user_addr_t)]; |
1740 | char sig_l_[PADL_(user_addr_t)]; user_addr_t sig; char sig_r_[PADR_(user_addr_t)]; |
1741 | }; |
1742 | struct __semwait_signal_nocancel_args { |
1743 | char cond_sem_l_[PADL_(int)]; int cond_sem; char cond_sem_r_[PADR_(int)]; |
1744 | char mutex_sem_l_[PADL_(int)]; int mutex_sem; char mutex_sem_r_[PADR_(int)]; |
1745 | char timeout_l_[PADL_(int)]; int timeout; char timeout_r_[PADR_(int)]; |
1746 | char relative_l_[PADL_(int)]; int relative; char relative_r_[PADR_(int)]; |
1747 | char tv_sec_l_[PADL_(int64_t)]; int64_t tv_sec; char tv_sec_r_[PADR_(int64_t)]; |
1748 | char tv_nsec_l_[PADL_(int32_t)]; int32_t tv_nsec; char tv_nsec_r_[PADR_(int32_t)]; |
1749 | }; |
1750 | struct __mac_mount_args { |
1751 | char type_l_[PADL_(user_addr_t)]; user_addr_t type; char type_r_[PADR_(user_addr_t)]; |
1752 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
1753 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
1754 | char data_l_[PADL_(user_addr_t)]; user_addr_t data; char data_r_[PADR_(user_addr_t)]; |
1755 | char mac_p_l_[PADL_(user_addr_t)]; user_addr_t mac_p; char mac_p_r_[PADR_(user_addr_t)]; |
1756 | }; |
1757 | #if CONFIG_MACF |
1758 | struct __mac_get_mount_args { |
1759 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
1760 | char mac_p_l_[PADL_(user_addr_t)]; user_addr_t mac_p; char mac_p_r_[PADR_(user_addr_t)]; |
1761 | }; |
1762 | #else |
1763 | #endif |
1764 | struct __mac_getfsstat_args { |
1765 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; |
1766 | char bufsize_l_[PADL_(int)]; int bufsize; char bufsize_r_[PADR_(int)]; |
1767 | char mac_l_[PADL_(user_addr_t)]; user_addr_t mac; char mac_r_[PADR_(user_addr_t)]; |
1768 | char macsize_l_[PADL_(int)]; int macsize; char macsize_r_[PADR_(int)]; |
1769 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
1770 | }; |
1771 | struct fsgetpath_args { |
1772 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; |
1773 | char bufsize_l_[PADL_(user_size_t)]; user_size_t bufsize; char bufsize_r_[PADR_(user_size_t)]; |
1774 | char fsid_l_[PADL_(user_addr_t)]; user_addr_t fsid; char fsid_r_[PADR_(user_addr_t)]; |
1775 | char objid_l_[PADL_(uint64_t)]; uint64_t objid; char objid_r_[PADR_(uint64_t)]; |
1776 | }; |
1777 | struct audit_session_self_args { |
1778 | int32_t dummy; |
1779 | }; |
1780 | struct audit_session_join_args { |
1781 | char port_l_[PADL_(mach_port_name_t)]; mach_port_name_t port; char port_r_[PADR_(mach_port_name_t)]; |
1782 | }; |
1783 | struct fileport_makeport_args { |
1784 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
1785 | char portnamep_l_[PADL_(user_addr_t)]; user_addr_t portnamep; char portnamep_r_[PADR_(user_addr_t)]; |
1786 | }; |
1787 | struct fileport_makefd_args { |
1788 | char port_l_[PADL_(mach_port_name_t)]; mach_port_name_t port; char port_r_[PADR_(mach_port_name_t)]; |
1789 | }; |
1790 | struct audit_session_port_args { |
1791 | char asid_l_[PADL_(au_asid_t)]; au_asid_t asid; char asid_r_[PADR_(au_asid_t)]; |
1792 | char portnamep_l_[PADL_(user_addr_t)]; user_addr_t portnamep; char portnamep_r_[PADR_(user_addr_t)]; |
1793 | }; |
1794 | struct pid_suspend_args { |
1795 | char pid_l_[PADL_(int)]; int pid; char pid_r_[PADR_(int)]; |
1796 | }; |
1797 | struct pid_resume_args { |
1798 | char pid_l_[PADL_(int)]; int pid; char pid_r_[PADR_(int)]; |
1799 | }; |
1800 | #if CONFIG_EMBEDDED |
1801 | struct pid_hibernate_args { |
1802 | char pid_l_[PADL_(int)]; int pid; char pid_r_[PADR_(int)]; |
1803 | }; |
1804 | #else |
1805 | #endif |
1806 | #if SOCKETS |
1807 | struct pid_shutdown_sockets_args { |
1808 | char pid_l_[PADL_(int)]; int pid; char pid_r_[PADR_(int)]; |
1809 | char level_l_[PADL_(int)]; int level; char level_r_[PADR_(int)]; |
1810 | }; |
1811 | #else |
1812 | #endif |
1813 | struct kas_info_args { |
1814 | char selector_l_[PADL_(int)]; int selector; char selector_r_[PADR_(int)]; |
1815 | char value_l_[PADL_(user_addr_t)]; user_addr_t value; char value_r_[PADR_(user_addr_t)]; |
1816 | char size_l_[PADL_(user_addr_t)]; user_addr_t size; char size_r_[PADR_(user_addr_t)]; |
1817 | }; |
1818 | #if CONFIG_MEMORYSTATUS |
1819 | struct memorystatus_control_args { |
1820 | char command_l_[PADL_(uint32_t)]; uint32_t command; char command_r_[PADR_(uint32_t)]; |
1821 | char pid_l_[PADL_(int32_t)]; int32_t pid; char pid_r_[PADR_(int32_t)]; |
1822 | char flags_l_[PADL_(uint32_t)]; uint32_t flags; char flags_r_[PADR_(uint32_t)]; |
1823 | char buffer_l_[PADL_(user_addr_t)]; user_addr_t buffer; char buffer_r_[PADR_(user_addr_t)]; |
1824 | char buffersize_l_[PADL_(user_size_t)]; user_size_t buffersize; char buffersize_r_[PADR_(user_size_t)]; |
1825 | }; |
1826 | #else |
1827 | #endif |
1828 | struct guarded_open_np_args { |
1829 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
1830 | char guard_l_[PADL_(user_addr_t)]; user_addr_t guard; char guard_r_[PADR_(user_addr_t)]; |
1831 | char guardflags_l_[PADL_(u_int)]; u_int guardflags; char guardflags_r_[PADR_(u_int)]; |
1832 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
1833 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; |
1834 | }; |
1835 | struct guarded_close_np_args { |
1836 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
1837 | char guard_l_[PADL_(user_addr_t)]; user_addr_t guard; char guard_r_[PADR_(user_addr_t)]; |
1838 | }; |
1839 | struct guarded_kqueue_np_args { |
1840 | char guard_l_[PADL_(user_addr_t)]; user_addr_t guard; char guard_r_[PADR_(user_addr_t)]; |
1841 | char guardflags_l_[PADL_(u_int)]; u_int guardflags; char guardflags_r_[PADR_(u_int)]; |
1842 | }; |
1843 | struct change_fdguard_np_args { |
1844 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
1845 | char guard_l_[PADL_(user_addr_t)]; user_addr_t guard; char guard_r_[PADR_(user_addr_t)]; |
1846 | char guardflags_l_[PADL_(u_int)]; u_int guardflags; char guardflags_r_[PADR_(u_int)]; |
1847 | char nguard_l_[PADL_(user_addr_t)]; user_addr_t nguard; char nguard_r_[PADR_(user_addr_t)]; |
1848 | char nguardflags_l_[PADL_(u_int)]; u_int nguardflags; char nguardflags_r_[PADR_(u_int)]; |
1849 | char fdflagsp_l_[PADL_(user_addr_t)]; user_addr_t fdflagsp; char fdflagsp_r_[PADR_(user_addr_t)]; |
1850 | }; |
1851 | struct usrctl_args { |
1852 | char flags_l_[PADL_(uint32_t)]; uint32_t flags; char flags_r_[PADR_(uint32_t)]; |
1853 | }; |
1854 | struct proc_rlimit_control_args { |
1855 | char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)]; |
1856 | char flavor_l_[PADL_(int)]; int flavor; char flavor_r_[PADR_(int)]; |
1857 | char arg_l_[PADL_(user_addr_t)]; user_addr_t arg; char arg_r_[PADR_(user_addr_t)]; |
1858 | }; |
1859 | #if SOCKETS |
1860 | struct connectx_args { |
1861 | char socket_l_[PADL_(int)]; int socket; char socket_r_[PADR_(int)]; |
1862 | char endpoints_l_[PADL_(user_addr_t)]; user_addr_t endpoints; char endpoints_r_[PADR_(user_addr_t)]; |
1863 | char associd_l_[PADL_(sae_associd_t)]; sae_associd_t associd; char associd_r_[PADR_(sae_associd_t)]; |
1864 | char flags_l_[PADL_(unsigned int)]; unsigned int flags; char flags_r_[PADR_(unsigned int)]; |
1865 | char iov_l_[PADL_(user_addr_t)]; user_addr_t iov; char iov_r_[PADR_(user_addr_t)]; |
1866 | char iovcnt_l_[PADL_(unsigned int)]; unsigned int iovcnt; char iovcnt_r_[PADR_(unsigned int)]; |
1867 | char len_l_[PADL_(user_addr_t)]; user_addr_t len; char len_r_[PADR_(user_addr_t)]; |
1868 | char connid_l_[PADL_(user_addr_t)]; user_addr_t connid; char connid_r_[PADR_(user_addr_t)]; |
1869 | }; |
1870 | struct disconnectx_args { |
1871 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; |
1872 | char aid_l_[PADL_(sae_associd_t)]; sae_associd_t aid; char aid_r_[PADR_(sae_associd_t)]; |
1873 | char cid_l_[PADL_(sae_connid_t)]; sae_connid_t cid; char cid_r_[PADR_(sae_connid_t)]; |
1874 | }; |
1875 | struct peeloff_args { |
1876 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; |
1877 | char aid_l_[PADL_(sae_associd_t)]; sae_associd_t aid; char aid_r_[PADR_(sae_associd_t)]; |
1878 | }; |
1879 | struct socket_delegate_args { |
1880 | char domain_l_[PADL_(int)]; int domain; char domain_r_[PADR_(int)]; |
1881 | char type_l_[PADL_(int)]; int type; char type_r_[PADR_(int)]; |
1882 | char protocol_l_[PADL_(int)]; int protocol; char protocol_r_[PADR_(int)]; |
1883 | char epid_l_[PADL_(pid_t)]; pid_t epid; char epid_r_[PADR_(pid_t)]; |
1884 | }; |
1885 | #else |
1886 | #endif /* SOCKETS */ |
1887 | struct telemetry_args { |
1888 | char cmd_l_[PADL_(uint64_t)]; uint64_t cmd; char cmd_r_[PADR_(uint64_t)]; |
1889 | char deadline_l_[PADL_(uint64_t)]; uint64_t deadline; char deadline_r_[PADR_(uint64_t)]; |
1890 | char interval_l_[PADL_(uint64_t)]; uint64_t interval; char interval_r_[PADR_(uint64_t)]; |
1891 | char leeway_l_[PADL_(uint64_t)]; uint64_t leeway; char leeway_r_[PADR_(uint64_t)]; |
1892 | char arg4_l_[PADL_(uint64_t)]; uint64_t arg4; char arg4_r_[PADR_(uint64_t)]; |
1893 | char arg5_l_[PADL_(uint64_t)]; uint64_t arg5; char arg5_r_[PADR_(uint64_t)]; |
1894 | }; |
1895 | #if CONFIG_PROC_UUID_POLICY |
1896 | struct proc_uuid_policy_args { |
1897 | char operation_l_[PADL_(uint32_t)]; uint32_t operation; char operation_r_[PADR_(uint32_t)]; |
1898 | char uuid_l_[PADL_(user_addr_t)]; user_addr_t uuid; char uuid_r_[PADR_(user_addr_t)]; |
1899 | char uuidlen_l_[PADL_(user_size_t)]; user_size_t uuidlen; char uuidlen_r_[PADR_(user_size_t)]; |
1900 | char flags_l_[PADL_(uint32_t)]; uint32_t flags; char flags_r_[PADR_(uint32_t)]; |
1901 | }; |
1902 | #else |
1903 | #endif |
1904 | #if CONFIG_MEMORYSTATUS |
1905 | struct memorystatus_get_level_args { |
1906 | char level_l_[PADL_(user_addr_t)]; user_addr_t level; char level_r_[PADR_(user_addr_t)]; |
1907 | }; |
1908 | #else |
1909 | #endif |
1910 | struct system_override_args { |
1911 | char timeout_l_[PADL_(uint64_t)]; uint64_t timeout; char timeout_r_[PADR_(uint64_t)]; |
1912 | char flags_l_[PADL_(uint64_t)]; uint64_t flags; char flags_r_[PADR_(uint64_t)]; |
1913 | }; |
1914 | struct vfs_purge_args { |
1915 | int32_t dummy; |
1916 | }; |
1917 | struct sfi_ctl_args { |
1918 | char operation_l_[PADL_(uint32_t)]; uint32_t operation; char operation_r_[PADR_(uint32_t)]; |
1919 | char sfi_class_l_[PADL_(uint32_t)]; uint32_t sfi_class; char sfi_class_r_[PADR_(uint32_t)]; |
1920 | char time_l_[PADL_(uint64_t)]; uint64_t time; char time_r_[PADR_(uint64_t)]; |
1921 | char out_time_l_[PADL_(user_addr_t)]; user_addr_t out_time; char out_time_r_[PADR_(user_addr_t)]; |
1922 | }; |
1923 | struct sfi_pidctl_args { |
1924 | char operation_l_[PADL_(uint32_t)]; uint32_t operation; char operation_r_[PADR_(uint32_t)]; |
1925 | char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)]; |
1926 | char sfi_flags_l_[PADL_(uint32_t)]; uint32_t sfi_flags; char sfi_flags_r_[PADR_(uint32_t)]; |
1927 | char out_sfi_flags_l_[PADL_(user_addr_t)]; user_addr_t out_sfi_flags; char out_sfi_flags_r_[PADR_(user_addr_t)]; |
1928 | }; |
1929 | #if CONFIG_COALITIONS |
1930 | struct coalition_args { |
1931 | char operation_l_[PADL_(uint32_t)]; uint32_t operation; char operation_r_[PADR_(uint32_t)]; |
1932 | char cid_l_[PADL_(user_addr_t)]; user_addr_t cid; char cid_r_[PADR_(user_addr_t)]; |
1933 | char flags_l_[PADL_(uint32_t)]; uint32_t flags; char flags_r_[PADR_(uint32_t)]; |
1934 | }; |
1935 | struct coalition_info_args { |
1936 | char flavor_l_[PADL_(uint32_t)]; uint32_t flavor; char flavor_r_[PADR_(uint32_t)]; |
1937 | char cid_l_[PADL_(user_addr_t)]; user_addr_t cid; char cid_r_[PADR_(user_addr_t)]; |
1938 | char buffer_l_[PADL_(user_addr_t)]; user_addr_t buffer; char buffer_r_[PADR_(user_addr_t)]; |
1939 | char bufsize_l_[PADL_(user_addr_t)]; user_addr_t bufsize; char bufsize_r_[PADR_(user_addr_t)]; |
1940 | }; |
1941 | #else |
1942 | #endif /* COALITIONS */ |
1943 | #if NECP |
1944 | struct necp_match_policy_args { |
1945 | char parameters_l_[PADL_(user_addr_t)]; user_addr_t parameters; char parameters_r_[PADR_(user_addr_t)]; |
1946 | char parameters_size_l_[PADL_(user_size_t)]; user_size_t parameters_size; char parameters_size_r_[PADR_(user_size_t)]; |
1947 | char returned_result_l_[PADL_(user_addr_t)]; user_addr_t returned_result; char returned_result_r_[PADR_(user_addr_t)]; |
1948 | }; |
1949 | #else |
1950 | #endif /* NECP */ |
1951 | struct getattrlistbulk_args { |
1952 | char dirfd_l_[PADL_(int)]; int dirfd; char dirfd_r_[PADR_(int)]; |
1953 | char alist_l_[PADL_(user_addr_t)]; user_addr_t alist; char alist_r_[PADR_(user_addr_t)]; |
1954 | char attributeBuffer_l_[PADL_(user_addr_t)]; user_addr_t attributeBuffer; char attributeBuffer_r_[PADR_(user_addr_t)]; |
1955 | char bufferSize_l_[PADL_(user_size_t)]; user_size_t bufferSize; char bufferSize_r_[PADR_(user_size_t)]; |
1956 | char options_l_[PADL_(uint64_t)]; uint64_t options; char options_r_[PADR_(uint64_t)]; |
1957 | }; |
1958 | struct clonefileat_args { |
1959 | char src_dirfd_l_[PADL_(int)]; int src_dirfd; char src_dirfd_r_[PADR_(int)]; |
1960 | char src_l_[PADL_(user_addr_t)]; user_addr_t src; char src_r_[PADR_(user_addr_t)]; |
1961 | char dst_dirfd_l_[PADL_(int)]; int dst_dirfd; char dst_dirfd_r_[PADR_(int)]; |
1962 | char dst_l_[PADL_(user_addr_t)]; user_addr_t dst; char dst_r_[PADR_(user_addr_t)]; |
1963 | char flags_l_[PADL_(uint32_t)]; uint32_t flags; char flags_r_[PADR_(uint32_t)]; |
1964 | }; |
1965 | struct openat_args { |
1966 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
1967 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
1968 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
1969 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; |
1970 | }; |
1971 | struct openat_nocancel_args { |
1972 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
1973 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
1974 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
1975 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; |
1976 | }; |
1977 | struct renameat_args { |
1978 | char fromfd_l_[PADL_(int)]; int fromfd; char fromfd_r_[PADR_(int)]; |
1979 | char from_l_[PADL_(user_addr_t)]; user_addr_t from; char from_r_[PADR_(user_addr_t)]; |
1980 | char tofd_l_[PADL_(int)]; int tofd; char tofd_r_[PADR_(int)]; |
1981 | char to_l_[PADL_(user_addr_t)]; user_addr_t to; char to_r_[PADR_(user_addr_t)]; |
1982 | }; |
1983 | struct faccessat_args { |
1984 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
1985 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
1986 | char amode_l_[PADL_(int)]; int amode; char amode_r_[PADR_(int)]; |
1987 | char flag_l_[PADL_(int)]; int flag; char flag_r_[PADR_(int)]; |
1988 | }; |
1989 | struct fchmodat_args { |
1990 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
1991 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
1992 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; |
1993 | char flag_l_[PADL_(int)]; int flag; char flag_r_[PADR_(int)]; |
1994 | }; |
1995 | struct fchownat_args { |
1996 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
1997 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
1998 | char uid_l_[PADL_(uid_t)]; uid_t uid; char uid_r_[PADR_(uid_t)]; |
1999 | char gid_l_[PADL_(gid_t)]; gid_t gid; char gid_r_[PADR_(gid_t)]; |
2000 | char flag_l_[PADL_(int)]; int flag; char flag_r_[PADR_(int)]; |
2001 | }; |
2002 | struct fstatat_args { |
2003 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
2004 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
2005 | char ub_l_[PADL_(user_addr_t)]; user_addr_t ub; char ub_r_[PADR_(user_addr_t)]; |
2006 | char flag_l_[PADL_(int)]; int flag; char flag_r_[PADR_(int)]; |
2007 | }; |
2008 | struct fstatat64_args { |
2009 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
2010 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
2011 | char ub_l_[PADL_(user_addr_t)]; user_addr_t ub; char ub_r_[PADR_(user_addr_t)]; |
2012 | char flag_l_[PADL_(int)]; int flag; char flag_r_[PADR_(int)]; |
2013 | }; |
2014 | struct linkat_args { |
2015 | char fd1_l_[PADL_(int)]; int fd1; char fd1_r_[PADR_(int)]; |
2016 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
2017 | char fd2_l_[PADL_(int)]; int fd2; char fd2_r_[PADR_(int)]; |
2018 | char link_l_[PADL_(user_addr_t)]; user_addr_t link; char link_r_[PADR_(user_addr_t)]; |
2019 | char flag_l_[PADL_(int)]; int flag; char flag_r_[PADR_(int)]; |
2020 | }; |
2021 | struct unlinkat_args { |
2022 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
2023 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
2024 | char flag_l_[PADL_(int)]; int flag; char flag_r_[PADR_(int)]; |
2025 | }; |
2026 | struct readlinkat_args { |
2027 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
2028 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
2029 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; |
2030 | char bufsize_l_[PADL_(user_size_t)]; user_size_t bufsize; char bufsize_r_[PADR_(user_size_t)]; |
2031 | }; |
2032 | struct symlinkat_args { |
2033 | char path1_l_[PADL_(user_addr_t)]; user_addr_t path1; char path1_r_[PADR_(user_addr_t)]; |
2034 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
2035 | char path2_l_[PADL_(user_addr_t)]; user_addr_t path2; char path2_r_[PADR_(user_addr_t)]; |
2036 | }; |
2037 | struct mkdirat_args { |
2038 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
2039 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
2040 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; |
2041 | }; |
2042 | struct getattrlistat_args { |
2043 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
2044 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
2045 | char alist_l_[PADL_(user_addr_t)]; user_addr_t alist; char alist_r_[PADR_(user_addr_t)]; |
2046 | char attributeBuffer_l_[PADL_(user_addr_t)]; user_addr_t attributeBuffer; char attributeBuffer_r_[PADR_(user_addr_t)]; |
2047 | char bufferSize_l_[PADL_(user_size_t)]; user_size_t bufferSize; char bufferSize_r_[PADR_(user_size_t)]; |
2048 | char options_l_[PADL_(user_ulong_t)]; user_ulong_t options; char options_r_[PADR_(user_ulong_t)]; |
2049 | }; |
2050 | struct proc_trace_log_args { |
2051 | char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)]; |
2052 | char uniqueid_l_[PADL_(uint64_t)]; uint64_t uniqueid; char uniqueid_r_[PADR_(uint64_t)]; |
2053 | }; |
2054 | struct bsdthread_ctl_args { |
2055 | char cmd_l_[PADL_(user_addr_t)]; user_addr_t cmd; char cmd_r_[PADR_(user_addr_t)]; |
2056 | char arg1_l_[PADL_(user_addr_t)]; user_addr_t arg1; char arg1_r_[PADR_(user_addr_t)]; |
2057 | char arg2_l_[PADL_(user_addr_t)]; user_addr_t arg2; char arg2_r_[PADR_(user_addr_t)]; |
2058 | char arg3_l_[PADL_(user_addr_t)]; user_addr_t arg3; char arg3_r_[PADR_(user_addr_t)]; |
2059 | }; |
2060 | struct openbyid_np_args { |
2061 | char fsid_l_[PADL_(user_addr_t)]; user_addr_t fsid; char fsid_r_[PADR_(user_addr_t)]; |
2062 | char objid_l_[PADL_(user_addr_t)]; user_addr_t objid; char objid_r_[PADR_(user_addr_t)]; |
2063 | char oflags_l_[PADL_(int)]; int oflags; char oflags_r_[PADR_(int)]; |
2064 | }; |
2065 | #if SOCKETS |
2066 | struct recvmsg_x_args { |
2067 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; |
2068 | char msgp_l_[PADL_(user_addr_t)]; user_addr_t msgp; char msgp_r_[PADR_(user_addr_t)]; |
2069 | char cnt_l_[PADL_(u_int)]; u_int cnt; char cnt_r_[PADR_(u_int)]; |
2070 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
2071 | }; |
2072 | struct sendmsg_x_args { |
2073 | char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; |
2074 | char msgp_l_[PADL_(user_addr_t)]; user_addr_t msgp; char msgp_r_[PADR_(user_addr_t)]; |
2075 | char cnt_l_[PADL_(u_int)]; u_int cnt; char cnt_r_[PADR_(u_int)]; |
2076 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
2077 | }; |
2078 | #else |
2079 | #endif /* SOCKETS */ |
2080 | struct thread_selfusage_args { |
2081 | int32_t dummy; |
2082 | }; |
2083 | #if CONFIG_CSR |
2084 | struct csrctl_args { |
2085 | char op_l_[PADL_(uint32_t)]; uint32_t op; char op_r_[PADR_(uint32_t)]; |
2086 | char useraddr_l_[PADL_(user_addr_t)]; user_addr_t useraddr; char useraddr_r_[PADR_(user_addr_t)]; |
2087 | char usersize_l_[PADL_(user_addr_t)]; user_addr_t usersize; char usersize_r_[PADR_(user_addr_t)]; |
2088 | }; |
2089 | #else |
2090 | #endif /* CSR */ |
2091 | struct guarded_open_dprotected_np_args { |
2092 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
2093 | char guard_l_[PADL_(user_addr_t)]; user_addr_t guard; char guard_r_[PADR_(user_addr_t)]; |
2094 | char guardflags_l_[PADL_(u_int)]; u_int guardflags; char guardflags_r_[PADR_(u_int)]; |
2095 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
2096 | char dpclass_l_[PADL_(int)]; int dpclass; char dpclass_r_[PADR_(int)]; |
2097 | char dpflags_l_[PADL_(int)]; int dpflags; char dpflags_r_[PADR_(int)]; |
2098 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; |
2099 | }; |
2100 | struct guarded_write_np_args { |
2101 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
2102 | char guard_l_[PADL_(user_addr_t)]; user_addr_t guard; char guard_r_[PADR_(user_addr_t)]; |
2103 | char cbuf_l_[PADL_(user_addr_t)]; user_addr_t cbuf; char cbuf_r_[PADR_(user_addr_t)]; |
2104 | char nbyte_l_[PADL_(user_size_t)]; user_size_t nbyte; char nbyte_r_[PADR_(user_size_t)]; |
2105 | }; |
2106 | struct guarded_pwrite_np_args { |
2107 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
2108 | char guard_l_[PADL_(user_addr_t)]; user_addr_t guard; char guard_r_[PADR_(user_addr_t)]; |
2109 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; |
2110 | char nbyte_l_[PADL_(user_size_t)]; user_size_t nbyte; char nbyte_r_[PADR_(user_size_t)]; |
2111 | char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)]; |
2112 | }; |
2113 | struct guarded_writev_np_args { |
2114 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
2115 | char guard_l_[PADL_(user_addr_t)]; user_addr_t guard; char guard_r_[PADR_(user_addr_t)]; |
2116 | char iovp_l_[PADL_(user_addr_t)]; user_addr_t iovp; char iovp_r_[PADR_(user_addr_t)]; |
2117 | char iovcnt_l_[PADL_(int)]; int iovcnt; char iovcnt_r_[PADR_(int)]; |
2118 | }; |
2119 | struct renameatx_np_args { |
2120 | char fromfd_l_[PADL_(int)]; int fromfd; char fromfd_r_[PADR_(int)]; |
2121 | char from_l_[PADL_(user_addr_t)]; user_addr_t from; char from_r_[PADR_(user_addr_t)]; |
2122 | char tofd_l_[PADL_(int)]; int tofd; char tofd_r_[PADR_(int)]; |
2123 | char to_l_[PADL_(user_addr_t)]; user_addr_t to; char to_r_[PADR_(user_addr_t)]; |
2124 | char flags_l_[PADL_(u_int)]; u_int flags; char flags_r_[PADR_(u_int)]; |
2125 | }; |
2126 | #if CONFIG_CODE_DECRYPTION |
2127 | struct mremap_encrypted_args { |
2128 | char addr_l_[PADL_(user_addr_t)]; user_addr_t addr; char addr_r_[PADR_(user_addr_t)]; |
2129 | char len_l_[PADL_(user_size_t)]; user_size_t len; char len_r_[PADR_(user_size_t)]; |
2130 | char cryptid_l_[PADL_(uint32_t)]; uint32_t cryptid; char cryptid_r_[PADR_(uint32_t)]; |
2131 | char cputype_l_[PADL_(uint32_t)]; uint32_t cputype; char cputype_r_[PADR_(uint32_t)]; |
2132 | char cpusubtype_l_[PADL_(uint32_t)]; uint32_t cpusubtype; char cpusubtype_r_[PADR_(uint32_t)]; |
2133 | }; |
2134 | #else |
2135 | #endif |
2136 | #if NETWORKING |
2137 | struct netagent_trigger_args { |
2138 | char agent_uuid_l_[PADL_(user_addr_t)]; user_addr_t agent_uuid; char agent_uuid_r_[PADR_(user_addr_t)]; |
2139 | char agent_uuidlen_l_[PADL_(user_size_t)]; user_size_t agent_uuidlen; char agent_uuidlen_r_[PADR_(user_size_t)]; |
2140 | }; |
2141 | #else |
2142 | #endif /* NETWORKING */ |
2143 | struct stack_snapshot_with_config_args { |
2144 | char stackshot_config_version_l_[PADL_(int)]; int stackshot_config_version; char stackshot_config_version_r_[PADR_(int)]; |
2145 | char stackshot_config_l_[PADL_(user_addr_t)]; user_addr_t stackshot_config; char stackshot_config_r_[PADR_(user_addr_t)]; |
2146 | char stackshot_config_size_l_[PADL_(user_size_t)]; user_size_t stackshot_config_size; char stackshot_config_size_r_[PADR_(user_size_t)]; |
2147 | }; |
2148 | #if CONFIG_TELEMETRY |
2149 | struct microstackshot_args { |
2150 | char tracebuf_l_[PADL_(user_addr_t)]; user_addr_t tracebuf; char tracebuf_r_[PADR_(user_addr_t)]; |
2151 | char tracebuf_size_l_[PADL_(uint32_t)]; uint32_t tracebuf_size; char tracebuf_size_r_[PADR_(uint32_t)]; |
2152 | char flags_l_[PADL_(uint32_t)]; uint32_t flags; char flags_r_[PADR_(uint32_t)]; |
2153 | }; |
2154 | #else |
2155 | #endif /* CONFIG_TELEMETRY */ |
2156 | #if PGO |
2157 | struct grab_pgo_data_args { |
2158 | char uuid_l_[PADL_(user_addr_t)]; user_addr_t uuid; char uuid_r_[PADR_(user_addr_t)]; |
2159 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
2160 | char buffer_l_[PADL_(user_addr_t)]; user_addr_t buffer; char buffer_r_[PADR_(user_addr_t)]; |
2161 | char size_l_[PADL_(user_ssize_t)]; user_ssize_t size; char size_r_[PADR_(user_ssize_t)]; |
2162 | }; |
2163 | #else |
2164 | #endif |
2165 | #if CONFIG_PERSONAS |
2166 | struct persona_args { |
2167 | char operation_l_[PADL_(uint32_t)]; uint32_t operation; char operation_r_[PADR_(uint32_t)]; |
2168 | char flags_l_[PADL_(uint32_t)]; uint32_t flags; char flags_r_[PADR_(uint32_t)]; |
2169 | char info_l_[PADL_(user_addr_t)]; user_addr_t info; char info_r_[PADR_(user_addr_t)]; |
2170 | char id_l_[PADL_(user_addr_t)]; user_addr_t id; char id_r_[PADR_(user_addr_t)]; |
2171 | char idlen_l_[PADL_(user_addr_t)]; user_addr_t idlen; char idlen_r_[PADR_(user_addr_t)]; |
2172 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
2173 | }; |
2174 | #else |
2175 | #endif |
2176 | struct mach_eventlink_signal_args { |
2177 | char eventlink_port_l_[PADL_(mach_port_name_t)]; mach_port_name_t eventlink_port; char eventlink_port_r_[PADR_(mach_port_name_t)]; |
2178 | char signal_count_l_[PADL_(uint64_t)]; uint64_t signal_count; char signal_count_r_[PADR_(uint64_t)]; |
2179 | }; |
2180 | struct mach_eventlink_wait_until_args { |
2181 | char eventlink_port_l_[PADL_(mach_port_name_t)]; mach_port_name_t eventlink_port; char eventlink_port_r_[PADR_(mach_port_name_t)]; |
2182 | char wait_count_l_[PADL_(uint64_t)]; uint64_t wait_count; char wait_count_r_[PADR_(uint64_t)]; |
2183 | char deadline_l_[PADL_(uint64_t)]; uint64_t deadline; char deadline_r_[PADR_(uint64_t)]; |
2184 | char clock_id_l_[PADL_(uint32_t)]; uint32_t clock_id; char clock_id_r_[PADR_(uint32_t)]; |
2185 | char option_l_[PADL_(uint32_t)]; uint32_t option; char option_r_[PADR_(uint32_t)]; |
2186 | }; |
2187 | struct mach_eventlink_signal_wait_until_args { |
2188 | char eventlink_port_l_[PADL_(mach_port_name_t)]; mach_port_name_t eventlink_port; char eventlink_port_r_[PADR_(mach_port_name_t)]; |
2189 | char wait_count_l_[PADL_(uint64_t)]; uint64_t wait_count; char wait_count_r_[PADR_(uint64_t)]; |
2190 | char signal_count_l_[PADL_(uint64_t)]; uint64_t signal_count; char signal_count_r_[PADR_(uint64_t)]; |
2191 | char deadline_l_[PADL_(uint64_t)]; uint64_t deadline; char deadline_r_[PADR_(uint64_t)]; |
2192 | char clock_id_l_[PADL_(uint32_t)]; uint32_t clock_id; char clock_id_r_[PADR_(uint32_t)]; |
2193 | char option_l_[PADL_(uint32_t)]; uint32_t option; char option_r_[PADR_(uint32_t)]; |
2194 | }; |
2195 | struct work_interval_ctl_args { |
2196 | char operation_l_[PADL_(uint32_t)]; uint32_t operation; char operation_r_[PADR_(uint32_t)]; |
2197 | char work_interval_id_l_[PADL_(uint64_t)]; uint64_t work_interval_id; char work_interval_id_r_[PADR_(uint64_t)]; |
2198 | char arg_l_[PADL_(user_addr_t)]; user_addr_t arg; char arg_r_[PADR_(user_addr_t)]; |
2199 | char len_l_[PADL_(user_size_t)]; user_size_t len; char len_r_[PADR_(user_size_t)]; |
2200 | }; |
2201 | struct getentropy_args { |
2202 | char buffer_l_[PADL_(user_addr_t)]; user_addr_t buffer; char buffer_r_[PADR_(user_addr_t)]; |
2203 | char size_l_[PADL_(user_size_t)]; user_size_t size; char size_r_[PADR_(user_size_t)]; |
2204 | }; |
2205 | #if NECP |
2206 | struct necp_open_args { |
2207 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
2208 | }; |
2209 | struct necp_client_action_args { |
2210 | char necp_fd_l_[PADL_(int)]; int necp_fd; char necp_fd_r_[PADR_(int)]; |
2211 | char action_l_[PADL_(uint32_t)]; uint32_t action; char action_r_[PADR_(uint32_t)]; |
2212 | char client_id_l_[PADL_(user_addr_t)]; user_addr_t client_id; char client_id_r_[PADR_(user_addr_t)]; |
2213 | char client_id_len_l_[PADL_(user_size_t)]; user_size_t client_id_len; char client_id_len_r_[PADR_(user_size_t)]; |
2214 | char buffer_l_[PADL_(user_addr_t)]; user_addr_t buffer; char buffer_r_[PADR_(user_addr_t)]; |
2215 | char buffer_size_l_[PADL_(user_size_t)]; user_size_t buffer_size; char buffer_size_r_[PADR_(user_size_t)]; |
2216 | }; |
2217 | #else |
2218 | #endif /* NECP */ |
2219 | #if SKYWALK |
2220 | struct __nexus_open_args { |
2221 | char init_l_[PADL_(user_addr_t)]; user_addr_t init; char init_r_[PADR_(user_addr_t)]; |
2222 | char init_len_l_[PADL_(uint32_t)]; uint32_t init_len; char init_len_r_[PADR_(uint32_t)]; |
2223 | }; |
2224 | struct __nexus_register_args { |
2225 | char ctl_l_[PADL_(int)]; int ctl; char ctl_r_[PADR_(int)]; |
2226 | char reg_l_[PADL_(user_addr_t)]; user_addr_t reg; char reg_r_[PADR_(user_addr_t)]; |
2227 | char reg_len_l_[PADL_(uint32_t)]; uint32_t reg_len; char reg_len_r_[PADR_(uint32_t)]; |
2228 | char prov_uuid_l_[PADL_(user_addr_t)]; user_addr_t prov_uuid; char prov_uuid_r_[PADR_(user_addr_t)]; |
2229 | char prov_uuid_len_l_[PADL_(uint32_t)]; uint32_t prov_uuid_len; char prov_uuid_len_r_[PADR_(uint32_t)]; |
2230 | }; |
2231 | struct __nexus_deregister_args { |
2232 | char ctl_l_[PADL_(int)]; int ctl; char ctl_r_[PADR_(int)]; |
2233 | char prov_uuid_l_[PADL_(user_addr_t)]; user_addr_t prov_uuid; char prov_uuid_r_[PADR_(user_addr_t)]; |
2234 | char prov_uuid_len_l_[PADL_(uint32_t)]; uint32_t prov_uuid_len; char prov_uuid_len_r_[PADR_(uint32_t)]; |
2235 | }; |
2236 | struct __nexus_create_args { |
2237 | char ctl_l_[PADL_(int)]; int ctl; char ctl_r_[PADR_(int)]; |
2238 | char prov_uuid_l_[PADL_(user_addr_t)]; user_addr_t prov_uuid; char prov_uuid_r_[PADR_(user_addr_t)]; |
2239 | char prov_uuid_len_l_[PADL_(uint32_t)]; uint32_t prov_uuid_len; char prov_uuid_len_r_[PADR_(uint32_t)]; |
2240 | char nx_uuid_l_[PADL_(user_addr_t)]; user_addr_t nx_uuid; char nx_uuid_r_[PADR_(user_addr_t)]; |
2241 | char nx_uuid_len_l_[PADL_(uint32_t)]; uint32_t nx_uuid_len; char nx_uuid_len_r_[PADR_(uint32_t)]; |
2242 | }; |
2243 | struct __nexus_destroy_args { |
2244 | char ctl_l_[PADL_(int)]; int ctl; char ctl_r_[PADR_(int)]; |
2245 | char nx_uuid_l_[PADL_(user_addr_t)]; user_addr_t nx_uuid; char nx_uuid_r_[PADR_(user_addr_t)]; |
2246 | char nx_uuid_len_l_[PADL_(uint32_t)]; uint32_t nx_uuid_len; char nx_uuid_len_r_[PADR_(uint32_t)]; |
2247 | }; |
2248 | struct __nexus_get_opt_args { |
2249 | char ctl_l_[PADL_(int)]; int ctl; char ctl_r_[PADR_(int)]; |
2250 | char opt_l_[PADL_(uint32_t)]; uint32_t opt; char opt_r_[PADR_(uint32_t)]; |
2251 | char aoptval_l_[PADL_(user_addr_t)]; user_addr_t aoptval; char aoptval_r_[PADR_(user_addr_t)]; |
2252 | char aoptlen_l_[PADL_(user_addr_t)]; user_addr_t aoptlen; char aoptlen_r_[PADR_(user_addr_t)]; |
2253 | }; |
2254 | struct __nexus_set_opt_args { |
2255 | char ctl_l_[PADL_(int)]; int ctl; char ctl_r_[PADR_(int)]; |
2256 | char opt_l_[PADL_(uint32_t)]; uint32_t opt; char opt_r_[PADR_(uint32_t)]; |
2257 | char aoptval_l_[PADL_(user_addr_t)]; user_addr_t aoptval; char aoptval_r_[PADR_(user_addr_t)]; |
2258 | char optlen_l_[PADL_(uint32_t)]; uint32_t optlen; char optlen_r_[PADR_(uint32_t)]; |
2259 | }; |
2260 | struct __channel_open_args { |
2261 | char init_l_[PADL_(user_addr_t)]; user_addr_t init; char init_r_[PADR_(user_addr_t)]; |
2262 | char init_len_l_[PADL_(uint32_t)]; uint32_t init_len; char init_len_r_[PADR_(uint32_t)]; |
2263 | }; |
2264 | struct __channel_get_info_args { |
2265 | char c_l_[PADL_(int)]; int c; char c_r_[PADR_(int)]; |
2266 | char cinfo_l_[PADL_(user_addr_t)]; user_addr_t cinfo; char cinfo_r_[PADR_(user_addr_t)]; |
2267 | char cinfolen_l_[PADL_(uint32_t)]; uint32_t cinfolen; char cinfolen_r_[PADR_(uint32_t)]; |
2268 | }; |
2269 | struct __channel_sync_args { |
2270 | char c_l_[PADL_(int)]; int c; char c_r_[PADR_(int)]; |
2271 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; |
2272 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
2273 | }; |
2274 | struct __channel_get_opt_args { |
2275 | char c_l_[PADL_(int)]; int c; char c_r_[PADR_(int)]; |
2276 | char opt_l_[PADL_(uint32_t)]; uint32_t opt; char opt_r_[PADR_(uint32_t)]; |
2277 | char aoptval_l_[PADL_(user_addr_t)]; user_addr_t aoptval; char aoptval_r_[PADR_(user_addr_t)]; |
2278 | char aoptlen_l_[PADL_(user_addr_t)]; user_addr_t aoptlen; char aoptlen_r_[PADR_(user_addr_t)]; |
2279 | }; |
2280 | struct __channel_set_opt_args { |
2281 | char c_l_[PADL_(int)]; int c; char c_r_[PADR_(int)]; |
2282 | char opt_l_[PADL_(uint32_t)]; uint32_t opt; char opt_r_[PADR_(uint32_t)]; |
2283 | char aoptval_l_[PADL_(user_addr_t)]; user_addr_t aoptval; char aoptval_r_[PADR_(user_addr_t)]; |
2284 | char optlen_l_[PADL_(uint32_t)]; uint32_t optlen; char optlen_r_[PADR_(uint32_t)]; |
2285 | }; |
2286 | #else |
2287 | #endif /* !SKYWALK */ |
2288 | struct ulock_wait_args { |
2289 | char operation_l_[PADL_(uint32_t)]; uint32_t operation; char operation_r_[PADR_(uint32_t)]; |
2290 | char addr_l_[PADL_(user_addr_t)]; user_addr_t addr; char addr_r_[PADR_(user_addr_t)]; |
2291 | char value_l_[PADL_(uint64_t)]; uint64_t value; char value_r_[PADR_(uint64_t)]; |
2292 | char timeout_l_[PADL_(uint32_t)]; uint32_t timeout; char timeout_r_[PADR_(uint32_t)]; |
2293 | }; |
2294 | struct ulock_wake_args { |
2295 | char operation_l_[PADL_(uint32_t)]; uint32_t operation; char operation_r_[PADR_(uint32_t)]; |
2296 | char addr_l_[PADL_(user_addr_t)]; user_addr_t addr; char addr_r_[PADR_(user_addr_t)]; |
2297 | char wake_value_l_[PADL_(uint64_t)]; uint64_t wake_value; char wake_value_r_[PADR_(uint64_t)]; |
2298 | }; |
2299 | struct fclonefileat_args { |
2300 | char src_fd_l_[PADL_(int)]; int src_fd; char src_fd_r_[PADR_(int)]; |
2301 | char dst_dirfd_l_[PADL_(int)]; int dst_dirfd; char dst_dirfd_r_[PADR_(int)]; |
2302 | char dst_l_[PADL_(user_addr_t)]; user_addr_t dst; char dst_r_[PADR_(user_addr_t)]; |
2303 | char flags_l_[PADL_(uint32_t)]; uint32_t flags; char flags_r_[PADR_(uint32_t)]; |
2304 | }; |
2305 | struct fs_snapshot_args { |
2306 | char op_l_[PADL_(uint32_t)]; uint32_t op; char op_r_[PADR_(uint32_t)]; |
2307 | char dirfd_l_[PADL_(int)]; int dirfd; char dirfd_r_[PADR_(int)]; |
2308 | char name1_l_[PADL_(user_addr_t)]; user_addr_t name1; char name1_r_[PADR_(user_addr_t)]; |
2309 | char name2_l_[PADL_(user_addr_t)]; user_addr_t name2; char name2_r_[PADR_(user_addr_t)]; |
2310 | char data_l_[PADL_(user_addr_t)]; user_addr_t data; char data_r_[PADR_(user_addr_t)]; |
2311 | char flags_l_[PADL_(uint32_t)]; uint32_t flags; char flags_r_[PADR_(uint32_t)]; |
2312 | }; |
2313 | struct terminate_with_payload_args { |
2314 | char pid_l_[PADL_(int)]; int pid; char pid_r_[PADR_(int)]; |
2315 | char reason_namespace_l_[PADL_(uint32_t)]; uint32_t reason_namespace; char reason_namespace_r_[PADR_(uint32_t)]; |
2316 | char reason_code_l_[PADL_(uint64_t)]; uint64_t reason_code; char reason_code_r_[PADR_(uint64_t)]; |
2317 | char payload_l_[PADL_(user_addr_t)]; user_addr_t payload; char payload_r_[PADR_(user_addr_t)]; |
2318 | char payload_size_l_[PADL_(uint32_t)]; uint32_t payload_size; char payload_size_r_[PADR_(uint32_t)]; |
2319 | char reason_string_l_[PADL_(user_addr_t)]; user_addr_t reason_string; char reason_string_r_[PADR_(user_addr_t)]; |
2320 | char reason_flags_l_[PADL_(uint64_t)]; uint64_t reason_flags; char reason_flags_r_[PADR_(uint64_t)]; |
2321 | }; |
2322 | struct abort_with_payload_args { |
2323 | char reason_namespace_l_[PADL_(uint32_t)]; uint32_t reason_namespace; char reason_namespace_r_[PADR_(uint32_t)]; |
2324 | char reason_code_l_[PADL_(uint64_t)]; uint64_t reason_code; char reason_code_r_[PADR_(uint64_t)]; |
2325 | char payload_l_[PADL_(user_addr_t)]; user_addr_t payload; char payload_r_[PADR_(user_addr_t)]; |
2326 | char payload_size_l_[PADL_(uint32_t)]; uint32_t payload_size; char payload_size_r_[PADR_(uint32_t)]; |
2327 | char reason_string_l_[PADL_(user_addr_t)]; user_addr_t reason_string; char reason_string_r_[PADR_(user_addr_t)]; |
2328 | char reason_flags_l_[PADL_(uint64_t)]; uint64_t reason_flags; char reason_flags_r_[PADR_(uint64_t)]; |
2329 | }; |
2330 | #if NECP |
2331 | struct necp_session_open_args { |
2332 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
2333 | }; |
2334 | struct necp_session_action_args { |
2335 | char necp_fd_l_[PADL_(int)]; int necp_fd; char necp_fd_r_[PADR_(int)]; |
2336 | char action_l_[PADL_(uint32_t)]; uint32_t action; char action_r_[PADR_(uint32_t)]; |
2337 | char in_buffer_l_[PADL_(user_addr_t)]; user_addr_t in_buffer; char in_buffer_r_[PADR_(user_addr_t)]; |
2338 | char in_buffer_length_l_[PADL_(user_size_t)]; user_size_t in_buffer_length; char in_buffer_length_r_[PADR_(user_size_t)]; |
2339 | char out_buffer_l_[PADL_(user_addr_t)]; user_addr_t out_buffer; char out_buffer_r_[PADR_(user_addr_t)]; |
2340 | char out_buffer_length_l_[PADL_(user_size_t)]; user_size_t out_buffer_length; char out_buffer_length_r_[PADR_(user_size_t)]; |
2341 | }; |
2342 | #else /* NECP */ |
2343 | #endif /* NECP */ |
2344 | struct setattrlistat_args { |
2345 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
2346 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
2347 | char alist_l_[PADL_(user_addr_t)]; user_addr_t alist; char alist_r_[PADR_(user_addr_t)]; |
2348 | char attributeBuffer_l_[PADL_(user_addr_t)]; user_addr_t attributeBuffer; char attributeBuffer_r_[PADR_(user_addr_t)]; |
2349 | char bufferSize_l_[PADL_(user_size_t)]; user_size_t bufferSize; char bufferSize_r_[PADR_(user_size_t)]; |
2350 | char options_l_[PADL_(uint32_t)]; uint32_t options; char options_r_[PADR_(uint32_t)]; |
2351 | }; |
2352 | struct net_qos_guideline_args { |
2353 | char param_l_[PADL_(user_addr_t)]; user_addr_t param; char param_r_[PADR_(user_addr_t)]; |
2354 | char param_len_l_[PADL_(uint32_t)]; uint32_t param_len; char param_len_r_[PADR_(uint32_t)]; |
2355 | }; |
2356 | struct fmount_args { |
2357 | char type_l_[PADL_(user_addr_t)]; user_addr_t type; char type_r_[PADR_(user_addr_t)]; |
2358 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
2359 | char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; |
2360 | char data_l_[PADL_(user_addr_t)]; user_addr_t data; char data_r_[PADR_(user_addr_t)]; |
2361 | }; |
2362 | struct ntp_adjtime_args { |
2363 | char tp_l_[PADL_(user_addr_t)]; user_addr_t tp; char tp_r_[PADR_(user_addr_t)]; |
2364 | }; |
2365 | struct ntp_gettime_args { |
2366 | char ntvp_l_[PADL_(user_addr_t)]; user_addr_t ntvp; char ntvp_r_[PADR_(user_addr_t)]; |
2367 | }; |
2368 | struct os_fault_with_payload_args { |
2369 | char reason_namespace_l_[PADL_(uint32_t)]; uint32_t reason_namespace; char reason_namespace_r_[PADR_(uint32_t)]; |
2370 | char reason_code_l_[PADL_(uint64_t)]; uint64_t reason_code; char reason_code_r_[PADR_(uint64_t)]; |
2371 | char payload_l_[PADL_(user_addr_t)]; user_addr_t payload; char payload_r_[PADR_(user_addr_t)]; |
2372 | char payload_size_l_[PADL_(uint32_t)]; uint32_t payload_size; char payload_size_r_[PADR_(uint32_t)]; |
2373 | char reason_string_l_[PADL_(user_addr_t)]; user_addr_t reason_string; char reason_string_r_[PADR_(user_addr_t)]; |
2374 | char reason_flags_l_[PADL_(uint64_t)]; uint64_t reason_flags; char reason_flags_r_[PADR_(uint64_t)]; |
2375 | }; |
2376 | struct kqueue_workloop_ctl_args { |
2377 | char cmd_l_[PADL_(user_addr_t)]; user_addr_t cmd; char cmd_r_[PADR_(user_addr_t)]; |
2378 | char options_l_[PADL_(uint64_t)]; uint64_t options; char options_r_[PADR_(uint64_t)]; |
2379 | char addr_l_[PADL_(user_addr_t)]; user_addr_t addr; char addr_r_[PADR_(user_addr_t)]; |
2380 | char sz_l_[PADL_(user_size_t)]; user_size_t sz; char sz_r_[PADR_(user_size_t)]; |
2381 | }; |
2382 | struct __mach_bridge_remote_time_args { |
2383 | char local_timestamp_l_[PADL_(uint64_t)]; uint64_t local_timestamp; char local_timestamp_r_[PADR_(uint64_t)]; |
2384 | }; |
2385 | #if CONFIG_COALITIONS |
2386 | struct coalition_ledger_args { |
2387 | char operation_l_[PADL_(uint32_t)]; uint32_t operation; char operation_r_[PADR_(uint32_t)]; |
2388 | char cid_l_[PADL_(user_addr_t)]; user_addr_t cid; char cid_r_[PADR_(user_addr_t)]; |
2389 | char buffer_l_[PADL_(user_addr_t)]; user_addr_t buffer; char buffer_r_[PADR_(user_addr_t)]; |
2390 | char bufsize_l_[PADL_(user_addr_t)]; user_addr_t bufsize; char bufsize_r_[PADR_(user_addr_t)]; |
2391 | }; |
2392 | #else |
2393 | #endif // CONFIG_COALITIONS |
2394 | struct log_data_args { |
2395 | char tag_l_[PADL_(unsigned int)]; unsigned int tag; char tag_r_[PADR_(unsigned int)]; |
2396 | char flags_l_[PADL_(unsigned int)]; unsigned int flags; char flags_r_[PADR_(unsigned int)]; |
2397 | char buffer_l_[PADL_(user_addr_t)]; user_addr_t buffer; char buffer_r_[PADR_(user_addr_t)]; |
2398 | char size_l_[PADL_(unsigned int)]; unsigned int size; char size_r_[PADR_(unsigned int)]; |
2399 | }; |
2400 | struct memorystatus_available_memory_args { |
2401 | int32_t dummy; |
2402 | }; |
2403 | struct shared_region_map_and_slide_2_np_args { |
2404 | char files_count_l_[PADL_(uint32_t)]; uint32_t files_count; char files_count_r_[PADR_(uint32_t)]; |
2405 | char files_l_[PADL_(user_addr_t)]; user_addr_t files; char files_r_[PADR_(user_addr_t)]; |
2406 | char mappings_count_l_[PADL_(uint32_t)]; uint32_t mappings_count; char mappings_count_r_[PADR_(uint32_t)]; |
2407 | char mappings_l_[PADL_(user_addr_t)]; user_addr_t mappings; char mappings_r_[PADR_(user_addr_t)]; |
2408 | }; |
2409 | struct pivot_root_args { |
2410 | char new_rootfs_path_before_l_[PADL_(user_addr_t)]; user_addr_t new_rootfs_path_before; char new_rootfs_path_before_r_[PADR_(user_addr_t)]; |
2411 | char old_rootfs_path_after_l_[PADL_(user_addr_t)]; user_addr_t old_rootfs_path_after; char old_rootfs_path_after_r_[PADR_(user_addr_t)]; |
2412 | }; |
2413 | struct task_inspect_for_pid_args { |
2414 | char target_tport_l_[PADL_(mach_port_name_t)]; mach_port_name_t target_tport; char target_tport_r_[PADR_(mach_port_name_t)]; |
2415 | char pid_l_[PADL_(int)]; int pid; char pid_r_[PADR_(int)]; |
2416 | char t_l_[PADL_(user_addr_t)]; user_addr_t t; char t_r_[PADR_(user_addr_t)]; |
2417 | }; |
2418 | struct task_read_for_pid_args { |
2419 | char target_tport_l_[PADL_(mach_port_name_t)]; mach_port_name_t target_tport; char target_tport_r_[PADR_(mach_port_name_t)]; |
2420 | char pid_l_[PADL_(int)]; int pid; char pid_r_[PADR_(int)]; |
2421 | char t_l_[PADL_(user_addr_t)]; user_addr_t t; char t_r_[PADR_(user_addr_t)]; |
2422 | }; |
2423 | struct preadv_args { |
2424 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
2425 | char iovp_l_[PADL_(user_addr_t)]; user_addr_t iovp; char iovp_r_[PADR_(user_addr_t)]; |
2426 | char iovcnt_l_[PADL_(int)]; int iovcnt; char iovcnt_r_[PADR_(int)]; |
2427 | char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)]; |
2428 | }; |
2429 | struct pwritev_args { |
2430 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
2431 | char iovp_l_[PADL_(user_addr_t)]; user_addr_t iovp; char iovp_r_[PADR_(user_addr_t)]; |
2432 | char iovcnt_l_[PADL_(int)]; int iovcnt; char iovcnt_r_[PADR_(int)]; |
2433 | char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)]; |
2434 | }; |
2435 | struct preadv_nocancel_args { |
2436 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
2437 | char iovp_l_[PADL_(user_addr_t)]; user_addr_t iovp; char iovp_r_[PADR_(user_addr_t)]; |
2438 | char iovcnt_l_[PADL_(int)]; int iovcnt; char iovcnt_r_[PADR_(int)]; |
2439 | char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)]; |
2440 | }; |
2441 | struct pwritev_nocancel_args { |
2442 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
2443 | char iovp_l_[PADL_(user_addr_t)]; user_addr_t iovp; char iovp_r_[PADR_(user_addr_t)]; |
2444 | char iovcnt_l_[PADL_(int)]; int iovcnt; char iovcnt_r_[PADR_(int)]; |
2445 | char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)]; |
2446 | }; |
2447 | struct ulock_wait2_args { |
2448 | char operation_l_[PADL_(uint32_t)]; uint32_t operation; char operation_r_[PADR_(uint32_t)]; |
2449 | char addr_l_[PADL_(user_addr_t)]; user_addr_t addr; char addr_r_[PADR_(user_addr_t)]; |
2450 | char value_l_[PADL_(uint64_t)]; uint64_t value; char value_r_[PADR_(uint64_t)]; |
2451 | char timeout_l_[PADL_(uint64_t)]; uint64_t timeout; char timeout_r_[PADR_(uint64_t)]; |
2452 | char value2_l_[PADL_(uint64_t)]; uint64_t value2; char value2_r_[PADR_(uint64_t)]; |
2453 | }; |
2454 | struct proc_info_extended_id_args { |
2455 | char callnum_l_[PADL_(int32_t)]; int32_t callnum; char callnum_r_[PADR_(int32_t)]; |
2456 | char pid_l_[PADL_(int32_t)]; int32_t pid; char pid_r_[PADR_(int32_t)]; |
2457 | char flavor_l_[PADL_(uint32_t)]; uint32_t flavor; char flavor_r_[PADR_(uint32_t)]; |
2458 | char flags_l_[PADL_(uint32_t)]; uint32_t flags; char flags_r_[PADR_(uint32_t)]; |
2459 | char ext_id_l_[PADL_(uint64_t)]; uint64_t ext_id; char ext_id_r_[PADR_(uint64_t)]; |
2460 | char arg_l_[PADL_(uint64_t)]; uint64_t arg; char arg_r_[PADR_(uint64_t)]; |
2461 | char buffer_l_[PADL_(user_addr_t)]; user_addr_t buffer; char buffer_r_[PADR_(user_addr_t)]; |
2462 | char buffersize_l_[PADL_(int32_t)]; int32_t buffersize; char buffersize_r_[PADR_(int32_t)]; |
2463 | }; |
2464 | #if SOCKETS |
2465 | struct tracker_action_args { |
2466 | char action_l_[PADL_(int)]; int action; char action_r_[PADR_(int)]; |
2467 | char buffer_l_[PADL_(user_addr_t)]; user_addr_t buffer; char buffer_r_[PADR_(user_addr_t)]; |
2468 | char buffer_size_l_[PADL_(user_size_t)]; user_size_t buffer_size; char buffer_size_r_[PADR_(user_size_t)]; |
2469 | }; |
2470 | #else |
2471 | #endif /* SOCKETS */ |
2472 | struct debug_syscall_reject_args { |
2473 | char packed_selectors_l_[PADL_(uint64_t)]; uint64_t packed_selectors; char packed_selectors_r_[PADR_(uint64_t)]; |
2474 | }; |
2475 | struct debug_syscall_reject_config_args { |
2476 | char packed_selectors1_l_[PADL_(uint64_t)]; uint64_t packed_selectors1; char packed_selectors1_r_[PADR_(uint64_t)]; |
2477 | char packed_selectors2_l_[PADL_(uint64_t)]; uint64_t packed_selectors2; char packed_selectors2_r_[PADR_(uint64_t)]; |
2478 | char flags_l_[PADL_(uint64_t)]; uint64_t flags; char flags_r_[PADR_(uint64_t)]; |
2479 | }; |
2480 | struct graftdmg_args { |
2481 | char dmg_fd_l_[PADL_(int)]; int dmg_fd; char dmg_fd_r_[PADR_(int)]; |
2482 | char mountdir_l_[PADL_(user_addr_t)]; user_addr_t mountdir; char mountdir_r_[PADR_(user_addr_t)]; |
2483 | char graft_type_l_[PADL_(uint32_t)]; uint32_t graft_type; char graft_type_r_[PADR_(uint32_t)]; |
2484 | char gda_l_[PADL_(user_addr_t)]; user_addr_t gda; char gda_r_[PADR_(user_addr_t)]; |
2485 | }; |
2486 | struct map_with_linking_np_args { |
2487 | char regions_l_[PADL_(user_addr_t)]; user_addr_t regions; char regions_r_[PADR_(user_addr_t)]; |
2488 | char region_count_l_[PADL_(uint32_t)]; uint32_t region_count; char region_count_r_[PADR_(uint32_t)]; |
2489 | char link_info_l_[PADL_(user_addr_t)]; user_addr_t link_info; char link_info_r_[PADR_(user_addr_t)]; |
2490 | char link_info_size_l_[PADL_(uint32_t)]; uint32_t link_info_size; char link_info_size_r_[PADR_(uint32_t)]; |
2491 | }; |
2492 | struct freadlink_args { |
2493 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
2494 | char buf_l_[PADL_(user_addr_t)]; user_addr_t buf; char buf_r_[PADR_(user_addr_t)]; |
2495 | char bufsize_l_[PADL_(user_size_t)]; user_size_t bufsize; char bufsize_r_[PADR_(user_size_t)]; |
2496 | }; |
2497 | struct record_system_event_args { |
2498 | char type_l_[PADL_(uint32_t)]; uint32_t type; char type_r_[PADR_(uint32_t)]; |
2499 | char subsystem_l_[PADL_(uint32_t)]; uint32_t subsystem; char subsystem_r_[PADR_(uint32_t)]; |
2500 | char event_l_[PADL_(user_addr_t)]; user_addr_t event; char event_r_[PADR_(user_addr_t)]; |
2501 | char payload_l_[PADL_(user_addr_t)]; user_addr_t payload; char payload_r_[PADR_(user_addr_t)]; |
2502 | }; |
2503 | struct mkfifoat_args { |
2504 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
2505 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
2506 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; |
2507 | }; |
2508 | struct mknodat_args { |
2509 | char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; |
2510 | char path_l_[PADL_(user_addr_t)]; user_addr_t path; char path_r_[PADR_(user_addr_t)]; |
2511 | char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; |
2512 | char dev_l_[PADL_(int)]; int dev; char dev_r_[PADR_(int)]; |
2513 | }; |
2514 | struct ungraftdmg_args { |
2515 | char mountdir_l_[PADL_(user_addr_t)]; user_addr_t mountdir; char mountdir_r_[PADR_(user_addr_t)]; |
2516 | char flags_l_[PADL_(uint64_t)]; uint64_t flags; char flags_r_[PADR_(uint64_t)]; |
2517 | }; |
2518 | int nosys(struct proc *, struct nosys_args *, int *); |
2519 | void exit(struct proc *, struct exit_args *, int32_t *); |
2520 | int fork(struct proc *, struct fork_args *, int *); |
2521 | int read(struct proc *, struct read_args *, user_ssize_t *); |
2522 | int write(struct proc *, struct write_args *, user_ssize_t *); |
2523 | int open(struct proc *, struct open_args *, int *); |
2524 | int sys_close(struct proc *, struct close_args *, int *); |
2525 | int wait4(struct proc *, struct wait4_args *, int *); |
2526 | int link(struct proc *, struct link_args *, int *); |
2527 | int unlink(struct proc *, struct unlink_args *, int *); |
2528 | int sys_chdir(struct proc *, struct chdir_args *, int *); |
2529 | int sys_fchdir(struct proc *, struct fchdir_args *, int *); |
2530 | int mknod(struct proc *, struct mknod_args *, int *); |
2531 | int chmod(struct proc *, struct chmod_args *, int *); |
2532 | int chown(struct proc *, struct chown_args *, int *); |
2533 | int getfsstat(struct proc *, struct getfsstat_args *, int *); |
2534 | int getpid(struct proc *, struct getpid_args *, int *); |
2535 | int setuid(struct proc *, struct setuid_args *, int *); |
2536 | int getuid(struct proc *, struct getuid_args *, int *); |
2537 | int geteuid(struct proc *, struct geteuid_args *, int *); |
2538 | int ptrace(struct proc *, struct ptrace_args *, int *); |
2539 | #if SOCKETS |
2540 | int recvmsg(struct proc *, struct recvmsg_args *, int *); |
2541 | int sendmsg(struct proc *, struct sendmsg_args *, int *); |
2542 | int recvfrom(struct proc *, struct recvfrom_args *, int *); |
2543 | int accept(struct proc *, struct accept_args *, int *); |
2544 | int getpeername(struct proc *, struct getpeername_args *, int *); |
2545 | int getsockname(struct proc *, struct getsockname_args *, int *); |
2546 | #else |
2547 | #endif /* SOCKETS */ |
2548 | int access(struct proc *, struct access_args *, int *); |
2549 | int chflags(struct proc *, struct chflags_args *, int *); |
2550 | int fchflags(struct proc *, struct fchflags_args *, int *); |
2551 | int sync(struct proc *, struct sync_args *, int *); |
2552 | int kill(struct proc *, struct kill_args *, int *); |
2553 | int sys_crossarch_trap(struct proc *, struct crossarch_trap_args *, int *); |
2554 | int getppid(struct proc *, struct getppid_args *, int *); |
2555 | int sys_dup(struct proc *, struct dup_args *, int *); |
2556 | int pipe(struct proc *, struct pipe_args *, int *); |
2557 | int getegid(struct proc *, struct getegid_args *, int *); |
2558 | int sigaction(struct proc *, struct sigaction_args *, int *); |
2559 | int getgid(struct proc *, struct getgid_args *, int *); |
2560 | int sigprocmask(struct proc *, struct sigprocmask_args *, int *); |
2561 | int getlogin(struct proc *, struct getlogin_args *, int *); |
2562 | int setlogin(struct proc *, struct setlogin_args *, int *); |
2563 | int acct(struct proc *, struct acct_args *, int *); |
2564 | int sigpending(struct proc *, struct sigpending_args *, int *); |
2565 | int sigaltstack(struct proc *, struct sigaltstack_args *, int *); |
2566 | int ioctl(struct proc *, struct ioctl_args *, int *); |
2567 | int reboot(struct proc *, struct reboot_args *, int *); |
2568 | int revoke(struct proc *, struct revoke_args *, int *); |
2569 | int symlink(struct proc *, struct symlink_args *, int *); |
2570 | int readlink(struct proc *, struct readlink_args *, int *); |
2571 | int execve(struct proc *, struct execve_args *, int *); |
2572 | int umask(struct proc *, struct umask_args *, int *); |
2573 | int chroot(struct proc *, struct chroot_args *, int *); |
2574 | int msync(struct proc *, struct msync_args *, int *); |
2575 | #if CONFIG_VFORK |
2576 | int vfork(struct proc *, struct vfork_args *, int *); |
2577 | #else |
2578 | #endif |
2579 | int munmap(struct proc *, struct munmap_args *, int *); |
2580 | int mprotect(struct proc *, struct mprotect_args *, int *); |
2581 | int madvise(struct proc *, struct madvise_args *, int *); |
2582 | int mincore(struct proc *, struct mincore_args *, int *); |
2583 | int getgroups(struct proc *, struct getgroups_args *, int *); |
2584 | int setgroups(struct proc *, struct setgroups_args *, int *); |
2585 | int getpgrp(struct proc *, struct getpgrp_args *, int *); |
2586 | int setpgid(struct proc *, struct setpgid_args *, int *); |
2587 | int setitimer(struct proc *, struct setitimer_args *, int *); |
2588 | int swapon(struct proc *, struct swapon_args *, int *); |
2589 | int getitimer(struct proc *, struct getitimer_args *, int *); |
2590 | int sys_getdtablesize(struct proc *, struct getdtablesize_args *, int *); |
2591 | int sys_dup2(struct proc *, struct dup2_args *, int *); |
2592 | int sys_fcntl(struct proc *, struct fcntl_args *, int *); |
2593 | int select(struct proc *, struct select_args *, int *); |
2594 | int fsync(struct proc *, struct fsync_args *, int *); |
2595 | int setpriority(struct proc *, struct setpriority_args *, int *); |
2596 | #if SOCKETS |
2597 | int socket(struct proc *, struct socket_args *, int *); |
2598 | int connect(struct proc *, struct connect_args *, int *); |
2599 | #else |
2600 | #endif /* SOCKETS */ |
2601 | int getpriority(struct proc *, struct getpriority_args *, int *); |
2602 | #if SOCKETS |
2603 | int bind(struct proc *, struct bind_args *, int *); |
2604 | int setsockopt(struct proc *, struct setsockopt_args *, int *); |
2605 | int listen(struct proc *, struct listen_args *, int *); |
2606 | #else |
2607 | #endif /* SOCKETS */ |
2608 | int sigsuspend(struct proc *, struct sigsuspend_args *, int *); |
2609 | #if SOCKETS |
2610 | #else |
2611 | #endif /* SOCKETS */ |
2612 | int gettimeofday(struct proc *, struct gettimeofday_args *, int *); |
2613 | int getrusage(struct proc *, struct getrusage_args *, int *); |
2614 | #if SOCKETS |
2615 | int getsockopt(struct proc *, struct getsockopt_args *, int *); |
2616 | #else |
2617 | #endif /* SOCKETS */ |
2618 | int readv(struct proc *, struct readv_args *, user_ssize_t *); |
2619 | int writev(struct proc *, struct writev_args *, user_ssize_t *); |
2620 | int settimeofday(struct proc *, struct settimeofday_args *, int *); |
2621 | int fchown(struct proc *, struct fchown_args *, int *); |
2622 | int fchmod(struct proc *, struct fchmod_args *, int *); |
2623 | int setreuid(struct proc *, struct setreuid_args *, int *); |
2624 | int setregid(struct proc *, struct setregid_args *, int *); |
2625 | int rename(struct proc *, struct rename_args *, int *); |
2626 | int sys_flock(struct proc *, struct flock_args *, int *); |
2627 | int mkfifo(struct proc *, struct mkfifo_args *, int *); |
2628 | #if SOCKETS |
2629 | int sendto(struct proc *, struct sendto_args *, int *); |
2630 | int shutdown(struct proc *, struct shutdown_args *, int *); |
2631 | int socketpair(struct proc *, struct socketpair_args *, int *); |
2632 | #else |
2633 | #endif /* SOCKETS */ |
2634 | int mkdir(struct proc *, struct mkdir_args *, int *); |
2635 | int rmdir(struct proc *, struct rmdir_args *, int *); |
2636 | int utimes(struct proc *, struct utimes_args *, int *); |
2637 | int futimes(struct proc *, struct futimes_args *, int *); |
2638 | int adjtime(struct proc *, struct adjtime_args *, int *); |
2639 | int gethostuuid(struct proc *, struct gethostuuid_args *, int *); |
2640 | int setsid(struct proc *, struct setsid_args *, int *); |
2641 | int getpgid(struct proc *, struct getpgid_args *, int *); |
2642 | int setprivexec(struct proc *, struct setprivexec_args *, int *); |
2643 | int pread(struct proc *, struct pread_args *, user_ssize_t *); |
2644 | int pwrite(struct proc *, struct pwrite_args *, user_ssize_t *); |
2645 | #if NFSSERVER /* XXX */ |
2646 | int nfssvc(struct proc *, struct nfssvc_args *, int *); |
2647 | #else |
2648 | #endif |
2649 | int statfs(struct proc *, struct statfs_args *, int *); |
2650 | int fstatfs(struct proc *, struct fstatfs_args *, int *); |
2651 | int unmount(struct proc *, struct unmount_args *, int *); |
2652 | #if NFSSERVER /* XXX */ |
2653 | int getfh(struct proc *, struct getfh_args *, int *); |
2654 | #else |
2655 | #endif |
2656 | int quotactl(struct proc *, struct quotactl_args *, int *); |
2657 | int mount(struct proc *, struct mount_args *, int *); |
2658 | int csops(struct proc *, struct csops_args *, int *); |
2659 | int csops_audittoken(struct proc *, struct csops_audittoken_args *, int *); |
2660 | int waitid(struct proc *, struct waitid_args *, int *); |
2661 | int kdebug_typefilter(struct proc *, struct kdebug_typefilter_args *, int *); |
2662 | int kdebug_trace_string(struct proc *, struct kdebug_trace_string_args *, uint64_t *); |
2663 | int kdebug_trace64(struct proc *, struct kdebug_trace64_args *, int *); |
2664 | int kdebug_trace(struct proc *, struct kdebug_trace_args *, int *); |
2665 | int setgid(struct proc *, struct setgid_args *, int *); |
2666 | int setegid(struct proc *, struct setegid_args *, int *); |
2667 | int seteuid(struct proc *, struct seteuid_args *, int *); |
2668 | int sigreturn(struct proc *, struct sigreturn_args *, int *); |
2669 | int sys_panic_with_data(struct proc *, struct panic_with_data_args *, int *); |
2670 | int thread_selfcounts(struct proc *, struct thread_selfcounts_args *, int *); |
2671 | int fdatasync(struct proc *, struct fdatasync_args *, int *); |
2672 | int stat(struct proc *, struct stat_args *, int *); |
2673 | int sys_fstat(struct proc *, struct fstat_args *, int *); |
2674 | int lstat(struct proc *, struct lstat_args *, int *); |
2675 | int pathconf(struct proc *, struct pathconf_args *, int *); |
2676 | int sys_fpathconf(struct proc *, struct fpathconf_args *, int *); |
2677 | int getrlimit(struct proc *, struct getrlimit_args *, int *); |
2678 | int setrlimit(struct proc *, struct setrlimit_args *, int *); |
2679 | int getdirentries(struct proc *, struct getdirentries_args *, int *); |
2680 | int mmap(struct proc *, struct mmap_args *, user_addr_t *); |
2681 | int lseek(struct proc *, struct lseek_args *, off_t *); |
2682 | int truncate(struct proc *, struct truncate_args *, int *); |
2683 | int ftruncate(struct proc *, struct ftruncate_args *, int *); |
2684 | int sysctl(struct proc *, struct sysctl_args *, int *); |
2685 | int mlock(struct proc *, struct mlock_args *, int *); |
2686 | int munlock(struct proc *, struct munlock_args *, int *); |
2687 | int undelete(struct proc *, struct undelete_args *, int *); |
2688 | int open_dprotected_np(struct proc *, struct open_dprotected_np_args *, int *); |
2689 | int fsgetpath_ext(struct proc *, struct fsgetpath_ext_args *, user_ssize_t *); |
2690 | int openat_dprotected_np(struct proc *, struct openat_dprotected_np_args *, int *); |
2691 | int getattrlist(struct proc *, struct getattrlist_args *, int *); |
2692 | int setattrlist(struct proc *, struct setattrlist_args *, int *); |
2693 | int getdirentriesattr(struct proc *, struct getdirentriesattr_args *, int *); |
2694 | int exchangedata(struct proc *, struct exchangedata_args *, int *); |
2695 | int searchfs(struct proc *, struct searchfs_args *, int *); |
2696 | int delete(struct proc *, struct delete_args *, int *); |
2697 | int copyfile(struct proc *, struct copyfile_args *, int *); |
2698 | int fgetattrlist(struct proc *, struct fgetattrlist_args *, int *); |
2699 | int fsetattrlist(struct proc *, struct fsetattrlist_args *, int *); |
2700 | int poll(struct proc *, struct poll_args *, int *); |
2701 | int getxattr(struct proc *, struct getxattr_args *, user_ssize_t *); |
2702 | int fgetxattr(struct proc *, struct fgetxattr_args *, user_ssize_t *); |
2703 | int setxattr(struct proc *, struct setxattr_args *, int *); |
2704 | int fsetxattr(struct proc *, struct fsetxattr_args *, int *); |
2705 | int removexattr(struct proc *, struct removexattr_args *, int *); |
2706 | int fremovexattr(struct proc *, struct fremovexattr_args *, int *); |
2707 | int listxattr(struct proc *, struct listxattr_args *, user_ssize_t *); |
2708 | int flistxattr(struct proc *, struct flistxattr_args *, user_ssize_t *); |
2709 | int fsctl(struct proc *, struct fsctl_args *, int *); |
2710 | int initgroups(struct proc *, struct initgroups_args *, int *); |
2711 | int posix_spawn(struct proc *, struct posix_spawn_args *, int *); |
2712 | int ffsctl(struct proc *, struct ffsctl_args *, int *); |
2713 | #if NFSSERVER /* XXX */ |
2714 | int fhopen(struct proc *, struct fhopen_args *, int *); |
2715 | #else |
2716 | #endif |
2717 | int minherit(struct proc *, struct minherit_args *, int *); |
2718 | #if SYSV_SEM |
2719 | int semsys(struct proc *, struct semsys_args *, int *); |
2720 | #else |
2721 | #endif |
2722 | #if SYSV_MSG |
2723 | int msgsys(struct proc *, struct msgsys_args *, int *); |
2724 | #else |
2725 | #endif |
2726 | #if SYSV_SHM |
2727 | int shmsys(struct proc *, struct shmsys_args *, int *); |
2728 | #else |
2729 | #endif |
2730 | #if SYSV_SEM |
2731 | int semctl(struct proc *, struct semctl_args *, int *); |
2732 | int semget(struct proc *, struct semget_args *, int *); |
2733 | int semop(struct proc *, struct semop_args *, int *); |
2734 | #else |
2735 | #endif |
2736 | #if SYSV_MSG |
2737 | int msgctl(struct proc *, struct msgctl_args *, int *); |
2738 | int msgget(struct proc *, struct msgget_args *, int *); |
2739 | int msgsnd(struct proc *, struct msgsnd_args *, int *); |
2740 | int msgrcv(struct proc *, struct msgrcv_args *, user_ssize_t *); |
2741 | #else |
2742 | #endif |
2743 | #if SYSV_SHM |
2744 | int shmat(struct proc *, struct shmat_args *, user_addr_t *); |
2745 | int shmctl(struct proc *, struct shmctl_args *, int *); |
2746 | int shmdt(struct proc *, struct shmdt_args *, int *); |
2747 | int shmget(struct proc *, struct shmget_args *, int *); |
2748 | #else |
2749 | #endif |
2750 | int shm_open(struct proc *, struct shm_open_args *, int *); |
2751 | int shm_unlink(struct proc *, struct shm_unlink_args *, int *); |
2752 | int sem_open(struct proc *, struct sem_open_args *, user_addr_t *); |
2753 | int sem_close(struct proc *, struct sem_close_args *, int *); |
2754 | int sem_unlink(struct proc *, struct sem_unlink_args *, int *); |
2755 | int sem_wait(struct proc *, struct sem_wait_args *, int *); |
2756 | int sem_trywait(struct proc *, struct sem_trywait_args *, int *); |
2757 | int sem_post(struct proc *, struct sem_post_args *, int *); |
2758 | int sys_sysctlbyname(struct proc *, struct sysctlbyname_args *, int *); |
2759 | int open_extended(struct proc *, struct open_extended_args *, int *); |
2760 | int umask_extended(struct proc *, struct umask_extended_args *, int *); |
2761 | int stat_extended(struct proc *, struct stat_extended_args *, int *); |
2762 | int lstat_extended(struct proc *, struct lstat_extended_args *, int *); |
2763 | int sys_fstat_extended(struct proc *, struct fstat_extended_args *, int *); |
2764 | int chmod_extended(struct proc *, struct chmod_extended_args *, int *); |
2765 | int fchmod_extended(struct proc *, struct fchmod_extended_args *, int *); |
2766 | int access_extended(struct proc *, struct access_extended_args *, int *); |
2767 | int sys_settid(struct proc *, struct settid_args *, int *); |
2768 | int gettid(struct proc *, struct gettid_args *, int *); |
2769 | int setsgroups(struct proc *, struct setsgroups_args *, int *); |
2770 | int getsgroups(struct proc *, struct getsgroups_args *, int *); |
2771 | int setwgroups(struct proc *, struct setwgroups_args *, int *); |
2772 | int getwgroups(struct proc *, struct getwgroups_args *, int *); |
2773 | int mkfifo_extended(struct proc *, struct mkfifo_extended_args *, int *); |
2774 | int mkdir_extended(struct proc *, struct mkdir_extended_args *, int *); |
2775 | #if CONFIG_EXT_RESOLVER |
2776 | int identitysvc(struct proc *, struct identitysvc_args *, int *); |
2777 | #else |
2778 | #endif |
2779 | int shared_region_check_np(struct proc *, struct shared_region_check_np_args *, int *); |
2780 | int vm_pressure_monitor(struct proc *, struct vm_pressure_monitor_args *, int *); |
2781 | #if PSYNCH |
2782 | int psynch_rw_longrdlock(struct proc *, struct psynch_rw_longrdlock_args *, uint32_t *); |
2783 | int psynch_rw_yieldwrlock(struct proc *, struct psynch_rw_yieldwrlock_args *, uint32_t *); |
2784 | int psynch_rw_downgrade(struct proc *, struct psynch_rw_downgrade_args *, int *); |
2785 | int psynch_rw_upgrade(struct proc *, struct psynch_rw_upgrade_args *, uint32_t *); |
2786 | int psynch_mutexwait(struct proc *, struct psynch_mutexwait_args *, uint32_t *); |
2787 | int psynch_mutexdrop(struct proc *, struct psynch_mutexdrop_args *, uint32_t *); |
2788 | int psynch_cvbroad(struct proc *, struct psynch_cvbroad_args *, uint32_t *); |
2789 | int psynch_cvsignal(struct proc *, struct psynch_cvsignal_args *, uint32_t *); |
2790 | int psynch_cvwait(struct proc *, struct psynch_cvwait_args *, uint32_t *); |
2791 | int psynch_rw_rdlock(struct proc *, struct psynch_rw_rdlock_args *, uint32_t *); |
2792 | int psynch_rw_wrlock(struct proc *, struct psynch_rw_wrlock_args *, uint32_t *); |
2793 | int psynch_rw_unlock(struct proc *, struct psynch_rw_unlock_args *, uint32_t *); |
2794 | int psynch_rw_unlock2(struct proc *, struct psynch_rw_unlock2_args *, uint32_t *); |
2795 | #else |
2796 | #endif |
2797 | int getsid(struct proc *, struct getsid_args *, int *); |
2798 | int sys_settid_with_pid(struct proc *, struct settid_with_pid_args *, int *); |
2799 | #if PSYNCH |
2800 | int psynch_cvclrprepost(struct proc *, struct psynch_cvclrprepost_args *, int *); |
2801 | #else |
2802 | #endif |
2803 | int aio_fsync(struct proc *, struct aio_fsync_args *, int *); |
2804 | int aio_return(struct proc *, struct aio_return_args *, user_ssize_t *); |
2805 | int aio_suspend(struct proc *, struct aio_suspend_args *, int *); |
2806 | int aio_cancel(struct proc *, struct aio_cancel_args *, int *); |
2807 | int aio_error(struct proc *, struct aio_error_args *, int *); |
2808 | int aio_read(struct proc *, struct aio_read_args *, int *); |
2809 | int aio_write(struct proc *, struct aio_write_args *, int *); |
2810 | int lio_listio(struct proc *, struct lio_listio_args *, int *); |
2811 | int iopolicysys(struct proc *, struct iopolicysys_args *, int *); |
2812 | int process_policy(struct proc *, struct process_policy_args *, int *); |
2813 | int mlockall(struct proc *, struct mlockall_args *, int *); |
2814 | int munlockall(struct proc *, struct munlockall_args *, int *); |
2815 | int issetugid(struct proc *, struct issetugid_args *, int *); |
2816 | int __pthread_kill(struct proc *, struct __pthread_kill_args *, int *); |
2817 | int __pthread_sigmask(struct proc *, struct __pthread_sigmask_args *, int *); |
2818 | int __sigwait(struct proc *, struct __sigwait_args *, int *); |
2819 | int __disable_threadsignal(struct proc *, struct __disable_threadsignal_args *, int *); |
2820 | int __pthread_markcancel(struct proc *, struct __pthread_markcancel_args *, int *); |
2821 | int __pthread_canceled(struct proc *, struct __pthread_canceled_args *, int *); |
2822 | int __semwait_signal(struct proc *, struct __semwait_signal_args *, int *); |
2823 | int proc_info(struct proc *, struct proc_info_args *, int *); |
2824 | #if SENDFILE |
2825 | int sendfile(struct proc *, struct sendfile_args *, int *); |
2826 | #else /* !SENDFILE */ |
2827 | #endif /* SENDFILE */ |
2828 | int stat64(struct proc *, struct stat64_args *, int *); |
2829 | int sys_fstat64(struct proc *, struct fstat64_args *, int *); |
2830 | int lstat64(struct proc *, struct lstat64_args *, int *); |
2831 | int stat64_extended(struct proc *, struct stat64_extended_args *, int *); |
2832 | int lstat64_extended(struct proc *, struct lstat64_extended_args *, int *); |
2833 | int sys_fstat64_extended(struct proc *, struct fstat64_extended_args *, int *); |
2834 | int getdirentries64(struct proc *, struct getdirentries64_args *, user_ssize_t *); |
2835 | int statfs64(struct proc *, struct statfs64_args *, int *); |
2836 | int fstatfs64(struct proc *, struct fstatfs64_args *, int *); |
2837 | int getfsstat64(struct proc *, struct getfsstat64_args *, int *); |
2838 | int __pthread_chdir(struct proc *, struct __pthread_chdir_args *, int *); |
2839 | int __pthread_fchdir(struct proc *, struct __pthread_fchdir_args *, int *); |
2840 | int audit(struct proc *, struct audit_args *, int *); |
2841 | int auditon(struct proc *, struct auditon_args *, int *); |
2842 | int getauid(struct proc *, struct getauid_args *, int *); |
2843 | int setauid(struct proc *, struct setauid_args *, int *); |
2844 | int getaudit_addr(struct proc *, struct getaudit_addr_args *, int *); |
2845 | int setaudit_addr(struct proc *, struct setaudit_addr_args *, int *); |
2846 | int auditctl(struct proc *, struct auditctl_args *, int *); |
2847 | int bsdthread_create(struct proc *, struct bsdthread_create_args *, user_addr_t *); |
2848 | int bsdthread_terminate(struct proc *, struct bsdthread_terminate_args *, int *); |
2849 | int kqueue(struct proc *, struct kqueue_args *, int *); |
2850 | int kevent(struct proc *, struct kevent_args *, int *); |
2851 | int lchown(struct proc *, struct lchown_args *, int *); |
2852 | int bsdthread_register(struct proc *, struct bsdthread_register_args *, int *); |
2853 | int workq_open(struct proc *, struct workq_open_args *, int *); |
2854 | int workq_kernreturn(struct proc *, struct workq_kernreturn_args *, int *); |
2855 | int kevent64(struct proc *, struct kevent64_args *, int *); |
2856 | int thread_selfid(struct proc *, struct thread_selfid_args *, uint64_t *); |
2857 | int ledger(struct proc *, struct ledger_args *, int *); |
2858 | int kevent_qos(struct proc *, struct kevent_qos_args *, int *); |
2859 | int kevent_id(struct proc *, struct kevent_id_args *, int *); |
2860 | int __mac_execve(struct proc *, struct __mac_execve_args *, int *); |
2861 | #if CONFIG_MACF |
2862 | int __mac_syscall(struct proc *, struct __mac_syscall_args *, int *); |
2863 | int __mac_get_file(struct proc *, struct __mac_get_file_args *, int *); |
2864 | int __mac_set_file(struct proc *, struct __mac_set_file_args *, int *); |
2865 | int __mac_get_link(struct proc *, struct __mac_get_link_args *, int *); |
2866 | int __mac_set_link(struct proc *, struct __mac_set_link_args *, int *); |
2867 | int __mac_get_proc(struct proc *, struct __mac_get_proc_args *, int *); |
2868 | int __mac_set_proc(struct proc *, struct __mac_set_proc_args *, int *); |
2869 | int __mac_get_fd(struct proc *, struct __mac_get_fd_args *, int *); |
2870 | int __mac_set_fd(struct proc *, struct __mac_set_fd_args *, int *); |
2871 | int __mac_get_pid(struct proc *, struct __mac_get_pid_args *, int *); |
2872 | #else |
2873 | #endif |
2874 | int pselect(struct proc *, struct pselect_args *, int *); |
2875 | int pselect_nocancel(struct proc *, struct pselect_nocancel_args *, int *); |
2876 | int read_nocancel(struct proc *, struct read_nocancel_args *, user_ssize_t *); |
2877 | int write_nocancel(struct proc *, struct write_nocancel_args *, user_ssize_t *); |
2878 | int open_nocancel(struct proc *, struct open_nocancel_args *, int *); |
2879 | int sys_close_nocancel(struct proc *, struct close_nocancel_args *, int *); |
2880 | int wait4_nocancel(struct proc *, struct wait4_nocancel_args *, int *); |
2881 | #if SOCKETS |
2882 | int recvmsg_nocancel(struct proc *, struct recvmsg_nocancel_args *, int *); |
2883 | int sendmsg_nocancel(struct proc *, struct sendmsg_nocancel_args *, int *); |
2884 | int recvfrom_nocancel(struct proc *, struct recvfrom_nocancel_args *, int *); |
2885 | int accept_nocancel(struct proc *, struct accept_nocancel_args *, int *); |
2886 | #else |
2887 | #endif /* SOCKETS */ |
2888 | int msync_nocancel(struct proc *, struct msync_nocancel_args *, int *); |
2889 | int sys_fcntl_nocancel(struct proc *, struct fcntl_nocancel_args *, int *); |
2890 | int select_nocancel(struct proc *, struct select_nocancel_args *, int *); |
2891 | int fsync_nocancel(struct proc *, struct fsync_nocancel_args *, int *); |
2892 | #if SOCKETS |
2893 | int connect_nocancel(struct proc *, struct connect_nocancel_args *, int *); |
2894 | #else |
2895 | #endif /* SOCKETS */ |
2896 | int sigsuspend_nocancel(struct proc *, struct sigsuspend_nocancel_args *, int *); |
2897 | int readv_nocancel(struct proc *, struct readv_nocancel_args *, user_ssize_t *); |
2898 | int writev_nocancel(struct proc *, struct writev_nocancel_args *, user_ssize_t *); |
2899 | #if SOCKETS |
2900 | int sendto_nocancel(struct proc *, struct sendto_nocancel_args *, int *); |
2901 | #else |
2902 | #endif /* SOCKETS */ |
2903 | int pread_nocancel(struct proc *, struct pread_nocancel_args *, user_ssize_t *); |
2904 | int pwrite_nocancel(struct proc *, struct pwrite_nocancel_args *, user_ssize_t *); |
2905 | int waitid_nocancel(struct proc *, struct waitid_nocancel_args *, int *); |
2906 | int poll_nocancel(struct proc *, struct poll_nocancel_args *, int *); |
2907 | #if SYSV_MSG |
2908 | int msgsnd_nocancel(struct proc *, struct msgsnd_nocancel_args *, int *); |
2909 | int msgrcv_nocancel(struct proc *, struct msgrcv_nocancel_args *, user_ssize_t *); |
2910 | #else |
2911 | #endif |
2912 | int sem_wait_nocancel(struct proc *, struct sem_wait_nocancel_args *, int *); |
2913 | int aio_suspend_nocancel(struct proc *, struct aio_suspend_nocancel_args *, int *); |
2914 | int __sigwait_nocancel(struct proc *, struct __sigwait_nocancel_args *, int *); |
2915 | int __semwait_signal_nocancel(struct proc *, struct __semwait_signal_nocancel_args *, int *); |
2916 | int __mac_mount(struct proc *, struct __mac_mount_args *, int *); |
2917 | #if CONFIG_MACF |
2918 | int __mac_get_mount(struct proc *, struct __mac_get_mount_args *, int *); |
2919 | #else |
2920 | #endif |
2921 | int __mac_getfsstat(struct proc *, struct __mac_getfsstat_args *, int *); |
2922 | int fsgetpath(struct proc *, struct fsgetpath_args *, user_ssize_t *); |
2923 | int audit_session_self(struct proc *, struct audit_session_self_args *, mach_port_name_t *); |
2924 | int audit_session_join(struct proc *, struct audit_session_join_args *, int *); |
2925 | int sys_fileport_makeport(struct proc *, struct fileport_makeport_args *, int *); |
2926 | int sys_fileport_makefd(struct proc *, struct fileport_makefd_args *, int *); |
2927 | int audit_session_port(struct proc *, struct audit_session_port_args *, int *); |
2928 | int pid_suspend(struct proc *, struct pid_suspend_args *, int *); |
2929 | int pid_resume(struct proc *, struct pid_resume_args *, int *); |
2930 | #if CONFIG_EMBEDDED |
2931 | int pid_hibernate(struct proc *, struct pid_hibernate_args *, int *); |
2932 | #else |
2933 | #endif |
2934 | #if SOCKETS |
2935 | int pid_shutdown_sockets(struct proc *, struct pid_shutdown_sockets_args *, int *); |
2936 | #else |
2937 | #endif |
2938 | int kas_info(struct proc *, struct kas_info_args *, int *); |
2939 | #if CONFIG_MEMORYSTATUS |
2940 | int memorystatus_control(struct proc *, struct memorystatus_control_args *, int *); |
2941 | #else |
2942 | #endif |
2943 | int guarded_open_np(struct proc *, struct guarded_open_np_args *, int *); |
2944 | int guarded_close_np(struct proc *, struct guarded_close_np_args *, int *); |
2945 | int guarded_kqueue_np(struct proc *, struct guarded_kqueue_np_args *, int *); |
2946 | int change_fdguard_np(struct proc *, struct change_fdguard_np_args *, int *); |
2947 | int usrctl(struct proc *, struct usrctl_args *, int *); |
2948 | int proc_rlimit_control(struct proc *, struct proc_rlimit_control_args *, int *); |
2949 | #if SOCKETS |
2950 | int connectx(struct proc *, struct connectx_args *, int *); |
2951 | int disconnectx(struct proc *, struct disconnectx_args *, int *); |
2952 | int peeloff(struct proc *, struct peeloff_args *, int *); |
2953 | int socket_delegate(struct proc *, struct socket_delegate_args *, int *); |
2954 | #else |
2955 | #endif /* SOCKETS */ |
2956 | int telemetry(struct proc *, struct telemetry_args *, int *); |
2957 | #if CONFIG_PROC_UUID_POLICY |
2958 | int proc_uuid_policy(struct proc *, struct proc_uuid_policy_args *, int *); |
2959 | #else |
2960 | #endif |
2961 | #if CONFIG_MEMORYSTATUS |
2962 | int memorystatus_get_level(struct proc *, struct memorystatus_get_level_args *, int *); |
2963 | #else |
2964 | #endif |
2965 | int system_override(struct proc *, struct system_override_args *, int *); |
2966 | int vfs_purge(struct proc *, struct vfs_purge_args *, int *); |
2967 | int sfi_ctl(struct proc *, struct sfi_ctl_args *, int *); |
2968 | int sfi_pidctl(struct proc *, struct sfi_pidctl_args *, int *); |
2969 | #if CONFIG_COALITIONS |
2970 | int coalition(struct proc *, struct coalition_args *, int *); |
2971 | int coalition_info(struct proc *, struct coalition_info_args *, int *); |
2972 | #else |
2973 | #endif /* COALITIONS */ |
2974 | #if NECP |
2975 | int necp_match_policy(struct proc *, struct necp_match_policy_args *, int *); |
2976 | #else |
2977 | #endif /* NECP */ |
2978 | int getattrlistbulk(struct proc *, struct getattrlistbulk_args *, int *); |
2979 | int clonefileat(struct proc *, struct clonefileat_args *, int *); |
2980 | int openat(struct proc *, struct openat_args *, int *); |
2981 | int openat_nocancel(struct proc *, struct openat_nocancel_args *, int *); |
2982 | int renameat(struct proc *, struct renameat_args *, int *); |
2983 | int faccessat(struct proc *, struct faccessat_args *, int *); |
2984 | int fchmodat(struct proc *, struct fchmodat_args *, int *); |
2985 | int fchownat(struct proc *, struct fchownat_args *, int *); |
2986 | int fstatat(struct proc *, struct fstatat_args *, int *); |
2987 | int fstatat64(struct proc *, struct fstatat64_args *, int *); |
2988 | int linkat(struct proc *, struct linkat_args *, int *); |
2989 | int unlinkat(struct proc *, struct unlinkat_args *, int *); |
2990 | int readlinkat(struct proc *, struct readlinkat_args *, int *); |
2991 | int symlinkat(struct proc *, struct symlinkat_args *, int *); |
2992 | int mkdirat(struct proc *, struct mkdirat_args *, int *); |
2993 | int getattrlistat(struct proc *, struct getattrlistat_args *, int *); |
2994 | int proc_trace_log(struct proc *, struct proc_trace_log_args *, int *); |
2995 | int bsdthread_ctl(struct proc *, struct bsdthread_ctl_args *, int *); |
2996 | int openbyid_np(struct proc *, struct openbyid_np_args *, int *); |
2997 | #if SOCKETS |
2998 | int recvmsg_x(struct proc *, struct recvmsg_x_args *, user_ssize_t *); |
2999 | int sendmsg_x(struct proc *, struct sendmsg_x_args *, user_ssize_t *); |
3000 | #else |
3001 | #endif /* SOCKETS */ |
3002 | int thread_selfusage(struct proc *, struct thread_selfusage_args *, uint64_t *); |
3003 | #if CONFIG_CSR |
3004 | int csrctl(struct proc *, struct csrctl_args *, int *); |
3005 | #else |
3006 | #endif /* CSR */ |
3007 | int guarded_open_dprotected_np(struct proc *, struct guarded_open_dprotected_np_args *, int *); |
3008 | int guarded_write_np(struct proc *, struct guarded_write_np_args *, user_ssize_t *); |
3009 | int guarded_pwrite_np(struct proc *, struct guarded_pwrite_np_args *, user_ssize_t *); |
3010 | int guarded_writev_np(struct proc *, struct guarded_writev_np_args *, user_ssize_t *); |
3011 | int renameatx_np(struct proc *, struct renameatx_np_args *, int *); |
3012 | #if CONFIG_CODE_DECRYPTION |
3013 | int mremap_encrypted(struct proc *, struct mremap_encrypted_args *, int *); |
3014 | #else |
3015 | #endif |
3016 | #if NETWORKING |
3017 | int netagent_trigger(struct proc *, struct netagent_trigger_args *, int *); |
3018 | #else |
3019 | #endif /* NETWORKING */ |
3020 | int stack_snapshot_with_config(struct proc *, struct stack_snapshot_with_config_args *, int *); |
3021 | #if CONFIG_TELEMETRY |
3022 | int microstackshot(struct proc *, struct microstackshot_args *, int *); |
3023 | #else |
3024 | #endif /* CONFIG_TELEMETRY */ |
3025 | #if PGO |
3026 | int grab_pgo_data(struct proc *, struct grab_pgo_data_args *, user_ssize_t *); |
3027 | #else |
3028 | #endif |
3029 | #if CONFIG_PERSONAS |
3030 | int persona(struct proc *, struct persona_args *, int *); |
3031 | #else |
3032 | #endif |
3033 | int mach_eventlink_signal(struct proc *, struct mach_eventlink_signal_args *, uint64_t *); |
3034 | int mach_eventlink_wait_until(struct proc *, struct mach_eventlink_wait_until_args *, uint64_t *); |
3035 | int mach_eventlink_signal_wait_until(struct proc *, struct mach_eventlink_signal_wait_until_args *, uint64_t *); |
3036 | int work_interval_ctl(struct proc *, struct work_interval_ctl_args *, int *); |
3037 | int getentropy(struct proc *, struct getentropy_args *, int *); |
3038 | #if NECP |
3039 | int necp_open(struct proc *, struct necp_open_args *, int *); |
3040 | int necp_client_action(struct proc *, struct necp_client_action_args *, int *); |
3041 | #else |
3042 | #endif /* NECP */ |
3043 | #if SKYWALK |
3044 | int __nexus_open(struct proc *, struct __nexus_open_args *, int *); |
3045 | int __nexus_register(struct proc *, struct __nexus_register_args *, int *); |
3046 | int __nexus_deregister(struct proc *, struct __nexus_deregister_args *, int *); |
3047 | int __nexus_create(struct proc *, struct __nexus_create_args *, int *); |
3048 | int __nexus_destroy(struct proc *, struct __nexus_destroy_args *, int *); |
3049 | int __nexus_get_opt(struct proc *, struct __nexus_get_opt_args *, int *); |
3050 | int __nexus_set_opt(struct proc *, struct __nexus_set_opt_args *, int *); |
3051 | int __channel_open(struct proc *, struct __channel_open_args *, int *); |
3052 | int __channel_get_info(struct proc *, struct __channel_get_info_args *, int *); |
3053 | int __channel_sync(struct proc *, struct __channel_sync_args *, int *); |
3054 | int __channel_get_opt(struct proc *, struct __channel_get_opt_args *, int *); |
3055 | int __channel_set_opt(struct proc *, struct __channel_set_opt_args *, int *); |
3056 | #else |
3057 | #endif /* !SKYWALK */ |
3058 | int sys_ulock_wait(struct proc *, struct ulock_wait_args *, int *); |
3059 | int sys_ulock_wake(struct proc *, struct ulock_wake_args *, int *); |
3060 | int fclonefileat(struct proc *, struct fclonefileat_args *, int *); |
3061 | int fs_snapshot(struct proc *, struct fs_snapshot_args *, int *); |
3062 | int terminate_with_payload(struct proc *, struct terminate_with_payload_args *, int *); |
3063 | int abort_with_payload(struct proc *, struct abort_with_payload_args *, void *); |
3064 | #if NECP |
3065 | int necp_session_open(struct proc *, struct necp_session_open_args *, int *); |
3066 | int necp_session_action(struct proc *, struct necp_session_action_args *, int *); |
3067 | #else /* NECP */ |
3068 | #endif /* NECP */ |
3069 | int setattrlistat(struct proc *, struct setattrlistat_args *, int *); |
3070 | int net_qos_guideline(struct proc *, struct net_qos_guideline_args *, int *); |
3071 | int fmount(struct proc *, struct fmount_args *, int *); |
3072 | int ntp_adjtime(struct proc *, struct ntp_adjtime_args *, int *); |
3073 | int ntp_gettime(struct proc *, struct ntp_gettime_args *, int *); |
3074 | int os_fault_with_payload(struct proc *, struct os_fault_with_payload_args *, int *); |
3075 | int kqueue_workloop_ctl(struct proc *, struct kqueue_workloop_ctl_args *, int *); |
3076 | int __mach_bridge_remote_time(struct proc *, struct __mach_bridge_remote_time_args *, uint64_t *); |
3077 | #if CONFIG_COALITIONS |
3078 | int coalition_ledger(struct proc *, struct coalition_ledger_args *, int *); |
3079 | #else |
3080 | #endif // CONFIG_COALITIONS |
3081 | int log_data(struct proc *, struct log_data_args *, int *); |
3082 | int memorystatus_available_memory(struct proc *, struct memorystatus_available_memory_args *, uint64_t *); |
3083 | int shared_region_map_and_slide_2_np(struct proc *, struct shared_region_map_and_slide_2_np_args *, int *); |
3084 | int pivot_root(struct proc *, struct pivot_root_args *, int *); |
3085 | int task_inspect_for_pid(struct proc *, struct task_inspect_for_pid_args *, int *); |
3086 | int task_read_for_pid(struct proc *, struct task_read_for_pid_args *, int *); |
3087 | int sys_preadv(struct proc *, struct preadv_args *, user_ssize_t *); |
3088 | int sys_pwritev(struct proc *, struct pwritev_args *, user_ssize_t *); |
3089 | int sys_preadv_nocancel(struct proc *, struct preadv_nocancel_args *, user_ssize_t *); |
3090 | int sys_pwritev_nocancel(struct proc *, struct pwritev_nocancel_args *, user_ssize_t *); |
3091 | int sys_ulock_wait2(struct proc *, struct ulock_wait2_args *, int *); |
3092 | int proc_info_extended_id(struct proc *, struct proc_info_extended_id_args *, int *); |
3093 | #if SOCKETS |
3094 | int tracker_action(struct proc *, struct tracker_action_args *, int *); |
3095 | #else |
3096 | #endif /* SOCKETS */ |
3097 | int debug_syscall_reject(struct proc *, struct debug_syscall_reject_args *, int *); |
3098 | int sys_debug_syscall_reject_config(struct proc *, struct debug_syscall_reject_config_args *, int *); |
3099 | int graftdmg(struct proc *, struct graftdmg_args *, int *); |
3100 | int map_with_linking_np(struct proc *, struct map_with_linking_np_args *, int *); |
3101 | int freadlink(struct proc *, struct freadlink_args *, int *); |
3102 | int sys_record_system_event(struct proc *, struct record_system_event_args *, int *); |
3103 | int mkfifoat(struct proc *, struct mkfifoat_args *, int *); |
3104 | int mknodat(struct proc *, struct mknodat_args *, int *); |
3105 | int ungraftdmg(struct proc *, struct ungraftdmg_args *, int *); |
3106 | |
3107 | __END_DECLS |
3108 | #undef PAD_ |
3109 | #undef PADL_ |
3110 | #undef PADR_ |
3111 | |
3112 | #endif /* __APPLE_API_PRIVATE */ |
3113 | #endif /* KERNEL */ |
3114 | |
3115 | #endif /* !_SYS_SYSPROTO_H_ */ |
3116 | |