macOS BSD System Calls

Generated from XNU-4570.1.46/ on Friday, 29 September 2017 by @andrzejdyjak.

Description for JSON dump elements (apart from conditionals):

[
	syscall number,
	return type,
	syscall name,
	number of args,
	arg 1, ..., arg n,
	source
]

You can find github repository here. Feedback, ideas, bugs, et ceteragive me a shout.

# Name RDI RSI RDX RCX R8 R9 Stack Stack Implementation
0 int nosys - - - - - - - - bsd/kern/subr_xxx.c
1 void exit int rval - - - - - - - bsd/kern/kern_exit.c
2 int fork - - - - - - - - bsd/kern/kern_fork.c
3 user_ssize_t read int fd user_addr_t cbuf user_size_t nbyte - - - - - bsd/kern/sys_generic.c
4 user_ssize_t write int fd user_addr_t cbuf user_size_t nbyte - - - - - bsd/kern/sys_generic.c
5 int open user_addr_t path int flags int mode - - - - - bsd/vfs/vfs_syscalls.c
6 int close int fd - - - - - - - bsd/kern/kern_descrip.c
7 int wait4 int pid user_addr_t status int options user_addr_t rusage - - - - bsd/kern/kern_exit.c
8 int enosys - - - - - - - - bsd/kern/subr_xxx.c
9 int link user_addr_t path user_addr_t link - - - - - - bsd/kern/sys_generic.c
10 int unlink user_addr_t path - - - - - - - bsd/vfs/vfs_syscalls.c
11 int enosys - - - - - - - - bsd/kern/subr_xxx.c
12 int chdir user_addr_t path - - - - - - - bsd/vfs/vfs_syscalls.c
13 int fchdir int fd - - - - - - - bsd/vfs/vfs_syscalls.c
14 int mknod user_addr_t path int mode int dev - - - - - bsd/vfs/vfs_syscalls.c
15 int chmod user_addr_t path int mode - - - - - - bsd/vfs/vfs_syscalls.c
16 int chown user_addr_t path int uid int gid - - - - - bsd/vfs/vfs_syscalls.c
17 int enosys - - - - - - - - bsd/kern/subr_xxx.c
18 int getfsstat user_addr_t buf int bufsize int flags - - - - - bsd/vfs/vfs_syscalls.c
19 int enosys - - - - - - - - bsd/kern/subr_xxx.c
20 int getpid - - - - - - - - bsd/kern/kern_prot.c
21 int enosys - - - - - - - - bsd/kern/subr_xxx.c
22 int enosys - - - - - - - - bsd/kern/subr_xxx.c
23 int setuid uid_t uid - - - - - - - bsd/kern/kern_prot.c
24 int getuid - - - - - - - - bsd/kern/kern_prot.c
25 int geteuid - - - - - - - - bsd/kern/kern_prot.c
26 int ptrace int req pid_t pid caddr_t addr int data - - - - bsd/kern/mach_process.c
#if SOCKETS
27 int recvmsg int s struct msghdr *msg int flags - - - - - bsd/kern/uipc_syscalls.c
28 int sendmsg int s caddr_t msg int flags - - - - - bsd/kern/uipc_syscalls.c
29 int recvfrom int s void *buf size_t len int flags struct sockaddr *from int *fromlenaddr - - bsd/kern/uipc_syscalls.c
30 int accept int s caddr_t name socklen_t *anamelen - - - - - bsd/kern/uipc_syscalls.c
31 int getpeername int fdes caddr_t asa socklen_t *alen - - - - - bsd/kern/uipc_syscalls.c
32 int getsockname int fdes caddr_t asa socklen_t *alen - - - - - bsd/kern/uipc_syscalls.c
#else
27 int nosys - - - - - - - - bsd/kern/subr_xxx.c
28 int nosys - - - - - - - - bsd/kern/subr_xxx.c
29 int nosys - - - - - - - - bsd/kern/subr_xxx.c
30 int nosys - - - - - - - - bsd/kern/subr_xxx.c
31 int nosys - - - - - - - - bsd/kern/subr_xxx.c
32 int nosys - - - - - - - - bsd/kern/subr_xxx.c
#endif
33 int access user_addr_t path int flags - - - - - - bsd/vfs/vfs_syscalls.c
34 int chflags char *path int flags - - - - - - bsd/vfs/vfs_syscalls.c
35 int fchflags int fd int flags - - - - - - bsd/vfs/vfs_syscalls.c
36 int sync - - - - - - - - bsd/vfs/vfs_syscalls.c
37 int kill int pid int signum int posix - - - - - bsd/kern/kern_sig.c
38 int nosys - - - - - - - - bsd/kern/subr_xxx.c
39 int getppid - - - - - - - - bsd/kern/kern_prot.c
40 int nosys - - - - - - - - bsd/kern/subr_xxx.c
41 int dup u_int fd - - - - - - - bsd/kern/kern_descrip.c
42 int pipe - - - - - - - - bsd/kern/sys_pipe.c
43 int getegid - - - - - - - - bsd/kern/kern_prot.c
44 int nosys - - - - - - - - bsd/kern/subr_xxx.c
45 int nosys - - - - - - - - bsd/kern/subr_xxx.c
46 int sigaction int signum struct __sigaction *nsa struct sigaction *osa - - - - - bsd/kern/kern_sig.c
47 int getgid - - - - - - - - bsd/kern/kern_prot.c
48 int sigprocmask int how user_addr_t mask user_addr_t omask - - - - - bsd/kern/kern_sig.c
49 int getlogin char *namebuf u_int namelen - - - - - - bsd/kern/kern_prot.c
50 int setlogin char *namebuf - - - - - - - bsd/kern/kern_prot.c
51 int acct char *path - - - - - - - bsd/kern/kern_acct.c
52 int sigpending struct sigvec *osv - - - - - - - bsd/kern/kern_sig.c
53 int sigaltstack struct sigaltstack *nss struct sigaltstack *oss - - - - - - bsd/kern/kern_sig.c
54 int ioctl int fd u_long com caddr_t data - - - - - bsd/kern/sys_generic.c
55 int reboot int opt char *command - - - - - - bsd/kern/kern_xxx.c
56 int revoke char *path - - - - - - - bsd/vfs/vfs_syscalls.c
57 int symlink char *path char *link - - - - - - bsd/vfs/vfs_syscalls.c
58 int readlink char *path char *buf int count - - - - - bsd/vfs/vfs_syscalls.c
59 int execve char *fname char **argp char **envp - - - - - bsd/kern/kern_exec.c
60 int umask int newmask - - - - - - - bsd/vfs/vfs_syscalls.c
61 int chroot user_addr_t path - - - - - - - bsd/vfs/vfs_syscalls.c
62 int nosys - - - - - - - - bsd/kern/subr_xxx.c
63 int nosys - - - - - - - - bsd/kern/subr_xxx.c
64 int nosys - - - - - - - - bsd/kern/subr_xxx.c
65 int msync caddr_t addr size_t len int flags - - - - - bsd/kern/kern_mman.c
66 int vfork - - - - - - - - bsd/kern/kern_fork.c
67 int nosys - - - - - - - - bsd/kern/subr_xxx.c
68 int nosys - - - - - - - - bsd/kern/subr_xxx.c
69 int nosys - - - - - - - - bsd/kern/subr_xxx.c
70 int nosys - - - - - - - - bsd/kern/subr_xxx.c
71 int nosys - - - - - - - - bsd/kern/subr_xxx.c
72 int nosys - - - - - - - - bsd/kern/subr_xxx.c
73 int munmap caddr_t addr size_t len - - - - - - bsd/kern/kern_mman.c
74 int mprotect caddr_t addr size_t len int prot - - - - - bsd/kern/kern_mman.c
75 int madvise caddr_t addr size_t len int behav - - - - - bsd/kern/kern_mman.c
76 int nosys - - - - - - - - bsd/kern/subr_xxx.c
77 int nosys - - - - - - - - bsd/kern/subr_xxx.c
78 int mincore user_addr_t addr user_size_t len user_addr_t vec - - - - - bsd/kern/kern_mman.c
79 int getgroups u_int gidsetsize gid_t *gidset - - - - - - bsd/kern/kern_prot.c
80 int setgroups u_int gidsetsize gid_t *gidset - - - - - - bsd/kern/kern_prot.c
81 int getpgrp - - - - - - - - bsd/kern/kern_prot.c
82 int setpgid int pid int pgid - - - - - - bsd/kern/kern_prot.c
83 int setitimer u_int which struct itimerval *itv struct itimerval *oitv - - - - - bsd/kern/kern_time.c
84 int nosys - - - - - - - - bsd/kern/subr_xxx.c
85 int swapon - - - - - - - - bsd/vm/vm_unix.c
86 int getitimer u_int which struct itimerval *itv - - - - - - bsd/kern/kern_time.c
87 int nosys - - - - - - - - bsd/kern/subr_xxx.c
88 int nosys - - - - - - - - bsd/kern/subr_xxx.c
89 int getdtablesize - - - - - - - - bsd/kern/kern_descrip.c
90 int dup2 u_int from u_int to - - - - - - bsd/kern/kern_descrip.c
91 int nosys - - - - - - - - bsd/kern/subr_xxx.c
92 int fcntl int fd int cmd long arg - - - - - bsd/kern/kern_descrip.c
93 int select int nd u_int32_t *in u_int32_t *ou u_int32_t *ex struct timeval *tv - - - bsd/kern/sys_generic.c
94 int nosys - - - - - - - - bsd/kern/subr_xxx.c
95 int fsync int fd - - - - - - - bsd/vfs/vfs_syscalls.c
96 int setpriority int which id_t who int prio - - - - - bsd/kern/kern_resource.c
#if SOCKETS
97 int socket int domain int type int protocol - - - - - bsd/kern/uipc_syscalls.c
98 int connect int s caddr_t name socklen_t namelen - - - - - bsd/kern/kern_control.c
#else
97 int nosys - - - - - - - - bsd/kern/subr_xxx.c
98 int nosys - - - - - - - - bsd/kern/subr_xxx.c
#endif
99 int nosys - - - - - - - - bsd/kern/subr_xxx.c
100 int getpriority int which id_t who - - - - - - bsd/kern/kern_resource.c
101 int nosys - - - - - - - - bsd/kern/subr_xxx.c
102 int nosys - - - - - - - - bsd/kern/subr_xxx.c
103 int nosys - - - - - - - - bsd/kern/subr_xxx.c
#if SOCKETS
104 int bind int s caddr_t name socklen_t namelen - - - - - bsd/kern/uipc_syscalls.c
105 int setsockopt int s int level int name caddr_t val socklen_t valsize - - - bsd/kern/uipc_syscalls.c
106 int listen int s int backlog - - - - - - bsd/kern/uipc_syscalls.c
#else
104 int nosys - - - - - - - - bsd/kern/subr_xxx.c
105 int nosys - - - - - - - - bsd/kern/subr_xxx.c
106 int nosys - - - - - - - - bsd/kern/subr_xxx.c
#endif
107 int nosys - - - - - - - - bsd/kern/subr_xxx.c
108 int nosys - - - - - - - - bsd/kern/subr_xxx.c
109 int nosys - - - - - - - - bsd/kern/subr_xxx.c
110 int nosys - - - - - - - - bsd/kern/subr_xxx.c
111 int sigsuspend sigset_t mask - - - - - - - bsd/kern/kern_sig.c
112 int nosys - - - - - - - - bsd/kern/subr_xxx.c
#if SOCKETS
113 int nosys - - - - - - - - bsd/kern/subr_xxx.c
114 int nosys - - - - - - - - bsd/kern/subr_xxx.c
#else
113 int nosys - - - - - - - - bsd/kern/subr_xxx.c
114 int nosys - - - - - - - - bsd/kern/subr_xxx.c
#endif
115 int nosys - - - - - - - - bsd/kern/subr_xxx.c
116 int gettimeofday struct timeval *tp struct timezone *tzp uint64_t *mach_absolute_time - - - - - bsd/kern/kern_time.c
117 int getrusage int who struct rusage *rusage - - - - - - bsd/kern/kern_resource.c
#if SOCKETS
118 int getsockopt int s int level int name caddr_t val socklen_t *avalsize - - - bsd/kern/uipc_syscalls.c
#else
118 int nosys - - - - - - - - bsd/kern/subr_xxx.c
#endif
119 int nosys - - - - - - - - bsd/kern/subr_xxx.c
120 user_ssize_t readv int fd struct iovec *iovp u_int iovcnt - - - - - bsd/kern/sys_generic.c
121 user_ssize_t writev int fd struct iovec *iovp u_int iovcnt - - - - - bsd/kern/sys_generic.c
122 int settimeofday struct timeval *tv struct timezone *tzp - - - - - - bsd/kern/kern_time.c
123 int fchown int fd int uid int gid - - - - - bsd/vfs/vfs_syscalls.c
124 int fchmod int fd int mode - - - - - - bsd/vfs/vfs_syscalls.c
125 int nosys - - - - - - - - bsd/kern/subr_xxx.c
126 int setreuid uid_t ruid uid_t euid - - - - - - bsd/kern/kern_prot.c
127 int setregid gid_t rgid gid_t egid - - - - - - bsd/kern/kern_prot.c
128 int rename char *from char *to - - - - - - bsd/vfs/vfs_syscalls.c
129 int nosys - - - - - - - - bsd/kern/subr_xxx.c
130 int nosys - - - - - - - - bsd/kern/subr_xxx.c
131 int flock int fd int how - - - - - - bsd/kern/kern_descrip.c
132 int mkfifo user_addr_t path int mode - - - - - - bsd/vfs/vfs_syscalls.c
#if SOCKETS
133 int sendto int s caddr_t buf size_t len int flags caddr_t to socklen_t tolen - - bsd/kern/uipc_syscalls.c
134 int shutdown int s int how - - - - - - bsd/kern/uipc_syscalls.c
135 int socketpair int domain int type int protocol int *rsv - - - - bsd/kern/uipc_syscalls.c
#else
133 int nosys - - - - - - - - bsd/kern/subr_xxx.c
134 int nosys - - - - - - - - bsd/kern/subr_xxx.c
135 int nosys - - - - - - - - bsd/kern/subr_xxx.c
#endif
136 int mkdir user_addr_t path int mode - - - - - - bsd/vfs/vfs_syscalls.c
137 int rmdir char *path - - - - - - - bsd/vfs/vfs_syscalls.c
138 int utimes char *path struct timeval *tptr - - - - - - bsd/vfs/vfs_syscalls.c
139 int futimes int fd struct timeval *tptr - - - - - - bsd/vfs/vfs_syscalls.c
140 int adjtime struct timeval *delta struct timeval *olddelta - - - - - - bsd/kern/kern_ntptime.c
141 int nosys - - - - - - - - bsd/kern/subr_xxx.c
142 int gethostuuid unsigned char *uuid_buf const struct timespec *timeoutp int spi - - - - - bsd/kern/sys_generic.c
143 int nosys - - - - - - - - bsd/kern/subr_xxx.c
144 int nosys - - - - - - - - bsd/kern/subr_xxx.c
145 int nosys - - - - - - - - bsd/kern/subr_xxx.c
146 int nosys - - - - - - - - bsd/kern/subr_xxx.c
147 int setsid - - - - - - - - bsd/kern/kern_prot.c
148 int nosys - - - - - - - - bsd/kern/subr_xxx.c
149 int nosys - - - - - - - - bsd/kern/subr_xxx.c
150 int nosys - - - - - - - - bsd/kern/subr_xxx.c
151 int getpgid pid_t pid - - - - - - - bsd/kern/kern_prot.c
152 int setprivexec int flag - - - - - - - bsd/kern/kern_prot.c
153 user_ssize_t pread int fd user_addr_t buf user_size_t nbyte off_t offset - - - - bsd/kern/sys_generic.c
154 user_ssize_t pwrite int fd user_addr_t buf user_size_t nbyte off_t offset - - - - bsd/kern/sys_generic.c
#if NFSSERVER
155 int nfssvc int flag caddr_t argp - - - - - - bsd/nfs/nfs_syscalls.c
#else
155 int nosys - - - - - - - - bsd/kern/subr_xxx.c
#endif
156 int nosys - - - - - - - - bsd/kern/subr_xxx.c
157 int statfs char *path struct statfs *buf - - - - - - bsd/vfs/vfs_syscalls.c
158 int fstatfs int fd struct statfs *buf - - - - - - bsd/vfs/vfs_syscalls.c
159 int unmount user_addr_t path int flags - - - - - - bsd/vfs/vfs_syscalls.c
160 int nosys - - - - - - - - bsd/kern/subr_xxx.c
#if NFSSERVER
161 int getfh char *fname fhandle_t *fhp - - - - - - bsd/nfs/nfs_syscalls.c
#else
161 int nosys - - - - - - - - bsd/kern/subr_xxx.c
#endif
162 int nosys - - - - - - - - bsd/kern/subr_xxx.c
163 int nosys - - - - - - - - bsd/kern/subr_xxx.c
164 int nosys - - - - - - - - bsd/kern/subr_xxx.c
165 int quotactl const char *path int cmd int uid caddr_t arg - - - - bsd/vfs/vfs_syscalls.c
166 int nosys - - - - - - - - bsd/kern/subr_xxx.c
167 int mount char *type char *path int flags caddr_t data - - - - bsd/vfs/vfs_syscalls.c
168 int nosys - - - - - - - - bsd/kern/subr_xxx.c
169 int csops pid_t pid uint32_t ops user_addr_t useraddr user_size_t usersize - - - - bsd/kern/kern_proc.c
170 int csops_audittoken pid_t pid uint32_t ops user_addr_t useraddr user_size_t usersize user_addr_t uaudittoken - - - bsd/kern/kern_proc.c
171 int nosys - - - - - - - - bsd/kern/subr_xxx.c
172 int nosys - - - - - - - - bsd/kern/subr_xxx.c
173 int waitid idtype_t idtype id_t id siginfo_t *infop int options - - - - bsd/kern/kern_exit.c
174 int nosys - - - - - - - - bsd/kern/subr_xxx.c
175 int nosys - - - - - - - - bsd/kern/subr_xxx.c
176 int nosys - - - - - - - - bsd/kern/subr_xxx.c
177 int kdebug_typefilter void** addr size_t* size - - - - - - bsd/kern/kdebug.c
178 uint64_t kdebug_trace_string uint32_t debugid uint64_t str_id const char *str - - - - - bsd/kern/kdebug.c
179 int kdebug_trace64 uint32_t code uint64_t arg1 uint64_t arg2 uint64_t arg3 uint64_t arg4 - - - bsd/kern/kdebug.c
180 int kdebug_trace uint32_t code u_long arg1 u_long arg2 u_long arg3 u_long arg4 - - - bsd/kern/kdebug.c
181 int setgid gid_t gid - - - - - - - bsd/kern/kern_prot.c
182 int setegid gid_t egid - - - - - - - bsd/kern/kern_prot.c
183 int seteuid uid_t euid - - - - - - - bsd/kern/kern_prot.c
184 int sigreturn struct ucontext *uctx int infostyle - - - - - - bsd/dev/arm/unix_signal.c
185 int enosys - - - - - - - - bsd/kern/subr_xxx.c
186 int thread_selfcounts int type user_addr_t buf user_size_t nbytes - - - - - bsd/dev/monotonic.c
187 int fdatasync int fd - - - - - - - bsd/vfs/vfs_syscalls.c
188 int stat user_addr_t path user_addr_t ub - - - - - - bsd/netinet/tcp_timer.c
189 int fstat int fd user_addr_t ub - - - - - - bsd/kern/kern_descrip.c
190 int lstat user_addr_t path user_addr_t ub - - - - - - bsd/vfs/vfs_syscalls.c
191 int pathconf char *path int name - - - - - - bsd/vfs/vfs_syscalls.c
192 int fpathconf int fd int name - - - - - - bsd/kern/kern_descrip.c
193 int nosys - - - - - - - - bsd/kern/subr_xxx.c
194 int getrlimit u_int which struct rlimit *rlp - - - - - - bsd/kern/kern_resource.c
195 int setrlimit u_int which struct rlimit *rlp - - - - - - bsd/kern/kern_resource.c
196 int getdirentries int fd char *buf u_int count long *basep - - - - bsd/vfs/vfs_syscalls.c
197 user_addr_t mmap caddr_t addr size_t len int prot int flags int fd off_t pos - - bsd/kern/kern_mman.c
198 int nosys - - - - - - - - bsd/kern/subr_xxx.c
199 off_t lseek int fd off_t offset int whence - - - - - bsd/vfs/vfs_syscalls.c
200 int truncate char *path off_t length - - - - - - bsd/vfs/vfs_syscalls.c
201 int ftruncate int fd off_t length - - - - - - bsd/vfs/vfs_syscalls.c
202 int sysctl int *name u_int namelen void *old size_t *oldlenp void *new size_t newlen - - bsd/kern/kern_newsysctl.c
203 int mlock caddr_t addr size_t len - - - - - - bsd/kern/kern_mman.c
204 int munlock caddr_t addr size_t len - - - - - - bsd/kern/kern_mman.c
205 int undelete user_addr_t path - - - - - - - bsd/vfs/vfs_syscalls.c
206 int nosys - - - - - - - - bsd/kern/subr_xxx.c
207 int nosys - - - - - - - - bsd/kern/subr_xxx.c
208 int nosys - - - - - - - - bsd/kern/subr_xxx.c
209 int nosys - - - - - - - - bsd/kern/subr_xxx.c
210 int nosys - - - - - - - - bsd/kern/subr_xxx.c
211 int nosys - - - - - - - - bsd/kern/subr_xxx.c
212 int nosys - - - - - - - - bsd/kern/subr_xxx.c
213 int nosys - - - - - - - - bsd/kern/subr_xxx.c
214 int nosys - - - - - - - - bsd/kern/subr_xxx.c
215 int nosys - - - - - - - - bsd/kern/subr_xxx.c
216 int open_dprotected_np user_addr_t path int flags int class int dpflags int mode - - - bsd/vfs/vfs_syscalls.c
217 int nosys - - - - - - - - bsd/kern/subr_xxx.c
218 int nosys - - - - - - - - bsd/kern/subr_xxx.c
219 int nosys - - - - - - - - bsd/kern/subr_xxx.c
220 int getattrlist const char *path struct attrlist *alist void *attributeBuffer size_t bufferSize u_long options - - - bsd/vfs/vfs_attrlist.c
221 int setattrlist const char *path struct attrlist *alist void *attributeBuffer size_t bufferSize u_long options - - - bsd/vfs/vfs_attrlist.c
222 int getdirentriesattr int fd struct attrlist *alist void *buffer size_t buffersize u_long *count u_long *basep u_long *newstate u_long options bsd/vfs/vfs_syscalls.c
223 int exchangedata const char *path1 const char *path2 u_long options - - - - - bsd/vfs/vfs_syscalls.c
224 int nosys - - - - - - - - bsd/kern/subr_xxx.c
225 int searchfs const char *path struct fssearchblock *searchblock uint32_t *nummatches uint32_t scriptcode uint32_t options struct searchstate *state - - bsd/vfs/vfs_syscalls.c
226 int delete user_addr_t path - - - - - - - bsd/vfs/vfs_syscalls.c
227 int copyfile char *from char *to int mode int flags - - - - bsd/vfs/vfs_syscalls.c
228 int fgetattrlist int fd struct attrlist *alist void *attributeBuffer size_t bufferSize u_long options - - - bsd/vfs/vfs_attrlist.c
229 int fsetattrlist int fd struct attrlist *alist void *attributeBuffer size_t bufferSize u_long options - - - bsd/vfs/vfs_attrlist.c
230 int poll struct pollfd *fds u_int nfds int timeout - - - - - bsd/kern/sys_generic.c
231 int watchevent struct eventreq *u_req int u_eventmask - - - - - - bsd/kern/sys_generic.c
232 int waitevent struct eventreq *u_req struct timeval *tv - - - - - - bsd/kern/sys_generic.c
233 int modwatch struct eventreq *u_req int u_eventmask - - - - - - bsd/kern/sys_generic.c
234 user_ssize_t getxattr user_addr_t path user_addr_t attrname user_addr_t value size_t size uint32_t position int options - - bsd/vfs/vfs_syscalls.c
235 user_ssize_t fgetxattr int fd user_addr_t attrname user_addr_t value size_t size uint32_t position int options - - bsd/vfs/vfs_syscalls.c
236 int setxattr user_addr_t path user_addr_t attrname user_addr_t value size_t size uint32_t position int options - - bsd/vfs/vfs_syscalls.c
237 int fsetxattr int fd user_addr_t attrname user_addr_t value size_t size uint32_t position int options - - bsd/vfs/vfs_syscalls.c
238 int removexattr user_addr_t path user_addr_t attrname int options - - - - - bsd/vfs/vfs_syscalls.c
239 int fremovexattr int fd user_addr_t attrname int options - - - - - bsd/vfs/vfs_syscalls.c
240 user_ssize_t listxattr user_addr_t path user_addr_t namebuf size_t bufsize int options - - - - bsd/vfs/vfs_syscalls.c
241 user_ssize_t flistxattr int fd user_addr_t namebuf size_t bufsize int options - - - - bsd/vfs/vfs_syscalls.c
242 int fsctl const char *path u_long cmd caddr_t data u_int options - - - - bsd/vfs/vfs_syscalls.c
243 int initgroups u_int gidsetsize gid_t *gidset int gmuid - - - - - bsd/kern/kern_prot.c
244 int posix_spawn pid_t *pid const char *path const struct _posix_spawn_args_desc *adesc char **argv char **envp - - - bsd/kern/kern_exec.c
245 int ffsctl int fd u_long cmd caddr_t data u_int options - - - - bsd/vfs/vfs_syscalls.c
246 int nosys - - - - - - - - bsd/kern/subr_xxx.c
#if NFSCLIENT
247 int nfsclnt int flag caddr_t argp - - - - - - bsd/nfs/nfs_syscalls.c
#else
247 int nosys - - - - - - - - bsd/kern/subr_xxx.c
#endif
#if NFSSERVER
248 int fhopen const struct fhandle *u_fhp int flags - - - - - - bsd/nfs/nfs_syscalls.c
#else
248 int nosys - - - - - - - - bsd/kern/subr_xxx.c
#endif
249 int nosys - - - - - - - - bsd/kern/subr_xxx.c
250 int minherit void *addr size_t len int inherit - - - - - bsd/kern/kern_mman.c
#if SYSV_SEM
251 int semsys u_int which int a2 int a3 int a4 int a5 - - - bsd/kern/sysv_sem.c
#else
251 int nosys - - - - - - - - bsd/kern/subr_xxx.c
#endif
#if SYSV_MSG
252 int msgsys u_int which int a2 int a3 int a4 int a5 - - - bsd/kern/sysv_msg.c
#else
252 int nosys - - - - - - - - bsd/kern/subr_xxx.c
#endif
#if SYSV_SHM
253 int shmsys u_int which int a2 int a3 int a4 - - - - bsd/kern/sysv_shm.c
#else
253 int nosys - - - - - - - - bsd/kern/subr_xxx.c
#endif
#if SYSV_SEM
254 int semctl int semid int semnum int cmd semun_t arg - - - - bsd/kern/sysv_sem.c
255 int semget key_t key int nsems int semflg - - - - - bsd/kern/sysv_sem.c
256 int semop int semid struct sembuf *sops int nsops - - - - - bsd/kern/sysv_sem.c
257 int nosys - - - - - - - - bsd/kern/subr_xxx.c
#else
254 int nosys - - - - - - - - bsd/kern/subr_xxx.c
255 int nosys - - - - - - - - bsd/kern/subr_xxx.c
256 int nosys - - - - - - - - bsd/kern/subr_xxx.c
257 int nosys - - - - - - - - bsd/kern/subr_xxx.c
#endif
#if SYSV_MSG
258 int msgctl int msqid int cmd struct msqid_ds *buf - - - - - bsd/kern/sysv_msg.c
259 int msgget key_t key int msgflg - - - - - - bsd/kern/sysv_msg.c
260 int msgsnd int msqid void *msgp size_t msgsz int msgflg - - - - bsd/kern/sysv_msg.c
261 user_ssize_t msgrcv int msqid void *msgp size_t msgsz long msgtyp int msgflg - - - bsd/kern/sysv_msg.c
#else
258 int nosys - - - - - - - - bsd/kern/subr_xxx.c
259 int nosys - - - - - - - - bsd/kern/subr_xxx.c
260 int nosys - - - - - - - - bsd/kern/subr_xxx.c
261 int nosys - - - - - - - - bsd/kern/subr_xxx.c
#endif
#if SYSV_SHM
262 user_addr_t shmat int shmid void *shmaddr int shmflg - - - - - bsd/kern/sysv_shm.c
263 int shmctl int shmid int cmd struct shmid_ds *buf - - - - - bsd/kern/sysv_shm.c
264 int shmdt void *shmaddr - - - - - - - bsd/kern/sysv_shm.c
265 int shmget key_t key size_t size int shmflg - - - - - bsd/kern/sysv_shm.c
#else
262 int nosys - - - - - - - - bsd/kern/subr_xxx.c
263 int nosys - - - - - - - - bsd/kern/subr_xxx.c
264 int nosys - - - - - - - - bsd/kern/subr_xxx.c
265 int nosys - - - - - - - - bsd/kern/subr_xxx.c
#endif
266 int shm_open const char *name int oflag int mode - - - - - bsd/kern/posix_shm.c
267 int shm_unlink const char *name - - - - - - - bsd/kern/posix_shm.c
268 user_addr_t sem_open const char *name int oflag int mode int value - - - - bsd/kern/posix_sem.c
269 int sem_close sem_t *sem - - - - - - - bsd/kern/posix_sem.c
270 int sem_unlink const char *name - - - - - - - bsd/kern/posix_sem.c
271 int sem_wait sem_t *sem - - - - - - - bsd/kern/posix_sem.c
272 int sem_trywait sem_t *sem - - - - - - - bsd/kern/posix_sem.c
273 int sem_post sem_t *sem - - - - - - - bsd/kern/posix_sem.c
274 int sysctlbyname const char *name size_t namelen void *old size_t *oldlenp void *new size_t newlen - - bsd/kern/kern_newsysctl.c
275 int enosys - - - - - - - - bsd/kern/subr_xxx.c
276 int enosys - - - - - - - - bsd/kern/subr_xxx.c
277 int open_extended user_addr_t path int flags uid_t uid gid_t gid int mode user_addr_t xsecurity - - bsd/vfs/vfs_syscalls.c
278 int umask_extended int newmask user_addr_t xsecurity - - - - - - bsd/vfs/vfs_syscalls.c
279 int stat_extended user_addr_t path user_addr_t ub user_addr_t xsecurity user_addr_t xsecurity_size - - - - bsd/vfs/vfs_syscalls.c
280 int lstat_extended user_addr_t path user_addr_t ub user_addr_t xsecurity user_addr_t xsecurity_size - - - - bsd/vfs/vfs_syscalls.c
281 int fstat_extended int fd user_addr_t ub user_addr_t xsecurity user_addr_t xsecurity_size - - - - bsd/kern/kern_descrip.c
282 int chmod_extended user_addr_t path uid_t uid gid_t gid int mode user_addr_t xsecurity - - - bsd/vfs/vfs_syscalls.c
283 int fchmod_extended int fd uid_t uid gid_t gid int mode user_addr_t xsecurity - - - bsd/vfs/vfs_syscalls.c
284 int access_extended user_addr_t entries size_t size user_addr_t results uid_t uid - - - - bsd/vfs/vfs_syscalls.c
285 int settid uid_t uid gid_t gid - - - - - - bsd/kern/kern_prot.c
286 int gettid uid_t *uidp gid_t *gidp - - - - - - bsd/kern/kern_prot.c
287 int setsgroups int setlen user_addr_t guidset - - - - - - bsd/kern/kern_prot.c
288 int getsgroups user_addr_t setlen user_addr_t guidset - - - - - - bsd/kern/kern_prot.c
289 int setwgroups int setlen user_addr_t guidset - - - - - - bsd/kern/kern_prot.c
290 int getwgroups user_addr_t setlen user_addr_t guidset - - - - - - bsd/kern/kern_prot.c
291 int mkfifo_extended user_addr_t path uid_t uid gid_t gid int mode user_addr_t xsecurity - - - bsd/vfs/vfs_syscalls.c
292 int mkdir_extended user_addr_t path uid_t uid gid_t gid int mode user_addr_t xsecurity - - - bsd/vfs/vfs_syscalls.c
#if CONFIG_EXT_RESOLVER
293 int identitysvc int opcode user_addr_t message - - - - - - bsd/kern/kern_credential.c
#else
293 int nosys - - - - - - - - bsd/kern/subr_xxx.c
#endif
294 int shared_region_check_np uint64_t *start_address - - - - - - - bsd/vm/vm_unix.c
295 int nosys - - - - - - - - bsd/kern/subr_xxx.c
296 int vm_pressure_monitor int wait_for_pressure int nsecs_monitored uint32_t *pages_reclaimed - - - - - bsd/vm/vm_unix.c
#if PSYNCH
297 uint32_t psynch_rw_longrdlock user_addr_t rwlock uint32_t lgenval uint32_t ugenval uint32_t rw_wc int flags - - - bsd/kern/pthread_shims.c
298 uint32_t psynch_rw_yieldwrlock user_addr_t rwlock uint32_t lgenval uint32_t ugenval uint32_t rw_wc int flags - - - bsd/kern/pthread_shims.c
299 int psynch_rw_downgrade user_addr_t rwlock uint32_t lgenval uint32_t ugenval uint32_t rw_wc int flags - - - bsd/kern/pthread_shims.c
300 uint32_t psynch_rw_upgrade user_addr_t rwlock uint32_t lgenval uint32_t ugenval uint32_t rw_wc int flags - - - bsd/kern/pthread_shims.c
301 uint32_t psynch_mutexwait user_addr_t mutex uint32_t mgen uint32_t ugen uint64_t tid uint32_t flags - - - bsd/kern/pthread_shims.c
302 uint32_t psynch_mutexdrop user_addr_t mutex uint32_t mgen uint32_t ugen uint64_t tid uint32_t flags - - - bsd/kern/pthread_shims.c
303 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 - bsd/kern/pthread_shims.c
304 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 bsd/kern/pthread_shims.c
305 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 bsd/kern/pthread_shims.c
306 uint32_t psynch_rw_rdlock user_addr_t rwlock uint32_t lgenval uint32_t ugenval uint32_t rw_wc int flags - - - bsd/kern/pthread_shims.c
307 uint32_t psynch_rw_wrlock user_addr_t rwlock uint32_t lgenval uint32_t ugenval uint32_t rw_wc int flags - - - bsd/kern/pthread_shims.c
308 uint32_t psynch_rw_unlock user_addr_t rwlock uint32_t lgenval uint32_t ugenval uint32_t rw_wc int flags - - - bsd/kern/pthread_shims.c
309 uint32_t psynch_rw_unlock2 user_addr_t rwlock uint32_t lgenval uint32_t ugenval uint32_t rw_wc int flags - - - bsd/kern/pthread_shims.c
#else
297 int nosys - - - - - - - - bsd/kern/subr_xxx.c
298 int nosys - - - - - - - - bsd/kern/subr_xxx.c
299 int enosys - - - - - - - - bsd/kern/subr_xxx.c
300 int enosys - - - - - - - - bsd/kern/subr_xxx.c
301 int nosys - - - - - - - - bsd/kern/subr_xxx.c
302 int nosys - - - - - - - - bsd/kern/subr_xxx.c
303 int nosys - - - - - - - - bsd/kern/subr_xxx.c
304 int nosys - - - - - - - - bsd/kern/subr_xxx.c
305 int nosys - - - - - - - - bsd/kern/subr_xxx.c
306 int nosys - - - - - - - - bsd/kern/subr_xxx.c
307 int nosys - - - - - - - - bsd/kern/subr_xxx.c
308 int nosys - - - - - - - - bsd/kern/subr_xxx.c
309 int nosys - - - - - - - - bsd/kern/subr_xxx.c
#endif
310 int getsid pid_t pid - - - - - - - bsd/kern/kern_prot.c
311 int settid_with_pid pid_t pid int assume - - - - - - bsd/kern/kern_prot.c
#if PSYNCH
312 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 - bsd/kern/pthread_shims.c
#else
312 int nosys - - - - - - - - bsd/kern/subr_xxx.c
#endif
313 int aio_fsync int op user_addr_t aiocbp - - - - - - bsd/kern/kern_aio.c
314 user_ssize_t aio_return user_addr_t aiocbp - - - - - - - bsd/kern/kern_aio.c
315 int aio_suspend user_addr_t aiocblist int nent user_addr_t timeoutp - - - - - bsd/kern/kern_aio.c
316 int aio_cancel int fd user_addr_t aiocbp - - - - - - bsd/kern/kern_aio.c
317 int aio_error user_addr_t aiocbp - - - - - - - bsd/kern/kern_aio.c
318 int aio_read user_addr_t aiocbp - - - - - - - bsd/kern/kern_aio.c
319 int aio_write user_addr_t aiocbp - - - - - - - bsd/kern/kern_aio.c
320 int lio_listio int mode user_addr_t aiocblist int nent user_addr_t sigp - - - - bsd/kern/kern_aio.c
321 int nosys - - - - - - - - bsd/kern/subr_xxx.c
322 int iopolicysys int cmd void *arg - - - - - - bsd/kern/kern_resource.c
323 int process_policy int scope int action int policy int policy_subtype user_addr_t attrp pid_t target_pid uint64_t target_threadid - bsd/kern/process_policy.c
324 int mlockall int how - - - - - - - bsd/kern/kern_mman.c
325 int munlockall int how - - - - - - - bsd/kern/kern_mman.c
326 int nosys - - - - - - - - bsd/kern/subr_xxx.c
327 int issetugid - - - - - - - - bsd/kern/kern_prot.c
328 int __pthread_kill int thread_port int sig - - - - - - bsd/kern/kern_sig.c
329 int __pthread_sigmask int how user_addr_t set user_addr_t oset - - - - - bsd/kern/kern_sig.c
330 int __sigwait user_addr_t set user_addr_t sig - - - - - - bsd/kern/kern_sig.c
331 int __disable_threadsignal int value - - - - - - - bsd/kern/kern_sig.c
332 int __pthread_markcancel int thread_port - - - - - - - bsd/kern/kern_sig.c
333 int __pthread_canceled int action - - - - - - - bsd/kern/kern_sig.c
334 int __semwait_signal int cond_sem int mutex_sem int timeout int relative int64_t tv_sec int32_t tv_nsec - - bsd/kern/kern_sig.c
335 int nosys - - - - - - - - bsd/kern/subr_xxx.c
336 int proc_info int32_t callnum pid flavor uint64_t arg buffer buffersize - - bsd/kern/proc_info.c
#if SENDFILE
337 int sendfile int fd int s off_t offset off_t *nbytes struct sf_hdtr *hdtr int flags - - bsd/kern/uipc_syscalls.c
#else /* !SENDFILE */
337 int nosys - - - - - - - - bsd/kern/subr_xxx.c
#endif
338 int stat64 user_addr_t path user_addr_t ub - - - - - - bsd/vfs/vfs_syscalls.c
339 int fstat64 int fd user_addr_t ub - - - - - - bsd/kern/kern_descrip.c
340 int lstat64 user_addr_t path user_addr_t ub - - - - - - bsd/vfs/vfs_syscalls.c
341 int stat64_extended user_addr_t path user_addr_t ub user_addr_t xsecurity user_addr_t xsecurity_size - - - - bsd/vfs/vfs_syscalls.c
342 int lstat64_extended user_addr_t path user_addr_t ub user_addr_t xsecurity user_addr_t xsecurity_size - - - - bsd/vfs/vfs_syscalls.c
343 int fstat64_extended int fd user_addr_t ub user_addr_t xsecurity user_addr_t xsecurity_size - - - - bsd/kern/kern_descrip.c
344 user_ssize_t getdirentries64 int fd void *buf user_size_t bufsize off_t *position - - - - bsd/vfs/vfs_syscalls.c
345 int statfs64 char *path struct statfs64 *buf - - - - - - bsd/vfs/vfs_syscalls.c
346 int fstatfs64 int fd struct statfs64 *buf - - - - - - bsd/vfs/vfs_syscalls.c
347 int getfsstat64 user_addr_t buf int bufsize int flags - - - - - bsd/vfs/vfs_syscalls.c
348 int __pthread_chdir user_addr_t path - - - - - - - bsd/vfs/vfs_syscalls.c
349 int __pthread_fchdir int fd - - - - - - - bsd/vfs/vfs_syscalls.c
350 int audit void *record int length - - - - - - bsd/security/audit/audit_syscalls.c
351 int auditon int cmd void *data int length - - - - - bsd/security/audit/audit_syscalls.c
352 int nosys - - - - - - - - bsd/kern/subr_xxx.c
353 int getauid au_id_t *auid - - - - - - - bsd/security/audit/audit_syscalls.c
354 int setauid au_id_t *auid - - - - - - - bsd/security/audit/audit_syscalls.c
355 int nosys - - - - - - - - bsd/kern/subr_xxx.c
356 int nosys - - - - - - - - bsd/kern/subr_xxx.c
357 int getaudit_addr struct auditinfo_addr *auditinfo_addr int length - - - - - - bsd/security/audit/audit_syscalls.c
358 int setaudit_addr struct auditinfo_addr *auditinfo_addr int length - - - - - - bsd/security/audit/audit_syscalls.c
359 int auditctl char *path - - - - - - - bsd/security/audit/audit_syscalls.c
#if CONFIG_WORKQUEUE
360 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 - - - bsd/kern/pthread_shims.c
361 int bsdthread_terminate user_addr_t stackaddr size_t freesize uint32_t port uint32_t sem - - - - bsd/kern/pthread_shims.c
#else
360 int nosys - - - - - - - - bsd/kern/subr_xxx.c
361 int nosys - - - - - - - - bsd/kern/subr_xxx.c
#endif
362 int kqueue - - - - - - - - bsd/kern/kern_event.c
363 int kevent int fd const struct kevent *changelist int nchanges struct kevent *eventlist int nevents const struct timespec *timeout - - bsd/kern/kern_event.c
364 int lchown user_addr_t path uid_t owner gid_t group - - - - - bsd/vfs/vfs_syscalls.c
365 int nosys - - - - - - - - bsd/kern/subr_xxx.c
#if CONFIG_WORKQUEUE
366 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 - bsd/kern/pthread_shims.c
367 int workq_open - - - - - - - - bsd/kern/pthread_shims.c
368 int workq_kernreturn int options user_addr_t item int affinity int prio - - - - bsd/kern/pthread_shims.c
#else
366 int nosys - - - - - - - - bsd/kern/subr_xxx.c
367 int nosys - - - - - - - - bsd/kern/subr_xxx.c
368 int nosys - - - - - - - - bsd/kern/subr_xxx.c
#endif
369 int kevent64 int fd const struct kevent64_s *changelist int nchanges struct kevent64_s *eventlist int nevents unsigned int flags const struct timespec *timeout - bsd/kern/kern_event.c
#if OLD_SEMWAIT_SIGNAL
370 int __old_semwait_signal int cond_sem int mutex_sem int timeout int relative const struct timespec *ts - - - bsd/kern/kern_sig.c
371 int __old_semwait_signal_nocancel int cond_sem int mutex_sem int timeout int relative const struct timespec *ts - - - bsd/kern/kern_sig.c
#else
370 int nosys - - - - - - - - bsd/kern/subr_xxx.c
371 int nosys - - - - - - - - bsd/kern/subr_xxx.c
#endif
372 uint64_t thread_selfid - - - - - - - - bsd/kern/pthread_shims.c
373 int ledger int cmd caddr_t arg1 caddr_t arg2 caddr_t arg3 - - - - bsd/kern/sys_generic.c
374 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 bsd/kern/kern_event.c
375 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 bsd/kern/kern_event.c
376 int nosys - - - - - - - - bsd/kern/subr_xxx.c
377 int nosys - - - - - - - - bsd/kern/subr_xxx.c
378 int nosys - - - - - - - - bsd/kern/subr_xxx.c
379 int nosys - - - - - - - - bsd/kern/subr_xxx.c
380 int __mac_execve char *fname char **argp char **envp struct mac *mac_p - - - - bsd/kern/kern_exec.c
#if CONFIG_MACF
381 int __mac_syscall char *policy int call user_addr_t arg - - - - - security/mac_base.c
382 int __mac_get_file char *path_p struct mac *mac_p - - - - - - security/mac_base.c
383 int __mac_set_file char *path_p struct mac *mac_p - - - - - - security/mac_base.c
384 int __mac_get_link char *path_p struct mac *mac_p - - - - - - security/mac_base.c
385 int __mac_set_link char *path_p struct mac *mac_p - - - - - - security/mac_base.c
386 int __mac_get_proc struct mac *mac_p - - - - - - - security/mac_base.c
387 int __mac_set_proc struct mac *mac_p - - - - - - - security/mac_base.c
388 int __mac_get_fd int fd struct mac *mac_p - - - - - - security/mac_base.c
389 int __mac_set_fd int fd struct mac *mac_p - - - - - - security/mac_base.c
390 int __mac_get_pid pid_t pid struct mac *mac_p - - - - - - security/mac_base.c
#else
381 int enosys - - - - - - - - bsd/kern/subr_xxx.c
382 int nosys - - - - - - - - bsd/kern/subr_xxx.c
383 int nosys - - - - - - - - bsd/kern/subr_xxx.c
384 int nosys - - - - - - - - bsd/kern/subr_xxx.c
385 int nosys - - - - - - - - bsd/kern/subr_xxx.c
386 int nosys - - - - - - - - bsd/kern/subr_xxx.c
387 int nosys - - - - - - - - bsd/kern/subr_xxx.c
388 int nosys - - - - - - - - bsd/kern/subr_xxx.c
389 int nosys - - - - - - - - bsd/kern/subr_xxx.c
390 int nosys - - - - - - - - bsd/kern/subr_xxx.c
#endif
391 int enosys - - - - - - - - bsd/kern/subr_xxx.c
392 int enosys - - - - - - - - bsd/kern/subr_xxx.c
393 int enosys - - - - - - - - bsd/kern/subr_xxx.c
394 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 - - bsd/kern/sys_generic.c
395 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 - - bsd/kern/sys_generic.c
396 user_ssize_t read_nocancel int fd user_addr_t cbuf user_size_t nbyte - - - - - bsd/kern/sys_generic.c
397 user_ssize_t write_nocancel int fd user_addr_t cbuf user_size_t nbyte - - - - - bsd/kern/sys_generic.c
398 int open_nocancel user_addr_t path int flags int mode - - - - - bsd/vfs/vfs_syscalls.c
399 int close_nocancel int fd - - - - - - - bsd/kern/kern_descrip.c
400 int wait4_nocancel int pid user_addr_t status int options user_addr_t rusage - - - - bsd/kern/kern_exit.c
#if SOCKETS
401 int recvmsg_nocancel int s struct msghdr *msg int flags - - - - - bsd/kern/uipc_syscalls.c
402 int sendmsg_nocancel int s caddr_t msg int flags - - - - - bsd/kern/uipc_syscalls.c
403 int recvfrom_nocancel int s void *buf size_t len int flags struct sockaddr *from int *fromlenaddr - - bsd/kern/uipc_syscalls.c
404 int accept_nocancel int s caddr_t name socklen_t *anamelen - - - - - bsd/kern/uipc_syscalls.c
#else
401 int nosys - - - - - - - - bsd/kern/subr_xxx.c
402 int nosys - - - - - - - - bsd/kern/subr_xxx.c
403 int nosys - - - - - - - - bsd/kern/subr_xxx.c
404 int nosys - - - - - - - - bsd/kern/subr_xxx.c
#endif
405 int msync_nocancel caddr_t addr size_t len int flags - - - - - bsd/kern/kern_mman.c
406 int fcntl_nocancel int fd int cmd long arg - - - - - bsd/kern/kern_descrip.c
407 int select_nocancel int nd u_int32_t *in u_int32_t *ou u_int32_t *ex struct timeval *tv - - - bsd/kern/sys_generic.c
408 int fsync_nocancel int fd - - - - - - - bsd/vfs/vfs_syscalls.c
#if SOCKETS
409 int connect_nocancel int s caddr_t name socklen_t namelen - - - - - bsd/kern/uipc_syscalls.c
#else
409 int nosys - - - - - - - - bsd/kern/subr_xxx.c
#endif
410 int sigsuspend_nocancel sigset_t mask - - - - - - - bsd/kern/kern_sig.c
411 user_ssize_t readv_nocancel int fd struct iovec *iovp u_int iovcnt - - - - - bsd/kern/sys_generic.c
412 user_ssize_t writev_nocancel int fd struct iovec *iovp u_int iovcnt - - - - - bsd/kern/sys_generic.c
#if SOCKETS
413 int sendto_nocancel int s caddr_t buf size_t len int flags caddr_t to socklen_t tolen - - bsd/kern/uipc_syscalls.c
#else
413 int nosys - - - - - - - - bsd/kern/subr_xxx.c
#endif
414 user_ssize_t pread_nocancel int fd user_addr_t buf user_size_t nbyte off_t offset - - - - bsd/kern/sys_generic.c
415 user_ssize_t pwrite_nocancel int fd user_addr_t buf user_size_t nbyte off_t offset - - - - bsd/kern/sys_generic.c
416 int waitid_nocancel idtype_t idtype id_t id siginfo_t *infop int options - - - - bsd/kern/kern_exit.c
417 int poll_nocancel struct pollfd *fds u_int nfds int timeout - - - - - bsd/kern/sys_generic.c
#if SYSV_MSG
418 int msgsnd_nocancel int msqid void *msgp size_t msgsz int msgflg - - - - bsd/kern/sysv_msg.c
419 user_ssize_t msgrcv_nocancel int msqid void *msgp size_t msgsz long msgtyp int msgflg - - - bsd/kern/sysv_msg.c
#else
418 int nosys - - - - - - - - bsd/kern/subr_xxx.c
419 int nosys - - - - - - - - bsd/kern/subr_xxx.c
#endif
420 int sem_wait_nocancel sem_t *sem - - - - - - - bsd/kern/posix_sem.c
421 int aio_suspend_nocancel user_addr_t aiocblist int nent user_addr_t timeoutp - - - - - bsd/kern/kern_aio.c
422 int __sigwait_nocancel user_addr_t set user_addr_t sig - - - - - - bsd/kern/kern_sig.c
423 int __semwait_signal_nocancel int cond_sem int mutex_sem int timeout int relative int64_t tv_sec int32_t tv_nsec - - bsd/kern/kern_sig.c
424 int __mac_mount char *type char *path int flags caddr_t data struct mac *mac_p - - - bsd/vfs/vfs_syscalls.c
#if CONFIG_MACF
425 int __mac_get_mount char *path struct mac *mac_p - - - - - - security/mac_base.c
#else
425 int nosys - - - - - - - - bsd/kern/subr_xxx.c
#endif
426 int __mac_getfsstat user_addr_t buf int bufsize user_addr_t mac int macsize int flags - - - bsd/vfs/vfs_syscalls.c
427 user_ssize_t fsgetpath user_addr_t buf size_t bufsize user_addr_t fsid uint64_t objid - - - - bsd/vfs/vfs_syscalls.c
428 mach_port_name_t audit_session_self - - - - - - - - bsd/security/audit/audit_session.c
429 int audit_session_join mach_port_name_t port - - - - - - - bsd/security/audit/audit_session.c
430 int fileport_makeport int fd user_addr_t portnamep - - - - - - bsd/kern/kern_descrip.c
431 int fileport_makefd mach_port_name_t port - - - - - - - bsd/kern/kern_descrip.c
432 int audit_session_port au_asid_t asid user_addr_t portnamep - - - - - - bsd/security/audit/audit_session.c
433 int pid_suspend int pid - - - - - - - bsd/vm/vm_unix.c
434 int pid_resume int pid - - - - - - - bsd/vm/vm_unix.c
#if CONFIG_EMBEDDED
435 int pid_hibernate int pid - - - - - - - bsd/vm/vm_unix.c
#else
435 int nosys - - - - - - - - bsd/kern/subr_xxx.c
#endif
#if SOCKETS
436 int pid_shutdown_sockets int pid int level - - - - - - bsd/vm/vm_unix.c
#else
436 int nosys - - - - - - - - bsd/kern/subr_xxx.c
#endif
437 int nosys - - - - - - - - bsd/kern/subr_xxx.c
438 int shared_region_map_and_slide_np int fd uint32_t count const struct shared_file_mapping_np *mappings uint32_t slide uint64_t* slide_start uint32_t slide_size - - bsd/vm/vm_unix.c
439 int kas_info int selector void *value size_t *size - - - - - bsd/vm/vm_unix.c
#if CONFIG_MEMORYSTATUS
440 int memorystatus_control uint32_t command int32_t pid uint32_t flags user_addr_t buffer size_t buffersize - - - bsd/kern/kern_memorystatus.c
#else
440 int nosys - - - - - - - - bsd/kern/subr_xxx.c
#endif
441 int guarded_open_np user_addr_t path const guardid_t *guard u_int guardflags int flags int mode - - - bsd/kern/kern_guarded.c
442 int guarded_close_np int fd const guardid_t *guard - - - - - - bsd/kern/kern_guarded.c
443 int guarded_kqueue_np const guardid_t *guard u_int guardflags - - - - - - bsd/kern/kern_guarded.c
444 int change_fdguard_np int fd const guardid_t *guard u_int guardflags const guardid_t *nguard u_int nguardflags int *fdflagsp - - bsd/kern/kern_guarded.c
445 int usrctl uint32_t flags - - - - - - - bsd/kern/kern_xxx.c
446 int proc_rlimit_control pid_t pid int flavor void *arg - - - - - bsd/kern/kern_resource.c
#if SOCKETS
447 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 bsd/kern/uipc_syscalls.c
448 int disconnectx int s sae_associd_t aid sae_connid_t cid - - - - - bsd/kern/uipc_syscalls.c
449 int peeloff int s sae_associd_t aid - - - - - - bsd/kern/uipc_syscalls.c
450 int socket_delegate int domain int type int protocol pid_t epid - - - - bsd/kern/uipc_syscalls.c
#else
447 int nosys - - - - - - - - bsd/kern/subr_xxx.c
448 int nosys - - - - - - - - bsd/kern/subr_xxx.c
449 int nosys - - - - - - - - bsd/kern/subr_xxx.c
450 int nosys - - - - - - - - bsd/kern/subr_xxx.c
#endif
451 int telemetry uint64_t cmd uint64_t deadline uint64_t interval uint64_t leeway uint64_t arg4 uint64_t arg5 - - bsd/kern/sys_generic.c
#if CONFIG_PROC_UUID_POLICY
452 int proc_uuid_policy uint32_t operation uuid_t uuid size_t uuidlen uint32_t flags - - - - bsd/kern/proc_uuid_policy.c
#else
452 int nosys - - - - - - - - bsd/kern/subr_xxx.c
#endif
#if CONFIG_MEMORYSTATUS
453 int memorystatus_get_level user_addr_t level - - - - - - - bsd/kern/kern_memorystatus.c
#else
453 int nosys - - - - - - - - bsd/kern/subr_xxx.c
#endif
454 int system_override uint64_t timeout uint64_t flags - - - - - - bsd/kern/kern_overrides.c
455 int vfs_purge - - - - - - - - bsd/vfs/vfs_syscalls.c
456 int sfi_ctl uint32_t operation uint32_t sfi_class uint64_t time uint64_t *out_time - - - - bsd/kern/kern_sfi.c
457 int sfi_pidctl uint32_t operation pid_t pid uint32_t sfi_flags uint32_t *out_sfi_flags - - - - bsd/kern/kern_sfi.c
#if CONFIG_COALITIONS
458 int coalition uint32_t operation uint64_t *cid uint32_t flags - - - - - bsd/kern/sys_coalition.c
459 int coalition_info uint32_t flavor uint64_t *cid void *buffer size_t *bufsize - - - - bsd/kern/sys_coalition.c
#else
458 int enosys - - - - - - - - bsd/kern/subr_xxx.c
459 int enosys - - - - - - - - bsd/kern/subr_xxx.c
#endif
#if NECP
460 int necp_match_policy uint8_t *parameters size_t parameters_size struct necp_aggregate_result *returned_result - - - - - bsd/net/necp_client.c
#else
460 int nosys - - - - - - - - bsd/kern/subr_xxx.c
#endif
461 int getattrlistbulk int dirfd struct attrlist *alist void *attributeBuffer size_t bufferSize uint64_t options - - - bsd/vfs/vfs_attrlist.c
462 int clonefileat int src_dirfd user_addr_t src int dst_dirfd user_addr_t dst uint32_t flags - - - bsd/vfs/vfs_syscalls.c
463 int openat int fd user_addr_t path int flags int mode - - - - bsd/vfs/vfs_syscalls.c
464 int openat_nocancel int fd user_addr_t path int flags int mode - - - - bsd/vfs/vfs_syscalls.c
465 int renameat int fromfd char *from int tofd char *to - - - - bsd/vfs/vfs_syscalls.c
466 int faccessat int fd user_addr_t path int amode int flag - - - - bsd/vfs/vfs_syscalls.c
467 int fchmodat int fd user_addr_t path int mode int flag - - - - bsd/vfs/vfs_syscalls.c
468 int fchownat int fd user_addr_t path uid_t uid gid int flag - - - bsd/vfs/vfs_syscalls.c
469 int fstatat int fd user_addr_t path user_addr_t ub int flag - - - - bsd/vfs/vfs_syscalls.c
470 int fstatat64 int fd user_addr_t path user_addr_t ub int flag - - - - bsd/vfs/vfs_syscalls.c
471 int linkat int fd1 user_addr_t path int fd2 user_addr_t link int flag - - - bsd/vfs/vfs_syscalls.c
472 int unlinkat int fd user_addr_t path int flag - - - - - bsd/vfs/vfs_syscalls.c
473 int readlinkat int fd user_addr_t path user_addr_t buf size_t bufsize - - - - bsd/vfs/vfs_syscalls.c
474 int symlinkat user_addr_t *path1 int fd user_addr_t path2 - - - - - bsd/vfs/vfs_syscalls.c
475 int mkdirat int fd user_addr_t path int mode - - - - - bsd/vfs/vfs_syscalls.c
476 int getattrlistat int fd const char *path struct attrlist *alist void *attributeBuffer size_t bufferSize u_long options - - bsd/vfs/vfs_attrlist.c
477 int proc_trace_log pid_t pid uint64_t uniqueid - - - - - - bsd/kern/kern_proc.c
478 int bsdthread_ctl user_addr_t cmd user_addr_t arg1 user_addr_t arg2 user_addr_t arg3 - - - - bsd/kern/pthread_shims.c
479 int openbyid_np user_addr_t fsid user_addr_t objid int oflags - - - - - bsd/vfs/vfs_syscalls.c
#if SOCKETS
480 user_ssize_t recvmsg_x int s struct msghdr_x *msgp u_int cnt int flags - - - - bsd/kern/uipc_syscalls.c
481 user_ssize_t sendmsg_x int s struct msghdr_x *msgp u_int cnt int flags - - - - bsd/kern/uipc_syscalls.c
#else
480 int nosys - - - - - - - - bsd/kern/subr_xxx.c
481 int nosys - - - - - - - - bsd/kern/subr_xxx.c
#endif
482 uint64_t thread_selfusage - - - - - - - - bsd/kern/kern_resource.c
#if CONFIG_CSR
483 int csrctl uint32_t op user_addr_t useraddr user_addr_t usersize - - - - - bsd/kern/kern_csr.c
#else
483 int enosys - - - - - - - - bsd/kern/subr_xxx.c
#endif
484 int guarded_open_dprotected_np user_addr_t path const guardid_t *guard u_int guardflags int flags int dpclass int dpflags int mode - bsd/kern/kern_guarded.c
485 user_ssize_t guarded_write_np int fd const guardid_t *guard user_addr_t cbuf user_size_t nbyte - - - - bsd/kern/kern_guarded.c
486 user_ssize_t guarded_pwrite_np int fd const guardid_t *guard user_addr_t buf user_size_t nbyte off_t offset - - - bsd/kern/kern_guarded.c
487 user_ssize_t guarded_writev_np int fd const guardid_t *guard struct iovec *iovp int iovcnt - - - - bsd/kern/kern_guarded.c
488 int renameatx_np int fromfd char *from int tofd char *to u_int flags - - - bsd/vfs/vfs_syscalls.c
#if CONFIG_CODE_DECRYPTION
489 int mremap_encrypted caddr_t addr size_t len uint32_t cryptid uint32_t cputype uint32_t cpusubtype - - - bsd/kern/kern_mman.c
#else
489 int enosys - - - - - - - - bsd/kern/subr_xxx.c
#endif
#if NETWORKING
490 int netagent_trigger uuid_t agent_uuid size_t agent_uuidlen - - - - - - bsd/net/network_agent.c
#else
490 int nosys - - - - - - - - bsd/kern/subr_xxx.c
#endif
491 int stack_snapshot_with_config int stackshot_config_version user_addr_t stackshot_config size_t stackshot_config_size - - - - - bsd/kern/stackshot.c
#if CONFIG_TELEMETRY
492 int microstackshot user_addr_t tracebuf uint32_t tracebuf_size uint32_t flags - - - - - bsd/kern/stackshot.c
#else
492 int enosys - - - - - - - - bsd/kern/subr_xxx.c
#endif
#if PGO
493 user_ssize_t grab_pgo_data user_addr_t uuid int flags user_addr_t buffer user_ssize_t size - - - - bsd/pgo/profile_runtime.c
#else
493 int enosys - - - - - - - - bsd/kern/subr_xxx.c
#endif
#if CONFIG_PERSONAS
494 int persona uint32_t operation uint32_t flags struct kpersona_info *info uid_t *id size_t *idlen - - - bsd/kern/sys_persona.c
#else
494 int enosys - - - - - - - - bsd/kern/subr_xxx.c
#endif
495 int enosys - - - - - - - - bsd/kern/subr_xxx.c
496 int enosys - - - - - - - - bsd/kern/subr_xxx.c
497 int enosys - - - - - - - - bsd/kern/subr_xxx.c
498 int enosys - - - - - - - - bsd/kern/subr_xxx.c
499 int work_interval_ctl uint32_t operation uint64_t work_interval_id void *arg size_t len - - - - bsd/kern/sys_work_interval.c
500 int getentropy void *buffer size_t size - - - - - - bsd/dev/random/randomdev.c
#if NECP
501 int necp_open int flags - - - - - - - bsd/net/necp_client.c
502 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 - - bsd/net/necp_client.c
#else
501 int enosys - - - - - - - - bsd/kern/subr_xxx.c
502 int enosys - - - - - - - - bsd/kern/subr_xxx.c
#endif
503 int enosys - - - - - - - - bsd/kern/subr_xxx.c
504 int enosys - - - - - - - - bsd/kern/subr_xxx.c
505 int enosys - - - - - - - - bsd/kern/subr_xxx.c
506 int enosys - - - - - - - - bsd/kern/subr_xxx.c
507 int enosys - - - - - - - - bsd/kern/subr_xxx.c
508 int enosys - - - - - - - - bsd/kern/subr_xxx.c
509 int enosys - - - - - - - - bsd/kern/subr_xxx.c
510 int enosys - - - - - - - - bsd/kern/subr_xxx.c
511 int enosys - - - - - - - - bsd/kern/subr_xxx.c
512 int enosys - - - - - - - - bsd/kern/subr_xxx.c
513 int enosys - - - - - - - - bsd/kern/subr_xxx.c
514 int enosys - - - - - - - - bsd/kern/subr_xxx.c
515 int ulock_wait uint32_t operation void *addr uint64_t value uint32_t timeout - - - - bsd/kern/sys_ulock.c
516 int ulock_wake uint32_t operation void *addr uint64_t wake_value - - - - - bsd/kern/sys_ulock.c
517 int fclonefileat int src_fd int dst_dirfd user_addr_t dst uint32_t flags - - - - bsd/vfs/vfs_syscalls.c
518 int fs_snapshot uint32_t op int dirfd user_addr_t name1 user_addr_t name2 user_addr_t data uint32_t flags - - bsd/vfs/vfs_syscalls.c
519 int enosys - - - - - - - - bsd/kern/subr_xxx.c
520 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 - bsd/kern/kern_sig.c
521 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 - - bsd/kern/kern_exit.c
#if NECP
522 int necp_session_open int flags - - - - - - - bsd/net/necp.c
523 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 - - bsd/net/necp.c
#else /* NECP */
522 int enosys - - - - - - - - bsd/kern/subr_xxx.c
523 int enosys - - - - - - - - bsd/kern/subr_xxx.c
#endif
524 int setattrlistat int fd const char *path struct attrlist *alist void *attributeBuffer size_t bufferSize uint32_t options - - bsd/vfs/vfs_attrlist.c
525 int net_qos_guideline struct net_qos_param *param uint32_t param_len - - - - - - bsd/netinet/in_tclass.c
526 int fmount const char *type int fd int flags void *data - - - - bsd/vfs/vfs_syscalls.c
527 int ntp_adjtime struct timex *tp - - - - - - - bsd/kern/kern_ntptime.c
528 int ntp_gettime struct ntptimeval *ntvp - - - - - - - bsd/kern/kern_ntptime.c
529 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 - - bsd/kern/kern_exit.c