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