Add the preadv() and pwritev() systems and regenerate.
[dragonfly.git] / sys / kern / init_sysent.c
... / ...
CommitLineData
1/*
2 * System call switch table.
3 *
4 * DO NOT EDIT-- this file is automatically generated.
5 * $DragonFly: src/sys/kern/init_sysent.c,v 1.35 2006/04/26 17:17:56 dillon Exp $
6 * created from DragonFly: src/sys/kern/syscalls.master,v 1.31 2006/03/24 06:45:04 dillon Exp
7 */
8
9#include "opt_compat.h"
10
11#include "opt_compatdf12.h"
12
13#include <sys/param.h>
14#include <sys/sysent.h>
15#include <sys/sysproto.h>
16#include <emulation/43bsd/stat.h>
17#include <emulation/dragonfly12/stat.h>
18
19#define AS(name) ((sizeof(struct name) - sizeof(struct sysmsg) - sizeof(union usrmsg)) / sizeof(register_t))
20
21#ifdef COMPAT_43
22#define compat(n, name) n, (sy_call_t *)__CONCAT(o,name)
23#else
24#define compat(n, name) 0, (sy_call_t *)nosys
25#endif
26
27#ifdef COMPAT_DF12
28#define compatdf12(n, name) n, (sy_call_t *)__CONCAT(dfbsd12_,name)
29#else
30#define compatdf12(n, name) 0, (sy_call_t *)nosys
31#endif
32
33/* The casts are bogus but will do for now. */
34struct sysent sysent[] = {
35#ifdef COMPAT_43
36#endif
37 { 0, (sy_call_t *)nosys }, /* 0 = syscall */
38 { AS(sys_exit_args), (sy_call_t *)sys_exit }, /* 1 = exit */
39 { 0, (sy_call_t *)fork }, /* 2 = fork */
40 { AS(read_args), (sy_call_t *)read }, /* 3 = read */
41 { AS(write_args), (sy_call_t *)write }, /* 4 = write */
42 { AS(open_args), (sy_call_t *)open }, /* 5 = open */
43 { AS(close_args), (sy_call_t *)close }, /* 6 = close */
44 { AS(wait_args), (sy_call_t *)wait4 }, /* 7 = wait4 */
45 { compat(AS(ocreat_args),creat) }, /* 8 = old creat */
46 { AS(link_args), (sy_call_t *)link }, /* 9 = link */
47 { AS(unlink_args), (sy_call_t *)unlink }, /* 10 = unlink */
48 { 0, (sy_call_t *)nosys }, /* 11 = obsolete execv */
49 { AS(chdir_args), (sy_call_t *)chdir }, /* 12 = chdir */
50 { AS(fchdir_args), (sy_call_t *)fchdir }, /* 13 = fchdir */
51 { AS(mknod_args), (sy_call_t *)mknod }, /* 14 = mknod */
52 { AS(chmod_args), (sy_call_t *)chmod }, /* 15 = chmod */
53 { AS(chown_args), (sy_call_t *)chown }, /* 16 = chown */
54 { AS(obreak_args), (sy_call_t *)obreak }, /* 17 = break */
55 { AS(getfsstat_args), (sy_call_t *)getfsstat }, /* 18 = getfsstat */
56 { compat(AS(olseek_args),lseek) }, /* 19 = old lseek */
57 { 0, (sy_call_t *)getpid }, /* 20 = getpid */
58 { AS(mount_args), (sy_call_t *)mount }, /* 21 = mount */
59 { AS(unmount_args), (sy_call_t *)unmount }, /* 22 = unmount */
60 { AS(setuid_args), (sy_call_t *)setuid }, /* 23 = setuid */
61 { SYF_MPSAFE | 0, (sy_call_t *)getuid }, /* 24 = getuid */
62 { SYF_MPSAFE | 0, (sy_call_t *)geteuid }, /* 25 = geteuid */
63 { AS(ptrace_args), (sy_call_t *)ptrace }, /* 26 = ptrace */
64 { AS(recvmsg_args), (sy_call_t *)recvmsg }, /* 27 = recvmsg */
65 { AS(sendmsg_args), (sy_call_t *)sendmsg }, /* 28 = sendmsg */
66 { AS(recvfrom_args), (sy_call_t *)recvfrom }, /* 29 = recvfrom */
67 { AS(accept_args), (sy_call_t *)accept }, /* 30 = accept */
68 { AS(getpeername_args), (sy_call_t *)getpeername }, /* 31 = getpeername */
69 { AS(getsockname_args), (sy_call_t *)getsockname }, /* 32 = getsockname */
70 { AS(access_args), (sy_call_t *)access }, /* 33 = access */
71 { AS(chflags_args), (sy_call_t *)chflags }, /* 34 = chflags */
72 { AS(fchflags_args), (sy_call_t *)fchflags }, /* 35 = fchflags */
73 { 0, (sy_call_t *)sync }, /* 36 = sync */
74 { AS(kill_args), (sy_call_t *)kill }, /* 37 = kill */
75 { compat(AS(ostat_args),stat) }, /* 38 = old stat */
76 { 0, (sy_call_t *)getppid }, /* 39 = getppid */
77 { compat(AS(olstat_args),lstat) }, /* 40 = old lstat */
78 { AS(dup_args), (sy_call_t *)dup }, /* 41 = dup */
79 { 0, (sy_call_t *)pipe }, /* 42 = pipe */
80 { 0, (sy_call_t *)getegid }, /* 43 = getegid */
81 { AS(profil_args), (sy_call_t *)profil }, /* 44 = profil */
82 { AS(ktrace_args), (sy_call_t *)ktrace }, /* 45 = ktrace */
83 { 0, (sy_call_t *)nosys }, /* 46 = obsolete freebsd3_sigaction */
84 { SYF_MPSAFE | 0, (sy_call_t *)getgid }, /* 47 = getgid */
85 { 0, (sy_call_t *)nosys }, /* 48 = obsolete freebsd3_sigprocmask */
86 { AS(getlogin_args), (sy_call_t *)getlogin }, /* 49 = getlogin */
87 { AS(setlogin_args), (sy_call_t *)setlogin }, /* 50 = setlogin */
88 { AS(acct_args), (sy_call_t *)acct }, /* 51 = acct */
89 { 0, (sy_call_t *)nosys }, /* 52 = obsolete freebsd3_sigpending */
90 { AS(sigaltstack_args), (sy_call_t *)sigaltstack }, /* 53 = sigaltstack */
91 { AS(ioctl_args), (sy_call_t *)ioctl }, /* 54 = ioctl */
92 { AS(reboot_args), (sy_call_t *)reboot }, /* 55 = reboot */
93 { AS(revoke_args), (sy_call_t *)revoke }, /* 56 = revoke */
94 { AS(symlink_args), (sy_call_t *)symlink }, /* 57 = symlink */
95 { AS(readlink_args), (sy_call_t *)readlink }, /* 58 = readlink */
96 { AS(execve_args), (sy_call_t *)execve }, /* 59 = execve */
97 { SYF_MPSAFE | AS(umask_args), (sy_call_t *)umask }, /* 60 = umask */
98 { AS(chroot_args), (sy_call_t *)chroot }, /* 61 = chroot */
99 { compat(AS(ofstat_args),fstat) }, /* 62 = old fstat */
100 { compat(AS(getkerninfo_args),getkerninfo) }, /* 63 = old getkerninfo */
101 { compat(0,getpagesize) }, /* 64 = old getpagesize */
102 { AS(msync_args), (sy_call_t *)msync }, /* 65 = msync */
103 { 0, (sy_call_t *)vfork }, /* 66 = vfork */
104 { 0, (sy_call_t *)nosys }, /* 67 = obsolete vread */
105 { 0, (sy_call_t *)nosys }, /* 68 = obsolete vwrite */
106 { AS(sbrk_args), (sy_call_t *)sbrk }, /* 69 = sbrk */
107 { AS(sstk_args), (sy_call_t *)sstk }, /* 70 = sstk */
108 { compat(AS(ommap_args),mmap) }, /* 71 = old mmap */
109 { AS(ovadvise_args), (sy_call_t *)ovadvise }, /* 72 = vadvise */
110 { AS(munmap_args), (sy_call_t *)munmap }, /* 73 = munmap */
111 { AS(mprotect_args), (sy_call_t *)mprotect }, /* 74 = mprotect */
112 { AS(madvise_args), (sy_call_t *)madvise }, /* 75 = madvise */
113 { 0, (sy_call_t *)nosys }, /* 76 = obsolete vhangup */
114 { 0, (sy_call_t *)nosys }, /* 77 = obsolete vlimit */
115 { AS(mincore_args), (sy_call_t *)mincore }, /* 78 = mincore */
116 { AS(getgroups_args), (sy_call_t *)getgroups }, /* 79 = getgroups */
117 { AS(setgroups_args), (sy_call_t *)setgroups }, /* 80 = setgroups */
118 { SYF_MPSAFE | 0, (sy_call_t *)getpgrp }, /* 81 = getpgrp */
119 { AS(setpgid_args), (sy_call_t *)setpgid }, /* 82 = setpgid */
120 { AS(setitimer_args), (sy_call_t *)setitimer }, /* 83 = setitimer */
121 { compat(0,wait) }, /* 84 = old wait */
122 { AS(swapon_args), (sy_call_t *)swapon }, /* 85 = swapon */
123 { AS(getitimer_args), (sy_call_t *)getitimer }, /* 86 = getitimer */
124 { compat(AS(gethostname_args),gethostname) }, /* 87 = old gethostname */
125 { compat(AS(sethostname_args),sethostname) }, /* 88 = old sethostname */
126 { 0, (sy_call_t *)getdtablesize }, /* 89 = getdtablesize */
127 { AS(dup2_args), (sy_call_t *)dup2 }, /* 90 = dup2 */
128 { 0, (sy_call_t *)nosys }, /* 91 = getdopt */
129 { AS(fcntl_args), (sy_call_t *)fcntl }, /* 92 = fcntl */
130 { AS(select_args), (sy_call_t *)select }, /* 93 = select */
131 { 0, (sy_call_t *)nosys }, /* 94 = setdopt */
132 { AS(fsync_args), (sy_call_t *)fsync }, /* 95 = fsync */
133 { AS(setpriority_args), (sy_call_t *)setpriority }, /* 96 = setpriority */
134 { AS(socket_args), (sy_call_t *)socket }, /* 97 = socket */
135 { AS(connect_args), (sy_call_t *)connect }, /* 98 = connect */
136 { compat(AS(accept_args),accept) }, /* 99 = old accept */
137 { AS(getpriority_args), (sy_call_t *)getpriority }, /* 100 = getpriority */
138 { compat(AS(osend_args),send) }, /* 101 = old send */
139 { compat(AS(orecv_args),recv) }, /* 102 = old recv */
140 { 0, (sy_call_t *)nosys }, /* 103 = obsolete freebsd3_sigreturn */
141 { AS(bind_args), (sy_call_t *)bind }, /* 104 = bind */
142 { AS(setsockopt_args), (sy_call_t *)setsockopt }, /* 105 = setsockopt */
143 { AS(listen_args), (sy_call_t *)listen }, /* 106 = listen */
144 { 0, (sy_call_t *)nosys }, /* 107 = obsolete vtimes */
145 { compat(AS(osigvec_args),sigvec) }, /* 108 = old sigvec */
146 { compat(AS(osigblock_args),sigblock) }, /* 109 = old sigblock */
147 { compat(AS(osigsetmask_args),sigsetmask) }, /* 110 = old sigsetmask */
148 { 0, (sy_call_t *)nosys }, /* 111 = obsolete freebsd3_sigsuspend */
149 { compat(AS(osigstack_args),sigstack) }, /* 112 = old sigstack */
150 { compat(AS(orecvmsg_args),recvmsg) }, /* 113 = old recvmsg */
151 { compat(AS(osendmsg_args),sendmsg) }, /* 114 = old sendmsg */
152 { 0, (sy_call_t *)nosys }, /* 115 = obsolete vtrace */
153 { SYF_MPSAFE | AS(gettimeofday_args), (sy_call_t *)gettimeofday }, /* 116 = gettimeofday */
154 { AS(getrusage_args), (sy_call_t *)getrusage }, /* 117 = getrusage */
155 { AS(getsockopt_args), (sy_call_t *)getsockopt }, /* 118 = getsockopt */
156 { 0, (sy_call_t *)nosys }, /* 119 = resuba */
157 { AS(readv_args), (sy_call_t *)readv }, /* 120 = readv */
158 { AS(writev_args), (sy_call_t *)writev }, /* 121 = writev */
159 { AS(settimeofday_args), (sy_call_t *)settimeofday }, /* 122 = settimeofday */
160 { AS(fchown_args), (sy_call_t *)fchown }, /* 123 = fchown */
161 { AS(fchmod_args), (sy_call_t *)fchmod }, /* 124 = fchmod */
162 { compat(AS(recvfrom_args),recvfrom) }, /* 125 = old recvfrom */
163 { AS(setreuid_args), (sy_call_t *)setreuid }, /* 126 = setreuid */
164 { AS(setregid_args), (sy_call_t *)setregid }, /* 127 = setregid */
165 { AS(rename_args), (sy_call_t *)rename }, /* 128 = rename */
166 { compat(AS(otruncate_args),truncate) }, /* 129 = old truncate */
167 { compat(AS(oftruncate_args),ftruncate) }, /* 130 = old ftruncate */
168 { AS(flock_args), (sy_call_t *)flock }, /* 131 = flock */
169 { AS(mkfifo_args), (sy_call_t *)mkfifo }, /* 132 = mkfifo */
170 { AS(sendto_args), (sy_call_t *)sendto }, /* 133 = sendto */
171 { AS(shutdown_args), (sy_call_t *)shutdown }, /* 134 = shutdown */
172 { AS(socketpair_args), (sy_call_t *)socketpair }, /* 135 = socketpair */
173 { AS(mkdir_args), (sy_call_t *)mkdir }, /* 136 = mkdir */
174 { AS(rmdir_args), (sy_call_t *)rmdir }, /* 137 = rmdir */
175 { AS(utimes_args), (sy_call_t *)utimes }, /* 138 = utimes */
176 { 0, (sy_call_t *)nosys }, /* 139 = obsolete 4.2 sigreturn */
177 { AS(adjtime_args), (sy_call_t *)adjtime }, /* 140 = adjtime */
178 { compat(AS(ogetpeername_args),getpeername) }, /* 141 = old getpeername */
179 { compat(0,gethostid) }, /* 142 = old gethostid */
180 { compat(AS(osethostid_args),sethostid) }, /* 143 = old sethostid */
181 { compat(AS(ogetrlimit_args),getrlimit) }, /* 144 = old getrlimit */
182 { compat(AS(osetrlimit_args),setrlimit) }, /* 145 = old setrlimit */
183 { compat(AS(okillpg_args),killpg) }, /* 146 = old killpg */
184 { 0, (sy_call_t *)setsid }, /* 147 = setsid */
185 { AS(quotactl_args), (sy_call_t *)quotactl }, /* 148 = quotactl */
186 { compat(0,quota) }, /* 149 = old quota */
187 { compat(AS(getsockname_args),getsockname) }, /* 150 = old getsockname */
188 { 0, (sy_call_t *)nosys }, /* 151 = sem_lock */
189 { 0, (sy_call_t *)nosys }, /* 152 = sem_wakeup */
190 { 0, (sy_call_t *)nosys }, /* 153 = asyncdaemon */
191 { 0, (sy_call_t *)nosys }, /* 154 = nosys */
192 { AS(nfssvc_args), (sy_call_t *)nosys }, /* 155 = nfssvc */
193 { compat(AS(ogetdirentries_args),getdirentries) }, /* 156 = old getdirentries */
194 { AS(statfs_args), (sy_call_t *)statfs }, /* 157 = statfs */
195 { AS(fstatfs_args), (sy_call_t *)fstatfs }, /* 158 = fstatfs */
196 { 0, (sy_call_t *)nosys }, /* 159 = nosys */
197 { 0, (sy_call_t *)nosys }, /* 160 = nosys */
198 { AS(getfh_args), (sy_call_t *)getfh }, /* 161 = getfh */
199 { AS(getdomainname_args), (sy_call_t *)getdomainname }, /* 162 = getdomainname */
200 { AS(setdomainname_args), (sy_call_t *)setdomainname }, /* 163 = setdomainname */
201 { AS(uname_args), (sy_call_t *)uname }, /* 164 = uname */
202 { AS(sysarch_args), (sy_call_t *)sysarch }, /* 165 = sysarch */
203 { AS(rtprio_args), (sy_call_t *)rtprio }, /* 166 = rtprio */
204 { 0, (sy_call_t *)nosys }, /* 167 = nosys */
205 { 0, (sy_call_t *)nosys }, /* 168 = nosys */
206 { AS(semsys_args), (sy_call_t *)semsys }, /* 169 = semsys */
207 { AS(msgsys_args), (sy_call_t *)msgsys }, /* 170 = msgsys */
208 { AS(shmsys_args), (sy_call_t *)shmsys }, /* 171 = shmsys */
209 { 0, (sy_call_t *)nosys }, /* 172 = nosys */
210 { AS(pread_args), (sy_call_t *)pread }, /* 173 = pread */
211 { AS(pwrite_args), (sy_call_t *)pwrite }, /* 174 = pwrite */
212 { 0, (sy_call_t *)nosys }, /* 175 = nosys */
213 { AS(ntp_adjtime_args), (sy_call_t *)ntp_adjtime }, /* 176 = ntp_adjtime */
214 { 0, (sy_call_t *)nosys }, /* 177 = sfork */
215 { 0, (sy_call_t *)nosys }, /* 178 = getdescriptor */
216 { 0, (sy_call_t *)nosys }, /* 179 = setdescriptor */
217 { 0, (sy_call_t *)nosys }, /* 180 = nosys */
218 { AS(setgid_args), (sy_call_t *)setgid }, /* 181 = setgid */
219 { AS(setegid_args), (sy_call_t *)setegid }, /* 182 = setegid */
220 { AS(seteuid_args), (sy_call_t *)seteuid }, /* 183 = seteuid */
221 { 0, (sy_call_t *)nosys }, /* 184 = lfs_bmapv */
222 { 0, (sy_call_t *)nosys }, /* 185 = lfs_markv */
223 { 0, (sy_call_t *)nosys }, /* 186 = lfs_segclean */
224 { 0, (sy_call_t *)nosys }, /* 187 = lfs_segwait */
225 { compatdf12(AS(dfbsd12_stat_args),stat) }, /* 188 = old stat */
226 { compatdf12(AS(dfbsd12_fstat_args),fstat) }, /* 189 = old fstat */
227 { compatdf12(AS(dfbsd12_lstat_args),lstat) }, /* 190 = old lstat */
228 { AS(pathconf_args), (sy_call_t *)pathconf }, /* 191 = pathconf */
229 { AS(fpathconf_args), (sy_call_t *)fpathconf }, /* 192 = fpathconf */
230 { 0, (sy_call_t *)nosys }, /* 193 = nosys */
231 { AS(__getrlimit_args), (sy_call_t *)getrlimit }, /* 194 = getrlimit */
232 { AS(__setrlimit_args), (sy_call_t *)setrlimit }, /* 195 = setrlimit */
233 { compatdf12(AS(dfbsd12_getdirentries_args),getdirentries) }, /* 196 = old getdirentries */
234 { AS(mmap_args), (sy_call_t *)mmap }, /* 197 = mmap */
235 { 0, (sy_call_t *)nosys }, /* 198 = __syscall */
236 { AS(lseek_args), (sy_call_t *)lseek }, /* 199 = lseek */
237 { AS(truncate_args), (sy_call_t *)truncate }, /* 200 = truncate */
238 { AS(ftruncate_args), (sy_call_t *)ftruncate }, /* 201 = ftruncate */
239 { AS(sysctl_args), (sy_call_t *)__sysctl }, /* 202 = __sysctl */
240 { AS(mlock_args), (sy_call_t *)mlock }, /* 203 = mlock */
241 { AS(munlock_args), (sy_call_t *)munlock }, /* 204 = munlock */
242 { AS(undelete_args), (sy_call_t *)undelete }, /* 205 = undelete */
243 { AS(futimes_args), (sy_call_t *)futimes }, /* 206 = futimes */
244 { AS(getpgid_args), (sy_call_t *)getpgid }, /* 207 = getpgid */
245 { 0, (sy_call_t *)nosys }, /* 208 = newreboot */
246 { AS(poll_args), (sy_call_t *)poll }, /* 209 = poll */
247 { AS(nosys_args), (sy_call_t *)lkmnosys }, /* 210 = lkmnosys */
248 { AS(nosys_args), (sy_call_t *)lkmnosys }, /* 211 = lkmnosys */
249 { AS(nosys_args), (sy_call_t *)lkmnosys }, /* 212 = lkmnosys */
250 { AS(nosys_args), (sy_call_t *)lkmnosys }, /* 213 = lkmnosys */
251 { AS(nosys_args), (sy_call_t *)lkmnosys }, /* 214 = lkmnosys */
252 { AS(nosys_args), (sy_call_t *)lkmnosys }, /* 215 = lkmnosys */
253 { AS(nosys_args), (sy_call_t *)lkmnosys }, /* 216 = lkmnosys */
254 { AS(nosys_args), (sy_call_t *)lkmnosys }, /* 217 = lkmnosys */
255 { AS(nosys_args), (sy_call_t *)lkmnosys }, /* 218 = lkmnosys */
256 { AS(nosys_args), (sy_call_t *)lkmnosys }, /* 219 = lkmnosys */
257 { AS(__semctl_args), (sy_call_t *)__semctl }, /* 220 = __semctl */
258 { AS(semget_args), (sy_call_t *)semget }, /* 221 = semget */
259 { AS(semop_args), (sy_call_t *)semop }, /* 222 = semop */
260 { 0, (sy_call_t *)nosys }, /* 223 = semconfig */
261 { AS(msgctl_args), (sy_call_t *)msgctl }, /* 224 = msgctl */
262 { AS(msgget_args), (sy_call_t *)msgget }, /* 225 = msgget */
263 { AS(msgsnd_args), (sy_call_t *)msgsnd }, /* 226 = msgsnd */
264 { AS(msgrcv_args), (sy_call_t *)msgrcv }, /* 227 = msgrcv */
265 { AS(shmat_args), (sy_call_t *)shmat }, /* 228 = shmat */
266 { AS(shmctl_args), (sy_call_t *)shmctl }, /* 229 = shmctl */
267 { AS(shmdt_args), (sy_call_t *)shmdt }, /* 230 = shmdt */
268 { AS(shmget_args), (sy_call_t *)shmget }, /* 231 = shmget */
269 { AS(clock_gettime_args), (sy_call_t *)clock_gettime }, /* 232 = clock_gettime */
270 { AS(clock_settime_args), (sy_call_t *)clock_settime }, /* 233 = clock_settime */
271 { AS(clock_getres_args), (sy_call_t *)clock_getres }, /* 234 = clock_getres */
272 { 0, (sy_call_t *)nosys }, /* 235 = timer_create */
273 { 0, (sy_call_t *)nosys }, /* 236 = timer_delete */
274 { 0, (sy_call_t *)nosys }, /* 237 = timer_settime */
275 { 0, (sy_call_t *)nosys }, /* 238 = timer_gettime */
276 { 0, (sy_call_t *)nosys }, /* 239 = timer_getoverrun */
277 { AS(nanosleep_args), (sy_call_t *)nanosleep }, /* 240 = nanosleep */
278 { 0, (sy_call_t *)nosys }, /* 241 = nosys */
279 { 0, (sy_call_t *)nosys }, /* 242 = nosys */
280 { 0, (sy_call_t *)nosys }, /* 243 = nosys */
281 { 0, (sy_call_t *)nosys }, /* 244 = nosys */
282 { 0, (sy_call_t *)nosys }, /* 245 = nosys */
283 { 0, (sy_call_t *)nosys }, /* 246 = nosys */
284 { 0, (sy_call_t *)nosys }, /* 247 = nosys */
285 { 0, (sy_call_t *)nosys }, /* 248 = nosys */
286 { 0, (sy_call_t *)nosys }, /* 249 = nosys */
287 { AS(minherit_args), (sy_call_t *)minherit }, /* 250 = minherit */
288 { AS(rfork_args), (sy_call_t *)rfork }, /* 251 = rfork */
289 { AS(openbsd_poll_args), (sy_call_t *)openbsd_poll }, /* 252 = openbsd_poll */
290 { 0, (sy_call_t *)issetugid }, /* 253 = issetugid */
291 { AS(lchown_args), (sy_call_t *)lchown }, /* 254 = lchown */
292 { 0, (sy_call_t *)nosys }, /* 255 = nosys */
293 { 0, (sy_call_t *)nosys }, /* 256 = nosys */
294 { 0, (sy_call_t *)nosys }, /* 257 = nosys */
295 { 0, (sy_call_t *)nosys }, /* 258 = nosys */
296 { 0, (sy_call_t *)nosys }, /* 259 = nosys */
297 { 0, (sy_call_t *)nosys }, /* 260 = nosys */
298 { 0, (sy_call_t *)nosys }, /* 261 = nosys */
299 { 0, (sy_call_t *)nosys }, /* 262 = nosys */
300 { 0, (sy_call_t *)nosys }, /* 263 = nosys */
301 { 0, (sy_call_t *)nosys }, /* 264 = nosys */
302 { 0, (sy_call_t *)nosys }, /* 265 = nosys */
303 { 0, (sy_call_t *)nosys }, /* 266 = nosys */
304 { 0, (sy_call_t *)nosys }, /* 267 = nosys */
305 { 0, (sy_call_t *)nosys }, /* 268 = nosys */
306 { 0, (sy_call_t *)nosys }, /* 269 = nosys */
307 { 0, (sy_call_t *)nosys }, /* 270 = nosys */
308 { 0, (sy_call_t *)nosys }, /* 271 = nosys */
309 { compatdf12(AS(dfbsd12_getdents_args),getdents) }, /* 272 = old getdents */
310 { 0, (sy_call_t *)nosys }, /* 273 = nosys */
311 { AS(lchmod_args), (sy_call_t *)lchmod }, /* 274 = lchmod */
312 { AS(lchown_args), (sy_call_t *)lchown }, /* 275 = netbsd_lchown */
313 { AS(lutimes_args), (sy_call_t *)lutimes }, /* 276 = lutimes */
314 { AS(msync_args), (sy_call_t *)msync }, /* 277 = netbsd_msync */
315 { 0, (sy_call_t *)nosys }, /* 278 = obsolete { */
316 { 0, (sy_call_t *)nosys }, /* 279 = obsolete { */
317 { 0, (sy_call_t *)nosys }, /* 280 = obsolete { */
318 { 0, (sy_call_t *)nosys }, /* 281 = nosys */
319 { 0, (sy_call_t *)nosys }, /* 282 = nosys */
320 { 0, (sy_call_t *)nosys }, /* 283 = nosys */
321 { 0, (sy_call_t *)nosys }, /* 284 = nosys */
322 { 0, (sy_call_t *)nosys }, /* 285 = nosys */
323 { 0, (sy_call_t *)nosys }, /* 286 = nosys */
324 { 0, (sy_call_t *)nosys }, /* 287 = nosys */
325 { 0, (sy_call_t *)nosys }, /* 288 = nosys */
326 { AS(preadv_args), (sy_call_t *)preadv }, /* 289 = preadv */
327 { AS(pwritev_args), (sy_call_t *)pwritev }, /* 290 = pwritev */
328 { 0, (sy_call_t *)nosys }, /* 291 = nosys */
329 { 0, (sy_call_t *)nosys }, /* 292 = nosys */
330 { 0, (sy_call_t *)nosys }, /* 293 = nosys */
331 { 0, (sy_call_t *)nosys }, /* 294 = nosys */
332 { 0, (sy_call_t *)nosys }, /* 295 = nosys */
333 { 0, (sy_call_t *)nosys }, /* 296 = nosys */
334 { AS(fhstatfs_args), (sy_call_t *)fhstatfs }, /* 297 = fhstatfs */
335 { AS(fhopen_args), (sy_call_t *)fhopen }, /* 298 = fhopen */
336 { compatdf12(AS(dfbsd12_fhstat_args),fhstat) }, /* 299 = old fhstat */
337 { AS(modnext_args), (sy_call_t *)modnext }, /* 300 = modnext */
338 { AS(modstat_args), (sy_call_t *)modstat }, /* 301 = modstat */
339 { AS(modfnext_args), (sy_call_t *)modfnext }, /* 302 = modfnext */
340 { AS(modfind_args), (sy_call_t *)modfind }, /* 303 = modfind */
341 { AS(kldload_args), (sy_call_t *)kldload }, /* 304 = kldload */
342 { AS(kldunload_args), (sy_call_t *)kldunload }, /* 305 = kldunload */
343 { AS(kldfind_args), (sy_call_t *)kldfind }, /* 306 = kldfind */
344 { AS(kldnext_args), (sy_call_t *)kldnext }, /* 307 = kldnext */
345 { AS(kldstat_args), (sy_call_t *)kldstat }, /* 308 = kldstat */
346 { AS(kldfirstmod_args), (sy_call_t *)kldfirstmod }, /* 309 = kldfirstmod */
347 { AS(getsid_args), (sy_call_t *)getsid }, /* 310 = getsid */
348 { AS(setresuid_args), (sy_call_t *)setresuid }, /* 311 = setresuid */
349 { AS(setresgid_args), (sy_call_t *)setresgid }, /* 312 = setresgid */
350 { 0, (sy_call_t *)nosys }, /* 313 = obsolete signanosleep */
351 { AS(aio_return_args), (sy_call_t *)aio_return }, /* 314 = aio_return */
352 { AS(aio_suspend_args), (sy_call_t *)aio_suspend }, /* 315 = aio_suspend */
353 { AS(aio_cancel_args), (sy_call_t *)aio_cancel }, /* 316 = aio_cancel */
354 { AS(aio_error_args), (sy_call_t *)aio_error }, /* 317 = aio_error */
355 { AS(aio_read_args), (sy_call_t *)aio_read }, /* 318 = aio_read */
356 { AS(aio_write_args), (sy_call_t *)aio_write }, /* 319 = aio_write */
357 { AS(lio_listio_args), (sy_call_t *)lio_listio }, /* 320 = lio_listio */
358 { 0, (sy_call_t *)yield }, /* 321 = yield */
359 { AS(thr_sleep_args), (sy_call_t *)thr_sleep }, /* 322 = thr_sleep */
360 { AS(thr_wakeup_args), (sy_call_t *)thr_wakeup }, /* 323 = thr_wakeup */
361 { AS(mlockall_args), (sy_call_t *)mlockall }, /* 324 = mlockall */
362 { 0, (sy_call_t *)munlockall }, /* 325 = munlockall */
363 { AS(__getcwd_args), (sy_call_t *)__getcwd }, /* 326 = __getcwd */
364 { AS(sched_setparam_args), (sy_call_t *)sched_setparam }, /* 327 = sched_setparam */
365 { AS(sched_getparam_args), (sy_call_t *)sched_getparam }, /* 328 = sched_getparam */
366 { AS(sched_setscheduler_args), (sy_call_t *)sched_setscheduler }, /* 329 = sched_setscheduler */
367 { AS(sched_getscheduler_args), (sy_call_t *)sched_getscheduler }, /* 330 = sched_getscheduler */
368 { 0, (sy_call_t *)sched_yield }, /* 331 = sched_yield */
369 { AS(sched_get_priority_max_args), (sy_call_t *)sched_get_priority_max }, /* 332 = sched_get_priority_max */
370 { AS(sched_get_priority_min_args), (sy_call_t *)sched_get_priority_min }, /* 333 = sched_get_priority_min */
371 { AS(sched_rr_get_interval_args), (sy_call_t *)sched_rr_get_interval }, /* 334 = sched_rr_get_interval */
372 { AS(utrace_args), (sy_call_t *)utrace }, /* 335 = utrace */
373 { 0, (sy_call_t *)nosys }, /* 336 = obsolete freebsd4_sendfile */
374 { AS(kldsym_args), (sy_call_t *)kldsym }, /* 337 = kldsym */
375 { AS(jail_args), (sy_call_t *)jail }, /* 338 = jail */
376 { 0, (sy_call_t *)nosys }, /* 339 = pioctl */
377 { SYF_MPSAFE | AS(sigprocmask_args), (sy_call_t *)sigprocmask }, /* 340 = sigprocmask */
378 { AS(sigsuspend_args), (sy_call_t *)sigsuspend }, /* 341 = sigsuspend */
379 { AS(sigaction_args), (sy_call_t *)sigaction }, /* 342 = sigaction */
380 { AS(sigpending_args), (sy_call_t *)sigpending }, /* 343 = sigpending */
381 { AS(sigreturn_args), (sy_call_t *)sigreturn }, /* 344 = sigreturn */
382 { AS(sigtimedwait_args), (sy_call_t *)sigtimedwait }, /* 345 = sigtimedwait */
383 { AS(sigwaitinfo_args), (sy_call_t *)sigwaitinfo }, /* 346 = sigwaitinfo */
384 { AS(__acl_get_file_args), (sy_call_t *)__acl_get_file }, /* 347 = __acl_get_file */
385 { AS(__acl_set_file_args), (sy_call_t *)__acl_set_file }, /* 348 = __acl_set_file */
386 { AS(__acl_get_fd_args), (sy_call_t *)__acl_get_fd }, /* 349 = __acl_get_fd */
387 { AS(__acl_set_fd_args), (sy_call_t *)__acl_set_fd }, /* 350 = __acl_set_fd */
388 { AS(__acl_delete_file_args), (sy_call_t *)__acl_delete_file }, /* 351 = __acl_delete_file */
389 { AS(__acl_delete_fd_args), (sy_call_t *)__acl_delete_fd }, /* 352 = __acl_delete_fd */
390 { AS(__acl_aclcheck_file_args), (sy_call_t *)__acl_aclcheck_file }, /* 353 = __acl_aclcheck_file */
391 { AS(__acl_aclcheck_fd_args), (sy_call_t *)__acl_aclcheck_fd }, /* 354 = __acl_aclcheck_fd */
392 { AS(extattrctl_args), (sy_call_t *)extattrctl }, /* 355 = extattrctl */
393 { AS(extattr_set_file_args), (sy_call_t *)extattr_set_file }, /* 356 = extattr_set_file */
394 { AS(extattr_get_file_args), (sy_call_t *)extattr_get_file }, /* 357 = extattr_get_file */
395 { AS(extattr_delete_file_args), (sy_call_t *)extattr_delete_file }, /* 358 = extattr_delete_file */
396 { AS(aio_waitcomplete_args), (sy_call_t *)aio_waitcomplete }, /* 359 = aio_waitcomplete */
397 { AS(getresuid_args), (sy_call_t *)getresuid }, /* 360 = getresuid */
398 { AS(getresgid_args), (sy_call_t *)getresgid }, /* 361 = getresgid */
399 { 0, (sy_call_t *)kqueue }, /* 362 = kqueue */
400 { AS(kevent_args), (sy_call_t *)kevent }, /* 363 = kevent */
401 { AS(sctp_peeloff_args), (sy_call_t *)sctp_peeloff }, /* 364 = sctp_peeloff */
402 { 0, (sy_call_t *)nosys }, /* 365 = nosys */
403 { 0, (sy_call_t *)nosys }, /* 366 = nosys */
404 { 0, (sy_call_t *)nosys }, /* 367 = nosys */
405 { 0, (sy_call_t *)nosys }, /* 368 = nosys */
406 { 0, (sy_call_t *)nosys }, /* 369 = nosys */
407 { 0, (sy_call_t *)nosys }, /* 370 = nosys */
408 { 0, (sy_call_t *)nosys }, /* 371 = nosys */
409 { 0, (sy_call_t *)nosys }, /* 372 = nosys */
410 { 0, (sy_call_t *)nosys }, /* 373 = nosys */
411 { 0, (sy_call_t *)nosys }, /* 374 = nosys */
412 { 0, (sy_call_t *)nosys }, /* 375 = nosys */
413 { 0, (sy_call_t *)nosys }, /* 376 = nosys */
414 { 0, (sy_call_t *)nosys }, /* 377 = nosys */
415 { 0, (sy_call_t *)nosys }, /* 378 = nosys */
416 { 0, (sy_call_t *)nosys }, /* 379 = nosys */
417 { 0, (sy_call_t *)nosys }, /* 380 = nosys */
418 { 0, (sy_call_t *)nosys }, /* 381 = nosys */
419 { 0, (sy_call_t *)nosys }, /* 382 = nosys */
420 { 0, (sy_call_t *)nosys }, /* 383 = nosys */
421 { 0, (sy_call_t *)nosys }, /* 384 = nosys */
422 { 0, (sy_call_t *)nosys }, /* 385 = nosys */
423 { 0, (sy_call_t *)nosys }, /* 386 = nosys */
424 { 0, (sy_call_t *)nosys }, /* 387 = nosys */
425 { 0, (sy_call_t *)nosys }, /* 388 = nosys */
426 { 0, (sy_call_t *)nosys }, /* 389 = nosys */
427 { 0, (sy_call_t *)nosys }, /* 390 = nosys */
428 { 0, (sy_call_t *)nosys }, /* 391 = nosys */
429 { 0, (sy_call_t *)nosys }, /* 392 = nosys */
430 { AS(sendfile_args), (sy_call_t *)sendfile }, /* 393 = sendfile */
431 { 0, (sy_call_t *)nosys }, /* 394 = nosys */
432 { 0, (sy_call_t *)nosys }, /* 395 = nosys */
433 { 0, (sy_call_t *)nosys }, /* 396 = nosys */
434 { 0, (sy_call_t *)nosys }, /* 397 = nosys */
435 { 0, (sy_call_t *)nosys }, /* 398 = nosys */
436 { 0, (sy_call_t *)nosys }, /* 399 = nosys */
437 { 0, (sy_call_t *)nosys }, /* 400 = nosys */
438 { 0, (sy_call_t *)nosys }, /* 401 = nosys */
439 { 0, (sy_call_t *)nosys }, /* 402 = nosys */
440 { 0, (sy_call_t *)nosys }, /* 403 = nosys */
441 { 0, (sy_call_t *)nosys }, /* 404 = nosys */
442 { 0, (sy_call_t *)nosys }, /* 405 = nosys */
443 { 0, (sy_call_t *)nosys }, /* 406 = nosys */
444 { 0, (sy_call_t *)nosys }, /* 407 = nosys */
445 { 0, (sy_call_t *)nosys }, /* 408 = nosys */
446 { 0, (sy_call_t *)nosys }, /* 409 = nosys */
447 { 0, (sy_call_t *)nosys }, /* 410 = nosys */
448 { 0, (sy_call_t *)nosys }, /* 411 = nosys */
449 { 0, (sy_call_t *)nosys }, /* 412 = nosys */
450 { 0, (sy_call_t *)nosys }, /* 413 = nosys */
451 { 0, (sy_call_t *)nosys }, /* 414 = nosys */
452 { 0, (sy_call_t *)nosys }, /* 415 = nosys */
453 { 0, (sy_call_t *)nosys }, /* 416 = nosys */
454 { 0, (sy_call_t *)nosys }, /* 417 = nosys */
455 { 0, (sy_call_t *)nosys }, /* 418 = nosys */
456 { 0, (sy_call_t *)nosys }, /* 419 = nosys */
457 { 0, (sy_call_t *)nosys }, /* 420 = nosys */
458 { 0, (sy_call_t *)nosys }, /* 421 = nosys */
459 { 0, (sy_call_t *)nosys }, /* 422 = nosys */
460 { 0, (sy_call_t *)nosys }, /* 423 = nosys */
461 { 0, (sy_call_t *)nosys }, /* 424 = nosys */
462 { 0, (sy_call_t *)nosys }, /* 425 = nosys */
463 { 0, (sy_call_t *)nosys }, /* 426 = nosys */
464 { 0, (sy_call_t *)nosys }, /* 427 = nosys */
465 { 0, (sy_call_t *)nosys }, /* 428 = nosys */
466 { 0, (sy_call_t *)nosys }, /* 429 = nosys */
467 { 0, (sy_call_t *)nosys }, /* 430 = nosys */
468 { 0, (sy_call_t *)nosys }, /* 431 = nosys */
469 { 0, (sy_call_t *)nosys }, /* 432 = nosys */
470 { 0, (sy_call_t *)nosys }, /* 433 = nosys */
471 { 0, (sy_call_t *)nosys }, /* 434 = nosys */
472 { 0, (sy_call_t *)nosys }, /* 435 = nosys */
473 { 0, (sy_call_t *)nosys }, /* 436 = nosys */
474 { 0, (sy_call_t *)nosys }, /* 437 = nosys */
475 { 0, (sy_call_t *)nosys }, /* 438 = nosys */
476 { 0, (sy_call_t *)nosys }, /* 439 = nosys */
477 { 0, (sy_call_t *)nosys }, /* 440 = nosys */
478 { 0, (sy_call_t *)nosys }, /* 441 = nosys */
479 { 0, (sy_call_t *)nosys }, /* 442 = nosys */
480 { 0, (sy_call_t *)nosys }, /* 443 = nosys */
481 { 0, (sy_call_t *)nosys }, /* 444 = nosys */
482 { 0, (sy_call_t *)nosys }, /* 445 = nosys */
483 { 0, (sy_call_t *)nosys }, /* 446 = nosys */
484 { 0, (sy_call_t *)nosys }, /* 447 = nosys */
485 { 0, (sy_call_t *)nosys }, /* 448 = nosys */
486 { 0, (sy_call_t *)nosys }, /* 449 = nosys */
487 { AS(varsym_set_args), (sy_call_t *)varsym_set }, /* 450 = varsym_set */
488 { AS(varsym_get_args), (sy_call_t *)varsym_get }, /* 451 = varsym_get */
489 { AS(varsym_list_args), (sy_call_t *)varsym_list }, /* 452 = varsym_list */
490 { AS(upc_register_args), (sy_call_t *)upc_register }, /* 453 = upc_register */
491 { AS(upc_control_args), (sy_call_t *)upc_control }, /* 454 = upc_control */
492 { AS(caps_sys_service_args), (sy_call_t *)caps_sys_service }, /* 455 = caps_sys_service */
493 { AS(caps_sys_client_args), (sy_call_t *)caps_sys_client }, /* 456 = caps_sys_client */
494 { AS(caps_sys_close_args), (sy_call_t *)caps_sys_close }, /* 457 = caps_sys_close */
495 { AS(caps_sys_put_args), (sy_call_t *)caps_sys_put }, /* 458 = caps_sys_put */
496 { AS(caps_sys_reply_args), (sy_call_t *)caps_sys_reply }, /* 459 = caps_sys_reply */
497 { AS(caps_sys_get_args), (sy_call_t *)caps_sys_get }, /* 460 = caps_sys_get */
498 { AS(caps_sys_wait_args), (sy_call_t *)caps_sys_wait }, /* 461 = caps_sys_wait */
499 { AS(caps_sys_abort_args), (sy_call_t *)caps_sys_abort }, /* 462 = caps_sys_abort */
500 { AS(caps_sys_getgen_args), (sy_call_t *)caps_sys_getgen }, /* 463 = caps_sys_getgen */
501 { AS(caps_sys_setgen_args), (sy_call_t *)caps_sys_setgen }, /* 464 = caps_sys_setgen */
502 { AS(exec_sys_register_args), (sy_call_t *)exec_sys_register }, /* 465 = exec_sys_register */
503 { AS(exec_sys_unregister_args), (sy_call_t *)exec_sys_unregister }, /* 466 = exec_sys_unregister */
504 { AS(sys_checkpoint_args), (sy_call_t *)sys_checkpoint }, /* 467 = sys_checkpoint */
505 { AS(mountctl_args), (sy_call_t *)mountctl }, /* 468 = mountctl */
506 { AS(umtx_sleep_args), (sy_call_t *)umtx_sleep }, /* 469 = umtx_sleep */
507 { AS(umtx_wakeup_args), (sy_call_t *)umtx_wakeup }, /* 470 = umtx_wakeup */
508 { AS(jail_attach_args), (sy_call_t *)jail_attach }, /* 471 = jail_attach */
509 { AS(sys_set_tls_area_args), (sy_call_t *)sys_set_tls_area }, /* 472 = sys_set_tls_area */
510 { AS(sys_get_tls_area_args), (sy_call_t *)sys_get_tls_area }, /* 473 = sys_get_tls_area */
511 { AS(closefrom_args), (sy_call_t *)closefrom }, /* 474 = closefrom */
512 { AS(stat_args), (sy_call_t *)stat }, /* 475 = stat */
513 { AS(fstat_args), (sy_call_t *)fstat }, /* 476 = fstat */
514 { AS(lstat_args), (sy_call_t *)lstat }, /* 477 = lstat */
515 { AS(fhstat_args), (sy_call_t *)fhstat }, /* 478 = fhstat */
516 { AS(getdirentries_args), (sy_call_t *)getdirentries }, /* 479 = getdirentries */
517 { AS(getdents_args), (sy_call_t *)getdents }, /* 480 = getdents */
518 { AS(usched_set_args), (sy_call_t *)usched_set }, /* 481 = usched_set */
519};