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 }
139 103 NONE NONE ALL { int nosys(void); } { old sigreturn }
140 104 NONE NONE ALL { int bind(int s, caddr_t name, socklen_t namelen); }
141 105 NONE NONE ALL { int setsockopt(int s, int level, int name, caddr_t val, socklen_t valsize); }
142 106 NONE NONE ALL { int listen(int s, int backlog); }
143 107 NONE NONE ALL { int nosys(void); } { old vtimes }
144 108 NONE NONE ALL { int nosys(void); } { old sigvec }
145 109 NONE NONE ALL { int nosys(void); } { old sigblock }
146 110 NONE NONE ALL { int nosys(void); } { old sigsetmask }
147 111 PRE KERN ALL { int sigsuspend(sigset_t mask); }
148 112 NONE NONE ALL { int nosys(void); } { old sigstack }
149 113 NONE NONE ALL { int nosys(void); } { old recvmsg }
150 114 NONE NONE ALL { int nosys(void); } { old sendmsg }
151 115 NONE NONE ALL { int nosys(void); } { old vtrace }
152 116 NONE NONE ALL { int gettimeofday(struct timeval *tp, struct timezone *tzp); }
153 117 NONE KERN ALL { int getrusage(int who, struct rusage *rusage); }
154 118 NONE NONE ALL { int getsockopt(int s, int level, int name, caddr_t val, socklen_t *avalsize); }
155 119 NONE NONE ALL { int nosys(void); } { old resuba }
156 120 PRE NONE ALL { user_ssize_t readv(int fd, struct iovec *iovp, u_int iovcnt); }
157 121 PRE NONE ALL { user_ssize_t writev(int fd, struct iovec *iovp, u_int iovcnt); }
158 122 NONE KERN ALL { int settimeofday(struct timeval *tv, struct timezone *tzp); }
159 123 NONE NONE ALL { int fchown(int fd, int uid, int gid); }
160 124 NONE NONE ALL { int fchmod(int fd, int mode); }
161 125 NONE NONE ALL { int nosys(void); } { old recvfrom }
162 126 NONE NONE ALL { int nosys(void); } { old setreuid }
163 127 NONE NONE ALL { int nosys(void); } { old setregid }
164 128 NONE NONE ALL { int rename(char *from, char *to); }
165 129 NONE NONE ALL { int nosys(void); } { old truncate }
166 130 NONE NONE ALL { int nosys(void); } { old ftruncate }
167 131 NONE NONE ALL { int flock(int fd, int how); }
168 132 NONE NONE ALL { int mkfifo(user_addr_t path, int mode); }
169 133 PRE NONE ALL { int sendto(int s, caddr_t buf, size_t len, int flags, caddr_t to, socklen_t tolen); }
170 134 NONE NONE ALL { int shutdown(int s, int how); }
171 135 NONE NONE ALL { int socketpair(int domain, int type, int protocol, int *rsv); }
172 136 NONE NONE ALL { int mkdir(user_addr_t path, int mode); }
173 137 NONE NONE ALL { int rmdir(char *path); }
174 138 NONE NONE ALL { int utimes(char *path, struct timeval *tptr); }
175 139 NONE NONE ALL { int futimes(int fd, struct timeval *tptr); }
176 140 NONE KERN ALL { int adjtime(struct timeval *delta, struct timeval *olddelta); }
177 141 NONE NONE ALL { int nosys(void); } { old getpeername }
178 142 NONE NONE ALL { int nosys(void); } { old gethostid }
179 143 NONE NONE ALL { int nosys(void); } { old sethostid }
180 144 NONE NONE ALL { int nosys(void); } { old getrlimit }
181 145 NONE NONE ALL { int nosys(void); } { old setrlimit }
182 146 NONE NONE ALL { int nosys(void); } { old killpg }
183 147 NONE KERN ALL { int setsid(void); }
184 148 NONE NONE ALL { int nosys(void); } { old setquota }
185 149 NONE NONE ALL { int nosys(void); } { old qquota }
186 150 NONE NONE ALL { int nosys(void); } { old getsockname }
187 151 NONE KERN ALL { int getpgid(pid_t pid); }
188 152 NONE KERN ALL { int setprivexec(int flag); }
189 153 PRE NONE ALL { user_ssize_t pread(int fd, user_addr_t buf, user_size_t nbyte, off_t offset); }
190 154 PRE NONE ALL { user_ssize_t pwrite(int fd, user_addr_t buf, user_size_t nbyte, off_t offset); }
193 155 NONE KERN ALL { int nfssvc(int flag, caddr_t argp); }
195 155 NONE NONE ALL { int nosys(void); }
198 156 NONE NONE ALL { int nosys(void); } { old getdirentries }
199 157 NONE NONE ALL { int statfs(char *path, struct statfs *buf); }
200 158 NONE NONE ALL { int fstatfs(int fd, struct statfs *buf); }
201 159 NONE NONE ALL { int unmount(user_addr_t path, int flags); }
202 160 NONE NONE ALL { int nosys(void); } { old async_daemon }
205 161 NONE KERN ALL { int getfh(char *fname, fhandle_t *fhp); }
207 161 NONE NONE ALL { int nosys(void); }
210 162 NONE NONE ALL { int nosys(void); } { old getdomainname }
211 163 NONE NONE ALL { int nosys(void); } { old setdomainname }
212 164 NONE NONE ALL { int nosys(void); }
213 165 NONE KERN ALL { int quotactl(char *path, int cmd, int uid, caddr_t arg); }
214 166 NONE NONE ALL { int nosys(void); } { old exportfs }
215 167 NONE NONE ALL { int mount(char *type, char *path, int flags, caddr_t data); }
216 168 NONE NONE ALL { int nosys(void); } { old ustat }
217 169 NONE NONE ALL { int nosys(void); }
218 170 NONE NONE HN { int table(void); } { old table }
219 171 NONE NONE ALL { int nosys(void); } { old wait3 }
220 172 NONE NONE ALL { int nosys(void); } { old rpause }
221 173 PRE KERN ALL { int waitid(idtype_t idtype, id_t id, siginfo_t *infop, int options); }
222 174 NONE NONE ALL { int nosys(void); } { old getdents }
223 175 NONE NONE ALL { int nosys(void); } { old gc_control }
224 176 NONE KERN ALL { int add_profil(short *bufbase, size_t bufsize, u_long pcoffset, u_int pcscale); }
225 177 NONE NONE ALL { int nosys(void); }
226 178 NONE NONE ALL { int nosys(void); }
227 179 NONE NONE ALL { int nosys(void); }
228 180 NONE NONE UALL { int kdebug_trace(int code, int arg1, int arg2, int arg3, int arg4, int arg5); }
229 181 NONE KERN ALL { int setgid(gid_t gid); }
230 182 NONE KERN ALL { int setegid(gid_t egid); }
231 183 NONE KERN ALL { int seteuid(uid_t euid); }
232 184 NONE KERN ALL { int sigreturn(struct ucontext *uctx, int infostyle); }
233 185 NONE NONE UALL { int chud(int code, int arg1, int arg2, int arg3, int arg4, int arg5); }
234 186 NONE NONE ALL { int nosys(void); }
235 187 NONE NONE ALL { int nosys(void); }
236 188 NONE NONE ALL { int stat(user_addr_t path, user_addr_t ub); }
237 189 NONE NONE ALL { int fstat(int fd, user_addr_t ub); }
238 190 NONE NONE ALL { int lstat(user_addr_t path, user_addr_t ub); }
239 191 NONE NONE ALL { int pathconf(char *path, int name); }
240 192 NONE NONE ALL { int fpathconf(int fd, int name); }
243 193 NONE NONE ALL { int getfsstat(user_addr_t buf, user_long_t bufsize, int flags); }
245 193 NONE NONE ALL { int nosys(void); }
248 194 NONE KERN ALL { int getrlimit(u_int which, struct rlimit *rlp); }
249 195 NONE KERN ALL { int setrlimit(u_int which, struct rlimit *rlp); }
250 196 NONE NONE ALL { int getdirentries(int fd, char *buf, u_int count, long *basep); }
251 197 NONE NONE ALL { user_addr_t mmap(caddr_t addr, size_t len, int prot, int flags, int fd, off_t pos); }
252 198 NONE NONE ALL { int nosys(void); } { __syscall }
253 199 NONE NONE ALL { off_t lseek(int fd, off_t offset, int whence); }
254 200 NONE NONE ALL { int truncate(char *path, off_t length); }
255 201 NONE NONE ALL { int ftruncate(int fd, off_t length); }
256 202 NONE KERN ALL { int __sysctl(int *name, u_int namelen, void *old, size_t *oldlenp, void *new, size_t newlen); }
257 203 NONE NONE ALL { int mlock(caddr_t addr, size_t len); }
258 204 NONE NONE ALL { int munlock(caddr_t addr, size_t len); }
259 205 NONE NONE ALL { int undelete(user_addr_t path); }
261 206 NONE NONE ALL { int ATsocket(int proto); }
262 207 NONE NONE UALL { int ATgetmsg(int fd, void *ctlptr, void *datptr, int *flags); }
263 208 NONE NONE UALL { int ATputmsg(int fd, void *ctlptr, void *datptr, int flags); }
264 209 NONE NONE UALL { int ATPsndreq(int fd, unsigned char *buf, int len, int nowait); }
265 210 NONE NONE UALL { int ATPsndrsp(int fd, unsigned char *respbuff, int resplen, int datalen); }
266 211 NONE NONE UALL { int ATPgetreq(int fd, unsigned char *buf, int buflen); }
267 212 NONE NONE UALL { int ATPgetrsp(int fd, unsigned char *bdsp); }
268 213 NONE NONE ALL { int nosys(void); } { Reserved for AppleTalk }
270 214 NONE KERN ALL { int kqueue_from_portset_np(int portset); }
271 215 NONE KERN ALL { int kqueue_portset_np(int fd); }
273 ; System Calls 216 - 230 are reserved for calls to support HFS/HFS Plus
274 ; file system semantics. Currently, we only use 215-227. The rest is
275 ; for future expansion in anticipation of new MacOS APIs for HFS Plus.
276 ; These calls are not conditionalized becuase while they are specific
277 ; to HFS semantics, they are not specific to the HFS filesystem.
278 ; We expect all filesystems to recognize the call and report that it is
279 ; not supported or to actually implement it.
280 216 NONE NONE UHN { int mkcomplex(const char *path, mode_t mode, u_long type); } { soon to be obsolete }
281 217 NONE NONE UHN { int statv(const char *path, struct vstat *vsb); } { soon to be obsolete }
282 218 NONE NONE UHN { int lstatv(const char *path, struct vstat *vsb); } { soon to be obsolete }
283 219 NONE NONE UHN { int fstatv(int fd, struct vstat *vsb); } { soon to be obsolete }
284 220 NONE NONE ALL { int getattrlist(const char *path, struct attrlist *alist, void *attributeBuffer, size_t bufferSize, u_long options); }
285 221 NONE NONE ALL { int setattrlist(const char *path, struct attrlist *alist, void *attributeBuffer, size_t bufferSize, u_long options); }
286 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); }
287 223 NONE NONE ALL { int exchangedata(const char *path1, const char *path2, u_long options); }
289 #ifdef __APPLE_API_OBSOLETE
290 224 NONE NONE UALL { int checkuseraccess(const char *path, uid_t userid, gid_t *groups, int ngroups, int accessrequired, u_long options); }
292 224 NONE NONE ALL { int nosys(void); } { HFS checkuseraccess check access to a file }
293 #endif /* __APPLE_API_OBSOLETE */
294 225 NONE KERN ALL { int searchfs(const char *path, struct fssearchblock *searchblock, u_long *nummatches, u_long scriptcode, u_long options, struct searchstate *state); }
295 226 NONE NONE ALL { int delete(user_addr_t path); } { private delete (Carbon semantics) }
296 227 NONE NONE ALL { int copyfile(char *from, char *to, int mode, int flags); }
297 228 NONE NONE ALL { int nosys(void); }
298 229 NONE NONE ALL { int nosys(void); }
299 230 PRE NONE ALL { int poll(struct pollfd *fds, u_int nfds, int timeout); }
300 231 NONE NONE UALL { int watchevent(struct eventreq *u_req, int u_eventmask); }
301 232 NONE NONE UALL { int waitevent(struct eventreq *u_req, struct timeval *tv); }
302 233 NONE NONE UALL { int modwatch(struct eventreq *u_req, int u_eventmask); }
303 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); }
304 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); }
305 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); }
306 237 NONE NONE ALL { int fsetxattr(int fd, user_addr_t attrname, user_addr_t value, size_t size, uint32_t position, int options); }
307 238 NONE NONE ALL { int removexattr(user_addr_t path, user_addr_t attrname, int options); }
308 239 NONE NONE ALL { int fremovexattr(int fd, user_addr_t attrname, int options); }
309 240 NONE NONE ALL { user_ssize_t listxattr(user_addr_t path, user_addr_t namebuf, size_t bufsize, int options); }
310 241 NONE NONE ALL { user_ssize_t flistxattr(int fd, user_addr_t namebuf, size_t bufsize, int options); }
311 242 NONE KERN ALL { int fsctl(const char *path, u_long cmd, caddr_t data, u_long options); }
312 243 NONE KERN ALL { int initgroups(u_int gidsetsize, gid_t *gidset, int gmuid); }
313 244 NONE NONE ALL { int nosys(void); }
314 245 NONE NONE ALL { int nosys(void); }
315 246 NONE NONE ALL { int nosys(void); }
318 247 NONE KERN ALL { int nfsclnt(int flag, caddr_t argp); }
319 248 NONE KERN ALL { int fhopen(const struct fhandle *u_fhp, int flags); }
321 247 NONE NONE ALL { int nosys(void); }
322 248 NONE NONE ALL { int nosys(void); }
325 249 NONE NONE ALL { int nosys(void); }
326 250 NONE NONE ALL { int minherit(void *addr, size_t len, int inherit); }
327 251 NONE NONE ALL { int semsys(u_int which, int a2, int a3, int a4, int a5); }
328 252 NONE NONE ALL { int msgsys(u_int which, int a2, int a3, int a4, int a5); }
329 253 NONE NONE ALL { int shmsys(u_int which, int a2, int a3, int a4); }
330 254 NONE NONE ALL { int semctl(int semid, int semnum, int cmd, semun_t arg); }
331 255 NONE NONE ALL { int semget(key_t key, int nsems, int semflg); }
332 256 NONE NONE ALL { int semop(int semid, struct sembuf *sops, int nsops); }
333 257 NONE NONE ALL { int nosys(void); }
334 258 NONE NONE ALL { int msgctl(int msqid, int cmd, struct msqid_ds *buf); }
335 259 NONE NONE ALL { int msgget(key_t key, int msgflg); }
336 260 PRE NONE ALL { int msgsnd(int msqid, void *msgp, size_t msgsz, int msgflg); }
337 261 PRE NONE ALL { user_ssize_t msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); }
338 262 NONE NONE ALL { int shmat(int shmid, void *shmaddr, int shmflg); }
339 263 NONE NONE ALL { int shmctl(int shmid, int cmd, struct shmid_ds *buf); }
340 264 NONE NONE ALL { int shmdt(void *shmaddr); }
341 265 NONE NONE ALL { int shmget(key_t key, size_t size, int shmflg); }
342 266 NONE NONE ALL { int shm_open(const char *name, int oflag, int mode); }
343 267 NONE NONE ALL { int shm_unlink(const char *name); }
344 268 NONE NONE ALL { user_addr_t sem_open(const char *name, int oflag, int mode, int value); }
345 269 NONE NONE ALL { int sem_close(sem_t *sem); }
346 270 NONE NONE ALL { int sem_unlink(const char *name); }
347 271 PRE NONE ALL { int sem_wait(sem_t *sem); }
348 272 NONE NONE ALL { int sem_trywait(sem_t *sem); }
349 273 NONE NONE ALL { int sem_post(sem_t *sem); }
350 274 NONE NONE ALL { int sem_getvalue(sem_t *sem, int *sval); }
351 275 NONE NONE ALL { int sem_init(sem_t *sem, int phsared, u_int value); }
352 276 NONE NONE ALL { int sem_destroy(sem_t *sem); }
353 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); }
354 278 NONE KERN ALL { int umask_extended(int newmask, user_addr_t xsecurity); }
355 279 NONE NONE ALL { int stat_extended(user_addr_t path, user_addr_t ub, user_addr_t xsecurity, user_addr_t xsecurity_size); }
356 280 NONE NONE ALL { int lstat_extended(user_addr_t path, user_addr_t ub, user_addr_t xsecurity, user_addr_t xsecurity_size); }
357 281 NONE NONE ALL { int fstat_extended(int fd, user_addr_t ub, user_addr_t xsecurity, user_addr_t xsecurity_size); }
358 282 NONE NONE ALL { int chmod_extended(user_addr_t path, uid_t uid, gid_t gid, int mode, user_addr_t xsecurity); }
359 283 NONE NONE ALL { int fchmod_extended(int fd, uid_t uid, gid_t gid, int mode, user_addr_t xsecurity); }
360 284 NONE NONE ALL { int access_extended(user_addr_t entries, size_t size, user_addr_t results, uid_t uid); }
361 285 NONE NONE ALL { int settid(uid_t uid, gid_t gid); }
362 286 NONE NONE ALL { int gettid(uid_t *uidp, gid_t *gidp); }
363 287 NONE NONE ALL { int setsgroups(int setlen, user_addr_t guidset); }
364 288 NONE NONE ALL { int getsgroups(user_addr_t setlen, user_addr_t guidset); }
365 289 NONE NONE ALL { int setwgroups(int setlen, user_addr_t guidset); }
366 290 NONE NONE ALL { int getwgroups(user_addr_t setlen, user_addr_t guidset); }
367 291 NONE NONE ALL { int mkfifo_extended(user_addr_t path, uid_t uid, gid_t gid, int mode, user_addr_t xsecurity); }
368 292 NONE NONE ALL { int mkdir_extended(user_addr_t path, uid_t uid, gid_t gid, int mode, user_addr_t xsecurity); }
369 293 NONE NONE ALL { int identitysvc(int opcode, user_addr_t message); }
370 294 NONE NONE ALL { int nosys(void); }
371 295 NONE NONE ALL { int nosys(void); }
372 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); }
373 297 NONE KERN UALL { int reset_shared_file(caddr_t *ba, int map_cnt, sf_mapping_t *mappings); }
374 298 NONE KERN ALL { int new_system_shared_regions(void); }
375 299 NONE KERN UALL { int shared_region_map_file_np(int fd, uint32_t mappingCount, user_addr_t mappings, user_addr_t slide_p); }
376 300 NONE KERN UALL { int shared_region_make_private_np(uint32_t rangeCount, user_addr_t ranges); }
377 301 NONE NONE ALL { int nosys(void); }
378 302 NONE NONE ALL { int nosys(void); }
379 303 NONE NONE ALL { int nosys(void); }
380 304 NONE NONE ALL { int nosys(void); }
381 305 NONE NONE ALL { int nosys(void); }
382 306 NONE NONE ALL { int nosys(void); }
383 307 NONE NONE ALL { int nosys(void); }
384 308 NONE NONE ALL { int nosys(void); }
385 309 NONE NONE ALL { int nosys(void); }
386 310 NONE KERN ALL { int getsid(pid_t pid); }
387 311 NONE NONE ALL { int settid_with_pid(pid_t pid, int assume); }
388 312 NONE NONE ALL { int nosys(void); }
389 313 NONE NONE ALL { int aio_fsync(int op, user_addr_t aiocbp); }
390 314 NONE NONE ALL { user_ssize_t aio_return(user_addr_t aiocbp); }
391 315 PRE NONE ALL { int aio_suspend(user_addr_t aiocblist, int nent, user_addr_t timeoutp); }
392 316 NONE NONE ALL { int aio_cancel(int fd, user_addr_t aiocbp); }
393 317 NONE NONE ALL { int aio_error(user_addr_t aiocbp); }
394 318 NONE NONE ALL { int aio_read(user_addr_t aiocbp); }
395 319 NONE NONE ALL { int aio_write(user_addr_t aiocbp); }
396 320 NONE NONE ALL { int lio_listio(int mode, user_addr_t aiocblist, int nent, user_addr_t sigp); }
397 321 NONE NONE ALL { int nosys(void); }
398 322 NONE NONE ALL { int nosys(void); }
399 323 NONE NONE ALL { int nosys(void); }
400 324 NONE NONE ALL { int mlockall(int how); }
401 325 NONE NONE ALL { int munlockall(int how); }
402 326 NONE NONE ALL { int nosys(void); }
403 327 NONE KERN ALL { int issetugid(void); }
404 328 NONE KERN ALL { int __pthread_kill(int thread_port, int sig); }
405 329 NONE KERN ALL { int pthread_sigmask(int how, user_addr_t set, user_addr_t oset); }
406 330 PRE KERN ALL { int sigwait(user_addr_t set, user_addr_t sig); }
407 331 NONE KERN ALL { int __disable_threadsignal(int value); }
408 332 NONE NONE ALL { int __pthread_markcancel(int thread_port); }
409 333 NONE NONE ALL { int __pthread_canceled(int action); }
410 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); }
411 335 NONE KERN ALL { int utrace(const void *addr, size_t len); }
412 336 NONE NONE ALL { int proc_info(int32_t callnum,int32_t pid,uint32_t flavor, uint64_t arg,user_addr_t buffer,int32_t buffersize); }
413 337 NONE NONE ALL { int nosys(void); }
414 338 NONE NONE ALL { int nosys(void); }
415 339 NONE NONE ALL { int nosys(void); }
416 340 NONE NONE ALL { int nosys(void); }
417 341 NONE NONE ALL { int nosys(void); }
418 342 NONE NONE ALL { int nosys(void); }
419 343 NONE NONE ALL { int nosys(void); }
420 344 NONE NONE ALL { int nosys(void); }
421 345 NONE NONE ALL { int nosys(void); }
422 346 NONE NONE ALL { int nosys(void); }
423 347 NONE NONE ALL { int nosys(void); }
424 348 NONE NONE ALL { int nosys(void); }
425 349 NONE NONE ALL { int nosys(void); }
426 350 NONE KERN ALL { int audit(void *record, int length); }
427 351 NONE KERN ALL { int auditon(int cmd, void *data, int length); }
428 352 NONE KERN ALL { int nosys(void); }
429 353 NONE KERN ALL { int getauid(au_id_t *auid); }
430 354 NONE KERN ALL { int setauid(au_id_t *auid); }
431 355 NONE KERN ALL { int getaudit(struct auditinfo *auditinfo); }
432 356 NONE KERN ALL { int setaudit(struct auditinfo *auditinfo); }
433 357 NONE KERN ALL { int getaudit_addr(struct auditinfo_addr *auditinfo_addr, int length); }
434 358 NONE KERN ALL { int setaudit_addr(struct auditinfo_addr *auditinfo_addr, int length); }
435 359 NONE KERN ALL { int auditctl(char *path); }
436 360 NONE NONE ALL { int nosys(void); }
437 361 NONE NONE ALL { int nosys(void); }
438 362 NONE NONE ALL { int kqueue(void); }
439 363 NONE NONE ALL { int kevent(int fd, const struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); }
440 364 NONE NONE ALL { int lchown(user_addr_t path, uid_t owner, gid_t group); }
441 365 NONE NONE ALL { int stack_snapshot(pid_t pid, user_addr_t tracebuf, uint32_t tracebuf_size, uint32_t options); }
442 366 NONE NONE ALL { int nosys(void); }
443 367 NONE NONE ALL { int nosys(void); }
444 368 NONE NONE ALL { int nosys(void); }
445 369 NONE NONE ALL { int nosys(void); }