9 #include "opt_compat.h"
11 #include <sys/param.h>
12 #include <sys/sysent.h>
13 #include <sys/sysproto.h>
15 #define AS(name) (sizeof(struct name) / sizeof(register_t))
18 #define compat(n, name) n, (sy_call_t *)__CONCAT(o,name)
20 #define compat(n, name) 0, (sy_call_t *)nosys
23 #ifdef COMPAT_FREEBSD4
24 #define compat4(n, name) n, (sy_call_t *)__CONCAT(freebsd4_,name)
26 #define compat4(n, name) 0, (sy_call_t *)nosys
29 #ifdef COMPAT_FREEBSD7
30 #define compat7(n, name) n, (sy_call_t *)__CONCAT(freebsd7_,name)
32 #define compat7(n, name) 0, (sy_call_t *)nosys
37 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },
38 {
AS(sys_exit_args), (sy_call_t *)
sys_sys_exit, AUE_EXIT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
39 { 0, (sy_call_t *)
sys_fork, AUE_FORK, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
40 {
AS(
read_args), (sy_call_t *)
sys_read, AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
42 {
AS(
open_args), (sy_call_t *)
sys_open, AUE_OPEN_RWTC, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
44 {
AS(wait4_args), (sy_call_t *)
sys_wait4, AUE_WAIT4, NULL, 0, 0, 0, SY_THR_STATIC },
45 {
compat(
AS(ocreat_args),creat), AUE_CREAT, NULL, 0, 0, 0, SY_THR_STATIC },
48 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
54 {
AS(obreak_args), (sy_call_t *)sys_obreak, AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
55 {
compat4(
AS(freebsd4_getfsstat_args),getfsstat), AUE_GETFSSTAT, NULL, 0, 0, 0, SY_THR_STATIC },
56 {
compat(
AS(olseek_args),lseek), AUE_LSEEK, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
57 { 0, (sy_call_t *)
sys_getpid, AUE_GETPID, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
61 { 0, (sy_call_t *)
sys_getuid, AUE_GETUID, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
62 { 0, (sy_call_t *)
sys_geteuid, AUE_GETEUID, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
64 {
AS(recvmsg_args), (sy_call_t *)
sys_recvmsg, AUE_RECVMSG, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
65 {
AS(sendmsg_args), (sy_call_t *)
sys_sendmsg, AUE_SENDMSG, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
66 {
AS(recvfrom_args), (sy_call_t *)
sys_recvfrom, AUE_RECVFROM, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
67 {
AS(accept_args), (sy_call_t *)
sys_accept, AUE_ACCEPT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
68 {
AS(getpeername_args), (sy_call_t *)
sys_getpeername, AUE_GETPEERNAME, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
69 {
AS(getsockname_args), (sy_call_t *)
sys_getsockname, AUE_GETSOCKNAME, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
73 { 0, (sy_call_t *)
sys_sync, AUE_SYNC, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
75 {
compat(
AS(ostat_args),stat), AUE_STAT, NULL, 0, 0, 0, SY_THR_STATIC },
76 { 0, (sy_call_t *)
sys_getppid, AUE_GETPPID, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
77 {
compat(
AS(olstat_args),lstat), AUE_LSTAT, NULL, 0, 0, 0, SY_THR_STATIC },
78 {
AS(
dup_args), (sy_call_t *)
sys_dup, AUE_DUP, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
79 { 0, (sy_call_t *)
sys_pipe, AUE_PIPE, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
80 { 0, (sy_call_t *)
sys_getegid, AUE_GETEGID, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
83 {
compat(
AS(osigaction_args),sigaction), AUE_SIGACTION, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
84 { 0, (sy_call_t *)
sys_getgid, AUE_GETGID, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
85 {
compat(
AS(osigprocmask_args),sigprocmask), AUE_SIGPROCMASK, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
88 {
AS(acct_args), (sy_call_t *)
sys_acct, AUE_ACCT, NULL, 0, 0, 0, SY_THR_STATIC },
89 {
compat(0,sigpending), AUE_SIGPENDING, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
92 {
AS(reboot_args), (sy_call_t *)
sys_reboot, AUE_REBOOT, NULL, 0, 0, 0, SY_THR_STATIC },
99 {
compat(
AS(ofstat_args),fstat), AUE_FSTAT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
100 {
compat(
AS(getkerninfo_args),getkerninfo), AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },
101 {
compat(0,getpagesize), AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
102 {
AS(msync_args), (sy_call_t *)sys_msync, AUE_MSYNC, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
103 { 0, (sy_call_t *)
sys_vfork, AUE_VFORK, NULL, 0, 0, 0, SY_THR_STATIC },
104 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
105 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
106 {
AS(sbrk_args), (sy_call_t *)sys_sbrk, AUE_SBRK, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
107 {
AS(sstk_args), (sy_call_t *)sys_sstk, AUE_SSTK, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
108 {
compat(
AS(ommap_args),mmap), AUE_MMAP, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
109 {
AS(ovadvise_args), (sy_call_t *)sys_ovadvise, AUE_O_VADVISE, NULL, 0, 0, 0, SY_THR_STATIC },
110 {
AS(munmap_args), (sy_call_t *)sys_munmap, AUE_MUNMAP, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
111 {
AS(mprotect_args), (sy_call_t *)sys_mprotect, AUE_MPROTECT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
112 {
AS(madvise_args), (sy_call_t *)sys_madvise, AUE_MADVISE, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
113 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
114 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
115 {
AS(mincore_args), (sy_call_t *)sys_mincore, AUE_MINCORE, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
118 { 0, (sy_call_t *)
sys_getpgrp, AUE_GETPGRP, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
121 {
compat(0,wait), AUE_WAIT4, NULL, 0, 0, 0, SY_THR_STATIC },
122 {
AS(swapon_args), (sy_call_t *)sys_swapon, AUE_SWAPON, NULL, 0, 0, 0, SY_THR_STATIC },
124 {
compat(
AS(gethostname_args),gethostname), AUE_SYSCTL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
125 {
compat(
AS(sethostname_args),sethostname), AUE_SYSCTL, NULL, 0, 0, 0, SY_THR_STATIC },
126 { 0, (sy_call_t *)
sys_getdtablesize, AUE_GETDTABLESIZE, NULL, 0, 0, 0, SY_THR_STATIC },
127 {
AS(
dup2_args), (sy_call_t *)
sys_dup2, AUE_DUP2, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
128 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
131 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
134 {
AS(socket_args), (sy_call_t *)
sys_socket, AUE_SOCKET, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
135 {
AS(connect_args), (sy_call_t *)
sys_connect, AUE_CONNECT, NULL, 0, 0, 0, SY_THR_STATIC },
136 {
compat(
AS(accept_args),accept), AUE_ACCEPT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
137 {
AS(getpriority_args), (sy_call_t *)
sys_getpriority, AUE_GETPRIORITY, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
138 {
compat(
AS(osend_args),send), AUE_SEND, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
139 {
compat(
AS(orecv_args),recv), AUE_RECV, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
140 {
compat(
AS(osigreturn_args),sigreturn), AUE_SIGRETURN, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
141 {
AS(bind_args), (sy_call_t *)
sys_bind, AUE_BIND, NULL, 0, 0, 0, SY_THR_STATIC },
142 {
AS(setsockopt_args), (sy_call_t *)
sys_setsockopt, AUE_SETSOCKOPT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
143 {
AS(listen_args), (sy_call_t *)
sys_listen, AUE_LISTEN, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
144 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
145 {
compat(
AS(osigvec_args),sigvec), AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
146 {
compat(
AS(osigblock_args),sigblock), AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
147 {
compat(
AS(osigsetmask_args),sigsetmask), AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
148 {
compat(
AS(osigsuspend_args),sigsuspend), AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
149 {
compat(
AS(osigstack_args),sigstack), AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
150 {
compat(
AS(orecvmsg_args),recvmsg), AUE_RECVMSG, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
151 {
compat(
AS(osendmsg_args),sendmsg), AUE_SENDMSG, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
152 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
155 {
AS(getsockopt_args), (sy_call_t *)
sys_getsockopt, AUE_GETSOCKOPT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
156 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
162 {
compat(
AS(recvfrom_args),recvfrom), AUE_RECVFROM, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
166 {
compat(
AS(otruncate_args),truncate), AUE_TRUNCATE, NULL, 0, 0, 0, SY_THR_STATIC },
167 {
compat(
AS(oftruncate_args),ftruncate), AUE_FTRUNCATE, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
170 {
AS(sendto_args), (sy_call_t *)
sys_sendto, AUE_SENDTO, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
171 {
AS(shutdown_args), (sy_call_t *)
sys_shutdown, AUE_SHUTDOWN, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
172 {
AS(socketpair_args), (sy_call_t *)
sys_socketpair, AUE_SOCKETPAIR, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
176 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
178 {
compat(
AS(ogetpeername_args),getpeername), AUE_GETPEERNAME, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
179 {
compat(0,gethostid), AUE_SYSCTL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
180 {
compat(
AS(osethostid_args),sethostid), AUE_SYSCTL, NULL, 0, 0, 0, SY_THR_STATIC },
181 {
compat(
AS(ogetrlimit_args),getrlimit), AUE_GETRLIMIT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
182 {
compat(
AS(osetrlimit_args),setrlimit), AUE_SETRLIMIT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
183 {
compat(
AS(okillpg_args),killpg), AUE_KILLPG, NULL, 0, 0, 0, SY_THR_STATIC },
184 { 0, (sy_call_t *)
sys_setsid, AUE_SETSID, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
186 {
compat(0,quota), AUE_O_QUOTA, NULL, 0, 0, 0, SY_THR_STATIC },
187 {
compat(
AS(getsockname_args),getsockname), AUE_GETSOCKNAME, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
188 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
189 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
190 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
191 {
AS(nlm_syscall_args), (sy_call_t *)
lkmressys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
192 {
AS(nfssvc_args), (sy_call_t *)
lkmressys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
193 {
compat(
AS(ogetdirentries_args),getdirentries), AUE_GETDIRENTRIES, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
194 {
compat4(
AS(freebsd4_statfs_args),statfs), AUE_STATFS, NULL, 0, 0, 0, SY_THR_STATIC },
195 {
compat4(
AS(freebsd4_fstatfs_args),fstatfs), AUE_FSTATFS, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
196 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
199 {
compat4(
AS(freebsd4_getdomainname_args),getdomainname), AUE_SYSCTL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
200 {
compat4(
AS(freebsd4_setdomainname_args),setdomainname), AUE_SYSCTL, NULL, 0, 0, 0, SY_THR_STATIC },
201 {
compat4(
AS(freebsd4_uname_args),uname), AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },
202 {
AS(sysarch_args), (sy_call_t *)sysarch, AUE_SYSARCH, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
204 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
205 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
206 {
AS(semsys_args), (sy_call_t *)
lkmressys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
207 {
AS(msgsys_args), (sy_call_t *)
lkmressys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
208 {
AS(shmsys_args), (sy_call_t *)
lkmressys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
209 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
210 {
AS(freebsd6_pread_args), (sy_call_t *)
freebsd6_pread, AUE_PREAD, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
211 {
AS(freebsd6_pwrite_args), (sy_call_t *)
freebsd6_pwrite, AUE_PWRITE, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
212 {
AS(setfib_args), (sy_call_t *)sys_setfib, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },
214 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
215 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
216 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
217 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
221 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
222 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
223 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
224 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
230 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
234 {
AS(freebsd6_mmap_args), (sy_call_t *)freebsd6_mmap, AUE_MMAP, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
235 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },
236 {
AS(freebsd6_lseek_args), (sy_call_t *)
freebsd6_lseek, AUE_LSEEK, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
237 {
AS(freebsd6_truncate_args), (sy_call_t *)
freebsd6_truncate, AUE_TRUNCATE, NULL, 0, 0, 0, SY_THR_STATIC },
238 {
AS(freebsd6_ftruncate_args), (sy_call_t *)
freebsd6_ftruncate, AUE_FTRUNCATE, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
240 {
AS(mlock_args), (sy_call_t *)sys_mlock, AUE_MLOCK, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
241 {
AS(munlock_args), (sy_call_t *)sys_munlock, AUE_MUNLOCK, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
242 {
AS(undelete_args), (sy_call_t *)
sys_undelete, AUE_UNDELETE, NULL, 0, 0, 0, SY_THR_STATIC },
245 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
246 {
AS(
poll_args), (sy_call_t *)
sys_poll, AUE_POLL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
257 { 0, (sy_call_t *)
lkmressys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
260 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
261 { 0, (sy_call_t *)
lkmressys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
266 { 0, (sy_call_t *)
lkmressys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
276 {
AS(ktimer_getoverrun_args), (sy_call_t *)
sys_ktimer_getoverrun, AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
278 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
279 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
280 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
281 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
282 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
283 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
286 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
287 {
AS(minherit_args), (sy_call_t *)sys_minherit, AUE_MINHERIT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
288 {
AS(rfork_args), (sy_call_t *)
sys_rfork, AUE_RFORK, NULL, 0, 0, 0, SY_THR_STATIC },
290 { 0, (sy_call_t *)
sys_issetugid, AUE_ISSETUGID, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
292 {
AS(aio_read_args), (sy_call_t *)
lkmressys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
293 {
AS(aio_write_args), (sy_call_t *)
lkmressys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
294 {
AS(lio_listio_args), (sy_call_t *)
lkmressys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
295 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
296 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
297 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
298 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
299 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
300 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
301 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
302 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
303 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
304 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
305 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
306 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
307 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
308 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
310 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
314 {
AS(msync_args), (sy_call_t *)sys_msync, AUE_MSYNC, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
317 {
AS(nlstat_args), (sy_call_t *)
sys_nlstat, AUE_LSTAT, NULL, 0, 0, 0, SY_THR_STATIC },
318 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
319 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
320 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
321 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
322 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
323 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
324 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
325 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
328 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
329 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
330 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
331 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
332 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
333 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
334 {
compat4(
AS(freebsd4_fhstatfs_args),fhstatfs), AUE_FHSTATFS, NULL, 0, 0, 0, SY_THR_STATIC },
337 {
AS(modnext_args), (sy_call_t *)
sys_modnext, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },
338 {
AS(modstat_args), (sy_call_t *)
sys_modstat, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },
339 {
AS(modfnext_args), (sy_call_t *)
sys_modfnext, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },
340 {
AS(modfind_args), (sy_call_t *)
sys_modfind, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },
341 {
AS(kldload_args), (sy_call_t *)
sys_kldload, AUE_MODLOAD, NULL, 0, 0, 0, SY_THR_STATIC },
342 {
AS(kldunload_args), (sy_call_t *)
sys_kldunload, AUE_MODUNLOAD, NULL, 0, 0, 0, SY_THR_STATIC },
343 {
AS(kldfind_args), (sy_call_t *)
sys_kldfind, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },
344 {
AS(kldnext_args), (sy_call_t *)
sys_kldnext, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },
345 {
AS(kldstat_args), (sy_call_t *)
sys_kldstat, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },
346 {
AS(kldfirstmod_args), (sy_call_t *)
sys_kldfirstmod, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },
350 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
351 {
AS(aio_return_args), (sy_call_t *)
lkmressys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
352 {
AS(aio_suspend_args), (sy_call_t *)
lkmressys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
353 {
AS(aio_cancel_args), (sy_call_t *)
lkmressys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
354 {
AS(aio_error_args), (sy_call_t *)
lkmressys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
355 {
AS(oaio_read_args), (sy_call_t *)
lkmressys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
356 {
AS(oaio_write_args), (sy_call_t *)
lkmressys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
357 {
AS(olio_listio_args), (sy_call_t *)
lkmressys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
358 { 0, (sy_call_t *)
sys_yield, AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
359 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
360 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
361 {
AS(mlockall_args), (sy_call_t *)sys_mlockall, AUE_MLOCKALL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
362 { 0, (sy_call_t *)sys_munlockall, AUE_MUNLOCKALL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
363 {
AS(__getcwd_args), (sy_call_t *)
sys___getcwd, AUE_GETCWD, NULL, 0, 0, 0, SY_THR_STATIC },
364 {
AS(sched_setparam_args), (sy_call_t *)sys_sched_setparam, AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
365 {
AS(sched_getparam_args), (sy_call_t *)sys_sched_getparam, AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
366 {
AS(sched_setscheduler_args), (sy_call_t *)sys_sched_setscheduler, AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
367 {
AS(sched_getscheduler_args), (sy_call_t *)sys_sched_getscheduler, AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
368 { 0, (sy_call_t *)sys_sched_yield, AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
369 {
AS(sched_get_priority_max_args), (sy_call_t *)sys_sched_get_priority_max, AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
370 {
AS(sched_get_priority_min_args), (sy_call_t *)sys_sched_get_priority_min, AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
371 {
AS(sched_rr_get_interval_args), (sy_call_t *)sys_sched_rr_get_interval, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },
372 {
AS(utrace_args), (sy_call_t *)
sys_utrace, AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
373 {
compat4(
AS(freebsd4_sendfile_args),sendfile), AUE_SENDFILE, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
374 {
AS(kldsym_args), (sy_call_t *)
sys_kldsym, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },
375 {
AS(jail_args), (sy_call_t *)
sys_jail, AUE_JAIL, NULL, 0, 0, 0, SY_THR_STATIC },
376 {
AS(nnpfs_syscall_args), (sy_call_t *)
lkmressys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
379 {
compat4(
AS(freebsd4_sigaction_args),sigaction), AUE_SIGACTION, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
381 {
compat4(
AS(freebsd4_sigreturn_args),sigreturn), AUE_SIGRETURN, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
382 {
AS(sigtimedwait_args), (sy_call_t *)
sys_sigtimedwait, AUE_SIGWAIT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
383 {
AS(sigwaitinfo_args), (sy_call_t *)
sys_sigwaitinfo, AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
384 {
AS(__acl_get_file_args), (sy_call_t *)
sys___acl_get_file, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },
385 {
AS(__acl_set_file_args), (sy_call_t *)
sys___acl_set_file, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },
386 {
AS(__acl_get_fd_args), (sy_call_t *)
sys___acl_get_fd, AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
387 {
AS(__acl_set_fd_args), (sy_call_t *)
sys___acl_set_fd, AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
389 {
AS(__acl_delete_fd_args), (sy_call_t *)
sys___acl_delete_fd, AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
391 {
AS(__acl_aclcheck_fd_args), (sy_call_t *)
sys___acl_aclcheck_fd, AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
392 {
AS(extattrctl_args), (sy_call_t *)
sys_extattrctl, AUE_EXTATTRCTL, NULL, 0, 0, 0, SY_THR_STATIC },
393 {
AS(extattr_set_file_args), (sy_call_t *)
sys_extattr_set_file, AUE_EXTATTR_SET_FILE, NULL, 0, 0, 0, SY_THR_STATIC },
394 {
AS(extattr_get_file_args), (sy_call_t *)
sys_extattr_get_file, AUE_EXTATTR_GET_FILE, NULL, 0, 0, 0, SY_THR_STATIC },
395 {
AS(extattr_delete_file_args), (sy_call_t *)
sys_extattr_delete_file, AUE_EXTATTR_DELETE_FILE, NULL, 0, 0, 0, SY_THR_STATIC },
396 {
AS(aio_waitcomplete_args), (sy_call_t *)
lkmressys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
399 { 0, (sy_call_t *)
sys_kqueue, AUE_KQUEUE, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
401 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
402 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
403 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
404 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
405 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
406 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
407 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
408 {
AS(extattr_set_fd_args), (sy_call_t *)
sys_extattr_set_fd, AUE_EXTATTR_SET_FD, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
409 {
AS(extattr_get_fd_args), (sy_call_t *)
sys_extattr_get_fd, AUE_EXTATTR_GET_FD, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
410 {
AS(extattr_delete_fd_args), (sy_call_t *)
sys_extattr_delete_fd, AUE_EXTATTR_DELETE_FD, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
411 {
AS(__setugid_args), (sy_call_t *)
sys___setugid, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },
412 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
414 {
AS(afs3_syscall_args), (sy_call_t *)
lkmressys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
415 {
AS(nmount_args), (sy_call_t *)
sys_nmount, AUE_NMOUNT, NULL, 0, 0, 0, SY_THR_STATIC },
416 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
417 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
418 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
419 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
420 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
421 {
AS(__mac_get_proc_args), (sy_call_t *)sys___mac_get_proc, AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
422 {
AS(__mac_set_proc_args), (sy_call_t *)sys___mac_set_proc, AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
423 {
AS(__mac_get_fd_args), (sy_call_t *)sys___mac_get_fd, AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
424 {
AS(__mac_get_file_args), (sy_call_t *)sys___mac_get_file, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },
425 {
AS(__mac_set_fd_args), (sy_call_t *)sys___mac_set_fd, AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
426 {
AS(__mac_set_file_args), (sy_call_t *)sys___mac_set_file, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },
427 {
AS(kenv_args), (sy_call_t *)
sys_kenv, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },
428 {
AS(lchflags_args), (sy_call_t *)
sys_lchflags, AUE_LCHFLAGS, NULL, 0, 0, 0, SY_THR_STATIC },
430 {
AS(sendfile_args), (sy_call_t *)
sys_sendfile, AUE_SENDFILE, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
431 {
AS(mac_syscall_args), (sy_call_t *)sys_mac_syscall, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },
436 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
446 {
AS(__mac_get_pid_args), (sy_call_t *)sys___mac_get_pid, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },
447 {
AS(__mac_get_link_args), (sy_call_t *)sys___mac_get_link, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },
448 {
AS(__mac_set_link_args), (sy_call_t *)sys___mac_set_link, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },
449 {
AS(extattr_set_link_args), (sy_call_t *)
sys_extattr_set_link, AUE_EXTATTR_SET_LINK, NULL, 0, 0, 0, SY_THR_STATIC },
450 {
AS(extattr_get_link_args), (sy_call_t *)
sys_extattr_get_link, AUE_EXTATTR_GET_LINK, NULL, 0, 0, 0, SY_THR_STATIC },
451 {
AS(extattr_delete_link_args), (sy_call_t *)
sys_extattr_delete_link, AUE_EXTATTR_DELETE_LINK, NULL, 0, 0, 0, SY_THR_STATIC },
454 {
AS(sigreturn_args), (sy_call_t *)sys_sigreturn, AUE_SIGRETURN, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
455 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
456 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
457 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
459 {
AS(setcontext_args), (sy_call_t *)
sys_setcontext, AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
461 {
AS(swapoff_args), (sy_call_t *)sys_swapoff, AUE_SWAPOFF, NULL, 0, 0, 0, SY_THR_STATIC },
462 {
AS(__acl_get_link_args), (sy_call_t *)
sys___acl_get_link, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },
463 {
AS(__acl_set_link_args), (sy_call_t *)
sys___acl_set_link, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },
466 {
AS(sigwait_args), (sy_call_t *)
sys_sigwait, AUE_SIGWAIT, NULL, 0, 0, 0, SY_THR_STATIC },
467 {
AS(thr_create_args), (sy_call_t *)
sys_thr_create, AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
468 {
AS(thr_exit_args), (sy_call_t *)
sys_thr_exit, AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
469 {
AS(thr_self_args), (sy_call_t *)
sys_thr_self, AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
470 {
AS(thr_kill_args), (sy_call_t *)
sys_thr_kill, AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
471 {
AS(_umtx_lock_args), (sy_call_t *)
sys__umtx_lock, AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
472 {
AS(_umtx_unlock_args), (sy_call_t *)
sys__umtx_unlock, AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
473 {
AS(jail_attach_args), (sy_call_t *)
sys_jail_attach, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },
474 {
AS(extattr_list_fd_args), (sy_call_t *)
sys_extattr_list_fd, AUE_EXTATTR_LIST_FD, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
475 {
AS(extattr_list_file_args), (sy_call_t *)
sys_extattr_list_file, AUE_EXTATTR_LIST_FILE, NULL, 0, 0, 0, SY_THR_STATIC },
476 {
AS(extattr_list_link_args), (sy_call_t *)
sys_extattr_list_link, AUE_EXTATTR_LIST_LINK, NULL, 0, 0, 0, SY_THR_STATIC },
477 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
479 {
AS(thr_suspend_args), (sy_call_t *)
sys_thr_suspend, AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
480 {
AS(thr_wake_args), (sy_call_t *)
sys_thr_wake, AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
481 {
AS(kldunloadf_args), (sy_call_t *)
sys_kldunloadf, AUE_MODUNLOAD, NULL, 0, 0, 0, SY_THR_STATIC },
482 {
AS(audit_args), (sy_call_t *)sys_audit, AUE_AUDIT, NULL, 0, 0, 0, SY_THR_STATIC },
483 {
AS(auditon_args), (sy_call_t *)sys_auditon, AUE_AUDITON, NULL, 0, 0, 0, SY_THR_STATIC },
484 {
AS(getauid_args), (sy_call_t *)sys_getauid, AUE_GETAUID, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
485 {
AS(setauid_args), (sy_call_t *)sys_setauid, AUE_SETAUID, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
486 {
AS(getaudit_args), (sy_call_t *)sys_getaudit, AUE_GETAUDIT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
487 {
AS(setaudit_args), (sy_call_t *)sys_setaudit, AUE_SETAUDIT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
488 {
AS(getaudit_addr_args), (sy_call_t *)sys_getaudit_addr, AUE_GETAUDIT_ADDR, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
489 {
AS(setaudit_addr_args), (sy_call_t *)sys_setaudit_addr, AUE_SETAUDIT_ADDR, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
490 {
AS(auditctl_args), (sy_call_t *)sys_auditctl, AUE_AUDITCTL, NULL, 0, 0, 0, SY_THR_STATIC },
491 {
AS(_umtx_op_args), (sy_call_t *)
sys__umtx_op, AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
492 {
AS(thr_new_args), (sy_call_t *)
sys_thr_new, AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
494 {
AS(kmq_open_args), (sy_call_t *)
lkmressys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
495 {
AS(kmq_setattr_args), (sy_call_t *)
lkmressys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
496 {
AS(kmq_timedreceive_args), (sy_call_t *)
lkmressys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
497 {
AS(kmq_timedsend_args), (sy_call_t *)
lkmressys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
498 {
AS(kmq_notify_args), (sy_call_t *)
lkmressys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
499 {
AS(kmq_unlink_args), (sy_call_t *)
lkmressys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
501 {
AS(thr_set_name_args), (sy_call_t *)
sys_thr_set_name, AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
502 {
AS(aio_fsync_args), (sy_call_t *)
lkmressys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
504 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
505 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
506 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
507 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
508 {
AS(sctp_peeloff_args), (sy_call_t *)
sys_sctp_peeloff, AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
509 {
AS(sctp_generic_sendmsg_args), (sy_call_t *)
sys_sctp_generic_sendmsg, AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
511 {
AS(sctp_generic_recvmsg_args), (sy_call_t *)
sys_sctp_generic_recvmsg, AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
514 {
AS(mmap_args), (sy_call_t *)sys_mmap, AUE_MMAP, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
518 {
AS(thr_kill2_args), (sy_call_t *)
sys_thr_kill2, AUE_KILL, NULL, 0, 0, 0, SY_THR_STATIC },
519 {
AS(shm_open_args), (sy_call_t *)
sys_shm_open, AUE_SHMOPEN, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
520 {
AS(shm_unlink_args), (sy_call_t *)
sys_shm_unlink, AUE_SHMUNLINK, NULL, 0, 0, 0, SY_THR_STATIC },
523 {
AS(cpuset_getid_args), (sy_call_t *)sys_cpuset_getid, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },
524 {
AS(cpuset_getaffinity_args), (sy_call_t *)sys_cpuset_getaffinity, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },
525 {
AS(cpuset_setaffinity_args), (sy_call_t *)sys_cpuset_setaffinity, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },
541 {
AS(posix_openpt_args), (sy_call_t *)
sys_posix_openpt, AUE_POSIX_OPENPT, NULL, 0, 0, 0, SY_THR_STATIC },
542 {
AS(gssd_syscall_args), (sy_call_t *)
lkmressys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
543 {
AS(jail_get_args), (sy_call_t *)
sys_jail_get, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },
544 {
AS(jail_set_args), (sy_call_t *)
sys_jail_set, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },
545 {
AS(jail_remove_args), (sy_call_t *)
sys_jail_remove, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },
551 {
AS(cap_new_args), (sy_call_t *)
sys_cap_new, AUE_CAP_NEW, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
552 {
AS(cap_getrights_args), (sy_call_t *)
sys_cap_getrights, AUE_CAP_GETRIGHTS, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
553 { 0, (sy_call_t *)
sys_cap_enter, AUE_CAP_ENTER, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
554 {
AS(cap_getmode_args), (sy_call_t *)
sys_cap_getmode, AUE_CAP_GETMODE, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
555 {
AS(pdfork_args), (sy_call_t *)
sys_pdfork, AUE_PDFORK, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
556 {
AS(pdkill_args), (sy_call_t *)
sys_pdkill, AUE_PDKILL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
557 {
AS(pdgetpid_args), (sy_call_t *)
sys_pdgetpid, AUE_PDGETPID, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },
558 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
559 {
AS(pselect_args), (sy_call_t *)
sys_pselect, AUE_SELECT, NULL, 0, 0, 0, SY_THR_STATIC },
562 {
AS(rctl_get_racct_args), (sy_call_t *)
sys_rctl_get_racct, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },
563 {
AS(rctl_get_rules_args), (sy_call_t *)
sys_rctl_get_rules, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },
564 {
AS(rctl_get_limits_args), (sy_call_t *)
sys_rctl_get_limits, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },
565 {
AS(rctl_add_rule_args), (sy_call_t *)
sys_rctl_add_rule, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },
567 {
AS(posix_fallocate_args), (sy_call_t *)
sys_posix_fallocate, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },
568 {
AS(posix_fadvise_args), (sy_call_t *)
sys_posix_fadvise, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },
569 {
AS(wait6_args), (sy_call_t *)
sys_wait6, AUE_WAIT6, NULL, 0, 0, 0, SY_THR_STATIC },
570 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
571 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
572 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
573 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
574 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
575 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
576 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
577 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
578 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
579 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
580 { 0, (sy_call_t *)
nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },
int sys_setuid(struct thread *td, struct setuid_args *uap)
int sys_statfs(struct thread *td, struct statfs_args *uap)
struct lchmod_args sys_fchmodat
int sys_rtprio(struct thread *td, struct rtprio_args *uap)
int sys_getrusage(struct thread *td, struct getrusage_args *uap)
int sys_lgetfh(struct thread *td, struct lgetfh_args *uap)
int sys___acl_set_link(struct thread *td, struct __acl_set_link_args *uap)
int sys___mac_execve(struct thread *td, struct __mac_execve_args *uap)
int sys_cpuset(struct thread *td, struct cpuset_args *uap)
int sys_eaccess(struct thread *td, struct eaccess_args *uap)
int sys___acl_set_fd(struct thread *td, struct __acl_set_fd_args *uap)
int sys_access(struct thread *td, struct access_args *uap)
int sys_chroot(struct thread *td, struct chroot_args *uap)
int sys_fpathconf(struct thread *td, struct fpathconf_args *uap)
int sys_getsockopt(struct thread *td, struct getsockopt_args *uap)
int sys_lutimes(struct thread *td, struct lutimes_args *uap)
int sys_mkfifoat(struct thread *td, struct mkfifoat_args *uap)
int sys_ntp_adjtime(struct thread *td, struct ntp_adjtime_args *uap)
int sys_thr_suspend(struct thread *td, struct thr_suspend_args *uap)
int sys_getitimer(struct thread *td, struct getitimer_args *uap)
int sys_mkdirat(struct thread *td, struct mkdirat_args *uap)
int sys_getegid(struct thread *td, struct getegid_args *uap)
int freebsd6_pread(struct thread *td, struct freebsd6_pread_args *uap)
int sys_getfsstat(struct thread *td, struct getfsstat_args *uap)
int sys_ftruncate(struct thread *td, struct ftruncate_args *uap)
int sys_getsid(struct thread *td, struct getsid_args *uap)
int sys_mount(struct thread *td, struct mount_args *uap)
int sys_extattr_set_file(struct thread *td, struct extattr_set_file_args *uap)
int sys_fstat(struct thread *td, struct fstat_args *uap)
int sys_rename(struct thread *td, struct rename_args *uap)
int sys_setregid(register struct thread *td, struct setregid_args *uap)
int sys_mkfifo(struct thread *td, struct mkfifo_args *uap)
int sys_unlinkat(struct thread *td, struct unlinkat_args *uap)
int sys_revoke(struct thread *td, struct revoke_args *uap)
int sys_jail_set(struct thread *td, struct jail_set_args *uap)
int sys_getsockname(struct thread *td, struct getsockname_args *uap)
int sys_kqueue(struct thread *td, struct kqueue_args *uap)
int sys_getgid(struct thread *td, struct getgid_args *uap)
int sys_dup(struct thread *td, struct dup_args *uap)
int sys_kill(struct thread *td, struct kill_args *uap)
int sys_stat(struct thread *td, struct stat_args *uap)
int sys_rmdir(struct thread *td, struct rmdir_args *uap)
int sys_cap_getmode(struct thread *td, struct cap_getmode_args *uap)
int sys_geteuid(struct thread *td, struct geteuid_args *uap)
int sys_sctp_generic_sendmsg_iov(struct thread *td, struct sctp_generic_sendmsg_iov_args *uap)
int sys___acl_aclcheck_fd(struct thread *td, struct __acl_aclcheck_fd_args *uap)
int sys_nlstat(struct thread *td, struct nlstat_args *uap)
int sys_chown(struct thread *td, struct chown_args *uap)
int sys_open(struct thread *td, struct open_args *uap)
int sys_sigsuspend(struct thread *td, struct sigsuspend_args *uap)
int sys_extattr_get_file(struct thread *td, struct extattr_get_file_args *uap)
int sys_kldunload(struct thread *td, struct kldunload_args *uap)
int sys_extattr_get_link(struct thread *td, struct extattr_get_link_args *uap)
int sys_setrlimit(struct thread *td, struct __setrlimit_args *uap)
int sys_fchown(struct thread *td, struct fchown_args *uap)
int sys_getpid(struct thread *td, struct getpid_args *uap)
int sys_ktimer_gettime(struct thread *td, struct ktimer_gettime_args *uap)
int sys_linkat(struct thread *td, struct linkat_args *uap)
int sys_pwritev(struct thread *td, struct pwritev_args *uap)
int sys_setresgid(register struct thread *td, struct setresgid_args *uap)
int sys_pread(struct thread *td, struct pread_args *uap)
int sys_utrace(struct thread *td, struct utrace_args *uap)
int sys_connect(struct thread *td, struct connect_args *uap)
int sys_ptrace(struct thread *td, struct ptrace_args *uap)
int sys_ktimer_delete(struct thread *td, struct ktimer_delete_args *uap)
int sys_setitimer(struct thread *td, struct setitimer_args *uap)
int sys___acl_delete_fd(struct thread *td, struct __acl_delete_fd_args *uap)
int sys___acl_set_file(struct thread *td, struct __acl_set_file_args *uap)
int sys_procctl(struct thread *td, struct procctl_args *uap)
int sys_extattr_list_fd(struct thread *td, struct extattr_list_fd_args *uap)
int sys__umtx_unlock(struct thread *td, struct _umtx_unlock_args *uap)
int sys_readlink(struct thread *td, struct readlink_args *uap)
int sys_getgroups(struct thread *td, register struct getgroups_args *uap)
int sys_closefrom(struct thread *td, struct closefrom_args *uap)
int sys_nanosleep(struct thread *td, struct nanosleep_args *uap)
int sys_dup2(struct thread *td, struct dup2_args *uap)
int sys___sysctl(struct thread *td, struct sysctl_args *uap)
int sys_swapcontext(struct thread *td, struct swapcontext_args *uap)
int sys_readlinkat(struct thread *td, struct readlinkat_args *uap)
int sys_ioctl(struct thread *td, struct ioctl_args *uap)
struct eaccess_args sys_faccessat
int sys_getresgid(register struct thread *td, struct getresgid_args *uap)
int sys_cpuset_setid(struct thread *td, struct cpuset_setid_args *uap)
int sys_socket(struct thread *td, struct socket_args *uap)
int sys_rctl_get_limits(struct thread *td, struct rctl_get_limits_args *uap)
int sys___getcwd(struct thread *td, struct __getcwd_args *uap)
int sys_openbsd_poll(struct thread *td, struct openbsd_poll_args *uap)
int sys_lpathconf(struct thread *td, struct lpathconf_args *uap)
struct __mac_execve_args sys_fexecve
int sys_jail_get(struct thread *td, struct jail_get_args *uap)
struct cf_saved_freq sys_getcontext
int sys_nmount(struct thread *td, struct nmount_args *uap)
int sys_rctl_remove_rule(struct thread *td, struct rctl_remove_rule_args *uap)
int sys__umtx_lock(struct thread *td, struct _umtx_lock_args *uap)
int nosys(struct thread *td, struct nosys_args *args)
int sys___acl_delete_file(struct thread *td, struct __acl_delete_file_args *uap)
int sys_getppid(struct thread *td, struct getppid_args *uap)
int sys_fhstatfs(struct thread *td, struct fhstatfs_args *uap)
int sys_issetugid(register struct thread *td, struct issetugid_args *uap)
int sys_flock(struct thread *td, struct flock_args *uap)
int sys_thr_kill2(struct thread *td, struct thr_kill2_args *uap)
int sys_sigaction(struct thread *td, struct sigaction_args *uap)
int sys_ktrace(struct thread *td, struct ktrace_args *uap)
int sys_fsync(struct thread *td, struct fsync_args *uap)
int sys_extattr_delete_file(struct thread *td, struct extattr_delete_file_args *uap)
int sys_jail_attach(struct thread *td, struct jail_attach_args *uap)
int sys_mknod(struct thread *td, struct mknod_args *uap)
int sys_ktimer_settime(struct thread *td, struct ktimer_settime_args *uap)
int sys_sctp_generic_sendmsg(struct thread *td, struct sctp_generic_sendmsg_args *uap)
int sys_symlink(struct thread *td, struct symlink_args *uap)
int sys_acct(struct thread *td, struct acct_args *uap)
int sys__umtx_op(struct thread *td, struct _umtx_op_args *uap)
int sys_setpriority(struct thread *td, struct setpriority_args *uap)
int sys_extattr_delete_link(struct thread *td, struct extattr_delete_link_args *uap)
int sys_getpeername(struct thread *td, struct getpeername_args *uap)
int sys_read(struct thread *td, struct read_args *uap)
int sys_poll(struct thread *td, struct poll_args *uap)
int freebsd6_lseek(struct thread *td, struct freebsd6_lseek_args *uap)
int sys_utimes(struct thread *td, struct utimes_args *uap)
int sys_fchdir(struct thread *td, struct fchdir_args *uap)
int sys_extattr_set_fd(struct thread *td, struct extattr_set_fd_args *uap)
int sys_chmod(struct thread *td, struct chmod_args *uap)
int sys_setloginclass(struct thread *td, struct setloginclass_args *uap)
int sys_pdfork(struct thread *td, struct pdfork_args *uap)
int sys_thr_exit(struct thread *td, struct thr_exit_args *uap)
int sys_sendmsg(struct thread *td, struct sendmsg_args *uap)
int sys_extattr_delete_fd(struct thread *td, struct extattr_delete_fd_args *uap)
int sys___acl_get_file(struct thread *td, struct __acl_get_file_args *uap)
int sys_symlinkat(struct thread *td, struct symlinkat_args *uap)
int sys_unlink(struct thread *td, struct unlink_args *uap)
int sys_pipe(struct thread *td, struct pipe_args *uap)
int sys_kenv(struct thread *td, struct kenv_args *uap)
int sys_fchownat(struct thread *td, struct fchownat_args *uap)
int sys_fhopen(struct thread *td, struct fhopen_args *uap)
int sys_unmount(struct thread *td, struct unmount_args *uap)
int sys___acl_get_fd(struct thread *td, struct __acl_get_fd_args *uap)
int sys_preadv(struct thread *td, struct preadv_args *uap)
int sys_quotactl(struct thread *td, struct quotactl_args *uap)
int sys_shm_open(struct thread *td, struct shm_open_args *uap)
int sys_kldsym(struct thread *td, struct kldsym_args *uap)
int sys_settimeofday(struct thread *td, struct settimeofday_args *uap)
int sys_pdkill(struct thread *td, struct pdkill_args *uap)
int sys_cap_new(struct thread *td, struct cap_new_args *uap)
int sys_gettimeofday(struct thread *td, struct gettimeofday_args *uap)
int sys_setsockopt(struct thread *td, struct setsockopt_args *uap)
int sys_chdir(struct thread *td, struct chdir_args *uap)
int sys___acl_aclcheck_file(struct thread *td, struct __acl_aclcheck_file_args *uap)
int sys_futimesat(struct thread *td, struct futimesat_args *uap)
int sys_rctl_get_racct(struct thread *td, struct rctl_get_racct_args *uap)
int sys_sigwait(struct thread *td, struct sigwait_args *uap)
int freebsd6_pwrite(struct thread *td, struct freebsd6_pwrite_args *uap)
int sys_link(struct thread *td, struct link_args *uap)
int sys_sigaltstack(struct thread *td, struct sigaltstack_args *uap)
int sys_clock_getcpuclockid2(struct thread *td, struct clock_getcpuclockid2_args *uap)
int sys_getpgrp(struct thread *td, struct getpgrp_args *uap)
int sys_modnext(struct thread *td, struct modnext_args *uap)
int sys_fcntl(struct thread *td, struct fcntl_args *uap)
int sys_undelete(struct thread *td, struct undelete_args *uap)
int sys_getresuid(register struct thread *td, struct getresuid_args *uap)
int sys_reboot(struct thread *td, struct reboot_args *uap)
int sys_shm_unlink(struct thread *td, struct shm_unlink_args *uap)
int sys_kevent(struct thread *td, struct kevent_args *uap)
int sys_fstatfs(struct thread *td, struct fstatfs_args *uap)
int sys_modstat(struct thread *td, struct modstat_args *uap)
int sys_getloginclass(struct thread *td, struct getloginclass_args *uap)
int sys_extattr_list_file(struct thread *td, struct extattr_list_file_args *uap)
int sys_bind(struct thread *td, struct bind_args *uap)
int sys_rctl_get_rules(struct thread *td, struct rctl_get_rules_args *uap)
int sys_kldfirstmod(struct thread *td, struct kldfirstmod_args *uap)
int sys_clock_getres(struct thread *td, struct clock_getres_args *uap)
int sys_posix_fadvise(struct thread *td, struct posix_fadvise_args *uap)
int sys_thr_create(struct thread *td, struct thr_create_args *uap)
int sys_sendfile(struct thread *td, struct sendfile_args *uap)
int sys_wait4(struct thread *td, struct wait4_args *uap)
int sys_execve(struct thread *td, struct execve_args *uap)
int sys_extattr_get_fd(struct thread *td, struct extattr_get_fd_args *uap)
int sys_uuidgen(struct thread *td, struct uuidgen_args *uap)
int sys_setsid(register struct thread *td, struct setsid_args *uap)
int sys_setresuid(register struct thread *td, struct setresuid_args *uap)
int sys_write(struct thread *td, struct write_args *uap)
int sys_thr_self(struct thread *td, struct thr_self_args *uap)
int sys_profil(struct thread *td, struct profil_args *uap)
int sys_fork(struct thread *td, struct fork_args *uap)
int sys___acl_aclcheck_link(struct thread *td, struct __acl_aclcheck_link_args *uap)
int sys_sctp_peeloff(struct thread *td, struct sctp_peeloff_args *uap)
int sys_setgroups(struct thread *td, struct setgroups_args *uap)
int sys_cap_getrights(struct thread *td, struct cap_getrights_args *uap)
int sys_getrlimit(struct thread *td, struct __getrlimit_args *uap)
int sys_clock_settime(struct thread *td, struct clock_settime_args *uap)
int sys_cap_enter(struct thread *td, struct cap_enter_args *uap)
int sys_jail(struct thread *td, struct jail_args *uap)
int sys_extattr_set_link(struct thread *td, struct extattr_set_link_args *uap)
int sys_posix_openpt(struct thread *td, struct posix_openpt_args *uap)
int sys_lchown(struct thread *td, struct lchown_args *uap)
int sys_getpriority(struct thread *td, struct getpriority_args *uap)
int sys_socketpair(struct thread *td, struct socketpair_args *uap)
int sys_sigwaitinfo(struct thread *td, struct sigwaitinfo_args *uap)
int sys_modfind(struct thread *td, struct modfind_args *uap)
int sys_modfnext(struct thread *td, struct modfnext_args *uap)
int sys_readv(struct thread *td, struct readv_args *uap)
int sys_getpgid(struct thread *td, struct getpgid_args *uap)
int sys_fhstat(struct thread *td, struct fhstat_args *uap)
void sys_sys_exit(struct thread *td, struct sys_exit_args *uap)
int sys_ktimer_getoverrun(struct thread *td, struct ktimer_getoverrun_args *uap)
int sys_close(struct thread *td, struct close_args *uap)
int sys_thr_kill(struct thread *td, struct thr_kill_args *uap)
int sys_kldunloadf(struct thread *td, struct kldunloadf_args *uap)
int sys_wait6(struct thread *td, struct wait6_args *uap)
int sys_sync(struct thread *td, struct sync_args *uap)
int sys_clock_gettime(struct thread *td, struct clock_gettime_args *uap)
int sys_nstat(struct thread *td, struct nstat_args *uap)
int sys_setlogin(struct thread *td, struct setlogin_args *uap)
int sys_openat(struct thread *td, struct openat_args *uap)
int sys_chflags(struct thread *td, struct chflags_args *uap)
int sys_pathconf(struct thread *td, struct pathconf_args *uap)
int sys_renameat(struct thread *td, struct renameat_args *uap)
int sys_getdents(struct thread *td, struct getdents_args *uap)
int sys_recvfrom(struct thread *td, struct recvfrom_args *uap)
int sys_rfork(struct thread *td, struct rfork_args *uap)
int sys_setreuid(register struct thread *td, struct setreuid_args *uap)
int sys_setpgid(struct thread *td, register struct setpgid_args *uap)
int sys_shutdown(struct thread *td, struct shutdown_args *uap)
int sys_thr_wake(struct thread *td, struct thr_wake_args *uap)
int sys_posix_fallocate(struct thread *td, struct posix_fallocate_args *uap)
int sys_sendto(struct thread *td, struct sendto_args *uap)
int sys_nfstat(struct thread *td, struct nfstat_args *uap)
int sys_pdgetpid(struct thread *td, struct pdgetpid_args *uap)
int sys_sigprocmask(struct thread *td, struct sigprocmask_args *uap)
int sys_listen(struct thread *td, struct listen_args *uap)
int sys_setegid(struct thread *td, struct setegid_args *uap)
int sys_sigtimedwait(struct thread *td, struct sigtimedwait_args *uap)
int sys_lseek(struct thread *td, struct lseek_args *uap)
int sys_seteuid(struct thread *td, struct seteuid_args *uap)
int sys_getuid(struct thread *td, struct getuid_args *uap)
int sys_umask(struct thread *td, struct umask_args *uap)
int sys_getfh(struct thread *td, struct getfh_args *uap)
int freebsd6_ftruncate(struct thread *td, struct freebsd6_ftruncate_args *uap)
int sys_thr_new(struct thread *td, struct thr_new_args *uap)
int sys___acl_delete_link(struct thread *td, struct __acl_delete_link_args *uap)
int sys_mkdir(struct thread *td, struct mkdir_args *uap)
int sys_getlogin(struct thread *td, struct getlogin_args *uap)
int sys_writev(struct thread *td, struct writev_args *uap)
int sys_setcontext(struct thread *td, struct setcontext_args *uap)
int sys_rtprio_thread(struct thread *td, struct rtprio_thread_args *uap)
int sys_getdirentries(struct thread *td, struct getdirentries_args *uap)
int sys_getdtablesize(struct thread *td, struct getdtablesize_args *uap)
int sys_futimes(struct thread *td, struct futimes_args *uap)
int sys_lchflags(struct thread *td, struct lchflags_args *uap)
int sys_ktimer_create(struct thread *td, struct ktimer_create_args *uap)
struct lstat_args sys_fstatat
int sys_select(struct thread *td, struct select_args *uap)
int sys_yield(struct thread *td, struct yield_args *uap)
int sys_pselect(struct thread *td, struct pselect_args *uap)
int sys_sctp_generic_recvmsg(struct thread *td, struct sctp_generic_recvmsg_args *uap)
int lkmnosys(struct thread *td, struct nosys_args *args)
int sys_mknodat(struct thread *td, struct mknodat_args *uap)
int sys_truncate(struct thread *td, struct truncate_args *uap)
int sys_pwrite(struct thread *td, struct pwrite_args *uap)
int sys_kldstat(struct thread *td, struct kldstat_args *uap)
int sys_extattrctl(struct thread *td, struct extattrctl_args *uap)
int lkmressys(struct thread *td, struct nosys_args *args)
int sys_lchmod(struct thread *td, struct lchmod_args *uap)
int sys_abort2(struct thread *td, struct abort2_args *uap)
int sys_fchmod(struct thread *td, struct fchmod_args *uap)
int freebsd6_truncate(struct thread *td, struct freebsd6_truncate_args *uap)
int sys___setugid(struct thread *td, struct __setugid_args *uap)
int sys_rctl_add_rule(struct thread *td, struct rctl_add_rule_args *uap)
int sys_kldnext(struct thread *td, struct kldnext_args *uap)
int sys_jail_remove(struct thread *td, struct jail_remove_args *uap)
int sys_thr_set_name(struct thread *td, struct thr_set_name_args *uap)
int sys_ntp_gettime(struct thread *td, struct ntp_gettime_args *uap)
int sys_vfork(struct thread *td, struct vfork_args *uap)
int sys___acl_get_link(struct thread *td, struct __acl_get_link_args *uap)
int sys_kldfind(struct thread *td, struct kldfind_args *uap)
int sys_sigqueue(struct thread *td, struct sigqueue_args *uap)
int sys_fchflags(struct thread *td, struct fchflags_args *uap)
int sys_recvmsg(struct thread *td, struct recvmsg_args *uap)
int sys_adjtime(struct thread *td, struct adjtime_args *uap)
int sys_lstat(struct thread *td, struct lstat_args *uap)
int sys_setgid(struct thread *td, struct setgid_args *uap)
int sys_kldload(struct thread *td, struct kldload_args *uap)
int sys_accept(struct thread *td, struct accept_args *uap)
int sys_extattr_list_link(struct thread *td, struct extattr_list_link_args *uap)
int sys_sigpending(struct thread *td, struct sigpending_args *uap)