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