xref: /freebsd/sys/kern/init_sysent.c (revision 23f282aa31e9b6fceacd449020e936e98d6f2298)
1 /*
2  * System call switch table.
3  *
4  * DO NOT EDIT-- this file is automatically generated.
5  * $FreeBSD$
6  * created from FreeBSD: src/sys/kern/syscalls.master,v 1.75 2000/05/01 11:11:44 peter Exp
7  */
8 
9 #include "opt_compat.h"
10 
11 #include <sys/param.h>
12 #include <sys/sysent.h>
13 #include <sys/sysproto.h>
14 
15 #ifdef COMPAT_43
16 #define compat(n, name) n, (sy_call_t *)__CONCAT(o,name)
17 #else
18 #define compat(n, name) 0, (sy_call_t *)nosys
19 #endif
20 
21 /* The casts are bogus but will do for now. */
22 struct sysent sysent[] = {
23 	{ 0, (sy_call_t *)nosys },			/* 0 = syscall */
24 	{ 1, (sy_call_t *)exit },			/* 1 = exit */
25 	{ 0, (sy_call_t *)fork },			/* 2 = fork */
26 	{ 3, (sy_call_t *)read },			/* 3 = read */
27 	{ 3, (sy_call_t *)write },			/* 4 = write */
28 	{ 3, (sy_call_t *)open },			/* 5 = open */
29 	{ 1, (sy_call_t *)close },			/* 6 = close */
30 	{ 4, (sy_call_t *)wait4 },			/* 7 = wait4 */
31 	{ compat(2,creat) },		/* 8 = old creat */
32 	{ 2, (sy_call_t *)link },			/* 9 = link */
33 	{ 1, (sy_call_t *)unlink },			/* 10 = unlink */
34 	{ 0, (sy_call_t *)nosys },			/* 11 = obsolete execv */
35 	{ 1, (sy_call_t *)chdir },			/* 12 = chdir */
36 	{ 1, (sy_call_t *)fchdir },			/* 13 = fchdir */
37 	{ 3, (sy_call_t *)mknod },			/* 14 = mknod */
38 	{ 2, (sy_call_t *)chmod },			/* 15 = chmod */
39 	{ 3, (sy_call_t *)chown },			/* 16 = chown */
40 	{ 1, (sy_call_t *)obreak },			/* 17 = break */
41 	{ 3, (sy_call_t *)getfsstat },			/* 18 = getfsstat */
42 	{ compat(3,lseek) },		/* 19 = old lseek */
43 	{ 0, (sy_call_t *)getpid },			/* 20 = getpid */
44 	{ 4, (sy_call_t *)mount },			/* 21 = mount */
45 	{ 2, (sy_call_t *)unmount },			/* 22 = unmount */
46 	{ 1, (sy_call_t *)setuid },			/* 23 = setuid */
47 	{ SYF_MPSAFE | 0, (sy_call_t *)getuid },		/* 24 = getuid */
48 	{ SYF_MPSAFE | 0, (sy_call_t *)geteuid },		/* 25 = geteuid */
49 	{ 4, (sy_call_t *)ptrace },			/* 26 = ptrace */
50 	{ 3, (sy_call_t *)recvmsg },			/* 27 = recvmsg */
51 	{ 3, (sy_call_t *)sendmsg },			/* 28 = sendmsg */
52 	{ 6, (sy_call_t *)recvfrom },			/* 29 = recvfrom */
53 	{ 3, (sy_call_t *)accept },			/* 30 = accept */
54 	{ 3, (sy_call_t *)getpeername },		/* 31 = getpeername */
55 	{ 3, (sy_call_t *)getsockname },		/* 32 = getsockname */
56 	{ 2, (sy_call_t *)access },			/* 33 = access */
57 	{ 2, (sy_call_t *)chflags },			/* 34 = chflags */
58 	{ 2, (sy_call_t *)fchflags },			/* 35 = fchflags */
59 	{ 0, (sy_call_t *)sync },			/* 36 = sync */
60 	{ 2, (sy_call_t *)kill },			/* 37 = kill */
61 	{ compat(2,stat) },		/* 38 = old stat */
62 	{ 0, (sy_call_t *)getppid },			/* 39 = getppid */
63 	{ compat(2,lstat) },		/* 40 = old lstat */
64 	{ 1, (sy_call_t *)dup },			/* 41 = dup */
65 	{ 0, (sy_call_t *)pipe },			/* 42 = pipe */
66 	{ 0, (sy_call_t *)getegid },			/* 43 = getegid */
67 	{ 4, (sy_call_t *)profil },			/* 44 = profil */
68 	{ 4, (sy_call_t *)ktrace },			/* 45 = ktrace */
69 	{ compat(3,sigaction) },		/* 46 = old sigaction */
70 	{ SYF_MPSAFE | 0, (sy_call_t *)getgid },		/* 47 = getgid */
71 	{ compat(SYF_MPSAFE | 2,sigprocmask) },		/* 48 = old sigprocmask */
72 	{ 2, (sy_call_t *)getlogin },			/* 49 = getlogin */
73 	{ 1, (sy_call_t *)setlogin },			/* 50 = setlogin */
74 	{ 1, (sy_call_t *)acct },			/* 51 = acct */
75 	{ compat(0,sigpending) },		/* 52 = old sigpending */
76 	{ 2, (sy_call_t *)sigaltstack },		/* 53 = sigaltstack */
77 	{ 3, (sy_call_t *)ioctl },			/* 54 = ioctl */
78 	{ 1, (sy_call_t *)reboot },			/* 55 = reboot */
79 	{ 1, (sy_call_t *)revoke },			/* 56 = revoke */
80 	{ 2, (sy_call_t *)symlink },			/* 57 = symlink */
81 	{ 3, (sy_call_t *)readlink },			/* 58 = readlink */
82 	{ 3, (sy_call_t *)execve },			/* 59 = execve */
83 	{ SYF_MPSAFE | 1, (sy_call_t *)umask },		/* 60 = umask */
84 	{ 1, (sy_call_t *)chroot },			/* 61 = chroot */
85 	{ compat(2,fstat) },		/* 62 = old fstat */
86 	{ compat(4,getkerninfo) },		/* 63 = old getkerninfo */
87 	{ compat(0,getpagesize) },		/* 64 = old getpagesize */
88 	{ 3, (sy_call_t *)msync },			/* 65 = msync */
89 	{ 0, (sy_call_t *)vfork },			/* 66 = vfork */
90 	{ 0, (sy_call_t *)nosys },			/* 67 = obsolete vread */
91 	{ 0, (sy_call_t *)nosys },			/* 68 = obsolete vwrite */
92 	{ 1, (sy_call_t *)sbrk },			/* 69 = sbrk */
93 	{ 1, (sy_call_t *)sstk },			/* 70 = sstk */
94 	{ compat(6,mmap) },		/* 71 = old mmap */
95 	{ 1, (sy_call_t *)ovadvise },			/* 72 = vadvise */
96 	{ 2, (sy_call_t *)munmap },			/* 73 = munmap */
97 	{ 3, (sy_call_t *)mprotect },			/* 74 = mprotect */
98 	{ 3, (sy_call_t *)madvise },			/* 75 = madvise */
99 	{ 0, (sy_call_t *)nosys },			/* 76 = obsolete vhangup */
100 	{ 0, (sy_call_t *)nosys },			/* 77 = obsolete vlimit */
101 	{ 3, (sy_call_t *)mincore },			/* 78 = mincore */
102 	{ 2, (sy_call_t *)getgroups },			/* 79 = getgroups */
103 	{ 2, (sy_call_t *)setgroups },			/* 80 = setgroups */
104 	{ SYF_MPSAFE | 0, (sy_call_t *)getpgrp },		/* 81 = getpgrp */
105 	{ 2, (sy_call_t *)setpgid },			/* 82 = setpgid */
106 	{ 3, (sy_call_t *)setitimer },			/* 83 = setitimer */
107 	{ compat(0,wait) },		/* 84 = old wait */
108 	{ 1, (sy_call_t *)swapon },			/* 85 = swapon */
109 	{ 2, (sy_call_t *)getitimer },			/* 86 = getitimer */
110 	{ compat(2,gethostname) },		/* 87 = old gethostname */
111 	{ compat(2,sethostname) },		/* 88 = old sethostname */
112 	{ 0, (sy_call_t *)getdtablesize },		/* 89 = getdtablesize */
113 	{ 2, (sy_call_t *)dup2 },			/* 90 = dup2 */
114 	{ 0, (sy_call_t *)nosys },			/* 91 = getdopt */
115 	{ 3, (sy_call_t *)fcntl },			/* 92 = fcntl */
116 	{ 5, (sy_call_t *)select },			/* 93 = select */
117 	{ 0, (sy_call_t *)nosys },			/* 94 = setdopt */
118 	{ 1, (sy_call_t *)fsync },			/* 95 = fsync */
119 	{ 3, (sy_call_t *)setpriority },		/* 96 = setpriority */
120 	{ 3, (sy_call_t *)socket },			/* 97 = socket */
121 	{ 3, (sy_call_t *)connect },			/* 98 = connect */
122 	{ compat(3,accept) },		/* 99 = old accept */
123 	{ 2, (sy_call_t *)getpriority },		/* 100 = getpriority */
124 	{ compat(4,send) },		/* 101 = old send */
125 	{ compat(4,recv) },		/* 102 = old recv */
126 	{ compat(1,sigreturn) },		/* 103 = old sigreturn */
127 	{ 3, (sy_call_t *)bind },			/* 104 = bind */
128 	{ 5, (sy_call_t *)setsockopt },			/* 105 = setsockopt */
129 	{ 2, (sy_call_t *)listen },			/* 106 = listen */
130 	{ 0, (sy_call_t *)nosys },			/* 107 = obsolete vtimes */
131 	{ compat(3,sigvec) },		/* 108 = old sigvec */
132 	{ compat(1,sigblock) },		/* 109 = old sigblock */
133 	{ compat(1,sigsetmask) },		/* 110 = old sigsetmask */
134 	{ compat(1,sigsuspend) },		/* 111 = old sigsuspend */
135 	{ compat(2,sigstack) },		/* 112 = old sigstack */
136 	{ compat(3,recvmsg) },		/* 113 = old recvmsg */
137 	{ compat(3,sendmsg) },		/* 114 = old sendmsg */
138 	{ 0, (sy_call_t *)nosys },			/* 115 = obsolete vtrace */
139 	{ 2, (sy_call_t *)gettimeofday },		/* 116 = gettimeofday */
140 	{ 2, (sy_call_t *)getrusage },			/* 117 = getrusage */
141 	{ 5, (sy_call_t *)getsockopt },			/* 118 = getsockopt */
142 	{ 0, (sy_call_t *)nosys },			/* 119 = resuba */
143 	{ 3, (sy_call_t *)readv },			/* 120 = readv */
144 	{ 3, (sy_call_t *)writev },			/* 121 = writev */
145 	{ 2, (sy_call_t *)settimeofday },		/* 122 = settimeofday */
146 	{ 3, (sy_call_t *)fchown },			/* 123 = fchown */
147 	{ 2, (sy_call_t *)fchmod },			/* 124 = fchmod */
148 	{ compat(6,recvfrom) },		/* 125 = old recvfrom */
149 	{ 2, (sy_call_t *)setreuid },			/* 126 = setreuid */
150 	{ 2, (sy_call_t *)setregid },			/* 127 = setregid */
151 	{ 2, (sy_call_t *)rename },			/* 128 = rename */
152 	{ compat(2,truncate) },		/* 129 = old truncate */
153 	{ compat(2,ftruncate) },		/* 130 = old ftruncate */
154 	{ 2, (sy_call_t *)flock },			/* 131 = flock */
155 	{ 2, (sy_call_t *)mkfifo },			/* 132 = mkfifo */
156 	{ 6, (sy_call_t *)sendto },			/* 133 = sendto */
157 	{ 2, (sy_call_t *)shutdown },			/* 134 = shutdown */
158 	{ 4, (sy_call_t *)socketpair },			/* 135 = socketpair */
159 	{ 2, (sy_call_t *)mkdir },			/* 136 = mkdir */
160 	{ 1, (sy_call_t *)rmdir },			/* 137 = rmdir */
161 	{ 2, (sy_call_t *)utimes },			/* 138 = utimes */
162 	{ 0, (sy_call_t *)nosys },			/* 139 = obsolete 4.2 sigreturn */
163 	{ 2, (sy_call_t *)adjtime },			/* 140 = adjtime */
164 	{ compat(3,getpeername) },		/* 141 = old getpeername */
165 	{ compat(0,gethostid) },		/* 142 = old gethostid */
166 	{ compat(1,sethostid) },		/* 143 = old sethostid */
167 	{ compat(2,getrlimit) },		/* 144 = old getrlimit */
168 	{ compat(2,setrlimit) },		/* 145 = old setrlimit */
169 	{ compat(2,killpg) },		/* 146 = old killpg */
170 	{ 0, (sy_call_t *)setsid },			/* 147 = setsid */
171 	{ 4, (sy_call_t *)quotactl },			/* 148 = quotactl */
172 	{ compat(0,quota) },		/* 149 = old quota */
173 	{ compat(3,getsockname) },		/* 150 = old getsockname */
174 	{ 0, (sy_call_t *)nosys },			/* 151 = sem_lock */
175 	{ 0, (sy_call_t *)nosys },			/* 152 = sem_wakeup */
176 	{ 0, (sy_call_t *)nosys },			/* 153 = asyncdaemon */
177 	{ 0, (sy_call_t *)nosys },			/* 154 = nosys */
178 	{ 2, (sy_call_t *)nosys },			/* 155 = nfssvc */
179 	{ compat(4,getdirentries) },		/* 156 = old getdirentries */
180 	{ 2, (sy_call_t *)statfs },			/* 157 = statfs */
181 	{ 2, (sy_call_t *)fstatfs },			/* 158 = fstatfs */
182 	{ 0, (sy_call_t *)nosys },			/* 159 = nosys */
183 	{ 0, (sy_call_t *)nosys },			/* 160 = nosys */
184 	{ 2, (sy_call_t *)getfh },			/* 161 = getfh */
185 	{ 2, (sy_call_t *)getdomainname },		/* 162 = getdomainname */
186 	{ 2, (sy_call_t *)setdomainname },		/* 163 = setdomainname */
187 	{ 1, (sy_call_t *)uname },			/* 164 = uname */
188 	{ 2, (sy_call_t *)sysarch },			/* 165 = sysarch */
189 	{ 3, (sy_call_t *)rtprio },			/* 166 = rtprio */
190 	{ 0, (sy_call_t *)nosys },			/* 167 = nosys */
191 	{ 0, (sy_call_t *)nosys },			/* 168 = nosys */
192 	{ 5, (sy_call_t *)semsys },			/* 169 = semsys */
193 	{ 6, (sy_call_t *)msgsys },			/* 170 = msgsys */
194 	{ 4, (sy_call_t *)shmsys },			/* 171 = shmsys */
195 	{ 0, (sy_call_t *)nosys },			/* 172 = nosys */
196 	{ 6, (sy_call_t *)pread },			/* 173 = pread */
197 	{ 6, (sy_call_t *)pwrite },			/* 174 = pwrite */
198 	{ 0, (sy_call_t *)nosys },			/* 175 = nosys */
199 	{ 1, (sy_call_t *)ntp_adjtime },		/* 176 = ntp_adjtime */
200 	{ 0, (sy_call_t *)nosys },			/* 177 = sfork */
201 	{ 0, (sy_call_t *)nosys },			/* 178 = getdescriptor */
202 	{ 0, (sy_call_t *)nosys },			/* 179 = setdescriptor */
203 	{ 0, (sy_call_t *)nosys },			/* 180 = nosys */
204 	{ 1, (sy_call_t *)setgid },			/* 181 = setgid */
205 	{ 1, (sy_call_t *)setegid },			/* 182 = setegid */
206 	{ 1, (sy_call_t *)seteuid },			/* 183 = seteuid */
207 	{ 0, (sy_call_t *)nosys },			/* 184 = lfs_bmapv */
208 	{ 0, (sy_call_t *)nosys },			/* 185 = lfs_markv */
209 	{ 0, (sy_call_t *)nosys },			/* 186 = lfs_segclean */
210 	{ 0, (sy_call_t *)nosys },			/* 187 = lfs_segwait */
211 	{ 2, (sy_call_t *)stat },			/* 188 = stat */
212 	{ 2, (sy_call_t *)fstat },			/* 189 = fstat */
213 	{ 2, (sy_call_t *)lstat },			/* 190 = lstat */
214 	{ 2, (sy_call_t *)pathconf },			/* 191 = pathconf */
215 	{ 2, (sy_call_t *)fpathconf },			/* 192 = fpathconf */
216 	{ 0, (sy_call_t *)nosys },			/* 193 = nosys */
217 	{ 2, (sy_call_t *)getrlimit },			/* 194 = getrlimit */
218 	{ 2, (sy_call_t *)setrlimit },			/* 195 = setrlimit */
219 	{ 4, (sy_call_t *)getdirentries },		/* 196 = getdirentries */
220 	{ 8, (sy_call_t *)mmap },			/* 197 = mmap */
221 	{ 0, (sy_call_t *)nosys },			/* 198 = __syscall */
222 	{ 5, (sy_call_t *)lseek },			/* 199 = lseek */
223 	{ 4, (sy_call_t *)truncate },			/* 200 = truncate */
224 	{ 4, (sy_call_t *)ftruncate },			/* 201 = ftruncate */
225 	{ 6, (sy_call_t *)__sysctl },			/* 202 = __sysctl */
226 	{ 2, (sy_call_t *)mlock },			/* 203 = mlock */
227 	{ 2, (sy_call_t *)munlock },			/* 204 = munlock */
228 	{ 1, (sy_call_t *)undelete },			/* 205 = undelete */
229 	{ 2, (sy_call_t *)futimes },			/* 206 = futimes */
230 	{ 1, (sy_call_t *)getpgid },			/* 207 = getpgid */
231 	{ 0, (sy_call_t *)nosys },			/* 208 = newreboot */
232 	{ 3, (sy_call_t *)poll },			/* 209 = poll */
233 	{ 0, (sy_call_t *)lkmnosys },			/* 210 = lkmnosys */
234 	{ 0, (sy_call_t *)lkmnosys },			/* 211 = lkmnosys */
235 	{ 0, (sy_call_t *)lkmnosys },			/* 212 = lkmnosys */
236 	{ 0, (sy_call_t *)lkmnosys },			/* 213 = lkmnosys */
237 	{ 0, (sy_call_t *)lkmnosys },			/* 214 = lkmnosys */
238 	{ 0, (sy_call_t *)lkmnosys },			/* 215 = lkmnosys */
239 	{ 0, (sy_call_t *)lkmnosys },			/* 216 = lkmnosys */
240 	{ 0, (sy_call_t *)lkmnosys },			/* 217 = lkmnosys */
241 	{ 0, (sy_call_t *)lkmnosys },			/* 218 = lkmnosys */
242 	{ 0, (sy_call_t *)lkmnosys },			/* 219 = lkmnosys */
243 	{ 4, (sy_call_t *)__semctl },			/* 220 = __semctl */
244 	{ 3, (sy_call_t *)semget },			/* 221 = semget */
245 	{ 3, (sy_call_t *)semop },			/* 222 = semop */
246 	{ 0, (sy_call_t *)nosys },			/* 223 = semconfig */
247 	{ 3, (sy_call_t *)msgctl },			/* 224 = msgctl */
248 	{ 2, (sy_call_t *)msgget },			/* 225 = msgget */
249 	{ 4, (sy_call_t *)msgsnd },			/* 226 = msgsnd */
250 	{ 5, (sy_call_t *)msgrcv },			/* 227 = msgrcv */
251 	{ 3, (sy_call_t *)shmat },			/* 228 = shmat */
252 	{ 3, (sy_call_t *)shmctl },			/* 229 = shmctl */
253 	{ 1, (sy_call_t *)shmdt },			/* 230 = shmdt */
254 	{ 3, (sy_call_t *)shmget },			/* 231 = shmget */
255 	{ 2, (sy_call_t *)clock_gettime },		/* 232 = clock_gettime */
256 	{ 2, (sy_call_t *)clock_settime },		/* 233 = clock_settime */
257 	{ 2, (sy_call_t *)clock_getres },		/* 234 = clock_getres */
258 	{ 0, (sy_call_t *)nosys },			/* 235 = timer_create */
259 	{ 0, (sy_call_t *)nosys },			/* 236 = timer_delete */
260 	{ 0, (sy_call_t *)nosys },			/* 237 = timer_settime */
261 	{ 0, (sy_call_t *)nosys },			/* 238 = timer_gettime */
262 	{ 0, (sy_call_t *)nosys },			/* 239 = timer_getoverrun */
263 	{ 2, (sy_call_t *)nanosleep },			/* 240 = nanosleep */
264 	{ 0, (sy_call_t *)nosys },			/* 241 = nosys */
265 	{ 0, (sy_call_t *)nosys },			/* 242 = nosys */
266 	{ 0, (sy_call_t *)nosys },			/* 243 = nosys */
267 	{ 0, (sy_call_t *)nosys },			/* 244 = nosys */
268 	{ 0, (sy_call_t *)nosys },			/* 245 = nosys */
269 	{ 0, (sy_call_t *)nosys },			/* 246 = nosys */
270 	{ 0, (sy_call_t *)nosys },			/* 247 = nosys */
271 	{ 0, (sy_call_t *)nosys },			/* 248 = nosys */
272 	{ 0, (sy_call_t *)nosys },			/* 249 = nosys */
273 	{ 3, (sy_call_t *)minherit },			/* 250 = minherit */
274 	{ 1, (sy_call_t *)rfork },			/* 251 = rfork */
275 	{ 3, (sy_call_t *)openbsd_poll },		/* 252 = openbsd_poll */
276 	{ 0, (sy_call_t *)issetugid },			/* 253 = issetugid */
277 	{ 3, (sy_call_t *)lchown },			/* 254 = lchown */
278 	{ 0, (sy_call_t *)nosys },			/* 255 = nosys */
279 	{ 0, (sy_call_t *)nosys },			/* 256 = nosys */
280 	{ 0, (sy_call_t *)nosys },			/* 257 = nosys */
281 	{ 0, (sy_call_t *)nosys },			/* 258 = nosys */
282 	{ 0, (sy_call_t *)nosys },			/* 259 = nosys */
283 	{ 0, (sy_call_t *)nosys },			/* 260 = nosys */
284 	{ 0, (sy_call_t *)nosys },			/* 261 = nosys */
285 	{ 0, (sy_call_t *)nosys },			/* 262 = nosys */
286 	{ 0, (sy_call_t *)nosys },			/* 263 = nosys */
287 	{ 0, (sy_call_t *)nosys },			/* 264 = nosys */
288 	{ 0, (sy_call_t *)nosys },			/* 265 = nosys */
289 	{ 0, (sy_call_t *)nosys },			/* 266 = nosys */
290 	{ 0, (sy_call_t *)nosys },			/* 267 = nosys */
291 	{ 0, (sy_call_t *)nosys },			/* 268 = nosys */
292 	{ 0, (sy_call_t *)nosys },			/* 269 = nosys */
293 	{ 0, (sy_call_t *)nosys },			/* 270 = nosys */
294 	{ 0, (sy_call_t *)nosys },			/* 271 = nosys */
295 	{ 3, (sy_call_t *)getdents },			/* 272 = getdents */
296 	{ 0, (sy_call_t *)nosys },			/* 273 = nosys */
297 	{ 2, (sy_call_t *)lchmod },			/* 274 = lchmod */
298 	{ 3, (sy_call_t *)lchown },			/* 275 = netbsd_lchown */
299 	{ 2, (sy_call_t *)lutimes },			/* 276 = lutimes */
300 	{ 3, (sy_call_t *)msync },			/* 277 = netbsd_msync */
301 	{ 2, (sy_call_t *)nstat },			/* 278 = nstat */
302 	{ 2, (sy_call_t *)nfstat },			/* 279 = nfstat */
303 	{ 2, (sy_call_t *)nlstat },			/* 280 = nlstat */
304 	{ 0, (sy_call_t *)nosys },			/* 281 = nosys */
305 	{ 0, (sy_call_t *)nosys },			/* 282 = nosys */
306 	{ 0, (sy_call_t *)nosys },			/* 283 = nosys */
307 	{ 0, (sy_call_t *)nosys },			/* 284 = nosys */
308 	{ 0, (sy_call_t *)nosys },			/* 285 = nosys */
309 	{ 0, (sy_call_t *)nosys },			/* 286 = nosys */
310 	{ 0, (sy_call_t *)nosys },			/* 287 = nosys */
311 	{ 0, (sy_call_t *)nosys },			/* 288 = nosys */
312 	{ 0, (sy_call_t *)nosys },			/* 289 = nosys */
313 	{ 0, (sy_call_t *)nosys },			/* 290 = nosys */
314 	{ 0, (sy_call_t *)nosys },			/* 291 = nosys */
315 	{ 0, (sy_call_t *)nosys },			/* 292 = nosys */
316 	{ 0, (sy_call_t *)nosys },			/* 293 = nosys */
317 	{ 0, (sy_call_t *)nosys },			/* 294 = nosys */
318 	{ 0, (sy_call_t *)nosys },			/* 295 = nosys */
319 	{ 0, (sy_call_t *)nosys },			/* 296 = nosys */
320 	{ 2, (sy_call_t *)fhstatfs },			/* 297 = fhstatfs */
321 	{ 2, (sy_call_t *)fhopen },			/* 298 = fhopen */
322 	{ 2, (sy_call_t *)fhstat },			/* 299 = fhstat */
323 	{ 1, (sy_call_t *)modnext },			/* 300 = modnext */
324 	{ 2, (sy_call_t *)modstat },			/* 301 = modstat */
325 	{ 1, (sy_call_t *)modfnext },			/* 302 = modfnext */
326 	{ 1, (sy_call_t *)modfind },			/* 303 = modfind */
327 	{ 1, (sy_call_t *)kldload },			/* 304 = kldload */
328 	{ 1, (sy_call_t *)kldunload },			/* 305 = kldunload */
329 	{ 1, (sy_call_t *)kldfind },			/* 306 = kldfind */
330 	{ 1, (sy_call_t *)kldnext },			/* 307 = kldnext */
331 	{ 2, (sy_call_t *)kldstat },			/* 308 = kldstat */
332 	{ 1, (sy_call_t *)kldfirstmod },		/* 309 = kldfirstmod */
333 	{ 1, (sy_call_t *)getsid },			/* 310 = getsid */
334 	{ 3, (sy_call_t *)setresuid },			/* 311 = setresuid */
335 	{ 3, (sy_call_t *)setresgid },			/* 312 = setresgid */
336 	{ 0, (sy_call_t *)nosys },			/* 313 = obsolete signanosleep */
337 	{ 1, (sy_call_t *)aio_return },			/* 314 = aio_return */
338 	{ 3, (sy_call_t *)aio_suspend },		/* 315 = aio_suspend */
339 	{ 2, (sy_call_t *)aio_cancel },			/* 316 = aio_cancel */
340 	{ 1, (sy_call_t *)aio_error },			/* 317 = aio_error */
341 	{ 1, (sy_call_t *)aio_read },			/* 318 = aio_read */
342 	{ 1, (sy_call_t *)aio_write },			/* 319 = aio_write */
343 	{ 4, (sy_call_t *)lio_listio },			/* 320 = lio_listio */
344 	{ 0, (sy_call_t *)yield },			/* 321 = yield */
345 	{ 1, (sy_call_t *)thr_sleep },			/* 322 = thr_sleep */
346 	{ 1, (sy_call_t *)thr_wakeup },			/* 323 = thr_wakeup */
347 	{ 1, (sy_call_t *)mlockall },			/* 324 = mlockall */
348 	{ 0, (sy_call_t *)munlockall },			/* 325 = munlockall */
349 	{ 2, (sy_call_t *)__getcwd },			/* 326 = __getcwd */
350 	{ 2, (sy_call_t *)sched_setparam },		/* 327 = sched_setparam */
351 	{ 2, (sy_call_t *)sched_getparam },		/* 328 = sched_getparam */
352 	{ 3, (sy_call_t *)sched_setscheduler },		/* 329 = sched_setscheduler */
353 	{ 1, (sy_call_t *)sched_getscheduler },		/* 330 = sched_getscheduler */
354 	{ 0, (sy_call_t *)sched_yield },		/* 331 = sched_yield */
355 	{ 1, (sy_call_t *)sched_get_priority_max },		/* 332 = sched_get_priority_max */
356 	{ 1, (sy_call_t *)sched_get_priority_min },		/* 333 = sched_get_priority_min */
357 	{ 2, (sy_call_t *)sched_rr_get_interval },		/* 334 = sched_rr_get_interval */
358 	{ 2, (sy_call_t *)utrace },			/* 335 = utrace */
359 	{ 8, (sy_call_t *)sendfile },			/* 336 = sendfile */
360 	{ 3, (sy_call_t *)kldsym },			/* 337 = kldsym */
361 	{ 1, (sy_call_t *)jail },			/* 338 = jail */
362 	{ 0, (sy_call_t *)nosys },			/* 339 = pioctl */
363 	{ SYF_MPSAFE | 3, (sy_call_t *)sigprocmask },	/* 340 = sigprocmask */
364 	{ 1, (sy_call_t *)sigsuspend },			/* 341 = sigsuspend */
365 	{ 3, (sy_call_t *)sigaction },			/* 342 = sigaction */
366 	{ 1, (sy_call_t *)sigpending },			/* 343 = sigpending */
367 	{ 1, (sy_call_t *)sigreturn },			/* 344 = sigreturn */
368 	{ 0, (sy_call_t *)nosys },			/* 345 = sigtimedwait */
369 	{ 0, (sy_call_t *)nosys },			/* 346 = sigwaitinfo */
370 	{ 3, (sy_call_t *)__acl_get_file },		/* 347 = __acl_get_file */
371 	{ 3, (sy_call_t *)__acl_set_file },		/* 348 = __acl_set_file */
372 	{ 3, (sy_call_t *)__acl_get_fd },		/* 349 = __acl_get_fd */
373 	{ 3, (sy_call_t *)__acl_set_fd },		/* 350 = __acl_set_fd */
374 	{ 2, (sy_call_t *)__acl_delete_file },		/* 351 = __acl_delete_file */
375 	{ 2, (sy_call_t *)__acl_delete_fd },		/* 352 = __acl_delete_fd */
376 	{ 3, (sy_call_t *)__acl_aclcheck_file },		/* 353 = __acl_aclcheck_file */
377 	{ 3, (sy_call_t *)__acl_aclcheck_fd },		/* 354 = __acl_aclcheck_fd */
378 	{ 4, (sy_call_t *)extattrctl },			/* 355 = extattrctl */
379 	{ 4, (sy_call_t *)extattr_set_file },		/* 356 = extattr_set_file */
380 	{ 4, (sy_call_t *)extattr_get_file },		/* 357 = extattr_get_file */
381 	{ 2, (sy_call_t *)extattr_delete_file },		/* 358 = extattr_delete_file */
382 	{ 2, (sy_call_t *)aio_waitcomplete },		/* 359 = aio_waitcomplete */
383 	{ 3, (sy_call_t *)getresuid },			/* 360 = getresuid */
384 	{ 3, (sy_call_t *)getresgid },			/* 361 = getresgid */
385 	{ 0, (sy_call_t *)kqueue },			/* 362 = kqueue */
386 	{ 6, (sy_call_t *)kevent },			/* 363 = kevent */
387 };
388