6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD: syscalls.master,v 1.61 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/sched.h>
24 #include <sys/syscallargs.h>
25 #include <compat/svr4/svr4_types.h>
26 #include <compat/svr4/svr4_time.h>
27 #include <compat/svr4/svr4_signal.h>
28 #include <compat/svr4/svr4_ucontext.h>
29 #include <compat/svr4/svr4_lwp.h>
30 #include <compat/svr4/svr4_syscallargs.h>
31 #include <compat/svr4/svr4_statvfs.h>
32 #include <compat/svr4/svr4_resource.h>
33 #include <compat/svr4/svr4_acl.h>
34 #include <compat/svr4/svr4_schedctl.h>
35 #endif /* _KERNEL_OPT */
37 const char *const svr4_syscallnames
[] = {
59 /* 21 */ "#21 (unimplemented old_mount)",
60 /* 22 */ "#22 (unimplemented System V umount)",
62 /* 24 */ "getuid_with_euid",
63 /* 25 */ "#25 (unimplemented stime)",
64 /* 26 */ "#26 (unimplemented ptrace)",
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)",
82 /* 44 */ "#44 (unimplemented profil)",
83 /* 45 */ "#45 (unimplemented plock)",
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)",
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)",
132 /* 82 */ "#82 (obsolete libattach)",
133 /* 83 */ "#83 (obsolete libdetach)",
134 /* 84 */ "#84 (unimplemented sysfs)",
141 /* 91 */ "getgroups",
142 /* 92 */ "setgroups",
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)",
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 */ "mprotect",
168 /* 118 */ "fpathconf",
177 /* 127 */ "#127 (unimplemented clocal)",
178 /* 128 */ "setrlimit",
179 /* 129 */ "getrlimit",
182 /* 132 */ "#132 (unimplemented getpmsg)",
183 /* 133 */ "#133 (unimplemented putpmsg)",
187 /* 137 */ "sysconfig",
189 /* 139 */ "systeminfo",
190 /* 140 */ "#140 (unimplemented)",
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)",
202 /* 152 */ "#152 (unimplemented modctl)",
206 /* 156 */ "gettimeofday",
207 /* 157 */ "getitimer",
208 /* 158 */ "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_unlock)",
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)",
228 /* 178 */ "#178 (unimplemented kaio)",
229 /* 179 */ "#179 (unimplemented)",
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 */ "nanosleep",
251 /* 201 */ "#201 (unimplemented door)",
252 /* 202 */ "setreuid",
253 /* 203 */ "setregid",
254 /* 204 */ "#204 (unimplemented install_utrap)",
255 /* 205 */ "#205 (unimplemented signotify)",
256 /* 206 */ "schedctl",
257 /* 207 */ "#207 (unimplemented pset)",
258 /* 208 */ "#208 (unimplemented)",
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",
276 /* 226 */ "#226 (unimplemented rpcsys)",
277 /* 227 */ "#227 (unimplemented)",
278 /* 228 */ "#228 (unimplemented)",
279 /* 229 */ "#229 (unimplemented)",
281 /* 231 */ "socketpair",
286 /* 236 */ "shutdown",
288 /* 238 */ "recvfrom",
293 /* 243 */ "getpeername",
294 /* 244 */ "getsockname",
295 /* 245 */ "getsockopt",
296 /* 246 */ "setsockopt",
297 /* 247 */ "#247 (unimplemented sockconfig)",
298 /* 248 */ "#248 (unimplemented sys_ntp_gettime)",
299 #if defined(NTP) || !defined(_KERNEL)
300 /* 249 */ "ntp_adjtime",
302 /* 249 */ "#249 (excluded ntp_adjtime)",
304 /* 250 */ "#250 (unimplemented lwp_mutex_unlock)",
305 /* 251 */ "#251 (unimplemented lwp_mutex_trylock)",
306 /* 252 */ "#252 (unimplemented lwp_mutex_init)",
307 /* 253 */ "#253 (unimplemented cladm)",
308 /* 254 */ "#254 (unimplemented lwp_sigtimedwait)",
309 /* 255 */ "#255 (unimplemented umount2)",