xref: /xnu-11417.101.15/bsd/kern/syscalls.master (revision e3723e1f17661b24996789d8afc084c0c3303b26)
1*e3723e1fSApple OSS Distributions;/*
2*e3723e1fSApple OSS Distributions;	derived from: FreeBSD @(#)syscalls.master	8.2 (Berkeley) 1/13/94
3*e3723e1fSApple OSS Distributions;
4*e3723e1fSApple OSS Distributions; System call name/number master file.
5*e3723e1fSApple OSS Distributions; This is file processed by .../xnu/bsd/kern/makesyscalls.sh and creates:
6*e3723e1fSApple OSS Distributions;	.../xnu/bsd/kern/init_sysent.c
7*e3723e1fSApple OSS Distributions;	.../xnu/bsd/kern/syscalls.c
8*e3723e1fSApple OSS Distributions;	.../xnu/bsd/sys/syscall.h
9*e3723e1fSApple OSS Distributions;	.../xnu/bsd/sys/sysproto.h
10*e3723e1fSApple OSS Distributions;	.../xnu/bsd/security/audit_syscalls.c
11*e3723e1fSApple OSS Distributions
12*e3723e1fSApple OSS Distributions; Columns -> | Number Audit Files | { Name and Args } | { Comments }
13*e3723e1fSApple OSS Distributions;	Number:  	system call number, must be in order
14*e3723e1fSApple OSS Distributions;	Audit:		the audit event associated with the system call
15*e3723e1fSApple OSS Distributions;			A value of AUE_NULL means no auditing, but it also means that
16*e3723e1fSApple OSS Distributions;			there is no audit event for the call at this time. For the
17*e3723e1fSApple OSS Distributions;			case where the event exists, but we don't want auditing, the
18*e3723e1fSApple OSS Distributions;			event should be #defined to AUE_NULL in audit_kevents.h.
19*e3723e1fSApple OSS Distributions;	Files:		with files to generate - "ALL" or any combo of:
20*e3723e1fSApple OSS Distributions;					"T" for syscall table (in init_sysent.c)
21*e3723e1fSApple OSS Distributions;					"N" for syscall names (in syscalls.c)
22*e3723e1fSApple OSS Distributions;					"H" for syscall headers (in syscall.h)
23*e3723e1fSApple OSS Distributions;					"P" for syscall prototypes (in sysproto.h)
24*e3723e1fSApple OSS Distributions;	Name and Args:	function prototype, optionally followed by
25*e3723e1fSApple OSS Distributions;			NO_SYSCALL_STUB (which mean no system call stub will
26*e3723e1fSApple OSS Distributions;			be generated in libSystem) and ending with a semicolon.
27*e3723e1fSApple OSS Distributions;			(Note: functions prefixed by double-underbar are
28*e3723e1fSApple OSS Distributions;			automatically given the NO_SYSCALL_STUB attribute.)
29*e3723e1fSApple OSS Distributions;	Comments:  	additional comments about the sys call copied to output files
30*e3723e1fSApple OSS Distributions
31*e3723e1fSApple OSS Distributions; `#ifdef`'s, `#include`'s, `#if`'s etc. are copied to all output files.
32*e3723e1fSApple OSS Distributions
33*e3723e1fSApple OSS Distributions; N.B.: makesyscalls.sh and createsyscalls.pl must be updated to account
34*e3723e1fSApple OSS Distributions; for any new argument types.
35*e3723e1fSApple OSS Distributions;*/
36*e3723e1fSApple OSS Distributions
37*e3723e1fSApple OSS Distributions#include <sys/appleapiopts.h>
38*e3723e1fSApple OSS Distributions#include <sys/param.h>
39*e3723e1fSApple OSS Distributions#include <sys/systm.h>
40*e3723e1fSApple OSS Distributions#include <sys/types.h>
41*e3723e1fSApple OSS Distributions#include <sys/sysent.h>
42*e3723e1fSApple OSS Distributions#include <sys/sysproto.h>
43*e3723e1fSApple OSS Distributions#include <nfs/nfs_conf.h>
44*e3723e1fSApple OSS Distributions
45*e3723e1fSApple OSS Distributions0	AUE_NULL	ALL	{ int nosys(void); }   { indirect syscall }
46*e3723e1fSApple OSS Distributions1	AUE_EXIT	ALL	{ void exit(int rval) NO_SYSCALL_STUB; }
47*e3723e1fSApple OSS Distributions2	AUE_FORK	ALL	{ int fork(void) NO_SYSCALL_STUB; }
48*e3723e1fSApple OSS Distributions3	AUE_NULL	ALL	{ user_ssize_t read(int fd, user_addr_t cbuf, user_size_t nbyte); }
49*e3723e1fSApple OSS Distributions4	AUE_NULL	ALL	{ user_ssize_t write(int fd, user_addr_t cbuf, user_size_t nbyte); }
50*e3723e1fSApple OSS Distributions5	AUE_OPEN_RWTC	ALL	{ int open(user_addr_t path, int flags, int mode) NO_SYSCALL_STUB; }
51*e3723e1fSApple OSS Distributions6	AUE_CLOSE	ALL	{ int sys_close(int fd); }
52*e3723e1fSApple OSS Distributions7	AUE_WAIT4	ALL	{ int wait4(int pid, user_addr_t status, int options, user_addr_t rusage) NO_SYSCALL_STUB; }
53*e3723e1fSApple OSS Distributions8	AUE_NULL	ALL	{ int enosys(void); }   { old creat }
54*e3723e1fSApple OSS Distributions9	AUE_LINK	ALL	{ int link(user_addr_t path, user_addr_t link); }
55*e3723e1fSApple OSS Distributions10	AUE_UNLINK	ALL	{ int unlink(user_addr_t path) NO_SYSCALL_STUB; }
56*e3723e1fSApple OSS Distributions11	AUE_NULL	ALL	{ int enosys(void); }   { old execv }
57*e3723e1fSApple OSS Distributions12	AUE_CHDIR	ALL	{ int sys_chdir(user_addr_t path); }
58*e3723e1fSApple OSS Distributions13	AUE_FCHDIR	ALL	{ int sys_fchdir(int fd); }
59*e3723e1fSApple OSS Distributions14	AUE_MKNOD	ALL	{ int mknod(user_addr_t path, int mode, int dev); }
60*e3723e1fSApple OSS Distributions15	AUE_CHMOD	ALL	{ int chmod(user_addr_t path, int mode) NO_SYSCALL_STUB; }
61*e3723e1fSApple OSS Distributions16	AUE_CHOWN	ALL	{ int chown(user_addr_t path, int uid, int gid); }
62*e3723e1fSApple OSS Distributions17	AUE_NULL	ALL	{ int enosys(void); }   { old break }
63*e3723e1fSApple OSS Distributions18	AUE_GETFSSTAT	ALL	{ int getfsstat(user_addr_t buf, int bufsize, int flags); }
64*e3723e1fSApple OSS Distributions19	AUE_NULL	ALL	{ int enosys(void); }   { old lseek }
65*e3723e1fSApple OSS Distributions20	AUE_GETPID	ALL	{ int getpid(void); }
66*e3723e1fSApple OSS Distributions21	AUE_NULL	ALL	{ int enosys(void); }   { old mount }
67*e3723e1fSApple OSS Distributions22	AUE_NULL	ALL	{ int enosys(void); }   { old umount }
68*e3723e1fSApple OSS Distributions23	AUE_SETUID	ALL	{ int setuid(uid_t uid); }
69*e3723e1fSApple OSS Distributions24	AUE_GETUID	ALL	{ int getuid(void); }
70*e3723e1fSApple OSS Distributions25	AUE_GETEUID	ALL	{ int geteuid(void); }
71*e3723e1fSApple OSS Distributions26	AUE_PTRACE	ALL	{ int ptrace(int req, pid_t pid, caddr_t addr, int data); }
72*e3723e1fSApple OSS Distributions#if SOCKETS
73*e3723e1fSApple OSS Distributions27	AUE_RECVMSG	ALL	{ int recvmsg(int s, struct msghdr *msg, int flags) NO_SYSCALL_STUB; }
74*e3723e1fSApple OSS Distributions28	AUE_SENDMSG	ALL	{ int sendmsg(int s, caddr_t msg, int flags) NO_SYSCALL_STUB; }
75*e3723e1fSApple OSS Distributions29	AUE_RECVFROM	ALL	{ int recvfrom(int s, void *buf, size_t len, int flags, struct sockaddr *from, int *fromlenaddr) NO_SYSCALL_STUB; }
76*e3723e1fSApple OSS Distributions30	AUE_ACCEPT	ALL	{ int accept(int s, caddr_t name, socklen_t	*anamelen) NO_SYSCALL_STUB; }
77*e3723e1fSApple OSS Distributions31	AUE_GETPEERNAME	ALL	{ int getpeername(int fdes, caddr_t asa, socklen_t *alen) NO_SYSCALL_STUB; }
78*e3723e1fSApple OSS Distributions32	AUE_GETSOCKNAME	ALL	{ int getsockname(int fdes, caddr_t asa, socklen_t *alen) NO_SYSCALL_STUB; }
79*e3723e1fSApple OSS Distributions#else
80*e3723e1fSApple OSS Distributions27	AUE_NULL	ALL	{ int nosys(void); }
81*e3723e1fSApple OSS Distributions28	AUE_NULL	ALL	{ int nosys(void); }
82*e3723e1fSApple OSS Distributions29	AUE_NULL	ALL	{ int nosys(void); }
83*e3723e1fSApple OSS Distributions30	AUE_NULL	ALL	{ int nosys(void); }
84*e3723e1fSApple OSS Distributions31	AUE_NULL	ALL	{ int nosys(void); }
85*e3723e1fSApple OSS Distributions32	AUE_NULL	ALL	{ int nosys(void); }
86*e3723e1fSApple OSS Distributions#endif /* SOCKETS */
87*e3723e1fSApple OSS Distributions33	AUE_ACCESS	ALL	{ int access(user_addr_t path, int flags); }
88*e3723e1fSApple OSS Distributions34	AUE_CHFLAGS	ALL	{ int chflags(char *path, int flags); }
89*e3723e1fSApple OSS Distributions35	AUE_FCHFLAGS	ALL	{ int fchflags(int fd, int flags); }
90*e3723e1fSApple OSS Distributions36	AUE_SYNC	ALL	{ int sync(void); }
91*e3723e1fSApple OSS Distributions37	AUE_KILL	ALL	{ int kill(int pid, int signum, int posix) NO_SYSCALL_STUB; }
92*e3723e1fSApple OSS Distributions38	AUE_NULL	ALL	{ int sys_crossarch_trap(uint32_t name) NO_SYSCALL_STUB; }
93*e3723e1fSApple OSS Distributions39	AUE_GETPPID	ALL	{ int getppid(void); }
94*e3723e1fSApple OSS Distributions40	AUE_NULL	ALL	{ int nosys(void); }   { old lstat }
95*e3723e1fSApple OSS Distributions41	AUE_DUP		ALL	{ int sys_dup(u_int fd); }
96*e3723e1fSApple OSS Distributions42	AUE_PIPE	ALL	{ int pipe(void); }
97*e3723e1fSApple OSS Distributions43	AUE_GETEGID	ALL	{ int getegid(void); }
98*e3723e1fSApple OSS Distributions44	AUE_NULL	ALL	{ int nosys(void); } { old profil }
99*e3723e1fSApple OSS Distributions45	AUE_NULL	ALL	{ int nosys(void); } { old ktrace }
100*e3723e1fSApple OSS Distributions46	AUE_SIGACTION	ALL	{ int sigaction(int signum, struct __sigaction *nsa, struct sigaction *osa) NO_SYSCALL_STUB; }
101*e3723e1fSApple OSS Distributions47	AUE_GETGID	ALL	{ int getgid(void); }
102*e3723e1fSApple OSS Distributions48	AUE_SIGPROCMASK	ALL	{ int sigprocmask(int how, user_addr_t mask, user_addr_t omask); }
103*e3723e1fSApple OSS Distributions49	AUE_GETLOGIN	ALL	{ int getlogin(char *namebuf, u_int namelen) NO_SYSCALL_STUB; }
104*e3723e1fSApple OSS Distributions50	AUE_SETLOGIN	ALL	{ int setlogin(char *namebuf) NO_SYSCALL_STUB; }
105*e3723e1fSApple OSS Distributions51	AUE_ACCT	ALL	{ int acct(char *path); }
106*e3723e1fSApple OSS Distributions52	AUE_SIGPENDING	ALL	{ int sigpending(struct sigvec *osv); }
107*e3723e1fSApple OSS Distributions53	AUE_SIGALTSTACK	ALL	{ int sigaltstack(struct sigaltstack *nss, struct sigaltstack *oss) NO_SYSCALL_STUB ; }
108*e3723e1fSApple OSS Distributions54	AUE_IOCTL	ALL	{ int ioctl(int fd, u_long com, caddr_t data) NO_SYSCALL_STUB; }
109*e3723e1fSApple OSS Distributions55	AUE_REBOOT	ALL	{ int reboot(int opt, char *msg) NO_SYSCALL_STUB; }
110*e3723e1fSApple OSS Distributions56	AUE_REVOKE	ALL	{ int revoke(char *path); }
111*e3723e1fSApple OSS Distributions57	AUE_SYMLINK	ALL	{ int symlink(char *path, char *link); }
112*e3723e1fSApple OSS Distributions58	AUE_READLINK	ALL	{ int readlink(char *path, char *buf, int count); }
113*e3723e1fSApple OSS Distributions59	AUE_EXECVE	ALL	{ int execve(char *fname, char **argp, char **envp) NO_SYSCALL_STUB; }
114*e3723e1fSApple OSS Distributions60	AUE_UMASK	ALL	{ int umask(int newmask); }
115*e3723e1fSApple OSS Distributions61	AUE_CHROOT	ALL	{ int chroot(user_addr_t path); }
116*e3723e1fSApple OSS Distributions62	AUE_NULL	ALL	{ int nosys(void); }   { old fstat }
117*e3723e1fSApple OSS Distributions63	AUE_NULL	ALL	{ int nosys(void); }   { used internally and reserved }
118*e3723e1fSApple OSS Distributions64	AUE_NULL	ALL	{ int nosys(void); }   { old getpagesize }
119*e3723e1fSApple OSS Distributions65	AUE_MSYNC	ALL	{ int msync(caddr_ut addr, size_ut len, int flags) NO_SYSCALL_STUB; }
120*e3723e1fSApple OSS Distributions#if CONFIG_VFORK
121*e3723e1fSApple OSS Distributions66	AUE_VFORK	ALL	{ int vfork(void) NO_SYSCALL_STUB; }
122*e3723e1fSApple OSS Distributions#else
123*e3723e1fSApple OSS Distributions66	AUE_NULL	ALL	{ int nosys(void); }   { old vfork }
124*e3723e1fSApple OSS Distributions#endif
125*e3723e1fSApple OSS Distributions67	AUE_NULL	ALL	{ int oslog_coproc_reg(const char *uuid, const char *file_path, size_t file_path_len) NO_SYSCALL_STUB; }
126*e3723e1fSApple OSS Distributions68	AUE_NULL	ALL	{ int oslog_coproc(void *buff, uint64_t buff_len, uint32_t type, const char *uuid, uint64_t timestamp, uint32_t offset, uint32_t stream_log) NO_SYSCALL_STUB; }
127*e3723e1fSApple OSS Distributions69	AUE_NULL	ALL	{ int nosys(void); }   { old sbrk }
128*e3723e1fSApple OSS Distributions70	AUE_NULL	ALL	{ int nosys(void); }   { old sstk }
129*e3723e1fSApple OSS Distributions71	AUE_NULL	ALL	{ int nosys(void); }   { old mmap }
130*e3723e1fSApple OSS Distributions72	AUE_NULL	ALL	{ int nosys(void); }   { old vadvise }
131*e3723e1fSApple OSS Distributions73	AUE_MUNMAP	ALL	{ int munmap(caddr_ut addr, size_ut len) NO_SYSCALL_STUB; }
132*e3723e1fSApple OSS Distributions74	AUE_MPROTECT	ALL	{ int mprotect(caddr_ut addr, size_ut len, int prot) NO_SYSCALL_STUB; }
133*e3723e1fSApple OSS Distributions75	AUE_MADVISE	ALL	{ int madvise(caddr_ut addr, size_ut len, int behav); }
134*e3723e1fSApple OSS Distributions76	AUE_NULL	ALL	{ int nosys(void); }   { old vhangup }
135*e3723e1fSApple OSS Distributions77	AUE_NULL	ALL	{ int nosys(void); }   { old vlimit }
136*e3723e1fSApple OSS Distributions78	AUE_MINCORE	ALL	{ int mincore(caddr_ut addr, size_ut len, user_addr_t vec); }
137*e3723e1fSApple OSS Distributions79	AUE_GETGROUPS	ALL	{ int getgroups(u_int gidsetsize, gid_t *gidset); }
138*e3723e1fSApple OSS Distributions80	AUE_SETGROUPS	ALL	{ int setgroups(u_int gidsetsize, gid_t *gidset); }
139*e3723e1fSApple OSS Distributions81	AUE_GETPGRP	ALL	{ int getpgrp(void); }
140*e3723e1fSApple OSS Distributions82	AUE_SETPGRP	ALL	{ int setpgid(int pid, int pgid); }
141*e3723e1fSApple OSS Distributions83	AUE_SETITIMER	ALL	{ int setitimer(u_int which, struct itimerval *itv, struct itimerval *oitv); }
142*e3723e1fSApple OSS Distributions84	AUE_NULL	ALL	{ int nosys(void); }   { old wait }
143*e3723e1fSApple OSS Distributions85	AUE_SWAPON 	ALL	{ int swapon(void); }
144*e3723e1fSApple OSS Distributions86	AUE_GETITIMER	ALL	{ int getitimer(u_int which, struct itimerval *itv); }
145*e3723e1fSApple OSS Distributions87	AUE_NULL	ALL	{ int nosys(void); }   { old gethostname }
146*e3723e1fSApple OSS Distributions88	AUE_NULL	ALL	{ int nosys(void); }   { old sethostname }
147*e3723e1fSApple OSS Distributions89	AUE_GETDTABLESIZE	ALL	{ int sys_getdtablesize(void); }
148*e3723e1fSApple OSS Distributions90	AUE_DUP2	ALL	{ int sys_dup2(u_int from, u_int to); }
149*e3723e1fSApple OSS Distributions91	AUE_NULL	ALL	{ int nosys(void); }   { old getdopt }
150*e3723e1fSApple OSS Distributions92	AUE_FCNTL	ALL	{ int sys_fcntl(int fd, int cmd, long arg) NO_SYSCALL_STUB; }
151*e3723e1fSApple OSS Distributions93	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; }
152*e3723e1fSApple OSS Distributions94	AUE_NULL	ALL	{ int nosys(void); }   { old setdopt }
153*e3723e1fSApple OSS Distributions95	AUE_FSYNC	ALL	{ int fsync(int fd); }
154*e3723e1fSApple OSS Distributions96	AUE_SETPRIORITY	ALL	{ int setpriority(int which, id_t who, int prio) NO_SYSCALL_STUB; }
155*e3723e1fSApple OSS Distributions#if SOCKETS
156*e3723e1fSApple OSS Distributions97	AUE_SOCKET	ALL	{ int socket(int domain, int type, int protocol); }
157*e3723e1fSApple OSS Distributions98	AUE_CONNECT	ALL	{ int connect(int s, caddr_t name, socklen_t namelen) NO_SYSCALL_STUB; }
158*e3723e1fSApple OSS Distributions#else
159*e3723e1fSApple OSS Distributions97	AUE_NULL	ALL	{ int nosys(void); }
160*e3723e1fSApple OSS Distributions98	AUE_NULL	ALL	{ int nosys(void); }
161*e3723e1fSApple OSS Distributions#endif /* SOCKETS */
162*e3723e1fSApple OSS Distributions99	AUE_NULL	ALL	{ int nosys(void); }   { old accept }
163*e3723e1fSApple OSS Distributions100	AUE_GETPRIORITY	ALL	{ int getpriority(int which, id_t who); }
164*e3723e1fSApple OSS Distributions101	AUE_NULL	ALL	{ int nosys(void); }   { old send }
165*e3723e1fSApple OSS Distributions102	AUE_NULL	ALL	{ int nosys(void); }   { old recv }
166*e3723e1fSApple OSS Distributions103	AUE_NULL	ALL	{ int nosys(void); }   { old sigreturn }
167*e3723e1fSApple OSS Distributions#if SOCKETS
168*e3723e1fSApple OSS Distributions104	AUE_BIND	ALL	{ int bind(int s, caddr_t name, socklen_t namelen) NO_SYSCALL_STUB; }
169*e3723e1fSApple OSS Distributions105	AUE_SETSOCKOPT	ALL	{ int setsockopt(int s, int level, int name, caddr_t val, socklen_t valsize); }
170*e3723e1fSApple OSS Distributions106	AUE_LISTEN	ALL	{ int listen(int s, int backlog) NO_SYSCALL_STUB; }
171*e3723e1fSApple OSS Distributions#else
172*e3723e1fSApple OSS Distributions104	AUE_NULL	ALL	{ int nosys(void); }
173*e3723e1fSApple OSS Distributions105	AUE_NULL	ALL	{ int nosys(void); }
174*e3723e1fSApple OSS Distributions106	AUE_NULL	ALL	{ int nosys(void); }
175*e3723e1fSApple OSS Distributions#endif /* SOCKETS */
176*e3723e1fSApple OSS Distributions107	AUE_NULL	ALL	{ int nosys(void); }   { old vtimes }
177*e3723e1fSApple OSS Distributions108	AUE_NULL	ALL	{ int nosys(void); }   { old sigvec }
178*e3723e1fSApple OSS Distributions109	AUE_NULL	ALL	{ int nosys(void); }   { old sigblock }
179*e3723e1fSApple OSS Distributions110	AUE_NULL	ALL	{ int nosys(void); }   { old sigsetmask }
180*e3723e1fSApple OSS Distributions111	AUE_NULL	ALL	{ int sigsuspend(sigset_t mask) NO_SYSCALL_STUB; }
181*e3723e1fSApple OSS Distributions112	AUE_NULL	ALL	{ int nosys(void); }   { old sigstack }
182*e3723e1fSApple OSS Distributions#if SOCKETS
183*e3723e1fSApple OSS Distributions113	AUE_NULL	ALL	{ int nosys(void); }   { old recvmsg }
184*e3723e1fSApple OSS Distributions114	AUE_NULL	ALL	{ int nosys(void); }   { old sendmsg }
185*e3723e1fSApple OSS Distributions#else
186*e3723e1fSApple OSS Distributions113	AUE_NULL	ALL	{ int nosys(void); }
187*e3723e1fSApple OSS Distributions114	AUE_NULL	ALL	{ int nosys(void); }
188*e3723e1fSApple OSS Distributions#endif /* SOCKETS */
189*e3723e1fSApple OSS Distributions115	AUE_NULL	ALL	{ int nosys(void); }   { old vtrace }
190*e3723e1fSApple OSS Distributions116	AUE_GETTIMEOFDAY	ALL	{ int gettimeofday(struct timeval *tp, struct timezone *tzp, uint64_t *mach_absolute_time) NO_SYSCALL_STUB; }
191*e3723e1fSApple OSS Distributions117	AUE_GETRUSAGE	ALL	{ int getrusage(int who, struct rusage *rusage); }
192*e3723e1fSApple OSS Distributions#if SOCKETS
193*e3723e1fSApple OSS Distributions118	AUE_GETSOCKOPT	ALL	{ int getsockopt(int s, int level, int name, caddr_t val, socklen_t *avalsize); }
194*e3723e1fSApple OSS Distributions#else
195*e3723e1fSApple OSS Distributions118	AUE_NULL	ALL	{ int nosys(void); }
196*e3723e1fSApple OSS Distributions#endif /* SOCKETS */
197*e3723e1fSApple OSS Distributions119	AUE_NULL	ALL	{ int nosys(void); }   { old resuba }
198*e3723e1fSApple OSS Distributions120	AUE_READV	ALL	{ user_ssize_t readv(int fd, struct iovec *iovp, u_int iovcnt); }
199*e3723e1fSApple OSS Distributions121	AUE_WRITEV	ALL	{ user_ssize_t writev(int fd, struct iovec *iovp, u_int iovcnt); }
200*e3723e1fSApple OSS Distributions122	AUE_SETTIMEOFDAY	ALL	{ int settimeofday(struct timeval *tv, struct timezone *tzp) NO_SYSCALL_STUB; }
201*e3723e1fSApple OSS Distributions123	AUE_FCHOWN	ALL	{ int fchown(int fd, int uid, int gid); }
202*e3723e1fSApple OSS Distributions124	AUE_FCHMOD	ALL	{ int fchmod(int fd, int mode) NO_SYSCALL_STUB; }
203*e3723e1fSApple OSS Distributions125	AUE_NULL	ALL	{ int nosys(void); }   { old recvfrom }
204*e3723e1fSApple OSS Distributions126	AUE_SETREUID	ALL	{ int setreuid(uid_t ruid, uid_t euid) NO_SYSCALL_STUB; }
205*e3723e1fSApple OSS Distributions127	AUE_SETREGID	ALL	{ int setregid(gid_t rgid, gid_t egid) NO_SYSCALL_STUB; }
206*e3723e1fSApple OSS Distributions128	AUE_RENAME	ALL	{ int rename(char *from, char *to) NO_SYSCALL_STUB; }
207*e3723e1fSApple OSS Distributions129	AUE_NULL	ALL	{ int nosys(void); }   { old truncate }
208*e3723e1fSApple OSS Distributions130	AUE_NULL	ALL	{ int nosys(void); }   { old ftruncate }
209*e3723e1fSApple OSS Distributions131	AUE_FLOCK	ALL	{ int sys_flock(int fd, int how); }
210*e3723e1fSApple OSS Distributions132	AUE_MKFIFO	ALL	{ int mkfifo(user_addr_t path, int mode); }
211*e3723e1fSApple OSS Distributions#if SOCKETS
212*e3723e1fSApple OSS Distributions133	AUE_SENDTO	ALL	{ int sendto(int s, caddr_t buf, size_t len, int flags, caddr_t to, socklen_t tolen) NO_SYSCALL_STUB; }
213*e3723e1fSApple OSS Distributions134	AUE_SHUTDOWN	ALL	{ int shutdown(int s, int how); }
214*e3723e1fSApple OSS Distributions135	AUE_SOCKETPAIR	ALL	{ int socketpair(int domain, int type, int protocol, int *rsv) NO_SYSCALL_STUB; }
215*e3723e1fSApple OSS Distributions#else
216*e3723e1fSApple OSS Distributions133	AUE_NULL	ALL	{ int nosys(void); }
217*e3723e1fSApple OSS Distributions134	AUE_NULL	ALL	{ int nosys(void); }
218*e3723e1fSApple OSS Distributions135	AUE_NULL	ALL	{ int nosys(void); }
219*e3723e1fSApple OSS Distributions#endif /* SOCKETS */
220*e3723e1fSApple OSS Distributions136	AUE_MKDIR	ALL	{ int mkdir(user_addr_t path, int mode); }
221*e3723e1fSApple OSS Distributions137	AUE_RMDIR	ALL	{ int rmdir(char *path) NO_SYSCALL_STUB; }
222*e3723e1fSApple OSS Distributions138	AUE_UTIMES	ALL	{ int utimes(char *path, struct timeval *tptr); }
223*e3723e1fSApple OSS Distributions139	AUE_FUTIMES	ALL	{ int futimes(int fd, struct timeval *tptr); }
224*e3723e1fSApple OSS Distributions140	AUE_ADJTIME	ALL	{ int adjtime(struct timeval *delta, struct timeval *olddelta); }
225*e3723e1fSApple OSS Distributions141	AUE_NULL	ALL	{ int nosys(void); }   { old getpeername }
226*e3723e1fSApple OSS Distributions142	AUE_SYSCTL	ALL	{ int gethostuuid(unsigned char *uuid_buf, const struct timespec *timeoutp) NO_SYSCALL_STUB; }
227*e3723e1fSApple OSS Distributions143	AUE_NULL	ALL	{ int nosys(void); }   { old sethostid 	}
228*e3723e1fSApple OSS Distributions144	AUE_NULL	ALL	{ int nosys(void); }   { old getrlimit }
229*e3723e1fSApple OSS Distributions145	AUE_NULL	ALL	{ int nosys(void); }   { old setrlimit }
230*e3723e1fSApple OSS Distributions146	AUE_NULL	ALL	{ int nosys(void); }   { old killpg }
231*e3723e1fSApple OSS Distributions147	AUE_SETSID	ALL	{ int setsid(void); }
232*e3723e1fSApple OSS Distributions148	AUE_NULL	ALL	{ int nosys(void); }   { old setquota }
233*e3723e1fSApple OSS Distributions149	AUE_NULL	ALL	{ int nosys(void); }   { old qquota }
234*e3723e1fSApple OSS Distributions150	AUE_NULL	ALL	{ int nosys(void); }   { old getsockname }
235*e3723e1fSApple OSS Distributions151	AUE_GETPGID	ALL	{ int getpgid(pid_t pid); }
236*e3723e1fSApple OSS Distributions152	AUE_SETPRIVEXEC	ALL	{ int setprivexec(int flag); }
237*e3723e1fSApple OSS Distributions153	AUE_PREAD	ALL	{ user_ssize_t pread(int fd, user_addr_t buf, user_size_t nbyte, off_t offset); }
238*e3723e1fSApple OSS Distributions154	AUE_PWRITE	ALL	{ user_ssize_t pwrite(int fd, user_addr_t buf, user_size_t nbyte, off_t offset); }
239*e3723e1fSApple OSS Distributions
240*e3723e1fSApple OSS Distributions#if NFSSERVER	/* XXX */
241*e3723e1fSApple OSS Distributions155	AUE_NFS_SVC	ALL	{ int nfssvc(int flag, caddr_t argp); }
242*e3723e1fSApple OSS Distributions#else
243*e3723e1fSApple OSS Distributions155	AUE_NULL	ALL	{ int nosys(void); }
244*e3723e1fSApple OSS Distributions#endif
245*e3723e1fSApple OSS Distributions
246*e3723e1fSApple OSS Distributions156	AUE_NULL	ALL	{ int nosys(void); }   { old getdirentries }
247*e3723e1fSApple OSS Distributions157	AUE_STATFS	ALL	{ int statfs(char *path, struct statfs *buf); }
248*e3723e1fSApple OSS Distributions158	AUE_FSTATFS	ALL	{ int fstatfs(int fd, struct statfs *buf); }
249*e3723e1fSApple OSS Distributions159	AUE_UNMOUNT	ALL	{ int unmount(user_addr_t path, int flags); }
250*e3723e1fSApple OSS Distributions160	AUE_NULL	ALL	{ int nosys(void); }   { old async_daemon }
251*e3723e1fSApple OSS Distributions
252*e3723e1fSApple OSS Distributions#if NFSSERVER	/* XXX */
253*e3723e1fSApple OSS Distributions161	AUE_NFS_GETFH	ALL	{ int getfh(char *fname, fhandle_t *fhp); }
254*e3723e1fSApple OSS Distributions#else
255*e3723e1fSApple OSS Distributions161	AUE_NULL	ALL	{ int nosys(void); }
256*e3723e1fSApple OSS Distributions#endif
257*e3723e1fSApple OSS Distributions
258*e3723e1fSApple OSS Distributions162	AUE_NULL	ALL	{ int nosys(void); }   { old getdomainname }
259*e3723e1fSApple OSS Distributions163	AUE_NULL	ALL	{ int nosys(void); }   { old setdomainname }
260*e3723e1fSApple OSS Distributions164	AUE_NULL	ALL	{ int nosys(void); }
261*e3723e1fSApple OSS Distributions165	AUE_QUOTACTL	ALL	{ int quotactl(const char *path, int cmd, int uid, caddr_t arg); }
262*e3723e1fSApple OSS Distributions166	AUE_NULL	ALL	{ int nosys(void); }   { old exportfs }
263*e3723e1fSApple OSS Distributions167	AUE_MOUNT	ALL	{ int mount(char *type, char *path, int flags, caddr_t data); }
264*e3723e1fSApple OSS Distributions168	AUE_NULL	ALL	{ int nosys(void); }   { old ustat }
265*e3723e1fSApple OSS Distributions169	AUE_CSOPS	ALL	{ int csops(pid_t pid, uint32_t ops, user_addr_t useraddr, user_size_t usersize); }
266*e3723e1fSApple OSS Distributions170	AUE_CSOPS	ALL	{ int csops_audittoken(pid_t pid, uint32_t ops, user_addr_t useraddr, user_size_t usersize, user_addr_t uaudittoken); }
267*e3723e1fSApple OSS Distributions171	AUE_NULL	ALL	{ int nosys(void); }   { old wait3 }
268*e3723e1fSApple OSS Distributions172	AUE_NULL	ALL	{ int nosys(void); }   { old rpause	}
269*e3723e1fSApple OSS Distributions173	AUE_WAITID	ALL	{ int waitid(idtype_t idtype, id_t id, siginfo_t *infop, int options); }
270*e3723e1fSApple OSS Distributions174	AUE_NULL	ALL	{ int nosys(void); }   { old getdents }
271*e3723e1fSApple OSS Distributions175	AUE_NULL	ALL	{ int nosys(void); }   { old gc_control }
272*e3723e1fSApple OSS Distributions176	AUE_NULL	ALL	{ int nosys(void); }   { old add_profil }
273*e3723e1fSApple OSS Distributions177	AUE_NULL	ALL	{ int kdebug_typefilter(void** addr, size_t* size) NO_SYSCALL_STUB; }
274*e3723e1fSApple OSS Distributions178	AUE_NULL	ALL 	{ uint64_t kdebug_trace_string(uint32_t debugid, uint64_t str_id, const char *str) NO_SYSCALL_STUB; }
275*e3723e1fSApple OSS Distributions179	AUE_NULL	ALL 	{ int kdebug_trace64(uint32_t code, uint64_t arg1, uint64_t arg2, uint64_t arg3, uint64_t arg4) NO_SYSCALL_STUB; }
276*e3723e1fSApple OSS Distributions180	AUE_NULL	ALL 	{ int kdebug_trace(uint32_t code, u_long arg1, u_long arg2, u_long arg3, u_long arg4) NO_SYSCALL_STUB; }
277*e3723e1fSApple OSS Distributions181	AUE_SETGID	ALL	{ int setgid(gid_t gid); }
278*e3723e1fSApple OSS Distributions182	AUE_SETEGID	ALL	{ int setegid(gid_t egid); }
279*e3723e1fSApple OSS Distributions183	AUE_SETEUID	ALL	{ int seteuid(uid_t euid); }
280*e3723e1fSApple OSS Distributions184	AUE_SIGRETURN	ALL	{ int sigreturn(struct ucontext *uctx, int infostyle, user_addr_t token) NO_SYSCALL_STUB; }
281*e3723e1fSApple OSS Distributions185 AUE_NULL    ALL { int sys_panic_with_data(uuid_t uuid, void *addr, uint32_t len, uint32_t flags, const char *msg); }
282*e3723e1fSApple OSS Distributions186	AUE_NULL	ALL	{ int thread_selfcounts(uint32_t kind, user_addr_t buf, user_size_t size); }
283*e3723e1fSApple OSS Distributions187	AUE_FDATASYNC	ALL	{ int fdatasync(int fd); }
284*e3723e1fSApple OSS Distributions188	AUE_STAT	ALL	{ int stat(user_addr_t path, user_addr_t ub); }
285*e3723e1fSApple OSS Distributions189	AUE_FSTAT	ALL	{ int sys_fstat(int fd, user_addr_t ub); }
286*e3723e1fSApple OSS Distributions190	AUE_LSTAT	ALL	{ int lstat(user_addr_t path, user_addr_t ub); }
287*e3723e1fSApple OSS Distributions191	AUE_PATHCONF	ALL	{ int pathconf(char *path, int name); }
288*e3723e1fSApple OSS Distributions192	AUE_FPATHCONF	ALL	{ int sys_fpathconf(int fd, int name); }
289*e3723e1fSApple OSS Distributions193	AUE_NULL	ALL	{ int nosys(void); }	{ old getfsstat }
290*e3723e1fSApple OSS Distributions194	AUE_GETRLIMIT	ALL	{ int getrlimit(u_int which, struct rlimit *rlp) NO_SYSCALL_STUB; }
291*e3723e1fSApple OSS Distributions195	AUE_SETRLIMIT	ALL	{ int setrlimit(u_int which, struct rlimit *rlp) NO_SYSCALL_STUB; }
292*e3723e1fSApple OSS Distributions196	AUE_GETDIRENTRIES	ALL	{ int getdirentries(int fd, char *buf, u_int count, long *basep); }
293*e3723e1fSApple OSS Distributions197	AUE_MMAP	ALL	{ user_addr_t mmap(caddr_ut addr, size_ut len, int prot, int flags, int fd, off_t pos) NO_SYSCALL_STUB; }
294*e3723e1fSApple OSS Distributions198	AUE_NULL	ALL	{ int nosys(void); } 	{ old __syscall }
295*e3723e1fSApple OSS Distributions199	AUE_LSEEK	ALL	{ off_t lseek(int fd, off_t offset, int whence); }
296*e3723e1fSApple OSS Distributions200	AUE_TRUNCATE	ALL	{ int truncate(char *path, off_t length); }
297*e3723e1fSApple OSS Distributions201	AUE_FTRUNCATE	ALL	{ int ftruncate(int fd, off_t length); }
298*e3723e1fSApple OSS Distributions202	AUE_SYSCTL	ALL 	{ int sysctl(int *name, u_int namelen, void *old, size_t *oldlenp, void *new, size_t newlen) NO_SYSCALL_STUB; }
299*e3723e1fSApple OSS Distributions203	AUE_MLOCK	ALL	{ int mlock(caddr_ut addr, size_ut len); }
300*e3723e1fSApple OSS Distributions204	AUE_MUNLOCK	ALL	{ int munlock(caddr_ut addr, size_ut len); }
301*e3723e1fSApple OSS Distributions205	AUE_UNDELETE	ALL	{ int undelete(user_addr_t path); }
302*e3723e1fSApple OSS Distributions
303*e3723e1fSApple OSS Distributions206	AUE_NULL	ALL	{ int nosys(void); } { old ATsocket }
304*e3723e1fSApple OSS Distributions207	AUE_NULL	ALL	{ int nosys(void); } { old ATgetmsg }
305*e3723e1fSApple OSS Distributions208	AUE_NULL	ALL	{ int nosys(void); } { old ATputmsg }
306*e3723e1fSApple OSS Distributions209	AUE_NULL	ALL	{ int nosys(void); } { old ATsndreq }
307*e3723e1fSApple OSS Distributions210	AUE_NULL	ALL	{ int nosys(void); } { old ATsndrsp }
308*e3723e1fSApple OSS Distributions211	AUE_NULL	ALL	{ int nosys(void); } { old ATgetreq }
309*e3723e1fSApple OSS Distributions212	AUE_NULL	ALL	{ int nosys(void); } { old ATgetrsp }
310*e3723e1fSApple OSS Distributions213	AUE_NULL	ALL	{ int nosys(void); } 	{ Reserved for AppleTalk }
311*e3723e1fSApple OSS Distributions
312*e3723e1fSApple OSS Distributions214	AUE_NULL	ALL	{ int nosys(void); }
313*e3723e1fSApple OSS Distributions215	AUE_NULL	ALL	{ int nosys(void); }
314*e3723e1fSApple OSS Distributions
315*e3723e1fSApple OSS Distributions; System Calls 216 - 230 are reserved for calls to support HFS/HFS Plus
316*e3723e1fSApple OSS Distributions; file system semantics. Currently, we only use 215-227.  The rest is
317*e3723e1fSApple OSS Distributions; for future expansion in anticipation of new MacOS APIs for HFS Plus.
318*e3723e1fSApple OSS Distributions; These calls are not conditionalized because while they are specific
319*e3723e1fSApple OSS Distributions; to HFS semantics, they are not specific to the HFS filesystem.
320*e3723e1fSApple OSS Distributions; We expect all filesystems to recognize the call and report that it is
321*e3723e1fSApple OSS Distributions; not supported or to actually implement it.
322*e3723e1fSApple OSS Distributions
323*e3723e1fSApple OSS Distributions; 216-> 219 used to be mkcomplex and {f,l}statv variants. They are gone now.
324*e3723e1fSApple OSS Distributions216	AUE_NULL	ALL	{ int open_dprotected_np(user_addr_t path, int flags, int class, int dpflags, int mode) NO_SYSCALL_STUB; }
325*e3723e1fSApple OSS Distributions217	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); }
326*e3723e1fSApple OSS Distributions218	AUE_NULL	ALL	{ int openat_dprotected_np(int fd, user_addr_t path, int flags, int class, int dpflags, int mode, int authfd) NO_SYSCALL_STUB; }
327*e3723e1fSApple OSS Distributions219	AUE_NULL	ALL	{ int nosys(void); }	{ old fstatv }
328*e3723e1fSApple OSS Distributions220	AUE_GETATTRLIST	ALL	{ int getattrlist(const char *path, struct attrlist *alist, void *attributeBuffer, size_t bufferSize, u_long options) NO_SYSCALL_STUB; }
329*e3723e1fSApple OSS Distributions221	AUE_SETATTRLIST	ALL	{ int setattrlist(const char *path, struct attrlist *alist, void *attributeBuffer, size_t bufferSize, u_long options) NO_SYSCALL_STUB; }
330*e3723e1fSApple OSS Distributions222	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); }
331*e3723e1fSApple OSS Distributions223	AUE_EXCHANGEDATA	ALL	{ int exchangedata(const char *path1, const char *path2, u_long options); }
332*e3723e1fSApple OSS Distributions224	AUE_NULL		ALL { int nosys(void); } { old checkuseraccess or fsgetpath }
333*e3723e1fSApple OSS Distributions225	AUE_SEARCHFS	ALL	{ int searchfs(const char *path, struct fssearchblock *searchblock, uint32_t *nummatches, uint32_t scriptcode, uint32_t options, struct searchstate *state); }
334*e3723e1fSApple OSS Distributions226	AUE_DELETE	ALL	{ int delete(user_addr_t path) NO_SYSCALL_STUB; }       { private delete (Carbon semantics) }
335*e3723e1fSApple OSS Distributions227	AUE_COPYFILE	ALL	{ int copyfile(char *from, char *to, int mode, int flags) NO_SYSCALL_STUB; }
336*e3723e1fSApple OSS Distributions228	AUE_FGETATTRLIST	ALL	{ int fgetattrlist(int fd, struct attrlist *alist, void *attributeBuffer, size_t bufferSize, u_long options); }
337*e3723e1fSApple OSS Distributions229	AUE_FSETATTRLIST	ALL	{ int fsetattrlist(int fd, struct attrlist *alist, void *attributeBuffer, size_t bufferSize, u_long options); }
338*e3723e1fSApple OSS Distributions230	AUE_POLL	ALL	{ int poll(struct pollfd *fds, u_int nfds, int timeout); }
339*e3723e1fSApple OSS Distributions231	AUE_NULL	ALL	{ int nosys(void); } { old watchevent }
340*e3723e1fSApple OSS Distributions232	AUE_NULL	ALL	{ int nosys(void); } { old waitevent }
341*e3723e1fSApple OSS Distributions233	AUE_NULL	ALL	{ int nosys(void); } { old modwatch }
342*e3723e1fSApple OSS Distributions234	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); }
343*e3723e1fSApple OSS Distributions235	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); }
344*e3723e1fSApple OSS Distributions236	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); }
345*e3723e1fSApple OSS Distributions237	AUE_FSETXATTR	ALL	{ int fsetxattr(int fd, user_addr_t attrname, user_addr_t value, size_t size, uint32_t position, int options); }
346*e3723e1fSApple OSS Distributions238	AUE_REMOVEXATTR	ALL	{ int removexattr(user_addr_t path, user_addr_t attrname, int options); }
347*e3723e1fSApple OSS Distributions239	AUE_FREMOVEXATTR	ALL	{ int fremovexattr(int fd, user_addr_t attrname, int options); }
348*e3723e1fSApple OSS Distributions240	AUE_LISTXATTR	ALL	{ user_ssize_t listxattr(user_addr_t path, user_addr_t namebuf, size_t bufsize, int options); }
349*e3723e1fSApple OSS Distributions241	AUE_FLISTXATTR	ALL	{ user_ssize_t flistxattr(int fd, user_addr_t namebuf, size_t bufsize, int options); }
350*e3723e1fSApple OSS Distributions242	AUE_FSCTL	ALL	{ int fsctl(const char *path, u_long cmd, caddr_t data, u_int options); }
351*e3723e1fSApple OSS Distributions243	AUE_INITGROUPS	ALL	{ int initgroups(u_int gidsetsize, gid_t *gidset, int gmuid) NO_SYSCALL_STUB; }
352*e3723e1fSApple OSS Distributions244	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; }
353*e3723e1fSApple OSS Distributions245	AUE_FFSCTL	ALL	{ int ffsctl(int fd, u_long cmd, caddr_t data, u_int options); }
354*e3723e1fSApple OSS Distributions246	AUE_NULL	ALL	{ int nosys(void); }
355*e3723e1fSApple OSS Distributions247	AUE_NULL	ALL	{ int nosys(void); } { old nfsclnt }
356*e3723e1fSApple OSS Distributions
357*e3723e1fSApple OSS Distributions#if NFSSERVER	/* XXX */
358*e3723e1fSApple OSS Distributions248	AUE_FHOPEN	ALL	{ int fhopen(const struct fhandle *u_fhp, int flags); }
359*e3723e1fSApple OSS Distributions#else
360*e3723e1fSApple OSS Distributions248	AUE_NULL	ALL	{ int nosys(void); }
361*e3723e1fSApple OSS Distributions#endif
362*e3723e1fSApple OSS Distributions
363*e3723e1fSApple OSS Distributions249	AUE_NULL	ALL	{ int nosys(void); }
364*e3723e1fSApple OSS Distributions250	AUE_MINHERIT	ALL	{ int minherit(caddr_ut addr, size_ut len, int inherit); }
365*e3723e1fSApple OSS Distributions#if SYSV_SEM
366*e3723e1fSApple OSS Distributions251	AUE_SEMSYS	ALL	{ int semsys(u_int which, int a2, int a3, int a4, int a5) NO_SYSCALL_STUB; }
367*e3723e1fSApple OSS Distributions#else
368*e3723e1fSApple OSS Distributions251	AUE_NULL	ALL	{ int nosys(void); }
369*e3723e1fSApple OSS Distributions#endif
370*e3723e1fSApple OSS Distributions#if SYSV_MSG
371*e3723e1fSApple OSS Distributions252	AUE_MSGSYS	ALL	{ int msgsys(u_int which, int a2, int a3, int a4, int a5) NO_SYSCALL_STUB; }
372*e3723e1fSApple OSS Distributions#else
373*e3723e1fSApple OSS Distributions252	AUE_NULL	ALL	{ int nosys(void); }
374*e3723e1fSApple OSS Distributions#endif
375*e3723e1fSApple OSS Distributions#if SYSV_SHM
376*e3723e1fSApple OSS Distributions253	AUE_SHMSYS	ALL	{ int shmsys(u_int which, int a2, int a3, int a4) NO_SYSCALL_STUB; }
377*e3723e1fSApple OSS Distributions#else
378*e3723e1fSApple OSS Distributions253	AUE_NULL	ALL	{ int nosys(void); }
379*e3723e1fSApple OSS Distributions#endif
380*e3723e1fSApple OSS Distributions#if SYSV_SEM
381*e3723e1fSApple OSS Distributions254	AUE_SEMCTL	ALL	{ int semctl(int semid, int semnum, int cmd, semun_t arg) NO_SYSCALL_STUB; }
382*e3723e1fSApple OSS Distributions255	AUE_SEMGET	ALL	{ int semget(key_t key, int	nsems, int semflg); }
383*e3723e1fSApple OSS Distributions256	AUE_SEMOP	ALL	{ int semop(int semid, struct sembuf *sops, int nsops); }
384*e3723e1fSApple OSS Distributions257	AUE_NULL	ALL	{ int nosys(void); }	{ old semconfig }
385*e3723e1fSApple OSS Distributions#else
386*e3723e1fSApple OSS Distributions254	AUE_NULL	ALL	{ int nosys(void); }
387*e3723e1fSApple OSS Distributions255	AUE_NULL	ALL	{ int nosys(void); }
388*e3723e1fSApple OSS Distributions256	AUE_NULL	ALL	{ int nosys(void); }
389*e3723e1fSApple OSS Distributions257	AUE_NULL	ALL	{ int nosys(void); }
390*e3723e1fSApple OSS Distributions#endif
391*e3723e1fSApple OSS Distributions#if SYSV_MSG
392*e3723e1fSApple OSS Distributions258	AUE_MSGCTL	ALL	{ int msgctl(int msqid, int cmd, struct	msqid_ds *buf) NO_SYSCALL_STUB; }
393*e3723e1fSApple OSS Distributions259	AUE_MSGGET	ALL	{ int msgget(key_t key, int msgflg); }
394*e3723e1fSApple OSS Distributions260	AUE_MSGSND	ALL	{ int msgsnd(int msqid, void *msgp, size_t msgsz, int msgflg); }
395*e3723e1fSApple OSS Distributions261	AUE_MSGRCV	ALL	{ user_ssize_t msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); }
396*e3723e1fSApple OSS Distributions#else
397*e3723e1fSApple OSS Distributions258	AUE_NULL	ALL	{ int nosys(void); }
398*e3723e1fSApple OSS Distributions259	AUE_NULL	ALL	{ int nosys(void); }
399*e3723e1fSApple OSS Distributions260	AUE_NULL	ALL	{ int nosys(void); }
400*e3723e1fSApple OSS Distributions261	AUE_NULL	ALL	{ int nosys(void); }
401*e3723e1fSApple OSS Distributions#endif
402*e3723e1fSApple OSS Distributions#if SYSV_SHM
403*e3723e1fSApple OSS Distributions262	AUE_SHMAT	ALL	{ user_addr_t shmat(int shmid, void *shmaddr, int shmflg); }
404*e3723e1fSApple OSS Distributions263	AUE_SHMCTL	ALL	{ int shmctl(int shmid, int cmd, struct shmid_ds *buf) NO_SYSCALL_STUB; }
405*e3723e1fSApple OSS Distributions264	AUE_SHMDT	ALL	{ int shmdt(void *shmaddr); }
406*e3723e1fSApple OSS Distributions265	AUE_SHMGET	ALL	{ int shmget(key_t key, size_t size, int shmflg); }
407*e3723e1fSApple OSS Distributions#else
408*e3723e1fSApple OSS Distributions262	AUE_NULL	ALL	{ int nosys(void); }
409*e3723e1fSApple OSS Distributions263	AUE_NULL	ALL	{ int nosys(void); }
410*e3723e1fSApple OSS Distributions264	AUE_NULL	ALL	{ int nosys(void); }
411*e3723e1fSApple OSS Distributions265	AUE_NULL	ALL	{ int nosys(void); }
412*e3723e1fSApple OSS Distributions#endif
413*e3723e1fSApple OSS Distributions266	AUE_SHMOPEN	ALL	{ int shm_open(const char *name, int oflag, int mode) NO_SYSCALL_STUB; }
414*e3723e1fSApple OSS Distributions267	AUE_SHMUNLINK	ALL	{ int shm_unlink(const char *name); }
415*e3723e1fSApple OSS Distributions268	AUE_SEMOPEN	ALL	{ user_addr_t sem_open(const char *name, int oflag, int mode, int value) NO_SYSCALL_STUB; }
416*e3723e1fSApple OSS Distributions269	AUE_SEMCLOSE	ALL	{ int sem_close(sem_t *sem); }
417*e3723e1fSApple OSS Distributions270	AUE_SEMUNLINK	ALL	{ int sem_unlink(const char *name); }
418*e3723e1fSApple OSS Distributions271	AUE_SEMWAIT	ALL	{ int sem_wait(sem_t *sem); }
419*e3723e1fSApple OSS Distributions272	AUE_SEMTRYWAIT	ALL	{ int sem_trywait(sem_t *sem); }
420*e3723e1fSApple OSS Distributions273	AUE_SEMPOST	ALL	{ int sem_post(sem_t *sem); }
421*e3723e1fSApple OSS Distributions274	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; }
422*e3723e1fSApple OSS Distributions275	AUE_NULL	ALL	{ int enosys(void); } { old sem_init }
423*e3723e1fSApple OSS Distributions276	AUE_NULL	ALL	{ int enosys(void); } { old sem_destroy }
424*e3723e1fSApple OSS Distributions277	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; }
425*e3723e1fSApple OSS Distributions278	AUE_UMASK_EXTENDED	ALL	{ int umask_extended(int newmask, user_addr_t xsecurity) NO_SYSCALL_STUB; }
426*e3723e1fSApple OSS Distributions279	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; }
427*e3723e1fSApple OSS Distributions280	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; }
428*e3723e1fSApple OSS Distributions281	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; }
429*e3723e1fSApple OSS Distributions282	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; }
430*e3723e1fSApple OSS Distributions283	AUE_FCHMOD_EXTENDED	ALL	{ int fchmod_extended(int fd, uid_t uid, gid_t gid, int mode, user_addr_t xsecurity) NO_SYSCALL_STUB; }
431*e3723e1fSApple OSS Distributions284	AUE_ACCESS_EXTENDED	ALL	{ int access_extended(user_addr_t entries, size_t size, user_addr_t results, uid_t uid) NO_SYSCALL_STUB; }
432*e3723e1fSApple OSS Distributions285	AUE_SETTID	ALL	{ int sys_settid(uid_t uid, gid_t gid) NO_SYSCALL_STUB; }
433*e3723e1fSApple OSS Distributions286	AUE_GETTID	ALL	{ int gettid(uid_t *uidp, gid_t *gidp) NO_SYSCALL_STUB; }
434*e3723e1fSApple OSS Distributions287	AUE_SETSGROUPS	ALL	{ int setsgroups(int setlen, user_addr_t guidset) NO_SYSCALL_STUB; }
435*e3723e1fSApple OSS Distributions288	AUE_GETSGROUPS	ALL	{ int getsgroups(user_addr_t setlen, user_addr_t guidset) NO_SYSCALL_STUB; }
436*e3723e1fSApple OSS Distributions289	AUE_SETWGROUPS	ALL	{ int setwgroups(int setlen, user_addr_t guidset) NO_SYSCALL_STUB; }
437*e3723e1fSApple OSS Distributions290	AUE_GETWGROUPS	ALL	{ int getwgroups(user_addr_t setlen, user_addr_t guidset) NO_SYSCALL_STUB; }
438*e3723e1fSApple OSS Distributions291	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; }
439*e3723e1fSApple OSS Distributions292	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; }
440*e3723e1fSApple OSS Distributions#if CONFIG_EXT_RESOLVER
441*e3723e1fSApple OSS Distributions293	AUE_IDENTITYSVC	ALL	{ int identitysvc(int opcode, user_addr_t message) NO_SYSCALL_STUB; }
442*e3723e1fSApple OSS Distributions#else
443*e3723e1fSApple OSS Distributions293	AUE_NULL	ALL	{ int nosys(void); }
444*e3723e1fSApple OSS Distributions#endif
445*e3723e1fSApple OSS Distributions294	AUE_NULL	ALL	{ int shared_region_check_np(uint64_t *start_address) NO_SYSCALL_STUB; }
446*e3723e1fSApple OSS Distributions295	AUE_NULL	ALL	{ int nosys(void); } { old shared_region_map_np }
447*e3723e1fSApple OSS Distributions296	AUE_NULL	ALL	{ int vm_pressure_monitor(int wait_for_pressure, int nsecs_monitored, uint32_t *pages_reclaimed); }
448*e3723e1fSApple OSS Distributions#if PSYNCH
449*e3723e1fSApple OSS Distributions297	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; }
450*e3723e1fSApple OSS Distributions298	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; }
451*e3723e1fSApple OSS Distributions299	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; }
452*e3723e1fSApple OSS Distributions300	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; }
453*e3723e1fSApple OSS Distributions301	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; }
454*e3723e1fSApple OSS Distributions302	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; }
455*e3723e1fSApple OSS Distributions303	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; }
456*e3723e1fSApple OSS Distributions304	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; }
457*e3723e1fSApple OSS Distributions305	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; }
458*e3723e1fSApple OSS Distributions306	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; }
459*e3723e1fSApple OSS Distributions307	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; }
460*e3723e1fSApple OSS Distributions308	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; }
461*e3723e1fSApple OSS Distributions309	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; }
462*e3723e1fSApple OSS Distributions#else
463*e3723e1fSApple OSS Distributions297	AUE_NULL	ALL	{ int nosys(void); } { old reset_shared_file }
464*e3723e1fSApple OSS Distributions298	AUE_NULL	ALL	{ int nosys(void); } { old new_system_shared_regions }
465*e3723e1fSApple OSS Distributions299	AUE_NULL	ALL	{ int enosys(void); } { old shared_region_map_file_np }
466*e3723e1fSApple OSS Distributions300	AUE_NULL	ALL	{ int enosys(void); } { old shared_region_make_private_np }
467*e3723e1fSApple OSS Distributions301	AUE_NULL	ALL	{ int nosys(void); }
468*e3723e1fSApple OSS Distributions302	AUE_NULL	ALL	{ int nosys(void); }
469*e3723e1fSApple OSS Distributions303	AUE_NULL	ALL	{ int nosys(void); }
470*e3723e1fSApple OSS Distributions304	AUE_NULL	ALL	{ int nosys(void); }
471*e3723e1fSApple OSS Distributions305	AUE_NULL	ALL	{ int nosys(void); }
472*e3723e1fSApple OSS Distributions306	AUE_NULL	ALL	{ int nosys(void); }
473*e3723e1fSApple OSS Distributions307	AUE_NULL	ALL	{ int nosys(void); }
474*e3723e1fSApple OSS Distributions308	AUE_NULL	ALL	{ int nosys(void); }
475*e3723e1fSApple OSS Distributions309	AUE_NULL	ALL	{ int nosys(void); }
476*e3723e1fSApple OSS Distributions#endif
477*e3723e1fSApple OSS Distributions310	AUE_GETSID	ALL	{ int getsid(pid_t pid); }
478*e3723e1fSApple OSS Distributions311	AUE_SETTIDWITHPID	ALL	{ int sys_settid_with_pid(pid_t pid, int assume) NO_SYSCALL_STUB; }
479*e3723e1fSApple OSS Distributions#if PSYNCH
480*e3723e1fSApple OSS Distributions312	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; }
481*e3723e1fSApple OSS Distributions#else
482*e3723e1fSApple OSS Distributions312	AUE_NULL	ALL	{ int nosys(void); } { old __pthread_cond_timedwait }
483*e3723e1fSApple OSS Distributions#endif
484*e3723e1fSApple OSS Distributions313	AUE_NULL	ALL	{ int aio_fsync(int op, user_addr_t aiocbp); }
485*e3723e1fSApple OSS Distributions314 	AUE_NULL	ALL	{ user_ssize_t aio_return(user_addr_t aiocbp); }
486*e3723e1fSApple OSS Distributions315	AUE_NULL	ALL	{ int aio_suspend(user_addr_t aiocblist, int nent, user_addr_t timeoutp); }
487*e3723e1fSApple OSS Distributions316	AUE_NULL	ALL	{ int aio_cancel(int fd, user_addr_t aiocbp); }
488*e3723e1fSApple OSS Distributions317	AUE_NULL	ALL	{ int aio_error(user_addr_t aiocbp); }
489*e3723e1fSApple OSS Distributions318	AUE_NULL	ALL	{ int aio_read(user_addr_t aiocbp); }
490*e3723e1fSApple OSS Distributions319	AUE_NULL	ALL	{ int aio_write(user_addr_t aiocbp); }
491*e3723e1fSApple OSS Distributions320	AUE_LIOLISTIO	ALL	{ int lio_listio(int mode, user_addr_t aiocblist, int nent, user_addr_t sigp); }
492*e3723e1fSApple OSS Distributions321	AUE_NULL	ALL	{ int nosys(void); } { old __pthread_cond_wait }
493*e3723e1fSApple OSS Distributions322	AUE_IOPOLICYSYS	ALL	{ int iopolicysys(int cmd, void *arg) NO_SYSCALL_STUB; }
494*e3723e1fSApple OSS Distributions323	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; }
495*e3723e1fSApple OSS Distributions324	AUE_MLOCKALL	ALL	{ int mlockall(int how); }
496*e3723e1fSApple OSS Distributions325	AUE_MUNLOCKALL	ALL	{ int munlockall(int how); }
497*e3723e1fSApple OSS Distributions326	AUE_NULL	ALL	{ int nosys(void); }
498*e3723e1fSApple OSS Distributions327	AUE_ISSETUGID	ALL	{ int issetugid(void); }
499*e3723e1fSApple OSS Distributions328	AUE_PTHREADKILL	ALL	{ int __pthread_kill(int thread_port, int sig); }
500*e3723e1fSApple OSS Distributions329	AUE_PTHREADSIGMASK	ALL	{ int __pthread_sigmask(int how, user_addr_t set, user_addr_t oset); }
501*e3723e1fSApple OSS Distributions330	AUE_SIGWAIT	ALL	{ int __sigwait(user_addr_t set, user_addr_t sig); }
502*e3723e1fSApple OSS Distributions331	AUE_NULL	ALL	{ int __disable_threadsignal(int value); }
503*e3723e1fSApple OSS Distributions332	AUE_NULL	ALL	{ int __pthread_markcancel(int thread_port); }
504*e3723e1fSApple OSS Distributions333	AUE_NULL	ALL	{ int __pthread_canceled(int  action); }
505*e3723e1fSApple OSS Distributions
506*e3723e1fSApple OSS Distributions;#if OLD_SEMWAIT_SIGNAL
507*e3723e1fSApple OSS Distributions;334	AUE_NULL	ALL	{ int nosys(void); }   { old __semwait_signal }
508*e3723e1fSApple OSS Distributions;#else
509*e3723e1fSApple OSS Distributions334     AUE_SEMWAITSIGNAL       ALL     { int __semwait_signal(int cond_sem, int mutex_sem, int timeout, int relative, int64_t tv_sec, int32_t tv_nsec); }
510*e3723e1fSApple OSS Distributions;#endif
511*e3723e1fSApple OSS Distributions
512*e3723e1fSApple OSS Distributions335	AUE_NULL	ALL	{ int nosys(void); }   { old utrace }
513*e3723e1fSApple OSS Distributions336	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; }
514*e3723e1fSApple OSS Distributions#if SENDFILE
515*e3723e1fSApple OSS Distributions337	AUE_SENDFILE	ALL	{ int sendfile(int fd, int s, off_t offset, off_t *nbytes, struct sf_hdtr *hdtr, int flags); }
516*e3723e1fSApple OSS Distributions#else /* !SENDFILE */
517*e3723e1fSApple OSS Distributions337	AUE_NULL	ALL	{ int nosys(void); }
518*e3723e1fSApple OSS Distributions#endif /* SENDFILE */
519*e3723e1fSApple OSS Distributions338	AUE_STAT64	ALL	{ int stat64(user_addr_t path, user_addr_t ub); }
520*e3723e1fSApple OSS Distributions339	AUE_FSTAT64	ALL	{ int sys_fstat64(int fd, user_addr_t ub); }
521*e3723e1fSApple OSS Distributions340	AUE_LSTAT64	ALL	{ int lstat64(user_addr_t path, user_addr_t ub); }
522*e3723e1fSApple OSS Distributions341	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; }
523*e3723e1fSApple OSS Distributions342	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; }
524*e3723e1fSApple OSS Distributions343	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; }
525*e3723e1fSApple OSS Distributions344	AUE_GETDIRENTRIES64	ALL	{ user_ssize_t getdirentries64(int fd, void *buf, user_size_t bufsize, off_t *position) NO_SYSCALL_STUB; }
526*e3723e1fSApple OSS Distributions345	AUE_STATFS64	ALL	{ int statfs64(char *path, struct statfs64 *buf); }
527*e3723e1fSApple OSS Distributions346	AUE_FSTATFS64	ALL	{ int fstatfs64(int fd, struct statfs64 *buf); }
528*e3723e1fSApple OSS Distributions347	AUE_GETFSSTAT64	ALL	{ int getfsstat64(user_addr_t buf, int bufsize, int flags); }
529*e3723e1fSApple OSS Distributions348	AUE_NULL	ALL	{ int __pthread_chdir(user_addr_t path); }
530*e3723e1fSApple OSS Distributions349	AUE_NULL	ALL	{ int __pthread_fchdir(int fd); }
531*e3723e1fSApple OSS Distributions350	AUE_AUDIT	ALL	{ int audit(void *record, int length); }
532*e3723e1fSApple OSS Distributions351	AUE_AUDITON	ALL	{ int auditon(int cmd, void *data, int length); }
533*e3723e1fSApple OSS Distributions352	AUE_NULL	ALL	{ int nosys(void); }
534*e3723e1fSApple OSS Distributions353	AUE_GETAUID	ALL	{ int getauid(au_id_t *auid); }
535*e3723e1fSApple OSS Distributions354	AUE_SETAUID	ALL	{ int setauid(au_id_t *auid); }
536*e3723e1fSApple OSS Distributions355	AUE_NULL	ALL	{ int nosys(void); }	{ old getaudit }
537*e3723e1fSApple OSS Distributions356	AUE_NULL	ALL	{ int nosys(void); }	{ old setaudit }
538*e3723e1fSApple OSS Distributions357	AUE_GETAUDIT_ADDR	ALL	{ int getaudit_addr(struct auditinfo_addr *auditinfo_addr, int length); }
539*e3723e1fSApple OSS Distributions358	AUE_SETAUDIT_ADDR	ALL	{ int setaudit_addr(struct auditinfo_addr *auditinfo_addr, int length); }
540*e3723e1fSApple OSS Distributions359	AUE_AUDITCTL	ALL	{ int auditctl(char *path); }
541*e3723e1fSApple OSS Distributions360	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; }
542*e3723e1fSApple OSS Distributions361	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; }
543*e3723e1fSApple OSS Distributions362	AUE_KQUEUE	ALL	{ int kqueue(void); }
544*e3723e1fSApple OSS Distributions363	AUE_NULL	ALL	{ int kevent(int fd, const struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); }
545*e3723e1fSApple OSS Distributions364	AUE_LCHOWN	ALL	{ int lchown(user_addr_t path, uid_t owner, gid_t group) NO_SYSCALL_STUB; }
546*e3723e1fSApple OSS Distributions365	AUE_NULL	ALL	{ int nosys(void); }	{ old stack_snapshot }
547*e3723e1fSApple OSS Distributions366	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; }
548*e3723e1fSApple OSS Distributions367	AUE_WORKQOPEN	ALL	{ int workq_open(void) NO_SYSCALL_STUB; }
549*e3723e1fSApple OSS Distributions368	AUE_WORKQOPS	ALL	{ int workq_kernreturn(int options, user_addr_t item, int affinity, int prio) NO_SYSCALL_STUB; }
550*e3723e1fSApple OSS Distributions369	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); }
551*e3723e1fSApple OSS Distributions370     AUE_NULL        ALL     { int nosys(void); }   { old __semwait_signal }
552*e3723e1fSApple OSS Distributions371     AUE_NULL        ALL     { int nosys(void); }   { old __semwait_signal }
553*e3723e1fSApple OSS Distributions372	AUE_NULL	ALL	{ uint64_t thread_selfid (void) NO_SYSCALL_STUB; }
554*e3723e1fSApple OSS Distributions373	AUE_LEDGER	ALL	{ int ledger(int cmd, caddr_t arg1, caddr_t arg2, caddr_t arg3); }
555*e3723e1fSApple OSS Distributions374	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); }
556*e3723e1fSApple OSS Distributions375	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); }
557*e3723e1fSApple OSS Distributions376	AUE_NULL	ALL	{ int nosys(void); }
558*e3723e1fSApple OSS Distributions377	AUE_NULL	ALL	{ int nosys(void); }
559*e3723e1fSApple OSS Distributions378	AUE_NULL	ALL	{ int nosys(void); }
560*e3723e1fSApple OSS Distributions379	AUE_NULL	ALL	{ int nosys(void); }
561*e3723e1fSApple OSS Distributions380	AUE_MAC_EXECVE	ALL	{ int __mac_execve(char *fname, char **argp, char **envp, struct mac *mac_p); }
562*e3723e1fSApple OSS Distributions#if CONFIG_MACF
563*e3723e1fSApple OSS Distributions381	AUE_MAC_SYSCALL	ALL	{ int __mac_syscall(char *policy, int call, user_addr_t arg); }
564*e3723e1fSApple OSS Distributions382	AUE_MAC_GET_FILE	ALL	{ int __mac_get_file(char *path_p, struct mac *mac_p); }
565*e3723e1fSApple OSS Distributions383	AUE_MAC_SET_FILE	ALL	{ int __mac_set_file(char *path_p, struct mac *mac_p); }
566*e3723e1fSApple OSS Distributions384	AUE_MAC_GET_LINK	ALL	{ int __mac_get_link(char *path_p, struct mac *mac_p); }
567*e3723e1fSApple OSS Distributions385	AUE_MAC_SET_LINK	ALL	{ int __mac_set_link(char *path_p, struct mac *mac_p); }
568*e3723e1fSApple OSS Distributions386	AUE_MAC_GET_PROC	ALL	{ int __mac_get_proc(struct mac *mac_p); }
569*e3723e1fSApple OSS Distributions387	AUE_MAC_SET_PROC	ALL	{ int __mac_set_proc(struct mac *mac_p); }
570*e3723e1fSApple OSS Distributions388	AUE_MAC_GET_FD	ALL	{ int __mac_get_fd(int fd, struct mac *mac_p); }
571*e3723e1fSApple OSS Distributions389	AUE_MAC_SET_FD	ALL	{ int __mac_set_fd(int fd, struct mac *mac_p); }
572*e3723e1fSApple OSS Distributions390	AUE_MAC_GET_PID	ALL	{ int __mac_get_pid(pid_t pid, struct mac *mac_p); }
573*e3723e1fSApple OSS Distributions#else
574*e3723e1fSApple OSS Distributions381     AUE_MAC_SYSCALL ALL     { int enosys(void); }
575*e3723e1fSApple OSS Distributions382     AUE_MAC_GET_FILE        ALL     { int nosys(void); }
576*e3723e1fSApple OSS Distributions383     AUE_MAC_SET_FILE        ALL     { int nosys(void); }
577*e3723e1fSApple OSS Distributions384     AUE_MAC_GET_LINK        ALL     { int nosys(void); }
578*e3723e1fSApple OSS Distributions385     AUE_MAC_SET_LINK        ALL     { int nosys(void); }
579*e3723e1fSApple OSS Distributions386     AUE_MAC_GET_PROC        ALL     { int nosys(void); }
580*e3723e1fSApple OSS Distributions387     AUE_MAC_SET_PROC        ALL     { int nosys(void); }
581*e3723e1fSApple OSS Distributions388     AUE_MAC_GET_FD  ALL     { int nosys(void); }
582*e3723e1fSApple OSS Distributions389     AUE_MAC_SET_FD  ALL     { int nosys(void); }
583*e3723e1fSApple OSS Distributions390     AUE_MAC_GET_PID ALL     { int nosys(void); }
584*e3723e1fSApple OSS Distributions#endif
585*e3723e1fSApple OSS Distributions391	AUE_NULL	ALL	{ int enosys(void); }
586*e3723e1fSApple OSS Distributions392	AUE_NULL	ALL	{ int enosys(void); }
587*e3723e1fSApple OSS Distributions393	AUE_NULL	ALL	{ int enosys(void); }
588*e3723e1fSApple OSS Distributions394	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; }
589*e3723e1fSApple OSS Distributions395	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; }
590*e3723e1fSApple OSS Distributions396	AUE_NULL	ALL	{ user_ssize_t read_nocancel(int fd, user_addr_t cbuf, user_size_t nbyte) NO_SYSCALL_STUB; }
591*e3723e1fSApple OSS Distributions397	AUE_NULL	ALL	{ user_ssize_t write_nocancel(int fd, user_addr_t cbuf, user_size_t nbyte) NO_SYSCALL_STUB; }
592*e3723e1fSApple OSS Distributions398	AUE_OPEN_RWTC	ALL	{ int open_nocancel(user_addr_t path, int flags, int mode) NO_SYSCALL_STUB; }
593*e3723e1fSApple OSS Distributions399	AUE_CLOSE	ALL	{ int sys_close_nocancel(int fd) NO_SYSCALL_STUB; }
594*e3723e1fSApple OSS Distributions400	AUE_WAIT4	ALL	{ int wait4_nocancel(int pid, user_addr_t status, int options, user_addr_t rusage) NO_SYSCALL_STUB; }
595*e3723e1fSApple OSS Distributions#if SOCKETS
596*e3723e1fSApple OSS Distributions401	AUE_RECVMSG	ALL	{ int recvmsg_nocancel(int s, struct msghdr *msg, int flags) NO_SYSCALL_STUB; }
597*e3723e1fSApple OSS Distributions402	AUE_SENDMSG	ALL	{ int sendmsg_nocancel(int s, caddr_t msg, int flags) NO_SYSCALL_STUB; }
598*e3723e1fSApple OSS Distributions403	AUE_RECVFROM	ALL	{ int recvfrom_nocancel(int s, void *buf, size_t len, int flags, struct sockaddr *from, int *fromlenaddr) NO_SYSCALL_STUB; }
599*e3723e1fSApple OSS Distributions404	AUE_ACCEPT	ALL	{ int accept_nocancel(int s, caddr_t name, socklen_t	*anamelen) NO_SYSCALL_STUB; }
600*e3723e1fSApple OSS Distributions#else
601*e3723e1fSApple OSS Distributions401	AUE_NULL	ALL	{ int nosys(void); }
602*e3723e1fSApple OSS Distributions402	AUE_NULL	ALL	{ int nosys(void); }
603*e3723e1fSApple OSS Distributions403	AUE_NULL	ALL	{ int nosys(void); }
604*e3723e1fSApple OSS Distributions404	AUE_NULL	ALL	{ int nosys(void); }
605*e3723e1fSApple OSS Distributions#endif /* SOCKETS */
606*e3723e1fSApple OSS Distributions405	AUE_MSYNC	ALL	{ int msync_nocancel(caddr_ut addr, size_ut len, int flags) NO_SYSCALL_STUB; }
607*e3723e1fSApple OSS Distributions406	AUE_FCNTL	ALL	{ int sys_fcntl_nocancel(int fd, int cmd, long arg) NO_SYSCALL_STUB; }
608*e3723e1fSApple OSS Distributions407	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; }
609*e3723e1fSApple OSS Distributions408	AUE_FSYNC	ALL	{ int fsync_nocancel(int fd) NO_SYSCALL_STUB; }
610*e3723e1fSApple OSS Distributions#if SOCKETS
611*e3723e1fSApple OSS Distributions409	AUE_CONNECT	ALL	{ int connect_nocancel(int s, caddr_t name, socklen_t namelen) NO_SYSCALL_STUB; }
612*e3723e1fSApple OSS Distributions#else
613*e3723e1fSApple OSS Distributions409	AUE_NULL	ALL	{ int nosys(void); }
614*e3723e1fSApple OSS Distributions#endif /* SOCKETS */
615*e3723e1fSApple OSS Distributions410	AUE_NULL	ALL	{ int sigsuspend_nocancel(sigset_t mask) NO_SYSCALL_STUB; }
616*e3723e1fSApple OSS Distributions411	AUE_READV	ALL	{ user_ssize_t readv_nocancel(int fd, struct iovec *iovp, u_int iovcnt) NO_SYSCALL_STUB; }
617*e3723e1fSApple OSS Distributions412	AUE_WRITEV	ALL	{ user_ssize_t writev_nocancel(int fd, struct iovec *iovp, u_int iovcnt) NO_SYSCALL_STUB; }
618*e3723e1fSApple OSS Distributions#if SOCKETS
619*e3723e1fSApple OSS Distributions413	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; }
620*e3723e1fSApple OSS Distributions#else
621*e3723e1fSApple OSS Distributions413	AUE_NULL	ALL	{ int nosys(void); }
622*e3723e1fSApple OSS Distributions#endif /* SOCKETS */
623*e3723e1fSApple OSS Distributions414	AUE_PREAD	ALL	{ user_ssize_t pread_nocancel(int fd, user_addr_t buf, user_size_t nbyte, off_t offset) NO_SYSCALL_STUB; }
624*e3723e1fSApple OSS Distributions415	AUE_PWRITE	ALL	{ user_ssize_t pwrite_nocancel(int fd, user_addr_t buf, user_size_t nbyte, off_t offset) NO_SYSCALL_STUB; }
625*e3723e1fSApple OSS Distributions416	AUE_WAITID	ALL	{ int waitid_nocancel(idtype_t idtype, id_t id, siginfo_t *infop, int options) NO_SYSCALL_STUB; }
626*e3723e1fSApple OSS Distributions417	AUE_POLL	ALL	{ int poll_nocancel(struct pollfd *fds, u_int nfds, int timeout) NO_SYSCALL_STUB; }
627*e3723e1fSApple OSS Distributions#if SYSV_MSG
628*e3723e1fSApple OSS Distributions418	AUE_MSGSND	ALL	{ int msgsnd_nocancel(int msqid, void *msgp, size_t msgsz, int msgflg) NO_SYSCALL_STUB; }
629*e3723e1fSApple OSS Distributions419	AUE_MSGRCV	ALL	{ user_ssize_t msgrcv_nocancel(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg) NO_SYSCALL_STUB; }
630*e3723e1fSApple OSS Distributions#else
631*e3723e1fSApple OSS Distributions418	AUE_NULL	ALL	{ int nosys(void); }
632*e3723e1fSApple OSS Distributions419	AUE_NULL	ALL	{ int nosys(void); }
633*e3723e1fSApple OSS Distributions#endif
634*e3723e1fSApple OSS Distributions420	AUE_SEMWAIT	ALL	{ int sem_wait_nocancel(sem_t *sem) NO_SYSCALL_STUB; }
635*e3723e1fSApple OSS Distributions421	AUE_NULL	ALL	{ int aio_suspend_nocancel(user_addr_t aiocblist, int nent, user_addr_t timeoutp) NO_SYSCALL_STUB; }
636*e3723e1fSApple OSS Distributions422	AUE_SIGWAIT	ALL	{ int __sigwait_nocancel(user_addr_t set, user_addr_t sig) NO_SYSCALL_STUB; }
637*e3723e1fSApple OSS Distributions423     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); }
638*e3723e1fSApple OSS Distributions424	AUE_MAC_MOUNT	ALL	{ int __mac_mount(char *type, char *path, int flags, caddr_t data, struct mac *mac_p); }
639*e3723e1fSApple OSS Distributions#if CONFIG_MACF
640*e3723e1fSApple OSS Distributions425	AUE_MAC_GET_MOUNT	ALL	{ int __mac_get_mount(char *path, struct mac *mac_p); }
641*e3723e1fSApple OSS Distributions#else
642*e3723e1fSApple OSS Distributions425     AUE_MAC_GET_MOUNT       ALL     { int nosys(void); }
643*e3723e1fSApple OSS Distributions#endif
644*e3723e1fSApple OSS Distributions426	AUE_MAC_GETFSSTAT	ALL	{ int __mac_getfsstat(user_addr_t buf, int bufsize, user_addr_t mac, int macsize, int flags); }
645*e3723e1fSApple OSS Distributions427	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) }
646*e3723e1fSApple OSS Distributions428	AUE_NULL	ALL	{ mach_port_name_t audit_session_self(void); }
647*e3723e1fSApple OSS Distributions429	AUE_NULL	ALL	{ int audit_session_join(mach_port_name_t port); }
648*e3723e1fSApple OSS Distributions430	AUE_NULL	ALL	{ int sys_fileport_makeport(int fd, user_addr_t portnamep); }
649*e3723e1fSApple OSS Distributions431	AUE_NULL	ALL	{ int sys_fileport_makefd(mach_port_name_t port); }
650*e3723e1fSApple OSS Distributions432	AUE_NULL	ALL	{ int audit_session_port(au_asid_t asid, user_addr_t portnamep); }
651*e3723e1fSApple OSS Distributions433	AUE_NULL	ALL	{ int pid_suspend(int pid); }
652*e3723e1fSApple OSS Distributions434	AUE_NULL	ALL	{ int pid_resume(int pid); }
653*e3723e1fSApple OSS Distributions#if CONFIG_EMBEDDED
654*e3723e1fSApple OSS Distributions435	AUE_NULL	ALL	{ int pid_hibernate(int pid); }
655*e3723e1fSApple OSS Distributions#else
656*e3723e1fSApple OSS Distributions435     AUE_NULL        ALL     { int nosys(void); }
657*e3723e1fSApple OSS Distributions#endif
658*e3723e1fSApple OSS Distributions#if SOCKETS
659*e3723e1fSApple OSS Distributions436	AUE_NULL	ALL	{ int pid_shutdown_sockets(int pid, int level); }
660*e3723e1fSApple OSS Distributions#else
661*e3723e1fSApple OSS Distributions436	AUE_NULL	ALL	{ int nosys(void); }
662*e3723e1fSApple OSS Distributions#endif
663*e3723e1fSApple OSS Distributions437	AUE_NULL	ALL	{ int nosys(void); } { old shared_region_slide_np }
664*e3723e1fSApple OSS Distributions438	AUE_NULL	ALL	{ int nosys(void); } { old shared_region_map_and_slide_np }
665*e3723e1fSApple OSS Distributions439	AUE_NULL	ALL	{ int kas_info(int selector, void *value, size_t *size); }
666*e3723e1fSApple OSS Distributions#if CONFIG_MEMORYSTATUS
667*e3723e1fSApple OSS Distributions440	AUE_NULL	ALL	{ int memorystatus_control(uint32_t command, int32_t pid, uint32_t flags, user_addr_t buffer, size_t buffersize); }
668*e3723e1fSApple OSS Distributions#else
669*e3723e1fSApple OSS Distributions440	AUE_NULL	ALL	{ int nosys(void); }
670*e3723e1fSApple OSS Distributions#endif
671*e3723e1fSApple OSS Distributions441	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; }
672*e3723e1fSApple OSS Distributions442	AUE_CLOSE	ALL	{ int guarded_close_np(int fd, const guardid_t *guard); }
673*e3723e1fSApple OSS Distributions443	AUE_KQUEUE	ALL	{ int guarded_kqueue_np(const guardid_t *guard, u_int guardflags); }
674*e3723e1fSApple OSS Distributions444	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); }
675*e3723e1fSApple OSS Distributions445	AUE_USRCTL	ALL	{ int usrctl(uint32_t flags); }
676*e3723e1fSApple OSS Distributions446	AUE_NULL	ALL	{ int proc_rlimit_control(pid_t pid, int flavor, void *arg); }
677*e3723e1fSApple OSS Distributions#if SOCKETS
678*e3723e1fSApple OSS Distributions447	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); }
679*e3723e1fSApple OSS Distributions448	AUE_NULL	ALL	{ int disconnectx(int s, sae_associd_t aid, sae_connid_t cid); }
680*e3723e1fSApple OSS Distributions449	AUE_NULL	ALL	{ int peeloff(int s, sae_associd_t aid); }
681*e3723e1fSApple OSS Distributions450	AUE_SOCKET	ALL	{ int socket_delegate(int domain, int type, int protocol, pid_t epid); }
682*e3723e1fSApple OSS Distributions#else
683*e3723e1fSApple OSS Distributions447	AUE_NULL	ALL	{ int nosys(void); }
684*e3723e1fSApple OSS Distributions448	AUE_NULL	ALL	{ int nosys(void); }
685*e3723e1fSApple OSS Distributions449	AUE_NULL	ALL	{ int nosys(void); }
686*e3723e1fSApple OSS Distributions450	AUE_NULL	ALL	{ int nosys(void); }
687*e3723e1fSApple OSS Distributions#endif /* SOCKETS */
688*e3723e1fSApple OSS Distributions451	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; }
689*e3723e1fSApple OSS Distributions#if CONFIG_PROC_UUID_POLICY
690*e3723e1fSApple OSS Distributions452	AUE_NULL	ALL	{ int proc_uuid_policy(uint32_t operation, uuid_t uuid, size_t uuidlen, uint32_t flags); }
691*e3723e1fSApple OSS Distributions#else
692*e3723e1fSApple OSS Distributions452	AUE_NULL	ALL	{ int nosys(void); }
693*e3723e1fSApple OSS Distributions#endif
694*e3723e1fSApple OSS Distributions#if CONFIG_MEMORYSTATUS
695*e3723e1fSApple OSS Distributions453	AUE_NULL	ALL	{ int memorystatus_get_level(user_addr_t level); }
696*e3723e1fSApple OSS Distributions#else
697*e3723e1fSApple OSS Distributions453	AUE_NULL	ALL	{ int nosys(void); }
698*e3723e1fSApple OSS Distributions#endif
699*e3723e1fSApple OSS Distributions454	AUE_NULL	ALL	{ int system_override(uint64_t timeout, uint64_t flags); }
700*e3723e1fSApple OSS Distributions455	AUE_NULL	ALL	{ int vfs_purge(void); }
701*e3723e1fSApple OSS Distributions456	AUE_NULL	ALL	{ int sfi_ctl(uint32_t operation, uint32_t sfi_class, uint64_t time, uint64_t *out_time) NO_SYSCALL_STUB; }
702*e3723e1fSApple OSS Distributions457	AUE_NULL	ALL	{ int sfi_pidctl(uint32_t operation, pid_t pid, uint32_t sfi_flags, uint32_t *out_sfi_flags) NO_SYSCALL_STUB; }
703*e3723e1fSApple OSS Distributions#if CONFIG_COALITIONS
704*e3723e1fSApple OSS Distributions458	AUE_NULL	ALL	{ int coalition(uint32_t operation, uint64_t *cid, uint32_t flags) NO_SYSCALL_STUB; }
705*e3723e1fSApple OSS Distributions459	AUE_NULL	ALL	{ int coalition_info(uint32_t flavor, uint64_t *cid, void *buffer, size_t *bufsize) NO_SYSCALL_STUB; }
706*e3723e1fSApple OSS Distributions#else
707*e3723e1fSApple OSS Distributions458	AUE_NULL	ALL	{ int enosys(void); }
708*e3723e1fSApple OSS Distributions459	AUE_NULL	ALL	{ int enosys(void); }
709*e3723e1fSApple OSS Distributions#endif /* COALITIONS */
710*e3723e1fSApple OSS Distributions#if NECP
711*e3723e1fSApple OSS Distributions460 AUE_NECP	ALL { int necp_match_policy(uint8_t *parameters, size_t parameters_size, struct necp_aggregate_result *returned_result); }
712*e3723e1fSApple OSS Distributions#else
713*e3723e1fSApple OSS Distributions460	AUE_NULL	ALL	{ int nosys(void); }
714*e3723e1fSApple OSS Distributions#endif /* NECP */
715*e3723e1fSApple OSS Distributions461	AUE_GETATTRLISTBULK	ALL	{ int getattrlistbulk(int dirfd, struct attrlist *alist, void *attributeBuffer, size_t bufferSize, uint64_t options); }
716*e3723e1fSApple OSS Distributions462	AUE_CLONEFILEAT	ALL     { int clonefileat(int src_dirfd, user_addr_t src, int dst_dirfd, user_addr_t dst, uint32_t flags); }
717*e3723e1fSApple OSS Distributions463	AUE_OPENAT_RWTC	ALL	{ int openat(int fd, user_addr_t path, int flags, int mode) NO_SYSCALL_STUB; }
718*e3723e1fSApple OSS Distributions464	AUE_OPENAT_RWTC	ALL	{ int openat_nocancel(int fd, user_addr_t path, int flags, int mode) NO_SYSCALL_STUB; }
719*e3723e1fSApple OSS Distributions465	AUE_RENAMEAT	ALL	{ int renameat(int fromfd, char *from, int tofd, char *to) NO_SYSCALL_STUB; }
720*e3723e1fSApple OSS Distributions466	AUE_FACCESSAT	ALL	{ int faccessat(int fd, user_addr_t path, int amode, int flag); }
721*e3723e1fSApple OSS Distributions467	AUE_FCHMODAT	ALL	{ int fchmodat(int fd, user_addr_t path, int mode, int flag); }
722*e3723e1fSApple OSS Distributions468	AUE_FCHOWNAT	ALL	{ int fchownat(int fd, user_addr_t path, uid_t uid,gid_t gid, int flag); }
723*e3723e1fSApple OSS Distributions469	AUE_FSTATAT	ALL	{ int fstatat(int fd, user_addr_t path, user_addr_t ub, int flag); }
724*e3723e1fSApple OSS Distributions470	AUE_FSTATAT	ALL	{ int fstatat64(int fd, user_addr_t path, user_addr_t ub, int flag); }
725*e3723e1fSApple OSS Distributions471	AUE_LINKAT	ALL	{ int linkat(int fd1, user_addr_t path, int fd2, user_addr_t link, int flag); }
726*e3723e1fSApple OSS Distributions472	AUE_UNLINKAT	ALL	{ int unlinkat(int fd, user_addr_t path, int flag) NO_SYSCALL_STUB; }
727*e3723e1fSApple OSS Distributions473	AUE_READLINKAT	ALL	{ int readlinkat(int fd, user_addr_t path, user_addr_t buf, size_t bufsize); }
728*e3723e1fSApple OSS Distributions474	AUE_SYMLINKAT	ALL	{ int symlinkat(user_addr_t *path1, int fd, user_addr_t path2); }
729*e3723e1fSApple OSS Distributions475	AUE_MKDIRAT	ALL	{ int mkdirat(int fd, user_addr_t path, int mode); }
730*e3723e1fSApple OSS Distributions476	AUE_GETATTRLISTAT	ALL	{ int getattrlistat(int fd, const char *path, struct attrlist *alist, void *attributeBuffer, size_t bufferSize, u_long options); }
731*e3723e1fSApple OSS Distributions477	AUE_NULL	ALL	{ int proc_trace_log(pid_t pid, uint64_t uniqueid); }
732*e3723e1fSApple OSS Distributions478	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; }
733*e3723e1fSApple OSS Distributions479	AUE_OPENBYID_RWT	ALL	{ int openbyid_np(user_addr_t fsid, user_addr_t objid, int oflags); }
734*e3723e1fSApple OSS Distributions#if SOCKETS
735*e3723e1fSApple OSS Distributions480	AUE_NULL	ALL	{ user_ssize_t recvmsg_x(int s, struct msghdr_x *msgp, u_int cnt, int flags); }
736*e3723e1fSApple OSS Distributions481	AUE_NULL	ALL	{ user_ssize_t sendmsg_x(int s, struct msghdr_x *msgp, u_int cnt, int flags); }
737*e3723e1fSApple OSS Distributions#else
738*e3723e1fSApple OSS Distributions480	AUE_NULL	ALL	{ int nosys(void); }
739*e3723e1fSApple OSS Distributions481	AUE_NULL	ALL	{ int nosys(void); }
740*e3723e1fSApple OSS Distributions#endif /* SOCKETS */
741*e3723e1fSApple OSS Distributions482	AUE_NULL	ALL	{ uint64_t thread_selfusage(void) NO_SYSCALL_STUB; }
742*e3723e1fSApple OSS Distributions#if CONFIG_CSR
743*e3723e1fSApple OSS Distributions483	AUE_NULL	ALL	{ int csrctl(uint32_t op, user_addr_t useraddr, user_addr_t usersize) NO_SYSCALL_STUB; }
744*e3723e1fSApple OSS Distributions#else
745*e3723e1fSApple OSS Distributions483	AUE_NULL	ALL	{ int enosys(void); }
746*e3723e1fSApple OSS Distributions#endif /* CSR */
747*e3723e1fSApple OSS Distributions484	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; }
748*e3723e1fSApple OSS Distributions485	AUE_NULL	ALL	{ user_ssize_t guarded_write_np(int fd, const guardid_t *guard, user_addr_t cbuf, user_size_t nbyte); }
749*e3723e1fSApple OSS Distributions486	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); }
750*e3723e1fSApple OSS Distributions487	AUE_WRITEV	ALL	{ user_ssize_t guarded_writev_np(int fd, const guardid_t *guard, struct iovec *iovp, int iovcnt); }
751*e3723e1fSApple OSS Distributions488	AUE_RENAMEAT	ALL	{ int renameatx_np(int fromfd, char *from, int tofd, char *to, u_int flags) NO_SYSCALL_STUB; }
752*e3723e1fSApple OSS Distributions#if CONFIG_CODE_DECRYPTION
753*e3723e1fSApple OSS Distributions489	AUE_MPROTECT	ALL	{ int mremap_encrypted(caddr_ut addr, size_ut len, uint32_t cryptid, uint32_t cputype, uint32_t cpusubtype); }
754*e3723e1fSApple OSS Distributions#else
755*e3723e1fSApple OSS Distributions489	AUE_NULL	ALL	{ int enosys(void); }
756*e3723e1fSApple OSS Distributions#endif
757*e3723e1fSApple OSS Distributions#if NETWORKING
758*e3723e1fSApple OSS Distributions490	AUE_NETAGENT	ALL	{ int netagent_trigger(uuid_t agent_uuid, size_t agent_uuidlen); }
759*e3723e1fSApple OSS Distributions#else
760*e3723e1fSApple OSS Distributions490	AUE_NULL	ALL	{ int nosys(void); }
761*e3723e1fSApple OSS Distributions#endif /* NETWORKING */
762*e3723e1fSApple OSS Distributions491	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; }
763*e3723e1fSApple OSS Distributions#if CONFIG_TELEMETRY
764*e3723e1fSApple OSS Distributions492	AUE_STACKSNAPSHOT ALL	{ int microstackshot(user_addr_t tracebuf, uint32_t tracebuf_size, uint32_t flags) NO_SYSCALL_STUB; }
765*e3723e1fSApple OSS Distributions#else
766*e3723e1fSApple OSS Distributions492	AUE_NULL	ALL { int enosys(void); }
767*e3723e1fSApple OSS Distributions#endif /* CONFIG_TELEMETRY */
768*e3723e1fSApple OSS Distributions#if PGO
769*e3723e1fSApple OSS Distributions493 	AUE_NULL	ALL	{ user_ssize_t grab_pgo_data (user_addr_t uuid, int flags, user_addr_t buffer, user_ssize_t size); }
770*e3723e1fSApple OSS Distributions#else
771*e3723e1fSApple OSS Distributions493	AUE_NULL	ALL { int enosys(void); }
772*e3723e1fSApple OSS Distributions#endif
773*e3723e1fSApple OSS Distributions#if CONFIG_PERSONAS
774*e3723e1fSApple OSS Distributions494	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; }
775*e3723e1fSApple OSS Distributions#else
776*e3723e1fSApple OSS Distributions494	AUE_NULL	ALL	{ int enosys(void); }
777*e3723e1fSApple OSS Distributions#endif
778*e3723e1fSApple OSS Distributions495	AUE_NULL	ALL	{ int enosys(void); }
779*e3723e1fSApple OSS Distributions496	AUE_NULL	ALL	{ uint64_t mach_eventlink_signal(mach_port_name_t eventlink_port, uint64_t signal_count) NO_SYSCALL_STUB; }
780*e3723e1fSApple OSS Distributions497	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; }
781*e3723e1fSApple OSS Distributions498	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; }
782*e3723e1fSApple OSS Distributions499	AUE_NULL	ALL	{ int work_interval_ctl(uint32_t operation, uint64_t work_interval_id, void *arg, size_t len) NO_SYSCALL_STUB; }
783*e3723e1fSApple OSS Distributions500	AUE_NULL	ALL	{ int getentropy(void *buffer, size_t size); }
784*e3723e1fSApple OSS Distributions#if NECP
785*e3723e1fSApple OSS Distributions501	AUE_NECP	ALL	{ int necp_open(int flags); } }
786*e3723e1fSApple OSS Distributions502	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); }
787*e3723e1fSApple OSS Distributions#else
788*e3723e1fSApple OSS Distributions501	AUE_NULL	ALL	{ int enosys(void); }
789*e3723e1fSApple OSS Distributions502	AUE_NULL	ALL	{ int enosys(void); }
790*e3723e1fSApple OSS Distributions#endif /* NECP */
791*e3723e1fSApple OSS Distributions#if SKYWALK
792*e3723e1fSApple OSS Distributions503	AUE_NEXUS	ALL	{ int __nexus_open(struct nxctl_init *init, uint32_t init_len); }
793*e3723e1fSApple OSS Distributions504	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); }
794*e3723e1fSApple OSS Distributions505	AUE_NEXUS	ALL	{ int __nexus_deregister(int ctl, uuid_t prov_uuid, uint32_t prov_uuid_len); }
795*e3723e1fSApple OSS Distributions506	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); }
796*e3723e1fSApple OSS Distributions507	AUE_NEXUS	ALL	{ int __nexus_destroy(int ctl, uuid_t nx_uuid, uint32_t nx_uuid_len); }
797*e3723e1fSApple OSS Distributions508	AUE_NEXUS	ALL	{ int __nexus_get_opt(int ctl, uint32_t opt, void *aoptval, uint32_t *aoptlen); }
798*e3723e1fSApple OSS Distributions509	AUE_NEXUS	ALL	{ int __nexus_set_opt(int ctl, uint32_t opt, const void *aoptval, uint32_t optlen); }
799*e3723e1fSApple OSS Distributions510	AUE_CHANNEL	ALL	{ int __channel_open(struct ch_init *init, uint32_t init_len); }
800*e3723e1fSApple OSS Distributions511	AUE_CHANNEL	ALL	{ int __channel_get_info(int c, struct ch_info *cinfo, uint32_t cinfolen); }
801*e3723e1fSApple OSS Distributions512	AUE_CHANNEL	ALL	{ int __channel_sync(int c, int mode, int flags); }
802*e3723e1fSApple OSS Distributions513	AUE_CHANNEL	ALL	{ int __channel_get_opt(int c, uint32_t opt, void *aoptval, uint32_t *aoptlen); }
803*e3723e1fSApple OSS Distributions514	AUE_CHANNEL	ALL	{ int __channel_set_opt(int c, uint32_t opt, const void *aoptval, uint32_t optlen); }
804*e3723e1fSApple OSS Distributions#else
805*e3723e1fSApple OSS Distributions503	AUE_NULL	ALL	{ int enosys(void); }
806*e3723e1fSApple OSS Distributions504	AUE_NULL	ALL	{ int enosys(void); }
807*e3723e1fSApple OSS Distributions505	AUE_NULL	ALL	{ int enosys(void); }
808*e3723e1fSApple OSS Distributions506	AUE_NULL	ALL	{ int enosys(void); }
809*e3723e1fSApple OSS Distributions507	AUE_NULL	ALL	{ int enosys(void); }
810*e3723e1fSApple OSS Distributions508	AUE_NULL	ALL	{ int enosys(void); }
811*e3723e1fSApple OSS Distributions509	AUE_NULL	ALL	{ int enosys(void); }
812*e3723e1fSApple OSS Distributions510	AUE_NULL	ALL	{ int enosys(void); }
813*e3723e1fSApple OSS Distributions511	AUE_NULL	ALL	{ int enosys(void); }
814*e3723e1fSApple OSS Distributions512	AUE_NULL	ALL	{ int enosys(void); }
815*e3723e1fSApple OSS Distributions513	AUE_NULL	ALL	{ int enosys(void); }
816*e3723e1fSApple OSS Distributions514	AUE_NULL	ALL	{ int enosys(void); }
817*e3723e1fSApple OSS Distributions#endif /* !SKYWALK */
818*e3723e1fSApple OSS Distributions515	AUE_NULL	ALL	{ int sys_ulock_wait(uint32_t operation, void *addr, uint64_t value, uint32_t timeout) NO_SYSCALL_STUB; }
819*e3723e1fSApple OSS Distributions516	AUE_NULL	ALL	{ int sys_ulock_wake(uint32_t operation, void *addr, uint64_t wake_value) NO_SYSCALL_STUB; }
820*e3723e1fSApple OSS Distributions517	AUE_FCLONEFILEAT	ALL     { int fclonefileat(int src_fd, int dst_dirfd, user_addr_t dst, uint32_t flags); }
821*e3723e1fSApple OSS Distributions518	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; }
822*e3723e1fSApple OSS Distributions519	AUE_NULL	ALL	{ int enosys(void); }
823*e3723e1fSApple OSS Distributions520	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; }
824*e3723e1fSApple OSS Distributions521	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; }
825*e3723e1fSApple OSS Distributions#if NECP
826*e3723e1fSApple OSS Distributions522	AUE_NECP	ALL	{ int necp_session_open(int flags); } }
827*e3723e1fSApple OSS Distributions523	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); }
828*e3723e1fSApple OSS Distributions#else /* NECP */
829*e3723e1fSApple OSS Distributions522	AUE_NULL	ALL	{ int enosys(void); }
830*e3723e1fSApple OSS Distributions523	AUE_NULL	ALL	{ int enosys(void); }
831*e3723e1fSApple OSS Distributions#endif /* NECP */
832*e3723e1fSApple OSS Distributions524	AUE_SETATTRLISTAT	ALL	{ int setattrlistat(int fd, const char *path, struct attrlist *alist, void *attributeBuffer, size_t bufferSize, uint32_t options); }
833*e3723e1fSApple OSS Distributions525	AUE_NET		ALL	{ int net_qos_guideline(struct net_qos_param *param, uint32_t param_len); }
834*e3723e1fSApple OSS Distributions526	AUE_FMOUNT	ALL	{ int fmount(const char *type, int fd, int flags, void *data); }
835*e3723e1fSApple OSS Distributions527	AUE_NULL	ALL	{ int ntp_adjtime(struct timex *tp); }
836*e3723e1fSApple OSS Distributions528	AUE_NULL	ALL	{ int ntp_gettime(struct ntptimeval *ntvp); }
837*e3723e1fSApple OSS Distributions529	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); }
838*e3723e1fSApple OSS Distributions530	AUE_WORKLOOPCTL	ALL	{ int kqueue_workloop_ctl(user_addr_t cmd, uint64_t options, user_addr_t addr, size_t sz) NO_SYSCALL_STUB; }
839*e3723e1fSApple OSS Distributions531	AUE_NULL	ALL	{ uint64_t __mach_bridge_remote_time(uint64_t local_timestamp); }
840*e3723e1fSApple OSS Distributions#if CONFIG_COALITIONS
841*e3723e1fSApple OSS Distributions532 AUE_NULL  ALL { int coalition_ledger(uint32_t operation, uint64_t *cid, void *buffer, size_t *bufsize) NO_SYSCALL_STUB; }
842*e3723e1fSApple OSS Distributions#else
843*e3723e1fSApple OSS Distributions532   AUE_NULL    ALL { int enosys(void); }
844*e3723e1fSApple OSS Distributions#endif // CONFIG_COALITIONS
845*e3723e1fSApple OSS Distributions533     AUE_NULL        ALL     { int log_data(unsigned int tag, unsigned int flags, void *buffer, unsigned int size) NO_SYSCALL_STUB; }
846*e3723e1fSApple OSS Distributions534 AUE_NULL	ALL	{ uint64_t memorystatus_available_memory(void) NO_SYSCALL_STUB; }
847*e3723e1fSApple OSS Distributions535 AUE_NULL	ALL	{ int objc_bp_assist_cfg_np(uint64_t adr, uint64_t ctl); }
848*e3723e1fSApple OSS Distributions536	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 shared_file_mapping_slide_np_ut *mappings_u) NO_SYSCALL_STUB; }
849*e3723e1fSApple OSS Distributions537	AUE_NULL	ALL { int pivot_root(const char *new_rootfs_path_before, const char *old_rootfs_path_after); }
850*e3723e1fSApple OSS Distributions538 AUE_TASKINSPECTFORPID	ALL { int task_inspect_for_pid(mach_port_name_t target_tport, int pid, mach_port_name_t *t); }
851*e3723e1fSApple OSS Distributions539 AUE_TASKREADFORPID	ALL { int task_read_for_pid(mach_port_name_t target_tport, int pid, mach_port_name_t *t); }
852*e3723e1fSApple OSS Distributions540	AUE_PREADV	ALL	{ user_ssize_t sys_preadv(int fd, struct iovec *iovp, int iovcnt, off_t offset); }
853*e3723e1fSApple OSS Distributions541	AUE_PWRITEV	ALL	{ user_ssize_t sys_pwritev(int fd, struct iovec *iovp, int iovcnt, off_t offset); }
854*e3723e1fSApple OSS Distributions542	AUE_PREADV	ALL	{ user_ssize_t sys_preadv_nocancel(int fd, struct iovec *iovp, int iovcnt, off_t offset) NO_SYSCALL_STUB; }
855*e3723e1fSApple OSS Distributions543	AUE_PWRITEV	ALL	{ user_ssize_t sys_pwritev_nocancel(int fd, struct iovec *iovp, int iovcnt, off_t offset) NO_SYSCALL_STUB; }
856*e3723e1fSApple OSS Distributions544	AUE_NULL        ALL     { int sys_ulock_wait2(uint32_t operation, void *addr, uint64_t value, uint64_t timeout, uint64_t value2) NO_SYSCALL_STUB; }
857*e3723e1fSApple OSS Distributions545	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; }
858*e3723e1fSApple OSS Distributions#if SOCKETS
859*e3723e1fSApple OSS Distributions546     AUE_TRACKERACTION       ALL     { int tracker_action(int action, char *buffer, size_t buffer_size); }
860*e3723e1fSApple OSS Distributions#else
861*e3723e1fSApple OSS Distributions546	AUE_NULL	ALL	{ int nosys(void); }
862*e3723e1fSApple OSS Distributions#endif /* SOCKETS */
863*e3723e1fSApple OSS Distributions547 AUE_DEBUG_SYSCALL_REJECT	ALL { int debug_syscall_reject(uint64_t packed_selectors) NO_SYSCALL_STUB; }
864*e3723e1fSApple OSS Distributions548 AUE_DEBUG_SYSCALL_REJECT_CONFIG	ALL { int sys_debug_syscall_reject_config(uint64_t packed_selectors1, uint64_t packed_selectors2, uint64_t flags) NO_SYSCALL_STUB; }
865*e3723e1fSApple OSS Distributions549 AUE_NULL	ALL { int graftdmg(int dmg_fd, const char *mountdir, uint32_t graft_type, graftdmg_args_un *gda); }
866*e3723e1fSApple OSS Distributions550	AUE_NULL	ALL	{ int map_with_linking_np(void *regions, uint32_t region_count, void *link_info, uint32_t link_info_size) NO_SYSCALL_STUB; }
867*e3723e1fSApple OSS Distributions551	AUE_FREADLINK	ALL	{ int freadlink(int fd, user_addr_t buf, user_size_t bufsize); }
868*e3723e1fSApple OSS Distributions552 AUE_NULL    ALL { int sys_record_system_event(uint32_t type, uint32_t subsystem, const char *event, const char *payload) NO_SYSCALL_STUB; }
869*e3723e1fSApple OSS Distributions553 AUE_MKFIFOAT	ALL	{ int mkfifoat(int fd, user_addr_t path, int mode); }
870*e3723e1fSApple OSS Distributions554 AUE_MKNODAT	ALL	{ int mknodat(int fd, user_addr_t path, int mode, int dev); }
871*e3723e1fSApple OSS Distributions555 AUE_NULL	ALL { int ungraftdmg(const char *mountdir, uint64_t flags); }
872*e3723e1fSApple OSS Distributions#if CONFIG_COALITIONS
873*e3723e1fSApple OSS Distributions556	AUE_NULL	ALL	{ int sys_coalition_policy_set(uint64_t cid, uint32_t flavor, uint32_t value); }
874*e3723e1fSApple OSS Distributions557	AUE_NULL	ALL	{ int sys_coalition_policy_get(uint64_t cid, uint32_t flavor); }
875*e3723e1fSApple OSS Distributions#else
876*e3723e1fSApple OSS Distributions556	AUE_NULL	ALL	{ int enosys(void); }
877*e3723e1fSApple OSS Distributions557	AUE_NULL	ALL	{ int enosys(void); }
878*e3723e1fSApple OSS Distributions#endif /* CONFIG_COALITIONS */
879