1 ; derived from: FreeBSD @(#)syscalls.master 8.2 (Berkeley) 1/13/94
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
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
21 ; #ifdef's, #include's, #if's etc. are copied to all output files.
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>
30 0 NONE NONE ALL { int nosys(void); } { indirect syscall }
31 1 NONE KERN ALL { void exit(int rval); }
32 2 NONE KERN ALL { int fork(void); }
33 3 PRE NONE ALL { user_ssize_t read(int fd, user_addr_t cbuf, user_size_t nbyte); }
34 4 PRE NONE ALL { user_ssize_t write(int fd, user_addr_t cbuf, user_size_t nbyte); }
35 5 PRE NONE ALL { int open(user_addr_t path, int flags, int mode); }
36 6 PRE NONE ALL { int close(int fd); }
37 7 PRE KERN ALL { int wait4(int pid, user_addr_t status, int options, user_addr_t rusage); }
38 8 NONE NONE ALL { int nosys(void); } { old creat }
39 9 NONE NONE ALL { int link(user_addr_t path, user_addr_t link); }
40 10 NONE NONE ALL { int unlink(user_addr_t path); }
41 11 NONE NONE ALL { int nosys(void); } { old execv }
42 12 NONE NONE ALL { int chdir(user_addr_t path); }
43 13 NONE NONE ALL { int fchdir(int fd); }
44 14 NONE NONE ALL { int mknod(user_addr_t path, int mode, int dev); }
45 15 NONE NONE ALL { int chmod(user_addr_t path, int mode); }
46 16 NONE NONE ALL { int chown(user_addr_t path, int uid, int gid); }
47 17 NONE NONE UALL { int obreak(char *nsize); } { old break }
50 18 NONE NONE ALL { int ogetfsstat(user_addr_t buf, int bufsize, int flags); }
52 18 NONE NONE ALL { int getfsstat(user_addr_t buf, int bufsize, int flags); }
55 19 NONE NONE ALL { int nosys(void); } { old lseek }
56 20 NONE NONE ALL { int getpid(void); }
57 21 NONE NONE ALL { int nosys(void); } { old mount }
58 22 NONE NONE ALL { int nosys(void); } { old umount }
59 23 NONE KERN ALL { int setuid(uid_t uid); }
60 24 NONE KERN ALL { int getuid(void); }
61 25 NONE KERN ALL { int geteuid(void); }
62 26 NONE KERN ALL { int ptrace(int req, pid_t pid, caddr_t addr, int data); }
63 27 PRE NONE ALL { int recvmsg(int s, struct msghdr *msg, int flags); }
64 28 PRE NONE ALL { int sendmsg(int s, caddr_t msg, int flags); }
65 29 PRE NONE ALL { int recvfrom(int s, void *buf, size_t len, int flags, struct sockaddr *from, int *fromlenaddr); }
66 30 PRE NONE ALL { int accept(int s, caddr_t name, socklen_t *anamelen); }
67 31 NONE NONE ALL { int getpeername(int fdes, caddr_t asa, socklen_t *alen); }
68 32 NONE NONE ALL { int getsockname(int fdes, caddr_t asa, socklen_t *alen); }
69 33 NONE NONE ALL { int access(user_addr_t path, int flags); }
70 34 NONE NONE ALL { int chflags(char *path, int flags); }
71 35 NONE NONE ALL { int fchflags(int fd, int flags); }
72 36 NONE NONE ALL { int sync(void); }
73 37 NONE KERN ALL { int kill(int pid, int signum); }
74 38 NONE NONE ALL { int nosys(void); } { old stat }
75 39 NONE KERN ALL { int getppid(void); }
76 40 NONE NONE ALL { int nosys(void); } { old lstat }
77 41 NONE NONE ALL { int dup(u_int fd); }
78 42 NONE NONE ALL { int pipe(void); }
79 43 NONE KERN ALL { int getegid(void); }
80 44 NONE KERN ALL { int profil(short *bufbase, size_t bufsize, u_long pcoffset, u_int pcscale); }
81 45 NONE KERN ALL { int ktrace(const char *fname, int ops, int facs, int pid); }
82 46 NONE KERN ALL { int sigaction(int signum, struct __sigaction *nsa, struct sigaction *osa); }
83 47 NONE KERN ALL { int getgid(void); }
84 48 NONE KERN ALL { int sigprocmask(int how, user_addr_t mask, user_addr_t omask); }
85 49 NONE KERN ALL { int getlogin(char *namebuf, u_int namelen); }
86 50 NONE KERN ALL { int setlogin(char *namebuf); }
87 51 NONE KERN ALL { int acct(char *path); }
88 52 NONE KERN ALL { int sigpending(struct sigvec *osv); }
89 53 NONE KERN ALL { int sigaltstack(struct sigaltstack *nss, struct sigaltstack *oss); }
90 54 NONE NONE ALL { int ioctl(int fd, u_long com, caddr_t data); }
91 55 NONE KERN ALL { int reboot(int opt, char *command); }
92 56 NONE NONE ALL { int revoke(char *path); }
93 57 NONE NONE ALL { int symlink(char *path, char *link); }
94 58 NONE NONE ALL { int readlink(char *path, char *buf, int count); }
95 59 NONE KERN ALL { int execve(char *fname, char **argp, char **envp); }
96 60 NONE KERN ALL { int umask(int newmask); }
97 61 NONE KERN ALL { int chroot(user_addr_t path); }
98 62 NONE NONE ALL { int nosys(void); } { old fstat }
99 63 NONE NONE ALL { int nosys(void); } { used internally, reserved }
100 64 NONE NONE ALL { int nosys(void); } { old getpagesize }
101 65 PRE NONE ALL { int msync(caddr_t addr, size_t len, int flags); }
102 66 NONE KERN ALL { int vfork(void); }
103 67 NONE NONE ALL { int nosys(void); } { old vread }
104 68 NONE NONE ALL { int nosys(void); } { old vwrite }
105 69 NONE NONE ALL { int sbrk(int incr); }
106 70 NONE NONE ALL { int sstk(int incr); }
107 71 NONE NONE ALL { int nosys(void); } { old mmap }
108 72 NONE NONE ALL { int ovadvise(void); } { old vadvise }
109 73 NONE NONE ALL { int munmap(caddr_t addr, size_t len); }
110 74 NONE NONE ALL { int mprotect(caddr_t addr, size_t len, int prot); }
111 75 NONE NONE ALL { int madvise(caddr_t addr, size_t len, int behav); }
112 76 NONE NONE ALL { int nosys(void); } { old vhangup }
113 77 NONE NONE ALL { int nosys(void); } { old vlimit }
114 78 NONE NONE ALL { int mincore(user_addr_t addr, user_size_t len, user_addr_t vec); }
115 79 NONE KERN ALL { int getgroups(u_int gidsetsize, gid_t *gidset); }
116 80 NONE KERN ALL { int setgroups(u_int gidsetsize, gid_t *gidset); }
117 81 NONE KERN ALL { int getpgrp(void); }
118 82 NONE KERN ALL { int setpgid(int pid, int pgid); }
119 83 NONE KERN ALL { int setitimer(u_int which, struct itimerval *itv, struct itimerval *oitv); }
120 84 NONE NONE ALL { int nosys(void); } { old wait }
121 85 NONE NONE ALL { int swapon(void); }
122 86 NONE KERN ALL { int getitimer(u_int which, struct itimerval *itv); }
123 87 NONE NONE ALL { int nosys(void); } { old gethostname }
124 88 NONE NONE ALL { int nosys(void); } { old sethostname }
125 89 NONE NONE ALL { int getdtablesize(void); }
126 90 NONE NONE ALL { int dup2(u_int from, u_int to); }
127 91 NONE NONE ALL { int nosys(void); } { old getdopt }
128 92 PRE NONE ALL { int fcntl(int fd, int cmd, long arg); }
129 93 PRE KERN ALL { int select(int nd, u_int32_t *in, u_int32_t *ou, u_int32_t *ex, struct timeval *tv); }
130 94 NONE NONE ALL { int nosys(void); } { old setdopt }
131 95 PRE NONE ALL { int fsync(int fd); }
132 96 NONE KERN ALL { int setpriority(int which, int who, int prio); }
133 97 NONE NONE ALL { int socket(int domain, int type, int protocol); }
134 98 PRE NONE ALL { int connect(int s, caddr_t name, socklen_t namelen); }
135 99 NONE NONE ALL { int nosys(void); } { old accept }
136 100 NONE KERN ALL { int getpriority(int which, int who); }
137 101 NONE NONE ALL { int nosys(void); } { old send }
138 102 NONE NONE ALL { int nosys(void); } { old recv }
141 103 NONE NONE ALL { int nosys(void); } { old sigreturn }
143 103 NONE KERN UALL { int sigreturn(struct sigcontext *sigcntxp); }
146 104 NONE NONE ALL { int bind(int s, caddr_t name, socklen_t namelen); }
147 105 NONE NONE ALL { int setsockopt(int s, int level, int name, caddr_t val, socklen_t valsize); }
148 106 NONE NONE ALL { int listen(int s, int backlog); }
149 107 NONE NONE ALL { int nosys(void); } { old vtimes }
150 108 NONE NONE ALL { int nosys(void); } { old sigvec }
151 109 NONE NONE ALL { int nosys(void); } { old sigblock }
152 110 NONE NONE ALL { int nosys(void); } { old sigsetmask }
153 111 PRE KERN ALL { int sigsuspend(sigset_t mask); }
154 112 NONE NONE ALL { int nosys(void); } { old sigstack }
155 113 NONE NONE ALL { int nosys(void); } { old recvmsg }
156 114 NONE NONE ALL { int nosys(void); } { old sendmsg }
157 115 NONE NONE ALL { int nosys(void); } { old vtrace }
160 116 NONE NONE ALL { int ppc_gettimeofday(struct timeval *tp, struct timezone *tzp); }
162 116 NONE NONE ALL { int gettimeofday(struct timeval *tp, struct timezone *tzp); }
165 117 NONE KERN ALL { int getrusage(int who, struct rusage *rusage); }
166 118 NONE NONE ALL { int getsockopt(int s, int level, int name, caddr_t val, socklen_t *avalsize); }
167 119 NONE NONE ALL { int nosys(void); } { old resuba }
168 120 PRE NONE ALL { user_ssize_t readv(int fd, struct iovec *iovp, u_int iovcnt); }
169 121 PRE NONE ALL { user_ssize_t writev(int fd, struct iovec *iovp, u_int iovcnt); }
170 122 NONE KERN ALL { int settimeofday(struct timeval *tv, struct timezone *tzp); }
171 123 NONE NONE ALL { int fchown(int fd, int uid, int gid); }
172 124 NONE NONE ALL { int fchmod(int fd, int mode); }
173 125 NONE NONE ALL { int nosys(void); } { old recvfrom }
174 126 NONE NONE ALL { int nosys(void); } { old setreuid }
175 127 NONE NONE ALL { int nosys(void); } { old setregid }
176 128 NONE NONE ALL { int rename(char *from, char *to); }
177 129 NONE NONE ALL { int nosys(void); } { old truncate }
178 130 NONE NONE ALL { int nosys(void); } { old ftruncate }
179 131 NONE NONE ALL { int flock(int fd, int how); }
180 132 NONE NONE ALL { int mkfifo(user_addr_t path, int mode); }
181 133 PRE NONE ALL { int sendto(int s, caddr_t buf, size_t len, int flags, caddr_t to, socklen_t tolen); }
182 134 NONE NONE ALL { int shutdown(int s, int how); }
183 135 NONE NONE ALL { int socketpair(int domain, int type, int protocol, int *rsv); }
184 136 NONE NONE ALL { int mkdir(user_addr_t path, int mode); }
185 137 NONE NONE ALL { int rmdir(char *path); }
186 138 NONE NONE ALL { int utimes(char *path, struct timeval *tptr); }
187 139 NONE NONE ALL { int futimes(int fd, struct timeval *tptr); }
188 140 NONE KERN ALL { int adjtime(struct timeval *delta, struct timeval *olddelta); }
189 141 NONE NONE ALL { int nosys(void); } { old getpeername }
190 142 NONE NONE ALL { int nosys(void); } { old gethostid }
191 143 NONE NONE ALL { int nosys(void); } { old sethostid }
192 144 NONE NONE ALL { int nosys(void); } { old getrlimit }
193 145 NONE NONE ALL { int nosys(void); } { old setrlimit }
194 146 NONE NONE ALL { int nosys(void); } { old killpg }
195 147 NONE KERN ALL { int setsid(void); }
196 148 NONE NONE ALL { int nosys(void); } { old setquota }
197 149 NONE NONE ALL { int nosys(void); } { old qquota }
198 150 NONE NONE ALL { int nosys(void); } { old getsockname }
199 151 NONE KERN ALL { int getpgid(pid_t pid); }
200 152 NONE KERN ALL { int setprivexec(int flag); }
201 153 PRE NONE ALL { user_ssize_t pread(int fd, user_addr_t buf, user_size_t nbyte, off_t offset); }
202 154 PRE NONE ALL { user_ssize_t pwrite(int fd, user_addr_t buf, user_size_t nbyte, off_t offset); }
205 155 NONE KERN ALL { int nfssvc(int flag, caddr_t argp); }
207 155 NONE NONE ALL { int nosys(void); }
210 156 NONE NONE ALL { int nosys(void); } { old getdirentries }
211 157 NONE NONE ALL { int statfs(char *path, struct statfs *buf); }
212 158 NONE NONE ALL { int fstatfs(int fd, struct statfs *buf); }
213 159 NONE NONE ALL { int unmount(user_addr_t path, int flags); }
214 160 NONE NONE ALL { int nosys(void); } { old async_daemon }
217 161 NONE KERN ALL { int getfh(char *fname, fhandle_t *fhp); }
219 161 NONE NONE ALL { int nosys(void); }
222 162 NONE NONE ALL { int nosys(void); } { old getdomainname }
223 163 NONE NONE ALL { int nosys(void); } { old setdomainname }
224 164 NONE NONE ALL { int nosys(void); }
225 165 NONE KERN ALL { int quotactl(char *path, int cmd, int uid, caddr_t arg); }
226 166 NONE NONE ALL { int nosys(void); } { old exportfs }
227 167 NONE NONE ALL { int mount(char *type, char *path, int flags, caddr_t data); }
228 168 NONE NONE ALL { int nosys(void); } { old ustat }
229 169 NONE NONE ALL { int nosys(void); }
230 170 NONE NONE HN { int table(void); } { old table }
231 171 NONE NONE ALL { int nosys(void); } { old wait3 }
232 172 NONE NONE ALL { int nosys(void); } { old rpause }
233 173 PRE KERN ALL { int waitid(idtype_t idtype, id_t id, siginfo_t *infop, int options); }
234 174 NONE NONE ALL { int nosys(void); } { old getdents }
235 175 NONE NONE ALL { int nosys(void); } { old gc_control }
236 176 NONE KERN ALL { int add_profil(short *bufbase, size_t bufsize, u_long pcoffset, u_int pcscale); }
237 177 NONE NONE ALL { int nosys(void); }
238 178 NONE NONE ALL { int nosys(void); }
239 179 NONE NONE ALL { int nosys(void); }
240 180 NONE NONE UALL { int kdebug_trace(int code, int arg1, int arg2, int arg3, int arg4, int arg5); }
241 181 NONE KERN ALL { int setgid(gid_t gid); }
242 182 NONE KERN ALL { int setegid(gid_t egid); }
243 183 NONE KERN ALL { int seteuid(uid_t euid); }
246 184 NONE KERN ALL { int sigreturn(struct ucontext *uctx, int infostyle); }
248 184 NONE NONE ALL { int nosys(void); }
251 185 NONE NONE ALL { int nosys(void); }
252 186 NONE NONE ALL { int nosys(void); }
253 187 NONE NONE ALL { int nosys(void); }
254 188 NONE NONE ALL { int stat(user_addr_t path, user_addr_t ub); }
255 189 NONE NONE ALL { int fstat(int fd, user_addr_t ub); }
256 190 NONE NONE ALL { int lstat(user_addr_t path, user_addr_t ub); }
257 191 NONE NONE ALL { int pathconf(char *path, int name); }
258 192 NONE NONE ALL { int fpathconf(int fd, int name); }
261 193 NONE NONE ALL { int getfsstat(user_addr_t buf, user_long_t bufsize, int flags); }
263 193 NONE NONE ALL { int nosys(void); }
266 194 NONE KERN ALL { int getrlimit(u_int which, struct rlimit *rlp); }
267 195 NONE KERN ALL { int setrlimit(u_int which, struct rlimit *rlp); }
268 196 NONE NONE ALL { int getdirentries(int fd, char *buf, u_int count, long *basep); }
269 197 NONE NONE ALL { user_addr_t mmap(caddr_t addr, size_t len, int prot, int flags, int fd, off_t pos); }
270 198 NONE NONE ALL { int nosys(void); } { __syscall }
271 199 NONE NONE ALL { off_t lseek(int fd, off_t offset, int whence); }
272 200 NONE NONE ALL { int truncate(char *path, off_t length); }
273 201 NONE NONE ALL { int ftruncate(int fd, off_t length); }
274 202 NONE KERN ALL { int __sysctl(int *name, u_int namelen, void *old, size_t *oldlenp, void *new, size_t newlen); }
275 203 NONE NONE ALL { int mlock(caddr_t addr, size_t len); }
276 204 NONE NONE ALL { int munlock(caddr_t addr, size_t len); }
277 205 NONE NONE ALL { int undelete(user_addr_t path); }
280 206 NONE NONE ALL { int ATsocket(int proto); }
281 207 NONE NONE UALL { int ATgetmsg(int fd, void *ctlptr, void *datptr, int *flags); }
282 208 NONE NONE UALL { int ATputmsg(int fd, void *ctlptr, void *datptr, int flags); }
283 209 NONE NONE UALL { int ATPsndreq(int fd, unsigned char *buf, int len, int nowait); }
284 210 NONE NONE UALL { int ATPsndrsp(int fd, unsigned char *respbuff, int resplen, int datalen); }
285 211 NONE NONE UALL { int ATPgetreq(int fd, unsigned char *buf, int buflen); }
286 212 NONE NONE UALL { int ATPgetrsp(int fd, unsigned char *bdsp); }
287 213 NONE NONE ALL { int nosys(void); } { Reserved for AppleTalk }
289 206 NONE NONE HN { int ATsocket(int proto); }
290 207 NONE NONE UHN { int ATgetmsg(int fd, void *ctlptr, void *datptr, int *flags); }
291 208 NONE NONE UHN { int ATputmsg(int fd, void *ctlptr, void *datptr, int flags); }
292 209 NONE NONE UHN { int ATPsndreq(int fd, unsigned char *buf, int len, int nowait); }
293 210 NONE NONE UHN { int ATPsndrsp(int fd, unsigned char *respbuff, int resplen, int datalen); }
294 211 NONE NONE UHN { int ATPgetreq(int fd, unsigned char *buf, int buflen); }
295 212 NONE NONE UHN { int ATPgetrsp(int fd, unsigned char *bdsp); }
296 213 NONE NONE ALL { int nosys(void); } { Reserved for AppleTalk }
299 214 NONE KERN ALL { int kqueue_from_portset_np(int portset); }
300 215 NONE KERN ALL { int kqueue_portset_np(int fd); }
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.
309 216 NONE NONE UHN { int mkcomplex(const char *path, mode_t mode, u_long type); } { soon to be obsolete }
310 217 NONE NONE UHN { int statv(const char *path, struct vstat *vsb); } { soon to be obsolete }
311 218 NONE NONE UHN { int lstatv(const char *path, struct vstat *vsb); } { soon to be obsolete }
312 219 NONE NONE UHN { int fstatv(int fd, struct vstat *vsb); } { soon to be obsolete }
313 220 NONE NONE ALL { int getattrlist(const char *path, struct attrlist *alist, void *attributeBuffer, size_t bufferSize, u_long options); }
314 221 NONE NONE ALL { int setattrlist(const char *path, struct attrlist *alist, void *attributeBuffer, size_t bufferSize, u_long options); }
315 222 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); }
316 223 NONE NONE ALL { int exchangedata(const char *path1, const char *path2, u_long options); }
318 #ifdef __APPLE_API_OBSOLETE
319 224 NONE NONE UALL { int checkuseraccess(const char *path, uid_t userid, gid_t *groups, int ngroups, int accessrequired, u_long options); }
321 224 NONE NONE ALL { int nosys(void); } { HFS checkuseraccess check access to a file }
322 #endif /* __APPLE_API_OBSOLETE */
323 225 NONE KERN ALL { int searchfs(const char *path, struct fssearchblock *searchblock, u_long *nummatches, u_long scriptcode, u_long options, struct searchstate *state); }
324 226 NONE NONE ALL { int delete(user_addr_t path); } { private delete (Carbon semantics) }
325 227 NONE NONE ALL { int copyfile(char *from, char *to, int mode, int flags); }
326 228 NONE NONE ALL { int nosys(void); }
327 229 NONE NONE ALL { int nosys(void); }
328 230 PRE NONE ALL { int poll(struct pollfd *fds, u_int nfds, int timeout); }
329 231 NONE NONE UALL { int watchevent(struct eventreq *u_req, int u_eventmask); }
330 232 NONE NONE UALL { int waitevent(struct eventreq *u_req, struct timeval *tv); }
331 233 NONE NONE UALL { int modwatch(struct eventreq *u_req, int u_eventmask); }
332 234 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); }
333 235 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); }
334 236 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); }
335 237 NONE NONE ALL { int fsetxattr(int fd, user_addr_t attrname, user_addr_t value, size_t size, uint32_t position, int options); }
336 238 NONE NONE ALL { int removexattr(user_addr_t path, user_addr_t attrname, int options); }
337 239 NONE NONE ALL { int fremovexattr(int fd, user_addr_t attrname, int options); }
338 240 NONE NONE ALL { user_ssize_t listxattr(user_addr_t path, user_addr_t namebuf, size_t bufsize, int options); }
339 241 NONE NONE ALL { user_ssize_t flistxattr(int fd, user_addr_t namebuf, size_t bufsize, int options); }
340 242 NONE KERN ALL { int fsctl(const char *path, u_long cmd, caddr_t data, u_long options); }
341 243 NONE KERN ALL { int initgroups(u_int gidsetsize, gid_t *gidset, int gmuid); }
342 244 NONE NONE ALL { int nosys(void); }
343 245 NONE NONE ALL { int nosys(void); }
344 246 NONE NONE ALL { int nosys(void); }
347 247 NONE KERN ALL { int nfsclnt(int flag, caddr_t argp); }
348 248 NONE KERN ALL { int fhopen(const struct fhandle *u_fhp, int flags); }
350 247 NONE NONE ALL { int nosys(void); }
351 248 NONE NONE ALL { int nosys(void); }
354 249 NONE NONE ALL { int nosys(void); }
355 250 NONE NONE ALL { int minherit(void *addr, size_t len, int inherit); }
356 251 NONE NONE ALL { int semsys(u_int which, int a2, int a3, int a4, int a5); }
357 252 NONE NONE ALL { int msgsys(u_int which, int a2, int a3, int a4, int a5); }
358 253 NONE NONE ALL { int shmsys(u_int which, int a2, int a3, int a4); }
359 254 NONE NONE ALL { int semctl(int semid, int semnum, int cmd, semun_t arg); }
360 255 NONE NONE ALL { int semget(key_t key, int nsems, int semflg); }
361 256 NONE NONE ALL { int semop(int semid, struct sembuf *sops, int nsops); }
362 257 NONE NONE ALL { int semconfig(semconfig_ctl_t flag); }
363 258 NONE NONE ALL { int msgctl(int msqid, int cmd, struct msqid_ds *buf); }
364 259 NONE NONE ALL { int msgget(key_t key, int msgflg); }
365 260 PRE NONE ALL { int msgsnd(int msqid, void *msgp, size_t msgsz, int msgflg); }
366 261 PRE NONE ALL { user_ssize_t msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); }
367 262 NONE NONE ALL { int shmat(int shmid, void *shmaddr, int shmflg); }
368 263 NONE NONE ALL { int shmctl(int shmid, int cmd, struct shmid_ds *buf); }
369 264 NONE NONE ALL { int shmdt(void *shmaddr); }
370 265 NONE NONE ALL { int shmget(key_t key, size_t size, int shmflg); }
371 266 NONE NONE ALL { int shm_open(const char *name, int oflag, int mode); }
372 267 NONE NONE ALL { int shm_unlink(const char *name); }
373 268 NONE NONE ALL { user_addr_t sem_open(const char *name, int oflag, int mode, int value); }
374 269 NONE NONE ALL { int sem_close(sem_t *sem); }
375 270 NONE NONE ALL { int sem_unlink(const char *name); }
376 271 PRE NONE ALL { int sem_wait(sem_t *sem); }
377 272 NONE NONE ALL { int sem_trywait(sem_t *sem); }
378 273 NONE NONE ALL { int sem_post(sem_t *sem); }
379 274 NONE NONE ALL { int sem_getvalue(sem_t *sem, int *sval); }
380 275 NONE NONE ALL { int sem_init(sem_t *sem, int phsared, u_int value); }
381 276 NONE NONE ALL { int sem_destroy(sem_t *sem); }
382 277 NONE NONE ALL { int open_extended(user_addr_t path, int flags, uid_t uid, gid_t gid, int mode, user_addr_t xsecurity); }
383 278 NONE KERN ALL { int umask_extended(int newmask, user_addr_t xsecurity); }
384 279 NONE NONE ALL { int stat_extended(user_addr_t path, user_addr_t ub, user_addr_t xsecurity, user_addr_t xsecurity_size); }
385 280 NONE NONE ALL { int lstat_extended(user_addr_t path, user_addr_t ub, user_addr_t xsecurity, user_addr_t xsecurity_size); }
386 281 NONE NONE ALL { int fstat_extended(int fd, user_addr_t ub, user_addr_t xsecurity, user_addr_t xsecurity_size); }
387 282 NONE NONE ALL { int chmod_extended(user_addr_t path, uid_t uid, gid_t gid, int mode, user_addr_t xsecurity); }
388 283 NONE NONE ALL { int fchmod_extended(int fd, uid_t uid, gid_t gid, int mode, user_addr_t xsecurity); }
389 284 NONE NONE ALL { int access_extended(user_addr_t entries, size_t size, user_addr_t results, uid_t uid); }
390 285 NONE NONE ALL { int settid(uid_t uid, gid_t gid); }
391 286 NONE NONE ALL { int gettid(uid_t *uidp, gid_t *gidp); }
392 287 NONE NONE ALL { int setsgroups(int setlen, user_addr_t guidset); }
393 288 NONE NONE ALL { int getsgroups(user_addr_t setlen, user_addr_t guidset); }
394 289 NONE NONE ALL { int setwgroups(int setlen, user_addr_t guidset); }
395 290 NONE NONE ALL { int getwgroups(user_addr_t setlen, user_addr_t guidset); }
396 291 NONE NONE ALL { int mkfifo_extended(user_addr_t path, uid_t uid, gid_t gid, int mode, user_addr_t xsecurity); }
397 292 NONE NONE ALL { int mkdir_extended(user_addr_t path, uid_t uid, gid_t gid, int mode, user_addr_t xsecurity); }
398 293 NONE NONE ALL { int identitysvc(int opcode, user_addr_t message); }
399 294 NONE NONE ALL { int nosys(void); }
400 295 NONE NONE ALL { int nosys(void); }
401 296 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); }
402 297 NONE KERN UALL { int reset_shared_file(caddr_t *ba, int map_cnt, sf_mapping_t *mappings); }
403 298 NONE KERN ALL { int new_system_shared_regions(void); }
404 299 NONE KERN UALL { int shared_region_map_file_np(int fd, uint32_t mappingCount, user_addr_t mappings, user_addr_t slide_p); }
405 300 NONE KERN UALL { int shared_region_make_private_np(uint32_t rangeCount, user_addr_t ranges); }
406 301 NONE NONE ALL { int nosys(void); }
407 302 NONE NONE ALL { int nosys(void); }
408 303 NONE NONE ALL { int nosys(void); }
409 304 NONE NONE ALL { int nosys(void); }
410 305 NONE NONE ALL { int nosys(void); }
411 306 NONE NONE ALL { int nosys(void); }
412 307 NONE NONE ALL { int nosys(void); }
413 308 NONE NONE ALL { int nosys(void); }
414 309 NONE NONE ALL { int nosys(void); }
415 310 NONE KERN ALL { int getsid(pid_t pid); }
416 311 NONE NONE ALL { int settid_with_pid(pid_t pid, int assume); }
417 312 NONE NONE ALL { int nosys(void); }
418 313 NONE NONE ALL { int aio_fsync(int op, user_addr_t aiocbp); }
419 314 NONE NONE ALL { user_ssize_t aio_return(user_addr_t aiocbp); }
420 315 PRE NONE ALL { int aio_suspend(user_addr_t aiocblist, int nent, user_addr_t timeoutp); }
421 316 NONE NONE ALL { int aio_cancel(int fd, user_addr_t aiocbp); }
422 317 NONE NONE ALL { int aio_error(user_addr_t aiocbp); }
423 318 NONE NONE ALL { int aio_read(user_addr_t aiocbp); }
424 319 NONE NONE ALL { int aio_write(user_addr_t aiocbp); }
425 320 NONE NONE ALL { int lio_listio(int mode, user_addr_t aiocblist, int nent, user_addr_t sigp); }
426 321 NONE NONE ALL { int nosys(void); }
427 322 NONE NONE ALL { int nosys(void); }
428 323 NONE NONE ALL { int nosys(void); }
429 324 NONE NONE ALL { int mlockall(int how); }
430 325 NONE NONE ALL { int munlockall(int how); }
431 326 NONE NONE ALL { int nosys(void); }
432 327 NONE KERN ALL { int issetugid(void); }
433 328 NONE KERN ALL { int __pthread_kill(int thread_port, int sig); }
434 329 NONE KERN ALL { int pthread_sigmask(int how, user_addr_t set, user_addr_t oset); }
435 330 PRE KERN ALL { int sigwait(user_addr_t set, user_addr_t sig); }
436 331 NONE KERN ALL { int __disable_threadsignal(int value); }
437 332 NONE NONE ALL { int __pthread_markcancel(int thread_port); }
438 333 NONE NONE ALL { int __pthread_canceled(int action); }
439 334 POST NONE ALL { int __semwait_signal(int cond_sem, int mutex_sem, int timeout, int relative, time_t tv_sec, int32_t tv_nsec); }
440 335 NONE KERN ALL { int utrace(const void *addr, size_t len); }
441 336 NONE NONE ALL { int nosys(void); }
442 337 NONE NONE ALL { int nosys(void); }
443 338 NONE NONE ALL { int nosys(void); }
444 339 NONE NONE ALL { int nosys(void); }
445 340 NONE NONE ALL { int nosys(void); }
446 341 NONE NONE ALL { int nosys(void); }
447 342 NONE NONE ALL { int nosys(void); }
448 343 NONE NONE ALL { int nosys(void); }
449 344 NONE NONE ALL { int nosys(void); }
450 345 NONE NONE ALL { int nosys(void); }
451 346 NONE NONE ALL { int nosys(void); }
452 347 NONE NONE ALL { int nosys(void); }
453 348 NONE NONE ALL { int nosys(void); }
454 349 NONE NONE ALL { int nosys(void); }
455 350 NONE KERN ALL { int audit(void *record, int length); }
456 351 NONE KERN ALL { int auditon(int cmd, void *data, int length); }
457 352 NONE KERN ALL { int nosys(void); }
458 353 NONE KERN ALL { int getauid(au_id_t *auid); }
459 354 NONE KERN ALL { int setauid(au_id_t *auid); }
460 355 NONE KERN ALL { int getaudit(struct auditinfo *auditinfo); }
461 356 NONE KERN ALL { int setaudit(struct auditinfo *auditinfo); }
462 357 NONE KERN ALL { int getaudit_addr(struct auditinfo_addr *auditinfo_addr, int length); }
463 358 NONE KERN ALL { int setaudit_addr(struct auditinfo_addr *auditinfo_addr, int length); }
464 359 NONE KERN ALL { int auditctl(char *path); }
465 360 NONE NONE ALL { int nosys(void); }
466 361 NONE NONE ALL { int nosys(void); }
467 362 NONE NONE ALL { int kqueue(void); }
468 363 NONE NONE ALL { int kevent(int fd, const struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); }
469 364 NONE NONE ALL { int lchown(user_addr_t path, uid_t owner, gid_t group); }
470 365 NONE NONE ALL { int nosys(void); }
471 366 NONE NONE ALL { int nosys(void); }
472 367 NONE NONE ALL { int nosys(void); }
473 368 NONE NONE ALL { int nosys(void); }
474 369 NONE NONE ALL { int nosys(void); }