]> git.saurik.com Git - apple/xnu.git/blame - bsd/kern/syscalls.master
xnu-792.2.4.tar.gz
[apple/xnu.git] / bsd / kern / syscalls.master
CommitLineData
91447636
A
1; derived from: FreeBSD @(#)syscalls.master 8.2 (Berkeley) 1/13/94
2;
3; System call name/number master file.
4; This is file processed by .../xnu/bsd/kern/makesyscalls.sh and creates:
5; .../xnu/bsd/kern/init_sysent.c
6; .../xnu/bsd/kern/syscalls.c
7; .../xnu/bsd/sys/syscall.h
8; .../xnu/bsd/sys/sysproto.h
9
10; Columns -> | Number | Cancel | Funnel | Files | { Name and Args } | { Comments }
11; Number: system call number, must be in order
12; Cancel: type of thread cancel - "PRE", "POST" or "NONE"
13; Funnel: type of funnel - "KERN" or "NONE"
14; Files: with files to generate - "ALL" or any combo of:
15; "T" for syscall table (in init_sysent.c)
16; "N" for syscall names (in syscalls.c)
17; "H" for syscall headers (in syscall.h)
18; "P" for syscall prototypes (in sysproto.h)
19; Comments: additional comments about the sys call copied to output files
20
21; #ifdef's, #include's, #if's etc. are copied to all output files.
22
23#include <sys/appleapiopts.h>
24#include <sys/param.h>
25#include <sys/systm.h>
26#include <sys/types.h>
27#include <sys/sysent.h>
28#include <sys/sysproto.h>
29
300 NONE NONE ALL { int nosys(void); } { indirect syscall }
311 NONE KERN ALL { void exit(int rval); }
322 NONE KERN ALL { int fork(void); }
333 PRE NONE ALL { user_ssize_t read(int fd, user_addr_t cbuf, user_size_t nbyte); }
344 PRE NONE ALL { user_ssize_t write(int fd, user_addr_t cbuf, user_size_t nbyte); }
355 PRE NONE ALL { int open(user_addr_t path, int flags, int mode); }
366 PRE NONE ALL { int close(int fd); }
377 PRE KERN ALL { int wait4(int pid, user_addr_t status, int options, user_addr_t rusage); }
388 NONE NONE ALL { int nosys(void); } { old creat }
399 NONE NONE ALL { int link(user_addr_t path, user_addr_t link); }
4010 NONE NONE ALL { int unlink(user_addr_t path); }
4111 NONE NONE ALL { int nosys(void); } { old execv }
4212 NONE NONE ALL { int chdir(user_addr_t path); }
4313 NONE NONE ALL { int fchdir(int fd); }
4414 NONE NONE ALL { int mknod(user_addr_t path, int mode, int dev); }
4515 NONE NONE ALL { int chmod(user_addr_t path, int mode); }
4616 NONE NONE ALL { int chown(user_addr_t path, int uid, int gid); }
4717 NONE NONE UALL { int obreak(char *nsize); } { old break }
48
49#if COMPAT_GETFSSTAT
5018 NONE NONE ALL { int ogetfsstat(user_addr_t buf, int bufsize, int flags); }
51#else
5218 NONE NONE ALL { int getfsstat(user_addr_t buf, int bufsize, int flags); }
53#endif
54
5519 NONE NONE ALL { int nosys(void); } { old lseek }
5620 NONE NONE ALL { int getpid(void); }
5721 NONE NONE ALL { int nosys(void); } { old mount }
5822 NONE NONE ALL { int nosys(void); } { old umount }
5923 NONE KERN ALL { int setuid(uid_t uid); }
6024 NONE KERN ALL { int getuid(void); }
6125 NONE KERN ALL { int geteuid(void); }
6226 NONE KERN ALL { int ptrace(int req, pid_t pid, caddr_t addr, int data); }
6327 PRE NONE ALL { int recvmsg(int s, struct msghdr *msg, int flags); }
6428 PRE NONE ALL { int sendmsg(int s, caddr_t msg, int flags); }
6529 PRE NONE ALL { int recvfrom(int s, void *buf, size_t len, int flags, struct sockaddr *from, int *fromlenaddr); }
6630 PRE NONE ALL { int accept(int s, caddr_t name, socklen_t *anamelen); }
6731 NONE NONE ALL { int getpeername(int fdes, caddr_t asa, socklen_t *alen); }
6832 NONE NONE ALL { int getsockname(int fdes, caddr_t asa, socklen_t *alen); }
6933 NONE NONE ALL { int access(user_addr_t path, int flags); }
7034 NONE NONE ALL { int chflags(char *path, int flags); }
7135 NONE NONE ALL { int fchflags(int fd, int flags); }
7236 NONE NONE ALL { int sync(void); }
7337 NONE KERN ALL { int kill(int pid, int signum); }
7438 NONE NONE ALL { int nosys(void); } { old stat }
7539 NONE KERN ALL { int getppid(void); }
7640 NONE NONE ALL { int nosys(void); } { old lstat }
7741 NONE NONE ALL { int dup(u_int fd); }
7842 NONE NONE ALL { int pipe(void); }
7943 NONE KERN ALL { int getegid(void); }
8044 NONE KERN ALL { int profil(short *bufbase, size_t bufsize, u_long pcoffset, u_int pcscale); }
8145 NONE KERN ALL { int ktrace(const char *fname, int ops, int facs, int pid); }
8246 NONE KERN ALL { int sigaction(int signum, struct __sigaction *nsa, struct sigaction *osa); }
8347 NONE KERN ALL { int getgid(void); }
8448 NONE KERN ALL { int sigprocmask(int how, user_addr_t mask, user_addr_t omask); }
8549 NONE KERN ALL { int getlogin(char *namebuf, u_int namelen); }
8650 NONE KERN ALL { int setlogin(char *namebuf); }
8751 NONE KERN ALL { int acct(char *path); }
8852 NONE KERN ALL { int sigpending(struct sigvec *osv); }
8953 NONE KERN ALL { int sigaltstack(struct sigaltstack *nss, struct sigaltstack *oss); }
9054 NONE NONE ALL { int ioctl(int fd, u_long com, caddr_t data); }
9155 NONE KERN ALL { int reboot(int opt, char *command); }
9256 NONE NONE ALL { int revoke(char *path); }
9357 NONE NONE ALL { int symlink(char *path, char *link); }
9458 NONE NONE ALL { int readlink(char *path, char *buf, int count); }
9559 NONE KERN ALL { int execve(char *fname, char **argp, char **envp); }
9660 NONE KERN ALL { int umask(int newmask); }
9761 NONE KERN ALL { int chroot(user_addr_t path); }
9862 NONE NONE ALL { int nosys(void); } { old fstat }
9963 NONE NONE ALL { int nosys(void); } { used internally, reserved }
10064 NONE NONE ALL { int nosys(void); } { old getpagesize }
10165 PRE NONE ALL { int msync(caddr_t addr, size_t len, int flags); }
10266 NONE KERN ALL { int vfork(void); }
10367 NONE NONE ALL { int nosys(void); } { old vread }
10468 NONE NONE ALL { int nosys(void); } { old vwrite }
10569 NONE NONE ALL { int sbrk(int incr); }
10670 NONE NONE ALL { int sstk(int incr); }
10771 NONE NONE ALL { int nosys(void); } { old mmap }
10872 NONE NONE ALL { int ovadvise(void); } { old vadvise }
10973 NONE NONE ALL { int munmap(caddr_t addr, size_t len); }
11074 NONE NONE ALL { int mprotect(caddr_t addr, size_t len, int prot); }
11175 NONE NONE ALL { int madvise(caddr_t addr, size_t len, int behav); }
11276 NONE NONE ALL { int nosys(void); } { old vhangup }
11377 NONE NONE ALL { int nosys(void); } { old vlimit }
11478 NONE NONE ALL { int mincore(user_addr_t addr, user_size_t len, user_addr_t vec); }
11579 NONE KERN ALL { int getgroups(u_int gidsetsize, gid_t *gidset); }
11680 NONE KERN ALL { int setgroups(u_int gidsetsize, gid_t *gidset); }
11781 NONE KERN ALL { int getpgrp(void); }
11882 NONE KERN ALL { int setpgid(int pid, int pgid); }
11983 NONE KERN ALL { int setitimer(u_int which, struct itimerval *itv, struct itimerval *oitv); }
12084 NONE NONE ALL { int nosys(void); } { old wait }
12185 NONE NONE ALL { int swapon(void); }
12286 NONE KERN ALL { int getitimer(u_int which, struct itimerval *itv); }
12387 NONE NONE ALL { int nosys(void); } { old gethostname }
12488 NONE NONE ALL { int nosys(void); } { old sethostname }
12589 NONE NONE ALL { int getdtablesize(void); }
12690 NONE NONE ALL { int dup2(u_int from, u_int to); }
12791 NONE NONE ALL { int nosys(void); } { old getdopt }
12892 PRE NONE ALL { int fcntl(int fd, int cmd, long arg); }
12993 PRE KERN ALL { int select(int nd, u_int32_t *in, u_int32_t *ou, u_int32_t *ex, struct timeval *tv); }
13094 NONE NONE ALL { int nosys(void); } { old setdopt }
13195 PRE NONE ALL { int fsync(int fd); }
13296 NONE KERN ALL { int setpriority(int which, int who, int prio); }
13397 NONE NONE ALL { int socket(int domain, int type, int protocol); }
13498 PRE NONE ALL { int connect(int s, caddr_t name, socklen_t namelen); }
13599 NONE NONE ALL { int nosys(void); } { old accept }
136100 NONE KERN ALL { int getpriority(int which, int who); }
137101 NONE NONE ALL { int nosys(void); } { old send }
138102 NONE NONE ALL { int nosys(void); } { old recv }
139
140#ifdef __ppc__
141103 NONE NONE ALL { int nosys(void); } { old sigreturn }
142#else
143103 NONE KERN UALL { int sigreturn(struct sigcontext *sigcntxp); }
144#endif
145
146104 NONE NONE ALL { int bind(int s, caddr_t name, socklen_t namelen); }
147105 NONE NONE ALL { int setsockopt(int s, int level, int name, caddr_t val, socklen_t valsize); }
148106 NONE NONE ALL { int listen(int s, int backlog); }
149107 NONE NONE ALL { int nosys(void); } { old vtimes }
150108 NONE NONE ALL { int nosys(void); } { old sigvec }
151109 NONE NONE ALL { int nosys(void); } { old sigblock }
152110 NONE NONE ALL { int nosys(void); } { old sigsetmask }
153111 PRE KERN ALL { int sigsuspend(sigset_t mask); }
154112 NONE NONE ALL { int nosys(void); } { old sigstack }
155113 NONE NONE ALL { int nosys(void); } { old recvmsg }
156114 NONE NONE ALL { int nosys(void); } { old sendmsg }
157115 NONE NONE ALL { int nosys(void); } { old vtrace }
158
159#ifdef __ppc__
160116 NONE NONE ALL { int ppc_gettimeofday(struct timeval *tp, struct timezone *tzp); }
161#else
162116 NONE NONE ALL { int gettimeofday(struct timeval *tp, struct timezone *tzp); }
163#endif
164
165117 NONE KERN ALL { int getrusage(int who, struct rusage *rusage); }
166118 NONE NONE ALL { int getsockopt(int s, int level, int name, caddr_t val, socklen_t *avalsize); }
167119 NONE NONE ALL { int nosys(void); } { old resuba }
168120 PRE NONE ALL { user_ssize_t readv(int fd, struct iovec *iovp, u_int iovcnt); }
169121 PRE NONE ALL { user_ssize_t writev(int fd, struct iovec *iovp, u_int iovcnt); }
170122 NONE KERN ALL { int settimeofday(struct timeval *tv, struct timezone *tzp); }
171123 NONE NONE ALL { int fchown(int fd, int uid, int gid); }
172124 NONE NONE ALL { int fchmod(int fd, int mode); }
173125 NONE NONE ALL { int nosys(void); } { old recvfrom }
174126 NONE NONE ALL { int nosys(void); } { old setreuid }
175127 NONE NONE ALL { int nosys(void); } { old setregid }
176128 NONE NONE ALL { int rename(char *from, char *to); }
177129 NONE NONE ALL { int nosys(void); } { old truncate }
178130 NONE NONE ALL { int nosys(void); } { old ftruncate }
179131 NONE NONE ALL { int flock(int fd, int how); }
180132 NONE NONE ALL { int mkfifo(user_addr_t path, int mode); }
181133 PRE NONE ALL { int sendto(int s, caddr_t buf, size_t len, int flags, caddr_t to, socklen_t tolen); }
182134 NONE NONE ALL { int shutdown(int s, int how); }
183135 NONE NONE ALL { int socketpair(int domain, int type, int protocol, int *rsv); }
184136 NONE NONE ALL { int mkdir(user_addr_t path, int mode); }
185137 NONE NONE ALL { int rmdir(char *path); }
186138 NONE NONE ALL { int utimes(char *path, struct timeval *tptr); }
187139 NONE NONE ALL { int futimes(int fd, struct timeval *tptr); }
188140 NONE KERN ALL { int adjtime(struct timeval *delta, struct timeval *olddelta); }
189141 NONE NONE ALL { int nosys(void); } { old getpeername }
190142 NONE NONE ALL { int nosys(void); } { old gethostid }
191143 NONE NONE ALL { int nosys(void); } { old sethostid }
192144 NONE NONE ALL { int nosys(void); } { old getrlimit }
193145 NONE NONE ALL { int nosys(void); } { old setrlimit }
194146 NONE NONE ALL { int nosys(void); } { old killpg }
195147 NONE KERN ALL { int setsid(void); }
196148 NONE NONE ALL { int nosys(void); } { old setquota }
197149 NONE NONE ALL { int nosys(void); } { old qquota }
198150 NONE NONE ALL { int nosys(void); } { old getsockname }
199151 NONE KERN ALL { int getpgid(pid_t pid); }
200152 NONE KERN ALL { int setprivexec(int flag); }
201153 PRE NONE ALL { user_ssize_t pread(int fd, user_addr_t buf, user_size_t nbyte, off_t offset); }
202154 PRE NONE ALL { user_ssize_t pwrite(int fd, user_addr_t buf, user_size_t nbyte, off_t offset); }
203
204#if NFSSERVER
205155 NONE KERN ALL { int nfssvc(int flag, caddr_t argp); }
206#else
207155 NONE NONE ALL { int nosys(void); }
208#endif
209
210156 NONE NONE ALL { int nosys(void); } { old getdirentries }
211157 NONE NONE ALL { int statfs(char *path, struct statfs *buf); }
212158 NONE NONE ALL { int fstatfs(int fd, struct statfs *buf); }
213159 NONE NONE ALL { int unmount(user_addr_t path, int flags); }
214160 NONE NONE ALL { int nosys(void); } { old async_daemon }
215
216#if NFSCLIENT
217161 NONE KERN ALL { int getfh(char *fname, fhandle_t *fhp); }
218#else
219161 NONE NONE ALL { int nosys(void); }
220#endif
221
222162 NONE NONE ALL { int nosys(void); } { old getdomainname }
223163 NONE NONE ALL { int nosys(void); } { old setdomainname }
224164 NONE NONE ALL { int nosys(void); }
225165 NONE KERN ALL { int quotactl(char *path, int cmd, int uid, caddr_t arg); }
226166 NONE NONE ALL { int nosys(void); } { old exportfs }
227167 NONE NONE ALL { int mount(char *type, char *path, int flags, caddr_t data); }
228168 NONE NONE ALL { int nosys(void); } { old ustat }
229169 NONE NONE ALL { int nosys(void); }
230170 NONE NONE HN { int table(void); } { old table }
231171 NONE NONE ALL { int nosys(void); } { old wait3 }
232172 NONE NONE ALL { int nosys(void); } { old rpause }
233173 PRE KERN ALL { int waitid(idtype_t idtype, id_t id, siginfo_t *infop, int options); }
234174 NONE NONE ALL { int nosys(void); } { old getdents }
235175 NONE NONE ALL { int nosys(void); } { old gc_control }
236176 NONE KERN ALL { int add_profil(short *bufbase, size_t bufsize, u_long pcoffset, u_int pcscale); }
237177 NONE NONE ALL { int nosys(void); }
238178 NONE NONE ALL { int nosys(void); }
239179 NONE NONE ALL { int nosys(void); }
240180 NONE NONE UALL { int kdebug_trace(int code, int arg1, int arg2, int arg3, int arg4, int arg5); }
241181 NONE KERN ALL { int setgid(gid_t gid); }
242182 NONE KERN ALL { int setegid(gid_t egid); }
243183 NONE KERN ALL { int seteuid(uid_t euid); }
244
245#ifdef __ppc__
246184 NONE KERN ALL { int sigreturn(struct ucontext *uctx, int infostyle); }
247#else
248184 NONE NONE ALL { int nosys(void); }
249#endif
250
251185 NONE NONE ALL { int nosys(void); }
252186 NONE NONE ALL { int nosys(void); }
253187 NONE NONE ALL { int nosys(void); }
254188 NONE NONE ALL { int stat(user_addr_t path, user_addr_t ub); }
255189 NONE NONE ALL { int fstat(int fd, user_addr_t ub); }
256190 NONE NONE ALL { int lstat(user_addr_t path, user_addr_t ub); }
257191 NONE NONE ALL { int pathconf(char *path, int name); }
258192 NONE NONE ALL { int fpathconf(int fd, int name); }
259
260#if COMPAT_GETFSSTAT
261193 NONE NONE ALL { int getfsstat(user_addr_t buf, user_long_t bufsize, int flags); }
262#else
263193 NONE NONE ALL { int nosys(void); }
264#endif
265
266194 NONE KERN ALL { int getrlimit(u_int which, struct rlimit *rlp); }
267195 NONE KERN ALL { int setrlimit(u_int which, struct rlimit *rlp); }
268196 NONE NONE ALL { int getdirentries(int fd, char *buf, u_int count, long *basep); }
269197 NONE NONE ALL { user_addr_t mmap(caddr_t addr, size_t len, int prot, int flags, int fd, off_t pos); }
270198 NONE NONE ALL { int nosys(void); } { __syscall }
271199 NONE NONE ALL { off_t lseek(int fd, off_t offset, int whence); }
272200 NONE NONE ALL { int truncate(char *path, off_t length); }
273201 NONE NONE ALL { int ftruncate(int fd, off_t length); }
274202 NONE KERN ALL { int __sysctl(int *name, u_int namelen, void *old, size_t *oldlenp, void *new, size_t newlen); }
275203 NONE NONE ALL { int mlock(caddr_t addr, size_t len); }
276204 NONE NONE ALL { int munlock(caddr_t addr, size_t len); }
277205 NONE NONE ALL { int undelete(user_addr_t path); }
278
279#ifdef __ppc__
280206 NONE NONE ALL { int ATsocket(int proto); }
281207 NONE NONE UALL { int ATgetmsg(int fd, void *ctlptr, void *datptr, int *flags); }
282208 NONE NONE UALL { int ATputmsg(int fd, void *ctlptr, void *datptr, int flags); }
283209 NONE NONE UALL { int ATPsndreq(int fd, unsigned char *buf, int len, int nowait); }
284210 NONE NONE UALL { int ATPsndrsp(int fd, unsigned char *respbuff, int resplen, int datalen); }
285211 NONE NONE UALL { int ATPgetreq(int fd, unsigned char *buf, int buflen); }
286212 NONE NONE UALL { int ATPgetrsp(int fd, unsigned char *bdsp); }
287213 NONE NONE ALL { int nosys(void); } { Reserved for AppleTalk }
288#else
289206 NONE NONE HN { int ATsocket(int proto); }
290207 NONE NONE UHN { int ATgetmsg(int fd, void *ctlptr, void *datptr, int *flags); }
291208 NONE NONE UHN { int ATputmsg(int fd, void *ctlptr, void *datptr, int flags); }
292209 NONE NONE UHN { int ATPsndreq(int fd, unsigned char *buf, int len, int nowait); }
293210 NONE NONE UHN { int ATPsndrsp(int fd, unsigned char *respbuff, int resplen, int datalen); }
294211 NONE NONE UHN { int ATPgetreq(int fd, unsigned char *buf, int buflen); }
295212 NONE NONE UHN { int ATPgetrsp(int fd, unsigned char *bdsp); }
296213 NONE NONE ALL { int nosys(void); } { Reserved for AppleTalk }
297#endif /* __ppc__ */
298
299214 NONE KERN ALL { int kqueue_from_portset_np(int portset); }
300215 NONE KERN ALL { int kqueue_portset_np(int fd); }
301
302; System Calls 216 - 230 are reserved for calls to support HFS/HFS Plus
303; file system semantics. Currently, we only use 215-227. The rest is
304; for future expansion in anticipation of new MacOS APIs for HFS Plus.
305; These calls are not conditionalized becuase while they are specific
306; to HFS semantics, they are not specific to the HFS filesystem.
307; We expect all filesystems to recognize the call and report that it is
308; not supported or to actually implement it.
309216 NONE NONE UHN { int mkcomplex(const char *path, mode_t mode, u_long type); } { soon to be obsolete }
310217 NONE NONE UHN { int statv(const char *path, struct vstat *vsb); } { soon to be obsolete }
311218 NONE NONE UHN { int lstatv(const char *path, struct vstat *vsb); } { soon to be obsolete }
312219 NONE NONE UHN { int fstatv(int fd, struct vstat *vsb); } { soon to be obsolete }
313220 NONE NONE ALL { int getattrlist(const char *path, struct attrlist *alist, void *attributeBuffer, size_t bufferSize, u_long options); }
314221 NONE NONE ALL { int setattrlist(const char *path, struct attrlist *alist, void *attributeBuffer, size_t bufferSize, u_long options); }
315222 NONE NONE 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); }
316223 NONE NONE ALL { int exchangedata(const char *path1, const char *path2, u_long options); }
317
318#ifdef __APPLE_API_OBSOLETE
319224 NONE NONE UALL { int checkuseraccess(const char *path, uid_t userid, gid_t *groups, int ngroups, int accessrequired, u_long options); }
320#else
321224 NONE NONE ALL { int nosys(void); } { HFS checkuseraccess check access to a file }
322#endif /* __APPLE_API_OBSOLETE */
323225 NONE KERN ALL { int searchfs(const char *path, struct fssearchblock *searchblock, u_long *nummatches, u_long scriptcode, u_long options, struct searchstate *state); }
324226 NONE NONE ALL { int delete(user_addr_t path); } { private delete (Carbon semantics) }
325227 NONE NONE ALL { int copyfile(char *from, char *to, int mode, int flags); }
326228 NONE NONE ALL { int nosys(void); }
327229 NONE NONE ALL { int nosys(void); }
328230 PRE NONE ALL { int poll(struct pollfd *fds, u_int nfds, int timeout); }
329231 NONE NONE UALL { int watchevent(struct eventreq *u_req, int u_eventmask); }
330232 NONE NONE UALL { int waitevent(struct eventreq *u_req, struct timeval *tv); }
331233 NONE NONE UALL { int modwatch(struct eventreq *u_req, int u_eventmask); }
332234 NONE NONE 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); }
333235 NONE NONE ALL { user_ssize_t fgetxattr(int fd, user_addr_t attrname, user_addr_t value, size_t size, uint32_t position, int options); }
334236 NONE NONE ALL { int setxattr(user_addr_t path, user_addr_t attrname, user_addr_t value, size_t size, uint32_t position, int options); }
335237 NONE NONE ALL { int fsetxattr(int fd, user_addr_t attrname, user_addr_t value, size_t size, uint32_t position, int options); }
336238 NONE NONE ALL { int removexattr(user_addr_t path, user_addr_t attrname, int options); }
337239 NONE NONE ALL { int fremovexattr(int fd, user_addr_t attrname, int options); }
338240 NONE NONE ALL { user_ssize_t listxattr(user_addr_t path, user_addr_t namebuf, size_t bufsize, int options); }
339241 NONE NONE ALL { user_ssize_t flistxattr(int fd, user_addr_t namebuf, size_t bufsize, int options); }
340242 NONE KERN ALL { int fsctl(const char *path, u_long cmd, caddr_t data, u_long options); }
341243 NONE KERN ALL { int initgroups(u_int gidsetsize, gid_t *gidset, int gmuid); }
342244 NONE NONE ALL { int nosys(void); }
343245 NONE NONE ALL { int nosys(void); }
344246 NONE NONE ALL { int nosys(void); }
345
346#if NFSCLIENT
347247 NONE KERN ALL { int nfsclnt(int flag, caddr_t argp); }
348248 NONE KERN ALL { int fhopen(const struct fhandle *u_fhp, int flags); }
349#else
350247 NONE NONE ALL { int nosys(void); }
351248 NONE NONE ALL { int nosys(void); }
352#endif
353
354249 NONE NONE ALL { int nosys(void); }
355250 NONE NONE ALL { int minherit(void *addr, size_t len, int inherit); }
356251 NONE NONE ALL { int semsys(u_int which, int a2, int a3, int a4, int a5); }
357252 NONE NONE ALL { int msgsys(u_int which, int a2, int a3, int a4, int a5); }
358253 NONE NONE ALL { int shmsys(u_int which, int a2, int a3, int a4); }
359254 NONE NONE ALL { int semctl(int semid, int semnum, int cmd, semun_t arg); }
360255 NONE NONE ALL { int semget(key_t key, int nsems, int semflg); }
361256 NONE NONE ALL { int semop(int semid, struct sembuf *sops, int nsops); }
362257 NONE NONE ALL { int semconfig(semconfig_ctl_t flag); }
363258 NONE NONE ALL { int msgctl(int msqid, int cmd, struct msqid_ds *buf); }
364259 NONE NONE ALL { int msgget(key_t key, int msgflg); }
365260 PRE NONE ALL { int msgsnd(int msqid, void *msgp, size_t msgsz, int msgflg); }
366261 PRE NONE ALL { user_ssize_t msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); }
367262 NONE NONE ALL { int shmat(int shmid, void *shmaddr, int shmflg); }
368263 NONE NONE ALL { int shmctl(int shmid, int cmd, struct shmid_ds *buf); }
369264 NONE NONE ALL { int shmdt(void *shmaddr); }
370265 NONE NONE ALL { int shmget(key_t key, size_t size, int shmflg); }
371266 NONE NONE ALL { int shm_open(const char *name, int oflag, int mode); }
372267 NONE NONE ALL { int shm_unlink(const char *name); }
373268 NONE NONE ALL { user_addr_t sem_open(const char *name, int oflag, int mode, int value); }
374269 NONE NONE ALL { int sem_close(sem_t *sem); }
375270 NONE NONE ALL { int sem_unlink(const char *name); }
376271 PRE NONE ALL { int sem_wait(sem_t *sem); }
377272 NONE NONE ALL { int sem_trywait(sem_t *sem); }
378273 NONE NONE ALL { int sem_post(sem_t *sem); }
379274 NONE NONE ALL { int sem_getvalue(sem_t *sem, int *sval); }
380275 NONE NONE ALL { int sem_init(sem_t *sem, int phsared, u_int value); }
381276 NONE NONE ALL { int sem_destroy(sem_t *sem); }
382277 NONE NONE ALL { int open_extended(user_addr_t path, int flags, uid_t uid, gid_t gid, int mode, user_addr_t xsecurity); }
383278 NONE KERN ALL { int umask_extended(int newmask, user_addr_t xsecurity); }
384279 NONE NONE ALL { int stat_extended(user_addr_t path, user_addr_t ub, user_addr_t xsecurity, user_addr_t xsecurity_size); }
385280 NONE NONE ALL { int lstat_extended(user_addr_t path, user_addr_t ub, user_addr_t xsecurity, user_addr_t xsecurity_size); }
386281 NONE NONE ALL { int fstat_extended(int fd, user_addr_t ub, user_addr_t xsecurity, user_addr_t xsecurity_size); }
387282 NONE NONE ALL { int chmod_extended(user_addr_t path, uid_t uid, gid_t gid, int mode, user_addr_t xsecurity); }
388283 NONE NONE ALL { int fchmod_extended(int fd, uid_t uid, gid_t gid, int mode, user_addr_t xsecurity); }
389284 NONE NONE ALL { int access_extended(user_addr_t entries, size_t size, user_addr_t results, uid_t uid); }
390285 NONE NONE ALL { int settid(uid_t uid, gid_t gid); }
391286 NONE NONE ALL { int gettid(uid_t *uidp, gid_t *gidp); }
392287 NONE NONE ALL { int setsgroups(int setlen, user_addr_t guidset); }
393288 NONE NONE ALL { int getsgroups(user_addr_t setlen, user_addr_t guidset); }
394289 NONE NONE ALL { int setwgroups(int setlen, user_addr_t guidset); }
395290 NONE NONE ALL { int getwgroups(user_addr_t setlen, user_addr_t guidset); }
396291 NONE NONE ALL { int mkfifo_extended(user_addr_t path, uid_t uid, gid_t gid, int mode, user_addr_t xsecurity); }
397292 NONE NONE ALL { int mkdir_extended(user_addr_t path, uid_t uid, gid_t gid, int mode, user_addr_t xsecurity); }
398293 NONE NONE ALL { int identitysvc(int opcode, user_addr_t message); }
399294 NONE NONE ALL { int nosys(void); }
400295 NONE NONE ALL { int nosys(void); }
401296 NONE KERN UALL { int load_shared_file(char *filename, caddr_t mfa, u_long mfs, caddr_t *ba, int map_cnt, sf_mapping_t *mappings, int *flags); }
402297 NONE KERN UALL { int reset_shared_file(caddr_t *ba, int map_cnt, sf_mapping_t *mappings); }
403298 NONE KERN ALL { int new_system_shared_regions(void); }
404299 NONE KERN UALL { int shared_region_map_file_np(int fd, uint32_t mappingCount, user_addr_t mappings, user_addr_t slide_p); }
405300 NONE KERN UALL { int shared_region_make_private_np(uint32_t rangeCount, user_addr_t ranges); }
406301 NONE NONE ALL { int nosys(void); }
407302 NONE NONE ALL { int nosys(void); }
408303 NONE NONE ALL { int nosys(void); }
409304 NONE NONE ALL { int nosys(void); }
410305 NONE NONE ALL { int nosys(void); }
411306 NONE NONE ALL { int nosys(void); }
412307 NONE NONE ALL { int nosys(void); }
413308 NONE NONE ALL { int nosys(void); }
414309 NONE NONE ALL { int nosys(void); }
415310 NONE KERN ALL { int getsid(pid_t pid); }
416311 NONE NONE ALL { int settid_with_pid(pid_t pid, int assume); }
417312 NONE NONE ALL { int nosys(void); }
418313 NONE NONE ALL { int aio_fsync(int op, user_addr_t aiocbp); }
419314 NONE NONE ALL { user_ssize_t aio_return(user_addr_t aiocbp); }
420315 PRE NONE ALL { int aio_suspend(user_addr_t aiocblist, int nent, user_addr_t timeoutp); }
421316 NONE NONE ALL { int aio_cancel(int fd, user_addr_t aiocbp); }
422317 NONE NONE ALL { int aio_error(user_addr_t aiocbp); }
423318 NONE NONE ALL { int aio_read(user_addr_t aiocbp); }
424319 NONE NONE ALL { int aio_write(user_addr_t aiocbp); }
425320 NONE NONE ALL { int lio_listio(int mode, user_addr_t aiocblist, int nent, user_addr_t sigp); }
426321 NONE NONE ALL { int nosys(void); }
427322 NONE NONE ALL { int nosys(void); }
428323 NONE NONE ALL { int nosys(void); }
429324 NONE NONE ALL { int mlockall(int how); }
430325 NONE NONE ALL { int munlockall(int how); }
431326 NONE NONE ALL { int nosys(void); }
432327 NONE KERN ALL { int issetugid(void); }
433328 NONE KERN ALL { int __pthread_kill(int thread_port, int sig); }
434329 NONE KERN ALL { int pthread_sigmask(int how, user_addr_t set, user_addr_t oset); }
435330 PRE KERN ALL { int sigwait(user_addr_t set, user_addr_t sig); }
436331 NONE KERN ALL { int __disable_threadsignal(int value); }
437332 NONE NONE ALL { int __pthread_markcancel(int thread_port); }
438333 NONE NONE ALL { int __pthread_canceled(int action); }
439334 POST NONE ALL { int __semwait_signal(int cond_sem, int mutex_sem, int timeout, int relative, time_t tv_sec, int32_t tv_nsec); }
440335 NONE KERN ALL { int utrace(const void *addr, size_t len); }
441336 NONE NONE ALL { int nosys(void); }
442337 NONE NONE ALL { int nosys(void); }
443338 NONE NONE ALL { int nosys(void); }
444339 NONE NONE ALL { int nosys(void); }
445340 NONE NONE ALL { int nosys(void); }
446341 NONE NONE ALL { int nosys(void); }
447342 NONE NONE ALL { int nosys(void); }
448343 NONE NONE ALL { int nosys(void); }
449344 NONE NONE ALL { int nosys(void); }
450345 NONE NONE ALL { int nosys(void); }
451346 NONE NONE ALL { int nosys(void); }
452347 NONE NONE ALL { int nosys(void); }
453348 NONE NONE ALL { int nosys(void); }
454349 NONE NONE ALL { int nosys(void); }
455350 NONE KERN ALL { int audit(void *record, int length); }
456351 NONE KERN ALL { int auditon(int cmd, void *data, int length); }
457352 NONE KERN ALL { int nosys(void); }
458353 NONE KERN ALL { int getauid(au_id_t *auid); }
459354 NONE KERN ALL { int setauid(au_id_t *auid); }
460355 NONE KERN ALL { int getaudit(struct auditinfo *auditinfo); }
461356 NONE KERN ALL { int setaudit(struct auditinfo *auditinfo); }
462357 NONE KERN ALL { int getaudit_addr(struct auditinfo_addr *auditinfo_addr, int length); }
463358 NONE KERN ALL { int setaudit_addr(struct auditinfo_addr *auditinfo_addr, int length); }
464359 NONE KERN ALL { int auditctl(char *path); }
465360 NONE NONE ALL { int nosys(void); }
466361 NONE NONE ALL { int nosys(void); }
467362 NONE NONE ALL { int kqueue(void); }
468363 NONE NONE ALL { int kevent(int fd, const struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); }
469364 NONE NONE ALL { int lchown(user_addr_t path, uid_t owner, gid_t group); }
470365 NONE NONE ALL { int nosys(void); }
471366 NONE NONE ALL { int nosys(void); }
472367 NONE NONE ALL { int nosys(void); }
473368 NONE NONE ALL { int nosys(void); }
474369 NONE NONE ALL { int nosys(void); }