| 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 /Users/nafod/Desktop/woboqcode/xnu-4903.221.2/bsd/kern/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 | "#38" , /* 38 = old stat */ |
| 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 | "vfork" , /* 66 = vfork */ |
| 112 | "#67" , /* 67 = old vread */ |
| 113 | "#68" , /* 68 = old vwrite */ |
| 114 | "#69" , /* 69 = old sbrk */ |
| 115 | "#70" , /* 70 = old sstk */ |
| 116 | "#71" , /* 71 = old mmap */ |
| 117 | "#72" , /* 72 = old vadvise */ |
| 118 | "munmap" , /* 73 = munmap */ |
| 119 | "mprotect" , /* 74 = mprotect */ |
| 120 | "madvise" , /* 75 = madvise */ |
| 121 | "#76" , /* 76 = old vhangup */ |
| 122 | "#77" , /* 77 = old vlimit */ |
| 123 | "mincore" , /* 78 = mincore */ |
| 124 | "getgroups" , /* 79 = getgroups */ |
| 125 | "setgroups" , /* 80 = setgroups */ |
| 126 | "getpgrp" , /* 81 = getpgrp */ |
| 127 | "setpgid" , /* 82 = setpgid */ |
| 128 | "setitimer" , /* 83 = setitimer */ |
| 129 | "#84" , /* 84 = old wait */ |
| 130 | "swapon" , /* 85 = swapon */ |
| 131 | "getitimer" , /* 86 = getitimer */ |
| 132 | "#87" , /* 87 = old gethostname */ |
| 133 | "#88" , /* 88 = old sethostname */ |
| 134 | "getdtablesize" , /* 89 = getdtablesize */ |
| 135 | "dup2" , /* 90 = dup2 */ |
| 136 | "#91" , /* 91 = old getdopt */ |
| 137 | "fcntl" , /* 92 = fcntl */ |
| 138 | "select" , /* 93 = select */ |
| 139 | "#94" , /* 94 = old setdopt */ |
| 140 | "fsync" , /* 95 = fsync */ |
| 141 | "setpriority" , /* 96 = setpriority */ |
| 142 | #if SOCKETS |
| 143 | "socket" , /* 97 = socket */ |
| 144 | "connect" , /* 98 = connect */ |
| 145 | #else |
| 146 | "#97" , /* 97 = */ |
| 147 | "#98" , /* 98 = */ |
| 148 | #endif /* SOCKETS */ |
| 149 | "#99" , /* 99 = old accept */ |
| 150 | "getpriority" , /* 100 = getpriority */ |
| 151 | "#101" , /* 101 = old send */ |
| 152 | "#102" , /* 102 = old recv */ |
| 153 | "#103" , /* 103 = old sigreturn */ |
| 154 | #if SOCKETS |
| 155 | "bind" , /* 104 = bind */ |
| 156 | "setsockopt" , /* 105 = setsockopt */ |
| 157 | "listen" , /* 106 = listen */ |
| 158 | #else |
| 159 | "#104" , /* 104 = */ |
| 160 | "#105" , /* 105 = */ |
| 161 | "#106" , /* 106 = */ |
| 162 | #endif /* SOCKETS */ |
| 163 | "#107" , /* 107 = old vtimes */ |
| 164 | "#108" , /* 108 = old sigvec */ |
| 165 | "#109" , /* 109 = old sigblock */ |
| 166 | "#110" , /* 110 = old sigsetmask */ |
| 167 | "sigsuspend" , /* 111 = sigsuspend */ |
| 168 | "#112" , /* 112 = old sigstack */ |
| 169 | #if SOCKETS |
| 170 | "#113" , /* 113 = old recvmsg */ |
| 171 | "#114" , /* 114 = old sendmsg */ |
| 172 | #else |
| 173 | "#113" , /* 113 = */ |
| 174 | "#114" , /* 114 = */ |
| 175 | #endif /* SOCKETS */ |
| 176 | "#115" , /* 115 = old vtrace */ |
| 177 | "gettimeofday" , /* 116 = gettimeofday */ |
| 178 | "getrusage" , /* 117 = getrusage */ |
| 179 | #if SOCKETS |
| 180 | "getsockopt" , /* 118 = getsockopt */ |
| 181 | #else |
| 182 | "#118" , /* 118 = */ |
| 183 | #endif /* SOCKETS */ |
| 184 | "#119" , /* 119 = old resuba */ |
| 185 | "readv" , /* 120 = readv */ |
| 186 | "writev" , /* 121 = writev */ |
| 187 | "settimeofday" , /* 122 = settimeofday */ |
| 188 | "fchown" , /* 123 = fchown */ |
| 189 | "fchmod" , /* 124 = fchmod */ |
| 190 | "#125" , /* 125 = old recvfrom */ |
| 191 | "setreuid" , /* 126 = setreuid */ |
| 192 | "setregid" , /* 127 = setregid */ |
| 193 | "rename" , /* 128 = rename */ |
| 194 | "#129" , /* 129 = old truncate */ |
| 195 | "#130" , /* 130 = old ftruncate */ |
| 196 | "flock" , /* 131 = flock */ |
| 197 | "mkfifo" , /* 132 = mkfifo */ |
| 198 | #if SOCKETS |
| 199 | "sendto" , /* 133 = sendto */ |
| 200 | "shutdown" , /* 134 = shutdown */ |
| 201 | "socketpair" , /* 135 = socketpair */ |
| 202 | #else |
| 203 | "#133" , /* 133 = */ |
| 204 | "#134" , /* 134 = */ |
| 205 | "#135" , /* 135 = */ |
| 206 | #endif /* SOCKETS */ |
| 207 | "mkdir" , /* 136 = mkdir */ |
| 208 | "rmdir" , /* 137 = rmdir */ |
| 209 | "utimes" , /* 138 = utimes */ |
| 210 | "futimes" , /* 139 = futimes */ |
| 211 | "adjtime" , /* 140 = adjtime */ |
| 212 | "#141" , /* 141 = old getpeername */ |
| 213 | "gethostuuid" , /* 142 = gethostuuid */ |
| 214 | "#143" , /* 143 = old sethostid */ |
| 215 | "#144" , /* 144 = old getrlimit */ |
| 216 | "#145" , /* 145 = old setrlimit */ |
| 217 | "#146" , /* 146 = old killpg */ |
| 218 | "setsid" , /* 147 = setsid */ |
| 219 | "#148" , /* 148 = old setquota */ |
| 220 | "#149" , /* 149 = old qquota */ |
| 221 | "#150" , /* 150 = old getsockname */ |
| 222 | "getpgid" , /* 151 = getpgid */ |
| 223 | "setprivexec" , /* 152 = setprivexec */ |
| 224 | "pread" , /* 153 = pread */ |
| 225 | "pwrite" , /* 154 = pwrite */ |
| 226 | #if NFSSERVER |
| 227 | "nfssvc" , /* 155 = nfssvc */ |
| 228 | #else |
| 229 | "#155" , /* 155 = */ |
| 230 | #endif |
| 231 | "#156" , /* 156 = old getdirentries */ |
| 232 | "statfs" , /* 157 = statfs */ |
| 233 | "fstatfs" , /* 158 = fstatfs */ |
| 234 | "unmount" , /* 159 = unmount */ |
| 235 | "#160" , /* 160 = old async_daemon */ |
| 236 | #if NFSSERVER |
| 237 | "getfh" , /* 161 = getfh */ |
| 238 | #else |
| 239 | "#161" , /* 161 = */ |
| 240 | #endif |
| 241 | "#162" , /* 162 = old getdomainname */ |
| 242 | "#163" , /* 163 = old setdomainname */ |
| 243 | "#164" , /* 164 = */ |
| 244 | "quotactl" , /* 165 = quotactl */ |
| 245 | "#166" , /* 166 = old exportfs */ |
| 246 | "mount" , /* 167 = mount */ |
| 247 | "#168" , /* 168 = old ustat */ |
| 248 | "csops" , /* 169 = csops */ |
| 249 | "csops_audittoken" , /* 170 = csops_audittoken */ |
| 250 | "#171" , /* 171 = old wait3 */ |
| 251 | "#172" , /* 172 = old rpause */ |
| 252 | "waitid" , /* 173 = waitid */ |
| 253 | "#174" , /* 174 = old getdents */ |
| 254 | "#175" , /* 175 = old gc_control */ |
| 255 | "#176" , /* 176 = old add_profil */ |
| 256 | "kdebug_typefilter" , /* 177 = kdebug_typefilter */ |
| 257 | "kdebug_trace_string" , /* 178 = kdebug_trace_string */ |
| 258 | "kdebug_trace64" , /* 179 = kdebug_trace64 */ |
| 259 | "kdebug_trace" , /* 180 = kdebug_trace */ |
| 260 | "setgid" , /* 181 = setgid */ |
| 261 | "setegid" , /* 182 = setegid */ |
| 262 | "seteuid" , /* 183 = seteuid */ |
| 263 | "sigreturn" , /* 184 = sigreturn */ |
| 264 | "#185" , /* 185 = old chud */ |
| 265 | "thread_selfcounts" , /* 186 = thread_selfcounts */ |
| 266 | "fdatasync" , /* 187 = fdatasync */ |
| 267 | "stat" , /* 188 = stat */ |
| 268 | "fstat" , /* 189 = fstat */ |
| 269 | "lstat" , /* 190 = lstat */ |
| 270 | "pathconf" , /* 191 = pathconf */ |
| 271 | "fpathconf" , /* 192 = fpathconf */ |
| 272 | "#193" , /* 193 = old getfsstat */ |
| 273 | "getrlimit" , /* 194 = getrlimit */ |
| 274 | "setrlimit" , /* 195 = setrlimit */ |
| 275 | "getdirentries" , /* 196 = getdirentries */ |
| 276 | "mmap" , /* 197 = mmap */ |
| 277 | "#198" , /* 198 = old __syscall */ |
| 278 | "lseek" , /* 199 = lseek */ |
| 279 | "truncate" , /* 200 = truncate */ |
| 280 | "ftruncate" , /* 201 = ftruncate */ |
| 281 | "sysctl" , /* 202 = sysctl */ |
| 282 | "mlock" , /* 203 = mlock */ |
| 283 | "munlock" , /* 204 = munlock */ |
| 284 | "undelete" , /* 205 = undelete */ |
| 285 | "#206" , /* 206 = old ATsocket */ |
| 286 | "#207" , /* 207 = old ATgetmsg */ |
| 287 | "#208" , /* 208 = old ATputmsg */ |
| 288 | "#209" , /* 209 = old ATsndreq */ |
| 289 | "#210" , /* 210 = old ATsndrsp */ |
| 290 | "#211" , /* 211 = old ATgetreq */ |
| 291 | "#212" , /* 212 = old ATgetrsp */ |
| 292 | "#213" , /* 213 = Reserved for AppleTalk */ |
| 293 | "#214" , /* 214 = */ |
| 294 | "#215" , /* 215 = */ |
| 295 | "open_dprotected_np" , /* 216 = open_dprotected_np */ |
| 296 | "#217" , /* 217 = old statv */ |
| 297 | "#218" , /* 218 = old lstatv */ |
| 298 | "#219" , /* 219 = old fstatv */ |
| 299 | "getattrlist" , /* 220 = getattrlist */ |
| 300 | "setattrlist" , /* 221 = setattrlist */ |
| 301 | "getdirentriesattr" , /* 222 = getdirentriesattr */ |
| 302 | "exchangedata" , /* 223 = exchangedata */ |
| 303 | "#224" , /* 224 = old checkuseraccess or fsgetpath */ |
| 304 | "searchfs" , /* 225 = searchfs */ |
| 305 | "delete" , /* 226 = delete private delete ( Carbon semantics ) */ |
| 306 | "copyfile" , /* 227 = copyfile */ |
| 307 | "fgetattrlist" , /* 228 = fgetattrlist */ |
| 308 | "fsetattrlist" , /* 229 = fsetattrlist */ |
| 309 | "poll" , /* 230 = poll */ |
| 310 | "watchevent" , /* 231 = watchevent */ |
| 311 | "waitevent" , /* 232 = waitevent */ |
| 312 | "modwatch" , /* 233 = modwatch */ |
| 313 | "getxattr" , /* 234 = getxattr */ |
| 314 | "fgetxattr" , /* 235 = fgetxattr */ |
| 315 | "setxattr" , /* 236 = setxattr */ |
| 316 | "fsetxattr" , /* 237 = fsetxattr */ |
| 317 | "removexattr" , /* 238 = removexattr */ |
| 318 | "fremovexattr" , /* 239 = fremovexattr */ |
| 319 | "listxattr" , /* 240 = listxattr */ |
| 320 | "flistxattr" , /* 241 = flistxattr */ |
| 321 | "fsctl" , /* 242 = fsctl */ |
| 322 | "initgroups" , /* 243 = initgroups */ |
| 323 | "posix_spawn" , /* 244 = posix_spawn */ |
| 324 | "ffsctl" , /* 245 = ffsctl */ |
| 325 | "#246" , /* 246 = */ |
| 326 | #if NFSCLIENT |
| 327 | "nfsclnt" , /* 247 = nfsclnt */ |
| 328 | #else |
| 329 | "#247" , /* 247 = */ |
| 330 | #endif |
| 331 | #if NFSSERVER |
| 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 | #if CONFIG_WORKQUEUE |
| 509 | "bsdthread_create" , /* 360 = bsdthread_create */ |
| 510 | "bsdthread_terminate" , /* 361 = bsdthread_terminate */ |
| 511 | #else |
| 512 | "#360" , /* 360 = */ |
| 513 | "#361" , /* 361 = */ |
| 514 | #endif /* CONFIG_WORKQUEUE */ |
| 515 | "kqueue" , /* 362 = kqueue */ |
| 516 | "kevent" , /* 363 = kevent */ |
| 517 | "lchown" , /* 364 = lchown */ |
| 518 | "#365" , /* 365 = old stack_snapshot */ |
| 519 | #if CONFIG_WORKQUEUE |
| 520 | "bsdthread_register" , /* 366 = bsdthread_register */ |
| 521 | "workq_open" , /* 367 = workq_open */ |
| 522 | "workq_kernreturn" , /* 368 = workq_kernreturn */ |
| 523 | #else |
| 524 | "#366" , /* 366 = */ |
| 525 | "#367" , /* 367 = */ |
| 526 | "#368" , /* 368 = */ |
| 527 | #endif /* CONFIG_WORKQUEUE */ |
| 528 | "kevent64" , /* 369 = kevent64 */ |
| 529 | #if OLD_SEMWAIT_SIGNAL |
| 530 | "__old_semwait_signal" , /* 370 = __old_semwait_signal */ |
| 531 | "__old_semwait_signal_nocancel" , /* 371 = __old_semwait_signal_nocancel */ |
| 532 | #else |
| 533 | "#370" , /* 370 = old __semwait_signal */ |
| 534 | "#371" , /* 371 = old __semwait_signal */ |
| 535 | #endif |
| 536 | "thread_selfid" , /* 372 = thread_selfid */ |
| 537 | "ledger" , /* 373 = ledger */ |
| 538 | "kevent_qos" , /* 374 = kevent_qos */ |
| 539 | "kevent_id" , /* 375 = kevent_id */ |
| 540 | "#376" , /* 376 = */ |
| 541 | "#377" , /* 377 = */ |
| 542 | "#378" , /* 378 = */ |
| 543 | "#379" , /* 379 = */ |
| 544 | "__mac_execve" , /* 380 = __mac_execve */ |
| 545 | #if CONFIG_MACF |
| 546 | "__mac_syscall" , /* 381 = __mac_syscall */ |
| 547 | "__mac_get_file" , /* 382 = __mac_get_file */ |
| 548 | "__mac_set_file" , /* 383 = __mac_set_file */ |
| 549 | "__mac_get_link" , /* 384 = __mac_get_link */ |
| 550 | "__mac_set_link" , /* 385 = __mac_set_link */ |
| 551 | "__mac_get_proc" , /* 386 = __mac_get_proc */ |
| 552 | "__mac_set_proc" , /* 387 = __mac_set_proc */ |
| 553 | "__mac_get_fd" , /* 388 = __mac_get_fd */ |
| 554 | "__mac_set_fd" , /* 389 = __mac_set_fd */ |
| 555 | "__mac_get_pid" , /* 390 = __mac_get_pid */ |
| 556 | #else |
| 557 | "#381" , /* 381 = */ |
| 558 | "#382" , /* 382 = */ |
| 559 | "#383" , /* 383 = */ |
| 560 | "#384" , /* 384 = */ |
| 561 | "#385" , /* 385 = */ |
| 562 | "#386" , /* 386 = */ |
| 563 | "#387" , /* 387 = */ |
| 564 | "#388" , /* 388 = */ |
| 565 | "#389" , /* 389 = */ |
| 566 | "#390" , /* 390 = */ |
| 567 | #endif |
| 568 | "#391" , /* 391 = */ |
| 569 | "#392" , /* 392 = */ |
| 570 | "#393" , /* 393 = */ |
| 571 | "pselect" , /* 394 = pselect */ |
| 572 | "pselect_nocancel" , /* 395 = pselect_nocancel */ |
| 573 | "read_nocancel" , /* 396 = read_nocancel */ |
| 574 | "write_nocancel" , /* 397 = write_nocancel */ |
| 575 | "open_nocancel" , /* 398 = open_nocancel */ |
| 576 | "close_nocancel" , /* 399 = close_nocancel */ |
| 577 | "wait4_nocancel" , /* 400 = wait4_nocancel */ |
| 578 | #if SOCKETS |
| 579 | "recvmsg_nocancel" , /* 401 = recvmsg_nocancel */ |
| 580 | "sendmsg_nocancel" , /* 402 = sendmsg_nocancel */ |
| 581 | "recvfrom_nocancel" , /* 403 = recvfrom_nocancel */ |
| 582 | "accept_nocancel" , /* 404 = accept_nocancel */ |
| 583 | #else |
| 584 | "#401" , /* 401 = */ |
| 585 | "#402" , /* 402 = */ |
| 586 | "#403" , /* 403 = */ |
| 587 | "#404" , /* 404 = */ |
| 588 | #endif /* SOCKETS */ |
| 589 | "msync_nocancel" , /* 405 = msync_nocancel */ |
| 590 | "fcntl_nocancel" , /* 406 = fcntl_nocancel */ |
| 591 | "select_nocancel" , /* 407 = select_nocancel */ |
| 592 | "fsync_nocancel" , /* 408 = fsync_nocancel */ |
| 593 | #if SOCKETS |
| 594 | "connect_nocancel" , /* 409 = connect_nocancel */ |
| 595 | #else |
| 596 | "#409" , /* 409 = */ |
| 597 | #endif /* SOCKETS */ |
| 598 | "sigsuspend_nocancel" , /* 410 = sigsuspend_nocancel */ |
| 599 | "readv_nocancel" , /* 411 = readv_nocancel */ |
| 600 | "writev_nocancel" , /* 412 = writev_nocancel */ |
| 601 | #if SOCKETS |
| 602 | "sendto_nocancel" , /* 413 = sendto_nocancel */ |
| 603 | #else |
| 604 | "#413" , /* 413 = */ |
| 605 | #endif /* SOCKETS */ |
| 606 | "pread_nocancel" , /* 414 = pread_nocancel */ |
| 607 | "pwrite_nocancel" , /* 415 = pwrite_nocancel */ |
| 608 | "waitid_nocancel" , /* 416 = waitid_nocancel */ |
| 609 | "poll_nocancel" , /* 417 = poll_nocancel */ |
| 610 | #if SYSV_MSG |
| 611 | "msgsnd_nocancel" , /* 418 = msgsnd_nocancel */ |
| 612 | "msgrcv_nocancel" , /* 419 = msgrcv_nocancel */ |
| 613 | #else |
| 614 | "#418" , /* 418 = */ |
| 615 | "#419" , /* 419 = */ |
| 616 | #endif |
| 617 | "sem_wait_nocancel" , /* 420 = sem_wait_nocancel */ |
| 618 | "aio_suspend_nocancel" , /* 421 = aio_suspend_nocancel */ |
| 619 | "__sigwait_nocancel" , /* 422 = __sigwait_nocancel */ |
| 620 | "__semwait_signal_nocancel" , /* 423 = __semwait_signal_nocancel */ |
| 621 | "__mac_mount" , /* 424 = __mac_mount */ |
| 622 | #if CONFIG_MACF |
| 623 | "__mac_get_mount" , /* 425 = __mac_get_mount */ |
| 624 | #else |
| 625 | "#425" , /* 425 = */ |
| 626 | #endif |
| 627 | "__mac_getfsstat" , /* 426 = __mac_getfsstat */ |
| 628 | "fsgetpath" , /* 427 = fsgetpath private fsgetpath ( File Manager SPI ) */ |
| 629 | "audit_session_self" , /* 428 = audit_session_self */ |
| 630 | "audit_session_join" , /* 429 = audit_session_join */ |
| 631 | "fileport_makeport" , /* 430 = fileport_makeport */ |
| 632 | "fileport_makefd" , /* 431 = fileport_makefd */ |
| 633 | "audit_session_port" , /* 432 = audit_session_port */ |
| 634 | "pid_suspend" , /* 433 = pid_suspend */ |
| 635 | "pid_resume" , /* 434 = pid_resume */ |
| 636 | #if CONFIG_EMBEDDED |
| 637 | "pid_hibernate" , /* 435 = pid_hibernate */ |
| 638 | #else |
| 639 | "#435" , /* 435 = */ |
| 640 | #endif |
| 641 | #if SOCKETS |
| 642 | "pid_shutdown_sockets" , /* 436 = pid_shutdown_sockets */ |
| 643 | #else |
| 644 | "#436" , /* 436 = */ |
| 645 | #endif |
| 646 | "#437" , /* 437 = old shared_region_slide_np */ |
| 647 | "shared_region_map_and_slide_np" , /* 438 = shared_region_map_and_slide_np */ |
| 648 | "kas_info" , /* 439 = kas_info */ |
| 649 | #if CONFIG_MEMORYSTATUS |
| 650 | "memorystatus_control" , /* 440 = memorystatus_control */ |
| 651 | #else |
| 652 | "#440" , /* 440 = */ |
| 653 | #endif |
| 654 | "guarded_open_np" , /* 441 = guarded_open_np */ |
| 655 | "guarded_close_np" , /* 442 = guarded_close_np */ |
| 656 | "guarded_kqueue_np" , /* 443 = guarded_kqueue_np */ |
| 657 | "change_fdguard_np" , /* 444 = change_fdguard_np */ |
| 658 | "usrctl" , /* 445 = usrctl */ |
| 659 | "proc_rlimit_control" , /* 446 = proc_rlimit_control */ |
| 660 | #if SOCKETS |
| 661 | "connectx" , /* 447 = connectx */ |
| 662 | "disconnectx" , /* 448 = disconnectx */ |
| 663 | "peeloff" , /* 449 = peeloff */ |
| 664 | "socket_delegate" , /* 450 = socket_delegate */ |
| 665 | #else |
| 666 | "#447" , /* 447 = */ |
| 667 | "#448" , /* 448 = */ |
| 668 | "#449" , /* 449 = */ |
| 669 | "#450" , /* 450 = */ |
| 670 | #endif /* SOCKETS */ |
| 671 | "telemetry" , /* 451 = telemetry */ |
| 672 | #if CONFIG_PROC_UUID_POLICY |
| 673 | "proc_uuid_policy" , /* 452 = proc_uuid_policy */ |
| 674 | #else |
| 675 | "#452" , /* 452 = */ |
| 676 | #endif |
| 677 | #if CONFIG_MEMORYSTATUS |
| 678 | "memorystatus_get_level" , /* 453 = memorystatus_get_level */ |
| 679 | #else |
| 680 | "#453" , /* 453 = */ |
| 681 | #endif |
| 682 | "system_override" , /* 454 = system_override */ |
| 683 | "vfs_purge" , /* 455 = vfs_purge */ |
| 684 | "sfi_ctl" , /* 456 = sfi_ctl */ |
| 685 | "sfi_pidctl" , /* 457 = sfi_pidctl */ |
| 686 | #if CONFIG_COALITIONS |
| 687 | "coalition" , /* 458 = coalition */ |
| 688 | "coalition_info" , /* 459 = coalition_info */ |
| 689 | #else |
| 690 | "#458" , /* 458 = */ |
| 691 | "#459" , /* 459 = */ |
| 692 | #endif /* COALITIONS */ |
| 693 | #if NECP |
| 694 | "necp_match_policy" , /* 460 = necp_match_policy */ |
| 695 | #else |
| 696 | "#460" , /* 460 = */ |
| 697 | #endif /* NECP */ |
| 698 | "getattrlistbulk" , /* 461 = getattrlistbulk */ |
| 699 | "clonefileat" , /* 462 = clonefileat */ |
| 700 | "openat" , /* 463 = openat */ |
| 701 | "openat_nocancel" , /* 464 = openat_nocancel */ |
| 702 | "renameat" , /* 465 = renameat */ |
| 703 | "faccessat" , /* 466 = faccessat */ |
| 704 | "fchmodat" , /* 467 = fchmodat */ |
| 705 | "fchownat" , /* 468 = fchownat */ |
| 706 | "fstatat" , /* 469 = fstatat */ |
| 707 | "fstatat64" , /* 470 = fstatat64 */ |
| 708 | "linkat" , /* 471 = linkat */ |
| 709 | "unlinkat" , /* 472 = unlinkat */ |
| 710 | "readlinkat" , /* 473 = readlinkat */ |
| 711 | "symlinkat" , /* 474 = symlinkat */ |
| 712 | "mkdirat" , /* 475 = mkdirat */ |
| 713 | "getattrlistat" , /* 476 = getattrlistat */ |
| 714 | "proc_trace_log" , /* 477 = proc_trace_log */ |
| 715 | "bsdthread_ctl" , /* 478 = bsdthread_ctl */ |
| 716 | "openbyid_np" , /* 479 = openbyid_np */ |
| 717 | #if SOCKETS |
| 718 | "recvmsg_x" , /* 480 = recvmsg_x */ |
| 719 | "sendmsg_x" , /* 481 = sendmsg_x */ |
| 720 | #else |
| 721 | "#480" , /* 480 = */ |
| 722 | "#481" , /* 481 = */ |
| 723 | #endif /* SOCKETS */ |
| 724 | "thread_selfusage" , /* 482 = thread_selfusage */ |
| 725 | #if CONFIG_CSR |
| 726 | "csrctl" , /* 483 = csrctl */ |
| 727 | #else |
| 728 | "#483" , /* 483 = */ |
| 729 | #endif /* CSR */ |
| 730 | "guarded_open_dprotected_np" , /* 484 = guarded_open_dprotected_np */ |
| 731 | "guarded_write_np" , /* 485 = guarded_write_np */ |
| 732 | "guarded_pwrite_np" , /* 486 = guarded_pwrite_np */ |
| 733 | "guarded_writev_np" , /* 487 = guarded_writev_np */ |
| 734 | "renameatx_np" , /* 488 = renameatx_np */ |
| 735 | #if CONFIG_CODE_DECRYPTION |
| 736 | "mremap_encrypted" , /* 489 = mremap_encrypted */ |
| 737 | #else |
| 738 | "#489" , /* 489 = */ |
| 739 | #endif |
| 740 | #if NETWORKING |
| 741 | "netagent_trigger" , /* 490 = netagent_trigger */ |
| 742 | #else |
| 743 | "#490" , /* 490 = */ |
| 744 | #endif /* NETWORKING */ |
| 745 | "stack_snapshot_with_config" , /* 491 = stack_snapshot_with_config */ |
| 746 | #if CONFIG_TELEMETRY |
| 747 | "microstackshot" , /* 492 = microstackshot */ |
| 748 | #else |
| 749 | "#492" , /* 492 = */ |
| 750 | #endif /* CONFIG_TELEMETRY */ |
| 751 | #if PGO |
| 752 | "grab_pgo_data" , /* 493 = grab_pgo_data */ |
| 753 | #else |
| 754 | "#493" , /* 493 = */ |
| 755 | #endif |
| 756 | #if CONFIG_PERSONAS |
| 757 | "persona" , /* 494 = persona */ |
| 758 | #else |
| 759 | "#494" , /* 494 = */ |
| 760 | #endif |
| 761 | "#495" , /* 495 = */ |
| 762 | "#496" , /* 496 = */ |
| 763 | "#497" , /* 497 = */ |
| 764 | "#498" , /* 498 = */ |
| 765 | "work_interval_ctl" , /* 499 = work_interval_ctl */ |
| 766 | "getentropy" , /* 500 = getentropy */ |
| 767 | #if NECP |
| 768 | "necp_open" , /* 501 = necp_open */ |
| 769 | "necp_client_action" , /* 502 = necp_client_action */ |
| 770 | #else |
| 771 | "#501" , /* 501 = */ |
| 772 | "#502" , /* 502 = */ |
| 773 | #endif /* NECP */ |
| 774 | "#503" , /* 503 = */ |
| 775 | "#504" , /* 504 = */ |
| 776 | "#505" , /* 505 = */ |
| 777 | "#506" , /* 506 = */ |
| 778 | "#507" , /* 507 = */ |
| 779 | "#508" , /* 508 = */ |
| 780 | "#509" , /* 509 = */ |
| 781 | "#510" , /* 510 = */ |
| 782 | "#511" , /* 511 = */ |
| 783 | "#512" , /* 512 = */ |
| 784 | "#513" , /* 513 = */ |
| 785 | "#514" , /* 514 = */ |
| 786 | "ulock_wait" , /* 515 = ulock_wait */ |
| 787 | "ulock_wake" , /* 516 = ulock_wake */ |
| 788 | "fclonefileat" , /* 517 = fclonefileat */ |
| 789 | "fs_snapshot" , /* 518 = fs_snapshot */ |
| 790 | "#519" , /* 519 = */ |
| 791 | "terminate_with_payload" , /* 520 = terminate_with_payload */ |
| 792 | "abort_with_payload" , /* 521 = abort_with_payload */ |
| 793 | #if NECP |
| 794 | "necp_session_open" , /* 522 = necp_session_open */ |
| 795 | "necp_session_action" , /* 523 = necp_session_action */ |
| 796 | #else /* NECP */ |
| 797 | "#522" , /* 522 = */ |
| 798 | "#523" , /* 523 = */ |
| 799 | #endif /* NECP */ |
| 800 | "setattrlistat" , /* 524 = setattrlistat */ |
| 801 | "net_qos_guideline" , /* 525 = net_qos_guideline */ |
| 802 | "fmount" , /* 526 = fmount */ |
| 803 | "ntp_adjtime" , /* 527 = ntp_adjtime */ |
| 804 | "ntp_gettime" , /* 528 = ntp_gettime */ |
| 805 | "os_fault_with_payload" , /* 529 = os_fault_with_payload */ |
| 806 | #if CONFIG_WORKQUEUE |
| 807 | "kqueue_workloop_ctl" , /* 530 = kqueue_workloop_ctl */ |
| 808 | #else |
| 809 | "#530" , /* 530 = */ |
| 810 | #endif // CONFIG_WORKQUEUE |
| 811 | "#531" , /* 531 = */ |
| 812 | }; |
| 813 | |