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 | const char *syscallnames[] = { |
36 | "syscall" , /* 0 = syscall indirect syscall */ |
37 | "exit" , /* 1 = exit */ |
38 | "fork" , /* 2 = fork */ |
39 | "read" , /* 3 = read */ |
40 | "write" , /* 4 = write */ |
41 | "open" , /* 5 = open */ |
42 | "close" , /* 6 = close */ |
43 | "wait4" , /* 7 = wait4 */ |
44 | "#8" , /* 8 = old creat */ |
45 | "link" , /* 9 = link */ |
46 | "unlink" , /* 10 = unlink */ |
47 | "#11" , /* 11 = old execv */ |
48 | "chdir" , /* 12 = chdir */ |
49 | "fchdir" , /* 13 = fchdir */ |
50 | "mknod" , /* 14 = mknod */ |
51 | "chmod" , /* 15 = chmod */ |
52 | "chown" , /* 16 = chown */ |
53 | "#17" , /* 17 = old break */ |
54 | "getfsstat" , /* 18 = getfsstat */ |
55 | "#19" , /* 19 = old lseek */ |
56 | "getpid" , /* 20 = getpid */ |
57 | "#21" , /* 21 = old mount */ |
58 | "#22" , /* 22 = old umount */ |
59 | "setuid" , /* 23 = setuid */ |
60 | "getuid" , /* 24 = getuid */ |
61 | "geteuid" , /* 25 = geteuid */ |
62 | "ptrace" , /* 26 = ptrace */ |
63 | #if SOCKETS |
64 | "recvmsg" , /* 27 = recvmsg */ |
65 | "sendmsg" , /* 28 = sendmsg */ |
66 | "recvfrom" , /* 29 = recvfrom */ |
67 | "accept" , /* 30 = accept */ |
68 | "getpeername" , /* 31 = getpeername */ |
69 | "getsockname" , /* 32 = getsockname */ |
70 | #else |
71 | "#27" , /* 27 = */ |
72 | "#28" , /* 28 = */ |
73 | "#29" , /* 29 = */ |
74 | "#30" , /* 30 = */ |
75 | "#31" , /* 31 = */ |
76 | "#32" , /* 32 = */ |
77 | #endif /* SOCKETS */ |
78 | "access" , /* 33 = access */ |
79 | "chflags" , /* 34 = chflags */ |
80 | "fchflags" , /* 35 = fchflags */ |
81 | "sync" , /* 36 = sync */ |
82 | "kill" , /* 37 = kill */ |
83 | "crossarch_trap" , /* 38 = crossarch_trap */ |
84 | "getppid" , /* 39 = getppid */ |
85 | "#40" , /* 40 = old lstat */ |
86 | "dup" , /* 41 = dup */ |
87 | "pipe" , /* 42 = pipe */ |
88 | "getegid" , /* 43 = getegid */ |
89 | "#44" , /* 44 = old profil */ |
90 | "#45" , /* 45 = old ktrace */ |
91 | "sigaction" , /* 46 = sigaction */ |
92 | "getgid" , /* 47 = getgid */ |
93 | "sigprocmask" , /* 48 = sigprocmask */ |
94 | "getlogin" , /* 49 = getlogin */ |
95 | "setlogin" , /* 50 = setlogin */ |
96 | "acct" , /* 51 = acct */ |
97 | "sigpending" , /* 52 = sigpending */ |
98 | "sigaltstack" , /* 53 = sigaltstack */ |
99 | "ioctl" , /* 54 = ioctl */ |
100 | "reboot" , /* 55 = reboot */ |
101 | "revoke" , /* 56 = revoke */ |
102 | "symlink" , /* 57 = symlink */ |
103 | "readlink" , /* 58 = readlink */ |
104 | "execve" , /* 59 = execve */ |
105 | "umask" , /* 60 = umask */ |
106 | "chroot" , /* 61 = chroot */ |
107 | "#62" , /* 62 = old fstat */ |
108 | "#63" , /* 63 = used internally and reserved */ |
109 | "#64" , /* 64 = old getpagesize */ |
110 | "msync" , /* 65 = msync */ |
111 | #if CONFIG_VFORK |
112 | "vfork" , /* 66 = vfork */ |
113 | #else |
114 | "#66" , /* 66 = old vfork */ |
115 | #endif |
116 | "#67" , /* 67 = old vread */ |
117 | "#68" , /* 68 = old vwrite */ |
118 | "#69" , /* 69 = old sbrk */ |
119 | "#70" , /* 70 = old sstk */ |
120 | "#71" , /* 71 = old mmap */ |
121 | "#72" , /* 72 = old vadvise */ |
122 | "munmap" , /* 73 = munmap */ |
123 | "mprotect" , /* 74 = mprotect */ |
124 | "madvise" , /* 75 = madvise */ |
125 | "#76" , /* 76 = old vhangup */ |
126 | "#77" , /* 77 = old vlimit */ |
127 | "mincore" , /* 78 = mincore */ |
128 | "getgroups" , /* 79 = getgroups */ |
129 | "setgroups" , /* 80 = setgroups */ |
130 | "getpgrp" , /* 81 = getpgrp */ |
131 | "setpgid" , /* 82 = setpgid */ |
132 | "setitimer" , /* 83 = setitimer */ |
133 | "#84" , /* 84 = old wait */ |
134 | "swapon" , /* 85 = swapon */ |
135 | "getitimer" , /* 86 = getitimer */ |
136 | "#87" , /* 87 = old gethostname */ |
137 | "#88" , /* 88 = old sethostname */ |
138 | "getdtablesize" , /* 89 = getdtablesize */ |
139 | "dup2" , /* 90 = dup2 */ |
140 | "#91" , /* 91 = old getdopt */ |
141 | "fcntl" , /* 92 = fcntl */ |
142 | "select" , /* 93 = select */ |
143 | "#94" , /* 94 = old setdopt */ |
144 | "fsync" , /* 95 = fsync */ |
145 | "setpriority" , /* 96 = setpriority */ |
146 | #if SOCKETS |
147 | "socket" , /* 97 = socket */ |
148 | "connect" , /* 98 = connect */ |
149 | #else |
150 | "#97" , /* 97 = */ |
151 | "#98" , /* 98 = */ |
152 | #endif /* SOCKETS */ |
153 | "#99" , /* 99 = old accept */ |
154 | "getpriority" , /* 100 = getpriority */ |
155 | "#101" , /* 101 = old send */ |
156 | "#102" , /* 102 = old recv */ |
157 | "#103" , /* 103 = old sigreturn */ |
158 | #if SOCKETS |
159 | "bind" , /* 104 = bind */ |
160 | "setsockopt" , /* 105 = setsockopt */ |
161 | "listen" , /* 106 = listen */ |
162 | #else |
163 | "#104" , /* 104 = */ |
164 | "#105" , /* 105 = */ |
165 | "#106" , /* 106 = */ |
166 | #endif /* SOCKETS */ |
167 | "#107" , /* 107 = old vtimes */ |
168 | "#108" , /* 108 = old sigvec */ |
169 | "#109" , /* 109 = old sigblock */ |
170 | "#110" , /* 110 = old sigsetmask */ |
171 | "sigsuspend" , /* 111 = sigsuspend */ |
172 | "#112" , /* 112 = old sigstack */ |
173 | #if SOCKETS |
174 | "#113" , /* 113 = old recvmsg */ |
175 | "#114" , /* 114 = old sendmsg */ |
176 | #else |
177 | "#113" , /* 113 = */ |
178 | "#114" , /* 114 = */ |
179 | #endif /* SOCKETS */ |
180 | "#115" , /* 115 = old vtrace */ |
181 | "gettimeofday" , /* 116 = gettimeofday */ |
182 | "getrusage" , /* 117 = getrusage */ |
183 | #if SOCKETS |
184 | "getsockopt" , /* 118 = getsockopt */ |
185 | #else |
186 | "#118" , /* 118 = */ |
187 | #endif /* SOCKETS */ |
188 | "#119" , /* 119 = old resuba */ |
189 | "readv" , /* 120 = readv */ |
190 | "writev" , /* 121 = writev */ |
191 | "settimeofday" , /* 122 = settimeofday */ |
192 | "fchown" , /* 123 = fchown */ |
193 | "fchmod" , /* 124 = fchmod */ |
194 | "#125" , /* 125 = old recvfrom */ |
195 | "setreuid" , /* 126 = setreuid */ |
196 | "setregid" , /* 127 = setregid */ |
197 | "rename" , /* 128 = rename */ |
198 | "#129" , /* 129 = old truncate */ |
199 | "#130" , /* 130 = old ftruncate */ |
200 | "flock" , /* 131 = flock */ |
201 | "mkfifo" , /* 132 = mkfifo */ |
202 | #if SOCKETS |
203 | "sendto" , /* 133 = sendto */ |
204 | "shutdown" , /* 134 = shutdown */ |
205 | "socketpair" , /* 135 = socketpair */ |
206 | #else |
207 | "#133" , /* 133 = */ |
208 | "#134" , /* 134 = */ |
209 | "#135" , /* 135 = */ |
210 | #endif /* SOCKETS */ |
211 | "mkdir" , /* 136 = mkdir */ |
212 | "rmdir" , /* 137 = rmdir */ |
213 | "utimes" , /* 138 = utimes */ |
214 | "futimes" , /* 139 = futimes */ |
215 | "adjtime" , /* 140 = adjtime */ |
216 | "#141" , /* 141 = old getpeername */ |
217 | "gethostuuid" , /* 142 = gethostuuid */ |
218 | "#143" , /* 143 = old sethostid */ |
219 | "#144" , /* 144 = old getrlimit */ |
220 | "#145" , /* 145 = old setrlimit */ |
221 | "#146" , /* 146 = old killpg */ |
222 | "setsid" , /* 147 = setsid */ |
223 | "#148" , /* 148 = old setquota */ |
224 | "#149" , /* 149 = old qquota */ |
225 | "#150" , /* 150 = old getsockname */ |
226 | "getpgid" , /* 151 = getpgid */ |
227 | "setprivexec" , /* 152 = setprivexec */ |
228 | "pread" , /* 153 = pread */ |
229 | "pwrite" , /* 154 = pwrite */ |
230 | #if NFSSERVER /* XXX */ |
231 | "nfssvc" , /* 155 = nfssvc */ |
232 | #else |
233 | "#155" , /* 155 = */ |
234 | #endif |
235 | "#156" , /* 156 = old getdirentries */ |
236 | "statfs" , /* 157 = statfs */ |
237 | "fstatfs" , /* 158 = fstatfs */ |
238 | "unmount" , /* 159 = unmount */ |
239 | "#160" , /* 160 = old async_daemon */ |
240 | #if NFSSERVER /* XXX */ |
241 | "getfh" , /* 161 = getfh */ |
242 | #else |
243 | "#161" , /* 161 = */ |
244 | #endif |
245 | "#162" , /* 162 = old getdomainname */ |
246 | "#163" , /* 163 = old setdomainname */ |
247 | "#164" , /* 164 = */ |
248 | "quotactl" , /* 165 = quotactl */ |
249 | "#166" , /* 166 = old exportfs */ |
250 | "mount" , /* 167 = mount */ |
251 | "#168" , /* 168 = old ustat */ |
252 | "csops" , /* 169 = csops */ |
253 | "csops_audittoken" , /* 170 = csops_audittoken */ |
254 | "#171" , /* 171 = old wait3 */ |
255 | "#172" , /* 172 = old rpause */ |
256 | "waitid" , /* 173 = waitid */ |
257 | "#174" , /* 174 = old getdents */ |
258 | "#175" , /* 175 = old gc_control */ |
259 | "#176" , /* 176 = old add_profil */ |
260 | "kdebug_typefilter" , /* 177 = kdebug_typefilter */ |
261 | "kdebug_trace_string" , /* 178 = kdebug_trace_string */ |
262 | "kdebug_trace64" , /* 179 = kdebug_trace64 */ |
263 | "kdebug_trace" , /* 180 = kdebug_trace */ |
264 | "setgid" , /* 181 = setgid */ |
265 | "setegid" , /* 182 = setegid */ |
266 | "seteuid" , /* 183 = seteuid */ |
267 | "sigreturn" , /* 184 = sigreturn */ |
268 | "panic_with_data" , /* 185 = panic_with_data */ |
269 | "thread_selfcounts" , /* 186 = thread_selfcounts */ |
270 | "fdatasync" , /* 187 = fdatasync */ |
271 | "stat" , /* 188 = stat */ |
272 | "fstat" , /* 189 = fstat */ |
273 | "lstat" , /* 190 = lstat */ |
274 | "pathconf" , /* 191 = pathconf */ |
275 | "fpathconf" , /* 192 = fpathconf */ |
276 | "#193" , /* 193 = old getfsstat */ |
277 | "getrlimit" , /* 194 = getrlimit */ |
278 | "setrlimit" , /* 195 = setrlimit */ |
279 | "getdirentries" , /* 196 = getdirentries */ |
280 | "mmap" , /* 197 = mmap */ |
281 | "#198" , /* 198 = old __syscall */ |
282 | "lseek" , /* 199 = lseek */ |
283 | "truncate" , /* 200 = truncate */ |
284 | "ftruncate" , /* 201 = ftruncate */ |
285 | "sysctl" , /* 202 = sysctl */ |
286 | "mlock" , /* 203 = mlock */ |
287 | "munlock" , /* 204 = munlock */ |
288 | "undelete" , /* 205 = undelete */ |
289 | "#206" , /* 206 = old ATsocket */ |
290 | "#207" , /* 207 = old ATgetmsg */ |
291 | "#208" , /* 208 = old ATputmsg */ |
292 | "#209" , /* 209 = old ATsndreq */ |
293 | "#210" , /* 210 = old ATsndrsp */ |
294 | "#211" , /* 211 = old ATgetreq */ |
295 | "#212" , /* 212 = old ATgetrsp */ |
296 | "#213" , /* 213 = Reserved for AppleTalk */ |
297 | "#214" , /* 214 = */ |
298 | "#215" , /* 215 = */ |
299 | "open_dprotected_np" , /* 216 = open_dprotected_np */ |
300 | "fsgetpath_ext" , /* 217 = fsgetpath_ext */ |
301 | "openat_dprotected_np" , /* 218 = openat_dprotected_np */ |
302 | "#219" , /* 219 = old fstatv */ |
303 | "getattrlist" , /* 220 = getattrlist */ |
304 | "setattrlist" , /* 221 = setattrlist */ |
305 | "getdirentriesattr" , /* 222 = getdirentriesattr */ |
306 | "exchangedata" , /* 223 = exchangedata */ |
307 | "#224" , /* 224 = old checkuseraccess or fsgetpath */ |
308 | "searchfs" , /* 225 = searchfs */ |
309 | "delete" , /* 226 = delete private delete ( Carbon semantics ) */ |
310 | "copyfile" , /* 227 = copyfile */ |
311 | "fgetattrlist" , /* 228 = fgetattrlist */ |
312 | "fsetattrlist" , /* 229 = fsetattrlist */ |
313 | "poll" , /* 230 = poll */ |
314 | "#231" , /* 231 = old watchevent */ |
315 | "#232" , /* 232 = old waitevent */ |
316 | "#233" , /* 233 = old modwatch */ |
317 | "getxattr" , /* 234 = getxattr */ |
318 | "fgetxattr" , /* 235 = fgetxattr */ |
319 | "setxattr" , /* 236 = setxattr */ |
320 | "fsetxattr" , /* 237 = fsetxattr */ |
321 | "removexattr" , /* 238 = removexattr */ |
322 | "fremovexattr" , /* 239 = fremovexattr */ |
323 | "listxattr" , /* 240 = listxattr */ |
324 | "flistxattr" , /* 241 = flistxattr */ |
325 | "fsctl" , /* 242 = fsctl */ |
326 | "initgroups" , /* 243 = initgroups */ |
327 | "posix_spawn" , /* 244 = posix_spawn */ |
328 | "ffsctl" , /* 245 = ffsctl */ |
329 | "#246" , /* 246 = */ |
330 | "#247" , /* 247 = old nfsclnt */ |
331 | #if NFSSERVER /* XXX */ |
332 | "fhopen" , /* 248 = fhopen */ |
333 | #else |
334 | "#248" , /* 248 = */ |
335 | #endif |
336 | "#249" , /* 249 = */ |
337 | "minherit" , /* 250 = minherit */ |
338 | #if SYSV_SEM |
339 | "semsys" , /* 251 = semsys */ |
340 | #else |
341 | "#251" , /* 251 = */ |
342 | #endif |
343 | #if SYSV_MSG |
344 | "msgsys" , /* 252 = msgsys */ |
345 | #else |
346 | "#252" , /* 252 = */ |
347 | #endif |
348 | #if SYSV_SHM |
349 | "shmsys" , /* 253 = shmsys */ |
350 | #else |
351 | "#253" , /* 253 = */ |
352 | #endif |
353 | #if SYSV_SEM |
354 | "semctl" , /* 254 = semctl */ |
355 | "semget" , /* 255 = semget */ |
356 | "semop" , /* 256 = semop */ |
357 | "#257" , /* 257 = old semconfig */ |
358 | #else |
359 | "#254" , /* 254 = */ |
360 | "#255" , /* 255 = */ |
361 | "#256" , /* 256 = */ |
362 | "#257" , /* 257 = */ |
363 | #endif |
364 | #if SYSV_MSG |
365 | "msgctl" , /* 258 = msgctl */ |
366 | "msgget" , /* 259 = msgget */ |
367 | "msgsnd" , /* 260 = msgsnd */ |
368 | "msgrcv" , /* 261 = msgrcv */ |
369 | #else |
370 | "#258" , /* 258 = */ |
371 | "#259" , /* 259 = */ |
372 | "#260" , /* 260 = */ |
373 | "#261" , /* 261 = */ |
374 | #endif |
375 | #if SYSV_SHM |
376 | "shmat" , /* 262 = shmat */ |
377 | "shmctl" , /* 263 = shmctl */ |
378 | "shmdt" , /* 264 = shmdt */ |
379 | "shmget" , /* 265 = shmget */ |
380 | #else |
381 | "#262" , /* 262 = */ |
382 | "#263" , /* 263 = */ |
383 | "#264" , /* 264 = */ |
384 | "#265" , /* 265 = */ |
385 | #endif |
386 | "shm_open" , /* 266 = shm_open */ |
387 | "shm_unlink" , /* 267 = shm_unlink */ |
388 | "sem_open" , /* 268 = sem_open */ |
389 | "sem_close" , /* 269 = sem_close */ |
390 | "sem_unlink" , /* 270 = sem_unlink */ |
391 | "sem_wait" , /* 271 = sem_wait */ |
392 | "sem_trywait" , /* 272 = sem_trywait */ |
393 | "sem_post" , /* 273 = sem_post */ |
394 | "sysctlbyname" , /* 274 = sysctlbyname */ |
395 | "#275" , /* 275 = old sem_init */ |
396 | "#276" , /* 276 = old sem_destroy */ |
397 | "open_extended" , /* 277 = open_extended */ |
398 | "umask_extended" , /* 278 = umask_extended */ |
399 | "stat_extended" , /* 279 = stat_extended */ |
400 | "lstat_extended" , /* 280 = lstat_extended */ |
401 | "fstat_extended" , /* 281 = fstat_extended */ |
402 | "chmod_extended" , /* 282 = chmod_extended */ |
403 | "fchmod_extended" , /* 283 = fchmod_extended */ |
404 | "access_extended" , /* 284 = access_extended */ |
405 | "settid" , /* 285 = settid */ |
406 | "gettid" , /* 286 = gettid */ |
407 | "setsgroups" , /* 287 = setsgroups */ |
408 | "getsgroups" , /* 288 = getsgroups */ |
409 | "setwgroups" , /* 289 = setwgroups */ |
410 | "getwgroups" , /* 290 = getwgroups */ |
411 | "mkfifo_extended" , /* 291 = mkfifo_extended */ |
412 | "mkdir_extended" , /* 292 = mkdir_extended */ |
413 | #if CONFIG_EXT_RESOLVER |
414 | "identitysvc" , /* 293 = identitysvc */ |
415 | #else |
416 | "#293" , /* 293 = */ |
417 | #endif |
418 | "shared_region_check_np" , /* 294 = shared_region_check_np */ |
419 | "#295" , /* 295 = old shared_region_map_np */ |
420 | "vm_pressure_monitor" , /* 296 = vm_pressure_monitor */ |
421 | #if PSYNCH |
422 | "psynch_rw_longrdlock" , /* 297 = psynch_rw_longrdlock */ |
423 | "psynch_rw_yieldwrlock" , /* 298 = psynch_rw_yieldwrlock */ |
424 | "psynch_rw_downgrade" , /* 299 = psynch_rw_downgrade */ |
425 | "psynch_rw_upgrade" , /* 300 = psynch_rw_upgrade */ |
426 | "psynch_mutexwait" , /* 301 = psynch_mutexwait */ |
427 | "psynch_mutexdrop" , /* 302 = psynch_mutexdrop */ |
428 | "psynch_cvbroad" , /* 303 = psynch_cvbroad */ |
429 | "psynch_cvsignal" , /* 304 = psynch_cvsignal */ |
430 | "psynch_cvwait" , /* 305 = psynch_cvwait */ |
431 | "psynch_rw_rdlock" , /* 306 = psynch_rw_rdlock */ |
432 | "psynch_rw_wrlock" , /* 307 = psynch_rw_wrlock */ |
433 | "psynch_rw_unlock" , /* 308 = psynch_rw_unlock */ |
434 | "psynch_rw_unlock2" , /* 309 = psynch_rw_unlock2 */ |
435 | #else |
436 | "#297" , /* 297 = old reset_shared_file */ |
437 | "#298" , /* 298 = old new_system_shared_regions */ |
438 | "#299" , /* 299 = old shared_region_map_file_np */ |
439 | "#300" , /* 300 = old shared_region_make_private_np */ |
440 | "#301" , /* 301 = */ |
441 | "#302" , /* 302 = */ |
442 | "#303" , /* 303 = */ |
443 | "#304" , /* 304 = */ |
444 | "#305" , /* 305 = */ |
445 | "#306" , /* 306 = */ |
446 | "#307" , /* 307 = */ |
447 | "#308" , /* 308 = */ |
448 | "#309" , /* 309 = */ |
449 | #endif |
450 | "getsid" , /* 310 = getsid */ |
451 | "settid_with_pid" , /* 311 = settid_with_pid */ |
452 | #if PSYNCH |
453 | "psynch_cvclrprepost" , /* 312 = psynch_cvclrprepost */ |
454 | #else |
455 | "#312" , /* 312 = old __pthread_cond_timedwait */ |
456 | #endif |
457 | "aio_fsync" , /* 313 = aio_fsync */ |
458 | "aio_return" , /* 314 = aio_return */ |
459 | "aio_suspend" , /* 315 = aio_suspend */ |
460 | "aio_cancel" , /* 316 = aio_cancel */ |
461 | "aio_error" , /* 317 = aio_error */ |
462 | "aio_read" , /* 318 = aio_read */ |
463 | "aio_write" , /* 319 = aio_write */ |
464 | "lio_listio" , /* 320 = lio_listio */ |
465 | "#321" , /* 321 = old __pthread_cond_wait */ |
466 | "iopolicysys" , /* 322 = iopolicysys */ |
467 | "process_policy" , /* 323 = process_policy */ |
468 | "mlockall" , /* 324 = mlockall */ |
469 | "munlockall" , /* 325 = munlockall */ |
470 | "#326" , /* 326 = */ |
471 | "issetugid" , /* 327 = issetugid */ |
472 | "__pthread_kill" , /* 328 = __pthread_kill */ |
473 | "__pthread_sigmask" , /* 329 = __pthread_sigmask */ |
474 | "__sigwait" , /* 330 = __sigwait */ |
475 | "__disable_threadsignal" , /* 331 = __disable_threadsignal */ |
476 | "__pthread_markcancel" , /* 332 = __pthread_markcancel */ |
477 | "__pthread_canceled" , /* 333 = __pthread_canceled */ |
478 | "__semwait_signal" , /* 334 = __semwait_signal */ |
479 | "#335" , /* 335 = old utrace */ |
480 | "proc_info" , /* 336 = proc_info */ |
481 | #if SENDFILE |
482 | "sendfile" , /* 337 = sendfile */ |
483 | #else /* !SENDFILE */ |
484 | "#337" , /* 337 = */ |
485 | #endif /* SENDFILE */ |
486 | "stat64" , /* 338 = stat64 */ |
487 | "fstat64" , /* 339 = fstat64 */ |
488 | "lstat64" , /* 340 = lstat64 */ |
489 | "stat64_extended" , /* 341 = stat64_extended */ |
490 | "lstat64_extended" , /* 342 = lstat64_extended */ |
491 | "fstat64_extended" , /* 343 = fstat64_extended */ |
492 | "getdirentries64" , /* 344 = getdirentries64 */ |
493 | "statfs64" , /* 345 = statfs64 */ |
494 | "fstatfs64" , /* 346 = fstatfs64 */ |
495 | "getfsstat64" , /* 347 = getfsstat64 */ |
496 | "__pthread_chdir" , /* 348 = __pthread_chdir */ |
497 | "__pthread_fchdir" , /* 349 = __pthread_fchdir */ |
498 | "audit" , /* 350 = audit */ |
499 | "auditon" , /* 351 = auditon */ |
500 | "#352" , /* 352 = */ |
501 | "getauid" , /* 353 = getauid */ |
502 | "setauid" , /* 354 = setauid */ |
503 | "#355" , /* 355 = old getaudit */ |
504 | "#356" , /* 356 = old setaudit */ |
505 | "getaudit_addr" , /* 357 = getaudit_addr */ |
506 | "setaudit_addr" , /* 358 = setaudit_addr */ |
507 | "auditctl" , /* 359 = auditctl */ |
508 | "bsdthread_create" , /* 360 = bsdthread_create */ |
509 | "bsdthread_terminate" , /* 361 = bsdthread_terminate */ |
510 | "kqueue" , /* 362 = kqueue */ |
511 | "kevent" , /* 363 = kevent */ |
512 | "lchown" , /* 364 = lchown */ |
513 | "#365" , /* 365 = old stack_snapshot */ |
514 | "bsdthread_register" , /* 366 = bsdthread_register */ |
515 | "workq_open" , /* 367 = workq_open */ |
516 | "workq_kernreturn" , /* 368 = workq_kernreturn */ |
517 | "kevent64" , /* 369 = kevent64 */ |
518 | "#370" , /* 370 = old __semwait_signal */ |
519 | "#371" , /* 371 = old __semwait_signal */ |
520 | "thread_selfid" , /* 372 = thread_selfid */ |
521 | "ledger" , /* 373 = ledger */ |
522 | "kevent_qos" , /* 374 = kevent_qos */ |
523 | "kevent_id" , /* 375 = kevent_id */ |
524 | "#376" , /* 376 = */ |
525 | "#377" , /* 377 = */ |
526 | "#378" , /* 378 = */ |
527 | "#379" , /* 379 = */ |
528 | "__mac_execve" , /* 380 = __mac_execve */ |
529 | #if CONFIG_MACF |
530 | "__mac_syscall" , /* 381 = __mac_syscall */ |
531 | "__mac_get_file" , /* 382 = __mac_get_file */ |
532 | "__mac_set_file" , /* 383 = __mac_set_file */ |
533 | "__mac_get_link" , /* 384 = __mac_get_link */ |
534 | "__mac_set_link" , /* 385 = __mac_set_link */ |
535 | "__mac_get_proc" , /* 386 = __mac_get_proc */ |
536 | "__mac_set_proc" , /* 387 = __mac_set_proc */ |
537 | "__mac_get_fd" , /* 388 = __mac_get_fd */ |
538 | "__mac_set_fd" , /* 389 = __mac_set_fd */ |
539 | "__mac_get_pid" , /* 390 = __mac_get_pid */ |
540 | #else |
541 | "#381" , /* 381 = */ |
542 | "#382" , /* 382 = */ |
543 | "#383" , /* 383 = */ |
544 | "#384" , /* 384 = */ |
545 | "#385" , /* 385 = */ |
546 | "#386" , /* 386 = */ |
547 | "#387" , /* 387 = */ |
548 | "#388" , /* 388 = */ |
549 | "#389" , /* 389 = */ |
550 | "#390" , /* 390 = */ |
551 | #endif |
552 | "#391" , /* 391 = */ |
553 | "#392" , /* 392 = */ |
554 | "#393" , /* 393 = */ |
555 | "pselect" , /* 394 = pselect */ |
556 | "pselect_nocancel" , /* 395 = pselect_nocancel */ |
557 | "read_nocancel" , /* 396 = read_nocancel */ |
558 | "write_nocancel" , /* 397 = write_nocancel */ |
559 | "open_nocancel" , /* 398 = open_nocancel */ |
560 | "close_nocancel" , /* 399 = close_nocancel */ |
561 | "wait4_nocancel" , /* 400 = wait4_nocancel */ |
562 | #if SOCKETS |
563 | "recvmsg_nocancel" , /* 401 = recvmsg_nocancel */ |
564 | "sendmsg_nocancel" , /* 402 = sendmsg_nocancel */ |
565 | "recvfrom_nocancel" , /* 403 = recvfrom_nocancel */ |
566 | "accept_nocancel" , /* 404 = accept_nocancel */ |
567 | #else |
568 | "#401" , /* 401 = */ |
569 | "#402" , /* 402 = */ |
570 | "#403" , /* 403 = */ |
571 | "#404" , /* 404 = */ |
572 | #endif /* SOCKETS */ |
573 | "msync_nocancel" , /* 405 = msync_nocancel */ |
574 | "fcntl_nocancel" , /* 406 = fcntl_nocancel */ |
575 | "select_nocancel" , /* 407 = select_nocancel */ |
576 | "fsync_nocancel" , /* 408 = fsync_nocancel */ |
577 | #if SOCKETS |
578 | "connect_nocancel" , /* 409 = connect_nocancel */ |
579 | #else |
580 | "#409" , /* 409 = */ |
581 | #endif /* SOCKETS */ |
582 | "sigsuspend_nocancel" , /* 410 = sigsuspend_nocancel */ |
583 | "readv_nocancel" , /* 411 = readv_nocancel */ |
584 | "writev_nocancel" , /* 412 = writev_nocancel */ |
585 | #if SOCKETS |
586 | "sendto_nocancel" , /* 413 = sendto_nocancel */ |
587 | #else |
588 | "#413" , /* 413 = */ |
589 | #endif /* SOCKETS */ |
590 | "pread_nocancel" , /* 414 = pread_nocancel */ |
591 | "pwrite_nocancel" , /* 415 = pwrite_nocancel */ |
592 | "waitid_nocancel" , /* 416 = waitid_nocancel */ |
593 | "poll_nocancel" , /* 417 = poll_nocancel */ |
594 | #if SYSV_MSG |
595 | "msgsnd_nocancel" , /* 418 = msgsnd_nocancel */ |
596 | "msgrcv_nocancel" , /* 419 = msgrcv_nocancel */ |
597 | #else |
598 | "#418" , /* 418 = */ |
599 | "#419" , /* 419 = */ |
600 | #endif |
601 | "sem_wait_nocancel" , /* 420 = sem_wait_nocancel */ |
602 | "aio_suspend_nocancel" , /* 421 = aio_suspend_nocancel */ |
603 | "__sigwait_nocancel" , /* 422 = __sigwait_nocancel */ |
604 | "__semwait_signal_nocancel" , /* 423 = __semwait_signal_nocancel */ |
605 | "__mac_mount" , /* 424 = __mac_mount */ |
606 | #if CONFIG_MACF |
607 | "__mac_get_mount" , /* 425 = __mac_get_mount */ |
608 | #else |
609 | "#425" , /* 425 = */ |
610 | #endif |
611 | "__mac_getfsstat" , /* 426 = __mac_getfsstat */ |
612 | "fsgetpath" , /* 427 = fsgetpath private fsgetpath ( File Manager SPI ) */ |
613 | "audit_session_self" , /* 428 = audit_session_self */ |
614 | "audit_session_join" , /* 429 = audit_session_join */ |
615 | "fileport_makeport" , /* 430 = fileport_makeport */ |
616 | "fileport_makefd" , /* 431 = fileport_makefd */ |
617 | "audit_session_port" , /* 432 = audit_session_port */ |
618 | "pid_suspend" , /* 433 = pid_suspend */ |
619 | "pid_resume" , /* 434 = pid_resume */ |
620 | #if CONFIG_EMBEDDED |
621 | "pid_hibernate" , /* 435 = pid_hibernate */ |
622 | #else |
623 | "#435" , /* 435 = */ |
624 | #endif |
625 | #if SOCKETS |
626 | "pid_shutdown_sockets" , /* 436 = pid_shutdown_sockets */ |
627 | #else |
628 | "#436" , /* 436 = */ |
629 | #endif |
630 | "#437" , /* 437 = old shared_region_slide_np */ |
631 | "#438" , /* 438 = old shared_region_map_and_slide_np */ |
632 | "kas_info" , /* 439 = kas_info */ |
633 | #if CONFIG_MEMORYSTATUS |
634 | "memorystatus_control" , /* 440 = memorystatus_control */ |
635 | #else |
636 | "#440" , /* 440 = */ |
637 | #endif |
638 | "guarded_open_np" , /* 441 = guarded_open_np */ |
639 | "guarded_close_np" , /* 442 = guarded_close_np */ |
640 | "guarded_kqueue_np" , /* 443 = guarded_kqueue_np */ |
641 | "change_fdguard_np" , /* 444 = change_fdguard_np */ |
642 | "usrctl" , /* 445 = usrctl */ |
643 | "proc_rlimit_control" , /* 446 = proc_rlimit_control */ |
644 | #if SOCKETS |
645 | "connectx" , /* 447 = connectx */ |
646 | "disconnectx" , /* 448 = disconnectx */ |
647 | "peeloff" , /* 449 = peeloff */ |
648 | "socket_delegate" , /* 450 = socket_delegate */ |
649 | #else |
650 | "#447" , /* 447 = */ |
651 | "#448" , /* 448 = */ |
652 | "#449" , /* 449 = */ |
653 | "#450" , /* 450 = */ |
654 | #endif /* SOCKETS */ |
655 | "telemetry" , /* 451 = telemetry */ |
656 | #if CONFIG_PROC_UUID_POLICY |
657 | "proc_uuid_policy" , /* 452 = proc_uuid_policy */ |
658 | #else |
659 | "#452" , /* 452 = */ |
660 | #endif |
661 | #if CONFIG_MEMORYSTATUS |
662 | "memorystatus_get_level" , /* 453 = memorystatus_get_level */ |
663 | #else |
664 | "#453" , /* 453 = */ |
665 | #endif |
666 | "system_override" , /* 454 = system_override */ |
667 | "vfs_purge" , /* 455 = vfs_purge */ |
668 | "sfi_ctl" , /* 456 = sfi_ctl */ |
669 | "sfi_pidctl" , /* 457 = sfi_pidctl */ |
670 | #if CONFIG_COALITIONS |
671 | "coalition" , /* 458 = coalition */ |
672 | "coalition_info" , /* 459 = coalition_info */ |
673 | #else |
674 | "#458" , /* 458 = */ |
675 | "#459" , /* 459 = */ |
676 | #endif /* COALITIONS */ |
677 | #if NECP |
678 | "necp_match_policy" , /* 460 = necp_match_policy */ |
679 | #else |
680 | "#460" , /* 460 = */ |
681 | #endif /* NECP */ |
682 | "getattrlistbulk" , /* 461 = getattrlistbulk */ |
683 | "clonefileat" , /* 462 = clonefileat */ |
684 | "openat" , /* 463 = openat */ |
685 | "openat_nocancel" , /* 464 = openat_nocancel */ |
686 | "renameat" , /* 465 = renameat */ |
687 | "faccessat" , /* 466 = faccessat */ |
688 | "fchmodat" , /* 467 = fchmodat */ |
689 | "fchownat" , /* 468 = fchownat */ |
690 | "fstatat" , /* 469 = fstatat */ |
691 | "fstatat64" , /* 470 = fstatat64 */ |
692 | "linkat" , /* 471 = linkat */ |
693 | "unlinkat" , /* 472 = unlinkat */ |
694 | "readlinkat" , /* 473 = readlinkat */ |
695 | "symlinkat" , /* 474 = symlinkat */ |
696 | "mkdirat" , /* 475 = mkdirat */ |
697 | "getattrlistat" , /* 476 = getattrlistat */ |
698 | "proc_trace_log" , /* 477 = proc_trace_log */ |
699 | "bsdthread_ctl" , /* 478 = bsdthread_ctl */ |
700 | "openbyid_np" , /* 479 = openbyid_np */ |
701 | #if SOCKETS |
702 | "recvmsg_x" , /* 480 = recvmsg_x */ |
703 | "sendmsg_x" , /* 481 = sendmsg_x */ |
704 | #else |
705 | "#480" , /* 480 = */ |
706 | "#481" , /* 481 = */ |
707 | #endif /* SOCKETS */ |
708 | "thread_selfusage" , /* 482 = thread_selfusage */ |
709 | #if CONFIG_CSR |
710 | "csrctl" , /* 483 = csrctl */ |
711 | #else |
712 | "#483" , /* 483 = */ |
713 | #endif /* CSR */ |
714 | "guarded_open_dprotected_np" , /* 484 = guarded_open_dprotected_np */ |
715 | "guarded_write_np" , /* 485 = guarded_write_np */ |
716 | "guarded_pwrite_np" , /* 486 = guarded_pwrite_np */ |
717 | "guarded_writev_np" , /* 487 = guarded_writev_np */ |
718 | "renameatx_np" , /* 488 = renameatx_np */ |
719 | #if CONFIG_CODE_DECRYPTION |
720 | "mremap_encrypted" , /* 489 = mremap_encrypted */ |
721 | #else |
722 | "#489" , /* 489 = */ |
723 | #endif |
724 | #if NETWORKING |
725 | "netagent_trigger" , /* 490 = netagent_trigger */ |
726 | #else |
727 | "#490" , /* 490 = */ |
728 | #endif /* NETWORKING */ |
729 | "stack_snapshot_with_config" , /* 491 = stack_snapshot_with_config */ |
730 | #if CONFIG_TELEMETRY |
731 | "microstackshot" , /* 492 = microstackshot */ |
732 | #else |
733 | "#492" , /* 492 = */ |
734 | #endif /* CONFIG_TELEMETRY */ |
735 | #if PGO |
736 | "grab_pgo_data" , /* 493 = grab_pgo_data */ |
737 | #else |
738 | "#493" , /* 493 = */ |
739 | #endif |
740 | #if CONFIG_PERSONAS |
741 | "persona" , /* 494 = persona */ |
742 | #else |
743 | "#494" , /* 494 = */ |
744 | #endif |
745 | "#495" , /* 495 = */ |
746 | "mach_eventlink_signal" , /* 496 = mach_eventlink_signal */ |
747 | "mach_eventlink_wait_until" , /* 497 = mach_eventlink_wait_until */ |
748 | "mach_eventlink_signal_wait_until" , /* 498 = mach_eventlink_signal_wait_until */ |
749 | "work_interval_ctl" , /* 499 = work_interval_ctl */ |
750 | "getentropy" , /* 500 = getentropy */ |
751 | #if NECP |
752 | "necp_open" , /* 501 = necp_open */ |
753 | "necp_client_action" , /* 502 = necp_client_action */ |
754 | #else |
755 | "#501" , /* 501 = */ |
756 | "#502" , /* 502 = */ |
757 | #endif /* NECP */ |
758 | #if SKYWALK |
759 | "__nexus_open" , /* 503 = __nexus_open */ |
760 | "__nexus_register" , /* 504 = __nexus_register */ |
761 | "__nexus_deregister" , /* 505 = __nexus_deregister */ |
762 | "__nexus_create" , /* 506 = __nexus_create */ |
763 | "__nexus_destroy" , /* 507 = __nexus_destroy */ |
764 | "__nexus_get_opt" , /* 508 = __nexus_get_opt */ |
765 | "__nexus_set_opt" , /* 509 = __nexus_set_opt */ |
766 | "__channel_open" , /* 510 = __channel_open */ |
767 | "__channel_get_info" , /* 511 = __channel_get_info */ |
768 | "__channel_sync" , /* 512 = __channel_sync */ |
769 | "__channel_get_opt" , /* 513 = __channel_get_opt */ |
770 | "__channel_set_opt" , /* 514 = __channel_set_opt */ |
771 | #else |
772 | "#503" , /* 503 = */ |
773 | "#504" , /* 504 = */ |
774 | "#505" , /* 505 = */ |
775 | "#506" , /* 506 = */ |
776 | "#507" , /* 507 = */ |
777 | "#508" , /* 508 = */ |
778 | "#509" , /* 509 = */ |
779 | "#510" , /* 510 = */ |
780 | "#511" , /* 511 = */ |
781 | "#512" , /* 512 = */ |
782 | "#513" , /* 513 = */ |
783 | "#514" , /* 514 = */ |
784 | #endif /* !SKYWALK */ |
785 | "ulock_wait" , /* 515 = ulock_wait */ |
786 | "ulock_wake" , /* 516 = ulock_wake */ |
787 | "fclonefileat" , /* 517 = fclonefileat */ |
788 | "fs_snapshot" , /* 518 = fs_snapshot */ |
789 | "#519" , /* 519 = */ |
790 | "terminate_with_payload" , /* 520 = terminate_with_payload */ |
791 | "abort_with_payload" , /* 521 = abort_with_payload */ |
792 | #if NECP |
793 | "necp_session_open" , /* 522 = necp_session_open */ |
794 | "necp_session_action" , /* 523 = necp_session_action */ |
795 | #else /* NECP */ |
796 | "#522" , /* 522 = */ |
797 | "#523" , /* 523 = */ |
798 | #endif /* NECP */ |
799 | "setattrlistat" , /* 524 = setattrlistat */ |
800 | "net_qos_guideline" , /* 525 = net_qos_guideline */ |
801 | "fmount" , /* 526 = fmount */ |
802 | "ntp_adjtime" , /* 527 = ntp_adjtime */ |
803 | "ntp_gettime" , /* 528 = ntp_gettime */ |
804 | "os_fault_with_payload" , /* 529 = os_fault_with_payload */ |
805 | "kqueue_workloop_ctl" , /* 530 = kqueue_workloop_ctl */ |
806 | "__mach_bridge_remote_time" , /* 531 = __mach_bridge_remote_time */ |
807 | #if CONFIG_COALITIONS |
808 | "coalition_ledger" , /* 532 = coalition_ledger */ |
809 | #else |
810 | "#532" , /* 532 = */ |
811 | #endif // CONFIG_COALITIONS |
812 | "log_data" , /* 533 = log_data */ |
813 | "memorystatus_available_memory" , /* 534 = memorystatus_available_memory */ |
814 | "#535" , /* 535 = */ |
815 | "shared_region_map_and_slide_2_np" , /* 536 = shared_region_map_and_slide_2_np */ |
816 | "pivot_root" , /* 537 = pivot_root */ |
817 | "task_inspect_for_pid" , /* 538 = task_inspect_for_pid */ |
818 | "task_read_for_pid" , /* 539 = task_read_for_pid */ |
819 | "preadv" , /* 540 = preadv */ |
820 | "pwritev" , /* 541 = pwritev */ |
821 | "preadv_nocancel" , /* 542 = preadv_nocancel */ |
822 | "pwritev_nocancel" , /* 543 = pwritev_nocancel */ |
823 | "ulock_wait2" , /* 544 = ulock_wait2 */ |
824 | "proc_info_extended_id" , /* 545 = proc_info_extended_id */ |
825 | #if SOCKETS |
826 | "tracker_action" , /* 546 = tracker_action */ |
827 | #else |
828 | "#546" , /* 546 = */ |
829 | #endif /* SOCKETS */ |
830 | "debug_syscall_reject" , /* 547 = debug_syscall_reject */ |
831 | "debug_syscall_reject_config" , /* 548 = debug_syscall_reject_config */ |
832 | "graftdmg" , /* 549 = graftdmg */ |
833 | "map_with_linking_np" , /* 550 = map_with_linking_np */ |
834 | "freadlink" , /* 551 = freadlink */ |
835 | "record_system_event" , /* 552 = record_system_event */ |
836 | "mkfifoat" , /* 553 = mkfifoat */ |
837 | "mknodat" , /* 554 = mknodat */ |
838 | "ungraftdmg" , /* 555 = ungraftdmg */ |
839 | }; |
840 | |