6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD: syscalls.master,v 1.19 2009/01/13 22:27:44 pooka Exp
10 #include <sys/cdefs.h>
11 __KERNEL_RCSID(0, "$NetBSD$");
13 #if defined(_KERNEL_OPT)
14 #if defined(_KERNEL_OPT)
18 #include <sys/param.h>
19 #include <sys/systm.h>
20 #include <sys/signal.h>
21 #include <sys/mount.h>
23 #include <sys/syscallargs.h>
24 #include <compat/svr4_32/svr4_32_types.h>
25 #include <compat/netbsd32/netbsd32_syscallargs.h>
26 #include <compat/svr4_32/svr4_32_time.h>
27 #include <compat/svr4_32/svr4_32_signal.h>
28 #include <compat/svr4_32/svr4_32_ucontext.h>
29 #include <compat/svr4_32/svr4_32_lwp.h>
30 #include <compat/svr4_32/svr4_32_syscallargs.h>
31 #include <compat/svr4_32/svr4_32_statvfs.h>
32 #include <compat/svr4_32/svr4_32_resource.h>
33 #include <compat/svr4_32/svr4_32_acl.h>
34 #include <compat/svr4_32/svr4_32_schedctl.h>
35 #endif /* _KERNEL_OPT */
37 const char *const svr4_32_syscallnames
[] = {
39 /* 1 */ "netbsd32_exit",
41 /* 3 */ "netbsd32_read",
42 /* 4 */ "netbsd32_write",
44 /* 6 */ "netbsd32_close",
47 /* 9 */ "netbsd32_link",
48 /* 10 */ "netbsd32_unlink",
50 /* 12 */ "netbsd32_chdir",
53 /* 15 */ "netbsd32_chmod",
57 /* 19 */ "compat_43_netbsd32_olseek",
59 /* 21 */ "#21 (unimplemented old_mount)",
60 /* 22 */ "#22 (unimplemented System V umount)",
61 /* 23 */ "netbsd32_setuid",
62 /* 24 */ "getuid_with_euid",
63 /* 25 */ "#25 (unimplemented stime)",
64 /* 26 */ "#26 (unimplemented pcsample)",
69 /* 31 */ "#31 (unimplemented was stty)",
70 /* 32 */ "#32 (unimplemented was gtty)",
73 /* 35 */ "#35 (unimplemented statfs)",
76 /* 38 */ "#38 (unimplemented fstatfs)",
78 /* 40 */ "#40 (unimplemented xenix)",
79 /* 41 */ "netbsd32_dup",
82 /* 44 */ "#44 (unimplemented profil)",
83 /* 45 */ "#45 (unimplemented plock)",
84 /* 46 */ "netbsd32_setgid",
85 /* 47 */ "getgid_with_egid",
90 /* 49 */ "#49 (unimplemented msgsys)",
93 /* 51 */ "#51 (unimplemented acct)",
97 /* 52 */ "#52 (unimplemented shmsys)",
102 /* 53 */ "#53 (unimplemented semsys)",
105 /* 55 */ "#55 (unimplemented uadmin)",
106 /* 56 */ "#56 (unimplemented exch)",
108 /* 58 */ "netbsd32_fsync",
109 /* 59 */ "netbsd32_execve",
110 /* 60 */ "netbsd32_umask",
111 /* 61 */ "netbsd32_chroot",
114 /* 64 */ "#64 (unimplemented reserved for unix/pc)",
115 /* 65 */ "#65 (unimplemented reserved for unix/pc)",
116 /* 66 */ "#66 (unimplemented reserved for unix/pc)",
117 /* 67 */ "#67 (unimplemented reserved for unix/pc)",
118 /* 68 */ "#68 (unimplemented reserved for unix/pc)",
119 /* 69 */ "#69 (unimplemented reserved for unix/pc)",
120 /* 70 */ "#70 (obsolete advfs)",
121 /* 71 */ "#71 (obsolete unadvfs)",
122 /* 72 */ "#72 (obsolete rmount)",
123 /* 73 */ "#73 (obsolete rumount)",
124 /* 74 */ "#74 (obsolete rfstart)",
125 /* 75 */ "#75 (obsolete sigret)",
126 /* 76 */ "#76 (obsolete rdebug)",
127 /* 77 */ "#77 (obsolete rfstop)",
128 /* 78 */ "#78 (unimplemented rfsys)",
129 /* 79 */ "netbsd32_rmdir",
130 /* 80 */ "netbsd32_mkdir",
132 /* 82 */ "#82 (obsolete libattach)",
133 /* 83 */ "#83 (obsolete libdetach)",
134 /* 84 */ "#84 (unimplemented sysfs)",
137 /* 87 */ "netbsd32_poll",
139 /* 89 */ "netbsd32_symlink",
140 /* 90 */ "netbsd32_readlink",
141 /* 91 */ "netbsd32_getgroups",
142 /* 92 */ "netbsd32_setgroups",
143 /* 93 */ "netbsd32_fchmod",
145 /* 95 */ "sigprocmask",
146 /* 96 */ "sigsuspend",
147 /* 97 */ "sigaltstack",
148 /* 98 */ "sigaction",
149 /* 99 */ "sigpending",
151 /* 101 */ "#101 (unimplemented evsys)",
152 /* 102 */ "#102 (unimplemented evtrapret)",
154 /* 104 */ "fstatvfs",
155 /* 105 */ "#105 (unimplemented getloadavg)",
156 /* 106 */ "#106 (unimplemented nfssvc)",
158 /* 108 */ "#108 (unimplemented sigsendsys)",
160 /* 110 */ "#110 (unimplemented acancel)",
161 /* 111 */ "#111 (unimplemented async)",
162 /* 112 */ "#112 (unimplemented priocntlsys)",
163 /* 113 */ "pathconf",
164 /* 114 */ "#114 (unimplemented mincore)",
166 /* 116 */ "netbsd32_mprotect",
167 /* 117 */ "netbsd32_munmap",
168 /* 118 */ "fpathconf",
170 /* 120 */ "netbsd32_fchdir",
171 /* 121 */ "netbsd32_readv",
172 /* 122 */ "netbsd32_writev",
177 /* 127 */ "#127 (unimplemented clocal)",
178 /* 128 */ "setrlimit",
179 /* 129 */ "getrlimit",
182 /* 132 */ "#132 (unimplemented getpmsg)",
183 /* 133 */ "#133 (unimplemented putpmsg)",
186 /* 136 */ "netbsd32_setegid",
187 /* 137 */ "sysconfig",
188 /* 138 */ "compat_50_netbsd32_adjtime",
189 /* 139 */ "systeminfo",
190 /* 140 */ "#140 (unimplemented)",
191 /* 141 */ "netbsd32_seteuid",
192 /* 142 */ "#142 (unimplemented vtrace)",
194 /* 144 */ "#144 (unimplemented sigtimedwait)",
195 /* 145 */ "_lwp_info",
196 /* 146 */ "#146 (unimplemented yield)",
197 /* 147 */ "#147 (unimplemented lwp_sema_wait)",
198 /* 148 */ "#148 (unimplemented lwp_sema_post)",
199 /* 149 */ "#149 (unimplemented lwp_sema_trywait)",
200 /* 150 */ "#150 (unimplemented)",
201 /* 151 */ "#151 (unimplemented corectl)",
202 /* 152 */ "#152 (unimplemented modctl)",
203 /* 153 */ "netbsd32_fchroot",
206 /* 156 */ "gettimeofday",
207 /* 157 */ "compat_50_netbsd32_getitimer",
208 /* 158 */ "compat_50_netbsd32_setitimer",
209 /* 159 */ "_lwp_create",
210 /* 160 */ "_lwp_exit",
211 /* 161 */ "_lwp_suspend",
212 /* 162 */ "_lwp_continue",
213 /* 163 */ "_lwp_kill",
214 /* 164 */ "_lwp_self",
215 /* 165 */ "_lwp_getprivate",
216 /* 166 */ "_lwp_setprivate",
217 /* 167 */ "_lwp_wait",
218 /* 168 */ "#168 (unimplemented lwp_mutex_wakeup)",
219 /* 169 */ "#169 (unimplemented lwp_mutex_lock)",
220 /* 170 */ "#170 (unimplemented lwp_cond_wait)",
221 /* 171 */ "#171 (unimplemented lwp_cond_signal)",
222 /* 172 */ "#172 (unimplemented lwp_cond_broadcast)",
226 /* 176 */ "#176 (unimplemented inst_sync)",
227 /* 177 */ "#177 (unimplemented srmlimitsys)",
228 /* 178 */ "#178 (unimplemented kaio)",
229 /* 179 */ "#179 (unimplemented cpc)",
230 /* 180 */ "#180 (unimplemented)",
231 /* 181 */ "#181 (unimplemented)",
232 /* 182 */ "#182 (unimplemented)",
233 /* 183 */ "#183 (unimplemented)",
234 /* 184 */ "#184 (unimplemented tsolsys)",
236 /* 186 */ "auditsys",
237 /* 187 */ "#187 (unimplemented processor_bind)",
238 /* 188 */ "#188 (unimplemented processor_info)",
239 /* 189 */ "#189 (unimplemented p_online)",
240 /* 190 */ "#190 (unimplemented sigqueue)",
241 /* 191 */ "#191 (unimplemented clock_gettime)",
242 /* 192 */ "#192 (unimplemented clock_settime)",
243 /* 193 */ "#193 (unimplemented clock_getres)",
244 /* 194 */ "#194 (unimplemented timer_create)",
245 /* 195 */ "#195 (unimplemented timer_delete)",
246 /* 196 */ "#196 (unimplemented timer_settime)",
247 /* 197 */ "#197 (unimplemented timer_gettime)",
248 /* 198 */ "#198 (unimplemented timer_getoverrun)",
249 /* 199 */ "compat_50_netbsd32_nanosleep",
251 /* 201 */ "#201 (unimplemented door)",
252 /* 202 */ "netbsd32_setreuid",
253 /* 203 */ "netbsd32_setregid",
254 /* 204 */ "#204 (unimplemented install_utrap)",
255 /* 205 */ "#205 (unimplemented signotify)",
256 /* 206 */ "schedctl",
257 /* 207 */ "#207 (unimplemented pset)",
258 /* 208 */ "#208 (unimplemented sparc_utrap_install)",
259 /* 209 */ "resolvepath",
260 /* 210 */ "#210 (unimplemented signotifywait)",
261 /* 211 */ "#211 (unimplemented lwp_sigredirect)",
262 /* 212 */ "#212 (unimplemented lwp_alarm)",
263 /* 213 */ "getdents64",
268 /* 218 */ "statvfs64",
269 /* 219 */ "fstatvfs64",
270 /* 220 */ "setrlimit64",
271 /* 221 */ "getrlimit64",
273 /* 223 */ "pwrite64",
274 #define svr4_32_sys_creat64 svr4_32_sys_creat
275 #define svr4_32_sys_creat64_args svr4_32_sys_creat_args
277 #define svr4_32_sys_open64 svr4_32_sys_open
278 #define svr4_32_sys_open64_args svr4_32_sys_open_args
280 /* 226 */ "#226 (unimplemented rpcsys)",
281 /* 227 */ "#227 (unimplemented)",
282 /* 228 */ "#228 (unimplemented)",
283 /* 229 */ "#229 (unimplemented)",
285 /* 231 */ "netbsd32_socketpair",
286 /* 232 */ "netbsd32_bind",
287 /* 233 */ "netbsd32_listen",
288 /* 234 */ "compat_43_netbsd32_oaccept",
289 /* 235 */ "netbsd32_connect",
290 /* 236 */ "netbsd32_shutdown",
291 /* 237 */ "compat_43_netbsd32_orecv",
292 /* 238 */ "compat_43_netbsd32_orecvfrom",
293 /* 239 */ "compat_43_netbsd32_orecvmsg",
294 /* 240 */ "compat_43_netbsd32_osend",
295 /* 241 */ "compat_43_netbsd32_osendmsg",
296 /* 242 */ "netbsd32_sendto",
297 /* 243 */ "compat_43_netbsd32_ogetpeername",
298 /* 244 */ "compat_43_netbsd32_ogetsockname",
299 /* 245 */ "netbsd32_getsockopt",
300 /* 246 */ "netbsd32_setsockopt",
301 /* 247 */ "#247 (unimplemented sockconfig)",
302 /* 248 */ "#248 (unimplemented netbsd32_ntp_gettime)",
303 #if defined(NTP) || !defined(_KERNEL)
304 /* 249 */ "netbsd32_ntp_adjtime",
306 /* 249 */ "#249 (excluded ntp_adjtime)",
308 /* 250 */ "#250 (unimplemented lwp_mutex_unlock)",
309 /* 251 */ "#251 (unimplemented lwp_mutex_trylock)",
310 /* 252 */ "#252 (unimplemented lwp_mutex_init)",
311 /* 253 */ "#253 (unimplemented cladm)",
312 /* 254 */ "#254 (unimplemented lwp_sigtimedwait)",
313 /* 255 */ "#255 (unimplemented umount2)",