xref: /xnu-8020.121.3/bsd/kern/syscalls.master (revision fdd8201d7b966f0c3ea610489d29bd841d358941)
1;/*
2;	derived from: FreeBSD @(#)syscalls.master	8.2 (Berkeley) 1/13/94
3;
4; System call name/number master file.
5; This is file processed by .../xnu/bsd/kern/makesyscalls.sh and creates:
6;	.../xnu/bsd/kern/init_sysent.c
7;	.../xnu/bsd/kern/syscalls.c
8;	.../xnu/bsd/sys/syscall.h
9;	.../xnu/bsd/sys/sysproto.h
10;	.../xnu/bsd/security/audit_syscalls.c
11
12; Columns -> | Number Audit Files | { Name and Args } | { Comments }
13;	Number:  	system call number, must be in order
14;	Audit:		the audit event associated with the system call
15;			A value of AUE_NULL means no auditing, but it also means that
16;			there is no audit event for the call at this time. For the
17;			case where the event exists, but we don't want auditing, the
18;			event should be #defined to AUE_NULL in audit_kevents.h.
19;	Files:		with files to generate - "ALL" or any combo of:
20;					"T" for syscall table (in init_sysent.c)
21;					"N" for syscall names (in syscalls.c)
22;					"H" for syscall headers (in syscall.h)
23;					"P" for syscall prototypes (in sysproto.h)
24;	Name and Args:	function prototype, optionally followed by
25;			NO_SYSCALL_STUB (which mean no system call stub will
26;			be generated in libSystem) and ending with a semicolon.
27;			(Note: functions prefixed by double-underbar are
28;			automatically given the NO_SYSCALL_STUB attribute.)
29;	Comments:  	additional comments about the sys call copied to output files
30
31; #ifdef's, #include's, #if's etc. are copied to all output files.
32; N.B.: makesyscalls.sh and createsyscalls.pl must be updated to account
33; for any new argument types.
34;*/
35
36#include <sys/appleapiopts.h>
37#include <sys/param.h>
38#include <sys/systm.h>
39#include <sys/types.h>
40#include <sys/sysent.h>
41#include <sys/sysproto.h>
42#include <nfs/nfs_conf.h>
43
440	AUE_NULL	ALL	{ int nosys(void); }   { indirect syscall }
451	AUE_EXIT	ALL	{ void exit(int rval) NO_SYSCALL_STUB; }
462	AUE_FORK	ALL	{ int fork(void) NO_SYSCALL_STUB; }
473	AUE_NULL	ALL	{ user_ssize_t read(int fd, user_addr_t cbuf, user_size_t nbyte); }
484	AUE_NULL	ALL	{ user_ssize_t write(int fd, user_addr_t cbuf, user_size_t nbyte); }
495	AUE_OPEN_RWTC	ALL	{ int open(user_addr_t path, int flags, int mode) NO_SYSCALL_STUB; }
506	AUE_CLOSE	ALL	{ int sys_close(int fd); }
517	AUE_WAIT4	ALL	{ int wait4(int pid, user_addr_t status, int options, user_addr_t rusage) NO_SYSCALL_STUB; }
528	AUE_NULL	ALL	{ int enosys(void); }   { old creat }
539	AUE_LINK	ALL	{ int link(user_addr_t path, user_addr_t link); }
5410	AUE_UNLINK	ALL	{ int unlink(user_addr_t path) NO_SYSCALL_STUB; }
5511	AUE_NULL	ALL	{ int enosys(void); }   { old execv }
5612	AUE_CHDIR	ALL	{ int chdir(user_addr_t path); }
5713	AUE_FCHDIR	ALL	{ int fchdir(int fd); }
5814	AUE_MKNOD	ALL	{ int mknod(user_addr_t path, int mode, int dev); }
5915	AUE_CHMOD	ALL	{ int chmod(user_addr_t path, int mode) NO_SYSCALL_STUB; }
6016	AUE_CHOWN	ALL	{ int chown(user_addr_t path, int uid, int gid); }
6117	AUE_NULL	ALL	{ int enosys(void); }   { old break }
6218	AUE_GETFSSTAT	ALL	{ int getfsstat(user_addr_t buf, int bufsize, int flags); }
6319	AUE_NULL	ALL	{ int enosys(void); }   { old lseek }
6420	AUE_GETPID	ALL	{ int getpid(void); }
6521	AUE_NULL	ALL	{ int enosys(void); }   { old mount }
6622	AUE_NULL	ALL	{ int enosys(void); }   { old umount }
6723	AUE_SETUID	ALL	{ int setuid(uid_t uid); }
6824	AUE_GETUID	ALL	{ int getuid(void); }
6925	AUE_GETEUID	ALL	{ int geteuid(void); }
7026	AUE_PTRACE	ALL	{ int ptrace(int req, pid_t pid, caddr_t addr, int data); }
71#if SOCKETS
7227	AUE_RECVMSG	ALL	{ int recvmsg(int s, struct msghdr *msg, int flags) NO_SYSCALL_STUB; }
7328	AUE_SENDMSG	ALL	{ int sendmsg(int s, caddr_t msg, int flags) NO_SYSCALL_STUB; }
7429	AUE_RECVFROM	ALL	{ int recvfrom(int s, void *buf, size_t len, int flags, struct sockaddr *from, int *fromlenaddr) NO_SYSCALL_STUB; }
7530	AUE_ACCEPT	ALL	{ int accept(int s, caddr_t name, socklen_t	*anamelen) NO_SYSCALL_STUB; }
7631	AUE_GETPEERNAME	ALL	{ int getpeername(int fdes, caddr_t asa, socklen_t *alen) NO_SYSCALL_STUB; }
7732	AUE_GETSOCKNAME	ALL	{ int getsockname(int fdes, caddr_t asa, socklen_t *alen) NO_SYSCALL_STUB; }
78#else
7927	AUE_NULL	ALL	{ int nosys(void); }
8028	AUE_NULL	ALL	{ int nosys(void); }
8129	AUE_NULL	ALL	{ int nosys(void); }
8230	AUE_NULL	ALL	{ int nosys(void); }
8331	AUE_NULL	ALL	{ int nosys(void); }
8432	AUE_NULL	ALL	{ int nosys(void); }
85#endif /* SOCKETS */
8633	AUE_ACCESS	ALL	{ int access(user_addr_t path, int flags); }
8734	AUE_CHFLAGS	ALL	{ int chflags(char *path, int flags); }
8835	AUE_FCHFLAGS	ALL	{ int fchflags(int fd, int flags); }
8936	AUE_SYNC	ALL	{ int sync(void); }
9037	AUE_KILL	ALL	{ int kill(int pid, int signum, int posix) NO_SYSCALL_STUB; }
9138	AUE_NULL	ALL	{ int nosys(void); }   { old stat  }
9239	AUE_GETPPID	ALL	{ int getppid(void); }
9340	AUE_NULL	ALL	{ int nosys(void); }   { old lstat }
9441	AUE_DUP		ALL	{ int sys_dup(u_int fd); }
9542	AUE_PIPE	ALL	{ int pipe(void); }
9643	AUE_GETEGID	ALL	{ int getegid(void); }
9744	AUE_NULL	ALL	{ int nosys(void); } { old profil }
9845	AUE_NULL	ALL	{ int nosys(void); } { old ktrace }
9946	AUE_SIGACTION	ALL	{ int sigaction(int signum, struct __sigaction *nsa, struct sigaction *osa) NO_SYSCALL_STUB; }
10047	AUE_GETGID	ALL	{ int getgid(void); }
10148	AUE_SIGPROCMASK	ALL	{ int sigprocmask(int how, user_addr_t mask, user_addr_t omask); }
10249	AUE_GETLOGIN	ALL	{ int getlogin(char *namebuf, u_int namelen) NO_SYSCALL_STUB; }
10350	AUE_SETLOGIN	ALL	{ int setlogin(char *namebuf) NO_SYSCALL_STUB; }
10451	AUE_ACCT	ALL	{ int acct(char *path); }
10552	AUE_SIGPENDING	ALL	{ int sigpending(struct sigvec *osv); }
10653	AUE_SIGALTSTACK	ALL	{ int sigaltstack(struct sigaltstack *nss, struct sigaltstack *oss) NO_SYSCALL_STUB ; }
10754	AUE_IOCTL	ALL	{ int ioctl(int fd, u_long com, caddr_t data) NO_SYSCALL_STUB; }
10855	AUE_REBOOT	ALL	{ int reboot(int opt, char *msg) NO_SYSCALL_STUB; }
10956	AUE_REVOKE	ALL	{ int revoke(char *path); }
11057	AUE_SYMLINK	ALL	{ int symlink(char *path, char *link); }
11158	AUE_READLINK	ALL	{ int readlink(char *path, char *buf, int count); }
11259	AUE_EXECVE	ALL	{ int execve(char *fname, char **argp, char **envp) NO_SYSCALL_STUB; }
11360	AUE_UMASK	ALL	{ int umask(int newmask); }
11461	AUE_CHROOT	ALL	{ int chroot(user_addr_t path); }
11562	AUE_NULL	ALL	{ int nosys(void); }   { old fstat }
11663	AUE_NULL	ALL	{ int nosys(void); }   { used internally and reserved }
11764	AUE_NULL	ALL	{ int nosys(void); }   { old getpagesize }
11865	AUE_MSYNC	ALL	{ int msync(caddr_t addr, size_t len, int flags) NO_SYSCALL_STUB; }
119#if CONFIG_VFORK
12066	AUE_VFORK	ALL	{ int vfork(void) NO_SYSCALL_STUB; }
121#else
12266	AUE_NULL	ALL	{ int nosys(void); }   { old vfork }
123#endif
12467	AUE_NULL	ALL	{ int nosys(void); }   { old vread }
12568	AUE_NULL	ALL	{ int nosys(void); }   { old vwrite }
12669	AUE_NULL	ALL	{ int nosys(void); }   { old sbrk }
12770	AUE_NULL	ALL	{ int nosys(void); }   { old sstk }
12871	AUE_NULL	ALL	{ int nosys(void); }   { old mmap }
12972	AUE_NULL	ALL	{ int nosys(void); }   { old vadvise }
13073	AUE_MUNMAP	ALL	{ int munmap(caddr_t addr, size_t len) NO_SYSCALL_STUB; }
13174	AUE_MPROTECT	ALL	{ int mprotect(caddr_t addr, size_t len, int prot) NO_SYSCALL_STUB; }
13275	AUE_MADVISE	ALL	{ int madvise(caddr_t addr, size_t len, int behav); }
13376	AUE_NULL	ALL	{ int nosys(void); }   { old vhangup }
13477	AUE_NULL	ALL	{ int nosys(void); }   { old vlimit }
13578	AUE_MINCORE	ALL	{ int mincore(user_addr_t addr, user_size_t len, user_addr_t vec); }
13679	AUE_GETGROUPS	ALL	{ int getgroups(u_int gidsetsize, gid_t *gidset); }
13780	AUE_SETGROUPS	ALL	{ int setgroups(u_int gidsetsize, gid_t *gidset); }
13881	AUE_GETPGRP	ALL	{ int getpgrp(void); }
13982	AUE_SETPGRP	ALL	{ int setpgid(int pid, int pgid); }
14083	AUE_SETITIMER	ALL	{ int setitimer(u_int which, struct itimerval *itv, struct itimerval *oitv); }
14184	AUE_NULL	ALL	{ int nosys(void); }   { old wait }
14285	AUE_SWAPON 	ALL	{ int swapon(void); }
14386	AUE_GETITIMER	ALL	{ int getitimer(u_int which, struct itimerval *itv); }
14487	AUE_NULL	ALL	{ int nosys(void); }   { old gethostname }
14588	AUE_NULL	ALL	{ int nosys(void); }   { old sethostname }
14689	AUE_GETDTABLESIZE	ALL	{ int sys_getdtablesize(void); }
14790	AUE_DUP2	ALL	{ int sys_dup2(u_int from, u_int to); }
14891	AUE_NULL	ALL	{ int nosys(void); }   { old getdopt }
14992	AUE_FCNTL	ALL	{ int sys_fcntl(int fd, int cmd, long arg) NO_SYSCALL_STUB; }
15093	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; }
15194	AUE_NULL	ALL	{ int nosys(void); }   { old setdopt }
15295	AUE_FSYNC	ALL	{ int fsync(int fd); }
15396	AUE_SETPRIORITY	ALL	{ int setpriority(int which, id_t who, int prio) NO_SYSCALL_STUB; }
154#if SOCKETS
15597	AUE_SOCKET	ALL	{ int socket(int domain, int type, int protocol); }
15698	AUE_CONNECT	ALL	{ int connect(int s, caddr_t name, socklen_t namelen) NO_SYSCALL_STUB; }
157#else
15897	AUE_NULL	ALL	{ int nosys(void); }
15998	AUE_NULL	ALL	{ int nosys(void); }
160#endif /* SOCKETS */
16199	AUE_NULL	ALL	{ int nosys(void); }   { old accept }
162100	AUE_GETPRIORITY	ALL	{ int getpriority(int which, id_t who); }
163101	AUE_NULL	ALL	{ int nosys(void); }   { old send }
164102	AUE_NULL	ALL	{ int nosys(void); }   { old recv }
165103	AUE_NULL	ALL	{ int nosys(void); }   { old sigreturn }
166#if SOCKETS
167104	AUE_BIND	ALL	{ int bind(int s, caddr_t name, socklen_t namelen) NO_SYSCALL_STUB; }
168105	AUE_SETSOCKOPT	ALL	{ int setsockopt(int s, int level, int name, caddr_t val, socklen_t valsize); }
169106	AUE_LISTEN	ALL	{ int listen(int s, int backlog) NO_SYSCALL_STUB; }
170#else
171104	AUE_NULL	ALL	{ int nosys(void); }
172105	AUE_NULL	ALL	{ int nosys(void); }
173106	AUE_NULL	ALL	{ int nosys(void); }
174#endif /* SOCKETS */
175107	AUE_NULL	ALL	{ int nosys(void); }   { old vtimes }
176108	AUE_NULL	ALL	{ int nosys(void); }   { old sigvec }
177109	AUE_NULL	ALL	{ int nosys(void); }   { old sigblock }
178110	AUE_NULL	ALL	{ int nosys(void); }   { old sigsetmask }
179111	AUE_NULL	ALL	{ int sigsuspend(sigset_t mask) NO_SYSCALL_STUB; }
180112	AUE_NULL	ALL	{ int nosys(void); }   { old sigstack }
181#if SOCKETS
182113	AUE_NULL	ALL	{ int nosys(void); }   { old recvmsg }
183114	AUE_NULL	ALL	{ int nosys(void); }   { old sendmsg }
184#else
185113	AUE_NULL	ALL	{ int nosys(void); }
186114	AUE_NULL	ALL	{ int nosys(void); }
187#endif /* SOCKETS */
188115	AUE_NULL	ALL	{ int nosys(void); }   { old vtrace }
189116	AUE_GETTIMEOFDAY	ALL	{ int gettimeofday(struct timeval *tp, struct timezone *tzp, uint64_t *mach_absolute_time) NO_SYSCALL_STUB; }
190117	AUE_GETRUSAGE	ALL	{ int getrusage(int who, struct rusage *rusage); }
191#if SOCKETS
192118	AUE_GETSOCKOPT	ALL	{ int getsockopt(int s, int level, int name, caddr_t val, socklen_t *avalsize); }
193#else
194118	AUE_NULL	ALL	{ int nosys(void); }
195#endif /* SOCKETS */
196119	AUE_NULL	ALL	{ int nosys(void); }   { old resuba }
197120	AUE_READV	ALL	{ user_ssize_t readv(int fd, struct iovec *iovp, u_int iovcnt); }
198121	AUE_WRITEV	ALL	{ user_ssize_t writev(int fd, struct iovec *iovp, u_int iovcnt); }
199122	AUE_SETTIMEOFDAY	ALL	{ int settimeofday(struct timeval *tv, struct timezone *tzp) NO_SYSCALL_STUB; }
200123	AUE_FCHOWN	ALL	{ int fchown(int fd, int uid, int gid); }
201124	AUE_FCHMOD	ALL	{ int fchmod(int fd, int mode) NO_SYSCALL_STUB; }
202125	AUE_NULL	ALL	{ int nosys(void); }   { old recvfrom }
203126	AUE_SETREUID	ALL	{ int setreuid(uid_t ruid, uid_t euid) NO_SYSCALL_STUB; }
204127	AUE_SETREGID	ALL	{ int setregid(gid_t rgid, gid_t egid) NO_SYSCALL_STUB; }
205128	AUE_RENAME	ALL	{ int rename(char *from, char *to) NO_SYSCALL_STUB; }
206129	AUE_NULL	ALL	{ int nosys(void); }   { old truncate }
207130	AUE_NULL	ALL	{ int nosys(void); }   { old ftruncate }
208131	AUE_FLOCK	ALL	{ int sys_flock(int fd, int how); }
209132	AUE_MKFIFO	ALL	{ int mkfifo(user_addr_t path, int mode); }
210#if SOCKETS
211133	AUE_SENDTO	ALL	{ int sendto(int s, caddr_t buf, size_t len, int flags, caddr_t to, socklen_t tolen) NO_SYSCALL_STUB; }
212134	AUE_SHUTDOWN	ALL	{ int shutdown(int s, int how); }
213135	AUE_SOCKETPAIR	ALL	{ int socketpair(int domain, int type, int protocol, int *rsv) NO_SYSCALL_STUB; }
214#else
215133	AUE_NULL	ALL	{ int nosys(void); }
216134	AUE_NULL	ALL	{ int nosys(void); }
217135	AUE_NULL	ALL	{ int nosys(void); }
218#endif /* SOCKETS */
219136	AUE_MKDIR	ALL	{ int mkdir(user_addr_t path, int mode); }
220137	AUE_RMDIR	ALL	{ int rmdir(char *path) NO_SYSCALL_STUB; }
221138	AUE_UTIMES	ALL	{ int utimes(char *path, struct timeval *tptr); }
222139	AUE_FUTIMES	ALL	{ int futimes(int fd, struct timeval *tptr); }
223140	AUE_ADJTIME	ALL	{ int adjtime(struct timeval *delta, struct timeval *olddelta); }
224141	AUE_NULL	ALL	{ int nosys(void); }   { old getpeername }
225142	AUE_SYSCTL	ALL	{ int gethostuuid(unsigned char *uuid_buf, const struct timespec *timeoutp) NO_SYSCALL_STUB; }
226143	AUE_NULL	ALL	{ int nosys(void); }   { old sethostid 	}
227144	AUE_NULL	ALL	{ int nosys(void); }   { old getrlimit }
228145	AUE_NULL	ALL	{ int nosys(void); }   { old setrlimit }
229146	AUE_NULL	ALL	{ int nosys(void); }   { old killpg }
230147	AUE_SETSID	ALL	{ int setsid(void); }
231148	AUE_NULL	ALL	{ int nosys(void); }   { old setquota }
232149	AUE_NULL	ALL	{ int nosys(void); }   { old qquota }
233150	AUE_NULL	ALL	{ int nosys(void); }   { old getsockname }
234151	AUE_GETPGID	ALL	{ int getpgid(pid_t pid); }
235152	AUE_SETPRIVEXEC	ALL	{ int setprivexec(int flag); }
236153	AUE_PREAD	ALL	{ user_ssize_t pread(int fd, user_addr_t buf, user_size_t nbyte, off_t offset); }
237154	AUE_PWRITE	ALL	{ user_ssize_t pwrite(int fd, user_addr_t buf, user_size_t nbyte, off_t offset); }
238
239#if NFSSERVER	/* XXX */
240155	AUE_NFS_SVC	ALL	{ int nfssvc(int flag, caddr_t argp); }
241#else
242155	AUE_NULL	ALL	{ int nosys(void); }
243#endif
244
245156	AUE_NULL	ALL	{ int nosys(void); }   { old getdirentries }
246157	AUE_STATFS	ALL	{ int statfs(char *path, struct statfs *buf); }
247158	AUE_FSTATFS	ALL	{ int fstatfs(int fd, struct statfs *buf); }
248159	AUE_UNMOUNT	ALL	{ int unmount(user_addr_t path, int flags); }
249160	AUE_NULL	ALL	{ int nosys(void); }   { old async_daemon }
250
251#if NFSSERVER	/* XXX */
252161	AUE_NFS_GETFH	ALL	{ int getfh(char *fname, fhandle_t *fhp); }
253#else
254161	AUE_NULL	ALL	{ int nosys(void); }
255#endif
256
257162	AUE_NULL	ALL	{ int nosys(void); }   { old getdomainname }
258163	AUE_NULL	ALL	{ int nosys(void); }   { old setdomainname }
259164	AUE_NULL	ALL	{ int nosys(void); }
260165	AUE_QUOTACTL	ALL	{ int quotactl(const char *path, int cmd, int uid, caddr_t arg); }
261166	AUE_NULL	ALL	{ int nosys(void); }   { old exportfs }
262167	AUE_MOUNT	ALL	{ int mount(char *type, char *path, int flags, caddr_t data); }
263168	AUE_NULL	ALL	{ int nosys(void); }   { old ustat }
264169	AUE_CSOPS	ALL	{ int csops(pid_t pid, uint32_t ops, user_addr_t useraddr, user_size_t usersize); }
265170	AUE_CSOPS	ALL	{ int csops_audittoken(pid_t pid, uint32_t ops, user_addr_t useraddr, user_size_t usersize, user_addr_t uaudittoken); }
266171	AUE_NULL	ALL	{ int nosys(void); }   { old wait3 }
267172	AUE_NULL	ALL	{ int nosys(void); }   { old rpause	}
268173	AUE_WAITID	ALL	{ int waitid(idtype_t idtype, id_t id, siginfo_t *infop, int options); }
269174	AUE_NULL	ALL	{ int nosys(void); }   { old getdents }
270175	AUE_NULL	ALL	{ int nosys(void); }   { old gc_control }
271176	AUE_NULL	ALL	{ int nosys(void); }   { old add_profil }
272177	AUE_NULL	ALL	{ int kdebug_typefilter(void** addr, size_t* size) NO_SYSCALL_STUB; }
273178	AUE_NULL	ALL 	{ uint64_t kdebug_trace_string(uint32_t debugid, uint64_t str_id, const char *str) NO_SYSCALL_STUB; }
274179	AUE_NULL	ALL 	{ int kdebug_trace64(uint32_t code, uint64_t arg1, uint64_t arg2, uint64_t arg3, uint64_t arg4) NO_SYSCALL_STUB; }
275180	AUE_NULL	ALL 	{ int kdebug_trace(uint32_t code, u_long arg1, u_long arg2, u_long arg3, u_long arg4) NO_SYSCALL_STUB; }
276181	AUE_SETGID	ALL	{ int setgid(gid_t gid); }
277182	AUE_SETEGID	ALL	{ int setegid(gid_t egid); }
278183	AUE_SETEUID	ALL	{ int seteuid(uid_t euid); }
279184	AUE_SIGRETURN	ALL	{ int sigreturn(struct ucontext *uctx, int infostyle, user_addr_t token) NO_SYSCALL_STUB; }
280185	AUE_NULL	ALL 	{ int enosys(void); } { old chud }
281186	AUE_NULL	ALL	{ int thread_selfcounts(uint32_t kind, user_addr_t buf, user_size_t nbytes); }
282187	AUE_FDATASYNC	ALL	{ int fdatasync(int fd); }
283188	AUE_STAT	ALL	{ int stat(user_addr_t path, user_addr_t ub); }
284189	AUE_FSTAT	ALL	{ int sys_fstat(int fd, user_addr_t ub); }
285190	AUE_LSTAT	ALL	{ int lstat(user_addr_t path, user_addr_t ub); }
286191	AUE_PATHCONF	ALL	{ int pathconf(char *path, int name); }
287192	AUE_FPATHCONF	ALL	{ int sys_fpathconf(int fd, int name); }
288193	AUE_NULL	ALL	{ int nosys(void); }	{ old getfsstat }
289194	AUE_GETRLIMIT	ALL	{ int getrlimit(u_int which, struct rlimit *rlp) NO_SYSCALL_STUB; }
290195	AUE_SETRLIMIT	ALL	{ int setrlimit(u_int which, struct rlimit *rlp) NO_SYSCALL_STUB; }
291196	AUE_GETDIRENTRIES	ALL	{ int getdirentries(int fd, char *buf, u_int count, long *basep); }
292197	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; }
293198	AUE_NULL	ALL	{ int nosys(void); } 	{ old __syscall }
294199	AUE_LSEEK	ALL	{ off_t lseek(int fd, off_t offset, int whence); }
295200	AUE_TRUNCATE	ALL	{ int truncate(char *path, off_t length); }
296201	AUE_FTRUNCATE	ALL	{ int ftruncate(int fd, off_t length); }
297202	AUE_SYSCTL	ALL 	{ int sysctl(int *name, u_int namelen, void *old, size_t *oldlenp, void *new, size_t newlen) NO_SYSCALL_STUB; }
298203	AUE_MLOCK	ALL	{ int mlock(caddr_t addr, size_t len); }
299204	AUE_MUNLOCK	ALL	{ int munlock(caddr_t addr, size_t len); }
300205	AUE_UNDELETE	ALL	{ int undelete(user_addr_t path); }
301
302206	AUE_NULL	ALL	{ int nosys(void); } { old ATsocket }
303207	AUE_NULL	ALL	{ int nosys(void); } { old ATgetmsg }
304208	AUE_NULL	ALL	{ int nosys(void); } { old ATputmsg }
305209	AUE_NULL	ALL	{ int nosys(void); } { old ATsndreq }
306210	AUE_NULL	ALL	{ int nosys(void); } { old ATsndrsp }
307211	AUE_NULL	ALL	{ int nosys(void); } { old ATgetreq }
308212	AUE_NULL	ALL	{ int nosys(void); } { old ATgetrsp }
309213	AUE_NULL	ALL	{ int nosys(void); } 	{ Reserved for AppleTalk }
310
311214	AUE_NULL	ALL	{ int nosys(void); }
312215	AUE_NULL	ALL	{ int nosys(void); }
313
314; System Calls 216 - 230 are reserved for calls to support HFS/HFS Plus
315; file system semantics. Currently, we only use 215-227.  The rest is
316; for future expansion in anticipation of new MacOS APIs for HFS Plus.
317; These calls are not conditionalized because while they are specific
318; to HFS semantics, they are not specific to the HFS filesystem.
319; We expect all filesystems to recognize the call and report that it is
320; not supported or to actually implement it.
321
322; 216-> 219 used to be mkcomplex and {f,l}statv variants. They are gone now.
323216	AUE_NULL	ALL	{ int open_dprotected_np(user_addr_t path, int flags, int class, int dpflags, int mode) NO_SYSCALL_STUB; }
324217	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); }
325218	AUE_NULL	ALL	{ int nosys(void); }	{ old lstatv }
326219	AUE_NULL	ALL	{ int nosys(void); }	{ old fstatv }
327220	AUE_GETATTRLIST	ALL	{ int getattrlist(const char *path, struct attrlist *alist, void *attributeBuffer, size_t bufferSize, u_long options) NO_SYSCALL_STUB; }
328221	AUE_SETATTRLIST	ALL	{ int setattrlist(const char *path, struct attrlist *alist, void *attributeBuffer, size_t bufferSize, u_long options) NO_SYSCALL_STUB; }
329222	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); }
330223	AUE_EXCHANGEDATA	ALL	{ int exchangedata(const char *path1, const char *path2, u_long options); }
331224	AUE_NULL		ALL { int nosys(void); } { old checkuseraccess or fsgetpath }
332225	AUE_SEARCHFS	ALL	{ int searchfs(const char *path, struct fssearchblock *searchblock, uint32_t *nummatches, uint32_t scriptcode, uint32_t options, struct searchstate *state); }
333226	AUE_DELETE	ALL	{ int delete(user_addr_t path) NO_SYSCALL_STUB; }       { private delete (Carbon semantics) }
334227	AUE_COPYFILE	ALL	{ int copyfile(char *from, char *to, int mode, int flags) NO_SYSCALL_STUB; }
335228	AUE_FGETATTRLIST	ALL	{ int fgetattrlist(int fd, struct attrlist *alist, void *attributeBuffer, size_t bufferSize, u_long options); }
336229	AUE_FSETATTRLIST	ALL	{ int fsetattrlist(int fd, struct attrlist *alist, void *attributeBuffer, size_t bufferSize, u_long options); }
337230	AUE_POLL	ALL	{ int poll(struct pollfd *fds, u_int nfds, int timeout); }
338231	AUE_NULL	ALL	{ int nosys(void); } { old watchevent }
339232	AUE_NULL	ALL	{ int nosys(void); } { old waitevent }
340233	AUE_NULL	ALL	{ int nosys(void); } { old modwatch }
341234	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); }
342235	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); }
343236	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); }
344237	AUE_FSETXATTR	ALL	{ int fsetxattr(int fd, user_addr_t attrname, user_addr_t value, size_t size, uint32_t position, int options); }
345238	AUE_REMOVEXATTR	ALL	{ int removexattr(user_addr_t path, user_addr_t attrname, int options); }
346239	AUE_FREMOVEXATTR	ALL	{ int fremovexattr(int fd, user_addr_t attrname, int options); }
347240	AUE_LISTXATTR	ALL	{ user_ssize_t listxattr(user_addr_t path, user_addr_t namebuf, size_t bufsize, int options); }
348241	AUE_FLISTXATTR	ALL	{ user_ssize_t flistxattr(int fd, user_addr_t namebuf, size_t bufsize, int options); }
349242	AUE_FSCTL	ALL	{ int fsctl(const char *path, u_long cmd, caddr_t data, u_int options); }
350243	AUE_INITGROUPS	ALL	{ int initgroups(u_int gidsetsize, gid_t *gidset, int gmuid) NO_SYSCALL_STUB; }
351244	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; }
352245	AUE_FFSCTL	ALL	{ int ffsctl(int fd, u_long cmd, caddr_t data, u_int options); }
353246	AUE_NULL	ALL	{ int nosys(void); }
354
355#if NFSCLIENT	/* XXX */
356247	AUE_NULL	ALL	{ int nfsclnt(int flag, caddr_t argp); }
357#else
358247	AUE_NULL	ALL	{ int nosys(void); }
359#endif
360#if NFSSERVER	/* XXX */
361248	AUE_FHOPEN	ALL	{ int fhopen(const struct fhandle *u_fhp, int flags); }
362#else
363248	AUE_NULL	ALL	{ int nosys(void); }
364#endif
365
366249	AUE_NULL	ALL	{ int nosys(void); }
367250	AUE_MINHERIT	ALL	{ int minherit(void *addr, size_t len, int inherit); }
368#if SYSV_SEM
369251	AUE_SEMSYS	ALL	{ int semsys(u_int which, int a2, int a3, int a4, int a5) NO_SYSCALL_STUB; }
370#else
371251	AUE_NULL	ALL	{ int nosys(void); }
372#endif
373#if SYSV_MSG
374252	AUE_MSGSYS	ALL	{ int msgsys(u_int which, int a2, int a3, int a4, int a5) NO_SYSCALL_STUB; }
375#else
376252	AUE_NULL	ALL	{ int nosys(void); }
377#endif
378#if SYSV_SHM
379253	AUE_SHMSYS	ALL	{ int shmsys(u_int which, int a2, int a3, int a4) NO_SYSCALL_STUB; }
380#else
381253	AUE_NULL	ALL	{ int nosys(void); }
382#endif
383#if SYSV_SEM
384254	AUE_SEMCTL	ALL	{ int semctl(int semid, int semnum, int cmd, semun_t arg) NO_SYSCALL_STUB; }
385255	AUE_SEMGET	ALL	{ int semget(key_t key, int	nsems, int semflg); }
386256	AUE_SEMOP	ALL	{ int semop(int semid, struct sembuf *sops, int nsops); }
387257	AUE_NULL	ALL	{ int nosys(void); }	{ old semconfig }
388#else
389254	AUE_NULL	ALL	{ int nosys(void); }
390255	AUE_NULL	ALL	{ int nosys(void); }
391256	AUE_NULL	ALL	{ int nosys(void); }
392257	AUE_NULL	ALL	{ int nosys(void); }
393#endif
394#if SYSV_MSG
395258	AUE_MSGCTL	ALL	{ int msgctl(int msqid, int cmd, struct	msqid_ds *buf) NO_SYSCALL_STUB; }
396259	AUE_MSGGET	ALL	{ int msgget(key_t key, int msgflg); }
397260	AUE_MSGSND	ALL	{ int msgsnd(int msqid, void *msgp, size_t msgsz, int msgflg); }
398261	AUE_MSGRCV	ALL	{ user_ssize_t msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); }
399#else
400258	AUE_NULL	ALL	{ int nosys(void); }
401259	AUE_NULL	ALL	{ int nosys(void); }
402260	AUE_NULL	ALL	{ int nosys(void); }
403261	AUE_NULL	ALL	{ int nosys(void); }
404#endif
405#if SYSV_SHM
406262	AUE_SHMAT	ALL	{ user_addr_t shmat(int shmid, void *shmaddr, int shmflg); }
407263	AUE_SHMCTL	ALL	{ int shmctl(int shmid, int cmd, struct shmid_ds *buf) NO_SYSCALL_STUB; }
408264	AUE_SHMDT	ALL	{ int shmdt(void *shmaddr); }
409265	AUE_SHMGET	ALL	{ int shmget(key_t key, size_t size, int shmflg); }
410#else
411262	AUE_NULL	ALL	{ int nosys(void); }
412263	AUE_NULL	ALL	{ int nosys(void); }
413264	AUE_NULL	ALL	{ int nosys(void); }
414265	AUE_NULL	ALL	{ int nosys(void); }
415#endif
416266	AUE_SHMOPEN	ALL	{ int shm_open(const char *name, int oflag, int mode) NO_SYSCALL_STUB; }
417267	AUE_SHMUNLINK	ALL	{ int shm_unlink(const char *name); }
418268	AUE_SEMOPEN	ALL	{ user_addr_t sem_open(const char *name, int oflag, int mode, int value) NO_SYSCALL_STUB; }
419269	AUE_SEMCLOSE	ALL	{ int sem_close(sem_t *sem); }
420270	AUE_SEMUNLINK	ALL	{ int sem_unlink(const char *name); }
421271	AUE_SEMWAIT	ALL	{ int sem_wait(sem_t *sem); }
422272	AUE_SEMTRYWAIT	ALL	{ int sem_trywait(sem_t *sem); }
423273	AUE_SEMPOST	ALL	{ int sem_post(sem_t *sem); }
424274	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; }
425275	AUE_NULL	ALL	{ int enosys(void); } { old sem_init }
426276	AUE_NULL	ALL	{ int enosys(void); } { old sem_destroy }
427277	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; }
428278	AUE_UMASK_EXTENDED	ALL	{ int umask_extended(int newmask, user_addr_t xsecurity) NO_SYSCALL_STUB; }
429279	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; }
430280	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; }
431281	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; }
432282	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; }
433283	AUE_FCHMOD_EXTENDED	ALL	{ int fchmod_extended(int fd, uid_t uid, gid_t gid, int mode, user_addr_t xsecurity) NO_SYSCALL_STUB; }
434284	AUE_ACCESS_EXTENDED	ALL	{ int access_extended(user_addr_t entries, size_t size, user_addr_t results, uid_t uid) NO_SYSCALL_STUB; }
435285	AUE_SETTID	ALL	{ int settid(uid_t uid, gid_t gid) NO_SYSCALL_STUB; }
436286	AUE_GETTID	ALL	{ int gettid(uid_t *uidp, gid_t *gidp) NO_SYSCALL_STUB; }
437287	AUE_SETSGROUPS	ALL	{ int setsgroups(int setlen, user_addr_t guidset) NO_SYSCALL_STUB; }
438288	AUE_GETSGROUPS	ALL	{ int getsgroups(user_addr_t setlen, user_addr_t guidset) NO_SYSCALL_STUB; }
439289	AUE_SETWGROUPS	ALL	{ int setwgroups(int setlen, user_addr_t guidset) NO_SYSCALL_STUB; }
440290	AUE_GETWGROUPS	ALL	{ int getwgroups(user_addr_t setlen, user_addr_t guidset) NO_SYSCALL_STUB; }
441291	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; }
442292	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; }
443#if CONFIG_EXT_RESOLVER
444293	AUE_IDENTITYSVC	ALL	{ int identitysvc(int opcode, user_addr_t message) NO_SYSCALL_STUB; }
445#else
446293	AUE_NULL	ALL	{ int nosys(void); }
447#endif
448294	AUE_NULL	ALL	{ int shared_region_check_np(uint64_t *start_address) NO_SYSCALL_STUB; }
449295	AUE_NULL	ALL	{ int nosys(void); } { old shared_region_map_np }
450296	AUE_NULL	ALL	{ int vm_pressure_monitor(int wait_for_pressure, int nsecs_monitored, uint32_t *pages_reclaimed); }
451#if PSYNCH
452297	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; }
453298	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; }
454299	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; }
455300	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; }
456301	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; }
457302	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; }
458303	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; }
459304	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; }
460305	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; }
461306	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; }
462307	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; }
463308	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; }
464309	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; }
465#else
466297	AUE_NULL	ALL	{ int nosys(void); } { old reset_shared_file }
467298	AUE_NULL	ALL	{ int nosys(void); } { old new_system_shared_regions }
468299	AUE_NULL	ALL	{ int enosys(void); } { old shared_region_map_file_np }
469300	AUE_NULL	ALL	{ int enosys(void); } { old shared_region_make_private_np }
470301	AUE_NULL	ALL	{ int nosys(void); }
471302	AUE_NULL	ALL	{ int nosys(void); }
472303	AUE_NULL	ALL	{ int nosys(void); }
473304	AUE_NULL	ALL	{ int nosys(void); }
474305	AUE_NULL	ALL	{ int nosys(void); }
475306	AUE_NULL	ALL	{ int nosys(void); }
476307	AUE_NULL	ALL	{ int nosys(void); }
477308	AUE_NULL	ALL	{ int nosys(void); }
478309	AUE_NULL	ALL	{ int nosys(void); }
479#endif
480310	AUE_GETSID	ALL	{ int getsid(pid_t pid); }
481311	AUE_SETTIDWITHPID	ALL	{ int settid_with_pid(pid_t pid, int assume) NO_SYSCALL_STUB; }
482#if PSYNCH
483312	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; }
484#else
485312	AUE_NULL	ALL	{ int nosys(void); } { old __pthread_cond_timedwait }
486#endif
487313	AUE_NULL	ALL	{ int aio_fsync(int op, user_addr_t aiocbp); }
488314 	AUE_NULL	ALL	{ user_ssize_t aio_return(user_addr_t aiocbp); }
489315	AUE_NULL	ALL	{ int aio_suspend(user_addr_t aiocblist, int nent, user_addr_t timeoutp); }
490316	AUE_NULL	ALL	{ int aio_cancel(int fd, user_addr_t aiocbp); }
491317	AUE_NULL	ALL	{ int aio_error(user_addr_t aiocbp); }
492318	AUE_NULL	ALL	{ int aio_read(user_addr_t aiocbp); }
493319	AUE_NULL	ALL	{ int aio_write(user_addr_t aiocbp); }
494320	AUE_LIOLISTIO	ALL	{ int lio_listio(int mode, user_addr_t aiocblist, int nent, user_addr_t sigp); }
495321	AUE_NULL	ALL	{ int nosys(void); } { old __pthread_cond_wait }
496322	AUE_IOPOLICYSYS	ALL	{ int iopolicysys(int cmd, void *arg) NO_SYSCALL_STUB; }
497323	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; }
498324	AUE_MLOCKALL	ALL	{ int mlockall(int how); }
499325	AUE_MUNLOCKALL	ALL	{ int munlockall(int how); }
500326	AUE_NULL	ALL	{ int nosys(void); }
501327	AUE_ISSETUGID	ALL	{ int issetugid(void); }
502328	AUE_PTHREADKILL	ALL	{ int __pthread_kill(int thread_port, int sig); }
503329	AUE_PTHREADSIGMASK	ALL	{ int __pthread_sigmask(int how, user_addr_t set, user_addr_t oset); }
504330	AUE_SIGWAIT	ALL	{ int __sigwait(user_addr_t set, user_addr_t sig); }
505331	AUE_NULL	ALL	{ int __disable_threadsignal(int value); }
506332	AUE_NULL	ALL	{ int __pthread_markcancel(int thread_port); }
507333	AUE_NULL	ALL	{ int __pthread_canceled(int  action); }
508
509;#if OLD_SEMWAIT_SIGNAL
510;334	AUE_NULL	ALL	{ int nosys(void); }   { old __semwait_signal }
511;#else
512334     AUE_SEMWAITSIGNAL       ALL     { int __semwait_signal(int cond_sem, int mutex_sem, int timeout, int relative, int64_t tv_sec, int32_t tv_nsec); }
513;#endif
514
515335	AUE_NULL	ALL	{ int nosys(void); }   { old utrace }
516336	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; }
517#if SENDFILE
518337	AUE_SENDFILE	ALL	{ int sendfile(int fd, int s, off_t offset, off_t *nbytes, struct sf_hdtr *hdtr, int flags); }
519#else /* !SENDFILE */
520337	AUE_NULL	ALL	{ int nosys(void); }
521#endif /* SENDFILE */
522338	AUE_STAT64	ALL	{ int stat64(user_addr_t path, user_addr_t ub); }
523339	AUE_FSTAT64	ALL	{ int sys_fstat64(int fd, user_addr_t ub); }
524340	AUE_LSTAT64	ALL	{ int lstat64(user_addr_t path, user_addr_t ub); }
525341	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; }
526342	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; }
527343	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; }
528344	AUE_GETDIRENTRIES64	ALL	{ user_ssize_t getdirentries64(int fd, void *buf, user_size_t bufsize, off_t *position) NO_SYSCALL_STUB; }
529345	AUE_STATFS64	ALL	{ int statfs64(char *path, struct statfs64 *buf); }
530346	AUE_FSTATFS64	ALL	{ int fstatfs64(int fd, struct statfs64 *buf); }
531347	AUE_GETFSSTAT64	ALL	{ int getfsstat64(user_addr_t buf, int bufsize, int flags); }
532348	AUE_NULL	ALL	{ int __pthread_chdir(user_addr_t path); }
533349	AUE_NULL	ALL	{ int __pthread_fchdir(int fd); }
534350	AUE_AUDIT	ALL	{ int audit(void *record, int length); }
535351	AUE_AUDITON	ALL	{ int auditon(int cmd, void *data, int length); }
536352	AUE_NULL	ALL	{ int nosys(void); }
537353	AUE_GETAUID	ALL	{ int getauid(au_id_t *auid); }
538354	AUE_SETAUID	ALL	{ int setauid(au_id_t *auid); }
539355	AUE_NULL	ALL	{ int nosys(void); }	{ old getaudit }
540356	AUE_NULL	ALL	{ int nosys(void); }	{ old setaudit }
541357	AUE_GETAUDIT_ADDR	ALL	{ int getaudit_addr(struct auditinfo_addr *auditinfo_addr, int length); }
542358	AUE_SETAUDIT_ADDR	ALL	{ int setaudit_addr(struct auditinfo_addr *auditinfo_addr, int length); }
543359	AUE_AUDITCTL	ALL	{ int auditctl(char *path); }
544#if CONFIG_WORKQUEUE
545360	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; }
546361	AUE_NULL	ALL	{ int bsdthread_terminate(user_addr_t stackaddr, size_t freesize, uint32_t port, user_addr_t sema_or_ulock) NO_SYSCALL_STUB; }
547#else
548360	AUE_NULL	ALL	{ int nosys(void); }
549361	AUE_NULL	ALL	{ int nosys(void); }
550#endif /* CONFIG_WORKQUEUE */
551362	AUE_KQUEUE	ALL	{ int kqueue(void); }
552363	AUE_NULL	ALL	{ int kevent(int fd, const struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); }
553364	AUE_LCHOWN	ALL	{ int lchown(user_addr_t path, uid_t owner, gid_t group) NO_SYSCALL_STUB; }
554365	AUE_NULL	ALL	{ int nosys(void); }	{ old stack_snapshot }
555#if CONFIG_WORKQUEUE
556366	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; }
557367	AUE_WORKQOPEN	ALL	{ int workq_open(void) NO_SYSCALL_STUB; }
558368	AUE_WORKQOPS	ALL	{ int workq_kernreturn(int options, user_addr_t item, int affinity, int prio) NO_SYSCALL_STUB; }
559#else
560366	AUE_NULL	ALL	{ int nosys(void); }
561367	AUE_NULL	ALL	{ int nosys(void); }
562368	AUE_NULL	ALL	{ int nosys(void); }
563#endif /* CONFIG_WORKQUEUE */
564369	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); }
565#if OLD_SEMWAIT_SIGNAL
566370     AUE_SEMWAITSIGNAL       ALL     { int __old_semwait_signal(int cond_sem, int mutex_sem, int timeout, int relative, const struct timespec *ts); }
567371     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; }
568#else
569370     AUE_NULL        ALL     { int nosys(void); }   { old __semwait_signal }
570371     AUE_NULL        ALL     { int nosys(void); }   { old __semwait_signal }
571#endif
572372	AUE_NULL	ALL	{ uint64_t thread_selfid (void) NO_SYSCALL_STUB; }
573373	AUE_LEDGER	ALL	{ int ledger(int cmd, caddr_t arg1, caddr_t arg2, caddr_t arg3); }
574374	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); }
575375	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); }
576376	AUE_NULL	ALL	{ int nosys(void); }
577377	AUE_NULL	ALL	{ int nosys(void); }
578378	AUE_NULL	ALL	{ int nosys(void); }
579379	AUE_NULL	ALL	{ int nosys(void); }
580380	AUE_MAC_EXECVE	ALL	{ int __mac_execve(char *fname, char **argp, char **envp, struct mac *mac_p); }
581#if CONFIG_MACF
582381	AUE_MAC_SYSCALL	ALL	{ int __mac_syscall(char *policy, int call, user_addr_t arg); }
583382	AUE_MAC_GET_FILE	ALL	{ int __mac_get_file(char *path_p, struct mac *mac_p); }
584383	AUE_MAC_SET_FILE	ALL	{ int __mac_set_file(char *path_p, struct mac *mac_p); }
585384	AUE_MAC_GET_LINK	ALL	{ int __mac_get_link(char *path_p, struct mac *mac_p); }
586385	AUE_MAC_SET_LINK	ALL	{ int __mac_set_link(char *path_p, struct mac *mac_p); }
587386	AUE_MAC_GET_PROC	ALL	{ int __mac_get_proc(struct mac *mac_p); }
588387	AUE_MAC_SET_PROC	ALL	{ int __mac_set_proc(struct mac *mac_p); }
589388	AUE_MAC_GET_FD	ALL	{ int __mac_get_fd(int fd, struct mac *mac_p); }
590389	AUE_MAC_SET_FD	ALL	{ int __mac_set_fd(int fd, struct mac *mac_p); }
591390	AUE_MAC_GET_PID	ALL	{ int __mac_get_pid(pid_t pid, struct mac *mac_p); }
592#else
593381     AUE_MAC_SYSCALL ALL     { int enosys(void); }
594382     AUE_MAC_GET_FILE        ALL     { int nosys(void); }
595383     AUE_MAC_SET_FILE        ALL     { int nosys(void); }
596384     AUE_MAC_GET_LINK        ALL     { int nosys(void); }
597385     AUE_MAC_SET_LINK        ALL     { int nosys(void); }
598386     AUE_MAC_GET_PROC        ALL     { int nosys(void); }
599387     AUE_MAC_SET_PROC        ALL     { int nosys(void); }
600388     AUE_MAC_GET_FD  ALL     { int nosys(void); }
601389     AUE_MAC_SET_FD  ALL     { int nosys(void); }
602390     AUE_MAC_GET_PID ALL     { int nosys(void); }
603#endif
604391	AUE_NULL	ALL	{ int enosys(void); }
605392	AUE_NULL	ALL	{ int enosys(void); }
606393	AUE_NULL	ALL	{ int enosys(void); }
607394	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; }
608395	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; }
609396	AUE_NULL	ALL	{ user_ssize_t read_nocancel(int fd, user_addr_t cbuf, user_size_t nbyte) NO_SYSCALL_STUB; }
610397	AUE_NULL	ALL	{ user_ssize_t write_nocancel(int fd, user_addr_t cbuf, user_size_t nbyte) NO_SYSCALL_STUB; }
611398	AUE_OPEN_RWTC	ALL	{ int open_nocancel(user_addr_t path, int flags, int mode) NO_SYSCALL_STUB; }
612399	AUE_CLOSE	ALL	{ int sys_close_nocancel(int fd) NO_SYSCALL_STUB; }
613400	AUE_WAIT4	ALL	{ int wait4_nocancel(int pid, user_addr_t status, int options, user_addr_t rusage) NO_SYSCALL_STUB; }
614#if SOCKETS
615401	AUE_RECVMSG	ALL	{ int recvmsg_nocancel(int s, struct msghdr *msg, int flags) NO_SYSCALL_STUB; }
616402	AUE_SENDMSG	ALL	{ int sendmsg_nocancel(int s, caddr_t msg, int flags) NO_SYSCALL_STUB; }
617403	AUE_RECVFROM	ALL	{ int recvfrom_nocancel(int s, void *buf, size_t len, int flags, struct sockaddr *from, int *fromlenaddr) NO_SYSCALL_STUB; }
618404	AUE_ACCEPT	ALL	{ int accept_nocancel(int s, caddr_t name, socklen_t	*anamelen) NO_SYSCALL_STUB; }
619#else
620401	AUE_NULL	ALL	{ int nosys(void); }
621402	AUE_NULL	ALL	{ int nosys(void); }
622403	AUE_NULL	ALL	{ int nosys(void); }
623404	AUE_NULL	ALL	{ int nosys(void); }
624#endif /* SOCKETS */
625405	AUE_MSYNC	ALL	{ int msync_nocancel(caddr_t addr, size_t len, int flags) NO_SYSCALL_STUB; }
626406	AUE_FCNTL	ALL	{ int sys_fcntl_nocancel(int fd, int cmd, long arg) NO_SYSCALL_STUB; }
627407	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; }
628408	AUE_FSYNC	ALL	{ int fsync_nocancel(int fd) NO_SYSCALL_STUB; }
629#if SOCKETS
630409	AUE_CONNECT	ALL	{ int connect_nocancel(int s, caddr_t name, socklen_t namelen) NO_SYSCALL_STUB; }
631#else
632409	AUE_NULL	ALL	{ int nosys(void); }
633#endif /* SOCKETS */
634410	AUE_NULL	ALL	{ int sigsuspend_nocancel(sigset_t mask) NO_SYSCALL_STUB; }
635411	AUE_READV	ALL	{ user_ssize_t readv_nocancel(int fd, struct iovec *iovp, u_int iovcnt) NO_SYSCALL_STUB; }
636412	AUE_WRITEV	ALL	{ user_ssize_t writev_nocancel(int fd, struct iovec *iovp, u_int iovcnt) NO_SYSCALL_STUB; }
637#if SOCKETS
638413	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; }
639#else
640413	AUE_NULL	ALL	{ int nosys(void); }
641#endif /* SOCKETS */
642414	AUE_PREAD	ALL	{ user_ssize_t pread_nocancel(int fd, user_addr_t buf, user_size_t nbyte, off_t offset) NO_SYSCALL_STUB; }
643415	AUE_PWRITE	ALL	{ user_ssize_t pwrite_nocancel(int fd, user_addr_t buf, user_size_t nbyte, off_t offset) NO_SYSCALL_STUB; }
644416	AUE_WAITID	ALL	{ int waitid_nocancel(idtype_t idtype, id_t id, siginfo_t *infop, int options) NO_SYSCALL_STUB; }
645417	AUE_POLL	ALL	{ int poll_nocancel(struct pollfd *fds, u_int nfds, int timeout) NO_SYSCALL_STUB; }
646#if SYSV_MSG
647418	AUE_MSGSND	ALL	{ int msgsnd_nocancel(int msqid, void *msgp, size_t msgsz, int msgflg) NO_SYSCALL_STUB; }
648419	AUE_MSGRCV	ALL	{ user_ssize_t msgrcv_nocancel(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg) NO_SYSCALL_STUB; }
649#else
650418	AUE_NULL	ALL	{ int nosys(void); }
651419	AUE_NULL	ALL	{ int nosys(void); }
652#endif
653420	AUE_SEMWAIT	ALL	{ int sem_wait_nocancel(sem_t *sem) NO_SYSCALL_STUB; }
654421	AUE_NULL	ALL	{ int aio_suspend_nocancel(user_addr_t aiocblist, int nent, user_addr_t timeoutp) NO_SYSCALL_STUB; }
655422	AUE_SIGWAIT	ALL	{ int __sigwait_nocancel(user_addr_t set, user_addr_t sig) NO_SYSCALL_STUB; }
656;#if OLD_SEMWAIT_SIGNAL
657;423	AUE_NULL	ALL	{ int nosys(void); }   { old __semwait_signal_nocancel }
658;#else
659423     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); }
660;#endif
661424	AUE_MAC_MOUNT	ALL	{ int __mac_mount(char *type, char *path, int flags, caddr_t data, struct mac *mac_p); }
662#if CONFIG_MACF
663425	AUE_MAC_GET_MOUNT	ALL	{ int __mac_get_mount(char *path, struct mac *mac_p); }
664#else
665425     AUE_MAC_GET_MOUNT       ALL     { int nosys(void); }
666#endif
667426	AUE_MAC_GETFSSTAT	ALL	{ int __mac_getfsstat(user_addr_t buf, int bufsize, user_addr_t mac, int macsize, int flags); }
668427	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) }
669428	AUE_NULL	ALL	{ mach_port_name_t audit_session_self(void); }
670429	AUE_NULL	ALL	{ int audit_session_join(mach_port_name_t port); }
671430	AUE_NULL	ALL	{ int sys_fileport_makeport(int fd, user_addr_t portnamep); }
672431	AUE_NULL	ALL	{ int sys_fileport_makefd(mach_port_name_t port); }
673432	AUE_NULL	ALL	{ int audit_session_port(au_asid_t asid, user_addr_t portnamep); }
674433	AUE_NULL	ALL	{ int pid_suspend(int pid); }
675434	AUE_NULL	ALL	{ int pid_resume(int pid); }
676#if CONFIG_EMBEDDED
677435	AUE_NULL	ALL	{ int pid_hibernate(int pid); }
678#else
679435     AUE_NULL        ALL     { int nosys(void); }
680#endif
681#if SOCKETS
682436	AUE_NULL	ALL	{ int pid_shutdown_sockets(int pid, int level); }
683#else
684436	AUE_NULL	ALL	{ int nosys(void); }
685#endif
686437	AUE_NULL	ALL	{ int nosys(void); } { old shared_region_slide_np }
687438	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; }
688439	AUE_NULL	ALL	{ int kas_info(int selector, void *value, size_t *size); }
689#if CONFIG_MEMORYSTATUS
690440	AUE_NULL	ALL	{ int memorystatus_control(uint32_t command, int32_t pid, uint32_t flags, user_addr_t buffer, size_t buffersize); }
691#else
692440	AUE_NULL	ALL	{ int nosys(void); }
693#endif
694441	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; }
695442	AUE_CLOSE	ALL	{ int guarded_close_np(int fd, const guardid_t *guard); }
696443	AUE_KQUEUE	ALL	{ int guarded_kqueue_np(const guardid_t *guard, u_int guardflags); }
697444	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); }
698445	AUE_USRCTL	ALL	{ int usrctl(uint32_t flags); }
699446	AUE_NULL	ALL	{ int proc_rlimit_control(pid_t pid, int flavor, void *arg); }
700#if SOCKETS
701447	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); }
702448	AUE_NULL	ALL	{ int disconnectx(int s, sae_associd_t aid, sae_connid_t cid); }
703449	AUE_NULL	ALL	{ int peeloff(int s, sae_associd_t aid); }
704450	AUE_SOCKET	ALL	{ int socket_delegate(int domain, int type, int protocol, pid_t epid); }
705#else
706447	AUE_NULL	ALL	{ int nosys(void); }
707448	AUE_NULL	ALL	{ int nosys(void); }
708449	AUE_NULL	ALL	{ int nosys(void); }
709450	AUE_NULL	ALL	{ int nosys(void); }
710#endif /* SOCKETS */
711451	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; }
712#if CONFIG_PROC_UUID_POLICY
713452	AUE_NULL	ALL	{ int proc_uuid_policy(uint32_t operation, uuid_t uuid, size_t uuidlen, uint32_t flags); }
714#else
715452	AUE_NULL	ALL	{ int nosys(void); }
716#endif
717#if CONFIG_MEMORYSTATUS
718453	AUE_NULL	ALL	{ int memorystatus_get_level(user_addr_t level); }
719#else
720453	AUE_NULL	ALL	{ int nosys(void); }
721#endif
722454	AUE_NULL	ALL	{ int system_override(uint64_t timeout, uint64_t flags); }
723455	AUE_NULL	ALL	{ int vfs_purge(void); }
724456	AUE_NULL	ALL	{ int sfi_ctl(uint32_t operation, uint32_t sfi_class, uint64_t time, uint64_t *out_time) NO_SYSCALL_STUB; }
725457	AUE_NULL	ALL	{ int sfi_pidctl(uint32_t operation, pid_t pid, uint32_t sfi_flags, uint32_t *out_sfi_flags) NO_SYSCALL_STUB; }
726#if CONFIG_COALITIONS
727458	AUE_NULL	ALL	{ int coalition(uint32_t operation, uint64_t *cid, uint32_t flags) NO_SYSCALL_STUB; }
728459	AUE_NULL	ALL	{ int coalition_info(uint32_t flavor, uint64_t *cid, void *buffer, size_t *bufsize) NO_SYSCALL_STUB; }
729#else
730458	AUE_NULL	ALL	{ int enosys(void); }
731459	AUE_NULL	ALL	{ int enosys(void); }
732#endif /* COALITIONS */
733#if NECP
734460 AUE_NECP	ALL { int necp_match_policy(uint8_t *parameters, size_t parameters_size, struct necp_aggregate_result *returned_result); }
735#else
736460	AUE_NULL	ALL	{ int nosys(void); }
737#endif /* NECP */
738461	AUE_GETATTRLISTBULK	ALL	{ int getattrlistbulk(int dirfd, struct attrlist *alist, void *attributeBuffer, size_t bufferSize, uint64_t options); }
739462	AUE_CLONEFILEAT	ALL     { int clonefileat(int src_dirfd, user_addr_t src, int dst_dirfd, user_addr_t dst, uint32_t flags); }
740463	AUE_OPENAT_RWTC	ALL	{ int openat(int fd, user_addr_t path, int flags, int mode) NO_SYSCALL_STUB; }
741464	AUE_OPENAT_RWTC	ALL	{ int openat_nocancel(int fd, user_addr_t path, int flags, int mode) NO_SYSCALL_STUB; }
742465	AUE_RENAMEAT	ALL	{ int renameat(int fromfd, char *from, int tofd, char *to) NO_SYSCALL_STUB; }
743466	AUE_FACCESSAT	ALL	{ int faccessat(int fd, user_addr_t path, int amode, int flag); }
744467	AUE_FCHMODAT	ALL	{ int fchmodat(int fd, user_addr_t path, int mode, int flag); }
745468	AUE_FCHOWNAT	ALL	{ int fchownat(int fd, user_addr_t path, uid_t uid,gid_t gid, int flag); }
746469	AUE_FSTATAT	ALL	{ int fstatat(int fd, user_addr_t path, user_addr_t ub, int flag); }
747470	AUE_FSTATAT	ALL	{ int fstatat64(int fd, user_addr_t path, user_addr_t ub, int flag); }
748471	AUE_LINKAT	ALL	{ int linkat(int fd1, user_addr_t path, int fd2, user_addr_t link, int flag); }
749472	AUE_UNLINKAT	ALL	{ int unlinkat(int fd, user_addr_t path, int flag) NO_SYSCALL_STUB; }
750473	AUE_READLINKAT	ALL	{ int readlinkat(int fd, user_addr_t path, user_addr_t buf, size_t bufsize); }
751474	AUE_SYMLINKAT	ALL	{ int symlinkat(user_addr_t *path1, int fd, user_addr_t path2); }
752475	AUE_MKDIRAT	ALL	{ int mkdirat(int fd, user_addr_t path, int mode); }
753476	AUE_GETATTRLISTAT	ALL	{ int getattrlistat(int fd, const char *path, struct attrlist *alist, void *attributeBuffer, size_t bufferSize, u_long options); }
754477	AUE_NULL	ALL	{ int proc_trace_log(pid_t pid, uint64_t uniqueid); }
755478	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; }
756479	AUE_OPENBYID_RWT	ALL	{ int openbyid_np(user_addr_t fsid, user_addr_t objid, int oflags); }
757#if SOCKETS
758480	AUE_NULL	ALL	{ user_ssize_t recvmsg_x(int s, struct msghdr_x *msgp, u_int cnt, int flags); }
759481	AUE_NULL	ALL	{ user_ssize_t sendmsg_x(int s, struct msghdr_x *msgp, u_int cnt, int flags); }
760#else
761480	AUE_NULL	ALL	{ int nosys(void); }
762481	AUE_NULL	ALL	{ int nosys(void); }
763#endif /* SOCKETS */
764482	AUE_NULL	ALL	{ uint64_t thread_selfusage(void) NO_SYSCALL_STUB; }
765#if CONFIG_CSR
766483	AUE_NULL	ALL	{ int csrctl(uint32_t op, user_addr_t useraddr, user_addr_t usersize) NO_SYSCALL_STUB; }
767#else
768483	AUE_NULL	ALL	{ int enosys(void); }
769#endif /* CSR */
770484	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; }
771485	AUE_NULL	ALL	{ user_ssize_t guarded_write_np(int fd, const guardid_t *guard, user_addr_t cbuf, user_size_t nbyte); }
772486	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); }
773487	AUE_WRITEV	ALL	{ user_ssize_t guarded_writev_np(int fd, const guardid_t *guard, struct iovec *iovp, int iovcnt); }
774488	AUE_RENAMEAT	ALL	{ int renameatx_np(int fromfd, char *from, int tofd, char *to, u_int flags) NO_SYSCALL_STUB; }
775#if CONFIG_CODE_DECRYPTION
776489	AUE_MPROTECT	ALL	{ int mremap_encrypted(caddr_t addr, size_t len, uint32_t cryptid, uint32_t cputype, uint32_t cpusubtype); }
777#else
778489	AUE_NULL	ALL	{ int enosys(void); }
779#endif
780#if NETWORKING
781490	AUE_NETAGENT	ALL	{ int netagent_trigger(uuid_t agent_uuid, size_t agent_uuidlen); }
782#else
783490	AUE_NULL	ALL	{ int nosys(void); }
784#endif /* NETWORKING */
785491	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; }
786#if CONFIG_TELEMETRY
787492	AUE_STACKSNAPSHOT ALL	{ int microstackshot(user_addr_t tracebuf, uint32_t tracebuf_size, uint32_t flags) NO_SYSCALL_STUB; }
788#else
789492	AUE_NULL	ALL { int enosys(void); }
790#endif /* CONFIG_TELEMETRY */
791#if PGO
792493 	AUE_NULL	ALL	{ user_ssize_t grab_pgo_data (user_addr_t uuid, int flags, user_addr_t buffer, user_ssize_t size); }
793#else
794493	AUE_NULL	ALL { int enosys(void); }
795#endif
796#if CONFIG_PERSONAS
797494	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; }
798#else
799494	AUE_NULL	ALL	{ int enosys(void); }
800#endif
801495	AUE_NULL	ALL	{ int enosys(void); }
802496	AUE_NULL	ALL	{ uint64_t mach_eventlink_signal(mach_port_name_t eventlink_port, uint64_t signal_count) NO_SYSCALL_STUB; }
803497	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; }
804498	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; }
805499	AUE_NULL	ALL	{ int work_interval_ctl(uint32_t operation, uint64_t work_interval_id, void *arg, size_t len) NO_SYSCALL_STUB; }
806500	AUE_NULL	ALL	{ int getentropy(void *buffer, size_t size); }
807#if NECP
808501	AUE_NECP	ALL	{ int necp_open(int flags); } }
809502	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); }
810#else
811501	AUE_NULL	ALL	{ int enosys(void); }
812502	AUE_NULL	ALL	{ int enosys(void); }
813#endif /* NECP */
814#if SKYWALK
815503	AUE_NEXUS	ALL	{ int __nexus_open(struct nxctl_init *init, uint32_t init_len); }
816504	AUE_NEXUS	ALL	{ int __nexus_register(int ctl, struct nxprov_reg *reg, uint32_t reg_len, uuid_t *prov_uuid, uint32_t prov_uuid_len); }
817505	AUE_NEXUS	ALL	{ int __nexus_deregister(int ctl, uuid_t prov_uuid, uint32_t prov_uuid_len); }
818506	AUE_NEXUS	ALL	{ int __nexus_create(int ctl, uuid_t prov_uuid, uint32_t prov_uuid_len, uuid_t *nx_uuid, uint32_t nx_uuid_len); }
819507	AUE_NEXUS	ALL	{ int __nexus_destroy(int ctl, uuid_t nx_uuid, uint32_t nx_uuid_len); }
820508	AUE_NEXUS	ALL	{ int __nexus_get_opt(int ctl, uint32_t opt, void *aoptval, uint32_t *aoptlen); }
821509	AUE_NEXUS	ALL	{ int __nexus_set_opt(int ctl, uint32_t opt, const void *aoptval, uint32_t optlen); }
822510	AUE_CHANNEL	ALL	{ int __channel_open(struct ch_init *init, uint32_t init_len); }
823511	AUE_CHANNEL	ALL	{ int __channel_get_info(int c, struct ch_info *cinfo, uint32_t cinfolen); }
824512	AUE_CHANNEL	ALL	{ int __channel_sync(int c, int mode, int flags); }
825513	AUE_CHANNEL	ALL	{ int __channel_get_opt(int c, uint32_t opt, void *aoptval, uint32_t *aoptlen); }
826514	AUE_CHANNEL	ALL	{ int __channel_set_opt(int c, uint32_t opt, const void *aoptval, uint32_t optlen); }
827#else
828503	AUE_NULL	ALL	{ int enosys(void); }
829504	AUE_NULL	ALL	{ int enosys(void); }
830505	AUE_NULL	ALL	{ int enosys(void); }
831506	AUE_NULL	ALL	{ int enosys(void); }
832507	AUE_NULL	ALL	{ int enosys(void); }
833508	AUE_NULL	ALL	{ int enosys(void); }
834509	AUE_NULL	ALL	{ int enosys(void); }
835510	AUE_NULL	ALL	{ int enosys(void); }
836511	AUE_NULL	ALL	{ int enosys(void); }
837512	AUE_NULL	ALL	{ int enosys(void); }
838513	AUE_NULL	ALL	{ int enosys(void); }
839514	AUE_NULL	ALL	{ int enosys(void); }
840#endif /* !SKYWALK */
841515	AUE_NULL	ALL	{ int sys_ulock_wait(uint32_t operation, void *addr, uint64_t value, uint32_t timeout) NO_SYSCALL_STUB; }
842516	AUE_NULL	ALL	{ int sys_ulock_wake(uint32_t operation, void *addr, uint64_t wake_value) NO_SYSCALL_STUB; }
843517	AUE_FCLONEFILEAT	ALL     { int fclonefileat(int src_fd, int dst_dirfd, user_addr_t dst, uint32_t flags); }
844518	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; }
845519	AUE_NULL	ALL	{ int enosys(void); }
846520	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; }
847521	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; }
848#if NECP
849522	AUE_NECP	ALL	{ int necp_session_open(int flags); } }
850523	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); }
851#else /* NECP */
852522	AUE_NULL	ALL	{ int enosys(void); }
853523	AUE_NULL	ALL	{ int enosys(void); }
854#endif /* NECP */
855524	AUE_SETATTRLISTAT	ALL	{ int setattrlistat(int fd, const char *path, struct attrlist *alist, void *attributeBuffer, size_t bufferSize, uint32_t options); }
856525	AUE_NET		ALL	{ int net_qos_guideline(struct net_qos_param *param, uint32_t param_len); }
857526	AUE_FMOUNT	ALL	{ int fmount(const char *type, int fd, int flags, void *data); }
858527	AUE_NULL	ALL	{ int ntp_adjtime(struct timex *tp); }
859528	AUE_NULL	ALL	{ int ntp_gettime(struct ntptimeval *ntvp); }
860529	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); }
861#if CONFIG_WORKQUEUE
862530	AUE_WORKLOOPCTL	ALL	{ int kqueue_workloop_ctl(user_addr_t cmd, uint64_t options, user_addr_t addr, size_t sz) NO_SYSCALL_STUB; }
863#else
864530	AUE_NULL	ALL	{ int enosys(void); }
865#endif // CONFIG_WORKQUEUE
866531	AUE_NULL	ALL	{ uint64_t __mach_bridge_remote_time(uint64_t local_timestamp); }
867#if CONFIG_COALITIONS
868532 AUE_NULL  ALL { int coalition_ledger(uint32_t operation, uint64_t *cid, void *buffer, size_t *bufsize) NO_SYSCALL_STUB; }
869#else
870532   AUE_NULL    ALL { int enosys(void); }
871#endif // CONFIG_COALITIONS
872533     AUE_NULL        ALL     { int log_data(unsigned int tag, unsigned int flags, void *buffer, unsigned int size) NO_SYSCALL_STUB; }
873534 AUE_NULL	ALL	{ uint64_t memorystatus_available_memory(void) NO_SYSCALL_STUB; }
874535 AUE_NULL	ALL { int enosys(void); }
875536	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; }
876537	AUE_NULL	ALL { int pivot_root(const char *new_rootfs_path_before, const char *old_rootfs_path_after); }
877538 AUE_TASKINSPECTFORPID	ALL { int task_inspect_for_pid(mach_port_name_t target_tport, int pid, mach_port_name_t *t); }
878539 AUE_TASKREADFORPID	ALL { int task_read_for_pid(mach_port_name_t target_tport, int pid, mach_port_name_t *t); }
879540	AUE_PREADV	ALL	{ user_ssize_t sys_preadv(int fd, struct iovec *iovp, int iovcnt, off_t offset); }
880541	AUE_PWRITEV	ALL	{ user_ssize_t sys_pwritev(int fd, struct iovec *iovp, int iovcnt, off_t offset); }
881542	AUE_PREADV	ALL	{ user_ssize_t sys_preadv_nocancel(int fd, struct iovec *iovp, int iovcnt, off_t offset) NO_SYSCALL_STUB; }
882543	AUE_PWRITEV	ALL	{ user_ssize_t sys_pwritev_nocancel(int fd, struct iovec *iovp, int iovcnt, off_t offset) NO_SYSCALL_STUB; }
883544	AUE_NULL        ALL     { int sys_ulock_wait2(uint32_t operation, void *addr, uint64_t value, uint64_t timeout, uint64_t value2) NO_SYSCALL_STUB; }
884545	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; }
885#if SOCKETS
886546     AUE_TRACKERACTION       ALL     { int tracker_action(int action, char *buffer, size_t buffer_size); }
887#else
888546	AUE_NULL	ALL	{ int nosys(void); }
889#endif /* SOCKETS */
890547 AUE_DEBUG_SYSCALL_REJECT	ALL { int debug_syscall_reject(uint64_t packed_selectors) NO_SYSCALL_STUB; }
891548	AUE_NULL	ALL	{ int nosys(void); }
892549	AUE_NULL	ALL	{ int nosys(void); }
893550	AUE_NULL	ALL	{ int nosys(void); }
894551	AUE_FREADLINK	ALL	{ int freadlink(int fd, user_addr_t buf, user_size_t bufsize); }
895