Deal with the netgraph NULL function dereference on shutdown()
[dragonfly.git] / sys / kern / init_sysent.c
blob65cdd1aaeb0d9d4071736fe6505020d2bf7969bd
1 /*
2 * System call switch table.
4 * DO NOT EDIT-- this file is automatically generated.
5 * $DragonFly: src/sys/kern/init_sysent.c,v 1.63 2008/11/11 00:55:49 pavalos Exp $
6 * created from DragonFly: src/sys/kern/syscalls.master,v 1.60 2008/11/10 22:11:45 pavalos Exp
7 */
9 #include "opt_compat.h"
11 #include "opt_compatdf12.h"
13 #include <sys/param.h>
14 #include <sys/sysent.h>
15 #include <sys/sysproto.h>
16 #include <sys/statvfs.h>
17 #include <emulation/43bsd/stat.h>
18 #include <emulation/dragonfly12/stat.h>
20 #define AS(name) ((sizeof(struct name) - sizeof(struct sysmsg)) / sizeof(register_t))
22 #ifdef COMPAT_43
23 #define compat(n, name) n, (sy_call_t *)__CONCAT(sys_,__CONCAT(o,name))
24 #else
25 #define compat(n, name) 0, (sy_call_t *)sys_nosys
26 #endif
28 #ifdef COMPAT_DF12
29 #define compatdf12(n, name) n, (sy_call_t *)__CONCAT(sys_,__CONCAT(dfbsd12_,name))
30 #else
31 #define compatdf12(n, name) 0, (sy_call_t *)sys_nosys
32 #endif
34 /* The casts are bogus but will do for now. */
35 struct sysent sysent[] = {
36 #ifdef COMPAT_43
37 #endif
38 { 0, (sy_call_t *)sys_nosys }, /* 0 = syscall */
39 { AS(exit_args), (sy_call_t *)sys_exit }, /* 1 = exit */
40 { 0, (sy_call_t *)sys_fork }, /* 2 = fork */
41 { SYF_MPSAFE | AS(read_args), (sy_call_t *)sys_read }, /* 3 = read */
42 { SYF_MPSAFE | AS(write_args), (sy_call_t *)sys_write }, /* 4 = write */
43 { AS(open_args), (sy_call_t *)sys_open }, /* 5 = open */
44 { SYF_MPSAFE | AS(close_args), (sy_call_t *)sys_close }, /* 6 = close */
45 { AS(wait_args), (sy_call_t *)sys_wait4 }, /* 7 = wait4 */
46 { compat(AS(ocreat_args),creat) }, /* 8 = old creat */
47 { AS(link_args), (sy_call_t *)sys_link }, /* 9 = link */
48 { AS(unlink_args), (sy_call_t *)sys_unlink }, /* 10 = unlink */
49 { 0, (sy_call_t *)sys_nosys }, /* 11 = obsolete execv */
50 { AS(chdir_args), (sy_call_t *)sys_chdir }, /* 12 = chdir */
51 { AS(fchdir_args), (sy_call_t *)sys_fchdir }, /* 13 = fchdir */
52 { AS(mknod_args), (sy_call_t *)sys_mknod }, /* 14 = mknod */
53 { AS(chmod_args), (sy_call_t *)sys_chmod }, /* 15 = chmod */
54 { AS(chown_args), (sy_call_t *)sys_chown }, /* 16 = chown */
55 { AS(obreak_args), (sy_call_t *)sys_obreak }, /* 17 = break */
56 { AS(getfsstat_args), (sy_call_t *)sys_getfsstat }, /* 18 = getfsstat */
57 { compat(AS(olseek_args),lseek) }, /* 19 = old lseek */
58 { 0, (sy_call_t *)sys_getpid }, /* 20 = getpid */
59 { AS(mount_args), (sy_call_t *)sys_mount }, /* 21 = mount */
60 { AS(unmount_args), (sy_call_t *)sys_unmount }, /* 22 = unmount */
61 { AS(setuid_args), (sy_call_t *)sys_setuid }, /* 23 = setuid */
62 { SYF_MPSAFE | 0, (sy_call_t *)sys_getuid }, /* 24 = getuid */
63 { SYF_MPSAFE | 0, (sy_call_t *)sys_geteuid }, /* 25 = geteuid */
64 { AS(ptrace_args), (sy_call_t *)sys_ptrace }, /* 26 = ptrace */
65 { AS(recvmsg_args), (sy_call_t *)sys_recvmsg }, /* 27 = recvmsg */
66 { AS(sendmsg_args), (sy_call_t *)sys_sendmsg }, /* 28 = sendmsg */
67 { AS(recvfrom_args), (sy_call_t *)sys_recvfrom }, /* 29 = recvfrom */
68 { AS(accept_args), (sy_call_t *)sys_accept }, /* 30 = accept */
69 { AS(getpeername_args), (sy_call_t *)sys_getpeername }, /* 31 = getpeername */
70 { AS(getsockname_args), (sy_call_t *)sys_getsockname }, /* 32 = getsockname */
71 { AS(access_args), (sy_call_t *)sys_access }, /* 33 = access */
72 { AS(chflags_args), (sy_call_t *)sys_chflags }, /* 34 = chflags */
73 { AS(fchflags_args), (sy_call_t *)sys_fchflags }, /* 35 = fchflags */
74 { 0, (sy_call_t *)sys_sync }, /* 36 = sync */
75 { AS(kill_args), (sy_call_t *)sys_kill }, /* 37 = kill */
76 { compat(AS(ostat_args),stat) }, /* 38 = old stat */
77 { 0, (sy_call_t *)sys_getppid }, /* 39 = getppid */
78 { compat(AS(olstat_args),lstat) }, /* 40 = old lstat */
79 { SYF_MPSAFE | AS(dup_args), (sy_call_t *)sys_dup }, /* 41 = dup */
80 { 0, (sy_call_t *)sys_pipe }, /* 42 = pipe */
81 { 0, (sy_call_t *)sys_getegid }, /* 43 = getegid */
82 { AS(profil_args), (sy_call_t *)sys_profil }, /* 44 = profil */
83 { AS(ktrace_args), (sy_call_t *)sys_ktrace }, /* 45 = ktrace */
84 { 0, (sy_call_t *)sys_nosys }, /* 46 = obsolete freebsd3_sigaction */
85 { SYF_MPSAFE | 0, (sy_call_t *)sys_getgid }, /* 47 = getgid */
86 { 0, (sy_call_t *)sys_nosys }, /* 48 = obsolete freebsd3_sigprocmask */
87 { AS(getlogin_args), (sy_call_t *)sys_getlogin }, /* 49 = getlogin */
88 { AS(setlogin_args), (sy_call_t *)sys_setlogin }, /* 50 = setlogin */
89 { AS(acct_args), (sy_call_t *)sys_acct }, /* 51 = acct */
90 { 0, (sy_call_t *)sys_nosys }, /* 52 = obsolete freebsd3_sigpending */
91 { AS(sigaltstack_args), (sy_call_t *)sys_sigaltstack }, /* 53 = sigaltstack */
92 { AS(ioctl_args), (sy_call_t *)sys_ioctl }, /* 54 = ioctl */
93 { AS(reboot_args), (sy_call_t *)sys_reboot }, /* 55 = reboot */
94 { AS(revoke_args), (sy_call_t *)sys_revoke }, /* 56 = revoke */
95 { AS(symlink_args), (sy_call_t *)sys_symlink }, /* 57 = symlink */
96 { AS(readlink_args), (sy_call_t *)sys_readlink }, /* 58 = readlink */
97 { AS(execve_args), (sy_call_t *)sys_execve }, /* 59 = execve */
98 { SYF_MPSAFE | AS(umask_args), (sy_call_t *)sys_umask }, /* 60 = umask */
99 { AS(chroot_args), (sy_call_t *)sys_chroot }, /* 61 = chroot */
100 { compat(AS(ofstat_args),fstat) }, /* 62 = old fstat */
101 { compat(AS(getkerninfo_args),getkerninfo) }, /* 63 = old getkerninfo */
102 { compat(0,getpagesize) }, /* 64 = old getpagesize */
103 { AS(msync_args), (sy_call_t *)sys_msync }, /* 65 = msync */
104 { 0, (sy_call_t *)sys_vfork }, /* 66 = vfork */
105 { 0, (sy_call_t *)sys_nosys }, /* 67 = obsolete vread */
106 { 0, (sy_call_t *)sys_nosys }, /* 68 = obsolete vwrite */
107 { AS(sbrk_args), (sy_call_t *)sys_sbrk }, /* 69 = sbrk */
108 { AS(sstk_args), (sy_call_t *)sys_sstk }, /* 70 = sstk */
109 { compat(AS(ommap_args),mmap) }, /* 71 = old mmap */
110 { AS(ovadvise_args), (sy_call_t *)sys_ovadvise }, /* 72 = vadvise */
111 { AS(munmap_args), (sy_call_t *)sys_munmap }, /* 73 = munmap */
112 { AS(mprotect_args), (sy_call_t *)sys_mprotect }, /* 74 = mprotect */
113 { AS(madvise_args), (sy_call_t *)sys_madvise }, /* 75 = madvise */
114 { 0, (sy_call_t *)sys_nosys }, /* 76 = obsolete vhangup */
115 { 0, (sy_call_t *)sys_nosys }, /* 77 = obsolete vlimit */
116 { AS(mincore_args), (sy_call_t *)sys_mincore }, /* 78 = mincore */
117 { AS(getgroups_args), (sy_call_t *)sys_getgroups }, /* 79 = getgroups */
118 { AS(setgroups_args), (sy_call_t *)sys_setgroups }, /* 80 = setgroups */
119 { SYF_MPSAFE | 0, (sy_call_t *)sys_getpgrp }, /* 81 = getpgrp */
120 { AS(setpgid_args), (sy_call_t *)sys_setpgid }, /* 82 = setpgid */
121 { AS(setitimer_args), (sy_call_t *)sys_setitimer }, /* 83 = setitimer */
122 { compat(0,wait) }, /* 84 = old wait */
123 { AS(swapon_args), (sy_call_t *)sys_swapon }, /* 85 = swapon */
124 { AS(getitimer_args), (sy_call_t *)sys_getitimer }, /* 86 = getitimer */
125 { compat(AS(gethostname_args),gethostname) }, /* 87 = old gethostname */
126 { compat(AS(sethostname_args),sethostname) }, /* 88 = old sethostname */
127 { SYF_MPSAFE | 0, (sy_call_t *)sys_getdtablesize }, /* 89 = getdtablesize */
128 { SYF_MPSAFE | AS(dup2_args), (sy_call_t *)sys_dup2 }, /* 90 = dup2 */
129 { 0, (sy_call_t *)sys_nosys }, /* 91 = getdopt */
130 { SYF_MPSAFE | AS(fcntl_args), (sy_call_t *)sys_fcntl }, /* 92 = fcntl */
131 { AS(select_args), (sy_call_t *)sys_select }, /* 93 = select */
132 { 0, (sy_call_t *)sys_nosys }, /* 94 = setdopt */
133 { AS(fsync_args), (sy_call_t *)sys_fsync }, /* 95 = fsync */
134 { AS(setpriority_args), (sy_call_t *)sys_setpriority }, /* 96 = setpriority */
135 { AS(socket_args), (sy_call_t *)sys_socket }, /* 97 = socket */
136 { AS(connect_args), (sy_call_t *)sys_connect }, /* 98 = connect */
137 { compat(AS(accept_args),accept) }, /* 99 = old accept */
138 { AS(getpriority_args), (sy_call_t *)sys_getpriority }, /* 100 = getpriority */
139 { compat(AS(osend_args),send) }, /* 101 = old send */
140 { compat(AS(orecv_args),recv) }, /* 102 = old recv */
141 { 0, (sy_call_t *)sys_nosys }, /* 103 = obsolete freebsd3_sigreturn */
142 { AS(bind_args), (sy_call_t *)sys_bind }, /* 104 = bind */
143 { AS(setsockopt_args), (sy_call_t *)sys_setsockopt }, /* 105 = setsockopt */
144 { AS(listen_args), (sy_call_t *)sys_listen }, /* 106 = listen */
145 { 0, (sy_call_t *)sys_nosys }, /* 107 = obsolete vtimes */
146 { compat(AS(osigvec_args),sigvec) }, /* 108 = old sigvec */
147 { compat(AS(osigblock_args),sigblock) }, /* 109 = old sigblock */
148 { compat(AS(osigsetmask_args),sigsetmask) }, /* 110 = old sigsetmask */
149 { 0, (sy_call_t *)sys_nosys }, /* 111 = obsolete freebsd3_sigsuspend */
150 { compat(AS(osigstack_args),sigstack) }, /* 112 = old sigstack */
151 { compat(AS(orecvmsg_args),recvmsg) }, /* 113 = old recvmsg */
152 { compat(AS(osendmsg_args),sendmsg) }, /* 114 = old sendmsg */
153 { 0, (sy_call_t *)sys_nosys }, /* 115 = obsolete vtrace */
154 { SYF_MPSAFE | AS(gettimeofday_args), (sy_call_t *)sys_gettimeofday }, /* 116 = gettimeofday */
155 { AS(getrusage_args), (sy_call_t *)sys_getrusage }, /* 117 = getrusage */
156 { AS(getsockopt_args), (sy_call_t *)sys_getsockopt }, /* 118 = getsockopt */
157 { 0, (sy_call_t *)sys_nosys }, /* 119 = resuba */
158 { SYF_MPSAFE | AS(readv_args), (sy_call_t *)sys_readv }, /* 120 = readv */
159 { SYF_MPSAFE | AS(writev_args), (sy_call_t *)sys_writev }, /* 121 = writev */
160 { AS(settimeofday_args), (sy_call_t *)sys_settimeofday }, /* 122 = settimeofday */
161 { AS(fchown_args), (sy_call_t *)sys_fchown }, /* 123 = fchown */
162 { AS(fchmod_args), (sy_call_t *)sys_fchmod }, /* 124 = fchmod */
163 { compat(AS(recvfrom_args),recvfrom) }, /* 125 = old recvfrom */
164 { AS(setreuid_args), (sy_call_t *)sys_setreuid }, /* 126 = setreuid */
165 { AS(setregid_args), (sy_call_t *)sys_setregid }, /* 127 = setregid */
166 { AS(rename_args), (sy_call_t *)sys_rename }, /* 128 = rename */
167 { compat(AS(otruncate_args),truncate) }, /* 129 = old truncate */
168 { compat(AS(oftruncate_args),ftruncate) }, /* 130 = old ftruncate */
169 { AS(flock_args), (sy_call_t *)sys_flock }, /* 131 = flock */
170 { AS(mkfifo_args), (sy_call_t *)sys_mkfifo }, /* 132 = mkfifo */
171 { AS(sendto_args), (sy_call_t *)sys_sendto }, /* 133 = sendto */
172 { AS(shutdown_args), (sy_call_t *)sys_shutdown }, /* 134 = shutdown */
173 { AS(socketpair_args), (sy_call_t *)sys_socketpair }, /* 135 = socketpair */
174 { AS(mkdir_args), (sy_call_t *)sys_mkdir }, /* 136 = mkdir */
175 { AS(rmdir_args), (sy_call_t *)sys_rmdir }, /* 137 = rmdir */
176 { AS(utimes_args), (sy_call_t *)sys_utimes }, /* 138 = utimes */
177 { 0, (sy_call_t *)sys_nosys }, /* 139 = obsolete 4.2 sigreturn */
178 { AS(adjtime_args), (sy_call_t *)sys_adjtime }, /* 140 = adjtime */
179 { compat(AS(ogetpeername_args),getpeername) }, /* 141 = old getpeername */
180 { compat(0,gethostid) }, /* 142 = old gethostid */
181 { compat(AS(osethostid_args),sethostid) }, /* 143 = old sethostid */
182 { compat(SYF_MPSAFE | AS(ogetrlimit_args),getrlimit) }, /* 144 = old getrlimit */
183 { compat(SYF_MPSAFE | AS(osetrlimit_args),setrlimit) }, /* 145 = old setrlimit */
184 { compat(AS(okillpg_args),killpg) }, /* 146 = old killpg */
185 { 0, (sy_call_t *)sys_setsid }, /* 147 = setsid */
186 { AS(quotactl_args), (sy_call_t *)sys_quotactl }, /* 148 = quotactl */
187 { compat(0,quota) }, /* 149 = old quota */
188 { compat(AS(getsockname_args),getsockname) }, /* 150 = old getsockname */
189 { 0, (sy_call_t *)sys_nosys }, /* 151 = sem_lock */
190 { 0, (sy_call_t *)sys_nosys }, /* 152 = sem_wakeup */
191 { 0, (sy_call_t *)sys_nosys }, /* 153 = asyncdaemon */
192 { 0, (sy_call_t *)sys_nosys }, /* 154 = nosys */
193 { AS(nfssvc_args), (sy_call_t *)sys_nosys }, /* 155 = nfssvc */
194 { compat(AS(ogetdirentries_args),getdirentries) }, /* 156 = old getdirentries */
195 { AS(statfs_args), (sy_call_t *)sys_statfs }, /* 157 = statfs */
196 { AS(fstatfs_args), (sy_call_t *)sys_fstatfs }, /* 158 = fstatfs */
197 { 0, (sy_call_t *)sys_nosys }, /* 159 = nosys */
198 { 0, (sy_call_t *)sys_nosys }, /* 160 = nosys */
199 { AS(getfh_args), (sy_call_t *)sys_getfh }, /* 161 = getfh */
200 { AS(getdomainname_args), (sy_call_t *)sys_getdomainname }, /* 162 = getdomainname */
201 { AS(setdomainname_args), (sy_call_t *)sys_setdomainname }, /* 163 = setdomainname */
202 { AS(uname_args), (sy_call_t *)sys_uname }, /* 164 = uname */
203 { AS(sysarch_args), (sy_call_t *)sys_sysarch }, /* 165 = sysarch */
204 { AS(rtprio_args), (sy_call_t *)sys_rtprio }, /* 166 = rtprio */
205 { 0, (sy_call_t *)sys_nosys }, /* 167 = nosys */
206 { 0, (sy_call_t *)sys_nosys }, /* 168 = nosys */
207 { AS(semsys_args), (sy_call_t *)sys_semsys }, /* 169 = semsys */
208 { AS(msgsys_args), (sy_call_t *)sys_msgsys }, /* 170 = msgsys */
209 { AS(shmsys_args), (sy_call_t *)sys_shmsys }, /* 171 = shmsys */
210 { 0, (sy_call_t *)sys_nosys }, /* 172 = nosys */
211 { SYF_MPSAFE | AS(extpread_args), (sy_call_t *)sys_extpread }, /* 173 = extpread */
212 { SYF_MPSAFE | AS(extpwrite_args), (sy_call_t *)sys_extpwrite }, /* 174 = extpwrite */
213 { 0, (sy_call_t *)sys_nosys }, /* 175 = nosys */
214 { AS(ntp_adjtime_args), (sy_call_t *)sys_ntp_adjtime }, /* 176 = ntp_adjtime */
215 { 0, (sy_call_t *)sys_nosys }, /* 177 = sfork */
216 { 0, (sy_call_t *)sys_nosys }, /* 178 = getdescriptor */
217 { 0, (sy_call_t *)sys_nosys }, /* 179 = setdescriptor */
218 { 0, (sy_call_t *)sys_nosys }, /* 180 = nosys */
219 { AS(setgid_args), (sy_call_t *)sys_setgid }, /* 181 = setgid */
220 { AS(setegid_args), (sy_call_t *)sys_setegid }, /* 182 = setegid */
221 { AS(seteuid_args), (sy_call_t *)sys_seteuid }, /* 183 = seteuid */
222 { 0, (sy_call_t *)sys_nosys }, /* 184 = lfs_bmapv */
223 { 0, (sy_call_t *)sys_nosys }, /* 185 = lfs_markv */
224 { 0, (sy_call_t *)sys_nosys }, /* 186 = lfs_segclean */
225 { 0, (sy_call_t *)sys_nosys }, /* 187 = lfs_segwait */
226 { compatdf12(AS(dfbsd12_stat_args),stat) }, /* 188 = old stat */
227 { compatdf12(AS(dfbsd12_fstat_args),fstat) }, /* 189 = old fstat */
228 { compatdf12(AS(dfbsd12_lstat_args),lstat) }, /* 190 = old lstat */
229 { AS(pathconf_args), (sy_call_t *)sys_pathconf }, /* 191 = pathconf */
230 { AS(fpathconf_args), (sy_call_t *)sys_fpathconf }, /* 192 = fpathconf */
231 { 0, (sy_call_t *)sys_nosys }, /* 193 = nosys */
232 { AS(__getrlimit_args), (sy_call_t *)sys_getrlimit }, /* 194 = getrlimit */
233 { AS(__setrlimit_args), (sy_call_t *)sys_setrlimit }, /* 195 = setrlimit */
234 { compatdf12(AS(dfbsd12_getdirentries_args),getdirentries) }, /* 196 = old getdirentries */
235 { AS(mmap_args), (sy_call_t *)sys_mmap }, /* 197 = mmap */
236 { 0, (sy_call_t *)sys_nosys }, /* 198 = __syscall */
237 { AS(lseek_args), (sy_call_t *)sys_lseek }, /* 199 = lseek */
238 { AS(truncate_args), (sy_call_t *)sys_truncate }, /* 200 = truncate */
239 { AS(ftruncate_args), (sy_call_t *)sys_ftruncate }, /* 201 = ftruncate */
240 { AS(sysctl_args), (sy_call_t *)sys___sysctl }, /* 202 = __sysctl */
241 { AS(mlock_args), (sy_call_t *)sys_mlock }, /* 203 = mlock */
242 { AS(munlock_args), (sy_call_t *)sys_munlock }, /* 204 = munlock */
243 { AS(undelete_args), (sy_call_t *)sys_undelete }, /* 205 = undelete */
244 { AS(futimes_args), (sy_call_t *)sys_futimes }, /* 206 = futimes */
245 { AS(getpgid_args), (sy_call_t *)sys_getpgid }, /* 207 = getpgid */
246 { 0, (sy_call_t *)sys_nosys }, /* 208 = newreboot */
247 { AS(poll_args), (sy_call_t *)sys_poll }, /* 209 = poll */
248 { AS(nosys_args), (sy_call_t *)sys_lkmnosys }, /* 210 = lkmnosys */
249 { AS(nosys_args), (sy_call_t *)sys_lkmnosys }, /* 211 = lkmnosys */
250 { AS(nosys_args), (sy_call_t *)sys_lkmnosys }, /* 212 = lkmnosys */
251 { AS(nosys_args), (sy_call_t *)sys_lkmnosys }, /* 213 = lkmnosys */
252 { AS(nosys_args), (sy_call_t *)sys_lkmnosys }, /* 214 = lkmnosys */
253 { AS(nosys_args), (sy_call_t *)sys_lkmnosys }, /* 215 = lkmnosys */
254 { AS(nosys_args), (sy_call_t *)sys_lkmnosys }, /* 216 = lkmnosys */
255 { AS(nosys_args), (sy_call_t *)sys_lkmnosys }, /* 217 = lkmnosys */
256 { AS(nosys_args), (sy_call_t *)sys_lkmnosys }, /* 218 = lkmnosys */
257 { AS(nosys_args), (sy_call_t *)sys_lkmnosys }, /* 219 = lkmnosys */
258 { AS(__semctl_args), (sy_call_t *)sys___semctl }, /* 220 = __semctl */
259 { AS(semget_args), (sy_call_t *)sys_semget }, /* 221 = semget */
260 { AS(semop_args), (sy_call_t *)sys_semop }, /* 222 = semop */
261 { 0, (sy_call_t *)sys_nosys }, /* 223 = semconfig */
262 { AS(msgctl_args), (sy_call_t *)sys_msgctl }, /* 224 = msgctl */
263 { AS(msgget_args), (sy_call_t *)sys_msgget }, /* 225 = msgget */
264 { AS(msgsnd_args), (sy_call_t *)sys_msgsnd }, /* 226 = msgsnd */
265 { AS(msgrcv_args), (sy_call_t *)sys_msgrcv }, /* 227 = msgrcv */
266 { AS(shmat_args), (sy_call_t *)sys_shmat }, /* 228 = shmat */
267 { AS(shmctl_args), (sy_call_t *)sys_shmctl }, /* 229 = shmctl */
268 { AS(shmdt_args), (sy_call_t *)sys_shmdt }, /* 230 = shmdt */
269 { AS(shmget_args), (sy_call_t *)sys_shmget }, /* 231 = shmget */
270 { AS(clock_gettime_args), (sy_call_t *)sys_clock_gettime }, /* 232 = clock_gettime */
271 { AS(clock_settime_args), (sy_call_t *)sys_clock_settime }, /* 233 = clock_settime */
272 { AS(clock_getres_args), (sy_call_t *)sys_clock_getres }, /* 234 = clock_getres */
273 { 0, (sy_call_t *)sys_nosys }, /* 235 = timer_create */
274 { 0, (sy_call_t *)sys_nosys }, /* 236 = timer_delete */
275 { 0, (sy_call_t *)sys_nosys }, /* 237 = timer_settime */
276 { 0, (sy_call_t *)sys_nosys }, /* 238 = timer_gettime */
277 { 0, (sy_call_t *)sys_nosys }, /* 239 = timer_getoverrun */
278 { AS(nanosleep_args), (sy_call_t *)sys_nanosleep }, /* 240 = nanosleep */
279 { 0, (sy_call_t *)sys_nosys }, /* 241 = nosys */
280 { 0, (sy_call_t *)sys_nosys }, /* 242 = nosys */
281 { 0, (sy_call_t *)sys_nosys }, /* 243 = nosys */
282 { 0, (sy_call_t *)sys_nosys }, /* 244 = nosys */
283 { 0, (sy_call_t *)sys_nosys }, /* 245 = nosys */
284 { 0, (sy_call_t *)sys_nosys }, /* 246 = nosys */
285 { 0, (sy_call_t *)sys_nosys }, /* 247 = nosys */
286 { 0, (sy_call_t *)sys_nosys }, /* 248 = nosys */
287 { 0, (sy_call_t *)sys_nosys }, /* 249 = nosys */
288 { AS(minherit_args), (sy_call_t *)sys_minherit }, /* 250 = minherit */
289 { AS(rfork_args), (sy_call_t *)sys_rfork }, /* 251 = rfork */
290 { AS(openbsd_poll_args), (sy_call_t *)sys_openbsd_poll }, /* 252 = openbsd_poll */
291 { 0, (sy_call_t *)sys_issetugid }, /* 253 = issetugid */
292 { AS(lchown_args), (sy_call_t *)sys_lchown }, /* 254 = lchown */
293 { 0, (sy_call_t *)sys_nosys }, /* 255 = nosys */
294 { 0, (sy_call_t *)sys_nosys }, /* 256 = nosys */
295 { 0, (sy_call_t *)sys_nosys }, /* 257 = nosys */
296 { 0, (sy_call_t *)sys_nosys }, /* 258 = nosys */
297 { 0, (sy_call_t *)sys_nosys }, /* 259 = nosys */
298 { 0, (sy_call_t *)sys_nosys }, /* 260 = nosys */
299 { 0, (sy_call_t *)sys_nosys }, /* 261 = nosys */
300 { 0, (sy_call_t *)sys_nosys }, /* 262 = nosys */
301 { 0, (sy_call_t *)sys_nosys }, /* 263 = nosys */
302 { 0, (sy_call_t *)sys_nosys }, /* 264 = nosys */
303 { 0, (sy_call_t *)sys_nosys }, /* 265 = nosys */
304 { 0, (sy_call_t *)sys_nosys }, /* 266 = nosys */
305 { 0, (sy_call_t *)sys_nosys }, /* 267 = nosys */
306 { 0, (sy_call_t *)sys_nosys }, /* 268 = nosys */
307 { 0, (sy_call_t *)sys_nosys }, /* 269 = nosys */
308 { 0, (sy_call_t *)sys_nosys }, /* 270 = nosys */
309 { 0, (sy_call_t *)sys_nosys }, /* 271 = nosys */
310 { compatdf12(AS(dfbsd12_getdents_args),getdents) }, /* 272 = old getdents */
311 { 0, (sy_call_t *)sys_nosys }, /* 273 = nosys */
312 { AS(lchmod_args), (sy_call_t *)sys_lchmod }, /* 274 = lchmod */
313 { AS(lchown_args), (sy_call_t *)sys_lchown }, /* 275 = netbsd_lchown */
314 { AS(lutimes_args), (sy_call_t *)sys_lutimes }, /* 276 = lutimes */
315 { AS(msync_args), (sy_call_t *)sys_msync }, /* 277 = netbsd_msync */
316 { 0, (sy_call_t *)sys_nosys }, /* 278 = obsolete { */
317 { 0, (sy_call_t *)sys_nosys }, /* 279 = obsolete { */
318 { 0, (sy_call_t *)sys_nosys }, /* 280 = obsolete { */
319 { 0, (sy_call_t *)sys_nosys }, /* 281 = nosys */
320 { 0, (sy_call_t *)sys_nosys }, /* 282 = nosys */
321 { 0, (sy_call_t *)sys_nosys }, /* 283 = nosys */
322 { 0, (sy_call_t *)sys_nosys }, /* 284 = nosys */
323 { 0, (sy_call_t *)sys_nosys }, /* 285 = nosys */
324 { 0, (sy_call_t *)sys_nosys }, /* 286 = nosys */
325 { 0, (sy_call_t *)sys_nosys }, /* 287 = nosys */
326 { 0, (sy_call_t *)sys_nosys }, /* 288 = nosys */
327 { SYF_MPSAFE | AS(extpreadv_args), (sy_call_t *)sys_extpreadv }, /* 289 = extpreadv */
328 { SYF_MPSAFE | AS(extpwritev_args), (sy_call_t *)sys_extpwritev }, /* 290 = extpwritev */
329 { 0, (sy_call_t *)sys_nosys }, /* 291 = nosys */
330 { 0, (sy_call_t *)sys_nosys }, /* 292 = nosys */
331 { 0, (sy_call_t *)sys_nosys }, /* 293 = nosys */
332 { 0, (sy_call_t *)sys_nosys }, /* 294 = nosys */
333 { 0, (sy_call_t *)sys_nosys }, /* 295 = nosys */
334 { 0, (sy_call_t *)sys_nosys }, /* 296 = nosys */
335 { AS(fhstatfs_args), (sy_call_t *)sys_fhstatfs }, /* 297 = fhstatfs */
336 { AS(fhopen_args), (sy_call_t *)sys_fhopen }, /* 298 = fhopen */
337 { compatdf12(AS(dfbsd12_fhstat_args),fhstat) }, /* 299 = old fhstat */
338 { AS(modnext_args), (sy_call_t *)sys_modnext }, /* 300 = modnext */
339 { AS(modstat_args), (sy_call_t *)sys_modstat }, /* 301 = modstat */
340 { AS(modfnext_args), (sy_call_t *)sys_modfnext }, /* 302 = modfnext */
341 { AS(modfind_args), (sy_call_t *)sys_modfind }, /* 303 = modfind */
342 { AS(kldload_args), (sy_call_t *)sys_kldload }, /* 304 = kldload */
343 { AS(kldunload_args), (sy_call_t *)sys_kldunload }, /* 305 = kldunload */
344 { AS(kldfind_args), (sy_call_t *)sys_kldfind }, /* 306 = kldfind */
345 { AS(kldnext_args), (sy_call_t *)sys_kldnext }, /* 307 = kldnext */
346 { AS(kldstat_args), (sy_call_t *)sys_kldstat }, /* 308 = kldstat */
347 { AS(kldfirstmod_args), (sy_call_t *)sys_kldfirstmod }, /* 309 = kldfirstmod */
348 { AS(getsid_args), (sy_call_t *)sys_getsid }, /* 310 = getsid */
349 { AS(setresuid_args), (sy_call_t *)sys_setresuid }, /* 311 = setresuid */
350 { AS(setresgid_args), (sy_call_t *)sys_setresgid }, /* 312 = setresgid */
351 { 0, (sy_call_t *)sys_nosys }, /* 313 = obsolete signanosleep */
352 { AS(aio_return_args), (sy_call_t *)sys_aio_return }, /* 314 = aio_return */
353 { AS(aio_suspend_args), (sy_call_t *)sys_aio_suspend }, /* 315 = aio_suspend */
354 { AS(aio_cancel_args), (sy_call_t *)sys_aio_cancel }, /* 316 = aio_cancel */
355 { AS(aio_error_args), (sy_call_t *)sys_aio_error }, /* 317 = aio_error */
356 { AS(aio_read_args), (sy_call_t *)sys_aio_read }, /* 318 = aio_read */
357 { AS(aio_write_args), (sy_call_t *)sys_aio_write }, /* 319 = aio_write */
358 { AS(lio_listio_args), (sy_call_t *)sys_lio_listio }, /* 320 = lio_listio */
359 { 0, (sy_call_t *)sys_yield }, /* 321 = yield */
360 { AS(thr_sleep_args), (sy_call_t *)sys_thr_sleep }, /* 322 = thr_sleep */
361 { AS(thr_wakeup_args), (sy_call_t *)sys_thr_wakeup }, /* 323 = thr_wakeup */
362 { AS(mlockall_args), (sy_call_t *)sys_mlockall }, /* 324 = mlockall */
363 { 0, (sy_call_t *)sys_munlockall }, /* 325 = munlockall */
364 { AS(__getcwd_args), (sy_call_t *)sys___getcwd }, /* 326 = __getcwd */
365 { AS(sched_setparam_args), (sy_call_t *)sys_sched_setparam }, /* 327 = sched_setparam */
366 { AS(sched_getparam_args), (sy_call_t *)sys_sched_getparam }, /* 328 = sched_getparam */
367 { AS(sched_setscheduler_args), (sy_call_t *)sys_sched_setscheduler }, /* 329 = sched_setscheduler */
368 { AS(sched_getscheduler_args), (sy_call_t *)sys_sched_getscheduler }, /* 330 = sched_getscheduler */
369 { 0, (sy_call_t *)sys_sched_yield }, /* 331 = sched_yield */
370 { AS(sched_get_priority_max_args), (sy_call_t *)sys_sched_get_priority_max }, /* 332 = sched_get_priority_max */
371 { AS(sched_get_priority_min_args), (sy_call_t *)sys_sched_get_priority_min }, /* 333 = sched_get_priority_min */
372 { AS(sched_rr_get_interval_args), (sy_call_t *)sys_sched_rr_get_interval }, /* 334 = sched_rr_get_interval */
373 { AS(utrace_args), (sy_call_t *)sys_utrace }, /* 335 = utrace */
374 { 0, (sy_call_t *)sys_nosys }, /* 336 = obsolete freebsd4_sendfile */
375 { AS(kldsym_args), (sy_call_t *)sys_kldsym }, /* 337 = kldsym */
376 { AS(jail_args), (sy_call_t *)sys_jail }, /* 338 = jail */
377 { 0, (sy_call_t *)sys_nosys }, /* 339 = pioctl */
378 { SYF_MPSAFE | AS(sigprocmask_args), (sy_call_t *)sys_sigprocmask }, /* 340 = sigprocmask */
379 { AS(sigsuspend_args), (sy_call_t *)sys_sigsuspend }, /* 341 = sigsuspend */
380 { AS(sigaction_args), (sy_call_t *)sys_sigaction }, /* 342 = sigaction */
381 { AS(sigpending_args), (sy_call_t *)sys_sigpending }, /* 343 = sigpending */
382 { AS(sigreturn_args), (sy_call_t *)sys_sigreturn }, /* 344 = sigreturn */
383 { AS(sigtimedwait_args), (sy_call_t *)sys_sigtimedwait }, /* 345 = sigtimedwait */
384 { AS(sigwaitinfo_args), (sy_call_t *)sys_sigwaitinfo }, /* 346 = sigwaitinfo */
385 { AS(__acl_get_file_args), (sy_call_t *)sys___acl_get_file }, /* 347 = __acl_get_file */
386 { AS(__acl_set_file_args), (sy_call_t *)sys___acl_set_file }, /* 348 = __acl_set_file */
387 { AS(__acl_get_fd_args), (sy_call_t *)sys___acl_get_fd }, /* 349 = __acl_get_fd */
388 { AS(__acl_set_fd_args), (sy_call_t *)sys___acl_set_fd }, /* 350 = __acl_set_fd */
389 { AS(__acl_delete_file_args), (sy_call_t *)sys___acl_delete_file }, /* 351 = __acl_delete_file */
390 { AS(__acl_delete_fd_args), (sy_call_t *)sys___acl_delete_fd }, /* 352 = __acl_delete_fd */
391 { AS(__acl_aclcheck_file_args), (sy_call_t *)sys___acl_aclcheck_file }, /* 353 = __acl_aclcheck_file */
392 { AS(__acl_aclcheck_fd_args), (sy_call_t *)sys___acl_aclcheck_fd }, /* 354 = __acl_aclcheck_fd */
393 { AS(extattrctl_args), (sy_call_t *)sys_extattrctl }, /* 355 = extattrctl */
394 { AS(extattr_set_file_args), (sy_call_t *)sys_extattr_set_file }, /* 356 = extattr_set_file */
395 { AS(extattr_get_file_args), (sy_call_t *)sys_extattr_get_file }, /* 357 = extattr_get_file */
396 { AS(extattr_delete_file_args), (sy_call_t *)sys_extattr_delete_file }, /* 358 = extattr_delete_file */
397 { AS(aio_waitcomplete_args), (sy_call_t *)sys_aio_waitcomplete }, /* 359 = aio_waitcomplete */
398 { AS(getresuid_args), (sy_call_t *)sys_getresuid }, /* 360 = getresuid */
399 { AS(getresgid_args), (sy_call_t *)sys_getresgid }, /* 361 = getresgid */
400 { 0, (sy_call_t *)sys_kqueue }, /* 362 = kqueue */
401 { AS(kevent_args), (sy_call_t *)sys_kevent }, /* 363 = kevent */
402 { AS(sctp_peeloff_args), (sy_call_t *)sys_sctp_peeloff }, /* 364 = sctp_peeloff */
403 { 0, (sy_call_t *)sys_nosys }, /* 365 = nosys */
404 { 0, (sy_call_t *)sys_nosys }, /* 366 = nosys */
405 { 0, (sy_call_t *)sys_nosys }, /* 367 = nosys */
406 { 0, (sy_call_t *)sys_nosys }, /* 368 = nosys */
407 { 0, (sy_call_t *)sys_nosys }, /* 369 = nosys */
408 { 0, (sy_call_t *)sys_nosys }, /* 370 = nosys */
409 { 0, (sy_call_t *)sys_nosys }, /* 371 = nosys */
410 { 0, (sy_call_t *)sys_nosys }, /* 372 = nosys */
411 { 0, (sy_call_t *)sys_nosys }, /* 373 = nosys */
412 { 0, (sy_call_t *)sys_nosys }, /* 374 = nosys */
413 { 0, (sy_call_t *)sys_nosys }, /* 375 = nosys */
414 { 0, (sy_call_t *)sys_nosys }, /* 376 = nosys */
415 { 0, (sy_call_t *)sys_nosys }, /* 377 = nosys */
416 { 0, (sy_call_t *)sys_nosys }, /* 378 = nosys */
417 { 0, (sy_call_t *)sys_nosys }, /* 379 = nosys */
418 { 0, (sy_call_t *)sys_nosys }, /* 380 = nosys */
419 { 0, (sy_call_t *)sys_nosys }, /* 381 = nosys */
420 { 0, (sy_call_t *)sys_nosys }, /* 382 = nosys */
421 { 0, (sy_call_t *)sys_nosys }, /* 383 = nosys */
422 { 0, (sy_call_t *)sys_nosys }, /* 384 = nosys */
423 { 0, (sy_call_t *)sys_nosys }, /* 385 = nosys */
424 { 0, (sy_call_t *)sys_nosys }, /* 386 = nosys */
425 { 0, (sy_call_t *)sys_nosys }, /* 387 = nosys */
426 { 0, (sy_call_t *)sys_nosys }, /* 388 = nosys */
427 { 0, (sy_call_t *)sys_nosys }, /* 389 = nosys */
428 { 0, (sy_call_t *)sys_nosys }, /* 390 = nosys */
429 { AS(lchflags_args), (sy_call_t *)sys_lchflags }, /* 391 = lchflags */
430 { AS(uuidgen_args), (sy_call_t *)sys_uuidgen }, /* 392 = uuidgen */
431 { AS(sendfile_args), (sy_call_t *)sys_sendfile }, /* 393 = sendfile */
432 { 0, (sy_call_t *)sys_nosys }, /* 394 = nosys */
433 { 0, (sy_call_t *)sys_nosys }, /* 395 = nosys */
434 { 0, (sy_call_t *)sys_nosys }, /* 396 = nosys */
435 { 0, (sy_call_t *)sys_nosys }, /* 397 = nosys */
436 { 0, (sy_call_t *)sys_nosys }, /* 398 = nosys */
437 { 0, (sy_call_t *)sys_nosys }, /* 399 = nosys */
438 { 0, (sy_call_t *)sys_nosys }, /* 400 = nosys */
439 { 0, (sy_call_t *)sys_nosys }, /* 401 = nosys */
440 { 0, (sy_call_t *)sys_nosys }, /* 402 = nosys */
441 { 0, (sy_call_t *)sys_nosys }, /* 403 = nosys */
442 { 0, (sy_call_t *)sys_nosys }, /* 404 = nosys */
443 { 0, (sy_call_t *)sys_nosys }, /* 405 = nosys */
444 { 0, (sy_call_t *)sys_nosys }, /* 406 = nosys */
445 { 0, (sy_call_t *)sys_nosys }, /* 407 = nosys */
446 { 0, (sy_call_t *)sys_nosys }, /* 408 = nosys */
447 { 0, (sy_call_t *)sys_nosys }, /* 409 = nosys */
448 { 0, (sy_call_t *)sys_nosys }, /* 410 = nosys */
449 { 0, (sy_call_t *)sys_nosys }, /* 411 = nosys */
450 { 0, (sy_call_t *)sys_nosys }, /* 412 = nosys */
451 { 0, (sy_call_t *)sys_nosys }, /* 413 = nosys */
452 { 0, (sy_call_t *)sys_nosys }, /* 414 = nosys */
453 { 0, (sy_call_t *)sys_nosys }, /* 415 = nosys */
454 { 0, (sy_call_t *)sys_nosys }, /* 416 = nosys */
455 { 0, (sy_call_t *)sys_nosys }, /* 417 = nosys */
456 { 0, (sy_call_t *)sys_nosys }, /* 418 = nosys */
457 { 0, (sy_call_t *)sys_nosys }, /* 419 = nosys */
458 { 0, (sy_call_t *)sys_nosys }, /* 420 = nosys */
459 { 0, (sy_call_t *)sys_nosys }, /* 421 = nosys */
460 { 0, (sy_call_t *)sys_nosys }, /* 422 = nosys */
461 { 0, (sy_call_t *)sys_nosys }, /* 423 = nosys */
462 { 0, (sy_call_t *)sys_nosys }, /* 424 = nosys */
463 { 0, (sy_call_t *)sys_nosys }, /* 425 = nosys */
464 { 0, (sy_call_t *)sys_nosys }, /* 426 = nosys */
465 { 0, (sy_call_t *)sys_nosys }, /* 427 = nosys */
466 { 0, (sy_call_t *)sys_nosys }, /* 428 = nosys */
467 { 0, (sy_call_t *)sys_nosys }, /* 429 = nosys */
468 { 0, (sy_call_t *)sys_nosys }, /* 430 = nosys */
469 { 0, (sy_call_t *)sys_nosys }, /* 431 = nosys */
470 { 0, (sy_call_t *)sys_nosys }, /* 432 = nosys */
471 { 0, (sy_call_t *)sys_nosys }, /* 433 = nosys */
472 { 0, (sy_call_t *)sys_nosys }, /* 434 = nosys */
473 { 0, (sy_call_t *)sys_nosys }, /* 435 = nosys */
474 { 0, (sy_call_t *)sys_nosys }, /* 436 = nosys */
475 { 0, (sy_call_t *)sys_nosys }, /* 437 = nosys */
476 { 0, (sy_call_t *)sys_nosys }, /* 438 = nosys */
477 { 0, (sy_call_t *)sys_nosys }, /* 439 = nosys */
478 { 0, (sy_call_t *)sys_nosys }, /* 440 = nosys */
479 { 0, (sy_call_t *)sys_nosys }, /* 441 = nosys */
480 { 0, (sy_call_t *)sys_nosys }, /* 442 = nosys */
481 { 0, (sy_call_t *)sys_nosys }, /* 443 = nosys */
482 { 0, (sy_call_t *)sys_nosys }, /* 444 = nosys */
483 { 0, (sy_call_t *)sys_nosys }, /* 445 = nosys */
484 { 0, (sy_call_t *)sys_nosys }, /* 446 = nosys */
485 { 0, (sy_call_t *)sys_nosys }, /* 447 = nosys */
486 { 0, (sy_call_t *)sys_nosys }, /* 448 = nosys */
487 { 0, (sy_call_t *)sys_nosys }, /* 449 = nosys */
488 { AS(varsym_set_args), (sy_call_t *)sys_varsym_set }, /* 450 = varsym_set */
489 { AS(varsym_get_args), (sy_call_t *)sys_varsym_get }, /* 451 = varsym_get */
490 { AS(varsym_list_args), (sy_call_t *)sys_varsym_list }, /* 452 = varsym_list */
491 { AS(upc_register_args), (sy_call_t *)sys_upc_register }, /* 453 = upc_register */
492 { AS(upc_control_args), (sy_call_t *)sys_upc_control }, /* 454 = upc_control */
493 { AS(caps_sys_service_args), (sy_call_t *)sys_caps_sys_service }, /* 455 = caps_sys_service */
494 { AS(caps_sys_client_args), (sy_call_t *)sys_caps_sys_client }, /* 456 = caps_sys_client */
495 { AS(caps_sys_close_args), (sy_call_t *)sys_caps_sys_close }, /* 457 = caps_sys_close */
496 { AS(caps_sys_put_args), (sy_call_t *)sys_caps_sys_put }, /* 458 = caps_sys_put */
497 { AS(caps_sys_reply_args), (sy_call_t *)sys_caps_sys_reply }, /* 459 = caps_sys_reply */
498 { AS(caps_sys_get_args), (sy_call_t *)sys_caps_sys_get }, /* 460 = caps_sys_get */
499 { AS(caps_sys_wait_args), (sy_call_t *)sys_caps_sys_wait }, /* 461 = caps_sys_wait */
500 { AS(caps_sys_abort_args), (sy_call_t *)sys_caps_sys_abort }, /* 462 = caps_sys_abort */
501 { AS(caps_sys_getgen_args), (sy_call_t *)sys_caps_sys_getgen }, /* 463 = caps_sys_getgen */
502 { AS(caps_sys_setgen_args), (sy_call_t *)sys_caps_sys_setgen }, /* 464 = caps_sys_setgen */
503 { AS(exec_sys_register_args), (sy_call_t *)sys_exec_sys_register }, /* 465 = exec_sys_register */
504 { AS(exec_sys_unregister_args), (sy_call_t *)sys_exec_sys_unregister }, /* 466 = exec_sys_unregister */
505 { AS(sys_checkpoint_args), (sy_call_t *)sys_sys_checkpoint }, /* 467 = sys_checkpoint */
506 { AS(mountctl_args), (sy_call_t *)sys_mountctl }, /* 468 = mountctl */
507 { AS(umtx_sleep_args), (sy_call_t *)sys_umtx_sleep }, /* 469 = umtx_sleep */
508 { AS(umtx_wakeup_args), (sy_call_t *)sys_umtx_wakeup }, /* 470 = umtx_wakeup */
509 { AS(jail_attach_args), (sy_call_t *)sys_jail_attach }, /* 471 = jail_attach */
510 { AS(set_tls_area_args), (sy_call_t *)sys_set_tls_area }, /* 472 = set_tls_area */
511 { AS(get_tls_area_args), (sy_call_t *)sys_get_tls_area }, /* 473 = get_tls_area */
512 { SYF_MPSAFE | AS(closefrom_args), (sy_call_t *)sys_closefrom }, /* 474 = closefrom */
513 { AS(stat_args), (sy_call_t *)sys_stat }, /* 475 = stat */
514 { AS(fstat_args), (sy_call_t *)sys_fstat }, /* 476 = fstat */
515 { AS(lstat_args), (sy_call_t *)sys_lstat }, /* 477 = lstat */
516 { AS(fhstat_args), (sy_call_t *)sys_fhstat }, /* 478 = fhstat */
517 { AS(getdirentries_args), (sy_call_t *)sys_getdirentries }, /* 479 = getdirentries */
518 { AS(getdents_args), (sy_call_t *)sys_getdents }, /* 480 = getdents */
519 { AS(usched_set_args), (sy_call_t *)sys_usched_set }, /* 481 = usched_set */
520 { AS(extaccept_args), (sy_call_t *)sys_extaccept }, /* 482 = extaccept */
521 { AS(extconnect_args), (sy_call_t *)sys_extconnect }, /* 483 = extconnect */
522 { AS(syslink_args), (sy_call_t *)sys_syslink }, /* 484 = syslink */
523 { AS(mcontrol_args), (sy_call_t *)sys_mcontrol }, /* 485 = mcontrol */
524 { AS(vmspace_create_args), (sy_call_t *)sys_vmspace_create }, /* 486 = vmspace_create */
525 { AS(vmspace_destroy_args), (sy_call_t *)sys_vmspace_destroy }, /* 487 = vmspace_destroy */
526 { AS(vmspace_ctl_args), (sy_call_t *)sys_vmspace_ctl }, /* 488 = vmspace_ctl */
527 { AS(vmspace_mmap_args), (sy_call_t *)sys_vmspace_mmap }, /* 489 = vmspace_mmap */
528 { AS(vmspace_munmap_args), (sy_call_t *)sys_vmspace_munmap }, /* 490 = vmspace_munmap */
529 { AS(vmspace_mcontrol_args), (sy_call_t *)sys_vmspace_mcontrol }, /* 491 = vmspace_mcontrol */
530 { AS(vmspace_pread_args), (sy_call_t *)sys_vmspace_pread }, /* 492 = vmspace_pread */
531 { AS(vmspace_pwrite_args), (sy_call_t *)sys_vmspace_pwrite }, /* 493 = vmspace_pwrite */
532 { AS(extexit_args), (sy_call_t *)sys_extexit }, /* 494 = extexit */
533 { AS(lwp_create_args), (sy_call_t *)sys_lwp_create }, /* 495 = lwp_create */
534 { 0, (sy_call_t *)sys_lwp_gettid }, /* 496 = lwp_gettid */
535 { AS(lwp_kill_args), (sy_call_t *)sys_lwp_kill }, /* 497 = lwp_kill */
536 { AS(lwp_rtprio_args), (sy_call_t *)sys_lwp_rtprio }, /* 498 = lwp_rtprio */
537 { AS(pselect_args), (sy_call_t *)sys_pselect }, /* 499 = pselect */
538 { AS(statvfs_args), (sy_call_t *)sys_statvfs }, /* 500 = statvfs */
539 { AS(fstatvfs_args), (sy_call_t *)sys_fstatvfs }, /* 501 = fstatvfs */
540 { AS(fhstatvfs_args), (sy_call_t *)sys_fhstatvfs }, /* 502 = fhstatvfs */
541 { AS(getvfsstat_args), (sy_call_t *)sys_getvfsstat }, /* 503 = getvfsstat */