···11+;/*
22+; derived from: FreeBSD @(#)syscalls.master 8.2 (Berkeley) 1/13/94
33+;
44+; System call name/number master file.
55+; This is file processed by .../xnu/bsd/kern/makesyscalls.sh and creates:
66+; .../xnu/bsd/kern/init_sysent.c
77+; .../xnu/bsd/kern/syscalls.c
88+; .../xnu/bsd/sys/syscall.h
99+; .../xnu/bsd/sys/sysproto.h
1010+; .../xnu/bsd/security/audit_syscalls.c
1111+1212+; Columns -> | Number Audit Files | { Name and Args } | { Comments }
1313+; Number: system call number, must be in order
1414+; Audit: the audit event associated with the system call
1515+; A value of AUE_NULL means no auditing, but it also means that
1616+; there is no audit event for the call at this time. For the
1717+; case where the event exists, but we don't want auditing, the
1818+; event should be #defined to AUE_NULL in audit_kevents.h.
1919+; Files: with files to generate - "ALL" or any combo of:
2020+; "T" for syscall table (in init_sysent.c)
2121+; "N" for syscall names (in syscalls.c)
2222+; "H" for syscall headers (in syscall.h)
2323+; "P" for syscall prototypes (in sysproto.h)
2424+; Name and Args: function prototype, optionally followed by
2525+; NO_SYSCALL_STUB (which mean no system call stub will
2626+; be generated in libSystem) and ending with a semicolon.
2727+; (Note: functions prefixed by double-underbar are
2828+; automatically given the NO_SYSCALL_STUB attribute.)
2929+; Comments: additional comments about the sys call copied to output files
3030+3131+; #ifdef's, #include's, #if's etc. are copied to all output files.
3232+; N.B.: makesyscalls.sh and createsyscalls.pl must be updated to account
3333+; for any new argument types.
3434+;*/
3535+3636+#include <sys/appleapiopts.h>
3737+#include <sys/param.h>
3838+#include <sys/systm.h>
3939+#include <sys/types.h>
4040+#include <sys/sysent.h>
4141+#include <sys/sysproto.h>
4242+#include <nfs/nfs_conf.h>
4343+4444+0 AUE_NULL ALL { int nosys(void); } { indirect syscall }
4545+1 AUE_EXIT ALL { void exit(int rval) NO_SYSCALL_STUB; }
4646+2 AUE_FORK ALL { int fork(void) NO_SYSCALL_STUB; }
4747+3 AUE_NULL ALL { user_ssize_t read(int fd, user_addr_t cbuf, user_size_t nbyte); }
4848+4 AUE_NULL ALL { user_ssize_t write(int fd, user_addr_t cbuf, user_size_t nbyte); }
4949+5 AUE_OPEN_RWTC ALL { int open(user_addr_t path, int flags, int mode) NO_SYSCALL_STUB; }
5050+6 AUE_CLOSE ALL { int sys_close(int fd); }
5151+7 AUE_WAIT4 ALL { int wait4(int pid, user_addr_t status, int options, user_addr_t rusage) NO_SYSCALL_STUB; }
5252+8 AUE_NULL ALL { int enosys(void); } { old creat }
5353+9 AUE_LINK ALL { int link(user_addr_t path, user_addr_t link); }
5454+10 AUE_UNLINK ALL { int unlink(user_addr_t path) NO_SYSCALL_STUB; }
5555+11 AUE_NULL ALL { int enosys(void); } { old execv }
5656+12 AUE_CHDIR ALL { int chdir(user_addr_t path); }
5757+13 AUE_FCHDIR ALL { int fchdir(int fd); }
5858+14 AUE_MKNOD ALL { int mknod(user_addr_t path, int mode, int dev); }
5959+15 AUE_CHMOD ALL { int chmod(user_addr_t path, int mode) NO_SYSCALL_STUB; }
6060+16 AUE_CHOWN ALL { int chown(user_addr_t path, int uid, int gid); }
6161+17 AUE_NULL ALL { int enosys(void); } { old break }
6262+18 AUE_GETFSSTAT ALL { int getfsstat(user_addr_t buf, int bufsize, int flags); }
6363+19 AUE_NULL ALL { int enosys(void); } { old lseek }
6464+20 AUE_GETPID ALL { int getpid(void); }
6565+21 AUE_NULL ALL { int enosys(void); } { old mount }
6666+22 AUE_NULL ALL { int enosys(void); } { old umount }
6767+23 AUE_SETUID ALL { int setuid(uid_t uid); }
6868+24 AUE_GETUID ALL { int getuid(void); }
6969+25 AUE_GETEUID ALL { int geteuid(void); }
7070+26 AUE_PTRACE ALL { int ptrace(int req, pid_t pid, caddr_t addr, int data); }
7171+#if SOCKETS
7272+27 AUE_RECVMSG ALL { int recvmsg(int s, struct msghdr *msg, int flags) NO_SYSCALL_STUB; }
7373+28 AUE_SENDMSG ALL { int sendmsg(int s, caddr_t msg, int flags) NO_SYSCALL_STUB; }
7474+29 AUE_RECVFROM ALL { int recvfrom(int s, void *buf, size_t len, int flags, struct sockaddr *from, int *fromlenaddr) NO_SYSCALL_STUB; }
7575+30 AUE_ACCEPT ALL { int accept(int s, caddr_t name, socklen_t *anamelen) NO_SYSCALL_STUB; }
7676+31 AUE_GETPEERNAME ALL { int getpeername(int fdes, caddr_t asa, socklen_t *alen) NO_SYSCALL_STUB; }
7777+32 AUE_GETSOCKNAME ALL { int getsockname(int fdes, caddr_t asa, socklen_t *alen) NO_SYSCALL_STUB; }
7878+#else
7979+27 AUE_NULL ALL { int nosys(void); }
8080+28 AUE_NULL ALL { int nosys(void); }
8181+29 AUE_NULL ALL { int nosys(void); }
8282+30 AUE_NULL ALL { int nosys(void); }
8383+31 AUE_NULL ALL { int nosys(void); }
8484+32 AUE_NULL ALL { int nosys(void); }
8585+#endif /* SOCKETS */
8686+33 AUE_ACCESS ALL { int access(user_addr_t path, int flags); }
8787+34 AUE_CHFLAGS ALL { int chflags(char *path, int flags); }
8888+35 AUE_FCHFLAGS ALL { int fchflags(int fd, int flags); }
8989+36 AUE_SYNC ALL { int sync(void); }
9090+37 AUE_KILL ALL { int kill(int pid, int signum, int posix) NO_SYSCALL_STUB; }
9191+38 AUE_NULL ALL { int nosys(void); } { old stat }
9292+39 AUE_GETPPID ALL { int getppid(void); }
9393+40 AUE_NULL ALL { int nosys(void); } { old lstat }
9494+41 AUE_DUP ALL { int sys_dup(u_int fd); }
9595+42 AUE_PIPE ALL { int pipe(void); }
9696+43 AUE_GETEGID ALL { int getegid(void); }
9797+44 AUE_NULL ALL { int nosys(void); } { old profil }
9898+45 AUE_NULL ALL { int nosys(void); } { old ktrace }
9999+46 AUE_SIGACTION ALL { int sigaction(int signum, struct __sigaction *nsa, struct sigaction *osa) NO_SYSCALL_STUB; }
100100+47 AUE_GETGID ALL { int getgid(void); }
101101+48 AUE_SIGPROCMASK ALL { int sigprocmask(int how, user_addr_t mask, user_addr_t omask); }
102102+49 AUE_GETLOGIN ALL { int getlogin(char *namebuf, u_int namelen) NO_SYSCALL_STUB; }
103103+50 AUE_SETLOGIN ALL { int setlogin(char *namebuf) NO_SYSCALL_STUB; }
104104+51 AUE_ACCT ALL { int acct(char *path); }
105105+52 AUE_SIGPENDING ALL { int sigpending(struct sigvec *osv); }
106106+53 AUE_SIGALTSTACK ALL { int sigaltstack(struct sigaltstack *nss, struct sigaltstack *oss) NO_SYSCALL_STUB ; }
107107+54 AUE_IOCTL ALL { int ioctl(int fd, u_long com, caddr_t data) NO_SYSCALL_STUB; }
108108+55 AUE_REBOOT ALL { int reboot(int opt, char *msg) NO_SYSCALL_STUB; }
109109+56 AUE_REVOKE ALL { int revoke(char *path); }
110110+57 AUE_SYMLINK ALL { int symlink(char *path, char *link); }
111111+58 AUE_READLINK ALL { int readlink(char *path, char *buf, int count); }
112112+59 AUE_EXECVE ALL { int execve(char *fname, char **argp, char **envp); }
113113+60 AUE_UMASK ALL { int umask(int newmask); }
114114+61 AUE_CHROOT ALL { int chroot(user_addr_t path); }
115115+62 AUE_NULL ALL { int nosys(void); } { old fstat }
116116+63 AUE_NULL ALL { int nosys(void); } { used internally and reserved }
117117+64 AUE_NULL ALL { int nosys(void); } { old getpagesize }
118118+65 AUE_MSYNC ALL { int msync(caddr_t addr, size_t len, int flags) NO_SYSCALL_STUB; }
119119+66 AUE_VFORK ALL { int vfork(void); }
120120+67 AUE_NULL ALL { int nosys(void); } { old vread }
121121+68 AUE_NULL ALL { int nosys(void); } { old vwrite }
122122+69 AUE_NULL ALL { int nosys(void); } { old sbrk }
123123+70 AUE_NULL ALL { int nosys(void); } { old sstk }
124124+71 AUE_NULL ALL { int nosys(void); } { old mmap }
125125+72 AUE_NULL ALL { int nosys(void); } { old vadvise }
126126+73 AUE_MUNMAP ALL { int munmap(caddr_t addr, size_t len) NO_SYSCALL_STUB; }
127127+74 AUE_MPROTECT ALL { int mprotect(caddr_t addr, size_t len, int prot) NO_SYSCALL_STUB; }
128128+75 AUE_MADVISE ALL { int madvise(caddr_t addr, size_t len, int behav); }
129129+76 AUE_NULL ALL { int nosys(void); } { old vhangup }
130130+77 AUE_NULL ALL { int nosys(void); } { old vlimit }
131131+78 AUE_MINCORE ALL { int mincore(user_addr_t addr, user_size_t len, user_addr_t vec); }
132132+79 AUE_GETGROUPS ALL { int getgroups(u_int gidsetsize, gid_t *gidset); }
133133+80 AUE_SETGROUPS ALL { int setgroups(u_int gidsetsize, gid_t *gidset); }
134134+81 AUE_GETPGRP ALL { int getpgrp(void); }
135135+82 AUE_SETPGRP ALL { int setpgid(int pid, int pgid); }
136136+83 AUE_SETITIMER ALL { int setitimer(u_int which, struct itimerval *itv, struct itimerval *oitv); }
137137+84 AUE_NULL ALL { int nosys(void); } { old wait }
138138+85 AUE_SWAPON ALL { int swapon(void); }
139139+86 AUE_GETITIMER ALL { int getitimer(u_int which, struct itimerval *itv); }
140140+87 AUE_NULL ALL { int nosys(void); } { old gethostname }
141141+88 AUE_NULL ALL { int nosys(void); } { old sethostname }
142142+89 AUE_GETDTABLESIZE ALL { int sys_getdtablesize(void); }
143143+90 AUE_DUP2 ALL { int sys_dup2(u_int from, u_int to); }
144144+91 AUE_NULL ALL { int nosys(void); } { old getdopt }
145145+92 AUE_FCNTL ALL { int sys_fcntl(int fd, int cmd, long arg) NO_SYSCALL_STUB; }
146146+93 AUE_SELECT ALL { int select(int nd, u_int32_t *in, u_int32_t *ou, u_int32_t *ex, struct timeval *tv) NO_SYSCALL_STUB; }
147147+94 AUE_NULL ALL { int nosys(void); } { old setdopt }
148148+95 AUE_FSYNC ALL { int fsync(int fd); }
149149+96 AUE_SETPRIORITY ALL { int setpriority(int which, id_t who, int prio) NO_SYSCALL_STUB; }
150150+#if SOCKETS
151151+97 AUE_SOCKET ALL { int socket(int domain, int type, int protocol); }
152152+98 AUE_CONNECT ALL { int connect(int s, caddr_t name, socklen_t namelen) NO_SYSCALL_STUB; }
153153+#else
154154+97 AUE_NULL ALL { int nosys(void); }
155155+98 AUE_NULL ALL { int nosys(void); }
156156+#endif /* SOCKETS */
157157+99 AUE_NULL ALL { int nosys(void); } { old accept }
158158+100 AUE_GETPRIORITY ALL { int getpriority(int which, id_t who); }
159159+101 AUE_NULL ALL { int nosys(void); } { old send }
160160+102 AUE_NULL ALL { int nosys(void); } { old recv }
161161+103 AUE_NULL ALL { int nosys(void); } { old sigreturn }
162162+#if SOCKETS
163163+104 AUE_BIND ALL { int bind(int s, caddr_t name, socklen_t namelen) NO_SYSCALL_STUB; }
164164+105 AUE_SETSOCKOPT ALL { int setsockopt(int s, int level, int name, caddr_t val, socklen_t valsize); }
165165+106 AUE_LISTEN ALL { int listen(int s, int backlog) NO_SYSCALL_STUB; }
166166+#else
167167+104 AUE_NULL ALL { int nosys(void); }
168168+105 AUE_NULL ALL { int nosys(void); }
169169+106 AUE_NULL ALL { int nosys(void); }
170170+#endif /* SOCKETS */
171171+107 AUE_NULL ALL { int nosys(void); } { old vtimes }
172172+108 AUE_NULL ALL { int nosys(void); } { old sigvec }
173173+109 AUE_NULL ALL { int nosys(void); } { old sigblock }
174174+110 AUE_NULL ALL { int nosys(void); } { old sigsetmask }
175175+111 AUE_NULL ALL { int sigsuspend(sigset_t mask) NO_SYSCALL_STUB; }
176176+112 AUE_NULL ALL { int nosys(void); } { old sigstack }
177177+#if SOCKETS
178178+113 AUE_NULL ALL { int nosys(void); } { old recvmsg }
179179+114 AUE_NULL ALL { int nosys(void); } { old sendmsg }
180180+#else
181181+113 AUE_NULL ALL { int nosys(void); }
182182+114 AUE_NULL ALL { int nosys(void); }
183183+#endif /* SOCKETS */
184184+115 AUE_NULL ALL { int nosys(void); } { old vtrace }
185185+116 AUE_GETTIMEOFDAY ALL { int gettimeofday(struct timeval *tp, struct timezone *tzp, uint64_t *mach_absolute_time) NO_SYSCALL_STUB; }
186186+117 AUE_GETRUSAGE ALL { int getrusage(int who, struct rusage *rusage); }
187187+#if SOCKETS
188188+118 AUE_GETSOCKOPT ALL { int getsockopt(int s, int level, int name, caddr_t val, socklen_t *avalsize); }
189189+#else
190190+118 AUE_NULL ALL { int nosys(void); }
191191+#endif /* SOCKETS */
192192+119 AUE_NULL ALL { int nosys(void); } { old resuba }
193193+120 AUE_READV ALL { user_ssize_t readv(int fd, struct iovec *iovp, u_int iovcnt); }
194194+121 AUE_WRITEV ALL { user_ssize_t writev(int fd, struct iovec *iovp, u_int iovcnt); }
195195+122 AUE_SETTIMEOFDAY ALL { int settimeofday(struct timeval *tv, struct timezone *tzp) NO_SYSCALL_STUB; }
196196+123 AUE_FCHOWN ALL { int fchown(int fd, int uid, int gid); }
197197+124 AUE_FCHMOD ALL { int fchmod(int fd, int mode) NO_SYSCALL_STUB; }
198198+125 AUE_NULL ALL { int nosys(void); } { old recvfrom }
199199+126 AUE_SETREUID ALL { int setreuid(uid_t ruid, uid_t euid) NO_SYSCALL_STUB; }
200200+127 AUE_SETREGID ALL { int setregid(gid_t rgid, gid_t egid) NO_SYSCALL_STUB; }
201201+128 AUE_RENAME ALL { int rename(char *from, char *to) NO_SYSCALL_STUB; }
202202+129 AUE_NULL ALL { int nosys(void); } { old truncate }
203203+130 AUE_NULL ALL { int nosys(void); } { old ftruncate }
204204+131 AUE_FLOCK ALL { int sys_flock(int fd, int how); }
205205+132 AUE_MKFIFO ALL { int mkfifo(user_addr_t path, int mode); }
206206+#if SOCKETS
207207+133 AUE_SENDTO ALL { int sendto(int s, caddr_t buf, size_t len, int flags, caddr_t to, socklen_t tolen) NO_SYSCALL_STUB; }
208208+134 AUE_SHUTDOWN ALL { int shutdown(int s, int how); }
209209+135 AUE_SOCKETPAIR ALL { int socketpair(int domain, int type, int protocol, int *rsv) NO_SYSCALL_STUB; }
210210+#else
211211+133 AUE_NULL ALL { int nosys(void); }
212212+134 AUE_NULL ALL { int nosys(void); }
213213+135 AUE_NULL ALL { int nosys(void); }
214214+#endif /* SOCKETS */
215215+136 AUE_MKDIR ALL { int mkdir(user_addr_t path, int mode); }
216216+137 AUE_RMDIR ALL { int rmdir(char *path) NO_SYSCALL_STUB; }
217217+138 AUE_UTIMES ALL { int utimes(char *path, struct timeval *tptr); }
218218+139 AUE_FUTIMES ALL { int futimes(int fd, struct timeval *tptr); }
219219+140 AUE_ADJTIME ALL { int adjtime(struct timeval *delta, struct timeval *olddelta); }
220220+141 AUE_NULL ALL { int nosys(void); } { old getpeername }
221221+142 AUE_SYSCTL ALL { int gethostuuid(unsigned char *uuid_buf, const struct timespec *timeoutp) NO_SYSCALL_STUB; }
222222+143 AUE_NULL ALL { int nosys(void); } { old sethostid }
223223+144 AUE_NULL ALL { int nosys(void); } { old getrlimit }
224224+145 AUE_NULL ALL { int nosys(void); } { old setrlimit }
225225+146 AUE_NULL ALL { int nosys(void); } { old killpg }
226226+147 AUE_SETSID ALL { int setsid(void); }
227227+148 AUE_NULL ALL { int nosys(void); } { old setquota }
228228+149 AUE_NULL ALL { int nosys(void); } { old qquota }
229229+150 AUE_NULL ALL { int nosys(void); } { old getsockname }
230230+151 AUE_GETPGID ALL { int getpgid(pid_t pid); }
231231+152 AUE_SETPRIVEXEC ALL { int setprivexec(int flag); }
232232+153 AUE_PREAD ALL { user_ssize_t pread(int fd, user_addr_t buf, user_size_t nbyte, off_t offset); }
233233+154 AUE_PWRITE ALL { user_ssize_t pwrite(int fd, user_addr_t buf, user_size_t nbyte, off_t offset); }
234234+235235+#if NFSSERVER /* XXX */
236236+155 AUE_NFS_SVC ALL { int nfssvc(int flag, caddr_t argp); }
237237+#else
238238+155 AUE_NULL ALL { int nosys(void); }
239239+#endif
240240+241241+156 AUE_NULL ALL { int nosys(void); } { old getdirentries }
242242+157 AUE_STATFS ALL { int statfs(char *path, struct statfs *buf); }
243243+158 AUE_FSTATFS ALL { int fstatfs(int fd, struct statfs *buf); }
244244+159 AUE_UNMOUNT ALL { int unmount(user_addr_t path, int flags); }
245245+160 AUE_NULL ALL { int nosys(void); } { old async_daemon }
246246+247247+#if NFSSERVER /* XXX */
248248+161 AUE_NFS_GETFH ALL { int getfh(char *fname, fhandle_t *fhp); }
249249+#else
250250+161 AUE_NULL ALL { int nosys(void); }
251251+#endif
252252+253253+162 AUE_NULL ALL { int nosys(void); } { old getdomainname }
254254+163 AUE_NULL ALL { int nosys(void); } { old setdomainname }
255255+164 AUE_NULL ALL { int nosys(void); }
256256+165 AUE_QUOTACTL ALL { int quotactl(const char *path, int cmd, int uid, caddr_t arg); }
257257+166 AUE_NULL ALL { int nosys(void); } { old exportfs }
258258+167 AUE_MOUNT ALL { int mount(char *type, char *path, int flags, caddr_t data); }
259259+168 AUE_NULL ALL { int nosys(void); } { old ustat }
260260+169 AUE_CSOPS ALL { int csops(pid_t pid, uint32_t ops, user_addr_t useraddr, user_size_t usersize); }
261261+170 AUE_CSOPS ALL { int csops_audittoken(pid_t pid, uint32_t ops, user_addr_t useraddr, user_size_t usersize, user_addr_t uaudittoken); }
262262+171 AUE_NULL ALL { int nosys(void); } { old wait3 }
263263+172 AUE_NULL ALL { int nosys(void); } { old rpause }
264264+173 AUE_WAITID ALL { int waitid(idtype_t idtype, id_t id, siginfo_t *infop, int options); }
265265+174 AUE_NULL ALL { int nosys(void); } { old getdents }
266266+175 AUE_NULL ALL { int nosys(void); } { old gc_control }
267267+176 AUE_NULL ALL { int nosys(void); } { old add_profil }
268268+177 AUE_NULL ALL { int kdebug_typefilter(void** addr, size_t* size) NO_SYSCALL_STUB; }
269269+178 AUE_NULL ALL { uint64_t kdebug_trace_string(uint32_t debugid, uint64_t str_id, const char *str) NO_SYSCALL_STUB; }
270270+179 AUE_NULL ALL { int kdebug_trace64(uint32_t code, uint64_t arg1, uint64_t arg2, uint64_t arg3, uint64_t arg4) NO_SYSCALL_STUB; }
271271+180 AUE_NULL ALL { int kdebug_trace(uint32_t code, u_long arg1, u_long arg2, u_long arg3, u_long arg4) NO_SYSCALL_STUB; }
272272+181 AUE_SETGID ALL { int setgid(gid_t gid); }
273273+182 AUE_SETEGID ALL { int setegid(gid_t egid); }
274274+183 AUE_SETEUID ALL { int seteuid(uid_t euid); }
275275+184 AUE_SIGRETURN ALL { int sigreturn(struct ucontext *uctx, int infostyle, user_addr_t token) NO_SYSCALL_STUB; }
276276+185 AUE_NULL ALL { int enosys(void); } { old chud }
277277+186 AUE_NULL ALL { int thread_selfcounts(int type, user_addr_t buf, user_size_t nbytes); }
278278+187 AUE_FDATASYNC ALL { int fdatasync(int fd); }
279279+188 AUE_STAT ALL { int stat(user_addr_t path, user_addr_t ub); }
280280+189 AUE_FSTAT ALL { int sys_fstat(int fd, user_addr_t ub); }
281281+190 AUE_LSTAT ALL { int lstat(user_addr_t path, user_addr_t ub); }
282282+191 AUE_PATHCONF ALL { int pathconf(char *path, int name); }
283283+192 AUE_FPATHCONF ALL { int sys_fpathconf(int fd, int name); }
284284+193 AUE_NULL ALL { int nosys(void); } { old getfsstat }
285285+194 AUE_GETRLIMIT ALL { int getrlimit(u_int which, struct rlimit *rlp) NO_SYSCALL_STUB; }
286286+195 AUE_SETRLIMIT ALL { int setrlimit(u_int which, struct rlimit *rlp) NO_SYSCALL_STUB; }
287287+196 AUE_GETDIRENTRIES ALL { int getdirentries(int fd, char *buf, u_int count, long *basep); }
288288+197 AUE_MMAP ALL { user_addr_t mmap(caddr_t addr, size_t len, int prot, int flags, int fd, off_t pos) NO_SYSCALL_STUB; }
289289+198 AUE_NULL ALL { int nosys(void); } { old __syscall }
290290+199 AUE_LSEEK ALL { off_t lseek(int fd, off_t offset, int whence); }
291291+200 AUE_TRUNCATE ALL { int truncate(char *path, off_t length); }
292292+201 AUE_FTRUNCATE ALL { int ftruncate(int fd, off_t length); }
293293+202 AUE_SYSCTL ALL { int sysctl(int *name, u_int namelen, void *old, size_t *oldlenp, void *new, size_t newlen) NO_SYSCALL_STUB; }
294294+203 AUE_MLOCK ALL { int mlock(caddr_t addr, size_t len); }
295295+204 AUE_MUNLOCK ALL { int munlock(caddr_t addr, size_t len); }
296296+205 AUE_UNDELETE ALL { int undelete(user_addr_t path); }
297297+298298+206 AUE_NULL ALL { int nosys(void); } { old ATsocket }
299299+207 AUE_NULL ALL { int nosys(void); } { old ATgetmsg }
300300+208 AUE_NULL ALL { int nosys(void); } { old ATputmsg }
301301+209 AUE_NULL ALL { int nosys(void); } { old ATsndreq }
302302+210 AUE_NULL ALL { int nosys(void); } { old ATsndrsp }
303303+211 AUE_NULL ALL { int nosys(void); } { old ATgetreq }
304304+212 AUE_NULL ALL { int nosys(void); } { old ATgetrsp }
305305+213 AUE_NULL ALL { int nosys(void); } { Reserved for AppleTalk }
306306+307307+214 AUE_NULL ALL { int nosys(void); }
308308+215 AUE_NULL ALL { int nosys(void); }
309309+310310+; System Calls 216 - 230 are reserved for calls to support HFS/HFS Plus
311311+; file system semantics. Currently, we only use 215-227. The rest is
312312+; for future expansion in anticipation of new MacOS APIs for HFS Plus.
313313+; These calls are not conditionalized because while they are specific
314314+; to HFS semantics, they are not specific to the HFS filesystem.
315315+; We expect all filesystems to recognize the call and report that it is
316316+; not supported or to actually implement it.
317317+318318+; 216-> 219 used to be mkcomplex and {f,l}statv variants. They are gone now.
319319+216 AUE_NULL ALL { int open_dprotected_np(user_addr_t path, int flags, int class, int dpflags, int mode) NO_SYSCALL_STUB; }
320320+217 AUE_FSGETPATH_EXTENDED ALL { user_ssize_t fsgetpath_ext(user_addr_t buf, size_t bufsize, user_addr_t fsid, uint64_t objid, uint32_t options); }
321321+218 AUE_NULL ALL { int nosys(void); } { old lstatv }
322322+219 AUE_NULL ALL { int nosys(void); } { old fstatv }
323323+220 AUE_GETATTRLIST ALL { int getattrlist(const char *path, struct attrlist *alist, void *attributeBuffer, size_t bufferSize, u_long options) NO_SYSCALL_STUB; }
324324+221 AUE_SETATTRLIST ALL { int setattrlist(const char *path, struct attrlist *alist, void *attributeBuffer, size_t bufferSize, u_long options) NO_SYSCALL_STUB; }
325325+222 AUE_GETDIRENTRIESATTR ALL { int getdirentriesattr(int fd, struct attrlist *alist, void *buffer, size_t buffersize, u_long *count, u_long *basep, u_long *newstate, u_long options); }
326326+223 AUE_EXCHANGEDATA ALL { int exchangedata(const char *path1, const char *path2, u_long options); }
327327+224 AUE_NULL ALL { int nosys(void); } { old checkuseraccess or fsgetpath }
328328+225 AUE_SEARCHFS ALL { int searchfs(const char *path, struct fssearchblock *searchblock, uint32_t *nummatches, uint32_t scriptcode, uint32_t options, struct searchstate *state); }
329329+226 AUE_DELETE ALL { int delete(user_addr_t path) NO_SYSCALL_STUB; } { private delete (Carbon semantics) }
330330+227 AUE_COPYFILE ALL { int copyfile(char *from, char *to, int mode, int flags) NO_SYSCALL_STUB; }
331331+228 AUE_FGETATTRLIST ALL { int fgetattrlist(int fd, struct attrlist *alist, void *attributeBuffer, size_t bufferSize, u_long options); }
332332+229 AUE_FSETATTRLIST ALL { int fsetattrlist(int fd, struct attrlist *alist, void *attributeBuffer, size_t bufferSize, u_long options); }
333333+230 AUE_POLL ALL { int poll(struct pollfd *fds, u_int nfds, int timeout); }
334334+231 AUE_NULL ALL { int nosys(void); } { old watchevent }
335335+232 AUE_NULL ALL { int nosys(void); } { old waitevent }
336336+233 AUE_NULL ALL { int nosys(void); } { old modwatch }
337337+234 AUE_GETXATTR ALL { user_ssize_t getxattr(user_addr_t path, user_addr_t attrname, user_addr_t value, size_t size, uint32_t position, int options); }
338338+235 AUE_FGETXATTR ALL { user_ssize_t fgetxattr(int fd, user_addr_t attrname, user_addr_t value, size_t size, uint32_t position, int options); }
339339+236 AUE_SETXATTR ALL { int setxattr(user_addr_t path, user_addr_t attrname, user_addr_t value, size_t size, uint32_t position, int options); }
340340+237 AUE_FSETXATTR ALL { int fsetxattr(int fd, user_addr_t attrname, user_addr_t value, size_t size, uint32_t position, int options); }
341341+238 AUE_REMOVEXATTR ALL { int removexattr(user_addr_t path, user_addr_t attrname, int options); }
342342+239 AUE_FREMOVEXATTR ALL { int fremovexattr(int fd, user_addr_t attrname, int options); }
343343+240 AUE_LISTXATTR ALL { user_ssize_t listxattr(user_addr_t path, user_addr_t namebuf, size_t bufsize, int options); }
344344+241 AUE_FLISTXATTR ALL { user_ssize_t flistxattr(int fd, user_addr_t namebuf, size_t bufsize, int options); }
345345+242 AUE_FSCTL ALL { int fsctl(const char *path, u_long cmd, caddr_t data, u_int options); }
346346+243 AUE_INITGROUPS ALL { int initgroups(u_int gidsetsize, gid_t *gidset, int gmuid) NO_SYSCALL_STUB; }
347347+244 AUE_POSIX_SPAWN ALL { int posix_spawn(pid_t *pid, const char *path, const struct _posix_spawn_args_desc *adesc, char **argv, char **envp) NO_SYSCALL_STUB; }
348348+245 AUE_FFSCTL ALL { int ffsctl(int fd, u_long cmd, caddr_t data, u_int options); }
349349+246 AUE_NULL ALL { int nosys(void); }
350350+351351+#if NFSCLIENT /* XXX */
352352+247 AUE_NULL ALL { int nfsclnt(int flag, caddr_t argp); }
353353+#else
354354+247 AUE_NULL ALL { int nosys(void); }
355355+#endif
356356+#if NFSSERVER /* XXX */
357357+248 AUE_FHOPEN ALL { int fhopen(const struct fhandle *u_fhp, int flags); }
358358+#else
359359+248 AUE_NULL ALL { int nosys(void); }
360360+#endif
361361+362362+249 AUE_NULL ALL { int nosys(void); }
363363+250 AUE_MINHERIT ALL { int minherit(void *addr, size_t len, int inherit); }
364364+#if SYSV_SEM
365365+251 AUE_SEMSYS ALL { int semsys(u_int which, int a2, int a3, int a4, int a5) NO_SYSCALL_STUB; }
366366+#else
367367+251 AUE_NULL ALL { int nosys(void); }
368368+#endif
369369+#if SYSV_MSG
370370+252 AUE_MSGSYS ALL { int msgsys(u_int which, int a2, int a3, int a4, int a5) NO_SYSCALL_STUB; }
371371+#else
372372+252 AUE_NULL ALL { int nosys(void); }
373373+#endif
374374+#if SYSV_SHM
375375+253 AUE_SHMSYS ALL { int shmsys(u_int which, int a2, int a3, int a4) NO_SYSCALL_STUB; }
376376+#else
377377+253 AUE_NULL ALL { int nosys(void); }
378378+#endif
379379+#if SYSV_SEM
380380+254 AUE_SEMCTL ALL { int semctl(int semid, int semnum, int cmd, semun_t arg) NO_SYSCALL_STUB; }
381381+255 AUE_SEMGET ALL { int semget(key_t key, int nsems, int semflg); }
382382+256 AUE_SEMOP ALL { int semop(int semid, struct sembuf *sops, int nsops); }
383383+257 AUE_NULL ALL { int nosys(void); } { old semconfig }
384384+#else
385385+254 AUE_NULL ALL { int nosys(void); }
386386+255 AUE_NULL ALL { int nosys(void); }
387387+256 AUE_NULL ALL { int nosys(void); }
388388+257 AUE_NULL ALL { int nosys(void); }
389389+#endif
390390+#if SYSV_MSG
391391+258 AUE_MSGCTL ALL { int msgctl(int msqid, int cmd, struct msqid_ds *buf) NO_SYSCALL_STUB; }
392392+259 AUE_MSGGET ALL { int msgget(key_t key, int msgflg); }
393393+260 AUE_MSGSND ALL { int msgsnd(int msqid, void *msgp, size_t msgsz, int msgflg); }
394394+261 AUE_MSGRCV ALL { user_ssize_t msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); }
395395+#else
396396+258 AUE_NULL ALL { int nosys(void); }
397397+259 AUE_NULL ALL { int nosys(void); }
398398+260 AUE_NULL ALL { int nosys(void); }
399399+261 AUE_NULL ALL { int nosys(void); }
400400+#endif
401401+#if SYSV_SHM
402402+262 AUE_SHMAT ALL { user_addr_t shmat(int shmid, void *shmaddr, int shmflg); }
403403+263 AUE_SHMCTL ALL { int shmctl(int shmid, int cmd, struct shmid_ds *buf) NO_SYSCALL_STUB; }
404404+264 AUE_SHMDT ALL { int shmdt(void *shmaddr); }
405405+265 AUE_SHMGET ALL { int shmget(key_t key, size_t size, int shmflg); }
406406+#else
407407+262 AUE_NULL ALL { int nosys(void); }
408408+263 AUE_NULL ALL { int nosys(void); }
409409+264 AUE_NULL ALL { int nosys(void); }
410410+265 AUE_NULL ALL { int nosys(void); }
411411+#endif
412412+266 AUE_SHMOPEN ALL { int shm_open(const char *name, int oflag, int mode) NO_SYSCALL_STUB; }
413413+267 AUE_SHMUNLINK ALL { int shm_unlink(const char *name); }
414414+268 AUE_SEMOPEN ALL { user_addr_t sem_open(const char *name, int oflag, int mode, int value) NO_SYSCALL_STUB; }
415415+269 AUE_SEMCLOSE ALL { int sem_close(sem_t *sem); }
416416+270 AUE_SEMUNLINK ALL { int sem_unlink(const char *name); }
417417+271 AUE_SEMWAIT ALL { int sem_wait(sem_t *sem); }
418418+272 AUE_SEMTRYWAIT ALL { int sem_trywait(sem_t *sem); }
419419+273 AUE_SEMPOST ALL { int sem_post(sem_t *sem); }
420420+274 AUE_SYSCTL ALL { int sys_sysctlbyname(const char *name, size_t namelen, void *old, size_t *oldlenp, void *new, size_t newlen) NO_SYSCALL_STUB; }
421421+275 AUE_NULL ALL { int enosys(void); } { old sem_init }
422422+276 AUE_NULL ALL { int enosys(void); } { old sem_destroy }
423423+277 AUE_OPEN_EXTENDED_RWTC ALL { int open_extended(user_addr_t path, int flags, uid_t uid, gid_t gid, int mode, user_addr_t xsecurity) NO_SYSCALL_STUB; }
424424+278 AUE_UMASK_EXTENDED ALL { int umask_extended(int newmask, user_addr_t xsecurity) NO_SYSCALL_STUB; }
425425+279 AUE_STAT_EXTENDED ALL { int stat_extended(user_addr_t path, user_addr_t ub, user_addr_t xsecurity, user_addr_t xsecurity_size) NO_SYSCALL_STUB; }
426426+280 AUE_LSTAT_EXTENDED ALL { int lstat_extended(user_addr_t path, user_addr_t ub, user_addr_t xsecurity, user_addr_t xsecurity_size) NO_SYSCALL_STUB; }
427427+281 AUE_FSTAT_EXTENDED ALL { int sys_fstat_extended(int fd, user_addr_t ub, user_addr_t xsecurity, user_addr_t xsecurity_size) NO_SYSCALL_STUB; }
428428+282 AUE_CHMOD_EXTENDED ALL { int chmod_extended(user_addr_t path, uid_t uid, gid_t gid, int mode, user_addr_t xsecurity) NO_SYSCALL_STUB; }
429429+283 AUE_FCHMOD_EXTENDED ALL { int fchmod_extended(int fd, uid_t uid, gid_t gid, int mode, user_addr_t xsecurity) NO_SYSCALL_STUB; }
430430+284 AUE_ACCESS_EXTENDED ALL { int access_extended(user_addr_t entries, size_t size, user_addr_t results, uid_t uid) NO_SYSCALL_STUB; }
431431+285 AUE_SETTID ALL { int settid(uid_t uid, gid_t gid) NO_SYSCALL_STUB; }
432432+286 AUE_GETTID ALL { int gettid(uid_t *uidp, gid_t *gidp) NO_SYSCALL_STUB; }
433433+287 AUE_SETSGROUPS ALL { int setsgroups(int setlen, user_addr_t guidset) NO_SYSCALL_STUB; }
434434+288 AUE_GETSGROUPS ALL { int getsgroups(user_addr_t setlen, user_addr_t guidset) NO_SYSCALL_STUB; }
435435+289 AUE_SETWGROUPS ALL { int setwgroups(int setlen, user_addr_t guidset) NO_SYSCALL_STUB; }
436436+290 AUE_GETWGROUPS ALL { int getwgroups(user_addr_t setlen, user_addr_t guidset) NO_SYSCALL_STUB; }
437437+291 AUE_MKFIFO_EXTENDED ALL { int mkfifo_extended(user_addr_t path, uid_t uid, gid_t gid, int mode, user_addr_t xsecurity) NO_SYSCALL_STUB; }
438438+292 AUE_MKDIR_EXTENDED ALL { int mkdir_extended(user_addr_t path, uid_t uid, gid_t gid, int mode, user_addr_t xsecurity) NO_SYSCALL_STUB; }
439439+#if CONFIG_EXT_RESOLVER
440440+293 AUE_IDENTITYSVC ALL { int identitysvc(int opcode, user_addr_t message) NO_SYSCALL_STUB; }
441441+#else
442442+293 AUE_NULL ALL { int nosys(void); }
443443+#endif
444444+294 AUE_NULL ALL { int shared_region_check_np(uint64_t *start_address) NO_SYSCALL_STUB; }
445445+295 AUE_NULL ALL { int nosys(void); } { old shared_region_map_np }
446446+296 AUE_NULL ALL { int vm_pressure_monitor(int wait_for_pressure, int nsecs_monitored, uint32_t *pages_reclaimed); }
447447+#if PSYNCH
448448+297 AUE_NULL ALL { uint32_t psynch_rw_longrdlock(user_addr_t rwlock, uint32_t lgenval, uint32_t ugenval, uint32_t rw_wc, int flags) NO_SYSCALL_STUB; }
449449+298 AUE_NULL ALL { uint32_t psynch_rw_yieldwrlock(user_addr_t rwlock, uint32_t lgenval, uint32_t ugenval, uint32_t rw_wc, int flags) NO_SYSCALL_STUB; }
450450+299 AUE_NULL ALL { int psynch_rw_downgrade(user_addr_t rwlock, uint32_t lgenval, uint32_t ugenval, uint32_t rw_wc, int flags) NO_SYSCALL_STUB; }
451451+300 AUE_NULL ALL { uint32_t psynch_rw_upgrade(user_addr_t rwlock, uint32_t lgenval, uint32_t ugenval, uint32_t rw_wc, int flags) NO_SYSCALL_STUB; }
452452+301 AUE_NULL ALL { uint32_t psynch_mutexwait(user_addr_t mutex, uint32_t mgen, uint32_t ugen, uint64_t tid, uint32_t flags) NO_SYSCALL_STUB; }
453453+302 AUE_NULL ALL { uint32_t psynch_mutexdrop(user_addr_t mutex, uint32_t mgen, uint32_t ugen, uint64_t tid, uint32_t flags) NO_SYSCALL_STUB; }
454454+303 AUE_NULL ALL { uint32_t psynch_cvbroad(user_addr_t cv, uint64_t cvlsgen, uint64_t cvudgen, uint32_t flags, user_addr_t mutex, uint64_t mugen, uint64_t tid) NO_SYSCALL_STUB; }
455455+304 AUE_NULL ALL { uint32_t psynch_cvsignal(user_addr_t cv, uint64_t cvlsgen, uint32_t cvugen, int thread_port, user_addr_t mutex, uint64_t mugen, uint64_t tid, uint32_t flags) NO_SYSCALL_STUB; }
456456+305 AUE_NULL ALL { uint32_t psynch_cvwait(user_addr_t cv, uint64_t cvlsgen, uint32_t cvugen, user_addr_t mutex, uint64_t mugen, uint32_t flags, int64_t sec, uint32_t nsec) NO_SYSCALL_STUB; }
457457+306 AUE_NULL ALL { uint32_t psynch_rw_rdlock(user_addr_t rwlock, uint32_t lgenval, uint32_t ugenval, uint32_t rw_wc, int flags) NO_SYSCALL_STUB; }
458458+307 AUE_NULL ALL { uint32_t psynch_rw_wrlock(user_addr_t rwlock, uint32_t lgenval, uint32_t ugenval, uint32_t rw_wc, int flags) NO_SYSCALL_STUB; }
459459+308 AUE_NULL ALL { uint32_t psynch_rw_unlock(user_addr_t rwlock, uint32_t lgenval, uint32_t ugenval, uint32_t rw_wc, int flags) NO_SYSCALL_STUB; }
460460+309 AUE_NULL ALL { uint32_t psynch_rw_unlock2(user_addr_t rwlock, uint32_t lgenval, uint32_t ugenval, uint32_t rw_wc, int flags) NO_SYSCALL_STUB; }
461461+#else
462462+297 AUE_NULL ALL { int nosys(void); } { old reset_shared_file }
463463+298 AUE_NULL ALL { int nosys(void); } { old new_system_shared_regions }
464464+299 AUE_NULL ALL { int enosys(void); } { old shared_region_map_file_np }
465465+300 AUE_NULL ALL { int enosys(void); } { old shared_region_make_private_np }
466466+301 AUE_NULL ALL { int nosys(void); }
467467+302 AUE_NULL ALL { int nosys(void); }
468468+303 AUE_NULL ALL { int nosys(void); }
469469+304 AUE_NULL ALL { int nosys(void); }
470470+305 AUE_NULL ALL { int nosys(void); }
471471+306 AUE_NULL ALL { int nosys(void); }
472472+307 AUE_NULL ALL { int nosys(void); }
473473+308 AUE_NULL ALL { int nosys(void); }
474474+309 AUE_NULL ALL { int nosys(void); }
475475+#endif
476476+310 AUE_GETSID ALL { int getsid(pid_t pid); }
477477+311 AUE_SETTIDWITHPID ALL { int settid_with_pid(pid_t pid, int assume) NO_SYSCALL_STUB; }
478478+#if PSYNCH
479479+312 AUE_NULL ALL { int psynch_cvclrprepost(user_addr_t cv, uint32_t cvgen, uint32_t cvugen, uint32_t cvsgen, uint32_t prepocnt, uint32_t preposeq, uint32_t flags) NO_SYSCALL_STUB; }
480480+#else
481481+312 AUE_NULL ALL { int nosys(void); } { old __pthread_cond_timedwait }
482482+#endif
483483+313 AUE_NULL ALL { int aio_fsync(int op, user_addr_t aiocbp); }
484484+314 AUE_NULL ALL { user_ssize_t aio_return(user_addr_t aiocbp); }
485485+315 AUE_NULL ALL { int aio_suspend(user_addr_t aiocblist, int nent, user_addr_t timeoutp); }
486486+316 AUE_NULL ALL { int aio_cancel(int fd, user_addr_t aiocbp); }
487487+317 AUE_NULL ALL { int aio_error(user_addr_t aiocbp); }
488488+318 AUE_NULL ALL { int aio_read(user_addr_t aiocbp); }
489489+319 AUE_NULL ALL { int aio_write(user_addr_t aiocbp); }
490490+320 AUE_LIOLISTIO ALL { int lio_listio(int mode, user_addr_t aiocblist, int nent, user_addr_t sigp); }
491491+321 AUE_NULL ALL { int nosys(void); } { old __pthread_cond_wait }
492492+322 AUE_IOPOLICYSYS ALL { int iopolicysys(int cmd, void *arg) NO_SYSCALL_STUB; }
493493+323 AUE_NULL ALL { int process_policy(int scope, int action, int policy, int policy_subtype, user_addr_t attrp, pid_t target_pid, uint64_t target_threadid) NO_SYSCALL_STUB; }
494494+324 AUE_MLOCKALL ALL { int mlockall(int how); }
495495+325 AUE_MUNLOCKALL ALL { int munlockall(int how); }
496496+326 AUE_NULL ALL { int nosys(void); }
497497+327 AUE_ISSETUGID ALL { int issetugid(void); }
498498+328 AUE_PTHREADKILL ALL { int __pthread_kill(int thread_port, int sig); }
499499+329 AUE_PTHREADSIGMASK ALL { int __pthread_sigmask(int how, user_addr_t set, user_addr_t oset); }
500500+330 AUE_SIGWAIT ALL { int __sigwait(user_addr_t set, user_addr_t sig); }
501501+331 AUE_NULL ALL { int __disable_threadsignal(int value); }
502502+332 AUE_NULL ALL { int __pthread_markcancel(int thread_port); }
503503+333 AUE_NULL ALL { int __pthread_canceled(int action); }
504504+505505+;#if OLD_SEMWAIT_SIGNAL
506506+;334 AUE_NULL ALL { int nosys(void); } { old __semwait_signal }
507507+;#else
508508+334 AUE_SEMWAITSIGNAL ALL { int __semwait_signal(int cond_sem, int mutex_sem, int timeout, int relative, int64_t tv_sec, int32_t tv_nsec); }
509509+;#endif
510510+511511+335 AUE_NULL ALL { int nosys(void); } { old utrace }
512512+336 AUE_PROCINFO ALL { int proc_info(int32_t callnum,int32_t pid,uint32_t flavor, uint64_t arg,user_addr_t buffer,int32_t buffersize) NO_SYSCALL_STUB; }
513513+#if SENDFILE
514514+337 AUE_SENDFILE ALL { int sendfile(int fd, int s, off_t offset, off_t *nbytes, struct sf_hdtr *hdtr, int flags); }
515515+#else /* !SENDFILE */
516516+337 AUE_NULL ALL { int nosys(void); }
517517+#endif /* SENDFILE */
518518+338 AUE_STAT64 ALL { int stat64(user_addr_t path, user_addr_t ub); }
519519+339 AUE_FSTAT64 ALL { int sys_fstat64(int fd, user_addr_t ub); }
520520+340 AUE_LSTAT64 ALL { int lstat64(user_addr_t path, user_addr_t ub); }
521521+341 AUE_STAT64_EXTENDED ALL { int stat64_extended(user_addr_t path, user_addr_t ub, user_addr_t xsecurity, user_addr_t xsecurity_size) NO_SYSCALL_STUB; }
522522+342 AUE_LSTAT64_EXTENDED ALL { int lstat64_extended(user_addr_t path, user_addr_t ub, user_addr_t xsecurity, user_addr_t xsecurity_size) NO_SYSCALL_STUB; }
523523+343 AUE_FSTAT64_EXTENDED ALL { int sys_fstat64_extended(int fd, user_addr_t ub, user_addr_t xsecurity, user_addr_t xsecurity_size) NO_SYSCALL_STUB; }
524524+344 AUE_GETDIRENTRIES64 ALL { user_ssize_t getdirentries64(int fd, void *buf, user_size_t bufsize, off_t *position) NO_SYSCALL_STUB; }
525525+345 AUE_STATFS64 ALL { int statfs64(char *path, struct statfs64 *buf); }
526526+346 AUE_FSTATFS64 ALL { int fstatfs64(int fd, struct statfs64 *buf); }
527527+347 AUE_GETFSSTAT64 ALL { int getfsstat64(user_addr_t buf, int bufsize, int flags); }
528528+348 AUE_NULL ALL { int __pthread_chdir(user_addr_t path); }
529529+349 AUE_NULL ALL { int __pthread_fchdir(int fd); }
530530+350 AUE_AUDIT ALL { int audit(void *record, int length); }
531531+351 AUE_AUDITON ALL { int auditon(int cmd, void *data, int length); }
532532+352 AUE_NULL ALL { int nosys(void); }
533533+353 AUE_GETAUID ALL { int getauid(au_id_t *auid); }
534534+354 AUE_SETAUID ALL { int setauid(au_id_t *auid); }
535535+355 AUE_NULL ALL { int nosys(void); } { old getaudit }
536536+356 AUE_NULL ALL { int nosys(void); } { old setaudit }
537537+357 AUE_GETAUDIT_ADDR ALL { int getaudit_addr(struct auditinfo_addr *auditinfo_addr, int length); }
538538+358 AUE_SETAUDIT_ADDR ALL { int setaudit_addr(struct auditinfo_addr *auditinfo_addr, int length); }
539539+359 AUE_AUDITCTL ALL { int auditctl(char *path); }
540540+#if CONFIG_WORKQUEUE
541541+360 AUE_NULL ALL { user_addr_t bsdthread_create(user_addr_t func, user_addr_t func_arg, user_addr_t stack, user_addr_t pthread, uint32_t flags) NO_SYSCALL_STUB; }
542542+361 AUE_NULL ALL { int bsdthread_terminate(user_addr_t stackaddr, size_t freesize, uint32_t port, uint32_t sem) NO_SYSCALL_STUB; }
543543+#else
544544+360 AUE_NULL ALL { int nosys(void); }
545545+361 AUE_NULL ALL { int nosys(void); }
546546+#endif /* CONFIG_WORKQUEUE */
547547+362 AUE_KQUEUE ALL { int kqueue(void); }
548548+363 AUE_NULL ALL { int kevent(int fd, const struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); }
549549+364 AUE_LCHOWN ALL { int lchown(user_addr_t path, uid_t owner, gid_t group) NO_SYSCALL_STUB; }
550550+365 AUE_NULL ALL { int nosys(void); } { old stack_snapshot }
551551+#if CONFIG_WORKQUEUE
552552+366 AUE_NULL ALL { int bsdthread_register(user_addr_t threadstart, user_addr_t wqthread, uint32_t flags, user_addr_t stack_addr_hint, user_addr_t targetconc_ptr, uint32_t dispatchqueue_offset, uint32_t tsd_offset) NO_SYSCALL_STUB; }
553553+367 AUE_WORKQOPEN ALL { int workq_open(void) NO_SYSCALL_STUB; }
554554+368 AUE_WORKQOPS ALL { int workq_kernreturn(int options, user_addr_t item, int affinity, int prio) NO_SYSCALL_STUB; }
555555+#else
556556+366 AUE_NULL ALL { int nosys(void); }
557557+367 AUE_NULL ALL { int nosys(void); }
558558+368 AUE_NULL ALL { int nosys(void); }
559559+#endif /* CONFIG_WORKQUEUE */
560560+369 AUE_NULL ALL { int kevent64(int fd, const struct kevent64_s *changelist, int nchanges, struct kevent64_s *eventlist, int nevents, unsigned int flags, const struct timespec *timeout); }
561561+#if OLD_SEMWAIT_SIGNAL
562562+370 AUE_SEMWAITSIGNAL ALL { int __old_semwait_signal(int cond_sem, int mutex_sem, int timeout, int relative, const struct timespec *ts); }
563563+371 AUE_SEMWAITSIGNAL ALL { int __old_semwait_signal_nocancel(int cond_sem, int mutex_sem, int timeout, int relative, const struct timespec *ts) NO_SYSCALL_STUB; }
564564+#else
565565+370 AUE_NULL ALL { int nosys(void); } { old __semwait_signal }
566566+371 AUE_NULL ALL { int nosys(void); } { old __semwait_signal }
567567+#endif
568568+372 AUE_NULL ALL { uint64_t thread_selfid (void) NO_SYSCALL_STUB; }
569569+373 AUE_LEDGER ALL { int ledger(int cmd, caddr_t arg1, caddr_t arg2, caddr_t arg3); }
570570+374 AUE_NULL ALL { int kevent_qos(int fd, const struct kevent_qos_s *changelist, int nchanges, struct kevent_qos_s *eventlist, int nevents, void *data_out, size_t *data_available, unsigned int flags); }
571571+375 AUE_NULL ALL { int kevent_id(uint64_t id, const struct kevent_qos_s *changelist, int nchanges, struct kevent_qos_s *eventlist, int nevents, void *data_out, size_t *data_available, unsigned int flags); }
572572+376 AUE_NULL ALL { int nosys(void); }
573573+377 AUE_NULL ALL { int nosys(void); }
574574+378 AUE_NULL ALL { int nosys(void); }
575575+379 AUE_NULL ALL { int nosys(void); }
576576+380 AUE_MAC_EXECVE ALL { int __mac_execve(char *fname, char **argp, char **envp, struct mac *mac_p); }
577577+#if CONFIG_MACF
578578+381 AUE_MAC_SYSCALL ALL { int __mac_syscall(char *policy, int call, user_addr_t arg); }
579579+382 AUE_MAC_GET_FILE ALL { int __mac_get_file(char *path_p, struct mac *mac_p); }
580580+383 AUE_MAC_SET_FILE ALL { int __mac_set_file(char *path_p, struct mac *mac_p); }
581581+384 AUE_MAC_GET_LINK ALL { int __mac_get_link(char *path_p, struct mac *mac_p); }
582582+385 AUE_MAC_SET_LINK ALL { int __mac_set_link(char *path_p, struct mac *mac_p); }
583583+386 AUE_MAC_GET_PROC ALL { int __mac_get_proc(struct mac *mac_p); }
584584+387 AUE_MAC_SET_PROC ALL { int __mac_set_proc(struct mac *mac_p); }
585585+388 AUE_MAC_GET_FD ALL { int __mac_get_fd(int fd, struct mac *mac_p); }
586586+389 AUE_MAC_SET_FD ALL { int __mac_set_fd(int fd, struct mac *mac_p); }
587587+390 AUE_MAC_GET_PID ALL { int __mac_get_pid(pid_t pid, struct mac *mac_p); }
588588+#else
589589+381 AUE_MAC_SYSCALL ALL { int enosys(void); }
590590+382 AUE_MAC_GET_FILE ALL { int nosys(void); }
591591+383 AUE_MAC_SET_FILE ALL { int nosys(void); }
592592+384 AUE_MAC_GET_LINK ALL { int nosys(void); }
593593+385 AUE_MAC_SET_LINK ALL { int nosys(void); }
594594+386 AUE_MAC_GET_PROC ALL { int nosys(void); }
595595+387 AUE_MAC_SET_PROC ALL { int nosys(void); }
596596+388 AUE_MAC_GET_FD ALL { int nosys(void); }
597597+389 AUE_MAC_SET_FD ALL { int nosys(void); }
598598+390 AUE_MAC_GET_PID ALL { int nosys(void); }
599599+#endif
600600+391 AUE_NULL ALL { int enosys(void); }
601601+392 AUE_NULL ALL { int enosys(void); }
602602+393 AUE_NULL ALL { int enosys(void); }
603603+394 AUE_SELECT ALL { int pselect(int nd, u_int32_t *in, u_int32_t *ou, u_int32_t *ex, const struct timespec *ts, const struct sigset_t *mask) NO_SYSCALL_STUB; }
604604+395 AUE_SELECT ALL { int pselect_nocancel(int nd, u_int32_t *in, u_int32_t *ou, u_int32_t *ex, const struct timespec *ts, const struct sigset_t *mask) NO_SYSCALL_STUB; }
605605+396 AUE_NULL ALL { user_ssize_t read_nocancel(int fd, user_addr_t cbuf, user_size_t nbyte) NO_SYSCALL_STUB; }
606606+397 AUE_NULL ALL { user_ssize_t write_nocancel(int fd, user_addr_t cbuf, user_size_t nbyte) NO_SYSCALL_STUB; }
607607+398 AUE_OPEN_RWTC ALL { int open_nocancel(user_addr_t path, int flags, int mode) NO_SYSCALL_STUB; }
608608+399 AUE_CLOSE ALL { int sys_close_nocancel(int fd) NO_SYSCALL_STUB; }
609609+400 AUE_WAIT4 ALL { int wait4_nocancel(int pid, user_addr_t status, int options, user_addr_t rusage) NO_SYSCALL_STUB; }
610610+#if SOCKETS
611611+401 AUE_RECVMSG ALL { int recvmsg_nocancel(int s, struct msghdr *msg, int flags) NO_SYSCALL_STUB; }
612612+402 AUE_SENDMSG ALL { int sendmsg_nocancel(int s, caddr_t msg, int flags) NO_SYSCALL_STUB; }
613613+403 AUE_RECVFROM ALL { int recvfrom_nocancel(int s, void *buf, size_t len, int flags, struct sockaddr *from, int *fromlenaddr) NO_SYSCALL_STUB; }
614614+404 AUE_ACCEPT ALL { int accept_nocancel(int s, caddr_t name, socklen_t *anamelen) NO_SYSCALL_STUB; }
615615+#else
616616+401 AUE_NULL ALL { int nosys(void); }
617617+402 AUE_NULL ALL { int nosys(void); }
618618+403 AUE_NULL ALL { int nosys(void); }
619619+404 AUE_NULL ALL { int nosys(void); }
620620+#endif /* SOCKETS */
621621+405 AUE_MSYNC ALL { int msync_nocancel(caddr_t addr, size_t len, int flags) NO_SYSCALL_STUB; }
622622+406 AUE_FCNTL ALL { int sys_fcntl_nocancel(int fd, int cmd, long arg) NO_SYSCALL_STUB; }
623623+407 AUE_SELECT ALL { int select_nocancel(int nd, u_int32_t *in, u_int32_t *ou, u_int32_t *ex, struct timeval *tv) NO_SYSCALL_STUB; }
624624+408 AUE_FSYNC ALL { int fsync_nocancel(int fd) NO_SYSCALL_STUB; }
625625+#if SOCKETS
626626+409 AUE_CONNECT ALL { int connect_nocancel(int s, caddr_t name, socklen_t namelen) NO_SYSCALL_STUB; }
627627+#else
628628+409 AUE_NULL ALL { int nosys(void); }
629629+#endif /* SOCKETS */
630630+410 AUE_NULL ALL { int sigsuspend_nocancel(sigset_t mask) NO_SYSCALL_STUB; }
631631+411 AUE_READV ALL { user_ssize_t readv_nocancel(int fd, struct iovec *iovp, u_int iovcnt) NO_SYSCALL_STUB; }
632632+412 AUE_WRITEV ALL { user_ssize_t writev_nocancel(int fd, struct iovec *iovp, u_int iovcnt) NO_SYSCALL_STUB; }
633633+#if SOCKETS
634634+413 AUE_SENDTO ALL { int sendto_nocancel(int s, caddr_t buf, size_t len, int flags, caddr_t to, socklen_t tolen) NO_SYSCALL_STUB; }
635635+#else
636636+413 AUE_NULL ALL { int nosys(void); }
637637+#endif /* SOCKETS */
638638+414 AUE_PREAD ALL { user_ssize_t pread_nocancel(int fd, user_addr_t buf, user_size_t nbyte, off_t offset) NO_SYSCALL_STUB; }
639639+415 AUE_PWRITE ALL { user_ssize_t pwrite_nocancel(int fd, user_addr_t buf, user_size_t nbyte, off_t offset) NO_SYSCALL_STUB; }
640640+416 AUE_WAITID ALL { int waitid_nocancel(idtype_t idtype, id_t id, siginfo_t *infop, int options) NO_SYSCALL_STUB; }
641641+417 AUE_POLL ALL { int poll_nocancel(struct pollfd *fds, u_int nfds, int timeout) NO_SYSCALL_STUB; }
642642+#if SYSV_MSG
643643+418 AUE_MSGSND ALL { int msgsnd_nocancel(int msqid, void *msgp, size_t msgsz, int msgflg) NO_SYSCALL_STUB; }
644644+419 AUE_MSGRCV ALL { user_ssize_t msgrcv_nocancel(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg) NO_SYSCALL_STUB; }
645645+#else
646646+418 AUE_NULL ALL { int nosys(void); }
647647+419 AUE_NULL ALL { int nosys(void); }
648648+#endif
649649+420 AUE_SEMWAIT ALL { int sem_wait_nocancel(sem_t *sem) NO_SYSCALL_STUB; }
650650+421 AUE_NULL ALL { int aio_suspend_nocancel(user_addr_t aiocblist, int nent, user_addr_t timeoutp) NO_SYSCALL_STUB; }
651651+422 AUE_SIGWAIT ALL { int __sigwait_nocancel(user_addr_t set, user_addr_t sig) NO_SYSCALL_STUB; }
652652+;#if OLD_SEMWAIT_SIGNAL
653653+;423 AUE_NULL ALL { int nosys(void); } { old __semwait_signal_nocancel }
654654+;#else
655655+423 AUE_SEMWAITSIGNAL ALL { int __semwait_signal_nocancel(int cond_sem, int mutex_sem, int timeout, int relative, int64_t tv_sec, int32_t tv_nsec); }
656656+;#endif
657657+424 AUE_MAC_MOUNT ALL { int __mac_mount(char *type, char *path, int flags, caddr_t data, struct mac *mac_p); }
658658+#if CONFIG_MACF
659659+425 AUE_MAC_GET_MOUNT ALL { int __mac_get_mount(char *path, struct mac *mac_p); }
660660+#else
661661+425 AUE_MAC_GET_MOUNT ALL { int nosys(void); }
662662+#endif
663663+426 AUE_MAC_GETFSSTAT ALL { int __mac_getfsstat(user_addr_t buf, int bufsize, user_addr_t mac, int macsize, int flags); }
664664+427 AUE_FSGETPATH ALL { user_ssize_t fsgetpath(user_addr_t buf, size_t bufsize, user_addr_t fsid, uint64_t objid); } { private fsgetpath (File Manager SPI) }
665665+428 AUE_NULL ALL { mach_port_name_t audit_session_self(void); }
666666+429 AUE_NULL ALL { int audit_session_join(mach_port_name_t port); }
667667+430 AUE_NULL ALL { int sys_fileport_makeport(int fd, user_addr_t portnamep); }
668668+431 AUE_NULL ALL { int sys_fileport_makefd(mach_port_name_t port); }
669669+432 AUE_NULL ALL { int audit_session_port(au_asid_t asid, user_addr_t portnamep); }
670670+433 AUE_NULL ALL { int pid_suspend(int pid); }
671671+434 AUE_NULL ALL { int pid_resume(int pid); }
672672+#if CONFIG_EMBEDDED
673673+435 AUE_NULL ALL { int pid_hibernate(int pid); }
674674+#else
675675+435 AUE_NULL ALL { int nosys(void); }
676676+#endif
677677+#if SOCKETS
678678+436 AUE_NULL ALL { int pid_shutdown_sockets(int pid, int level); }
679679+#else
680680+436 AUE_NULL ALL { int nosys(void); }
681681+#endif
682682+437 AUE_NULL ALL { int nosys(void); } { old shared_region_slide_np }
683683+438 AUE_NULL ALL { int shared_region_map_and_slide_np(int fd, uint32_t count, const struct shared_file_mapping_np *mappings, uint32_t slide, uint64_t* slide_start, uint32_t slide_size) NO_SYSCALL_STUB; }
684684+439 AUE_NULL ALL { int kas_info(int selector, void *value, size_t *size); }
685685+#if CONFIG_MEMORYSTATUS
686686+440 AUE_NULL ALL { int memorystatus_control(uint32_t command, int32_t pid, uint32_t flags, user_addr_t buffer, size_t buffersize); }
687687+#else
688688+440 AUE_NULL ALL { int nosys(void); }
689689+#endif
690690+441 AUE_OPEN_RWTC ALL { int guarded_open_np(user_addr_t path, const guardid_t *guard, u_int guardflags, int flags, int mode) NO_SYSCALL_STUB; }
691691+442 AUE_CLOSE ALL { int guarded_close_np(int fd, const guardid_t *guard); }
692692+443 AUE_KQUEUE ALL { int guarded_kqueue_np(const guardid_t *guard, u_int guardflags); }
693693+444 AUE_NULL ALL { int change_fdguard_np(int fd, const guardid_t *guard, u_int guardflags, const guardid_t *nguard, u_int nguardflags, int *fdflagsp); }
694694+445 AUE_USRCTL ALL { int usrctl(uint32_t flags); }
695695+446 AUE_NULL ALL { int proc_rlimit_control(pid_t pid, int flavor, void *arg); }
696696+#if SOCKETS
697697+447 AUE_CONNECT ALL { int connectx(int socket, const sa_endpoints_t *endpoints, sae_associd_t associd, unsigned int flags, const struct iovec *iov, unsigned int iovcnt, size_t *len, sae_connid_t *connid); }
698698+448 AUE_NULL ALL { int disconnectx(int s, sae_associd_t aid, sae_connid_t cid); }
699699+449 AUE_NULL ALL { int peeloff(int s, sae_associd_t aid); }
700700+450 AUE_SOCKET ALL { int socket_delegate(int domain, int type, int protocol, pid_t epid); }
701701+#else
702702+447 AUE_NULL ALL { int nosys(void); }
703703+448 AUE_NULL ALL { int nosys(void); }
704704+449 AUE_NULL ALL { int nosys(void); }
705705+450 AUE_NULL ALL { int nosys(void); }
706706+#endif /* SOCKETS */
707707+451 AUE_NULL ALL { int telemetry(uint64_t cmd, uint64_t deadline, uint64_t interval, uint64_t leeway, uint64_t arg4, uint64_t arg5) NO_SYSCALL_STUB; }
708708+#if CONFIG_PROC_UUID_POLICY
709709+452 AUE_NULL ALL { int proc_uuid_policy(uint32_t operation, uuid_t uuid, size_t uuidlen, uint32_t flags); }
710710+#else
711711+452 AUE_NULL ALL { int nosys(void); }
712712+#endif
713713+#if CONFIG_MEMORYSTATUS
714714+453 AUE_NULL ALL { int memorystatus_get_level(user_addr_t level); }
715715+#else
716716+453 AUE_NULL ALL { int nosys(void); }
717717+#endif
718718+454 AUE_NULL ALL { int system_override(uint64_t timeout, uint64_t flags); }
719719+455 AUE_NULL ALL { int vfs_purge(void); }
720720+456 AUE_NULL ALL { int sfi_ctl(uint32_t operation, uint32_t sfi_class, uint64_t time, uint64_t *out_time) NO_SYSCALL_STUB; }
721721+457 AUE_NULL ALL { int sfi_pidctl(uint32_t operation, pid_t pid, uint32_t sfi_flags, uint32_t *out_sfi_flags) NO_SYSCALL_STUB; }
722722+#if CONFIG_COALITIONS
723723+458 AUE_NULL ALL { int coalition(uint32_t operation, uint64_t *cid, uint32_t flags) NO_SYSCALL_STUB; }
724724+459 AUE_NULL ALL { int coalition_info(uint32_t flavor, uint64_t *cid, void *buffer, size_t *bufsize) NO_SYSCALL_STUB; }
725725+#else
726726+458 AUE_NULL ALL { int enosys(void); }
727727+459 AUE_NULL ALL { int enosys(void); }
728728+#endif /* COALITIONS */
729729+#if NECP
730730+460 AUE_NECP ALL { int necp_match_policy(uint8_t *parameters, size_t parameters_size, struct necp_aggregate_result *returned_result); }
731731+#else
732732+460 AUE_NULL ALL { int nosys(void); }
733733+#endif /* NECP */
734734+461 AUE_GETATTRLISTBULK ALL { int getattrlistbulk(int dirfd, struct attrlist *alist, void *attributeBuffer, size_t bufferSize, uint64_t options); }
735735+462 AUE_CLONEFILEAT ALL { int clonefileat(int src_dirfd, user_addr_t src, int dst_dirfd, user_addr_t dst, uint32_t flags); }
736736+463 AUE_OPENAT_RWTC ALL { int openat(int fd, user_addr_t path, int flags, int mode) NO_SYSCALL_STUB; }
737737+464 AUE_OPENAT_RWTC ALL { int openat_nocancel(int fd, user_addr_t path, int flags, int mode) NO_SYSCALL_STUB; }
738738+465 AUE_RENAMEAT ALL { int renameat(int fromfd, char *from, int tofd, char *to) NO_SYSCALL_STUB; }
739739+466 AUE_FACCESSAT ALL { int faccessat(int fd, user_addr_t path, int amode, int flag); }
740740+467 AUE_FCHMODAT ALL { int fchmodat(int fd, user_addr_t path, int mode, int flag); }
741741+468 AUE_FCHOWNAT ALL { int fchownat(int fd, user_addr_t path, uid_t uid,gid_t gid, int flag); }
742742+469 AUE_FSTATAT ALL { int fstatat(int fd, user_addr_t path, user_addr_t ub, int flag); }
743743+470 AUE_FSTATAT ALL { int fstatat64(int fd, user_addr_t path, user_addr_t ub, int flag); }
744744+471 AUE_LINKAT ALL { int linkat(int fd1, user_addr_t path, int fd2, user_addr_t link, int flag); }
745745+472 AUE_UNLINKAT ALL { int unlinkat(int fd, user_addr_t path, int flag) NO_SYSCALL_STUB; }
746746+473 AUE_READLINKAT ALL { int readlinkat(int fd, user_addr_t path, user_addr_t buf, size_t bufsize); }
747747+474 AUE_SYMLINKAT ALL { int symlinkat(user_addr_t *path1, int fd, user_addr_t path2); }
748748+475 AUE_MKDIRAT ALL { int mkdirat(int fd, user_addr_t path, int mode); }
749749+476 AUE_GETATTRLISTAT ALL { int getattrlistat(int fd, const char *path, struct attrlist *alist, void *attributeBuffer, size_t bufferSize, u_long options); }
750750+477 AUE_NULL ALL { int proc_trace_log(pid_t pid, uint64_t uniqueid); }
751751+478 AUE_NULL ALL { int bsdthread_ctl(user_addr_t cmd, user_addr_t arg1, user_addr_t arg2, user_addr_t arg3) NO_SYSCALL_STUB; }
752752+479 AUE_OPENBYID_RWT ALL { int openbyid_np(user_addr_t fsid, user_addr_t objid, int oflags); }
753753+#if SOCKETS
754754+480 AUE_NULL ALL { user_ssize_t recvmsg_x(int s, struct msghdr_x *msgp, u_int cnt, int flags); }
755755+481 AUE_NULL ALL { user_ssize_t sendmsg_x(int s, struct msghdr_x *msgp, u_int cnt, int flags); }
756756+#else
757757+480 AUE_NULL ALL { int nosys(void); }
758758+481 AUE_NULL ALL { int nosys(void); }
759759+#endif /* SOCKETS */
760760+482 AUE_NULL ALL { uint64_t thread_selfusage(void) NO_SYSCALL_STUB; }
761761+#if CONFIG_CSR
762762+483 AUE_NULL ALL { int csrctl(uint32_t op, user_addr_t useraddr, user_addr_t usersize) NO_SYSCALL_STUB; }
763763+#else
764764+483 AUE_NULL ALL { int enosys(void); }
765765+#endif /* CSR */
766766+484 AUE_NULL ALL { int guarded_open_dprotected_np(user_addr_t path, const guardid_t *guard, u_int guardflags, int flags, int dpclass, int dpflags, int mode) NO_SYSCALL_STUB; }
767767+485 AUE_NULL ALL { user_ssize_t guarded_write_np(int fd, const guardid_t *guard, user_addr_t cbuf, user_size_t nbyte); }
768768+486 AUE_PWRITE ALL { user_ssize_t guarded_pwrite_np(int fd, const guardid_t *guard, user_addr_t buf, user_size_t nbyte, off_t offset); }
769769+487 AUE_WRITEV ALL { user_ssize_t guarded_writev_np(int fd, const guardid_t *guard, struct iovec *iovp, int iovcnt); }
770770+488 AUE_RENAMEAT ALL { int renameatx_np(int fromfd, char *from, int tofd, char *to, u_int flags) NO_SYSCALL_STUB; }
771771+#if CONFIG_CODE_DECRYPTION
772772+489 AUE_MPROTECT ALL { int mremap_encrypted(caddr_t addr, size_t len, uint32_t cryptid, uint32_t cputype, uint32_t cpusubtype); }
773773+#else
774774+489 AUE_NULL ALL { int enosys(void); }
775775+#endif
776776+#if NETWORKING
777777+490 AUE_NETAGENT ALL { int netagent_trigger(uuid_t agent_uuid, size_t agent_uuidlen); }
778778+#else
779779+490 AUE_NULL ALL { int nosys(void); }
780780+#endif /* NETWORKING */
781781+491 AUE_STACKSNAPSHOT ALL { int stack_snapshot_with_config(int stackshot_config_version, user_addr_t stackshot_config, size_t stackshot_config_size) NO_SYSCALL_STUB; }
782782+#if CONFIG_TELEMETRY
783783+492 AUE_STACKSNAPSHOT ALL { int microstackshot(user_addr_t tracebuf, uint32_t tracebuf_size, uint32_t flags) NO_SYSCALL_STUB; }
784784+#else
785785+492 AUE_NULL ALL { int enosys(void); }
786786+#endif /* CONFIG_TELEMETRY */
787787+#if PGO
788788+493 AUE_NULL ALL { user_ssize_t grab_pgo_data (user_addr_t uuid, int flags, user_addr_t buffer, user_ssize_t size); }
789789+#else
790790+493 AUE_NULL ALL { int enosys(void); }
791791+#endif
792792+#if CONFIG_PERSONAS
793793+494 AUE_PERSONA ALL { int persona(uint32_t operation, uint32_t flags, struct kpersona_info *info, uid_t *id, size_t *idlen, char *path) NO_SYSCALL_STUB; }
794794+#else
795795+494 AUE_NULL ALL { int enosys(void); }
796796+#endif
797797+495 AUE_NULL ALL { int enosys(void); }
798798+496 AUE_NULL ALL { uint64_t mach_eventlink_signal(mach_port_name_t eventlink_port, uint64_t signal_count) NO_SYSCALL_STUB; }
799799+497 AUE_NULL ALL { uint64_t mach_eventlink_wait_until(mach_port_name_t eventlink_port, uint64_t wait_count, uint64_t deadline, uint32_t clock_id, uint32_t option) NO_SYSCALL_STUB; }
800800+498 AUE_NULL ALL { uint64_t mach_eventlink_signal_wait_until(mach_port_name_t eventlink_port, uint64_t wait_count, uint64_t signal_count, uint64_t deadline, uint32_t clock_id, uint32_t option) NO_SYSCALL_STUB; }
801801+499 AUE_NULL ALL { int work_interval_ctl(uint32_t operation, uint64_t work_interval_id, void *arg, size_t len) NO_SYSCALL_STUB; }
802802+500 AUE_NULL ALL { int getentropy(void *buffer, size_t size); }
803803+#if NECP
804804+501 AUE_NECP ALL { int necp_open(int flags); } }
805805+502 AUE_NECP ALL { int necp_client_action(int necp_fd, uint32_t action, uuid_t client_id, size_t client_id_len, uint8_t *buffer, size_t buffer_size); }
806806+#else
807807+501 AUE_NULL ALL { int enosys(void); }
808808+502 AUE_NULL ALL { int enosys(void); }
809809+#endif /* NECP */
810810+503 AUE_NULL ALL { int enosys(void); }
811811+504 AUE_NULL ALL { int enosys(void); }
812812+505 AUE_NULL ALL { int enosys(void); }
813813+506 AUE_NULL ALL { int enosys(void); }
814814+507 AUE_NULL ALL { int enosys(void); }
815815+508 AUE_NULL ALL { int enosys(void); }
816816+509 AUE_NULL ALL { int enosys(void); }
817817+510 AUE_NULL ALL { int enosys(void); }
818818+511 AUE_NULL ALL { int enosys(void); }
819819+512 AUE_NULL ALL { int enosys(void); }
820820+513 AUE_NULL ALL { int enosys(void); }
821821+514 AUE_NULL ALL { int enosys(void); }
822822+515 AUE_NULL ALL { int ulock_wait(uint32_t operation, void *addr, uint64_t value, uint32_t timeout) NO_SYSCALL_STUB; }
823823+516 AUE_NULL ALL { int ulock_wake(uint32_t operation, void *addr, uint64_t wake_value) NO_SYSCALL_STUB; }
824824+517 AUE_FCLONEFILEAT ALL { int fclonefileat(int src_fd, int dst_dirfd, user_addr_t dst, uint32_t flags); }
825825+518 AUE_NULL ALL { int fs_snapshot(uint32_t op, int dirfd, user_addr_t name1, user_addr_t name2, user_addr_t data, uint32_t flags) NO_SYSCALL_STUB; }
826826+519 AUE_NULL ALL { int enosys(void); }
827827+520 AUE_KILL ALL { int terminate_with_payload(int pid, uint32_t reason_namespace, uint64_t reason_code, void *payload, uint32_t payload_size, const char *reason_string, uint64_t reason_flags) NO_SYSCALL_STUB; }
828828+521 AUE_EXIT ALL { void abort_with_payload(uint32_t reason_namespace, uint64_t reason_code, void *payload, uint32_t payload_size, const char *reason_string, uint64_t reason_flags) NO_SYSCALL_STUB; }
829829+#if NECP
830830+522 AUE_NECP ALL { int necp_session_open(int flags); } }
831831+523 AUE_NECP ALL { int necp_session_action(int necp_fd, uint32_t action, uint8_t *in_buffer, size_t in_buffer_length, uint8_t *out_buffer, size_t out_buffer_length); }
832832+#else /* NECP */
833833+522 AUE_NULL ALL { int enosys(void); }
834834+523 AUE_NULL ALL { int enosys(void); }
835835+#endif /* NECP */
836836+524 AUE_SETATTRLISTAT ALL { int setattrlistat(int fd, const char *path, struct attrlist *alist, void *attributeBuffer, size_t bufferSize, uint32_t options); }
837837+525 AUE_NET ALL { int net_qos_guideline(struct net_qos_param *param, uint32_t param_len); }
838838+526 AUE_FMOUNT ALL { int fmount(const char *type, int fd, int flags, void *data); }
839839+527 AUE_NULL ALL { int ntp_adjtime(struct timex *tp); }
840840+528 AUE_NULL ALL { int ntp_gettime(struct ntptimeval *ntvp); }
841841+529 AUE_NULL ALL { int os_fault_with_payload(uint32_t reason_namespace, uint64_t reason_code, void *payload, uint32_t payload_size, const char *reason_string, uint64_t reason_flags); }
842842+#if CONFIG_WORKQUEUE
843843+530 AUE_WORKLOOPCTL ALL { int kqueue_workloop_ctl(user_addr_t cmd, uint64_t options, user_addr_t addr, size_t sz) NO_SYSCALL_STUB; }
844844+#else
845845+530 AUE_NULL ALL { int enosys(void); }
846846+#endif // CONFIG_WORKQUEUE
847847+531 AUE_NULL ALL { uint64_t __mach_bridge_remote_time(uint64_t local_timestamp); }
848848+#if CONFIG_COALITIONS
849849+532 AUE_NULL ALL { int coalition_ledger(uint32_t operation, uint64_t *cid, void *buffer, size_t *bufsize) NO_SYSCALL_STUB; }
850850+#else
851851+532 AUE_NULL ALL { int enosys(void); }
852852+#endif // CONFIG_COALITIONS
853853+533 AUE_NULL ALL { int log_data(unsigned int tag, unsigned int flags, void *buffer, unsigned int size) NO_SYSCALL_STUB; }
854854+534 AUE_NULL ALL { uint64_t memorystatus_available_memory(void) NO_SYSCALL_STUB; }
855855+535 AUE_NULL ALL { int enosys(void); }
856856+536 AUE_NULL ALL { int shared_region_map_and_slide_2_np(uint32_t files_count, const struct shared_file_np *files, uint32_t mappings_count, const struct shared_file_mapping_slide_np *mappings) NO_SYSCALL_STUB; }
857857+537 AUE_NULL ALL { int pivot_root(const char *new_rootfs_path_before, const char *old_rootfs_path_after); }
858858+538 AUE_TASKINSPECTFORPID ALL { int task_inspect_for_pid(mach_port_name_t target_tport, int pid, mach_port_name_t *t); }
859859+539 AUE_TASKREADFORPID ALL { int task_read_for_pid(mach_port_name_t target_tport, int pid, mach_port_name_t *t); }
860860+540 AUE_PREADV ALL { user_ssize_t sys_preadv(int fd, struct iovec *iovp, int iovcnt, off_t offset); }
861861+541 AUE_PWRITEV ALL { user_ssize_t sys_pwritev(int fd, struct iovec *iovp, int iovcnt, off_t offset); }
862862+542 AUE_PREADV ALL { user_ssize_t sys_preadv_nocancel(int fd, struct iovec *iovp, int iovcnt, off_t offset) NO_SYSCALL_STUB; }
863863+543 AUE_PWRITEV ALL { user_ssize_t sys_pwritev_nocancel(int fd, struct iovec *iovp, int iovcnt, off_t offset) NO_SYSCALL_STUB; }
864864+544 AUE_NULL ALL { int ulock_wait2(uint32_t operation, void *addr, uint64_t value, uint64_t timeout, uint64_t value2) NO_SYSCALL_STUB; }
865865+545 AUE_PROCINFO ALL { int proc_info_extended_id(int32_t callnum, int32_t pid, uint32_t flavor, uint32_t flags, uint64_t ext_id, uint64_t arg, user_addr_t buffer, int32_t buffersize) NO_SYSCALL_STUB; }