linux32_systrace_args.c revision 1.12 1 1.1 christos /* $NetBSD: linux32_systrace_args.c,v 1.12 2021/09/20 02:20:31 thorpej Exp $ */
2 1.1 christos
3 1.1 christos /*
4 1.9 thorpej * System call argument to DTrace register array conversion.
5 1.1 christos *
6 1.1 christos * DO NOT EDIT-- this file is automatically generated.
7 1.1 christos * This file is part of the DTrace syscall provider.
8 1.1 christos */
9 1.1 christos
10 1.1 christos static void
11 1.1 christos systrace_args(register_t sysnum, const void *params, uintptr_t *uarg, size_t *n_args)
12 1.1 christos {
13 1.1 christos intptr_t *iarg = (intptr_t *)uarg;
14 1.1 christos switch (sysnum) {
15 1.1 christos /* linux_sys_nosys */
16 1.1 christos case 0: {
17 1.1 christos *n_args = 0;
18 1.1 christos break;
19 1.1 christos }
20 1.1 christos /* linux32_sys_exit */
21 1.1 christos case 1: {
22 1.3 christos const struct linux32_sys_exit_args *p = params;
23 1.1 christos iarg[0] = SCARG(p, rval); /* int */
24 1.1 christos *n_args = 1;
25 1.1 christos break;
26 1.1 christos }
27 1.1 christos /* sys_fork */
28 1.1 christos case 2: {
29 1.1 christos *n_args = 0;
30 1.1 christos break;
31 1.1 christos }
32 1.1 christos /* netbsd32_read */
33 1.1 christos case 3: {
34 1.3 christos const struct netbsd32_read_args *p = params;
35 1.1 christos iarg[0] = SCARG(p, fd); /* int */
36 1.1 christos uarg[1] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_voidp */
37 1.1 christos iarg[2] = SCARG(p, nbyte); /* netbsd32_size_t */
38 1.1 christos *n_args = 3;
39 1.1 christos break;
40 1.1 christos }
41 1.1 christos /* netbsd32_write */
42 1.1 christos case 4: {
43 1.3 christos const struct netbsd32_write_args *p = params;
44 1.1 christos iarg[0] = SCARG(p, fd); /* int */
45 1.1 christos uarg[1] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_voidp */
46 1.1 christos iarg[2] = SCARG(p, nbyte); /* netbsd32_size_t */
47 1.1 christos *n_args = 3;
48 1.1 christos break;
49 1.1 christos }
50 1.1 christos /* linux32_sys_open */
51 1.1 christos case 5: {
52 1.3 christos const struct linux32_sys_open_args *p = params;
53 1.1 christos uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
54 1.1 christos iarg[1] = SCARG(p, flags); /* int */
55 1.1 christos iarg[2] = SCARG(p, mode); /* linux_umode_t */
56 1.1 christos *n_args = 3;
57 1.1 christos break;
58 1.1 christos }
59 1.1 christos /* netbsd32_close */
60 1.1 christos case 6: {
61 1.3 christos const struct netbsd32_close_args *p = params;
62 1.1 christos iarg[0] = SCARG(p, fd); /* int */
63 1.1 christos *n_args = 1;
64 1.1 christos break;
65 1.1 christos }
66 1.1 christos /* linux32_sys_waitpid */
67 1.1 christos case 7: {
68 1.3 christos const struct linux32_sys_waitpid_args *p = params;
69 1.1 christos iarg[0] = SCARG(p, pid); /* int */
70 1.1 christos uarg[1] = (intptr_t) SCARG(p, status).i32; /* netbsd32_intp */
71 1.1 christos iarg[2] = SCARG(p, options); /* int */
72 1.1 christos *n_args = 3;
73 1.1 christos break;
74 1.1 christos }
75 1.1 christos /* linux32_sys_creat */
76 1.1 christos case 8: {
77 1.3 christos const struct linux32_sys_creat_args *p = params;
78 1.1 christos uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
79 1.1 christos iarg[1] = SCARG(p, mode); /* linux_umode_t */
80 1.1 christos *n_args = 2;
81 1.1 christos break;
82 1.1 christos }
83 1.1 christos /* netbsd32_link */
84 1.1 christos case 9: {
85 1.3 christos const struct netbsd32_link_args *p = params;
86 1.1 christos uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
87 1.1 christos uarg[1] = (intptr_t) SCARG(p, link).i32; /* netbsd32_charp */
88 1.1 christos *n_args = 2;
89 1.1 christos break;
90 1.1 christos }
91 1.1 christos /* linux32_sys_unlink */
92 1.1 christos case 10: {
93 1.3 christos const struct linux32_sys_unlink_args *p = params;
94 1.1 christos uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
95 1.1 christos *n_args = 1;
96 1.1 christos break;
97 1.1 christos }
98 1.1 christos /* netbsd32_execve */
99 1.1 christos case 11: {
100 1.3 christos const struct netbsd32_execve_args *p = params;
101 1.1 christos uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
102 1.1 christos uarg[1] = (intptr_t) SCARG(p, argp).i32; /* netbsd32_charpp */
103 1.1 christos uarg[2] = (intptr_t) SCARG(p, envp).i32; /* netbsd32_charpp */
104 1.1 christos *n_args = 3;
105 1.1 christos break;
106 1.1 christos }
107 1.1 christos /* netbsd32_chdir */
108 1.1 christos case 12: {
109 1.3 christos const struct netbsd32_chdir_args *p = params;
110 1.1 christos uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
111 1.1 christos *n_args = 1;
112 1.1 christos break;
113 1.1 christos }
114 1.1 christos /* linux32_sys_time */
115 1.1 christos case 13: {
116 1.3 christos const struct linux32_sys_time_args *p = params;
117 1.1 christos uarg[0] = (intptr_t) SCARG(p, t).i32; /* linux32_timep_t */
118 1.1 christos *n_args = 1;
119 1.1 christos break;
120 1.1 christos }
121 1.1 christos /* linux32_sys_mknod */
122 1.1 christos case 14: {
123 1.3 christos const struct linux32_sys_mknod_args *p = params;
124 1.1 christos uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
125 1.1 christos iarg[1] = SCARG(p, mode); /* linux_umode_t */
126 1.1 christos uarg[2] = SCARG(p, dev); /* unsigned */
127 1.1 christos *n_args = 3;
128 1.1 christos break;
129 1.1 christos }
130 1.1 christos /* netbsd32_chmod */
131 1.1 christos case 15: {
132 1.3 christos const struct netbsd32_chmod_args *p = params;
133 1.1 christos uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
134 1.1 christos iarg[1] = SCARG(p, mode); /* linux_umode_t */
135 1.1 christos *n_args = 2;
136 1.1 christos break;
137 1.1 christos }
138 1.1 christos /* linux32_sys_lchown16 */
139 1.1 christos case 16: {
140 1.3 christos const struct linux32_sys_lchown16_args *p = params;
141 1.1 christos uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
142 1.1 christos iarg[1] = SCARG(p, uid); /* linux32_uid16_t */
143 1.1 christos iarg[2] = SCARG(p, gid); /* linux32_gid16_t */
144 1.1 christos *n_args = 3;
145 1.1 christos break;
146 1.1 christos }
147 1.1 christos /* linux32_sys_break */
148 1.1 christos case 17: {
149 1.3 christos const struct linux32_sys_break_args *p = params;
150 1.1 christos uarg[0] = (intptr_t) SCARG(p, nsize).i32; /* netbsd32_charp */
151 1.1 christos *n_args = 1;
152 1.1 christos break;
153 1.1 christos }
154 1.1 christos /* compat_43_netbsd32_olseek */
155 1.1 christos case 19: {
156 1.3 christos const struct compat_43_netbsd32_olseek_args *p = params;
157 1.1 christos iarg[0] = SCARG(p, fd); /* int */
158 1.1 christos iarg[1] = SCARG(p, offset); /* netbsd32_long */
159 1.2 christos iarg[2] = SCARG(p, whence); /* int */
160 1.1 christos *n_args = 3;
161 1.1 christos break;
162 1.1 christos }
163 1.1 christos /* sys_getpid */
164 1.1 christos case 20: {
165 1.1 christos *n_args = 0;
166 1.1 christos break;
167 1.1 christos }
168 1.1 christos /* netbsd32_setuid */
169 1.1 christos case 23: {
170 1.3 christos const struct netbsd32_setuid_args *p = params;
171 1.1 christos uarg[0] = SCARG(p, uid); /* uid_t */
172 1.1 christos *n_args = 1;
173 1.1 christos break;
174 1.1 christos }
175 1.1 christos /* sys_getuid */
176 1.1 christos case 24: {
177 1.1 christos *n_args = 0;
178 1.1 christos break;
179 1.1 christos }
180 1.1 christos /* linux32_sys_stime */
181 1.1 christos case 25: {
182 1.3 christos const struct linux32_sys_stime_args *p = params;
183 1.1 christos uarg[0] = (intptr_t) SCARG(p, t).i32; /* linux32_timep_t */
184 1.1 christos *n_args = 1;
185 1.1 christos break;
186 1.1 christos }
187 1.1 christos /* linux32_sys_ptrace */
188 1.1 christos case 26: {
189 1.3 christos const struct linux32_sys_ptrace_args *p = params;
190 1.1 christos iarg[0] = SCARG(p, request); /* int */
191 1.1 christos iarg[1] = SCARG(p, pid); /* int */
192 1.1 christos iarg[2] = SCARG(p, addr); /* int */
193 1.1 christos iarg[3] = SCARG(p, data); /* int */
194 1.1 christos *n_args = 4;
195 1.1 christos break;
196 1.1 christos }
197 1.1 christos /* linux32_sys_alarm */
198 1.1 christos case 27: {
199 1.3 christos const struct linux32_sys_alarm_args *p = params;
200 1.1 christos uarg[0] = SCARG(p, secs); /* unsigned int */
201 1.1 christos *n_args = 1;
202 1.1 christos break;
203 1.1 christos }
204 1.1 christos /* linux_sys_pause */
205 1.1 christos case 29: {
206 1.1 christos *n_args = 0;
207 1.1 christos break;
208 1.1 christos }
209 1.1 christos /* linux32_sys_utime */
210 1.1 christos case 30: {
211 1.3 christos const struct linux32_sys_utime_args *p = params;
212 1.1 christos uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
213 1.1 christos uarg[1] = (intptr_t) SCARG(p, times).i32; /* linux32_utimbufp_t */
214 1.1 christos *n_args = 2;
215 1.1 christos break;
216 1.1 christos }
217 1.1 christos /* netbsd32_access */
218 1.1 christos case 33: {
219 1.3 christos const struct netbsd32_access_args *p = params;
220 1.1 christos uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
221 1.1 christos iarg[1] = SCARG(p, flags); /* int */
222 1.1 christos *n_args = 2;
223 1.1 christos break;
224 1.1 christos }
225 1.1 christos /* linux32_sys_nice */
226 1.1 christos case 34: {
227 1.3 christos const struct linux32_sys_nice_args *p = params;
228 1.1 christos iarg[0] = SCARG(p, incr); /* int */
229 1.1 christos *n_args = 1;
230 1.1 christos break;
231 1.1 christos }
232 1.1 christos /* sys_sync */
233 1.1 christos case 36: {
234 1.1 christos *n_args = 0;
235 1.1 christos break;
236 1.1 christos }
237 1.1 christos /* linux32_sys_kill */
238 1.1 christos case 37: {
239 1.3 christos const struct linux32_sys_kill_args *p = params;
240 1.1 christos iarg[0] = SCARG(p, pid); /* int */
241 1.1 christos iarg[1] = SCARG(p, signum); /* int */
242 1.1 christos *n_args = 2;
243 1.1 christos break;
244 1.1 christos }
245 1.1 christos /* netbsd32___posix_rename */
246 1.1 christos case 38: {
247 1.3 christos const struct netbsd32___posix_rename_args *p = params;
248 1.1 christos uarg[0] = (intptr_t) SCARG(p, from).i32; /* netbsd32_charp */
249 1.1 christos uarg[1] = (intptr_t) SCARG(p, to).i32; /* netbsd32_charp */
250 1.1 christos *n_args = 2;
251 1.1 christos break;
252 1.1 christos }
253 1.1 christos /* netbsd32_mkdir */
254 1.1 christos case 39: {
255 1.3 christos const struct netbsd32_mkdir_args *p = params;
256 1.1 christos uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
257 1.1 christos iarg[1] = SCARG(p, mode); /* linux_umode_t */
258 1.1 christos *n_args = 2;
259 1.1 christos break;
260 1.1 christos }
261 1.1 christos /* netbsd32_rmdir */
262 1.1 christos case 40: {
263 1.3 christos const struct netbsd32_rmdir_args *p = params;
264 1.1 christos uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
265 1.1 christos *n_args = 1;
266 1.1 christos break;
267 1.1 christos }
268 1.1 christos /* netbsd32_dup */
269 1.1 christos case 41: {
270 1.3 christos const struct netbsd32_dup_args *p = params;
271 1.1 christos iarg[0] = SCARG(p, fd); /* int */
272 1.1 christos *n_args = 1;
273 1.1 christos break;
274 1.1 christos }
275 1.1 christos /* linux32_sys_pipe */
276 1.1 christos case 42: {
277 1.3 christos const struct linux32_sys_pipe_args *p = params;
278 1.1 christos uarg[0] = (intptr_t) SCARG(p, fd).i32; /* netbsd32_intp */
279 1.1 christos *n_args = 1;
280 1.1 christos break;
281 1.1 christos }
282 1.1 christos /* linux32_sys_times */
283 1.1 christos case 43: {
284 1.3 christos const struct linux32_sys_times_args *p = params;
285 1.1 christos uarg[0] = (intptr_t) SCARG(p, tms).i32; /* linux32_tmsp_t */
286 1.1 christos *n_args = 1;
287 1.1 christos break;
288 1.1 christos }
289 1.1 christos /* linux32_sys_brk */
290 1.1 christos case 45: {
291 1.3 christos const struct linux32_sys_brk_args *p = params;
292 1.1 christos uarg[0] = (intptr_t) SCARG(p, nsize).i32; /* netbsd32_charp */
293 1.1 christos *n_args = 1;
294 1.1 christos break;
295 1.1 christos }
296 1.1 christos /* netbsd32_setgid */
297 1.1 christos case 46: {
298 1.3 christos const struct netbsd32_setgid_args *p = params;
299 1.1 christos iarg[0] = SCARG(p, gid); /* gid_t */
300 1.1 christos *n_args = 1;
301 1.1 christos break;
302 1.1 christos }
303 1.1 christos /* sys_getgid */
304 1.1 christos case 47: {
305 1.1 christos *n_args = 0;
306 1.1 christos break;
307 1.1 christos }
308 1.1 christos /* linux32_sys_signal */
309 1.1 christos case 48: {
310 1.3 christos const struct linux32_sys_signal_args *p = params;
311 1.1 christos iarg[0] = SCARG(p, signum); /* int */
312 1.2 christos uarg[1] = (intptr_t) SCARG(p, handler).i32; /* linux32_handlerp_t */
313 1.1 christos *n_args = 2;
314 1.1 christos break;
315 1.1 christos }
316 1.1 christos /* sys_geteuid */
317 1.1 christos case 49: {
318 1.1 christos *n_args = 0;
319 1.1 christos break;
320 1.1 christos }
321 1.1 christos /* sys_getegid */
322 1.1 christos case 50: {
323 1.1 christos *n_args = 0;
324 1.1 christos break;
325 1.1 christos }
326 1.1 christos /* netbsd32_acct */
327 1.1 christos case 51: {
328 1.3 christos const struct netbsd32_acct_args *p = params;
329 1.1 christos uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
330 1.1 christos *n_args = 1;
331 1.1 christos break;
332 1.1 christos }
333 1.1 christos /* linux32_sys_ioctl */
334 1.1 christos case 54: {
335 1.3 christos const struct linux32_sys_ioctl_args *p = params;
336 1.1 christos iarg[0] = SCARG(p, fd); /* int */
337 1.1 christos iarg[1] = SCARG(p, com); /* netbsd32_u_long */
338 1.1 christos uarg[2] = (intptr_t) SCARG(p, data).i32; /* netbsd32_charp */
339 1.1 christos *n_args = 3;
340 1.1 christos break;
341 1.1 christos }
342 1.1 christos /* linux32_sys_fcntl */
343 1.1 christos case 55: {
344 1.3 christos const struct linux32_sys_fcntl_args *p = params;
345 1.1 christos iarg[0] = SCARG(p, fd); /* int */
346 1.1 christos iarg[1] = SCARG(p, cmd); /* int */
347 1.1 christos uarg[2] = (intptr_t) SCARG(p, arg).i32; /* netbsd32_voidp */
348 1.1 christos *n_args = 3;
349 1.1 christos break;
350 1.1 christos }
351 1.1 christos /* netbsd32_setpgid */
352 1.1 christos case 57: {
353 1.3 christos const struct netbsd32_setpgid_args *p = params;
354 1.1 christos iarg[0] = SCARG(p, pid); /* int */
355 1.1 christos iarg[1] = SCARG(p, pgid); /* int */
356 1.1 christos *n_args = 2;
357 1.1 christos break;
358 1.1 christos }
359 1.1 christos /* linux32_sys_oldolduname */
360 1.1 christos case 59: {
361 1.3 christos const struct linux32_sys_oldolduname_args *p = params;
362 1.1 christos uarg[0] = (intptr_t) SCARG(p, up).i32; /* linux32_oldold_utsnamep_t */
363 1.1 christos *n_args = 1;
364 1.1 christos break;
365 1.1 christos }
366 1.1 christos /* netbsd32_umask */
367 1.1 christos case 60: {
368 1.3 christos const struct netbsd32_umask_args *p = params;
369 1.1 christos iarg[0] = SCARG(p, newmask); /* int */
370 1.1 christos *n_args = 1;
371 1.1 christos break;
372 1.1 christos }
373 1.1 christos /* netbsd32_chroot */
374 1.1 christos case 61: {
375 1.3 christos const struct netbsd32_chroot_args *p = params;
376 1.1 christos uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
377 1.1 christos *n_args = 1;
378 1.1 christos break;
379 1.1 christos }
380 1.1 christos /* netbsd32_dup2 */
381 1.1 christos case 63: {
382 1.3 christos const struct netbsd32_dup2_args *p = params;
383 1.1 christos iarg[0] = SCARG(p, from); /* int */
384 1.1 christos iarg[1] = SCARG(p, to); /* int */
385 1.1 christos *n_args = 2;
386 1.1 christos break;
387 1.1 christos }
388 1.1 christos /* sys_getppid */
389 1.1 christos case 64: {
390 1.1 christos *n_args = 0;
391 1.1 christos break;
392 1.1 christos }
393 1.1 christos /* sys_getpgrp */
394 1.1 christos case 65: {
395 1.1 christos *n_args = 0;
396 1.1 christos break;
397 1.1 christos }
398 1.1 christos /* sys_setsid */
399 1.1 christos case 66: {
400 1.1 christos *n_args = 0;
401 1.1 christos break;
402 1.1 christos }
403 1.1 christos /* linux32_sys_siggetmask */
404 1.1 christos case 68: {
405 1.1 christos *n_args = 0;
406 1.1 christos break;
407 1.1 christos }
408 1.1 christos /* linux32_sys_sigsetmask */
409 1.1 christos case 69: {
410 1.3 christos const struct linux32_sys_sigsetmask_args *p = params;
411 1.1 christos iarg[0] = SCARG(p, mask); /* linux32_old_sigset_t */
412 1.1 christos *n_args = 1;
413 1.1 christos break;
414 1.1 christos }
415 1.1 christos /* linux32_sys_setreuid16 */
416 1.1 christos case 70: {
417 1.3 christos const struct linux32_sys_setreuid16_args *p = params;
418 1.1 christos iarg[0] = SCARG(p, ruid); /* linux32_uid16_t */
419 1.1 christos iarg[1] = SCARG(p, euid); /* linux32_uid16_t */
420 1.1 christos *n_args = 2;
421 1.1 christos break;
422 1.1 christos }
423 1.1 christos /* linux32_sys_setregid16 */
424 1.1 christos case 71: {
425 1.3 christos const struct linux32_sys_setregid16_args *p = params;
426 1.1 christos iarg[0] = SCARG(p, rgid); /* linux32_gid16_t */
427 1.1 christos iarg[1] = SCARG(p, egid); /* linux32_gid16_t */
428 1.1 christos *n_args = 2;
429 1.1 christos break;
430 1.1 christos }
431 1.1 christos /* compat_43_netbsd32_osethostname */
432 1.1 christos case 74: {
433 1.3 christos const struct compat_43_netbsd32_osethostname_args *p = params;
434 1.1 christos uarg[0] = (intptr_t) SCARG(p, hostname).i32; /* netbsd32_charp */
435 1.1 christos uarg[1] = SCARG(p, len); /* u_int */
436 1.1 christos *n_args = 2;
437 1.1 christos break;
438 1.1 christos }
439 1.1 christos /* linux32_sys_setrlimit */
440 1.1 christos case 75: {
441 1.3 christos const struct linux32_sys_setrlimit_args *p = params;
442 1.1 christos uarg[0] = SCARG(p, which); /* u_int */
443 1.1 christos uarg[1] = (intptr_t) SCARG(p, rlp).i32; /* netbsd32_orlimitp_t */
444 1.1 christos *n_args = 2;
445 1.1 christos break;
446 1.1 christos }
447 1.1 christos /* linux32_sys_getrlimit */
448 1.1 christos case 76: {
449 1.3 christos const struct linux32_sys_getrlimit_args *p = params;
450 1.1 christos uarg[0] = SCARG(p, which); /* u_int */
451 1.1 christos uarg[1] = (intptr_t) SCARG(p, rlp).i32; /* netbsd32_orlimitp_t */
452 1.1 christos *n_args = 2;
453 1.1 christos break;
454 1.1 christos }
455 1.1 christos /* compat_50_netbsd32_getrusage */
456 1.1 christos case 77: {
457 1.3 christos const struct compat_50_netbsd32_getrusage_args *p = params;
458 1.1 christos iarg[0] = SCARG(p, who); /* int */
459 1.1 christos uarg[1] = (intptr_t) SCARG(p, rusage).i32; /* netbsd32_rusage50p_t */
460 1.1 christos *n_args = 2;
461 1.1 christos break;
462 1.1 christos }
463 1.1 christos /* linux32_sys_gettimeofday */
464 1.1 christos case 78: {
465 1.3 christos const struct linux32_sys_gettimeofday_args *p = params;
466 1.1 christos uarg[0] = (intptr_t) SCARG(p, tp).i32; /* netbsd32_timeval50p_t */
467 1.1 christos uarg[1] = (intptr_t) SCARG(p, tzp).i32; /* netbsd32_timezonep_t */
468 1.1 christos *n_args = 2;
469 1.1 christos break;
470 1.1 christos }
471 1.1 christos /* linux32_sys_settimeofday */
472 1.1 christos case 79: {
473 1.3 christos const struct linux32_sys_settimeofday_args *p = params;
474 1.1 christos uarg[0] = (intptr_t) SCARG(p, tp).i32; /* netbsd32_timeval50p_t */
475 1.1 christos uarg[1] = (intptr_t) SCARG(p, tzp).i32; /* netbsd32_timezonep_t */
476 1.1 christos *n_args = 2;
477 1.1 christos break;
478 1.1 christos }
479 1.1 christos /* linux32_sys_getgroups16 */
480 1.1 christos case 80: {
481 1.3 christos const struct linux32_sys_getgroups16_args *p = params;
482 1.1 christos iarg[0] = SCARG(p, gidsetsize); /* int */
483 1.1 christos uarg[1] = (intptr_t) SCARG(p, gidset).i32; /* linux32_gid16p_t */
484 1.1 christos *n_args = 2;
485 1.1 christos break;
486 1.1 christos }
487 1.1 christos /* linux32_sys_setgroups16 */
488 1.1 christos case 81: {
489 1.3 christos const struct linux32_sys_setgroups16_args *p = params;
490 1.1 christos iarg[0] = SCARG(p, gidsetsize); /* int */
491 1.1 christos uarg[1] = (intptr_t) SCARG(p, gidset).i32; /* linux32_gid16p_t */
492 1.1 christos *n_args = 2;
493 1.1 christos break;
494 1.1 christos }
495 1.1 christos /* linux32_sys_oldselect */
496 1.1 christos case 82: {
497 1.3 christos const struct linux32_sys_oldselect_args *p = params;
498 1.1 christos uarg[0] = (intptr_t) SCARG(p, lsp).i32; /* linux32_oldselectp_t */
499 1.1 christos *n_args = 1;
500 1.1 christos break;
501 1.1 christos }
502 1.1 christos /* netbsd32_symlink */
503 1.1 christos case 83: {
504 1.3 christos const struct netbsd32_symlink_args *p = params;
505 1.1 christos uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
506 1.1 christos uarg[1] = (intptr_t) SCARG(p, link).i32; /* netbsd32_charp */
507 1.1 christos *n_args = 2;
508 1.1 christos break;
509 1.1 christos }
510 1.1 christos /* compat_43_netbsd32_lstat43 */
511 1.1 christos case 84: {
512 1.3 christos const struct compat_43_netbsd32_lstat43_args *p = params;
513 1.1 christos uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
514 1.1 christos uarg[1] = (intptr_t) SCARG(p, ub).i32; /* netbsd32_stat43p_t */
515 1.1 christos *n_args = 2;
516 1.1 christos break;
517 1.1 christos }
518 1.1 christos /* netbsd32_readlink */
519 1.1 christos case 85: {
520 1.3 christos const struct netbsd32_readlink_args *p = params;
521 1.2 christos uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
522 1.1 christos uarg[1] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_charp */
523 1.1 christos iarg[2] = SCARG(p, count); /* netbsd32_size_t */
524 1.1 christos *n_args = 3;
525 1.1 christos break;
526 1.1 christos }
527 1.1 christos /* linux32_sys_swapon */
528 1.1 christos case 87: {
529 1.3 christos const struct linux32_sys_swapon_args *p = params;
530 1.1 christos uarg[0] = (intptr_t) SCARG(p, name).i32; /* netbsd32_charp */
531 1.1 christos *n_args = 1;
532 1.1 christos break;
533 1.1 christos }
534 1.1 christos /* linux32_sys_reboot */
535 1.1 christos case 88: {
536 1.3 christos const struct linux32_sys_reboot_args *p = params;
537 1.1 christos iarg[0] = SCARG(p, magic1); /* int */
538 1.1 christos iarg[1] = SCARG(p, magic2); /* int */
539 1.1 christos iarg[2] = SCARG(p, cmd); /* int */
540 1.1 christos uarg[3] = (intptr_t) SCARG(p, arg).i32; /* netbsd32_voidp */
541 1.1 christos *n_args = 4;
542 1.1 christos break;
543 1.1 christos }
544 1.1 christos /* linux32_sys_readdir */
545 1.1 christos case 89: {
546 1.3 christos const struct linux32_sys_readdir_args *p = params;
547 1.1 christos iarg[0] = SCARG(p, fd); /* int */
548 1.1 christos uarg[1] = (intptr_t) SCARG(p, dent).i32; /* netbsd32_voidp */
549 1.1 christos uarg[2] = SCARG(p, count); /* unsigned int */
550 1.1 christos *n_args = 3;
551 1.1 christos break;
552 1.1 christos }
553 1.1 christos /* linux32_sys_old_mmap */
554 1.1 christos case 90: {
555 1.3 christos const struct linux32_sys_old_mmap_args *p = params;
556 1.1 christos uarg[0] = (intptr_t) SCARG(p, lmp).i32; /* linux32_oldmmapp */
557 1.1 christos *n_args = 1;
558 1.1 christos break;
559 1.1 christos }
560 1.1 christos /* netbsd32_munmap */
561 1.1 christos case 91: {
562 1.3 christos const struct netbsd32_munmap_args *p = params;
563 1.1 christos uarg[0] = (intptr_t) SCARG(p, addr).i32; /* netbsd32_voidp */
564 1.1 christos iarg[1] = SCARG(p, len); /* netbsd32_size_t */
565 1.1 christos *n_args = 2;
566 1.1 christos break;
567 1.1 christos }
568 1.1 christos /* compat_43_netbsd32_otruncate */
569 1.1 christos case 92: {
570 1.3 christos const struct compat_43_netbsd32_otruncate_args *p = params;
571 1.1 christos uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
572 1.1 christos iarg[1] = SCARG(p, length); /* netbsd32_long */
573 1.1 christos *n_args = 2;
574 1.1 christos break;
575 1.1 christos }
576 1.1 christos /* compat_43_netbsd32_oftruncate */
577 1.1 christos case 93: {
578 1.3 christos const struct compat_43_netbsd32_oftruncate_args *p = params;
579 1.1 christos iarg[0] = SCARG(p, fd); /* int */
580 1.1 christos iarg[1] = SCARG(p, length); /* netbsd32_long */
581 1.1 christos *n_args = 2;
582 1.1 christos break;
583 1.1 christos }
584 1.1 christos /* netbsd32_fchmod */
585 1.1 christos case 94: {
586 1.3 christos const struct netbsd32_fchmod_args *p = params;
587 1.1 christos iarg[0] = SCARG(p, fd); /* int */
588 1.1 christos iarg[1] = SCARG(p, mode); /* linux_umode_t */
589 1.1 christos *n_args = 2;
590 1.1 christos break;
591 1.1 christos }
592 1.1 christos /* linux32_sys_fchown16 */
593 1.1 christos case 95: {
594 1.3 christos const struct linux32_sys_fchown16_args *p = params;
595 1.1 christos iarg[0] = SCARG(p, fd); /* int */
596 1.1 christos iarg[1] = SCARG(p, uid); /* linux32_uid16_t */
597 1.1 christos iarg[2] = SCARG(p, gid); /* linux32_gid16_t */
598 1.1 christos *n_args = 3;
599 1.1 christos break;
600 1.1 christos }
601 1.1 christos /* linux32_sys_getpriority */
602 1.1 christos case 96: {
603 1.3 christos const struct linux32_sys_getpriority_args *p = params;
604 1.1 christos iarg[0] = SCARG(p, which); /* int */
605 1.1 christos iarg[1] = SCARG(p, who); /* int */
606 1.1 christos *n_args = 2;
607 1.1 christos break;
608 1.1 christos }
609 1.1 christos /* netbsd32_setpriority */
610 1.1 christos case 97: {
611 1.3 christos const struct netbsd32_setpriority_args *p = params;
612 1.1 christos iarg[0] = SCARG(p, which); /* int */
613 1.1 christos iarg[1] = SCARG(p, who); /* int */
614 1.1 christos iarg[2] = SCARG(p, prio); /* int */
615 1.1 christos *n_args = 3;
616 1.1 christos break;
617 1.1 christos }
618 1.1 christos /* netbsd32_profil */
619 1.1 christos case 98: {
620 1.3 christos const struct netbsd32_profil_args *p = params;
621 1.1 christos uarg[0] = (intptr_t) SCARG(p, samples).i32; /* netbsd32_voidp */
622 1.1 christos iarg[1] = SCARG(p, size); /* netbsd32_size_t */
623 1.1 christos iarg[2] = SCARG(p, offset); /* netbsd32_u_long */
624 1.1 christos uarg[3] = SCARG(p, scale); /* u_int */
625 1.1 christos *n_args = 4;
626 1.1 christos break;
627 1.1 christos }
628 1.1 christos /* linux32_sys_statfs */
629 1.1 christos case 99: {
630 1.3 christos const struct linux32_sys_statfs_args *p = params;
631 1.1 christos uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
632 1.1 christos uarg[1] = (intptr_t) SCARG(p, sp).i32; /* linux32_statfsp */
633 1.1 christos *n_args = 2;
634 1.1 christos break;
635 1.1 christos }
636 1.1 christos /* linux32_sys_fstatfs */
637 1.1 christos case 100: {
638 1.3 christos const struct linux32_sys_fstatfs_args *p = params;
639 1.1 christos iarg[0] = SCARG(p, fd); /* int */
640 1.1 christos uarg[1] = (intptr_t) SCARG(p, sp).i32; /* linux32_statfsp */
641 1.1 christos *n_args = 2;
642 1.1 christos break;
643 1.1 christos }
644 1.1 christos /* linux_sys_ioperm */
645 1.1 christos case 101: {
646 1.3 christos const struct linux_sys_ioperm_args *p = params;
647 1.1 christos uarg[0] = SCARG(p, lo); /* unsigned int */
648 1.1 christos uarg[1] = SCARG(p, hi); /* unsigned int */
649 1.1 christos iarg[2] = SCARG(p, val); /* int */
650 1.1 christos *n_args = 3;
651 1.1 christos break;
652 1.1 christos }
653 1.1 christos /* linux32_sys_socketcall */
654 1.1 christos case 102: {
655 1.3 christos const struct linux32_sys_socketcall_args *p = params;
656 1.1 christos iarg[0] = SCARG(p, what); /* int */
657 1.1 christos uarg[1] = (intptr_t) SCARG(p, args).i32; /* netbsd32_voidp */
658 1.1 christos *n_args = 2;
659 1.1 christos break;
660 1.1 christos }
661 1.1 christos /* compat_50_netbsd32_setitimer */
662 1.1 christos case 104: {
663 1.3 christos const struct compat_50_netbsd32_setitimer_args *p = params;
664 1.1 christos iarg[0] = SCARG(p, which); /* int */
665 1.1 christos uarg[1] = (intptr_t) SCARG(p, itv).i32; /* netbsd32_itimerval50p_t */
666 1.1 christos uarg[2] = (intptr_t) SCARG(p, oitv).i32; /* netbsd32_itimerval50p_t */
667 1.1 christos *n_args = 3;
668 1.1 christos break;
669 1.1 christos }
670 1.1 christos /* compat_50_netbsd32_getitimer */
671 1.1 christos case 105: {
672 1.3 christos const struct compat_50_netbsd32_getitimer_args *p = params;
673 1.1 christos iarg[0] = SCARG(p, which); /* int */
674 1.1 christos uarg[1] = (intptr_t) SCARG(p, itv).i32; /* netbsd32_itimerval50p_t */
675 1.1 christos *n_args = 2;
676 1.1 christos break;
677 1.1 christos }
678 1.1 christos /* linux32_sys_stat */
679 1.1 christos case 106: {
680 1.3 christos const struct linux32_sys_stat_args *p = params;
681 1.1 christos uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
682 1.1 christos uarg[1] = (intptr_t) SCARG(p, sp).i32; /* linux32_statp */
683 1.1 christos *n_args = 2;
684 1.1 christos break;
685 1.1 christos }
686 1.1 christos /* linux32_sys_lstat */
687 1.1 christos case 107: {
688 1.3 christos const struct linux32_sys_lstat_args *p = params;
689 1.1 christos uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
690 1.1 christos uarg[1] = (intptr_t) SCARG(p, sp).i32; /* linux32_statp */
691 1.1 christos *n_args = 2;
692 1.1 christos break;
693 1.1 christos }
694 1.1 christos /* linux32_sys_fstat */
695 1.1 christos case 108: {
696 1.3 christos const struct linux32_sys_fstat_args *p = params;
697 1.1 christos iarg[0] = SCARG(p, fd); /* int */
698 1.1 christos uarg[1] = (intptr_t) SCARG(p, sp).i32; /* linux32_statp */
699 1.1 christos *n_args = 2;
700 1.1 christos break;
701 1.1 christos }
702 1.1 christos /* linux32_sys_olduname */
703 1.1 christos case 109: {
704 1.3 christos const struct linux32_sys_olduname_args *p = params;
705 1.1 christos uarg[0] = (intptr_t) SCARG(p, up).i32; /* linux32_oldutsnamep_t */
706 1.1 christos *n_args = 1;
707 1.1 christos break;
708 1.1 christos }
709 1.1 christos /* linux_sys_iopl */
710 1.1 christos case 110: {
711 1.3 christos const struct linux_sys_iopl_args *p = params;
712 1.1 christos iarg[0] = SCARG(p, level); /* int */
713 1.1 christos *n_args = 1;
714 1.1 christos break;
715 1.1 christos }
716 1.1 christos /* linux32_sys_wait4 */
717 1.1 christos case 114: {
718 1.3 christos const struct linux32_sys_wait4_args *p = params;
719 1.1 christos iarg[0] = SCARG(p, pid); /* int */
720 1.1 christos uarg[1] = (intptr_t) SCARG(p, status).i32; /* netbsd32_intp */
721 1.1 christos iarg[2] = SCARG(p, options); /* int */
722 1.1 christos uarg[3] = (intptr_t) SCARG(p, rusage).i32; /* netbsd32_rusage50p_t */
723 1.1 christos *n_args = 4;
724 1.1 christos break;
725 1.1 christos }
726 1.1 christos /* linux32_sys_swapoff */
727 1.1 christos case 115: {
728 1.3 christos const struct linux32_sys_swapoff_args *p = params;
729 1.1 christos uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
730 1.1 christos *n_args = 1;
731 1.1 christos break;
732 1.1 christos }
733 1.1 christos /* linux32_sys_sysinfo */
734 1.1 christos case 116: {
735 1.3 christos const struct linux32_sys_sysinfo_args *p = params;
736 1.1 christos uarg[0] = (intptr_t) SCARG(p, arg).i32; /* linux32_sysinfop_t */
737 1.1 christos *n_args = 1;
738 1.1 christos break;
739 1.1 christos }
740 1.1 christos /* linux32_sys_ipc */
741 1.1 christos case 117: {
742 1.3 christos const struct linux32_sys_ipc_args *p = params;
743 1.1 christos iarg[0] = SCARG(p, what); /* int */
744 1.1 christos iarg[1] = SCARG(p, a1); /* int */
745 1.1 christos iarg[2] = SCARG(p, a2); /* int */
746 1.1 christos iarg[3] = SCARG(p, a3); /* int */
747 1.1 christos uarg[4] = (intptr_t) SCARG(p, ptr).i32; /* netbsd32_voidp */
748 1.1 christos *n_args = 5;
749 1.1 christos break;
750 1.1 christos }
751 1.1 christos /* netbsd32_fsync */
752 1.1 christos case 118: {
753 1.3 christos const struct netbsd32_fsync_args *p = params;
754 1.1 christos iarg[0] = SCARG(p, fd); /* int */
755 1.1 christos *n_args = 1;
756 1.1 christos break;
757 1.1 christos }
758 1.1 christos /* linux32_sys_sigreturn */
759 1.1 christos case 119: {
760 1.3 christos const struct linux32_sys_sigreturn_args *p = params;
761 1.1 christos uarg[0] = (intptr_t) SCARG(p, scp).i32; /* linux32_sigcontextp_t */
762 1.1 christos *n_args = 1;
763 1.1 christos break;
764 1.1 christos }
765 1.1 christos /* linux32_sys_clone */
766 1.1 christos case 120: {
767 1.3 christos const struct linux32_sys_clone_args *p = params;
768 1.1 christos iarg[0] = SCARG(p, flags); /* int */
769 1.1 christos uarg[1] = (intptr_t) SCARG(p, stack).i32; /* netbsd32_voidp */
770 1.1 christos uarg[2] = (intptr_t) SCARG(p, parent_tidptr).i32; /* netbsd32_voidp */
771 1.1 christos uarg[3] = (intptr_t) SCARG(p, tls).i32; /* netbsd32_voidp */
772 1.1 christos uarg[4] = (intptr_t) SCARG(p, child_tidptr).i32; /* netbsd32_voidp */
773 1.1 christos *n_args = 5;
774 1.1 christos break;
775 1.1 christos }
776 1.1 christos /* linux32_sys_setdomainname */
777 1.1 christos case 121: {
778 1.3 christos const struct linux32_sys_setdomainname_args *p = params;
779 1.1 christos uarg[0] = (intptr_t) SCARG(p, domainname).i32; /* netbsd32_charp */
780 1.1 christos iarg[1] = SCARG(p, len); /* int */
781 1.1 christos *n_args = 2;
782 1.1 christos break;
783 1.1 christos }
784 1.1 christos /* linux32_sys_uname */
785 1.1 christos case 122: {
786 1.3 christos const struct linux32_sys_uname_args *p = params;
787 1.1 christos uarg[0] = (intptr_t) SCARG(p, up).i32; /* linux32_utsnamep */
788 1.1 christos *n_args = 1;
789 1.1 christos break;
790 1.1 christos }
791 1.1 christos /* linux32_sys_modify_ldt */
792 1.1 christos case 123: {
793 1.3 christos const struct linux32_sys_modify_ldt_args *p = params;
794 1.1 christos iarg[0] = SCARG(p, func); /* int */
795 1.1 christos uarg[1] = (intptr_t) SCARG(p, ptr).i32; /* netbsd32_charp */
796 1.1 christos iarg[2] = SCARG(p, bytecount); /* netbsd32_size_t */
797 1.1 christos *n_args = 3;
798 1.1 christos break;
799 1.1 christos }
800 1.1 christos /* linux32_sys_mprotect */
801 1.1 christos case 125: {
802 1.3 christos const struct linux32_sys_mprotect_args *p = params;
803 1.1 christos uarg[0] = (intptr_t) SCARG(p, start).i32; /* netbsd32_voidp */
804 1.1 christos iarg[1] = SCARG(p, len); /* netbsd32_size_t */
805 1.1 christos iarg[2] = SCARG(p, prot); /* int */
806 1.1 christos *n_args = 3;
807 1.1 christos break;
808 1.1 christos }
809 1.1 christos /* netbsd32_getpgid */
810 1.1 christos case 132: {
811 1.3 christos const struct netbsd32_getpgid_args *p = params;
812 1.1 christos iarg[0] = SCARG(p, pid); /* pid_t */
813 1.1 christos *n_args = 1;
814 1.1 christos break;
815 1.1 christos }
816 1.1 christos /* netbsd32_fchdir */
817 1.1 christos case 133: {
818 1.3 christos const struct netbsd32_fchdir_args *p = params;
819 1.1 christos iarg[0] = SCARG(p, fd); /* int */
820 1.1 christos *n_args = 1;
821 1.1 christos break;
822 1.1 christos }
823 1.1 christos /* linux32_sys_personality */
824 1.1 christos case 136: {
825 1.3 christos const struct linux32_sys_personality_args *p = params;
826 1.1 christos iarg[0] = SCARG(p, per); /* netbsd32_u_long */
827 1.1 christos *n_args = 1;
828 1.1 christos break;
829 1.1 christos }
830 1.1 christos /* linux32_sys_setfsuid */
831 1.1 christos case 138: {
832 1.3 christos const struct linux32_sys_setfsuid_args *p = params;
833 1.1 christos uarg[0] = SCARG(p, uid); /* uid_t */
834 1.1 christos *n_args = 1;
835 1.1 christos break;
836 1.1 christos }
837 1.1 christos /* linux32_sys_setfsgid */
838 1.1 christos case 139: {
839 1.3 christos const struct linux32_sys_setfsgid_args *p = params;
840 1.1 christos iarg[0] = SCARG(p, gid); /* gid_t */
841 1.1 christos *n_args = 1;
842 1.1 christos break;
843 1.1 christos }
844 1.1 christos /* linux32_sys_llseek */
845 1.1 christos case 140: {
846 1.3 christos const struct linux32_sys_llseek_args *p = params;
847 1.1 christos iarg[0] = SCARG(p, fd); /* int */
848 1.1 christos uarg[1] = SCARG(p, ohigh); /* u_int32_t */
849 1.1 christos uarg[2] = SCARG(p, olow); /* u_int32_t */
850 1.1 christos uarg[3] = (intptr_t) SCARG(p, res).i32; /* netbsd32_voidp */
851 1.1 christos iarg[4] = SCARG(p, whence); /* int */
852 1.1 christos *n_args = 5;
853 1.1 christos break;
854 1.1 christos }
855 1.1 christos /* linux32_sys_getdents */
856 1.1 christos case 141: {
857 1.3 christos const struct linux32_sys_getdents_args *p = params;
858 1.1 christos iarg[0] = SCARG(p, fd); /* int */
859 1.1 christos uarg[1] = (intptr_t) SCARG(p, dent).i32; /* linux32_direntp_t */
860 1.1 christos uarg[2] = SCARG(p, count); /* unsigned int */
861 1.1 christos *n_args = 3;
862 1.1 christos break;
863 1.1 christos }
864 1.1 christos /* linux32_sys_select */
865 1.1 christos case 142: {
866 1.3 christos const struct linux32_sys_select_args *p = params;
867 1.1 christos iarg[0] = SCARG(p, nfds); /* int */
868 1.1 christos uarg[1] = (intptr_t) SCARG(p, readfds).i32; /* netbsd32_fd_setp_t */
869 1.1 christos uarg[2] = (intptr_t) SCARG(p, writefds).i32; /* netbsd32_fd_setp_t */
870 1.1 christos uarg[3] = (intptr_t) SCARG(p, exceptfds).i32; /* netbsd32_fd_setp_t */
871 1.1 christos uarg[4] = (intptr_t) SCARG(p, timeout).i32; /* netbsd32_timeval50p_t */
872 1.1 christos *n_args = 5;
873 1.1 christos break;
874 1.1 christos }
875 1.1 christos /* netbsd32_flock */
876 1.1 christos case 143: {
877 1.3 christos const struct netbsd32_flock_args *p = params;
878 1.1 christos iarg[0] = SCARG(p, fd); /* int */
879 1.1 christos iarg[1] = SCARG(p, how); /* int */
880 1.1 christos *n_args = 2;
881 1.1 christos break;
882 1.1 christos }
883 1.1 christos /* netbsd32___msync13 */
884 1.1 christos case 144: {
885 1.3 christos const struct netbsd32___msync13_args *p = params;
886 1.1 christos uarg[0] = (intptr_t) SCARG(p, addr).i32; /* netbsd32_voidp */
887 1.1 christos iarg[1] = SCARG(p, len); /* netbsd32_size_t */
888 1.1 christos iarg[2] = SCARG(p, flags); /* int */
889 1.1 christos *n_args = 3;
890 1.1 christos break;
891 1.1 christos }
892 1.1 christos /* netbsd32_readv */
893 1.1 christos case 145: {
894 1.3 christos const struct netbsd32_readv_args *p = params;
895 1.1 christos iarg[0] = SCARG(p, fd); /* int */
896 1.1 christos uarg[1] = (intptr_t) SCARG(p, iovp).i32; /* netbsd32_iovecp_t */
897 1.1 christos iarg[2] = SCARG(p, iovcnt); /* int */
898 1.1 christos *n_args = 3;
899 1.1 christos break;
900 1.1 christos }
901 1.1 christos /* netbsd32_writev */
902 1.1 christos case 146: {
903 1.3 christos const struct netbsd32_writev_args *p = params;
904 1.1 christos iarg[0] = SCARG(p, fd); /* int */
905 1.1 christos uarg[1] = (intptr_t) SCARG(p, iovp).i32; /* netbsd32_iovecp_t */
906 1.1 christos iarg[2] = SCARG(p, iovcnt); /* int */
907 1.1 christos *n_args = 3;
908 1.1 christos break;
909 1.1 christos }
910 1.1 christos /* netbsd32_getsid */
911 1.1 christos case 147: {
912 1.3 christos const struct netbsd32_getsid_args *p = params;
913 1.1 christos iarg[0] = SCARG(p, pid); /* pid_t */
914 1.1 christos *n_args = 1;
915 1.1 christos break;
916 1.1 christos }
917 1.1 christos /* linux32_sys_fdatasync */
918 1.1 christos case 148: {
919 1.3 christos const struct linux32_sys_fdatasync_args *p = params;
920 1.1 christos iarg[0] = SCARG(p, fd); /* int */
921 1.1 christos *n_args = 1;
922 1.1 christos break;
923 1.1 christos }
924 1.1 christos /* linux32_sys___sysctl */
925 1.1 christos case 149: {
926 1.3 christos const struct linux32_sys___sysctl_args *p = params;
927 1.1 christos uarg[0] = (intptr_t) SCARG(p, lsp).i32; /* linux32___sysctlp_t */
928 1.1 christos *n_args = 1;
929 1.1 christos break;
930 1.1 christos }
931 1.1 christos /* netbsd32_mlock */
932 1.1 christos case 150: {
933 1.3 christos const struct netbsd32_mlock_args *p = params;
934 1.1 christos uarg[0] = (intptr_t) SCARG(p, addr).i32; /* netbsd32_voidp */
935 1.1 christos iarg[1] = SCARG(p, len); /* netbsd32_size_t */
936 1.1 christos *n_args = 2;
937 1.1 christos break;
938 1.1 christos }
939 1.1 christos /* netbsd32_munlock */
940 1.1 christos case 151: {
941 1.3 christos const struct netbsd32_munlock_args *p = params;
942 1.1 christos uarg[0] = (intptr_t) SCARG(p, addr).i32; /* netbsd32_voidp */
943 1.1 christos iarg[1] = SCARG(p, len); /* netbsd32_size_t */
944 1.1 christos *n_args = 2;
945 1.1 christos break;
946 1.1 christos }
947 1.1 christos /* netbsd32_mlockall */
948 1.1 christos case 152: {
949 1.3 christos const struct netbsd32_mlockall_args *p = params;
950 1.1 christos iarg[0] = SCARG(p, flags); /* int */
951 1.1 christos *n_args = 1;
952 1.1 christos break;
953 1.1 christos }
954 1.1 christos /* sys_munlockall */
955 1.1 christos case 153: {
956 1.1 christos *n_args = 0;
957 1.1 christos break;
958 1.1 christos }
959 1.1 christos /* linux32_sys_sched_setparam */
960 1.1 christos case 154: {
961 1.3 christos const struct linux32_sys_sched_setparam_args *p = params;
962 1.1 christos iarg[0] = SCARG(p, pid); /* pid_t */
963 1.1 christos uarg[1] = (intptr_t) SCARG(p, sp).i32; /* const linux32_sched_paramp_t */
964 1.1 christos *n_args = 2;
965 1.1 christos break;
966 1.1 christos }
967 1.1 christos /* linux32_sys_sched_getparam */
968 1.1 christos case 155: {
969 1.3 christos const struct linux32_sys_sched_getparam_args *p = params;
970 1.1 christos iarg[0] = SCARG(p, pid); /* pid_t */
971 1.1 christos uarg[1] = (intptr_t) SCARG(p, sp).i32; /* linux32_sched_paramp_t */
972 1.1 christos *n_args = 2;
973 1.1 christos break;
974 1.1 christos }
975 1.1 christos /* linux32_sys_sched_setscheduler */
976 1.1 christos case 156: {
977 1.3 christos const struct linux32_sys_sched_setscheduler_args *p = params;
978 1.1 christos iarg[0] = SCARG(p, pid); /* pid_t */
979 1.1 christos iarg[1] = SCARG(p, policy); /* int */
980 1.1 christos uarg[2] = (intptr_t) SCARG(p, sp).i32; /* linux32_sched_paramp_t */
981 1.1 christos *n_args = 3;
982 1.1 christos break;
983 1.1 christos }
984 1.1 christos /* linux32_sys_sched_getscheduler */
985 1.1 christos case 157: {
986 1.3 christos const struct linux32_sys_sched_getscheduler_args *p = params;
987 1.1 christos iarg[0] = SCARG(p, pid); /* pid_t */
988 1.1 christos *n_args = 1;
989 1.1 christos break;
990 1.1 christos }
991 1.1 christos /* linux_sys_sched_yield */
992 1.1 christos case 158: {
993 1.1 christos *n_args = 0;
994 1.1 christos break;
995 1.1 christos }
996 1.1 christos /* linux32_sys_sched_get_priority_max */
997 1.1 christos case 159: {
998 1.3 christos const struct linux32_sys_sched_get_priority_max_args *p = params;
999 1.1 christos iarg[0] = SCARG(p, policy); /* int */
1000 1.1 christos *n_args = 1;
1001 1.1 christos break;
1002 1.1 christos }
1003 1.1 christos /* linux32_sys_sched_get_priority_min */
1004 1.1 christos case 160: {
1005 1.3 christos const struct linux32_sys_sched_get_priority_min_args *p = params;
1006 1.1 christos iarg[0] = SCARG(p, policy); /* int */
1007 1.1 christos *n_args = 1;
1008 1.1 christos break;
1009 1.1 christos }
1010 1.1 christos /* linux32_sys_nanosleep */
1011 1.1 christos case 162: {
1012 1.3 christos const struct linux32_sys_nanosleep_args *p = params;
1013 1.1 christos uarg[0] = (intptr_t) SCARG(p, rqtp).i32; /* linux32_timespecp_t */
1014 1.1 christos uarg[1] = (intptr_t) SCARG(p, rmtp).i32; /* linux32_timespecp_t */
1015 1.1 christos *n_args = 2;
1016 1.1 christos break;
1017 1.1 christos }
1018 1.1 christos /* linux32_sys_mremap */
1019 1.1 christos case 163: {
1020 1.3 christos const struct linux32_sys_mremap_args *p = params;
1021 1.1 christos uarg[0] = (intptr_t) SCARG(p, old_address).i32; /* netbsd32_voidp */
1022 1.1 christos iarg[1] = SCARG(p, old_size); /* netbsd32_size_t */
1023 1.1 christos iarg[2] = SCARG(p, new_size); /* netbsd32_size_t */
1024 1.1 christos iarg[3] = SCARG(p, flags); /* netbsd32_u_long */
1025 1.1 christos *n_args = 4;
1026 1.1 christos break;
1027 1.1 christos }
1028 1.1 christos /* linux32_sys_setresuid16 */
1029 1.1 christos case 164: {
1030 1.3 christos const struct linux32_sys_setresuid16_args *p = params;
1031 1.1 christos iarg[0] = SCARG(p, ruid); /* linux32_uid16_t */
1032 1.1 christos iarg[1] = SCARG(p, euid); /* linux32_uid16_t */
1033 1.1 christos iarg[2] = SCARG(p, suid); /* linux32_uid16_t */
1034 1.1 christos *n_args = 3;
1035 1.1 christos break;
1036 1.1 christos }
1037 1.1 christos /* linux32_sys_getresuid16 */
1038 1.1 christos case 165: {
1039 1.3 christos const struct linux32_sys_getresuid16_args *p = params;
1040 1.1 christos uarg[0] = (intptr_t) SCARG(p, ruid).i32; /* linux32_uid16p_t */
1041 1.1 christos uarg[1] = (intptr_t) SCARG(p, euid).i32; /* linux32_uid16p_t */
1042 1.1 christos uarg[2] = (intptr_t) SCARG(p, suid).i32; /* linux32_uid16p_t */
1043 1.1 christos *n_args = 3;
1044 1.1 christos break;
1045 1.1 christos }
1046 1.1 christos /* netbsd32_poll */
1047 1.1 christos case 168: {
1048 1.3 christos const struct netbsd32_poll_args *p = params;
1049 1.1 christos uarg[0] = (intptr_t) SCARG(p, fds).i32; /* netbsd32_pollfdp_t */
1050 1.1 christos uarg[1] = SCARG(p, nfds); /* u_int */
1051 1.1 christos iarg[2] = SCARG(p, timeout); /* int */
1052 1.1 christos *n_args = 3;
1053 1.1 christos break;
1054 1.1 christos }
1055 1.1 christos /* linux32_sys_setresgid16 */
1056 1.1 christos case 170: {
1057 1.3 christos const struct linux32_sys_setresgid16_args *p = params;
1058 1.1 christos iarg[0] = SCARG(p, rgid); /* linux32_gid16_t */
1059 1.1 christos iarg[1] = SCARG(p, egid); /* linux32_gid16_t */
1060 1.1 christos iarg[2] = SCARG(p, sgid); /* linux32_gid16_t */
1061 1.1 christos *n_args = 3;
1062 1.1 christos break;
1063 1.1 christos }
1064 1.1 christos /* linux32_sys_getresgid16 */
1065 1.1 christos case 171: {
1066 1.3 christos const struct linux32_sys_getresgid16_args *p = params;
1067 1.1 christos uarg[0] = (intptr_t) SCARG(p, rgid).i32; /* linux32_gid16p_t */
1068 1.1 christos uarg[1] = (intptr_t) SCARG(p, egid).i32; /* linux32_gid16p_t */
1069 1.1 christos uarg[2] = (intptr_t) SCARG(p, sgid).i32; /* linux32_gid16p_t */
1070 1.1 christos *n_args = 3;
1071 1.1 christos break;
1072 1.1 christos }
1073 1.1 christos /* linux32_sys_rt_sigreturn */
1074 1.1 christos case 173: {
1075 1.3 christos const struct linux32_sys_rt_sigreturn_args *p = params;
1076 1.1 christos uarg[0] = (intptr_t) SCARG(p, ucp).i32; /* linux32_ucontextp_t */
1077 1.1 christos *n_args = 1;
1078 1.1 christos break;
1079 1.1 christos }
1080 1.1 christos /* linux32_sys_rt_sigaction */
1081 1.1 christos case 174: {
1082 1.3 christos const struct linux32_sys_rt_sigaction_args *p = params;
1083 1.1 christos iarg[0] = SCARG(p, signum); /* int */
1084 1.1 christos uarg[1] = (intptr_t) SCARG(p, nsa).i32; /* linux32_sigactionp_t */
1085 1.1 christos uarg[2] = (intptr_t) SCARG(p, osa).i32; /* linux32_sigactionp_t */
1086 1.1 christos iarg[3] = SCARG(p, sigsetsize); /* netbsd32_size_t */
1087 1.1 christos *n_args = 4;
1088 1.1 christos break;
1089 1.1 christos }
1090 1.1 christos /* linux32_sys_rt_sigprocmask */
1091 1.1 christos case 175: {
1092 1.3 christos const struct linux32_sys_rt_sigprocmask_args *p = params;
1093 1.1 christos iarg[0] = SCARG(p, how); /* int */
1094 1.1 christos uarg[1] = (intptr_t) SCARG(p, set).i32; /* linux32_sigsetp_t */
1095 1.1 christos uarg[2] = (intptr_t) SCARG(p, oset).i32; /* linux32_sigsetp_t */
1096 1.1 christos iarg[3] = SCARG(p, sigsetsize); /* netbsd32_size_t */
1097 1.1 christos *n_args = 4;
1098 1.1 christos break;
1099 1.1 christos }
1100 1.1 christos /* linux32_sys_rt_sigpending */
1101 1.1 christos case 176: {
1102 1.3 christos const struct linux32_sys_rt_sigpending_args *p = params;
1103 1.1 christos uarg[0] = (intptr_t) SCARG(p, set).i32; /* linux32_sigsetp_t */
1104 1.1 christos iarg[1] = SCARG(p, sigsetsize); /* netbsd32_size_t */
1105 1.1 christos *n_args = 2;
1106 1.1 christos break;
1107 1.1 christos }
1108 1.1 christos /* linux32_sys_rt_sigtimedwait */
1109 1.1 christos case 177: {
1110 1.3 christos const struct linux32_sys_rt_sigtimedwait_args *p = params;
1111 1.1 christos uarg[0] = (intptr_t) SCARG(p, set).i32; /* const linux32_sigsetp_t */
1112 1.1 christos uarg[1] = (intptr_t) SCARG(p, info).i32; /* linux32_siginfop_t */
1113 1.1 christos uarg[2] = (intptr_t) SCARG(p, timeout).i32; /* const linux32_timespecp_t */
1114 1.1 christos *n_args = 3;
1115 1.1 christos break;
1116 1.1 christos }
1117 1.1 christos /* linux32_sys_rt_queueinfo */
1118 1.1 christos case 178: {
1119 1.3 christos const struct linux32_sys_rt_queueinfo_args *p = params;
1120 1.1 christos iarg[0] = SCARG(p, pid); /* int */
1121 1.1 christos iarg[1] = SCARG(p, sig); /* int */
1122 1.1 christos uarg[2] = (intptr_t) SCARG(p, uinfo).i32; /* linux32_siginfop_t */
1123 1.1 christos *n_args = 3;
1124 1.1 christos break;
1125 1.1 christos }
1126 1.1 christos /* linux32_sys_rt_sigsuspend */
1127 1.1 christos case 179: {
1128 1.3 christos const struct linux32_sys_rt_sigsuspend_args *p = params;
1129 1.1 christos uarg[0] = (intptr_t) SCARG(p, unewset).i32; /* linux32_sigsetp_t */
1130 1.1 christos iarg[1] = SCARG(p, sigsetsize); /* netbsd32_size_t */
1131 1.1 christos *n_args = 2;
1132 1.1 christos break;
1133 1.1 christos }
1134 1.1 christos /* linux32_sys_pread */
1135 1.1 christos case 180: {
1136 1.3 christos const struct linux32_sys_pread_args *p = params;
1137 1.1 christos iarg[0] = SCARG(p, fd); /* int */
1138 1.1 christos uarg[1] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_voidp */
1139 1.1 christos iarg[2] = SCARG(p, nbyte); /* netbsd32_size_t */
1140 1.1 christos iarg[3] = SCARG(p, offset); /* netbsd32_off_t */
1141 1.1 christos *n_args = 4;
1142 1.1 christos break;
1143 1.1 christos }
1144 1.1 christos /* linux32_sys_pwrite */
1145 1.1 christos case 181: {
1146 1.3 christos const struct linux32_sys_pwrite_args *p = params;
1147 1.1 christos iarg[0] = SCARG(p, fd); /* int */
1148 1.1 christos uarg[1] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_voidp */
1149 1.1 christos iarg[2] = SCARG(p, nbyte); /* netbsd32_size_t */
1150 1.1 christos iarg[3] = SCARG(p, offset); /* netbsd32_off_t */
1151 1.1 christos *n_args = 4;
1152 1.1 christos break;
1153 1.1 christos }
1154 1.1 christos /* linux32_sys_chown16 */
1155 1.1 christos case 182: {
1156 1.3 christos const struct linux32_sys_chown16_args *p = params;
1157 1.1 christos uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
1158 1.1 christos iarg[1] = SCARG(p, uid); /* linux32_uid16_t */
1159 1.1 christos iarg[2] = SCARG(p, gid); /* linux32_gid16_t */
1160 1.1 christos *n_args = 3;
1161 1.1 christos break;
1162 1.1 christos }
1163 1.1 christos /* netbsd32___getcwd */
1164 1.1 christos case 183: {
1165 1.3 christos const struct netbsd32___getcwd_args *p = params;
1166 1.1 christos uarg[0] = (intptr_t) SCARG(p, bufp).i32; /* netbsd32_charp */
1167 1.1 christos iarg[1] = SCARG(p, length); /* netbsd32_size_t */
1168 1.1 christos *n_args = 2;
1169 1.1 christos break;
1170 1.1 christos }
1171 1.1 christos /* sys___vfork14 */
1172 1.1 christos case 190: {
1173 1.1 christos *n_args = 0;
1174 1.1 christos break;
1175 1.1 christos }
1176 1.1 christos /* linux32_sys_ugetrlimit */
1177 1.1 christos case 191: {
1178 1.3 christos const struct linux32_sys_ugetrlimit_args *p = params;
1179 1.1 christos iarg[0] = SCARG(p, which); /* int */
1180 1.1 christos uarg[1] = (intptr_t) SCARG(p, rlp).i32; /* netbsd32_orlimitp_t */
1181 1.1 christos *n_args = 2;
1182 1.1 christos break;
1183 1.1 christos }
1184 1.1 christos /* linux32_sys_mmap2 */
1185 1.1 christos case 192: {
1186 1.3 christos const struct linux32_sys_mmap2_args *p = params;
1187 1.1 christos iarg[0] = SCARG(p, addr); /* netbsd32_u_long */
1188 1.1 christos iarg[1] = SCARG(p, len); /* netbsd32_size_t */
1189 1.1 christos iarg[2] = SCARG(p, prot); /* int */
1190 1.1 christos iarg[3] = SCARG(p, flags); /* int */
1191 1.1 christos iarg[4] = SCARG(p, fd); /* int */
1192 1.1 christos iarg[5] = SCARG(p, offset); /* linux32_off_t */
1193 1.1 christos *n_args = 6;
1194 1.1 christos break;
1195 1.1 christos }
1196 1.1 christos /* linux32_sys_truncate64 */
1197 1.1 christos case 193: {
1198 1.3 christos const struct linux32_sys_truncate64_args *p = params;
1199 1.1 christos uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
1200 1.1 christos uarg[1] = SCARG(p, lenlo); /* uint32_t */
1201 1.1 christos uarg[2] = SCARG(p, lenhi); /* uint32_t */
1202 1.1 christos *n_args = 3;
1203 1.1 christos break;
1204 1.1 christos }
1205 1.1 christos /* linux32_sys_ftruncate64 */
1206 1.1 christos case 194: {
1207 1.3 christos const struct linux32_sys_ftruncate64_args *p = params;
1208 1.1 christos uarg[0] = SCARG(p, fd); /* unsigned int */
1209 1.1 christos uarg[1] = SCARG(p, lenlo); /* uint32_t */
1210 1.1 christos uarg[2] = SCARG(p, lenhi); /* uint32_t */
1211 1.1 christos *n_args = 3;
1212 1.1 christos break;
1213 1.1 christos }
1214 1.1 christos /* linux32_sys_stat64 */
1215 1.1 christos case 195: {
1216 1.3 christos const struct linux32_sys_stat64_args *p = params;
1217 1.1 christos uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
1218 1.1 christos uarg[1] = (intptr_t) SCARG(p, sp).i32; /* linux32_stat64p */
1219 1.1 christos *n_args = 2;
1220 1.1 christos break;
1221 1.1 christos }
1222 1.1 christos /* linux32_sys_lstat64 */
1223 1.1 christos case 196: {
1224 1.3 christos const struct linux32_sys_lstat64_args *p = params;
1225 1.1 christos uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
1226 1.1 christos uarg[1] = (intptr_t) SCARG(p, sp).i32; /* linux32_stat64p */
1227 1.1 christos *n_args = 2;
1228 1.1 christos break;
1229 1.1 christos }
1230 1.1 christos /* linux32_sys_fstat64 */
1231 1.1 christos case 197: {
1232 1.3 christos const struct linux32_sys_fstat64_args *p = params;
1233 1.1 christos iarg[0] = SCARG(p, fd); /* int */
1234 1.1 christos uarg[1] = (intptr_t) SCARG(p, sp).i32; /* linux32_stat64p */
1235 1.1 christos *n_args = 2;
1236 1.1 christos break;
1237 1.1 christos }
1238 1.1 christos /* netbsd32___posix_lchown */
1239 1.1 christos case 198: {
1240 1.3 christos const struct netbsd32___posix_lchown_args *p = params;
1241 1.1 christos uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
1242 1.1 christos uarg[1] = SCARG(p, uid); /* uid_t */
1243 1.1 christos iarg[2] = SCARG(p, gid); /* gid_t */
1244 1.1 christos *n_args = 3;
1245 1.1 christos break;
1246 1.1 christos }
1247 1.1 christos /* sys_getuid */
1248 1.1 christos case 199: {
1249 1.1 christos *n_args = 0;
1250 1.1 christos break;
1251 1.1 christos }
1252 1.1 christos /* sys_getgid */
1253 1.1 christos case 200: {
1254 1.1 christos *n_args = 0;
1255 1.1 christos break;
1256 1.1 christos }
1257 1.1 christos /* sys_geteuid */
1258 1.1 christos case 201: {
1259 1.1 christos *n_args = 0;
1260 1.1 christos break;
1261 1.1 christos }
1262 1.1 christos /* sys_getegid */
1263 1.1 christos case 202: {
1264 1.1 christos *n_args = 0;
1265 1.1 christos break;
1266 1.1 christos }
1267 1.1 christos /* netbsd32_setreuid */
1268 1.1 christos case 203: {
1269 1.3 christos const struct netbsd32_setreuid_args *p = params;
1270 1.1 christos uarg[0] = SCARG(p, ruid); /* uid_t */
1271 1.1 christos uarg[1] = SCARG(p, euid); /* uid_t */
1272 1.1 christos *n_args = 2;
1273 1.1 christos break;
1274 1.1 christos }
1275 1.1 christos /* netbsd32_setregid */
1276 1.1 christos case 204: {
1277 1.3 christos const struct netbsd32_setregid_args *p = params;
1278 1.1 christos iarg[0] = SCARG(p, rgid); /* gid_t */
1279 1.1 christos iarg[1] = SCARG(p, egid); /* gid_t */
1280 1.1 christos *n_args = 2;
1281 1.1 christos break;
1282 1.1 christos }
1283 1.1 christos /* netbsd32_getgroups */
1284 1.1 christos case 205: {
1285 1.3 christos const struct netbsd32_getgroups_args *p = params;
1286 1.1 christos iarg[0] = SCARG(p, gidsetsize); /* int */
1287 1.1 christos uarg[1] = (intptr_t) SCARG(p, gidset).i32; /* netbsd32_gid_tp */
1288 1.1 christos *n_args = 2;
1289 1.1 christos break;
1290 1.1 christos }
1291 1.1 christos /* netbsd32_setgroups */
1292 1.1 christos case 206: {
1293 1.3 christos const struct netbsd32_setgroups_args *p = params;
1294 1.1 christos iarg[0] = SCARG(p, gidsetsize); /* int */
1295 1.1 christos uarg[1] = (intptr_t) SCARG(p, gidset).i32; /* netbsd32_gid_tp */
1296 1.1 christos *n_args = 2;
1297 1.1 christos break;
1298 1.1 christos }
1299 1.1 christos /* netbsd32___posix_fchown */
1300 1.1 christos case 207: {
1301 1.3 christos const struct netbsd32___posix_fchown_args *p = params;
1302 1.1 christos iarg[0] = SCARG(p, fd); /* int */
1303 1.1 christos uarg[1] = SCARG(p, uid); /* uid_t */
1304 1.1 christos iarg[2] = SCARG(p, gid); /* gid_t */
1305 1.1 christos *n_args = 3;
1306 1.1 christos break;
1307 1.1 christos }
1308 1.1 christos /* linux32_sys_setresuid */
1309 1.1 christos case 208: {
1310 1.3 christos const struct linux32_sys_setresuid_args *p = params;
1311 1.1 christos uarg[0] = SCARG(p, ruid); /* uid_t */
1312 1.1 christos uarg[1] = SCARG(p, euid); /* uid_t */
1313 1.1 christos uarg[2] = SCARG(p, suid); /* uid_t */
1314 1.1 christos *n_args = 3;
1315 1.1 christos break;
1316 1.1 christos }
1317 1.1 christos /* linux32_sys_getresuid */
1318 1.1 christos case 209: {
1319 1.3 christos const struct linux32_sys_getresuid_args *p = params;
1320 1.1 christos uarg[0] = (intptr_t) SCARG(p, ruid).i32; /* linux32_uidp_t */
1321 1.1 christos uarg[1] = (intptr_t) SCARG(p, euid).i32; /* linux32_uidp_t */
1322 1.1 christos uarg[2] = (intptr_t) SCARG(p, suid).i32; /* linux32_uidp_t */
1323 1.1 christos *n_args = 3;
1324 1.1 christos break;
1325 1.1 christos }
1326 1.1 christos /* linux32_sys_setresgid */
1327 1.1 christos case 210: {
1328 1.3 christos const struct linux32_sys_setresgid_args *p = params;
1329 1.1 christos iarg[0] = SCARG(p, rgid); /* gid_t */
1330 1.1 christos iarg[1] = SCARG(p, egid); /* gid_t */
1331 1.1 christos iarg[2] = SCARG(p, sgid); /* gid_t */
1332 1.1 christos *n_args = 3;
1333 1.1 christos break;
1334 1.1 christos }
1335 1.1 christos /* linux32_sys_getresgid */
1336 1.1 christos case 211: {
1337 1.3 christos const struct linux32_sys_getresgid_args *p = params;
1338 1.1 christos uarg[0] = (intptr_t) SCARG(p, rgid).i32; /* linux32_gidp_t */
1339 1.1 christos uarg[1] = (intptr_t) SCARG(p, egid).i32; /* linux32_gidp_t */
1340 1.1 christos uarg[2] = (intptr_t) SCARG(p, sgid).i32; /* linux32_gidp_t */
1341 1.1 christos *n_args = 3;
1342 1.1 christos break;
1343 1.1 christos }
1344 1.1 christos /* netbsd32___posix_chown */
1345 1.1 christos case 212: {
1346 1.3 christos const struct netbsd32___posix_chown_args *p = params;
1347 1.1 christos uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
1348 1.1 christos uarg[1] = SCARG(p, uid); /* uid_t */
1349 1.1 christos iarg[2] = SCARG(p, gid); /* gid_t */
1350 1.1 christos *n_args = 3;
1351 1.1 christos break;
1352 1.1 christos }
1353 1.1 christos /* netbsd32_setuid */
1354 1.1 christos case 213: {
1355 1.3 christos const struct netbsd32_setuid_args *p = params;
1356 1.1 christos uarg[0] = SCARG(p, uid); /* uid_t */
1357 1.1 christos *n_args = 1;
1358 1.1 christos break;
1359 1.1 christos }
1360 1.1 christos /* netbsd32_setgid */
1361 1.1 christos case 214: {
1362 1.3 christos const struct netbsd32_setgid_args *p = params;
1363 1.1 christos iarg[0] = SCARG(p, gid); /* gid_t */
1364 1.1 christos *n_args = 1;
1365 1.1 christos break;
1366 1.1 christos }
1367 1.1 christos /* linux32_sys_setfsuid */
1368 1.1 christos case 215: {
1369 1.3 christos const struct linux32_sys_setfsuid_args *p = params;
1370 1.1 christos uarg[0] = SCARG(p, uid); /* uid_t */
1371 1.1 christos *n_args = 1;
1372 1.1 christos break;
1373 1.1 christos }
1374 1.1 christos /* linux32_sys_setfsgid */
1375 1.1 christos case 216: {
1376 1.3 christos const struct linux32_sys_setfsgid_args *p = params;
1377 1.1 christos iarg[0] = SCARG(p, gid); /* gid_t */
1378 1.1 christos *n_args = 1;
1379 1.1 christos break;
1380 1.1 christos }
1381 1.1 christos /* netbsd32_mincore */
1382 1.1 christos case 218: {
1383 1.3 christos const struct netbsd32_mincore_args *p = params;
1384 1.1 christos uarg[0] = (intptr_t) SCARG(p, addr).i32; /* netbsd32_voidp */
1385 1.1 christos iarg[1] = SCARG(p, len); /* netbsd32_size_t */
1386 1.1 christos uarg[2] = (intptr_t) SCARG(p, vec).i32; /* netbsd32_charp */
1387 1.1 christos *n_args = 3;
1388 1.1 christos break;
1389 1.1 christos }
1390 1.1 christos /* netbsd32_madvise */
1391 1.1 christos case 219: {
1392 1.3 christos const struct netbsd32_madvise_args *p = params;
1393 1.1 christos uarg[0] = (intptr_t) SCARG(p, addr).i32; /* netbsd32_voidp */
1394 1.1 christos iarg[1] = SCARG(p, len); /* netbsd32_size_t */
1395 1.1 christos iarg[2] = SCARG(p, behav); /* int */
1396 1.1 christos *n_args = 3;
1397 1.1 christos break;
1398 1.1 christos }
1399 1.1 christos /* linux32_sys_getdents64 */
1400 1.1 christos case 220: {
1401 1.3 christos const struct linux32_sys_getdents64_args *p = params;
1402 1.1 christos iarg[0] = SCARG(p, fd); /* int */
1403 1.1 christos uarg[1] = (intptr_t) SCARG(p, dent).i32; /* linux32_dirent64p_t */
1404 1.1 christos uarg[2] = SCARG(p, count); /* unsigned int */
1405 1.1 christos *n_args = 3;
1406 1.1 christos break;
1407 1.1 christos }
1408 1.1 christos #define linux32_sys_fcntl64 linux32_sys_fcntl
1409 1.1 christos #define linux32_sys_fcntl64_args linux32_sys_fcntl_args
1410 1.1 christos /* linux32_sys_fcntl64 */
1411 1.1 christos case 221: {
1412 1.3 christos const struct linux32_sys_fcntl64_args *p = params;
1413 1.1 christos iarg[0] = SCARG(p, fd); /* int */
1414 1.1 christos iarg[1] = SCARG(p, cmd); /* int */
1415 1.1 christos uarg[2] = (intptr_t) SCARG(p, arg).i32; /* netbsd32_voidp */
1416 1.1 christos *n_args = 3;
1417 1.1 christos break;
1418 1.1 christos }
1419 1.1 christos /* linux_sys_gettid */
1420 1.1 christos case 224: {
1421 1.1 christos *n_args = 0;
1422 1.1 christos break;
1423 1.1 christos }
1424 1.1 christos /* netbsd32_setxattr */
1425 1.1 christos case 226: {
1426 1.3 christos const struct netbsd32_setxattr_args *p = params;
1427 1.1 christos uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
1428 1.1 christos uarg[1] = (intptr_t) SCARG(p, name).i32; /* netbsd32_charp */
1429 1.1 christos uarg[2] = (intptr_t) SCARG(p, value).i32; /* netbsd32_voidp */
1430 1.1 christos iarg[3] = SCARG(p, size); /* netbsd32_size_t */
1431 1.1 christos iarg[4] = SCARG(p, flags); /* int */
1432 1.1 christos *n_args = 5;
1433 1.1 christos break;
1434 1.1 christos }
1435 1.1 christos /* netbsd32_lsetxattr */
1436 1.1 christos case 227: {
1437 1.3 christos const struct netbsd32_lsetxattr_args *p = params;
1438 1.1 christos uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
1439 1.1 christos uarg[1] = (intptr_t) SCARG(p, name).i32; /* netbsd32_charp */
1440 1.1 christos uarg[2] = (intptr_t) SCARG(p, value).i32; /* netbsd32_voidp */
1441 1.1 christos iarg[3] = SCARG(p, size); /* netbsd32_size_t */
1442 1.1 christos iarg[4] = SCARG(p, flags); /* int */
1443 1.1 christos *n_args = 5;
1444 1.1 christos break;
1445 1.1 christos }
1446 1.1 christos /* netbsd32_fsetxattr */
1447 1.1 christos case 228: {
1448 1.3 christos const struct netbsd32_fsetxattr_args *p = params;
1449 1.1 christos iarg[0] = SCARG(p, fd); /* int */
1450 1.1 christos uarg[1] = (intptr_t) SCARG(p, name).i32; /* netbsd32_charp */
1451 1.1 christos uarg[2] = (intptr_t) SCARG(p, value).i32; /* netbsd32_voidp */
1452 1.1 christos iarg[3] = SCARG(p, size); /* netbsd32_size_t */
1453 1.1 christos iarg[4] = SCARG(p, flags); /* int */
1454 1.1 christos *n_args = 5;
1455 1.1 christos break;
1456 1.1 christos }
1457 1.1 christos /* netbsd32_getxattr */
1458 1.1 christos case 229: {
1459 1.3 christos const struct netbsd32_getxattr_args *p = params;
1460 1.1 christos uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
1461 1.1 christos uarg[1] = (intptr_t) SCARG(p, name).i32; /* netbsd32_charp */
1462 1.1 christos uarg[2] = (intptr_t) SCARG(p, value).i32; /* netbsd32_voidp */
1463 1.1 christos iarg[3] = SCARG(p, size); /* netbsd32_size_t */
1464 1.1 christos *n_args = 4;
1465 1.1 christos break;
1466 1.1 christos }
1467 1.1 christos /* netbsd32_lgetxattr */
1468 1.1 christos case 230: {
1469 1.3 christos const struct netbsd32_lgetxattr_args *p = params;
1470 1.1 christos uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
1471 1.1 christos uarg[1] = (intptr_t) SCARG(p, name).i32; /* netbsd32_charp */
1472 1.1 christos uarg[2] = (intptr_t) SCARG(p, value).i32; /* netbsd32_voidp */
1473 1.1 christos iarg[3] = SCARG(p, size); /* netbsd32_size_t */
1474 1.1 christos *n_args = 4;
1475 1.1 christos break;
1476 1.1 christos }
1477 1.1 christos /* netbsd32_fgetxattr */
1478 1.1 christos case 231: {
1479 1.3 christos const struct netbsd32_fgetxattr_args *p = params;
1480 1.1 christos iarg[0] = SCARG(p, fd); /* int */
1481 1.1 christos uarg[1] = (intptr_t) SCARG(p, name).i32; /* netbsd32_charp */
1482 1.1 christos uarg[2] = (intptr_t) SCARG(p, value).i32; /* netbsd32_voidp */
1483 1.1 christos iarg[3] = SCARG(p, size); /* netbsd32_size_t */
1484 1.1 christos *n_args = 4;
1485 1.1 christos break;
1486 1.1 christos }
1487 1.1 christos /* netbsd32_listxattr */
1488 1.1 christos case 232: {
1489 1.3 christos const struct netbsd32_listxattr_args *p = params;
1490 1.1 christos uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
1491 1.1 christos uarg[1] = (intptr_t) SCARG(p, list).i32; /* netbsd32_charp */
1492 1.1 christos iarg[2] = SCARG(p, size); /* netbsd32_size_t */
1493 1.1 christos *n_args = 3;
1494 1.1 christos break;
1495 1.1 christos }
1496 1.1 christos /* netbsd32_llistxattr */
1497 1.1 christos case 233: {
1498 1.3 christos const struct netbsd32_llistxattr_args *p = params;
1499 1.1 christos uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
1500 1.1 christos uarg[1] = (intptr_t) SCARG(p, list).i32; /* netbsd32_charp */
1501 1.1 christos iarg[2] = SCARG(p, size); /* netbsd32_size_t */
1502 1.1 christos *n_args = 3;
1503 1.1 christos break;
1504 1.1 christos }
1505 1.1 christos /* netbsd32_flistxattr */
1506 1.1 christos case 234: {
1507 1.3 christos const struct netbsd32_flistxattr_args *p = params;
1508 1.1 christos iarg[0] = SCARG(p, fd); /* int */
1509 1.1 christos uarg[1] = (intptr_t) SCARG(p, list).i32; /* netbsd32_charp */
1510 1.1 christos iarg[2] = SCARG(p, size); /* netbsd32_size_t */
1511 1.1 christos *n_args = 3;
1512 1.1 christos break;
1513 1.1 christos }
1514 1.1 christos /* netbsd32_removexattr */
1515 1.1 christos case 235: {
1516 1.3 christos const struct netbsd32_removexattr_args *p = params;
1517 1.1 christos uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
1518 1.1 christos uarg[1] = (intptr_t) SCARG(p, name).i32; /* netbsd32_charp */
1519 1.1 christos *n_args = 2;
1520 1.1 christos break;
1521 1.1 christos }
1522 1.1 christos /* netbsd32_lremovexattr */
1523 1.1 christos case 236: {
1524 1.3 christos const struct netbsd32_lremovexattr_args *p = params;
1525 1.1 christos uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
1526 1.1 christos uarg[1] = (intptr_t) SCARG(p, name).i32; /* netbsd32_charp */
1527 1.1 christos *n_args = 2;
1528 1.1 christos break;
1529 1.1 christos }
1530 1.1 christos /* netbsd32_fremovexattr */
1531 1.1 christos case 237: {
1532 1.3 christos const struct netbsd32_fremovexattr_args *p = params;
1533 1.1 christos iarg[0] = SCARG(p, fd); /* int */
1534 1.1 christos uarg[1] = (intptr_t) SCARG(p, name).i32; /* netbsd32_charp */
1535 1.1 christos *n_args = 2;
1536 1.1 christos break;
1537 1.1 christos }
1538 1.1 christos /* linux32_sys_tkill */
1539 1.1 christos case 238: {
1540 1.3 christos const struct linux32_sys_tkill_args *p = params;
1541 1.1 christos iarg[0] = SCARG(p, tid); /* int */
1542 1.1 christos iarg[1] = SCARG(p, sig); /* int */
1543 1.1 christos *n_args = 2;
1544 1.1 christos break;
1545 1.1 christos }
1546 1.1 christos /* linux32_sys_futex */
1547 1.1 christos case 240: {
1548 1.3 christos const struct linux32_sys_futex_args *p = params;
1549 1.1 christos uarg[0] = (intptr_t) SCARG(p, uaddr).i32; /* linux32_intp_t */
1550 1.1 christos iarg[1] = SCARG(p, op); /* int */
1551 1.1 christos iarg[2] = SCARG(p, val); /* int */
1552 1.1 christos uarg[3] = (intptr_t) SCARG(p, timeout).i32; /* linux32_timespecp_t */
1553 1.1 christos uarg[4] = (intptr_t) SCARG(p, uaddr2).i32; /* linux32_intp_t */
1554 1.1 christos iarg[5] = SCARG(p, val3); /* int */
1555 1.1 christos *n_args = 6;
1556 1.1 christos break;
1557 1.1 christos }
1558 1.1 christos /* linux32_sys_sched_setaffinity */
1559 1.1 christos case 241: {
1560 1.3 christos const struct linux32_sys_sched_setaffinity_args *p = params;
1561 1.1 christos iarg[0] = SCARG(p, pid); /* pid_t */
1562 1.1 christos uarg[1] = SCARG(p, len); /* unsigned int */
1563 1.1 christos uarg[2] = (intptr_t) SCARG(p, mask).i32; /* linux32_ulongp_t */
1564 1.1 christos *n_args = 3;
1565 1.1 christos break;
1566 1.1 christos }
1567 1.1 christos /* linux32_sys_sched_getaffinity */
1568 1.1 christos case 242: {
1569 1.3 christos const struct linux32_sys_sched_getaffinity_args *p = params;
1570 1.1 christos iarg[0] = SCARG(p, pid); /* pid_t */
1571 1.1 christos uarg[1] = SCARG(p, len); /* unsigned int */
1572 1.1 christos uarg[2] = (intptr_t) SCARG(p, mask).i32; /* linux32_ulongp_t */
1573 1.1 christos *n_args = 3;
1574 1.1 christos break;
1575 1.1 christos }
1576 1.1 christos /* linux32_sys_set_thread_area */
1577 1.1 christos case 243: {
1578 1.3 christos const struct linux32_sys_set_thread_area_args *p = params;
1579 1.1 christos uarg[0] = (intptr_t) SCARG(p, desc).i32; /* linux32_user_descp_t */
1580 1.1 christos *n_args = 1;
1581 1.1 christos break;
1582 1.1 christos }
1583 1.1 christos /* linux32_sys_get_thread_area */
1584 1.1 christos case 244: {
1585 1.3 christos const struct linux32_sys_get_thread_area_args *p = params;
1586 1.1 christos uarg[0] = (intptr_t) SCARG(p, desc).i32; /* linux32_user_descp_t */
1587 1.1 christos *n_args = 1;
1588 1.1 christos break;
1589 1.1 christos }
1590 1.1 christos /* linux32_sys_fadvise64 */
1591 1.1 christos case 250: {
1592 1.3 christos const struct linux32_sys_fadvise64_args *p = params;
1593 1.1 christos iarg[0] = SCARG(p, fd); /* int */
1594 1.1 christos uarg[1] = SCARG(p, offlo); /* uint32_t */
1595 1.1 christos uarg[2] = SCARG(p, offhi); /* uint32_t */
1596 1.1 christos iarg[3] = SCARG(p, len); /* linux32_size_t */
1597 1.1 christos iarg[4] = SCARG(p, advice); /* int */
1598 1.1 christos *n_args = 5;
1599 1.1 christos break;
1600 1.1 christos }
1601 1.1 christos /* linux32_sys_exit_group */
1602 1.1 christos case 252: {
1603 1.3 christos const struct linux32_sys_exit_group_args *p = params;
1604 1.1 christos iarg[0] = SCARG(p, error_code); /* int */
1605 1.1 christos *n_args = 1;
1606 1.1 christos break;
1607 1.1 christos }
1608 1.1 christos /* linux32_sys_set_tid_address */
1609 1.1 christos case 258: {
1610 1.3 christos const struct linux32_sys_set_tid_address_args *p = params;
1611 1.1 christos uarg[0] = (intptr_t) SCARG(p, tid).i32; /* linux32_intp_t */
1612 1.1 christos *n_args = 1;
1613 1.1 christos break;
1614 1.1 christos }
1615 1.9 thorpej /* linux32_sys_timer_create */
1616 1.9 thorpej case 259: {
1617 1.9 thorpej const struct linux32_sys_timer_create_args *p = params;
1618 1.9 thorpej iarg[0] = SCARG(p, clockid); /* clockid_t */
1619 1.9 thorpej uarg[1] = (intptr_t) SCARG(p, evp); /* struct linux32_sigevent * */
1620 1.9 thorpej uarg[2] = (intptr_t) SCARG(p, timerid); /* timer_t * */
1621 1.9 thorpej *n_args = 3;
1622 1.9 thorpej break;
1623 1.9 thorpej }
1624 1.9 thorpej /* linux32_sys_timer_settime */
1625 1.9 thorpej case 260: {
1626 1.9 thorpej const struct linux32_sys_timer_settime_args *p = params;
1627 1.9 thorpej iarg[0] = SCARG(p, timerid); /* timer_t */
1628 1.9 thorpej iarg[1] = SCARG(p, flags); /* int */
1629 1.9 thorpej uarg[2] = (intptr_t) SCARG(p, tim); /* const struct linux32_itimerspec * */
1630 1.9 thorpej uarg[3] = (intptr_t) SCARG(p, otim); /* struct linux32_itimerspec * */
1631 1.9 thorpej *n_args = 4;
1632 1.9 thorpej break;
1633 1.9 thorpej }
1634 1.9 thorpej /* linux32_sys_timer_gettime */
1635 1.9 thorpej case 261: {
1636 1.9 thorpej const struct linux32_sys_timer_gettime_args *p = params;
1637 1.9 thorpej iarg[0] = SCARG(p, timerid); /* timer_t */
1638 1.9 thorpej uarg[1] = (intptr_t) SCARG(p, tim); /* struct linux32_itimerspec * */
1639 1.9 thorpej *n_args = 2;
1640 1.9 thorpej break;
1641 1.9 thorpej }
1642 1.9 thorpej /* sys_timer_getoverrun */
1643 1.9 thorpej case 262: {
1644 1.9 thorpej const struct sys_timer_getoverrun_args *p = params;
1645 1.9 thorpej iarg[0] = SCARG(p, timerid); /* timer_t */
1646 1.9 thorpej *n_args = 1;
1647 1.9 thorpej break;
1648 1.9 thorpej }
1649 1.9 thorpej /* sys_timer_delete */
1650 1.9 thorpej case 263: {
1651 1.9 thorpej const struct sys_timer_delete_args *p = params;
1652 1.9 thorpej iarg[0] = SCARG(p, timerid); /* timer_t */
1653 1.9 thorpej *n_args = 1;
1654 1.9 thorpej break;
1655 1.9 thorpej }
1656 1.1 christos /* linux32_sys_clock_settime */
1657 1.1 christos case 264: {
1658 1.3 christos const struct linux32_sys_clock_settime_args *p = params;
1659 1.1 christos iarg[0] = SCARG(p, which); /* clockid_t */
1660 1.1 christos uarg[1] = (intptr_t) SCARG(p, tp).i32; /* linux32_timespecp_t */
1661 1.1 christos *n_args = 2;
1662 1.1 christos break;
1663 1.1 christos }
1664 1.1 christos /* linux32_sys_clock_gettime */
1665 1.1 christos case 265: {
1666 1.3 christos const struct linux32_sys_clock_gettime_args *p = params;
1667 1.1 christos iarg[0] = SCARG(p, which); /* clockid_t */
1668 1.1 christos uarg[1] = (intptr_t) SCARG(p, tp).i32; /* linux32_timespecp_t */
1669 1.1 christos *n_args = 2;
1670 1.1 christos break;
1671 1.1 christos }
1672 1.1 christos /* linux32_sys_clock_getres */
1673 1.1 christos case 266: {
1674 1.3 christos const struct linux32_sys_clock_getres_args *p = params;
1675 1.1 christos iarg[0] = SCARG(p, which); /* clockid_t */
1676 1.1 christos uarg[1] = (intptr_t) SCARG(p, tp).i32; /* linux32_timespecp_t */
1677 1.1 christos *n_args = 2;
1678 1.1 christos break;
1679 1.1 christos }
1680 1.1 christos /* linux32_sys_clock_nanosleep */
1681 1.1 christos case 267: {
1682 1.3 christos const struct linux32_sys_clock_nanosleep_args *p = params;
1683 1.1 christos iarg[0] = SCARG(p, which); /* clockid_t */
1684 1.1 christos iarg[1] = SCARG(p, flags); /* int */
1685 1.1 christos uarg[2] = (intptr_t) SCARG(p, rqtp).i32; /* linux32_timespecp_t */
1686 1.1 christos uarg[3] = (intptr_t) SCARG(p, rmtp).i32; /* linux32_timespecp_t */
1687 1.1 christos *n_args = 4;
1688 1.1 christos break;
1689 1.1 christos }
1690 1.1 christos /* linux32_sys_statfs64 */
1691 1.1 christos case 268: {
1692 1.3 christos const struct linux32_sys_statfs64_args *p = params;
1693 1.1 christos uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
1694 1.1 christos iarg[1] = SCARG(p, sz); /* netbsd32_size_t */
1695 1.1 christos uarg[2] = (intptr_t) SCARG(p, sp).i32; /* linux32_statfs64p */
1696 1.1 christos *n_args = 3;
1697 1.1 christos break;
1698 1.1 christos }
1699 1.1 christos /* linux32_sys_fstatfs64 */
1700 1.1 christos case 269: {
1701 1.3 christos const struct linux32_sys_fstatfs64_args *p = params;
1702 1.1 christos iarg[0] = SCARG(p, fd); /* int */
1703 1.1 christos iarg[1] = SCARG(p, sz); /* netbsd32_size_t */
1704 1.1 christos uarg[2] = (intptr_t) SCARG(p, sp).i32; /* linux32_statfs64p */
1705 1.1 christos *n_args = 3;
1706 1.1 christos break;
1707 1.1 christos }
1708 1.1 christos /* linux32_sys_tgkill */
1709 1.1 christos case 270: {
1710 1.3 christos const struct linux32_sys_tgkill_args *p = params;
1711 1.1 christos iarg[0] = SCARG(p, tgid); /* int */
1712 1.1 christos iarg[1] = SCARG(p, tid); /* int */
1713 1.1 christos iarg[2] = SCARG(p, sig); /* int */
1714 1.1 christos *n_args = 3;
1715 1.1 christos break;
1716 1.1 christos }
1717 1.1 christos /* compat_50_netbsd32_utimes */
1718 1.1 christos case 271: {
1719 1.3 christos const struct compat_50_netbsd32_utimes_args *p = params;
1720 1.1 christos uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
1721 1.1 christos uarg[1] = (intptr_t) SCARG(p, tptr).i32; /* netbsd32_timeval50p_t */
1722 1.1 christos *n_args = 2;
1723 1.1 christos break;
1724 1.1 christos }
1725 1.1 christos /* linux32_sys_fadvise64_64 */
1726 1.1 christos case 272: {
1727 1.3 christos const struct linux32_sys_fadvise64_64_args *p = params;
1728 1.1 christos iarg[0] = SCARG(p, fd); /* int */
1729 1.1 christos uarg[1] = SCARG(p, offlo); /* uint32_t */
1730 1.1 christos uarg[2] = SCARG(p, offhi); /* uint32_t */
1731 1.1 christos uarg[3] = SCARG(p, lenlo); /* uint32_t */
1732 1.1 christos uarg[4] = SCARG(p, lenhi); /* uint32_t */
1733 1.1 christos iarg[5] = SCARG(p, advice); /* int */
1734 1.1 christos *n_args = 6;
1735 1.1 christos break;
1736 1.1 christos }
1737 1.1 christos /* linux32_sys_openat */
1738 1.1 christos case 295: {
1739 1.3 christos const struct linux32_sys_openat_args *p = params;
1740 1.1 christos iarg[0] = SCARG(p, fd); /* int */
1741 1.1 christos uarg[1] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
1742 1.1 christos iarg[2] = SCARG(p, flags); /* int */
1743 1.1 christos iarg[3] = SCARG(p, mode); /* linux_umode_t */
1744 1.1 christos *n_args = 4;
1745 1.1 christos break;
1746 1.1 christos }
1747 1.1 christos /* netbsd32_mkdirat */
1748 1.1 christos case 296: {
1749 1.3 christos const struct netbsd32_mkdirat_args *p = params;
1750 1.1 christos iarg[0] = SCARG(p, fd); /* int */
1751 1.1 christos uarg[1] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
1752 1.1 christos iarg[2] = SCARG(p, mode); /* linux_umode_t */
1753 1.1 christos *n_args = 3;
1754 1.1 christos break;
1755 1.1 christos }
1756 1.1 christos /* linux32_sys_mknodat */
1757 1.1 christos case 297: {
1758 1.3 christos const struct linux32_sys_mknodat_args *p = params;
1759 1.1 christos iarg[0] = SCARG(p, fd); /* int */
1760 1.1 christos uarg[1] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
1761 1.1 christos iarg[2] = SCARG(p, mode); /* linux_umode_t */
1762 1.1 christos uarg[3] = SCARG(p, dev); /* unsigned */
1763 1.1 christos *n_args = 4;
1764 1.1 christos break;
1765 1.1 christos }
1766 1.1 christos /* linux32_sys_fchownat */
1767 1.1 christos case 298: {
1768 1.3 christos const struct linux32_sys_fchownat_args *p = params;
1769 1.1 christos iarg[0] = SCARG(p, fd); /* int */
1770 1.1 christos uarg[1] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
1771 1.1 christos uarg[2] = SCARG(p, owner); /* uid_t */
1772 1.1 christos iarg[3] = SCARG(p, group); /* gid_t */
1773 1.1 christos iarg[4] = SCARG(p, flag); /* int */
1774 1.1 christos *n_args = 5;
1775 1.1 christos break;
1776 1.1 christos }
1777 1.1 christos /* linux32_sys_fstatat64 */
1778 1.1 christos case 300: {
1779 1.3 christos const struct linux32_sys_fstatat64_args *p = params;
1780 1.1 christos iarg[0] = SCARG(p, fd); /* int */
1781 1.1 christos uarg[1] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
1782 1.1 christos uarg[2] = (intptr_t) SCARG(p, sp).i32; /* linux32_stat64p */
1783 1.1 christos iarg[3] = SCARG(p, flag); /* int */
1784 1.1 christos *n_args = 4;
1785 1.1 christos break;
1786 1.1 christos }
1787 1.1 christos /* linux32_sys_unlinkat */
1788 1.1 christos case 301: {
1789 1.3 christos const struct linux32_sys_unlinkat_args *p = params;
1790 1.1 christos iarg[0] = SCARG(p, fd); /* int */
1791 1.1 christos uarg[1] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
1792 1.1 christos iarg[2] = SCARG(p, flag); /* int */
1793 1.1 christos *n_args = 3;
1794 1.1 christos break;
1795 1.1 christos }
1796 1.1 christos /* netbsd32_renameat */
1797 1.1 christos case 302: {
1798 1.3 christos const struct netbsd32_renameat_args *p = params;
1799 1.1 christos iarg[0] = SCARG(p, fromfd); /* int */
1800 1.1 christos uarg[1] = (intptr_t) SCARG(p, from).i32; /* netbsd32_charp */
1801 1.1 christos iarg[2] = SCARG(p, tofd); /* int */
1802 1.1 christos uarg[3] = (intptr_t) SCARG(p, to).i32; /* netbsd32_charp */
1803 1.1 christos *n_args = 4;
1804 1.1 christos break;
1805 1.1 christos }
1806 1.1 christos /* linux32_sys_linkat */
1807 1.1 christos case 303: {
1808 1.3 christos const struct linux32_sys_linkat_args *p = params;
1809 1.1 christos iarg[0] = SCARG(p, fd1); /* int */
1810 1.1 christos uarg[1] = (intptr_t) SCARG(p, name1).i32; /* netbsd32_charp */
1811 1.1 christos iarg[2] = SCARG(p, fd2); /* int */
1812 1.1 christos uarg[3] = (intptr_t) SCARG(p, name2).i32; /* netbsd32_charp */
1813 1.1 christos iarg[4] = SCARG(p, flags); /* int */
1814 1.1 christos *n_args = 5;
1815 1.1 christos break;
1816 1.1 christos }
1817 1.1 christos /* netbsd32_symlinkat */
1818 1.1 christos case 304: {
1819 1.3 christos const struct netbsd32_symlinkat_args *p = params;
1820 1.1 christos uarg[0] = (intptr_t) SCARG(p, path1).i32; /* netbsd32_charp */
1821 1.1 christos iarg[1] = SCARG(p, fd); /* int */
1822 1.1 christos uarg[2] = (intptr_t) SCARG(p, path2).i32; /* netbsd32_charp */
1823 1.1 christos *n_args = 3;
1824 1.1 christos break;
1825 1.1 christos }
1826 1.1 christos /* netbsd32_readlinkat */
1827 1.1 christos case 305: {
1828 1.3 christos const struct netbsd32_readlinkat_args *p = params;
1829 1.1 christos iarg[0] = SCARG(p, fd); /* int */
1830 1.1 christos uarg[1] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
1831 1.1 christos uarg[2] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_charp */
1832 1.1 christos iarg[3] = SCARG(p, bufsize); /* linux32_size_t */
1833 1.1 christos *n_args = 4;
1834 1.1 christos break;
1835 1.1 christos }
1836 1.1 christos /* linux32_sys_fchmodat */
1837 1.1 christos case 306: {
1838 1.3 christos const struct linux32_sys_fchmodat_args *p = params;
1839 1.1 christos iarg[0] = SCARG(p, fd); /* int */
1840 1.1 christos uarg[1] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
1841 1.1 christos iarg[2] = SCARG(p, mode); /* linux_umode_t */
1842 1.1 christos *n_args = 3;
1843 1.1 christos break;
1844 1.1 christos }
1845 1.1 christos /* linux32_sys_faccessat */
1846 1.1 christos case 307: {
1847 1.3 christos const struct linux32_sys_faccessat_args *p = params;
1848 1.1 christos iarg[0] = SCARG(p, fd); /* int */
1849 1.1 christos uarg[1] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
1850 1.1 christos iarg[2] = SCARG(p, amode); /* int */
1851 1.1 christos *n_args = 3;
1852 1.1 christos break;
1853 1.1 christos }
1854 1.1 christos /* linux32_sys_ppoll */
1855 1.1 christos case 309: {
1856 1.3 christos const struct linux32_sys_ppoll_args *p = params;
1857 1.1 christos uarg[0] = (intptr_t) SCARG(p, fds).i32; /* netbsd32_pollfdp_t */
1858 1.1 christos uarg[1] = SCARG(p, nfds); /* u_int */
1859 1.1 christos uarg[2] = (intptr_t) SCARG(p, timeout).i32; /* linux32_timespecp_t */
1860 1.1 christos uarg[3] = (intptr_t) SCARG(p, sigset).i32; /* linux32_sigsetp_t */
1861 1.1 christos *n_args = 4;
1862 1.1 christos break;
1863 1.1 christos }
1864 1.8 thorpej /* netbsd32___futex_set_robust_list */
1865 1.1 christos case 311: {
1866 1.8 thorpej const struct netbsd32___futex_set_robust_list_args *p = params;
1867 1.8 thorpej uarg[0] = (intptr_t) SCARG(p, head).i32; /* netbsd32_voidp */
1868 1.8 thorpej iarg[1] = SCARG(p, len); /* netbsd32_size_t */
1869 1.1 christos *n_args = 2;
1870 1.1 christos break;
1871 1.1 christos }
1872 1.8 thorpej /* netbsd32___futex_get_robust_list */
1873 1.1 christos case 312: {
1874 1.8 thorpej const struct netbsd32___futex_get_robust_list_args *p = params;
1875 1.8 thorpej iarg[0] = SCARG(p, lwpid); /* lwpid_t */
1876 1.8 thorpej uarg[1] = (intptr_t) SCARG(p, headp).i32; /* netbsd32_voidp */
1877 1.8 thorpej uarg[2] = (intptr_t) SCARG(p, lenp).i32; /* netbsd32_size_tp */
1878 1.1 christos *n_args = 3;
1879 1.1 christos break;
1880 1.1 christos }
1881 1.1 christos /* linux32_sys_utimensat */
1882 1.1 christos case 320: {
1883 1.3 christos const struct linux32_sys_utimensat_args *p = params;
1884 1.1 christos iarg[0] = SCARG(p, fd); /* int */
1885 1.1 christos uarg[1] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
1886 1.1 christos uarg[2] = (intptr_t) SCARG(p, times).i32; /* linux32_timespecp_t */
1887 1.1 christos iarg[3] = SCARG(p, flag); /* int */
1888 1.1 christos *n_args = 4;
1889 1.1 christos break;
1890 1.1 christos }
1891 1.10 thorpej /* linux_sys_timerfd_create */
1892 1.10 thorpej case 322: {
1893 1.10 thorpej const struct linux_sys_timerfd_create_args *p = params;
1894 1.10 thorpej iarg[0] = SCARG(p, clock_id); /* clockid_t */
1895 1.10 thorpej iarg[1] = SCARG(p, flags); /* int */
1896 1.10 thorpej *n_args = 2;
1897 1.10 thorpej break;
1898 1.10 thorpej }
1899 1.11 thorpej /* linux32_sys_eventfd */
1900 1.11 thorpej case 323: {
1901 1.11 thorpej const struct linux32_sys_eventfd_args *p = params;
1902 1.11 thorpej uarg[0] = SCARG(p, initval); /* unsigned int */
1903 1.11 thorpej *n_args = 1;
1904 1.11 thorpej break;
1905 1.11 thorpej }
1906 1.7 jdolecek /* linux32_sys_fallocate */
1907 1.7 jdolecek case 324: {
1908 1.7 jdolecek const struct linux32_sys_fallocate_args *p = params;
1909 1.7 jdolecek iarg[0] = SCARG(p, fd); /* int */
1910 1.7 jdolecek iarg[1] = SCARG(p, mode); /* int */
1911 1.7 jdolecek iarg[2] = SCARG(p, offset); /* off_t */
1912 1.7 jdolecek iarg[3] = SCARG(p, len); /* off_t */
1913 1.7 jdolecek *n_args = 4;
1914 1.7 jdolecek break;
1915 1.7 jdolecek }
1916 1.10 thorpej /* linux32_sys_timerfd_settime */
1917 1.10 thorpej case 325: {
1918 1.10 thorpej const struct linux32_sys_timerfd_settime_args *p = params;
1919 1.10 thorpej iarg[0] = SCARG(p, fd); /* int */
1920 1.10 thorpej iarg[1] = SCARG(p, flags); /* int */
1921 1.10 thorpej uarg[2] = (intptr_t) SCARG(p, tim); /* const struct linux32_itimerspec * */
1922 1.10 thorpej uarg[3] = (intptr_t) SCARG(p, otim); /* struct linux32_itimerspec * */
1923 1.10 thorpej *n_args = 4;
1924 1.10 thorpej break;
1925 1.10 thorpej }
1926 1.10 thorpej /* linux32_sys_timerfd_gettime */
1927 1.10 thorpej case 326: {
1928 1.10 thorpej const struct linux32_sys_timerfd_gettime_args *p = params;
1929 1.10 thorpej iarg[0] = SCARG(p, fd); /* int */
1930 1.10 thorpej uarg[1] = (intptr_t) SCARG(p, tim); /* struct linux32_itimerspec * */
1931 1.10 thorpej *n_args = 2;
1932 1.10 thorpej break;
1933 1.10 thorpej }
1934 1.11 thorpej /* linux32_sys_eventfd2 */
1935 1.11 thorpej case 328: {
1936 1.11 thorpej const struct linux32_sys_eventfd2_args *p = params;
1937 1.11 thorpej uarg[0] = SCARG(p, initval); /* unsigned int */
1938 1.11 thorpej iarg[1] = SCARG(p, flags); /* int */
1939 1.11 thorpej *n_args = 2;
1940 1.11 thorpej break;
1941 1.11 thorpej }
1942 1.1 christos /* linux32_sys_dup3 */
1943 1.1 christos case 330: {
1944 1.3 christos const struct linux32_sys_dup3_args *p = params;
1945 1.1 christos iarg[0] = SCARG(p, from); /* int */
1946 1.1 christos iarg[1] = SCARG(p, to); /* int */
1947 1.1 christos iarg[2] = SCARG(p, flags); /* int */
1948 1.1 christos *n_args = 3;
1949 1.1 christos break;
1950 1.1 christos }
1951 1.1 christos /* linux32_sys_pipe2 */
1952 1.1 christos case 331: {
1953 1.3 christos const struct linux32_sys_pipe2_args *p = params;
1954 1.1 christos uarg[0] = (intptr_t) SCARG(p, fd).i32; /* netbsd32_intp */
1955 1.1 christos iarg[1] = SCARG(p, flags); /* int */
1956 1.1 christos *n_args = 2;
1957 1.1 christos break;
1958 1.1 christos }
1959 1.12 thorpej /* linux32_sys_preadv */
1960 1.12 thorpej case 333: {
1961 1.12 thorpej const struct linux32_sys_preadv_args *p = params;
1962 1.12 thorpej iarg[0] = SCARG(p, fd); /* int */
1963 1.12 thorpej uarg[1] = (intptr_t) SCARG(p, iovp).i32; /* const netbsd32_iovecp_t */
1964 1.12 thorpej iarg[2] = SCARG(p, iovcnt); /* int */
1965 1.12 thorpej iarg[3] = SCARG(p, off_lo); /* netbsd32_u_long */
1966 1.12 thorpej iarg[4] = SCARG(p, off_hi); /* netbsd32_u_long */
1967 1.12 thorpej *n_args = 5;
1968 1.12 thorpej break;
1969 1.12 thorpej }
1970 1.12 thorpej /* linux32_sys_pwritev */
1971 1.12 thorpej case 334: {
1972 1.12 thorpej const struct linux32_sys_pwritev_args *p = params;
1973 1.12 thorpej iarg[0] = SCARG(p, fd); /* int */
1974 1.12 thorpej uarg[1] = (intptr_t) SCARG(p, iovp).i32; /* const netbsd32_iovecp_t */
1975 1.12 thorpej iarg[2] = SCARG(p, iovcnt); /* int */
1976 1.12 thorpej iarg[3] = SCARG(p, off_lo); /* netbsd32_u_long */
1977 1.12 thorpej iarg[4] = SCARG(p, off_hi); /* netbsd32_u_long */
1978 1.12 thorpej *n_args = 5;
1979 1.12 thorpej break;
1980 1.12 thorpej }
1981 1.1 christos default:
1982 1.1 christos *n_args = 0;
1983 1.1 christos break;
1984 1.1 christos };
1985 1.1 christos }
1986 1.1 christos static void
1987 1.1 christos systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
1988 1.1 christos {
1989 1.1 christos const char *p = NULL;
1990 1.1 christos switch (sysnum) {
1991 1.1 christos /* linux_sys_nosys */
1992 1.1 christos case 0:
1993 1.1 christos break;
1994 1.1 christos /* linux32_sys_exit */
1995 1.1 christos case 1:
1996 1.1 christos switch(ndx) {
1997 1.1 christos case 0:
1998 1.1 christos p = "int";
1999 1.1 christos break;
2000 1.1 christos default:
2001 1.1 christos break;
2002 1.1 christos };
2003 1.1 christos break;
2004 1.1 christos /* sys_fork */
2005 1.1 christos case 2:
2006 1.1 christos break;
2007 1.1 christos /* netbsd32_read */
2008 1.1 christos case 3:
2009 1.1 christos switch(ndx) {
2010 1.1 christos case 0:
2011 1.1 christos p = "int";
2012 1.1 christos break;
2013 1.1 christos case 1:
2014 1.1 christos p = "netbsd32_voidp";
2015 1.1 christos break;
2016 1.1 christos case 2:
2017 1.1 christos p = "netbsd32_size_t";
2018 1.1 christos break;
2019 1.1 christos default:
2020 1.1 christos break;
2021 1.1 christos };
2022 1.1 christos break;
2023 1.1 christos /* netbsd32_write */
2024 1.1 christos case 4:
2025 1.1 christos switch(ndx) {
2026 1.1 christos case 0:
2027 1.1 christos p = "int";
2028 1.1 christos break;
2029 1.1 christos case 1:
2030 1.1 christos p = "netbsd32_voidp";
2031 1.1 christos break;
2032 1.1 christos case 2:
2033 1.1 christos p = "netbsd32_size_t";
2034 1.1 christos break;
2035 1.1 christos default:
2036 1.1 christos break;
2037 1.1 christos };
2038 1.1 christos break;
2039 1.1 christos /* linux32_sys_open */
2040 1.1 christos case 5:
2041 1.1 christos switch(ndx) {
2042 1.1 christos case 0:
2043 1.1 christos p = "netbsd32_charp";
2044 1.1 christos break;
2045 1.1 christos case 1:
2046 1.1 christos p = "int";
2047 1.1 christos break;
2048 1.1 christos case 2:
2049 1.1 christos p = "linux_umode_t";
2050 1.1 christos break;
2051 1.1 christos default:
2052 1.1 christos break;
2053 1.1 christos };
2054 1.1 christos break;
2055 1.1 christos /* netbsd32_close */
2056 1.1 christos case 6:
2057 1.1 christos switch(ndx) {
2058 1.1 christos case 0:
2059 1.1 christos p = "int";
2060 1.1 christos break;
2061 1.1 christos default:
2062 1.1 christos break;
2063 1.1 christos };
2064 1.1 christos break;
2065 1.1 christos /* linux32_sys_waitpid */
2066 1.1 christos case 7:
2067 1.1 christos switch(ndx) {
2068 1.1 christos case 0:
2069 1.1 christos p = "int";
2070 1.1 christos break;
2071 1.1 christos case 1:
2072 1.1 christos p = "netbsd32_intp";
2073 1.1 christos break;
2074 1.1 christos case 2:
2075 1.1 christos p = "int";
2076 1.1 christos break;
2077 1.1 christos default:
2078 1.1 christos break;
2079 1.1 christos };
2080 1.1 christos break;
2081 1.1 christos /* linux32_sys_creat */
2082 1.1 christos case 8:
2083 1.1 christos switch(ndx) {
2084 1.1 christos case 0:
2085 1.1 christos p = "netbsd32_charp";
2086 1.1 christos break;
2087 1.1 christos case 1:
2088 1.1 christos p = "linux_umode_t";
2089 1.1 christos break;
2090 1.1 christos default:
2091 1.1 christos break;
2092 1.1 christos };
2093 1.1 christos break;
2094 1.1 christos /* netbsd32_link */
2095 1.1 christos case 9:
2096 1.1 christos switch(ndx) {
2097 1.1 christos case 0:
2098 1.1 christos p = "netbsd32_charp";
2099 1.1 christos break;
2100 1.1 christos case 1:
2101 1.1 christos p = "netbsd32_charp";
2102 1.1 christos break;
2103 1.1 christos default:
2104 1.1 christos break;
2105 1.1 christos };
2106 1.1 christos break;
2107 1.1 christos /* linux32_sys_unlink */
2108 1.1 christos case 10:
2109 1.1 christos switch(ndx) {
2110 1.1 christos case 0:
2111 1.1 christos p = "netbsd32_charp";
2112 1.1 christos break;
2113 1.1 christos default:
2114 1.1 christos break;
2115 1.1 christos };
2116 1.1 christos break;
2117 1.1 christos /* netbsd32_execve */
2118 1.1 christos case 11:
2119 1.1 christos switch(ndx) {
2120 1.1 christos case 0:
2121 1.1 christos p = "netbsd32_charp";
2122 1.1 christos break;
2123 1.1 christos case 1:
2124 1.1 christos p = "netbsd32_charpp";
2125 1.1 christos break;
2126 1.1 christos case 2:
2127 1.1 christos p = "netbsd32_charpp";
2128 1.1 christos break;
2129 1.1 christos default:
2130 1.1 christos break;
2131 1.1 christos };
2132 1.1 christos break;
2133 1.1 christos /* netbsd32_chdir */
2134 1.1 christos case 12:
2135 1.1 christos switch(ndx) {
2136 1.1 christos case 0:
2137 1.1 christos p = "netbsd32_charp";
2138 1.1 christos break;
2139 1.1 christos default:
2140 1.1 christos break;
2141 1.1 christos };
2142 1.1 christos break;
2143 1.1 christos /* linux32_sys_time */
2144 1.1 christos case 13:
2145 1.1 christos switch(ndx) {
2146 1.1 christos case 0:
2147 1.1 christos p = "linux32_timep_t";
2148 1.1 christos break;
2149 1.1 christos default:
2150 1.1 christos break;
2151 1.1 christos };
2152 1.1 christos break;
2153 1.1 christos /* linux32_sys_mknod */
2154 1.1 christos case 14:
2155 1.1 christos switch(ndx) {
2156 1.1 christos case 0:
2157 1.1 christos p = "netbsd32_charp";
2158 1.1 christos break;
2159 1.1 christos case 1:
2160 1.1 christos p = "linux_umode_t";
2161 1.1 christos break;
2162 1.1 christos case 2:
2163 1.1 christos p = "unsigned";
2164 1.1 christos break;
2165 1.1 christos default:
2166 1.1 christos break;
2167 1.1 christos };
2168 1.1 christos break;
2169 1.1 christos /* netbsd32_chmod */
2170 1.1 christos case 15:
2171 1.1 christos switch(ndx) {
2172 1.1 christos case 0:
2173 1.1 christos p = "netbsd32_charp";
2174 1.1 christos break;
2175 1.1 christos case 1:
2176 1.1 christos p = "linux_umode_t";
2177 1.1 christos break;
2178 1.1 christos default:
2179 1.1 christos break;
2180 1.1 christos };
2181 1.1 christos break;
2182 1.1 christos /* linux32_sys_lchown16 */
2183 1.1 christos case 16:
2184 1.1 christos switch(ndx) {
2185 1.1 christos case 0:
2186 1.1 christos p = "netbsd32_charp";
2187 1.1 christos break;
2188 1.1 christos case 1:
2189 1.1 christos p = "linux32_uid16_t";
2190 1.1 christos break;
2191 1.1 christos case 2:
2192 1.1 christos p = "linux32_gid16_t";
2193 1.1 christos break;
2194 1.1 christos default:
2195 1.1 christos break;
2196 1.1 christos };
2197 1.1 christos break;
2198 1.1 christos /* linux32_sys_break */
2199 1.1 christos case 17:
2200 1.1 christos switch(ndx) {
2201 1.1 christos case 0:
2202 1.1 christos p = "netbsd32_charp";
2203 1.1 christos break;
2204 1.1 christos default:
2205 1.1 christos break;
2206 1.1 christos };
2207 1.1 christos break;
2208 1.1 christos /* compat_43_netbsd32_olseek */
2209 1.1 christos case 19:
2210 1.1 christos switch(ndx) {
2211 1.1 christos case 0:
2212 1.1 christos p = "int";
2213 1.1 christos break;
2214 1.1 christos case 1:
2215 1.1 christos p = "netbsd32_long";
2216 1.1 christos break;
2217 1.1 christos case 2:
2218 1.1 christos p = "int";
2219 1.1 christos break;
2220 1.1 christos default:
2221 1.1 christos break;
2222 1.1 christos };
2223 1.1 christos break;
2224 1.1 christos /* sys_getpid */
2225 1.1 christos case 20:
2226 1.1 christos break;
2227 1.1 christos /* netbsd32_setuid */
2228 1.1 christos case 23:
2229 1.1 christos switch(ndx) {
2230 1.1 christos case 0:
2231 1.1 christos p = "uid_t";
2232 1.1 christos break;
2233 1.1 christos default:
2234 1.1 christos break;
2235 1.1 christos };
2236 1.1 christos break;
2237 1.1 christos /* sys_getuid */
2238 1.1 christos case 24:
2239 1.1 christos break;
2240 1.1 christos /* linux32_sys_stime */
2241 1.1 christos case 25:
2242 1.1 christos switch(ndx) {
2243 1.1 christos case 0:
2244 1.1 christos p = "linux32_timep_t";
2245 1.1 christos break;
2246 1.1 christos default:
2247 1.1 christos break;
2248 1.1 christos };
2249 1.1 christos break;
2250 1.1 christos /* linux32_sys_ptrace */
2251 1.1 christos case 26:
2252 1.1 christos switch(ndx) {
2253 1.1 christos case 0:
2254 1.1 christos p = "int";
2255 1.1 christos break;
2256 1.1 christos case 1:
2257 1.1 christos p = "int";
2258 1.1 christos break;
2259 1.1 christos case 2:
2260 1.1 christos p = "int";
2261 1.1 christos break;
2262 1.1 christos case 3:
2263 1.1 christos p = "int";
2264 1.1 christos break;
2265 1.1 christos default:
2266 1.1 christos break;
2267 1.1 christos };
2268 1.1 christos break;
2269 1.1 christos /* linux32_sys_alarm */
2270 1.1 christos case 27:
2271 1.1 christos switch(ndx) {
2272 1.1 christos case 0:
2273 1.1 christos p = "unsigned int";
2274 1.1 christos break;
2275 1.1 christos default:
2276 1.1 christos break;
2277 1.1 christos };
2278 1.1 christos break;
2279 1.1 christos /* linux_sys_pause */
2280 1.1 christos case 29:
2281 1.1 christos break;
2282 1.1 christos /* linux32_sys_utime */
2283 1.1 christos case 30:
2284 1.1 christos switch(ndx) {
2285 1.1 christos case 0:
2286 1.1 christos p = "netbsd32_charp";
2287 1.1 christos break;
2288 1.1 christos case 1:
2289 1.1 christos p = "linux32_utimbufp_t";
2290 1.1 christos break;
2291 1.1 christos default:
2292 1.1 christos break;
2293 1.1 christos };
2294 1.1 christos break;
2295 1.1 christos /* netbsd32_access */
2296 1.1 christos case 33:
2297 1.1 christos switch(ndx) {
2298 1.1 christos case 0:
2299 1.1 christos p = "netbsd32_charp";
2300 1.1 christos break;
2301 1.1 christos case 1:
2302 1.1 christos p = "int";
2303 1.1 christos break;
2304 1.1 christos default:
2305 1.1 christos break;
2306 1.1 christos };
2307 1.1 christos break;
2308 1.1 christos /* linux32_sys_nice */
2309 1.1 christos case 34:
2310 1.1 christos switch(ndx) {
2311 1.1 christos case 0:
2312 1.1 christos p = "int";
2313 1.1 christos break;
2314 1.1 christos default:
2315 1.1 christos break;
2316 1.1 christos };
2317 1.1 christos break;
2318 1.1 christos /* sys_sync */
2319 1.1 christos case 36:
2320 1.1 christos break;
2321 1.1 christos /* linux32_sys_kill */
2322 1.1 christos case 37:
2323 1.1 christos switch(ndx) {
2324 1.1 christos case 0:
2325 1.1 christos p = "int";
2326 1.1 christos break;
2327 1.1 christos case 1:
2328 1.1 christos p = "int";
2329 1.1 christos break;
2330 1.1 christos default:
2331 1.1 christos break;
2332 1.1 christos };
2333 1.1 christos break;
2334 1.1 christos /* netbsd32___posix_rename */
2335 1.1 christos case 38:
2336 1.1 christos switch(ndx) {
2337 1.1 christos case 0:
2338 1.1 christos p = "netbsd32_charp";
2339 1.1 christos break;
2340 1.1 christos case 1:
2341 1.1 christos p = "netbsd32_charp";
2342 1.1 christos break;
2343 1.1 christos default:
2344 1.1 christos break;
2345 1.1 christos };
2346 1.1 christos break;
2347 1.1 christos /* netbsd32_mkdir */
2348 1.1 christos case 39:
2349 1.1 christos switch(ndx) {
2350 1.1 christos case 0:
2351 1.1 christos p = "netbsd32_charp";
2352 1.1 christos break;
2353 1.1 christos case 1:
2354 1.1 christos p = "linux_umode_t";
2355 1.1 christos break;
2356 1.1 christos default:
2357 1.1 christos break;
2358 1.1 christos };
2359 1.1 christos break;
2360 1.1 christos /* netbsd32_rmdir */
2361 1.1 christos case 40:
2362 1.1 christos switch(ndx) {
2363 1.1 christos case 0:
2364 1.1 christos p = "netbsd32_charp";
2365 1.1 christos break;
2366 1.1 christos default:
2367 1.1 christos break;
2368 1.1 christos };
2369 1.1 christos break;
2370 1.1 christos /* netbsd32_dup */
2371 1.1 christos case 41:
2372 1.1 christos switch(ndx) {
2373 1.1 christos case 0:
2374 1.1 christos p = "int";
2375 1.1 christos break;
2376 1.1 christos default:
2377 1.1 christos break;
2378 1.1 christos };
2379 1.1 christos break;
2380 1.1 christos /* linux32_sys_pipe */
2381 1.1 christos case 42:
2382 1.1 christos switch(ndx) {
2383 1.1 christos case 0:
2384 1.1 christos p = "netbsd32_intp";
2385 1.1 christos break;
2386 1.1 christos default:
2387 1.1 christos break;
2388 1.1 christos };
2389 1.1 christos break;
2390 1.1 christos /* linux32_sys_times */
2391 1.1 christos case 43:
2392 1.1 christos switch(ndx) {
2393 1.1 christos case 0:
2394 1.1 christos p = "linux32_tmsp_t";
2395 1.1 christos break;
2396 1.1 christos default:
2397 1.1 christos break;
2398 1.1 christos };
2399 1.1 christos break;
2400 1.1 christos /* linux32_sys_brk */
2401 1.1 christos case 45:
2402 1.1 christos switch(ndx) {
2403 1.1 christos case 0:
2404 1.1 christos p = "netbsd32_charp";
2405 1.1 christos break;
2406 1.1 christos default:
2407 1.1 christos break;
2408 1.1 christos };
2409 1.1 christos break;
2410 1.1 christos /* netbsd32_setgid */
2411 1.1 christos case 46:
2412 1.1 christos switch(ndx) {
2413 1.1 christos case 0:
2414 1.1 christos p = "gid_t";
2415 1.1 christos break;
2416 1.1 christos default:
2417 1.1 christos break;
2418 1.1 christos };
2419 1.1 christos break;
2420 1.1 christos /* sys_getgid */
2421 1.1 christos case 47:
2422 1.1 christos break;
2423 1.1 christos /* linux32_sys_signal */
2424 1.1 christos case 48:
2425 1.1 christos switch(ndx) {
2426 1.1 christos case 0:
2427 1.1 christos p = "int";
2428 1.1 christos break;
2429 1.1 christos case 1:
2430 1.2 christos p = "linux32_handlerp_t";
2431 1.1 christos break;
2432 1.1 christos default:
2433 1.1 christos break;
2434 1.1 christos };
2435 1.1 christos break;
2436 1.1 christos /* sys_geteuid */
2437 1.1 christos case 49:
2438 1.1 christos break;
2439 1.1 christos /* sys_getegid */
2440 1.1 christos case 50:
2441 1.1 christos break;
2442 1.1 christos /* netbsd32_acct */
2443 1.1 christos case 51:
2444 1.1 christos switch(ndx) {
2445 1.1 christos case 0:
2446 1.1 christos p = "netbsd32_charp";
2447 1.1 christos break;
2448 1.1 christos default:
2449 1.1 christos break;
2450 1.1 christos };
2451 1.1 christos break;
2452 1.1 christos /* linux32_sys_ioctl */
2453 1.1 christos case 54:
2454 1.1 christos switch(ndx) {
2455 1.1 christos case 0:
2456 1.1 christos p = "int";
2457 1.1 christos break;
2458 1.1 christos case 1:
2459 1.1 christos p = "netbsd32_u_long";
2460 1.1 christos break;
2461 1.1 christos case 2:
2462 1.1 christos p = "netbsd32_charp";
2463 1.1 christos break;
2464 1.1 christos default:
2465 1.1 christos break;
2466 1.1 christos };
2467 1.1 christos break;
2468 1.1 christos /* linux32_sys_fcntl */
2469 1.1 christos case 55:
2470 1.1 christos switch(ndx) {
2471 1.1 christos case 0:
2472 1.1 christos p = "int";
2473 1.1 christos break;
2474 1.1 christos case 1:
2475 1.1 christos p = "int";
2476 1.1 christos break;
2477 1.1 christos case 2:
2478 1.1 christos p = "netbsd32_voidp";
2479 1.1 christos break;
2480 1.1 christos default:
2481 1.1 christos break;
2482 1.1 christos };
2483 1.1 christos break;
2484 1.1 christos /* netbsd32_setpgid */
2485 1.1 christos case 57:
2486 1.1 christos switch(ndx) {
2487 1.1 christos case 0:
2488 1.1 christos p = "int";
2489 1.1 christos break;
2490 1.1 christos case 1:
2491 1.1 christos p = "int";
2492 1.1 christos break;
2493 1.1 christos default:
2494 1.1 christos break;
2495 1.1 christos };
2496 1.1 christos break;
2497 1.1 christos /* linux32_sys_oldolduname */
2498 1.1 christos case 59:
2499 1.1 christos switch(ndx) {
2500 1.1 christos case 0:
2501 1.1 christos p = "linux32_oldold_utsnamep_t";
2502 1.1 christos break;
2503 1.1 christos default:
2504 1.1 christos break;
2505 1.1 christos };
2506 1.1 christos break;
2507 1.1 christos /* netbsd32_umask */
2508 1.1 christos case 60:
2509 1.1 christos switch(ndx) {
2510 1.1 christos case 0:
2511 1.1 christos p = "int";
2512 1.1 christos break;
2513 1.1 christos default:
2514 1.1 christos break;
2515 1.1 christos };
2516 1.1 christos break;
2517 1.1 christos /* netbsd32_chroot */
2518 1.1 christos case 61:
2519 1.1 christos switch(ndx) {
2520 1.1 christos case 0:
2521 1.1 christos p = "netbsd32_charp";
2522 1.1 christos break;
2523 1.1 christos default:
2524 1.1 christos break;
2525 1.1 christos };
2526 1.1 christos break;
2527 1.1 christos /* netbsd32_dup2 */
2528 1.1 christos case 63:
2529 1.1 christos switch(ndx) {
2530 1.1 christos case 0:
2531 1.1 christos p = "int";
2532 1.1 christos break;
2533 1.1 christos case 1:
2534 1.1 christos p = "int";
2535 1.1 christos break;
2536 1.1 christos default:
2537 1.1 christos break;
2538 1.1 christos };
2539 1.1 christos break;
2540 1.1 christos /* sys_getppid */
2541 1.1 christos case 64:
2542 1.1 christos break;
2543 1.1 christos /* sys_getpgrp */
2544 1.1 christos case 65:
2545 1.1 christos break;
2546 1.1 christos /* sys_setsid */
2547 1.1 christos case 66:
2548 1.1 christos break;
2549 1.1 christos /* linux32_sys_siggetmask */
2550 1.1 christos case 68:
2551 1.1 christos break;
2552 1.1 christos /* linux32_sys_sigsetmask */
2553 1.1 christos case 69:
2554 1.1 christos switch(ndx) {
2555 1.1 christos case 0:
2556 1.1 christos p = "linux32_old_sigset_t";
2557 1.1 christos break;
2558 1.1 christos default:
2559 1.1 christos break;
2560 1.1 christos };
2561 1.1 christos break;
2562 1.1 christos /* linux32_sys_setreuid16 */
2563 1.1 christos case 70:
2564 1.1 christos switch(ndx) {
2565 1.1 christos case 0:
2566 1.1 christos p = "linux32_uid16_t";
2567 1.1 christos break;
2568 1.1 christos case 1:
2569 1.1 christos p = "linux32_uid16_t";
2570 1.1 christos break;
2571 1.1 christos default:
2572 1.1 christos break;
2573 1.1 christos };
2574 1.1 christos break;
2575 1.1 christos /* linux32_sys_setregid16 */
2576 1.1 christos case 71:
2577 1.1 christos switch(ndx) {
2578 1.1 christos case 0:
2579 1.1 christos p = "linux32_gid16_t";
2580 1.1 christos break;
2581 1.1 christos case 1:
2582 1.1 christos p = "linux32_gid16_t";
2583 1.1 christos break;
2584 1.1 christos default:
2585 1.1 christos break;
2586 1.1 christos };
2587 1.1 christos break;
2588 1.1 christos /* compat_43_netbsd32_osethostname */
2589 1.1 christos case 74:
2590 1.1 christos switch(ndx) {
2591 1.1 christos case 0:
2592 1.1 christos p = "netbsd32_charp";
2593 1.1 christos break;
2594 1.1 christos case 1:
2595 1.1 christos p = "u_int";
2596 1.1 christos break;
2597 1.1 christos default:
2598 1.1 christos break;
2599 1.1 christos };
2600 1.1 christos break;
2601 1.1 christos /* linux32_sys_setrlimit */
2602 1.1 christos case 75:
2603 1.1 christos switch(ndx) {
2604 1.1 christos case 0:
2605 1.1 christos p = "u_int";
2606 1.1 christos break;
2607 1.1 christos case 1:
2608 1.1 christos p = "netbsd32_orlimitp_t";
2609 1.1 christos break;
2610 1.1 christos default:
2611 1.1 christos break;
2612 1.1 christos };
2613 1.1 christos break;
2614 1.1 christos /* linux32_sys_getrlimit */
2615 1.1 christos case 76:
2616 1.1 christos switch(ndx) {
2617 1.1 christos case 0:
2618 1.1 christos p = "u_int";
2619 1.1 christos break;
2620 1.1 christos case 1:
2621 1.1 christos p = "netbsd32_orlimitp_t";
2622 1.1 christos break;
2623 1.1 christos default:
2624 1.1 christos break;
2625 1.1 christos };
2626 1.1 christos break;
2627 1.1 christos /* compat_50_netbsd32_getrusage */
2628 1.1 christos case 77:
2629 1.1 christos switch(ndx) {
2630 1.1 christos case 0:
2631 1.1 christos p = "int";
2632 1.1 christos break;
2633 1.1 christos case 1:
2634 1.1 christos p = "netbsd32_rusage50p_t";
2635 1.1 christos break;
2636 1.1 christos default:
2637 1.1 christos break;
2638 1.1 christos };
2639 1.1 christos break;
2640 1.1 christos /* linux32_sys_gettimeofday */
2641 1.1 christos case 78:
2642 1.1 christos switch(ndx) {
2643 1.1 christos case 0:
2644 1.1 christos p = "netbsd32_timeval50p_t";
2645 1.1 christos break;
2646 1.1 christos case 1:
2647 1.1 christos p = "netbsd32_timezonep_t";
2648 1.1 christos break;
2649 1.1 christos default:
2650 1.1 christos break;
2651 1.1 christos };
2652 1.1 christos break;
2653 1.1 christos /* linux32_sys_settimeofday */
2654 1.1 christos case 79:
2655 1.1 christos switch(ndx) {
2656 1.1 christos case 0:
2657 1.1 christos p = "netbsd32_timeval50p_t";
2658 1.1 christos break;
2659 1.1 christos case 1:
2660 1.1 christos p = "netbsd32_timezonep_t";
2661 1.1 christos break;
2662 1.1 christos default:
2663 1.1 christos break;
2664 1.1 christos };
2665 1.1 christos break;
2666 1.1 christos /* linux32_sys_getgroups16 */
2667 1.1 christos case 80:
2668 1.1 christos switch(ndx) {
2669 1.1 christos case 0:
2670 1.1 christos p = "int";
2671 1.1 christos break;
2672 1.1 christos case 1:
2673 1.1 christos p = "linux32_gid16p_t";
2674 1.1 christos break;
2675 1.1 christos default:
2676 1.1 christos break;
2677 1.1 christos };
2678 1.1 christos break;
2679 1.1 christos /* linux32_sys_setgroups16 */
2680 1.1 christos case 81:
2681 1.1 christos switch(ndx) {
2682 1.1 christos case 0:
2683 1.1 christos p = "int";
2684 1.1 christos break;
2685 1.1 christos case 1:
2686 1.1 christos p = "linux32_gid16p_t";
2687 1.1 christos break;
2688 1.1 christos default:
2689 1.1 christos break;
2690 1.1 christos };
2691 1.1 christos break;
2692 1.1 christos /* linux32_sys_oldselect */
2693 1.1 christos case 82:
2694 1.1 christos switch(ndx) {
2695 1.1 christos case 0:
2696 1.1 christos p = "linux32_oldselectp_t";
2697 1.1 christos break;
2698 1.1 christos default:
2699 1.1 christos break;
2700 1.1 christos };
2701 1.1 christos break;
2702 1.1 christos /* netbsd32_symlink */
2703 1.1 christos case 83:
2704 1.1 christos switch(ndx) {
2705 1.1 christos case 0:
2706 1.1 christos p = "netbsd32_charp";
2707 1.1 christos break;
2708 1.1 christos case 1:
2709 1.1 christos p = "netbsd32_charp";
2710 1.1 christos break;
2711 1.1 christos default:
2712 1.1 christos break;
2713 1.1 christos };
2714 1.1 christos break;
2715 1.1 christos /* compat_43_netbsd32_lstat43 */
2716 1.1 christos case 84:
2717 1.1 christos switch(ndx) {
2718 1.1 christos case 0:
2719 1.1 christos p = "netbsd32_charp";
2720 1.1 christos break;
2721 1.1 christos case 1:
2722 1.1 christos p = "netbsd32_stat43p_t";
2723 1.1 christos break;
2724 1.1 christos default:
2725 1.1 christos break;
2726 1.1 christos };
2727 1.1 christos break;
2728 1.1 christos /* netbsd32_readlink */
2729 1.1 christos case 85:
2730 1.1 christos switch(ndx) {
2731 1.1 christos case 0:
2732 1.1 christos p = "netbsd32_charp";
2733 1.1 christos break;
2734 1.1 christos case 1:
2735 1.1 christos p = "netbsd32_charp";
2736 1.1 christos break;
2737 1.1 christos case 2:
2738 1.1 christos p = "netbsd32_size_t";
2739 1.1 christos break;
2740 1.1 christos default:
2741 1.1 christos break;
2742 1.1 christos };
2743 1.1 christos break;
2744 1.1 christos /* linux32_sys_swapon */
2745 1.1 christos case 87:
2746 1.1 christos switch(ndx) {
2747 1.1 christos case 0:
2748 1.1 christos p = "netbsd32_charp";
2749 1.1 christos break;
2750 1.1 christos default:
2751 1.1 christos break;
2752 1.1 christos };
2753 1.1 christos break;
2754 1.1 christos /* linux32_sys_reboot */
2755 1.1 christos case 88:
2756 1.1 christos switch(ndx) {
2757 1.1 christos case 0:
2758 1.1 christos p = "int";
2759 1.1 christos break;
2760 1.1 christos case 1:
2761 1.1 christos p = "int";
2762 1.1 christos break;
2763 1.1 christos case 2:
2764 1.1 christos p = "int";
2765 1.1 christos break;
2766 1.1 christos case 3:
2767 1.1 christos p = "netbsd32_voidp";
2768 1.1 christos break;
2769 1.1 christos default:
2770 1.1 christos break;
2771 1.1 christos };
2772 1.1 christos break;
2773 1.1 christos /* linux32_sys_readdir */
2774 1.1 christos case 89:
2775 1.1 christos switch(ndx) {
2776 1.1 christos case 0:
2777 1.1 christos p = "int";
2778 1.1 christos break;
2779 1.1 christos case 1:
2780 1.1 christos p = "netbsd32_voidp";
2781 1.1 christos break;
2782 1.1 christos case 2:
2783 1.1 christos p = "unsigned int";
2784 1.1 christos break;
2785 1.1 christos default:
2786 1.1 christos break;
2787 1.1 christos };
2788 1.1 christos break;
2789 1.1 christos /* linux32_sys_old_mmap */
2790 1.1 christos case 90:
2791 1.1 christos switch(ndx) {
2792 1.1 christos case 0:
2793 1.1 christos p = "linux32_oldmmapp";
2794 1.1 christos break;
2795 1.1 christos default:
2796 1.1 christos break;
2797 1.1 christos };
2798 1.1 christos break;
2799 1.1 christos /* netbsd32_munmap */
2800 1.1 christos case 91:
2801 1.1 christos switch(ndx) {
2802 1.1 christos case 0:
2803 1.1 christos p = "netbsd32_voidp";
2804 1.1 christos break;
2805 1.1 christos case 1:
2806 1.1 christos p = "netbsd32_size_t";
2807 1.1 christos break;
2808 1.1 christos default:
2809 1.1 christos break;
2810 1.1 christos };
2811 1.1 christos break;
2812 1.1 christos /* compat_43_netbsd32_otruncate */
2813 1.1 christos case 92:
2814 1.1 christos switch(ndx) {
2815 1.1 christos case 0:
2816 1.1 christos p = "netbsd32_charp";
2817 1.1 christos break;
2818 1.1 christos case 1:
2819 1.1 christos p = "netbsd32_long";
2820 1.1 christos break;
2821 1.1 christos default:
2822 1.1 christos break;
2823 1.1 christos };
2824 1.1 christos break;
2825 1.1 christos /* compat_43_netbsd32_oftruncate */
2826 1.1 christos case 93:
2827 1.1 christos switch(ndx) {
2828 1.1 christos case 0:
2829 1.1 christos p = "int";
2830 1.1 christos break;
2831 1.1 christos case 1:
2832 1.1 christos p = "netbsd32_long";
2833 1.1 christos break;
2834 1.1 christos default:
2835 1.1 christos break;
2836 1.1 christos };
2837 1.1 christos break;
2838 1.1 christos /* netbsd32_fchmod */
2839 1.1 christos case 94:
2840 1.1 christos switch(ndx) {
2841 1.1 christos case 0:
2842 1.1 christos p = "int";
2843 1.1 christos break;
2844 1.1 christos case 1:
2845 1.1 christos p = "linux_umode_t";
2846 1.1 christos break;
2847 1.1 christos default:
2848 1.1 christos break;
2849 1.1 christos };
2850 1.1 christos break;
2851 1.1 christos /* linux32_sys_fchown16 */
2852 1.1 christos case 95:
2853 1.1 christos switch(ndx) {
2854 1.1 christos case 0:
2855 1.1 christos p = "int";
2856 1.1 christos break;
2857 1.1 christos case 1:
2858 1.1 christos p = "linux32_uid16_t";
2859 1.1 christos break;
2860 1.1 christos case 2:
2861 1.1 christos p = "linux32_gid16_t";
2862 1.1 christos break;
2863 1.1 christos default:
2864 1.1 christos break;
2865 1.1 christos };
2866 1.1 christos break;
2867 1.1 christos /* linux32_sys_getpriority */
2868 1.1 christos case 96:
2869 1.1 christos switch(ndx) {
2870 1.1 christos case 0:
2871 1.1 christos p = "int";
2872 1.1 christos break;
2873 1.1 christos case 1:
2874 1.1 christos p = "int";
2875 1.1 christos break;
2876 1.1 christos default:
2877 1.1 christos break;
2878 1.1 christos };
2879 1.1 christos break;
2880 1.1 christos /* netbsd32_setpriority */
2881 1.1 christos case 97:
2882 1.1 christos switch(ndx) {
2883 1.1 christos case 0:
2884 1.1 christos p = "int";
2885 1.1 christos break;
2886 1.1 christos case 1:
2887 1.1 christos p = "int";
2888 1.1 christos break;
2889 1.1 christos case 2:
2890 1.1 christos p = "int";
2891 1.1 christos break;
2892 1.1 christos default:
2893 1.1 christos break;
2894 1.1 christos };
2895 1.1 christos break;
2896 1.1 christos /* netbsd32_profil */
2897 1.1 christos case 98:
2898 1.1 christos switch(ndx) {
2899 1.1 christos case 0:
2900 1.1 christos p = "netbsd32_voidp";
2901 1.1 christos break;
2902 1.1 christos case 1:
2903 1.1 christos p = "netbsd32_size_t";
2904 1.1 christos break;
2905 1.1 christos case 2:
2906 1.1 christos p = "netbsd32_u_long";
2907 1.1 christos break;
2908 1.1 christos case 3:
2909 1.1 christos p = "u_int";
2910 1.1 christos break;
2911 1.1 christos default:
2912 1.1 christos break;
2913 1.1 christos };
2914 1.1 christos break;
2915 1.1 christos /* linux32_sys_statfs */
2916 1.1 christos case 99:
2917 1.1 christos switch(ndx) {
2918 1.1 christos case 0:
2919 1.1 christos p = "netbsd32_charp";
2920 1.1 christos break;
2921 1.1 christos case 1:
2922 1.1 christos p = "linux32_statfsp";
2923 1.1 christos break;
2924 1.1 christos default:
2925 1.1 christos break;
2926 1.1 christos };
2927 1.1 christos break;
2928 1.1 christos /* linux32_sys_fstatfs */
2929 1.1 christos case 100:
2930 1.1 christos switch(ndx) {
2931 1.1 christos case 0:
2932 1.1 christos p = "int";
2933 1.1 christos break;
2934 1.1 christos case 1:
2935 1.1 christos p = "linux32_statfsp";
2936 1.1 christos break;
2937 1.1 christos default:
2938 1.1 christos break;
2939 1.1 christos };
2940 1.1 christos break;
2941 1.1 christos /* linux_sys_ioperm */
2942 1.1 christos case 101:
2943 1.1 christos switch(ndx) {
2944 1.1 christos case 0:
2945 1.1 christos p = "unsigned int";
2946 1.1 christos break;
2947 1.1 christos case 1:
2948 1.1 christos p = "unsigned int";
2949 1.1 christos break;
2950 1.1 christos case 2:
2951 1.1 christos p = "int";
2952 1.1 christos break;
2953 1.1 christos default:
2954 1.1 christos break;
2955 1.1 christos };
2956 1.1 christos break;
2957 1.1 christos /* linux32_sys_socketcall */
2958 1.1 christos case 102:
2959 1.1 christos switch(ndx) {
2960 1.1 christos case 0:
2961 1.1 christos p = "int";
2962 1.1 christos break;
2963 1.1 christos case 1:
2964 1.1 christos p = "netbsd32_voidp";
2965 1.1 christos break;
2966 1.1 christos default:
2967 1.1 christos break;
2968 1.1 christos };
2969 1.1 christos break;
2970 1.1 christos /* compat_50_netbsd32_setitimer */
2971 1.1 christos case 104:
2972 1.1 christos switch(ndx) {
2973 1.1 christos case 0:
2974 1.1 christos p = "int";
2975 1.1 christos break;
2976 1.1 christos case 1:
2977 1.1 christos p = "netbsd32_itimerval50p_t";
2978 1.1 christos break;
2979 1.1 christos case 2:
2980 1.1 christos p = "netbsd32_itimerval50p_t";
2981 1.1 christos break;
2982 1.1 christos default:
2983 1.1 christos break;
2984 1.1 christos };
2985 1.1 christos break;
2986 1.1 christos /* compat_50_netbsd32_getitimer */
2987 1.1 christos case 105:
2988 1.1 christos switch(ndx) {
2989 1.1 christos case 0:
2990 1.1 christos p = "int";
2991 1.1 christos break;
2992 1.1 christos case 1:
2993 1.1 christos p = "netbsd32_itimerval50p_t";
2994 1.1 christos break;
2995 1.1 christos default:
2996 1.1 christos break;
2997 1.1 christos };
2998 1.1 christos break;
2999 1.1 christos /* linux32_sys_stat */
3000 1.1 christos case 106:
3001 1.1 christos switch(ndx) {
3002 1.1 christos case 0:
3003 1.1 christos p = "netbsd32_charp";
3004 1.1 christos break;
3005 1.1 christos case 1:
3006 1.1 christos p = "linux32_statp";
3007 1.1 christos break;
3008 1.1 christos default:
3009 1.1 christos break;
3010 1.1 christos };
3011 1.1 christos break;
3012 1.1 christos /* linux32_sys_lstat */
3013 1.1 christos case 107:
3014 1.1 christos switch(ndx) {
3015 1.1 christos case 0:
3016 1.1 christos p = "netbsd32_charp";
3017 1.1 christos break;
3018 1.1 christos case 1:
3019 1.1 christos p = "linux32_statp";
3020 1.1 christos break;
3021 1.1 christos default:
3022 1.1 christos break;
3023 1.1 christos };
3024 1.1 christos break;
3025 1.1 christos /* linux32_sys_fstat */
3026 1.1 christos case 108:
3027 1.1 christos switch(ndx) {
3028 1.1 christos case 0:
3029 1.1 christos p = "int";
3030 1.1 christos break;
3031 1.1 christos case 1:
3032 1.1 christos p = "linux32_statp";
3033 1.1 christos break;
3034 1.1 christos default:
3035 1.1 christos break;
3036 1.1 christos };
3037 1.1 christos break;
3038 1.1 christos /* linux32_sys_olduname */
3039 1.1 christos case 109:
3040 1.1 christos switch(ndx) {
3041 1.1 christos case 0:
3042 1.1 christos p = "linux32_oldutsnamep_t";
3043 1.1 christos break;
3044 1.1 christos default:
3045 1.1 christos break;
3046 1.1 christos };
3047 1.1 christos break;
3048 1.1 christos /* linux_sys_iopl */
3049 1.1 christos case 110:
3050 1.1 christos switch(ndx) {
3051 1.1 christos case 0:
3052 1.1 christos p = "int";
3053 1.1 christos break;
3054 1.1 christos default:
3055 1.1 christos break;
3056 1.1 christos };
3057 1.1 christos break;
3058 1.1 christos /* linux32_sys_wait4 */
3059 1.1 christos case 114:
3060 1.1 christos switch(ndx) {
3061 1.1 christos case 0:
3062 1.1 christos p = "int";
3063 1.1 christos break;
3064 1.1 christos case 1:
3065 1.1 christos p = "netbsd32_intp";
3066 1.1 christos break;
3067 1.1 christos case 2:
3068 1.1 christos p = "int";
3069 1.1 christos break;
3070 1.1 christos case 3:
3071 1.1 christos p = "netbsd32_rusage50p_t";
3072 1.1 christos break;
3073 1.1 christos default:
3074 1.1 christos break;
3075 1.1 christos };
3076 1.1 christos break;
3077 1.1 christos /* linux32_sys_swapoff */
3078 1.1 christos case 115:
3079 1.1 christos switch(ndx) {
3080 1.1 christos case 0:
3081 1.1 christos p = "netbsd32_charp";
3082 1.1 christos break;
3083 1.1 christos default:
3084 1.1 christos break;
3085 1.1 christos };
3086 1.1 christos break;
3087 1.1 christos /* linux32_sys_sysinfo */
3088 1.1 christos case 116:
3089 1.1 christos switch(ndx) {
3090 1.1 christos case 0:
3091 1.1 christos p = "linux32_sysinfop_t";
3092 1.1 christos break;
3093 1.1 christos default:
3094 1.1 christos break;
3095 1.1 christos };
3096 1.1 christos break;
3097 1.1 christos /* linux32_sys_ipc */
3098 1.1 christos case 117:
3099 1.1 christos switch(ndx) {
3100 1.1 christos case 0:
3101 1.1 christos p = "int";
3102 1.1 christos break;
3103 1.1 christos case 1:
3104 1.1 christos p = "int";
3105 1.1 christos break;
3106 1.1 christos case 2:
3107 1.1 christos p = "int";
3108 1.1 christos break;
3109 1.1 christos case 3:
3110 1.1 christos p = "int";
3111 1.1 christos break;
3112 1.1 christos case 4:
3113 1.1 christos p = "netbsd32_voidp";
3114 1.1 christos break;
3115 1.1 christos default:
3116 1.1 christos break;
3117 1.1 christos };
3118 1.1 christos break;
3119 1.1 christos /* netbsd32_fsync */
3120 1.1 christos case 118:
3121 1.1 christos switch(ndx) {
3122 1.1 christos case 0:
3123 1.1 christos p = "int";
3124 1.1 christos break;
3125 1.1 christos default:
3126 1.1 christos break;
3127 1.1 christos };
3128 1.1 christos break;
3129 1.1 christos /* linux32_sys_sigreturn */
3130 1.1 christos case 119:
3131 1.1 christos switch(ndx) {
3132 1.1 christos case 0:
3133 1.1 christos p = "linux32_sigcontextp_t";
3134 1.1 christos break;
3135 1.1 christos default:
3136 1.1 christos break;
3137 1.1 christos };
3138 1.1 christos break;
3139 1.1 christos /* linux32_sys_clone */
3140 1.1 christos case 120:
3141 1.1 christos switch(ndx) {
3142 1.1 christos case 0:
3143 1.1 christos p = "int";
3144 1.1 christos break;
3145 1.1 christos case 1:
3146 1.1 christos p = "netbsd32_voidp";
3147 1.1 christos break;
3148 1.1 christos case 2:
3149 1.1 christos p = "netbsd32_voidp";
3150 1.1 christos break;
3151 1.1 christos case 3:
3152 1.1 christos p = "netbsd32_voidp";
3153 1.1 christos break;
3154 1.1 christos case 4:
3155 1.1 christos p = "netbsd32_voidp";
3156 1.1 christos break;
3157 1.1 christos default:
3158 1.1 christos break;
3159 1.1 christos };
3160 1.1 christos break;
3161 1.1 christos /* linux32_sys_setdomainname */
3162 1.1 christos case 121:
3163 1.1 christos switch(ndx) {
3164 1.1 christos case 0:
3165 1.1 christos p = "netbsd32_charp";
3166 1.1 christos break;
3167 1.1 christos case 1:
3168 1.1 christos p = "int";
3169 1.1 christos break;
3170 1.1 christos default:
3171 1.1 christos break;
3172 1.1 christos };
3173 1.1 christos break;
3174 1.1 christos /* linux32_sys_uname */
3175 1.1 christos case 122:
3176 1.1 christos switch(ndx) {
3177 1.1 christos case 0:
3178 1.1 christos p = "linux32_utsnamep";
3179 1.1 christos break;
3180 1.1 christos default:
3181 1.1 christos break;
3182 1.1 christos };
3183 1.1 christos break;
3184 1.1 christos /* linux32_sys_modify_ldt */
3185 1.1 christos case 123:
3186 1.1 christos switch(ndx) {
3187 1.1 christos case 0:
3188 1.1 christos p = "int";
3189 1.1 christos break;
3190 1.1 christos case 1:
3191 1.1 christos p = "netbsd32_charp";
3192 1.1 christos break;
3193 1.1 christos case 2:
3194 1.1 christos p = "netbsd32_size_t";
3195 1.1 christos break;
3196 1.1 christos default:
3197 1.1 christos break;
3198 1.1 christos };
3199 1.1 christos break;
3200 1.1 christos /* linux32_sys_mprotect */
3201 1.1 christos case 125:
3202 1.1 christos switch(ndx) {
3203 1.1 christos case 0:
3204 1.1 christos p = "netbsd32_voidp";
3205 1.1 christos break;
3206 1.1 christos case 1:
3207 1.1 christos p = "netbsd32_size_t";
3208 1.1 christos break;
3209 1.1 christos case 2:
3210 1.1 christos p = "int";
3211 1.1 christos break;
3212 1.1 christos default:
3213 1.1 christos break;
3214 1.1 christos };
3215 1.1 christos break;
3216 1.1 christos /* netbsd32_getpgid */
3217 1.1 christos case 132:
3218 1.1 christos switch(ndx) {
3219 1.1 christos case 0:
3220 1.1 christos p = "pid_t";
3221 1.1 christos break;
3222 1.1 christos default:
3223 1.1 christos break;
3224 1.1 christos };
3225 1.1 christos break;
3226 1.1 christos /* netbsd32_fchdir */
3227 1.1 christos case 133:
3228 1.1 christos switch(ndx) {
3229 1.1 christos case 0:
3230 1.1 christos p = "int";
3231 1.1 christos break;
3232 1.1 christos default:
3233 1.1 christos break;
3234 1.1 christos };
3235 1.1 christos break;
3236 1.1 christos /* linux32_sys_personality */
3237 1.1 christos case 136:
3238 1.1 christos switch(ndx) {
3239 1.1 christos case 0:
3240 1.1 christos p = "netbsd32_u_long";
3241 1.1 christos break;
3242 1.1 christos default:
3243 1.1 christos break;
3244 1.1 christos };
3245 1.1 christos break;
3246 1.1 christos /* linux32_sys_setfsuid */
3247 1.1 christos case 138:
3248 1.1 christos switch(ndx) {
3249 1.1 christos case 0:
3250 1.1 christos p = "uid_t";
3251 1.1 christos break;
3252 1.1 christos default:
3253 1.1 christos break;
3254 1.1 christos };
3255 1.1 christos break;
3256 1.1 christos /* linux32_sys_setfsgid */
3257 1.1 christos case 139:
3258 1.1 christos switch(ndx) {
3259 1.1 christos case 0:
3260 1.1 christos p = "gid_t";
3261 1.1 christos break;
3262 1.1 christos default:
3263 1.1 christos break;
3264 1.1 christos };
3265 1.1 christos break;
3266 1.1 christos /* linux32_sys_llseek */
3267 1.1 christos case 140:
3268 1.1 christos switch(ndx) {
3269 1.1 christos case 0:
3270 1.1 christos p = "int";
3271 1.1 christos break;
3272 1.1 christos case 1:
3273 1.1 christos p = "u_int32_t";
3274 1.1 christos break;
3275 1.1 christos case 2:
3276 1.1 christos p = "u_int32_t";
3277 1.1 christos break;
3278 1.1 christos case 3:
3279 1.1 christos p = "netbsd32_voidp";
3280 1.1 christos break;
3281 1.1 christos case 4:
3282 1.1 christos p = "int";
3283 1.1 christos break;
3284 1.1 christos default:
3285 1.1 christos break;
3286 1.1 christos };
3287 1.1 christos break;
3288 1.1 christos /* linux32_sys_getdents */
3289 1.1 christos case 141:
3290 1.1 christos switch(ndx) {
3291 1.1 christos case 0:
3292 1.1 christos p = "int";
3293 1.1 christos break;
3294 1.1 christos case 1:
3295 1.1 christos p = "linux32_direntp_t";
3296 1.1 christos break;
3297 1.1 christos case 2:
3298 1.1 christos p = "unsigned int";
3299 1.1 christos break;
3300 1.1 christos default:
3301 1.1 christos break;
3302 1.1 christos };
3303 1.1 christos break;
3304 1.1 christos /* linux32_sys_select */
3305 1.1 christos case 142:
3306 1.1 christos switch(ndx) {
3307 1.1 christos case 0:
3308 1.1 christos p = "int";
3309 1.1 christos break;
3310 1.1 christos case 1:
3311 1.1 christos p = "netbsd32_fd_setp_t";
3312 1.1 christos break;
3313 1.1 christos case 2:
3314 1.1 christos p = "netbsd32_fd_setp_t";
3315 1.1 christos break;
3316 1.1 christos case 3:
3317 1.1 christos p = "netbsd32_fd_setp_t";
3318 1.1 christos break;
3319 1.1 christos case 4:
3320 1.1 christos p = "netbsd32_timeval50p_t";
3321 1.1 christos break;
3322 1.1 christos default:
3323 1.1 christos break;
3324 1.1 christos };
3325 1.1 christos break;
3326 1.1 christos /* netbsd32_flock */
3327 1.1 christos case 143:
3328 1.1 christos switch(ndx) {
3329 1.1 christos case 0:
3330 1.1 christos p = "int";
3331 1.1 christos break;
3332 1.1 christos case 1:
3333 1.1 christos p = "int";
3334 1.1 christos break;
3335 1.1 christos default:
3336 1.1 christos break;
3337 1.1 christos };
3338 1.1 christos break;
3339 1.1 christos /* netbsd32___msync13 */
3340 1.1 christos case 144:
3341 1.1 christos switch(ndx) {
3342 1.1 christos case 0:
3343 1.1 christos p = "netbsd32_voidp";
3344 1.1 christos break;
3345 1.1 christos case 1:
3346 1.1 christos p = "netbsd32_size_t";
3347 1.1 christos break;
3348 1.1 christos case 2:
3349 1.1 christos p = "int";
3350 1.1 christos break;
3351 1.1 christos default:
3352 1.1 christos break;
3353 1.1 christos };
3354 1.1 christos break;
3355 1.1 christos /* netbsd32_readv */
3356 1.1 christos case 145:
3357 1.1 christos switch(ndx) {
3358 1.1 christos case 0:
3359 1.1 christos p = "int";
3360 1.1 christos break;
3361 1.1 christos case 1:
3362 1.1 christos p = "netbsd32_iovecp_t";
3363 1.1 christos break;
3364 1.1 christos case 2:
3365 1.1 christos p = "int";
3366 1.1 christos break;
3367 1.1 christos default:
3368 1.1 christos break;
3369 1.1 christos };
3370 1.1 christos break;
3371 1.1 christos /* netbsd32_writev */
3372 1.1 christos case 146:
3373 1.1 christos switch(ndx) {
3374 1.1 christos case 0:
3375 1.1 christos p = "int";
3376 1.1 christos break;
3377 1.1 christos case 1:
3378 1.1 christos p = "netbsd32_iovecp_t";
3379 1.1 christos break;
3380 1.1 christos case 2:
3381 1.1 christos p = "int";
3382 1.1 christos break;
3383 1.1 christos default:
3384 1.1 christos break;
3385 1.1 christos };
3386 1.1 christos break;
3387 1.1 christos /* netbsd32_getsid */
3388 1.1 christos case 147:
3389 1.1 christos switch(ndx) {
3390 1.1 christos case 0:
3391 1.1 christos p = "pid_t";
3392 1.1 christos break;
3393 1.1 christos default:
3394 1.1 christos break;
3395 1.1 christos };
3396 1.1 christos break;
3397 1.1 christos /* linux32_sys_fdatasync */
3398 1.1 christos case 148:
3399 1.1 christos switch(ndx) {
3400 1.1 christos case 0:
3401 1.1 christos p = "int";
3402 1.1 christos break;
3403 1.1 christos default:
3404 1.1 christos break;
3405 1.1 christos };
3406 1.1 christos break;
3407 1.1 christos /* linux32_sys___sysctl */
3408 1.1 christos case 149:
3409 1.1 christos switch(ndx) {
3410 1.1 christos case 0:
3411 1.1 christos p = "linux32___sysctlp_t";
3412 1.1 christos break;
3413 1.1 christos default:
3414 1.1 christos break;
3415 1.1 christos };
3416 1.1 christos break;
3417 1.1 christos /* netbsd32_mlock */
3418 1.1 christos case 150:
3419 1.1 christos switch(ndx) {
3420 1.1 christos case 0:
3421 1.1 christos p = "netbsd32_voidp";
3422 1.1 christos break;
3423 1.1 christos case 1:
3424 1.1 christos p = "netbsd32_size_t";
3425 1.1 christos break;
3426 1.1 christos default:
3427 1.1 christos break;
3428 1.1 christos };
3429 1.1 christos break;
3430 1.1 christos /* netbsd32_munlock */
3431 1.1 christos case 151:
3432 1.1 christos switch(ndx) {
3433 1.1 christos case 0:
3434 1.1 christos p = "netbsd32_voidp";
3435 1.1 christos break;
3436 1.1 christos case 1:
3437 1.1 christos p = "netbsd32_size_t";
3438 1.1 christos break;
3439 1.1 christos default:
3440 1.1 christos break;
3441 1.1 christos };
3442 1.1 christos break;
3443 1.1 christos /* netbsd32_mlockall */
3444 1.1 christos case 152:
3445 1.1 christos switch(ndx) {
3446 1.1 christos case 0:
3447 1.1 christos p = "int";
3448 1.1 christos break;
3449 1.1 christos default:
3450 1.1 christos break;
3451 1.1 christos };
3452 1.1 christos break;
3453 1.1 christos /* sys_munlockall */
3454 1.1 christos case 153:
3455 1.1 christos break;
3456 1.1 christos /* linux32_sys_sched_setparam */
3457 1.1 christos case 154:
3458 1.1 christos switch(ndx) {
3459 1.1 christos case 0:
3460 1.1 christos p = "pid_t";
3461 1.1 christos break;
3462 1.1 christos case 1:
3463 1.1 christos p = "const linux32_sched_paramp_t";
3464 1.1 christos break;
3465 1.1 christos default:
3466 1.1 christos break;
3467 1.1 christos };
3468 1.1 christos break;
3469 1.1 christos /* linux32_sys_sched_getparam */
3470 1.1 christos case 155:
3471 1.1 christos switch(ndx) {
3472 1.1 christos case 0:
3473 1.1 christos p = "pid_t";
3474 1.1 christos break;
3475 1.1 christos case 1:
3476 1.1 christos p = "linux32_sched_paramp_t";
3477 1.1 christos break;
3478 1.1 christos default:
3479 1.1 christos break;
3480 1.1 christos };
3481 1.1 christos break;
3482 1.1 christos /* linux32_sys_sched_setscheduler */
3483 1.1 christos case 156:
3484 1.1 christos switch(ndx) {
3485 1.1 christos case 0:
3486 1.1 christos p = "pid_t";
3487 1.1 christos break;
3488 1.1 christos case 1:
3489 1.1 christos p = "int";
3490 1.1 christos break;
3491 1.1 christos case 2:
3492 1.1 christos p = "linux32_sched_paramp_t";
3493 1.1 christos break;
3494 1.1 christos default:
3495 1.1 christos break;
3496 1.1 christos };
3497 1.1 christos break;
3498 1.1 christos /* linux32_sys_sched_getscheduler */
3499 1.1 christos case 157:
3500 1.1 christos switch(ndx) {
3501 1.1 christos case 0:
3502 1.1 christos p = "pid_t";
3503 1.1 christos break;
3504 1.1 christos default:
3505 1.1 christos break;
3506 1.1 christos };
3507 1.1 christos break;
3508 1.1 christos /* linux_sys_sched_yield */
3509 1.1 christos case 158:
3510 1.1 christos break;
3511 1.1 christos /* linux32_sys_sched_get_priority_max */
3512 1.1 christos case 159:
3513 1.1 christos switch(ndx) {
3514 1.1 christos case 0:
3515 1.1 christos p = "int";
3516 1.1 christos break;
3517 1.1 christos default:
3518 1.1 christos break;
3519 1.1 christos };
3520 1.1 christos break;
3521 1.1 christos /* linux32_sys_sched_get_priority_min */
3522 1.1 christos case 160:
3523 1.1 christos switch(ndx) {
3524 1.1 christos case 0:
3525 1.1 christos p = "int";
3526 1.1 christos break;
3527 1.1 christos default:
3528 1.1 christos break;
3529 1.1 christos };
3530 1.1 christos break;
3531 1.1 christos /* linux32_sys_nanosleep */
3532 1.1 christos case 162:
3533 1.1 christos switch(ndx) {
3534 1.1 christos case 0:
3535 1.1 christos p = "linux32_timespecp_t";
3536 1.1 christos break;
3537 1.1 christos case 1:
3538 1.1 christos p = "linux32_timespecp_t";
3539 1.1 christos break;
3540 1.1 christos default:
3541 1.1 christos break;
3542 1.1 christos };
3543 1.1 christos break;
3544 1.1 christos /* linux32_sys_mremap */
3545 1.1 christos case 163:
3546 1.1 christos switch(ndx) {
3547 1.1 christos case 0:
3548 1.1 christos p = "netbsd32_voidp";
3549 1.1 christos break;
3550 1.1 christos case 1:
3551 1.1 christos p = "netbsd32_size_t";
3552 1.1 christos break;
3553 1.1 christos case 2:
3554 1.1 christos p = "netbsd32_size_t";
3555 1.1 christos break;
3556 1.1 christos case 3:
3557 1.1 christos p = "netbsd32_u_long";
3558 1.1 christos break;
3559 1.1 christos default:
3560 1.1 christos break;
3561 1.1 christos };
3562 1.1 christos break;
3563 1.1 christos /* linux32_sys_setresuid16 */
3564 1.1 christos case 164:
3565 1.1 christos switch(ndx) {
3566 1.1 christos case 0:
3567 1.1 christos p = "linux32_uid16_t";
3568 1.1 christos break;
3569 1.1 christos case 1:
3570 1.1 christos p = "linux32_uid16_t";
3571 1.1 christos break;
3572 1.1 christos case 2:
3573 1.1 christos p = "linux32_uid16_t";
3574 1.1 christos break;
3575 1.1 christos default:
3576 1.1 christos break;
3577 1.1 christos };
3578 1.1 christos break;
3579 1.1 christos /* linux32_sys_getresuid16 */
3580 1.1 christos case 165:
3581 1.1 christos switch(ndx) {
3582 1.1 christos case 0:
3583 1.1 christos p = "linux32_uid16p_t";
3584 1.1 christos break;
3585 1.1 christos case 1:
3586 1.1 christos p = "linux32_uid16p_t";
3587 1.1 christos break;
3588 1.1 christos case 2:
3589 1.1 christos p = "linux32_uid16p_t";
3590 1.1 christos break;
3591 1.1 christos default:
3592 1.1 christos break;
3593 1.1 christos };
3594 1.1 christos break;
3595 1.1 christos /* netbsd32_poll */
3596 1.1 christos case 168:
3597 1.1 christos switch(ndx) {
3598 1.1 christos case 0:
3599 1.1 christos p = "netbsd32_pollfdp_t";
3600 1.1 christos break;
3601 1.1 christos case 1:
3602 1.1 christos p = "u_int";
3603 1.1 christos break;
3604 1.1 christos case 2:
3605 1.1 christos p = "int";
3606 1.1 christos break;
3607 1.1 christos default:
3608 1.1 christos break;
3609 1.1 christos };
3610 1.1 christos break;
3611 1.1 christos /* linux32_sys_setresgid16 */
3612 1.1 christos case 170:
3613 1.1 christos switch(ndx) {
3614 1.1 christos case 0:
3615 1.1 christos p = "linux32_gid16_t";
3616 1.1 christos break;
3617 1.1 christos case 1:
3618 1.1 christos p = "linux32_gid16_t";
3619 1.1 christos break;
3620 1.1 christos case 2:
3621 1.1 christos p = "linux32_gid16_t";
3622 1.1 christos break;
3623 1.1 christos default:
3624 1.1 christos break;
3625 1.1 christos };
3626 1.1 christos break;
3627 1.1 christos /* linux32_sys_getresgid16 */
3628 1.1 christos case 171:
3629 1.1 christos switch(ndx) {
3630 1.1 christos case 0:
3631 1.1 christos p = "linux32_gid16p_t";
3632 1.1 christos break;
3633 1.1 christos case 1:
3634 1.1 christos p = "linux32_gid16p_t";
3635 1.1 christos break;
3636 1.1 christos case 2:
3637 1.1 christos p = "linux32_gid16p_t";
3638 1.1 christos break;
3639 1.1 christos default:
3640 1.1 christos break;
3641 1.1 christos };
3642 1.1 christos break;
3643 1.1 christos /* linux32_sys_rt_sigreturn */
3644 1.1 christos case 173:
3645 1.1 christos switch(ndx) {
3646 1.1 christos case 0:
3647 1.1 christos p = "linux32_ucontextp_t";
3648 1.1 christos break;
3649 1.1 christos default:
3650 1.1 christos break;
3651 1.1 christos };
3652 1.1 christos break;
3653 1.1 christos /* linux32_sys_rt_sigaction */
3654 1.1 christos case 174:
3655 1.1 christos switch(ndx) {
3656 1.1 christos case 0:
3657 1.1 christos p = "int";
3658 1.1 christos break;
3659 1.1 christos case 1:
3660 1.1 christos p = "linux32_sigactionp_t";
3661 1.1 christos break;
3662 1.1 christos case 2:
3663 1.1 christos p = "linux32_sigactionp_t";
3664 1.1 christos break;
3665 1.1 christos case 3:
3666 1.1 christos p = "netbsd32_size_t";
3667 1.1 christos break;
3668 1.1 christos default:
3669 1.1 christos break;
3670 1.1 christos };
3671 1.1 christos break;
3672 1.1 christos /* linux32_sys_rt_sigprocmask */
3673 1.1 christos case 175:
3674 1.1 christos switch(ndx) {
3675 1.1 christos case 0:
3676 1.1 christos p = "int";
3677 1.1 christos break;
3678 1.1 christos case 1:
3679 1.1 christos p = "linux32_sigsetp_t";
3680 1.1 christos break;
3681 1.1 christos case 2:
3682 1.1 christos p = "linux32_sigsetp_t";
3683 1.1 christos break;
3684 1.1 christos case 3:
3685 1.1 christos p = "netbsd32_size_t";
3686 1.1 christos break;
3687 1.1 christos default:
3688 1.1 christos break;
3689 1.1 christos };
3690 1.1 christos break;
3691 1.1 christos /* linux32_sys_rt_sigpending */
3692 1.1 christos case 176:
3693 1.1 christos switch(ndx) {
3694 1.1 christos case 0:
3695 1.1 christos p = "linux32_sigsetp_t";
3696 1.1 christos break;
3697 1.1 christos case 1:
3698 1.1 christos p = "netbsd32_size_t";
3699 1.1 christos break;
3700 1.1 christos default:
3701 1.1 christos break;
3702 1.1 christos };
3703 1.1 christos break;
3704 1.1 christos /* linux32_sys_rt_sigtimedwait */
3705 1.1 christos case 177:
3706 1.1 christos switch(ndx) {
3707 1.1 christos case 0:
3708 1.1 christos p = "const linux32_sigsetp_t";
3709 1.1 christos break;
3710 1.1 christos case 1:
3711 1.1 christos p = "linux32_siginfop_t";
3712 1.1 christos break;
3713 1.1 christos case 2:
3714 1.1 christos p = "const linux32_timespecp_t";
3715 1.1 christos break;
3716 1.1 christos default:
3717 1.1 christos break;
3718 1.1 christos };
3719 1.1 christos break;
3720 1.1 christos /* linux32_sys_rt_queueinfo */
3721 1.1 christos case 178:
3722 1.1 christos switch(ndx) {
3723 1.1 christos case 0:
3724 1.1 christos p = "int";
3725 1.1 christos break;
3726 1.1 christos case 1:
3727 1.1 christos p = "int";
3728 1.1 christos break;
3729 1.1 christos case 2:
3730 1.1 christos p = "linux32_siginfop_t";
3731 1.1 christos break;
3732 1.1 christos default:
3733 1.1 christos break;
3734 1.1 christos };
3735 1.1 christos break;
3736 1.1 christos /* linux32_sys_rt_sigsuspend */
3737 1.1 christos case 179:
3738 1.1 christos switch(ndx) {
3739 1.1 christos case 0:
3740 1.1 christos p = "linux32_sigsetp_t";
3741 1.1 christos break;
3742 1.1 christos case 1:
3743 1.1 christos p = "netbsd32_size_t";
3744 1.1 christos break;
3745 1.1 christos default:
3746 1.1 christos break;
3747 1.1 christos };
3748 1.1 christos break;
3749 1.1 christos /* linux32_sys_pread */
3750 1.1 christos case 180:
3751 1.1 christos switch(ndx) {
3752 1.1 christos case 0:
3753 1.1 christos p = "int";
3754 1.1 christos break;
3755 1.1 christos case 1:
3756 1.1 christos p = "netbsd32_voidp";
3757 1.1 christos break;
3758 1.1 christos case 2:
3759 1.1 christos p = "netbsd32_size_t";
3760 1.1 christos break;
3761 1.1 christos case 3:
3762 1.1 christos p = "netbsd32_off_t";
3763 1.1 christos break;
3764 1.1 christos default:
3765 1.1 christos break;
3766 1.1 christos };
3767 1.1 christos break;
3768 1.1 christos /* linux32_sys_pwrite */
3769 1.1 christos case 181:
3770 1.1 christos switch(ndx) {
3771 1.1 christos case 0:
3772 1.1 christos p = "int";
3773 1.1 christos break;
3774 1.1 christos case 1:
3775 1.1 christos p = "netbsd32_voidp";
3776 1.1 christos break;
3777 1.1 christos case 2:
3778 1.1 christos p = "netbsd32_size_t";
3779 1.1 christos break;
3780 1.1 christos case 3:
3781 1.1 christos p = "netbsd32_off_t";
3782 1.1 christos break;
3783 1.1 christos default:
3784 1.1 christos break;
3785 1.1 christos };
3786 1.1 christos break;
3787 1.1 christos /* linux32_sys_chown16 */
3788 1.1 christos case 182:
3789 1.1 christos switch(ndx) {
3790 1.1 christos case 0:
3791 1.1 christos p = "netbsd32_charp";
3792 1.1 christos break;
3793 1.1 christos case 1:
3794 1.1 christos p = "linux32_uid16_t";
3795 1.1 christos break;
3796 1.1 christos case 2:
3797 1.1 christos p = "linux32_gid16_t";
3798 1.1 christos break;
3799 1.1 christos default:
3800 1.1 christos break;
3801 1.1 christos };
3802 1.1 christos break;
3803 1.1 christos /* netbsd32___getcwd */
3804 1.1 christos case 183:
3805 1.1 christos switch(ndx) {
3806 1.1 christos case 0:
3807 1.1 christos p = "netbsd32_charp";
3808 1.1 christos break;
3809 1.1 christos case 1:
3810 1.1 christos p = "netbsd32_size_t";
3811 1.1 christos break;
3812 1.1 christos default:
3813 1.1 christos break;
3814 1.1 christos };
3815 1.1 christos break;
3816 1.1 christos /* sys___vfork14 */
3817 1.1 christos case 190:
3818 1.1 christos break;
3819 1.1 christos /* linux32_sys_ugetrlimit */
3820 1.1 christos case 191:
3821 1.1 christos switch(ndx) {
3822 1.1 christos case 0:
3823 1.1 christos p = "int";
3824 1.1 christos break;
3825 1.1 christos case 1:
3826 1.1 christos p = "netbsd32_orlimitp_t";
3827 1.1 christos break;
3828 1.1 christos default:
3829 1.1 christos break;
3830 1.1 christos };
3831 1.1 christos break;
3832 1.1 christos /* linux32_sys_mmap2 */
3833 1.1 christos case 192:
3834 1.1 christos switch(ndx) {
3835 1.1 christos case 0:
3836 1.1 christos p = "netbsd32_u_long";
3837 1.1 christos break;
3838 1.1 christos case 1:
3839 1.1 christos p = "netbsd32_size_t";
3840 1.1 christos break;
3841 1.1 christos case 2:
3842 1.1 christos p = "int";
3843 1.1 christos break;
3844 1.1 christos case 3:
3845 1.1 christos p = "int";
3846 1.1 christos break;
3847 1.1 christos case 4:
3848 1.1 christos p = "int";
3849 1.1 christos break;
3850 1.1 christos case 5:
3851 1.1 christos p = "linux32_off_t";
3852 1.1 christos break;
3853 1.1 christos default:
3854 1.1 christos break;
3855 1.1 christos };
3856 1.1 christos break;
3857 1.1 christos /* linux32_sys_truncate64 */
3858 1.1 christos case 193:
3859 1.1 christos switch(ndx) {
3860 1.1 christos case 0:
3861 1.1 christos p = "netbsd32_charp";
3862 1.1 christos break;
3863 1.1 christos case 1:
3864 1.1 christos p = "uint32_t";
3865 1.1 christos break;
3866 1.1 christos case 2:
3867 1.1 christos p = "uint32_t";
3868 1.1 christos break;
3869 1.1 christos default:
3870 1.1 christos break;
3871 1.1 christos };
3872 1.1 christos break;
3873 1.1 christos /* linux32_sys_ftruncate64 */
3874 1.1 christos case 194:
3875 1.1 christos switch(ndx) {
3876 1.1 christos case 0:
3877 1.1 christos p = "unsigned int";
3878 1.1 christos break;
3879 1.1 christos case 1:
3880 1.1 christos p = "uint32_t";
3881 1.1 christos break;
3882 1.1 christos case 2:
3883 1.1 christos p = "uint32_t";
3884 1.1 christos break;
3885 1.1 christos default:
3886 1.1 christos break;
3887 1.1 christos };
3888 1.1 christos break;
3889 1.1 christos /* linux32_sys_stat64 */
3890 1.1 christos case 195:
3891 1.1 christos switch(ndx) {
3892 1.1 christos case 0:
3893 1.1 christos p = "netbsd32_charp";
3894 1.1 christos break;
3895 1.1 christos case 1:
3896 1.1 christos p = "linux32_stat64p";
3897 1.1 christos break;
3898 1.1 christos default:
3899 1.1 christos break;
3900 1.1 christos };
3901 1.1 christos break;
3902 1.1 christos /* linux32_sys_lstat64 */
3903 1.1 christos case 196:
3904 1.1 christos switch(ndx) {
3905 1.1 christos case 0:
3906 1.1 christos p = "netbsd32_charp";
3907 1.1 christos break;
3908 1.1 christos case 1:
3909 1.1 christos p = "linux32_stat64p";
3910 1.1 christos break;
3911 1.1 christos default:
3912 1.1 christos break;
3913 1.1 christos };
3914 1.1 christos break;
3915 1.1 christos /* linux32_sys_fstat64 */
3916 1.1 christos case 197:
3917 1.1 christos switch(ndx) {
3918 1.1 christos case 0:
3919 1.1 christos p = "int";
3920 1.1 christos break;
3921 1.1 christos case 1:
3922 1.1 christos p = "linux32_stat64p";
3923 1.1 christos break;
3924 1.1 christos default:
3925 1.1 christos break;
3926 1.1 christos };
3927 1.1 christos break;
3928 1.1 christos /* netbsd32___posix_lchown */
3929 1.1 christos case 198:
3930 1.1 christos switch(ndx) {
3931 1.1 christos case 0:
3932 1.1 christos p = "netbsd32_charp";
3933 1.1 christos break;
3934 1.1 christos case 1:
3935 1.1 christos p = "uid_t";
3936 1.1 christos break;
3937 1.1 christos case 2:
3938 1.1 christos p = "gid_t";
3939 1.1 christos break;
3940 1.1 christos default:
3941 1.1 christos break;
3942 1.1 christos };
3943 1.1 christos break;
3944 1.1 christos /* sys_getuid */
3945 1.1 christos case 199:
3946 1.1 christos break;
3947 1.1 christos /* sys_getgid */
3948 1.1 christos case 200:
3949 1.1 christos break;
3950 1.1 christos /* sys_geteuid */
3951 1.1 christos case 201:
3952 1.1 christos break;
3953 1.1 christos /* sys_getegid */
3954 1.1 christos case 202:
3955 1.1 christos break;
3956 1.1 christos /* netbsd32_setreuid */
3957 1.1 christos case 203:
3958 1.1 christos switch(ndx) {
3959 1.1 christos case 0:
3960 1.1 christos p = "uid_t";
3961 1.1 christos break;
3962 1.1 christos case 1:
3963 1.1 christos p = "uid_t";
3964 1.1 christos break;
3965 1.1 christos default:
3966 1.1 christos break;
3967 1.1 christos };
3968 1.1 christos break;
3969 1.1 christos /* netbsd32_setregid */
3970 1.1 christos case 204:
3971 1.1 christos switch(ndx) {
3972 1.1 christos case 0:
3973 1.1 christos p = "gid_t";
3974 1.1 christos break;
3975 1.1 christos case 1:
3976 1.1 christos p = "gid_t";
3977 1.1 christos break;
3978 1.1 christos default:
3979 1.1 christos break;
3980 1.1 christos };
3981 1.1 christos break;
3982 1.1 christos /* netbsd32_getgroups */
3983 1.1 christos case 205:
3984 1.1 christos switch(ndx) {
3985 1.1 christos case 0:
3986 1.1 christos p = "int";
3987 1.1 christos break;
3988 1.1 christos case 1:
3989 1.1 christos p = "netbsd32_gid_tp";
3990 1.1 christos break;
3991 1.1 christos default:
3992 1.1 christos break;
3993 1.1 christos };
3994 1.1 christos break;
3995 1.1 christos /* netbsd32_setgroups */
3996 1.1 christos case 206:
3997 1.1 christos switch(ndx) {
3998 1.1 christos case 0:
3999 1.1 christos p = "int";
4000 1.1 christos break;
4001 1.1 christos case 1:
4002 1.1 christos p = "netbsd32_gid_tp";
4003 1.1 christos break;
4004 1.1 christos default:
4005 1.1 christos break;
4006 1.1 christos };
4007 1.1 christos break;
4008 1.1 christos /* netbsd32___posix_fchown */
4009 1.1 christos case 207:
4010 1.1 christos switch(ndx) {
4011 1.1 christos case 0:
4012 1.1 christos p = "int";
4013 1.1 christos break;
4014 1.1 christos case 1:
4015 1.1 christos p = "uid_t";
4016 1.1 christos break;
4017 1.1 christos case 2:
4018 1.1 christos p = "gid_t";
4019 1.1 christos break;
4020 1.1 christos default:
4021 1.1 christos break;
4022 1.1 christos };
4023 1.1 christos break;
4024 1.1 christos /* linux32_sys_setresuid */
4025 1.1 christos case 208:
4026 1.1 christos switch(ndx) {
4027 1.1 christos case 0:
4028 1.1 christos p = "uid_t";
4029 1.1 christos break;
4030 1.1 christos case 1:
4031 1.1 christos p = "uid_t";
4032 1.1 christos break;
4033 1.1 christos case 2:
4034 1.1 christos p = "uid_t";
4035 1.1 christos break;
4036 1.1 christos default:
4037 1.1 christos break;
4038 1.1 christos };
4039 1.1 christos break;
4040 1.1 christos /* linux32_sys_getresuid */
4041 1.1 christos case 209:
4042 1.1 christos switch(ndx) {
4043 1.1 christos case 0:
4044 1.1 christos p = "linux32_uidp_t";
4045 1.1 christos break;
4046 1.1 christos case 1:
4047 1.1 christos p = "linux32_uidp_t";
4048 1.1 christos break;
4049 1.1 christos case 2:
4050 1.1 christos p = "linux32_uidp_t";
4051 1.1 christos break;
4052 1.1 christos default:
4053 1.1 christos break;
4054 1.1 christos };
4055 1.1 christos break;
4056 1.1 christos /* linux32_sys_setresgid */
4057 1.1 christos case 210:
4058 1.1 christos switch(ndx) {
4059 1.1 christos case 0:
4060 1.1 christos p = "gid_t";
4061 1.1 christos break;
4062 1.1 christos case 1:
4063 1.1 christos p = "gid_t";
4064 1.1 christos break;
4065 1.1 christos case 2:
4066 1.1 christos p = "gid_t";
4067 1.1 christos break;
4068 1.1 christos default:
4069 1.1 christos break;
4070 1.1 christos };
4071 1.1 christos break;
4072 1.1 christos /* linux32_sys_getresgid */
4073 1.1 christos case 211:
4074 1.1 christos switch(ndx) {
4075 1.1 christos case 0:
4076 1.1 christos p = "linux32_gidp_t";
4077 1.1 christos break;
4078 1.1 christos case 1:
4079 1.1 christos p = "linux32_gidp_t";
4080 1.1 christos break;
4081 1.1 christos case 2:
4082 1.1 christos p = "linux32_gidp_t";
4083 1.1 christos break;
4084 1.1 christos default:
4085 1.1 christos break;
4086 1.1 christos };
4087 1.1 christos break;
4088 1.1 christos /* netbsd32___posix_chown */
4089 1.1 christos case 212:
4090 1.1 christos switch(ndx) {
4091 1.1 christos case 0:
4092 1.1 christos p = "netbsd32_charp";
4093 1.1 christos break;
4094 1.1 christos case 1:
4095 1.1 christos p = "uid_t";
4096 1.1 christos break;
4097 1.1 christos case 2:
4098 1.1 christos p = "gid_t";
4099 1.1 christos break;
4100 1.1 christos default:
4101 1.1 christos break;
4102 1.1 christos };
4103 1.1 christos break;
4104 1.1 christos /* netbsd32_setuid */
4105 1.1 christos case 213:
4106 1.1 christos switch(ndx) {
4107 1.1 christos case 0:
4108 1.1 christos p = "uid_t";
4109 1.1 christos break;
4110 1.1 christos default:
4111 1.1 christos break;
4112 1.1 christos };
4113 1.1 christos break;
4114 1.1 christos /* netbsd32_setgid */
4115 1.1 christos case 214:
4116 1.1 christos switch(ndx) {
4117 1.1 christos case 0:
4118 1.1 christos p = "gid_t";
4119 1.1 christos break;
4120 1.1 christos default:
4121 1.1 christos break;
4122 1.1 christos };
4123 1.1 christos break;
4124 1.1 christos /* linux32_sys_setfsuid */
4125 1.1 christos case 215:
4126 1.1 christos switch(ndx) {
4127 1.1 christos case 0:
4128 1.1 christos p = "uid_t";
4129 1.1 christos break;
4130 1.1 christos default:
4131 1.1 christos break;
4132 1.1 christos };
4133 1.1 christos break;
4134 1.1 christos /* linux32_sys_setfsgid */
4135 1.1 christos case 216:
4136 1.1 christos switch(ndx) {
4137 1.1 christos case 0:
4138 1.1 christos p = "gid_t";
4139 1.1 christos break;
4140 1.1 christos default:
4141 1.1 christos break;
4142 1.1 christos };
4143 1.1 christos break;
4144 1.1 christos /* netbsd32_mincore */
4145 1.1 christos case 218:
4146 1.1 christos switch(ndx) {
4147 1.1 christos case 0:
4148 1.1 christos p = "netbsd32_voidp";
4149 1.1 christos break;
4150 1.1 christos case 1:
4151 1.1 christos p = "netbsd32_size_t";
4152 1.1 christos break;
4153 1.1 christos case 2:
4154 1.1 christos p = "netbsd32_charp";
4155 1.1 christos break;
4156 1.1 christos default:
4157 1.1 christos break;
4158 1.1 christos };
4159 1.1 christos break;
4160 1.1 christos /* netbsd32_madvise */
4161 1.1 christos case 219:
4162 1.1 christos switch(ndx) {
4163 1.1 christos case 0:
4164 1.1 christos p = "netbsd32_voidp";
4165 1.1 christos break;
4166 1.1 christos case 1:
4167 1.1 christos p = "netbsd32_size_t";
4168 1.1 christos break;
4169 1.1 christos case 2:
4170 1.1 christos p = "int";
4171 1.1 christos break;
4172 1.1 christos default:
4173 1.1 christos break;
4174 1.1 christos };
4175 1.1 christos break;
4176 1.1 christos /* linux32_sys_getdents64 */
4177 1.1 christos case 220:
4178 1.1 christos switch(ndx) {
4179 1.1 christos case 0:
4180 1.1 christos p = "int";
4181 1.1 christos break;
4182 1.1 christos case 1:
4183 1.1 christos p = "linux32_dirent64p_t";
4184 1.1 christos break;
4185 1.1 christos case 2:
4186 1.1 christos p = "unsigned int";
4187 1.1 christos break;
4188 1.1 christos default:
4189 1.1 christos break;
4190 1.1 christos };
4191 1.1 christos break;
4192 1.1 christos #define linux32_sys_fcntl64 linux32_sys_fcntl
4193 1.1 christos #define linux32_sys_fcntl64_args linux32_sys_fcntl_args
4194 1.1 christos /* linux32_sys_fcntl64 */
4195 1.1 christos case 221:
4196 1.1 christos switch(ndx) {
4197 1.1 christos case 0:
4198 1.1 christos p = "int";
4199 1.1 christos break;
4200 1.1 christos case 1:
4201 1.1 christos p = "int";
4202 1.1 christos break;
4203 1.1 christos case 2:
4204 1.1 christos p = "netbsd32_voidp";
4205 1.1 christos break;
4206 1.1 christos default:
4207 1.1 christos break;
4208 1.1 christos };
4209 1.1 christos break;
4210 1.1 christos /* linux_sys_gettid */
4211 1.1 christos case 224:
4212 1.1 christos break;
4213 1.1 christos /* netbsd32_setxattr */
4214 1.1 christos case 226:
4215 1.1 christos switch(ndx) {
4216 1.1 christos case 0:
4217 1.1 christos p = "netbsd32_charp";
4218 1.1 christos break;
4219 1.1 christos case 1:
4220 1.1 christos p = "netbsd32_charp";
4221 1.1 christos break;
4222 1.1 christos case 2:
4223 1.1 christos p = "netbsd32_voidp";
4224 1.1 christos break;
4225 1.1 christos case 3:
4226 1.1 christos p = "netbsd32_size_t";
4227 1.1 christos break;
4228 1.1 christos case 4:
4229 1.1 christos p = "int";
4230 1.1 christos break;
4231 1.1 christos default:
4232 1.1 christos break;
4233 1.1 christos };
4234 1.1 christos break;
4235 1.1 christos /* netbsd32_lsetxattr */
4236 1.1 christos case 227:
4237 1.1 christos switch(ndx) {
4238 1.1 christos case 0:
4239 1.1 christos p = "netbsd32_charp";
4240 1.1 christos break;
4241 1.1 christos case 1:
4242 1.1 christos p = "netbsd32_charp";
4243 1.1 christos break;
4244 1.1 christos case 2:
4245 1.1 christos p = "netbsd32_voidp";
4246 1.1 christos break;
4247 1.1 christos case 3:
4248 1.1 christos p = "netbsd32_size_t";
4249 1.1 christos break;
4250 1.1 christos case 4:
4251 1.1 christos p = "int";
4252 1.1 christos break;
4253 1.1 christos default:
4254 1.1 christos break;
4255 1.1 christos };
4256 1.1 christos break;
4257 1.1 christos /* netbsd32_fsetxattr */
4258 1.1 christos case 228:
4259 1.1 christos switch(ndx) {
4260 1.1 christos case 0:
4261 1.1 christos p = "int";
4262 1.1 christos break;
4263 1.1 christos case 1:
4264 1.1 christos p = "netbsd32_charp";
4265 1.1 christos break;
4266 1.1 christos case 2:
4267 1.1 christos p = "netbsd32_voidp";
4268 1.1 christos break;
4269 1.1 christos case 3:
4270 1.1 christos p = "netbsd32_size_t";
4271 1.1 christos break;
4272 1.1 christos case 4:
4273 1.1 christos p = "int";
4274 1.1 christos break;
4275 1.1 christos default:
4276 1.1 christos break;
4277 1.1 christos };
4278 1.1 christos break;
4279 1.1 christos /* netbsd32_getxattr */
4280 1.1 christos case 229:
4281 1.1 christos switch(ndx) {
4282 1.1 christos case 0:
4283 1.1 christos p = "netbsd32_charp";
4284 1.1 christos break;
4285 1.1 christos case 1:
4286 1.1 christos p = "netbsd32_charp";
4287 1.1 christos break;
4288 1.1 christos case 2:
4289 1.1 christos p = "netbsd32_voidp";
4290 1.1 christos break;
4291 1.1 christos case 3:
4292 1.1 christos p = "netbsd32_size_t";
4293 1.1 christos break;
4294 1.1 christos default:
4295 1.1 christos break;
4296 1.1 christos };
4297 1.1 christos break;
4298 1.1 christos /* netbsd32_lgetxattr */
4299 1.1 christos case 230:
4300 1.1 christos switch(ndx) {
4301 1.1 christos case 0:
4302 1.1 christos p = "netbsd32_charp";
4303 1.1 christos break;
4304 1.1 christos case 1:
4305 1.1 christos p = "netbsd32_charp";
4306 1.1 christos break;
4307 1.1 christos case 2:
4308 1.1 christos p = "netbsd32_voidp";
4309 1.1 christos break;
4310 1.1 christos case 3:
4311 1.1 christos p = "netbsd32_size_t";
4312 1.1 christos break;
4313 1.1 christos default:
4314 1.1 christos break;
4315 1.1 christos };
4316 1.1 christos break;
4317 1.1 christos /* netbsd32_fgetxattr */
4318 1.1 christos case 231:
4319 1.1 christos switch(ndx) {
4320 1.1 christos case 0:
4321 1.1 christos p = "int";
4322 1.1 christos break;
4323 1.1 christos case 1:
4324 1.1 christos p = "netbsd32_charp";
4325 1.1 christos break;
4326 1.1 christos case 2:
4327 1.1 christos p = "netbsd32_voidp";
4328 1.1 christos break;
4329 1.1 christos case 3:
4330 1.1 christos p = "netbsd32_size_t";
4331 1.1 christos break;
4332 1.1 christos default:
4333 1.1 christos break;
4334 1.1 christos };
4335 1.1 christos break;
4336 1.1 christos /* netbsd32_listxattr */
4337 1.1 christos case 232:
4338 1.1 christos switch(ndx) {
4339 1.1 christos case 0:
4340 1.1 christos p = "netbsd32_charp";
4341 1.1 christos break;
4342 1.1 christos case 1:
4343 1.1 christos p = "netbsd32_charp";
4344 1.1 christos break;
4345 1.1 christos case 2:
4346 1.1 christos p = "netbsd32_size_t";
4347 1.1 christos break;
4348 1.1 christos default:
4349 1.1 christos break;
4350 1.1 christos };
4351 1.1 christos break;
4352 1.1 christos /* netbsd32_llistxattr */
4353 1.1 christos case 233:
4354 1.1 christos switch(ndx) {
4355 1.1 christos case 0:
4356 1.1 christos p = "netbsd32_charp";
4357 1.1 christos break;
4358 1.1 christos case 1:
4359 1.1 christos p = "netbsd32_charp";
4360 1.1 christos break;
4361 1.1 christos case 2:
4362 1.1 christos p = "netbsd32_size_t";
4363 1.1 christos break;
4364 1.1 christos default:
4365 1.1 christos break;
4366 1.1 christos };
4367 1.1 christos break;
4368 1.1 christos /* netbsd32_flistxattr */
4369 1.1 christos case 234:
4370 1.1 christos switch(ndx) {
4371 1.1 christos case 0:
4372 1.1 christos p = "int";
4373 1.1 christos break;
4374 1.1 christos case 1:
4375 1.1 christos p = "netbsd32_charp";
4376 1.1 christos break;
4377 1.1 christos case 2:
4378 1.1 christos p = "netbsd32_size_t";
4379 1.1 christos break;
4380 1.1 christos default:
4381 1.1 christos break;
4382 1.1 christos };
4383 1.1 christos break;
4384 1.1 christos /* netbsd32_removexattr */
4385 1.1 christos case 235:
4386 1.1 christos switch(ndx) {
4387 1.1 christos case 0:
4388 1.1 christos p = "netbsd32_charp";
4389 1.1 christos break;
4390 1.1 christos case 1:
4391 1.1 christos p = "netbsd32_charp";
4392 1.1 christos break;
4393 1.1 christos default:
4394 1.1 christos break;
4395 1.1 christos };
4396 1.1 christos break;
4397 1.1 christos /* netbsd32_lremovexattr */
4398 1.1 christos case 236:
4399 1.1 christos switch(ndx) {
4400 1.1 christos case 0:
4401 1.1 christos p = "netbsd32_charp";
4402 1.1 christos break;
4403 1.1 christos case 1:
4404 1.1 christos p = "netbsd32_charp";
4405 1.1 christos break;
4406 1.1 christos default:
4407 1.1 christos break;
4408 1.1 christos };
4409 1.1 christos break;
4410 1.1 christos /* netbsd32_fremovexattr */
4411 1.1 christos case 237:
4412 1.1 christos switch(ndx) {
4413 1.1 christos case 0:
4414 1.1 christos p = "int";
4415 1.1 christos break;
4416 1.1 christos case 1:
4417 1.1 christos p = "netbsd32_charp";
4418 1.1 christos break;
4419 1.1 christos default:
4420 1.1 christos break;
4421 1.1 christos };
4422 1.1 christos break;
4423 1.1 christos /* linux32_sys_tkill */
4424 1.1 christos case 238:
4425 1.1 christos switch(ndx) {
4426 1.1 christos case 0:
4427 1.1 christos p = "int";
4428 1.1 christos break;
4429 1.1 christos case 1:
4430 1.1 christos p = "int";
4431 1.1 christos break;
4432 1.1 christos default:
4433 1.1 christos break;
4434 1.1 christos };
4435 1.1 christos break;
4436 1.1 christos /* linux32_sys_futex */
4437 1.1 christos case 240:
4438 1.1 christos switch(ndx) {
4439 1.1 christos case 0:
4440 1.1 christos p = "linux32_intp_t";
4441 1.1 christos break;
4442 1.1 christos case 1:
4443 1.1 christos p = "int";
4444 1.1 christos break;
4445 1.1 christos case 2:
4446 1.1 christos p = "int";
4447 1.1 christos break;
4448 1.1 christos case 3:
4449 1.1 christos p = "linux32_timespecp_t";
4450 1.1 christos break;
4451 1.1 christos case 4:
4452 1.1 christos p = "linux32_intp_t";
4453 1.1 christos break;
4454 1.1 christos case 5:
4455 1.1 christos p = "int";
4456 1.1 christos break;
4457 1.1 christos default:
4458 1.1 christos break;
4459 1.1 christos };
4460 1.1 christos break;
4461 1.1 christos /* linux32_sys_sched_setaffinity */
4462 1.1 christos case 241:
4463 1.1 christos switch(ndx) {
4464 1.1 christos case 0:
4465 1.1 christos p = "pid_t";
4466 1.1 christos break;
4467 1.1 christos case 1:
4468 1.1 christos p = "unsigned int";
4469 1.1 christos break;
4470 1.1 christos case 2:
4471 1.1 christos p = "linux32_ulongp_t";
4472 1.1 christos break;
4473 1.1 christos default:
4474 1.1 christos break;
4475 1.1 christos };
4476 1.1 christos break;
4477 1.1 christos /* linux32_sys_sched_getaffinity */
4478 1.1 christos case 242:
4479 1.1 christos switch(ndx) {
4480 1.1 christos case 0:
4481 1.1 christos p = "pid_t";
4482 1.1 christos break;
4483 1.1 christos case 1:
4484 1.1 christos p = "unsigned int";
4485 1.1 christos break;
4486 1.1 christos case 2:
4487 1.1 christos p = "linux32_ulongp_t";
4488 1.1 christos break;
4489 1.1 christos default:
4490 1.1 christos break;
4491 1.1 christos };
4492 1.1 christos break;
4493 1.1 christos /* linux32_sys_set_thread_area */
4494 1.1 christos case 243:
4495 1.1 christos switch(ndx) {
4496 1.1 christos case 0:
4497 1.1 christos p = "linux32_user_descp_t";
4498 1.1 christos break;
4499 1.1 christos default:
4500 1.1 christos break;
4501 1.1 christos };
4502 1.1 christos break;
4503 1.1 christos /* linux32_sys_get_thread_area */
4504 1.1 christos case 244:
4505 1.1 christos switch(ndx) {
4506 1.1 christos case 0:
4507 1.1 christos p = "linux32_user_descp_t";
4508 1.1 christos break;
4509 1.1 christos default:
4510 1.1 christos break;
4511 1.1 christos };
4512 1.1 christos break;
4513 1.1 christos /* linux32_sys_fadvise64 */
4514 1.1 christos case 250:
4515 1.1 christos switch(ndx) {
4516 1.1 christos case 0:
4517 1.1 christos p = "int";
4518 1.1 christos break;
4519 1.1 christos case 1:
4520 1.1 christos p = "uint32_t";
4521 1.1 christos break;
4522 1.1 christos case 2:
4523 1.1 christos p = "uint32_t";
4524 1.1 christos break;
4525 1.1 christos case 3:
4526 1.1 christos p = "linux32_size_t";
4527 1.1 christos break;
4528 1.1 christos case 4:
4529 1.1 christos p = "int";
4530 1.1 christos break;
4531 1.1 christos default:
4532 1.1 christos break;
4533 1.1 christos };
4534 1.1 christos break;
4535 1.1 christos /* linux32_sys_exit_group */
4536 1.1 christos case 252:
4537 1.1 christos switch(ndx) {
4538 1.1 christos case 0:
4539 1.1 christos p = "int";
4540 1.1 christos break;
4541 1.1 christos default:
4542 1.1 christos break;
4543 1.1 christos };
4544 1.1 christos break;
4545 1.1 christos /* linux32_sys_set_tid_address */
4546 1.1 christos case 258:
4547 1.1 christos switch(ndx) {
4548 1.1 christos case 0:
4549 1.1 christos p = "linux32_intp_t";
4550 1.1 christos break;
4551 1.1 christos default:
4552 1.1 christos break;
4553 1.1 christos };
4554 1.1 christos break;
4555 1.9 thorpej /* linux32_sys_timer_create */
4556 1.9 thorpej case 259:
4557 1.9 thorpej switch(ndx) {
4558 1.9 thorpej case 0:
4559 1.9 thorpej p = "clockid_t";
4560 1.9 thorpej break;
4561 1.9 thorpej case 1:
4562 1.9 thorpej p = "struct linux32_sigevent *";
4563 1.9 thorpej break;
4564 1.9 thorpej case 2:
4565 1.9 thorpej p = "timer_t *";
4566 1.9 thorpej break;
4567 1.9 thorpej default:
4568 1.9 thorpej break;
4569 1.9 thorpej };
4570 1.9 thorpej break;
4571 1.9 thorpej /* linux32_sys_timer_settime */
4572 1.9 thorpej case 260:
4573 1.9 thorpej switch(ndx) {
4574 1.9 thorpej case 0:
4575 1.9 thorpej p = "timer_t";
4576 1.9 thorpej break;
4577 1.9 thorpej case 1:
4578 1.9 thorpej p = "int";
4579 1.9 thorpej break;
4580 1.9 thorpej case 2:
4581 1.9 thorpej p = "const struct linux32_itimerspec *";
4582 1.9 thorpej break;
4583 1.9 thorpej case 3:
4584 1.9 thorpej p = "struct linux32_itimerspec *";
4585 1.9 thorpej break;
4586 1.9 thorpej default:
4587 1.9 thorpej break;
4588 1.9 thorpej };
4589 1.9 thorpej break;
4590 1.9 thorpej /* linux32_sys_timer_gettime */
4591 1.9 thorpej case 261:
4592 1.9 thorpej switch(ndx) {
4593 1.9 thorpej case 0:
4594 1.9 thorpej p = "timer_t";
4595 1.9 thorpej break;
4596 1.9 thorpej case 1:
4597 1.9 thorpej p = "struct linux32_itimerspec *";
4598 1.9 thorpej break;
4599 1.9 thorpej default:
4600 1.9 thorpej break;
4601 1.9 thorpej };
4602 1.9 thorpej break;
4603 1.9 thorpej /* sys_timer_getoverrun */
4604 1.9 thorpej case 262:
4605 1.9 thorpej switch(ndx) {
4606 1.9 thorpej case 0:
4607 1.9 thorpej p = "timer_t";
4608 1.9 thorpej break;
4609 1.9 thorpej default:
4610 1.9 thorpej break;
4611 1.9 thorpej };
4612 1.9 thorpej break;
4613 1.9 thorpej /* sys_timer_delete */
4614 1.9 thorpej case 263:
4615 1.9 thorpej switch(ndx) {
4616 1.9 thorpej case 0:
4617 1.9 thorpej p = "timer_t";
4618 1.9 thorpej break;
4619 1.9 thorpej default:
4620 1.9 thorpej break;
4621 1.9 thorpej };
4622 1.9 thorpej break;
4623 1.1 christos /* linux32_sys_clock_settime */
4624 1.1 christos case 264:
4625 1.1 christos switch(ndx) {
4626 1.1 christos case 0:
4627 1.1 christos p = "clockid_t";
4628 1.1 christos break;
4629 1.1 christos case 1:
4630 1.1 christos p = "linux32_timespecp_t";
4631 1.1 christos break;
4632 1.1 christos default:
4633 1.1 christos break;
4634 1.1 christos };
4635 1.1 christos break;
4636 1.1 christos /* linux32_sys_clock_gettime */
4637 1.1 christos case 265:
4638 1.1 christos switch(ndx) {
4639 1.1 christos case 0:
4640 1.1 christos p = "clockid_t";
4641 1.1 christos break;
4642 1.1 christos case 1:
4643 1.1 christos p = "linux32_timespecp_t";
4644 1.1 christos break;
4645 1.1 christos default:
4646 1.1 christos break;
4647 1.1 christos };
4648 1.1 christos break;
4649 1.1 christos /* linux32_sys_clock_getres */
4650 1.1 christos case 266:
4651 1.1 christos switch(ndx) {
4652 1.1 christos case 0:
4653 1.1 christos p = "clockid_t";
4654 1.1 christos break;
4655 1.1 christos case 1:
4656 1.1 christos p = "linux32_timespecp_t";
4657 1.1 christos break;
4658 1.1 christos default:
4659 1.1 christos break;
4660 1.1 christos };
4661 1.1 christos break;
4662 1.1 christos /* linux32_sys_clock_nanosleep */
4663 1.1 christos case 267:
4664 1.1 christos switch(ndx) {
4665 1.1 christos case 0:
4666 1.1 christos p = "clockid_t";
4667 1.1 christos break;
4668 1.1 christos case 1:
4669 1.1 christos p = "int";
4670 1.1 christos break;
4671 1.1 christos case 2:
4672 1.1 christos p = "linux32_timespecp_t";
4673 1.1 christos break;
4674 1.1 christos case 3:
4675 1.1 christos p = "linux32_timespecp_t";
4676 1.1 christos break;
4677 1.1 christos default:
4678 1.1 christos break;
4679 1.1 christos };
4680 1.1 christos break;
4681 1.1 christos /* linux32_sys_statfs64 */
4682 1.1 christos case 268:
4683 1.1 christos switch(ndx) {
4684 1.1 christos case 0:
4685 1.1 christos p = "netbsd32_charp";
4686 1.1 christos break;
4687 1.1 christos case 1:
4688 1.1 christos p = "netbsd32_size_t";
4689 1.1 christos break;
4690 1.1 christos case 2:
4691 1.1 christos p = "linux32_statfs64p";
4692 1.1 christos break;
4693 1.1 christos default:
4694 1.1 christos break;
4695 1.1 christos };
4696 1.1 christos break;
4697 1.1 christos /* linux32_sys_fstatfs64 */
4698 1.1 christos case 269:
4699 1.1 christos switch(ndx) {
4700 1.1 christos case 0:
4701 1.1 christos p = "int";
4702 1.1 christos break;
4703 1.1 christos case 1:
4704 1.1 christos p = "netbsd32_size_t";
4705 1.1 christos break;
4706 1.1 christos case 2:
4707 1.1 christos p = "linux32_statfs64p";
4708 1.1 christos break;
4709 1.1 christos default:
4710 1.1 christos break;
4711 1.1 christos };
4712 1.1 christos break;
4713 1.1 christos /* linux32_sys_tgkill */
4714 1.1 christos case 270:
4715 1.1 christos switch(ndx) {
4716 1.1 christos case 0:
4717 1.1 christos p = "int";
4718 1.1 christos break;
4719 1.1 christos case 1:
4720 1.1 christos p = "int";
4721 1.1 christos break;
4722 1.1 christos case 2:
4723 1.1 christos p = "int";
4724 1.1 christos break;
4725 1.1 christos default:
4726 1.1 christos break;
4727 1.1 christos };
4728 1.1 christos break;
4729 1.1 christos /* compat_50_netbsd32_utimes */
4730 1.1 christos case 271:
4731 1.1 christos switch(ndx) {
4732 1.1 christos case 0:
4733 1.1 christos p = "netbsd32_charp";
4734 1.1 christos break;
4735 1.1 christos case 1:
4736 1.1 christos p = "netbsd32_timeval50p_t";
4737 1.1 christos break;
4738 1.1 christos default:
4739 1.1 christos break;
4740 1.1 christos };
4741 1.1 christos break;
4742 1.1 christos /* linux32_sys_fadvise64_64 */
4743 1.1 christos case 272:
4744 1.1 christos switch(ndx) {
4745 1.1 christos case 0:
4746 1.1 christos p = "int";
4747 1.1 christos break;
4748 1.1 christos case 1:
4749 1.1 christos p = "uint32_t";
4750 1.1 christos break;
4751 1.1 christos case 2:
4752 1.1 christos p = "uint32_t";
4753 1.1 christos break;
4754 1.1 christos case 3:
4755 1.1 christos p = "uint32_t";
4756 1.1 christos break;
4757 1.1 christos case 4:
4758 1.1 christos p = "uint32_t";
4759 1.1 christos break;
4760 1.1 christos case 5:
4761 1.1 christos p = "int";
4762 1.1 christos break;
4763 1.1 christos default:
4764 1.1 christos break;
4765 1.1 christos };
4766 1.1 christos break;
4767 1.1 christos /* linux32_sys_openat */
4768 1.1 christos case 295:
4769 1.1 christos switch(ndx) {
4770 1.1 christos case 0:
4771 1.1 christos p = "int";
4772 1.1 christos break;
4773 1.1 christos case 1:
4774 1.1 christos p = "netbsd32_charp";
4775 1.1 christos break;
4776 1.1 christos case 2:
4777 1.1 christos p = "int";
4778 1.1 christos break;
4779 1.1 christos case 3:
4780 1.1 christos p = "linux_umode_t";
4781 1.1 christos break;
4782 1.1 christos default:
4783 1.1 christos break;
4784 1.1 christos };
4785 1.1 christos break;
4786 1.1 christos /* netbsd32_mkdirat */
4787 1.1 christos case 296:
4788 1.1 christos switch(ndx) {
4789 1.1 christos case 0:
4790 1.1 christos p = "int";
4791 1.1 christos break;
4792 1.1 christos case 1:
4793 1.1 christos p = "netbsd32_charp";
4794 1.1 christos break;
4795 1.1 christos case 2:
4796 1.1 christos p = "linux_umode_t";
4797 1.1 christos break;
4798 1.1 christos default:
4799 1.1 christos break;
4800 1.1 christos };
4801 1.1 christos break;
4802 1.1 christos /* linux32_sys_mknodat */
4803 1.1 christos case 297:
4804 1.1 christos switch(ndx) {
4805 1.1 christos case 0:
4806 1.1 christos p = "int";
4807 1.1 christos break;
4808 1.1 christos case 1:
4809 1.1 christos p = "netbsd32_charp";
4810 1.1 christos break;
4811 1.1 christos case 2:
4812 1.1 christos p = "linux_umode_t";
4813 1.1 christos break;
4814 1.1 christos case 3:
4815 1.1 christos p = "unsigned";
4816 1.1 christos break;
4817 1.1 christos default:
4818 1.1 christos break;
4819 1.1 christos };
4820 1.1 christos break;
4821 1.1 christos /* linux32_sys_fchownat */
4822 1.1 christos case 298:
4823 1.1 christos switch(ndx) {
4824 1.1 christos case 0:
4825 1.1 christos p = "int";
4826 1.1 christos break;
4827 1.1 christos case 1:
4828 1.1 christos p = "netbsd32_charp";
4829 1.1 christos break;
4830 1.1 christos case 2:
4831 1.1 christos p = "uid_t";
4832 1.1 christos break;
4833 1.1 christos case 3:
4834 1.1 christos p = "gid_t";
4835 1.1 christos break;
4836 1.1 christos case 4:
4837 1.1 christos p = "int";
4838 1.1 christos break;
4839 1.1 christos default:
4840 1.1 christos break;
4841 1.1 christos };
4842 1.1 christos break;
4843 1.1 christos /* linux32_sys_fstatat64 */
4844 1.1 christos case 300:
4845 1.1 christos switch(ndx) {
4846 1.1 christos case 0:
4847 1.1 christos p = "int";
4848 1.1 christos break;
4849 1.1 christos case 1:
4850 1.1 christos p = "netbsd32_charp";
4851 1.1 christos break;
4852 1.1 christos case 2:
4853 1.1 christos p = "linux32_stat64p";
4854 1.1 christos break;
4855 1.1 christos case 3:
4856 1.1 christos p = "int";
4857 1.1 christos break;
4858 1.1 christos default:
4859 1.1 christos break;
4860 1.1 christos };
4861 1.1 christos break;
4862 1.1 christos /* linux32_sys_unlinkat */
4863 1.1 christos case 301:
4864 1.1 christos switch(ndx) {
4865 1.1 christos case 0:
4866 1.1 christos p = "int";
4867 1.1 christos break;
4868 1.1 christos case 1:
4869 1.1 christos p = "netbsd32_charp";
4870 1.1 christos break;
4871 1.1 christos case 2:
4872 1.1 christos p = "int";
4873 1.1 christos break;
4874 1.1 christos default:
4875 1.1 christos break;
4876 1.1 christos };
4877 1.1 christos break;
4878 1.1 christos /* netbsd32_renameat */
4879 1.1 christos case 302:
4880 1.1 christos switch(ndx) {
4881 1.1 christos case 0:
4882 1.1 christos p = "int";
4883 1.1 christos break;
4884 1.1 christos case 1:
4885 1.1 christos p = "netbsd32_charp";
4886 1.1 christos break;
4887 1.1 christos case 2:
4888 1.1 christos p = "int";
4889 1.1 christos break;
4890 1.1 christos case 3:
4891 1.1 christos p = "netbsd32_charp";
4892 1.1 christos break;
4893 1.1 christos default:
4894 1.1 christos break;
4895 1.1 christos };
4896 1.1 christos break;
4897 1.1 christos /* linux32_sys_linkat */
4898 1.1 christos case 303:
4899 1.1 christos switch(ndx) {
4900 1.1 christos case 0:
4901 1.1 christos p = "int";
4902 1.1 christos break;
4903 1.1 christos case 1:
4904 1.1 christos p = "netbsd32_charp";
4905 1.1 christos break;
4906 1.1 christos case 2:
4907 1.1 christos p = "int";
4908 1.1 christos break;
4909 1.1 christos case 3:
4910 1.1 christos p = "netbsd32_charp";
4911 1.1 christos break;
4912 1.1 christos case 4:
4913 1.1 christos p = "int";
4914 1.1 christos break;
4915 1.1 christos default:
4916 1.1 christos break;
4917 1.1 christos };
4918 1.1 christos break;
4919 1.1 christos /* netbsd32_symlinkat */
4920 1.1 christos case 304:
4921 1.1 christos switch(ndx) {
4922 1.1 christos case 0:
4923 1.1 christos p = "netbsd32_charp";
4924 1.1 christos break;
4925 1.1 christos case 1:
4926 1.1 christos p = "int";
4927 1.1 christos break;
4928 1.1 christos case 2:
4929 1.1 christos p = "netbsd32_charp";
4930 1.1 christos break;
4931 1.1 christos default:
4932 1.1 christos break;
4933 1.1 christos };
4934 1.1 christos break;
4935 1.1 christos /* netbsd32_readlinkat */
4936 1.1 christos case 305:
4937 1.1 christos switch(ndx) {
4938 1.1 christos case 0:
4939 1.1 christos p = "int";
4940 1.1 christos break;
4941 1.1 christos case 1:
4942 1.1 christos p = "netbsd32_charp";
4943 1.1 christos break;
4944 1.1 christos case 2:
4945 1.1 christos p = "netbsd32_charp";
4946 1.1 christos break;
4947 1.1 christos case 3:
4948 1.1 christos p = "linux32_size_t";
4949 1.1 christos break;
4950 1.1 christos default:
4951 1.1 christos break;
4952 1.1 christos };
4953 1.1 christos break;
4954 1.1 christos /* linux32_sys_fchmodat */
4955 1.1 christos case 306:
4956 1.1 christos switch(ndx) {
4957 1.1 christos case 0:
4958 1.1 christos p = "int";
4959 1.1 christos break;
4960 1.1 christos case 1:
4961 1.1 christos p = "netbsd32_charp";
4962 1.1 christos break;
4963 1.1 christos case 2:
4964 1.1 christos p = "linux_umode_t";
4965 1.1 christos break;
4966 1.1 christos default:
4967 1.1 christos break;
4968 1.1 christos };
4969 1.1 christos break;
4970 1.1 christos /* linux32_sys_faccessat */
4971 1.1 christos case 307:
4972 1.1 christos switch(ndx) {
4973 1.1 christos case 0:
4974 1.1 christos p = "int";
4975 1.1 christos break;
4976 1.1 christos case 1:
4977 1.1 christos p = "netbsd32_charp";
4978 1.1 christos break;
4979 1.1 christos case 2:
4980 1.1 christos p = "int";
4981 1.1 christos break;
4982 1.1 christos default:
4983 1.1 christos break;
4984 1.1 christos };
4985 1.1 christos break;
4986 1.1 christos /* linux32_sys_ppoll */
4987 1.1 christos case 309:
4988 1.1 christos switch(ndx) {
4989 1.1 christos case 0:
4990 1.1 christos p = "netbsd32_pollfdp_t";
4991 1.1 christos break;
4992 1.1 christos case 1:
4993 1.1 christos p = "u_int";
4994 1.1 christos break;
4995 1.1 christos case 2:
4996 1.1 christos p = "linux32_timespecp_t";
4997 1.1 christos break;
4998 1.1 christos case 3:
4999 1.1 christos p = "linux32_sigsetp_t";
5000 1.1 christos break;
5001 1.1 christos default:
5002 1.1 christos break;
5003 1.1 christos };
5004 1.1 christos break;
5005 1.8 thorpej /* netbsd32___futex_set_robust_list */
5006 1.1 christos case 311:
5007 1.1 christos switch(ndx) {
5008 1.1 christos case 0:
5009 1.8 thorpej p = "netbsd32_voidp";
5010 1.1 christos break;
5011 1.1 christos case 1:
5012 1.8 thorpej p = "netbsd32_size_t";
5013 1.1 christos break;
5014 1.1 christos default:
5015 1.1 christos break;
5016 1.1 christos };
5017 1.1 christos break;
5018 1.8 thorpej /* netbsd32___futex_get_robust_list */
5019 1.1 christos case 312:
5020 1.1 christos switch(ndx) {
5021 1.1 christos case 0:
5022 1.8 thorpej p = "lwpid_t";
5023 1.1 christos break;
5024 1.1 christos case 1:
5025 1.8 thorpej p = "netbsd32_voidp";
5026 1.1 christos break;
5027 1.1 christos case 2:
5028 1.8 thorpej p = "netbsd32_size_tp";
5029 1.1 christos break;
5030 1.1 christos default:
5031 1.1 christos break;
5032 1.1 christos };
5033 1.1 christos break;
5034 1.1 christos /* linux32_sys_utimensat */
5035 1.1 christos case 320:
5036 1.1 christos switch(ndx) {
5037 1.1 christos case 0:
5038 1.1 christos p = "int";
5039 1.1 christos break;
5040 1.1 christos case 1:
5041 1.1 christos p = "netbsd32_charp";
5042 1.1 christos break;
5043 1.1 christos case 2:
5044 1.1 christos p = "linux32_timespecp_t";
5045 1.1 christos break;
5046 1.1 christos case 3:
5047 1.1 christos p = "int";
5048 1.1 christos break;
5049 1.1 christos default:
5050 1.1 christos break;
5051 1.1 christos };
5052 1.1 christos break;
5053 1.10 thorpej /* linux_sys_timerfd_create */
5054 1.10 thorpej case 322:
5055 1.10 thorpej switch(ndx) {
5056 1.10 thorpej case 0:
5057 1.10 thorpej p = "clockid_t";
5058 1.10 thorpej break;
5059 1.10 thorpej case 1:
5060 1.10 thorpej p = "int";
5061 1.10 thorpej break;
5062 1.10 thorpej default:
5063 1.10 thorpej break;
5064 1.10 thorpej };
5065 1.10 thorpej break;
5066 1.11 thorpej /* linux32_sys_eventfd */
5067 1.11 thorpej case 323:
5068 1.11 thorpej switch(ndx) {
5069 1.11 thorpej case 0:
5070 1.11 thorpej p = "unsigned int";
5071 1.11 thorpej break;
5072 1.11 thorpej default:
5073 1.11 thorpej break;
5074 1.11 thorpej };
5075 1.11 thorpej break;
5076 1.7 jdolecek /* linux32_sys_fallocate */
5077 1.7 jdolecek case 324:
5078 1.7 jdolecek switch(ndx) {
5079 1.7 jdolecek case 0:
5080 1.7 jdolecek p = "int";
5081 1.7 jdolecek break;
5082 1.7 jdolecek case 1:
5083 1.7 jdolecek p = "int";
5084 1.7 jdolecek break;
5085 1.7 jdolecek case 2:
5086 1.7 jdolecek p = "off_t";
5087 1.7 jdolecek break;
5088 1.7 jdolecek case 3:
5089 1.7 jdolecek p = "off_t";
5090 1.7 jdolecek break;
5091 1.7 jdolecek default:
5092 1.7 jdolecek break;
5093 1.7 jdolecek };
5094 1.7 jdolecek break;
5095 1.10 thorpej /* linux32_sys_timerfd_settime */
5096 1.10 thorpej case 325:
5097 1.10 thorpej switch(ndx) {
5098 1.10 thorpej case 0:
5099 1.10 thorpej p = "int";
5100 1.10 thorpej break;
5101 1.10 thorpej case 1:
5102 1.10 thorpej p = "int";
5103 1.10 thorpej break;
5104 1.10 thorpej case 2:
5105 1.10 thorpej p = "const struct linux32_itimerspec *";
5106 1.10 thorpej break;
5107 1.10 thorpej case 3:
5108 1.10 thorpej p = "struct linux32_itimerspec *";
5109 1.10 thorpej break;
5110 1.10 thorpej default:
5111 1.10 thorpej break;
5112 1.10 thorpej };
5113 1.10 thorpej break;
5114 1.10 thorpej /* linux32_sys_timerfd_gettime */
5115 1.10 thorpej case 326:
5116 1.10 thorpej switch(ndx) {
5117 1.10 thorpej case 0:
5118 1.10 thorpej p = "int";
5119 1.10 thorpej break;
5120 1.10 thorpej case 1:
5121 1.10 thorpej p = "struct linux32_itimerspec *";
5122 1.10 thorpej break;
5123 1.10 thorpej default:
5124 1.10 thorpej break;
5125 1.10 thorpej };
5126 1.10 thorpej break;
5127 1.11 thorpej /* linux32_sys_eventfd2 */
5128 1.11 thorpej case 328:
5129 1.11 thorpej switch(ndx) {
5130 1.11 thorpej case 0:
5131 1.11 thorpej p = "unsigned int";
5132 1.11 thorpej break;
5133 1.11 thorpej case 1:
5134 1.11 thorpej p = "int";
5135 1.11 thorpej break;
5136 1.11 thorpej default:
5137 1.11 thorpej break;
5138 1.11 thorpej };
5139 1.11 thorpej break;
5140 1.1 christos /* linux32_sys_dup3 */
5141 1.1 christos case 330:
5142 1.1 christos switch(ndx) {
5143 1.1 christos case 0:
5144 1.1 christos p = "int";
5145 1.1 christos break;
5146 1.1 christos case 1:
5147 1.1 christos p = "int";
5148 1.1 christos break;
5149 1.1 christos case 2:
5150 1.1 christos p = "int";
5151 1.1 christos break;
5152 1.1 christos default:
5153 1.1 christos break;
5154 1.1 christos };
5155 1.1 christos break;
5156 1.1 christos /* linux32_sys_pipe2 */
5157 1.1 christos case 331:
5158 1.1 christos switch(ndx) {
5159 1.1 christos case 0:
5160 1.1 christos p = "netbsd32_intp";
5161 1.1 christos break;
5162 1.1 christos case 1:
5163 1.1 christos p = "int";
5164 1.1 christos break;
5165 1.1 christos default:
5166 1.1 christos break;
5167 1.1 christos };
5168 1.1 christos break;
5169 1.12 thorpej /* linux32_sys_preadv */
5170 1.12 thorpej case 333:
5171 1.12 thorpej switch(ndx) {
5172 1.12 thorpej case 0:
5173 1.12 thorpej p = "int";
5174 1.12 thorpej break;
5175 1.12 thorpej case 1:
5176 1.12 thorpej p = "const netbsd32_iovecp_t";
5177 1.12 thorpej break;
5178 1.12 thorpej case 2:
5179 1.12 thorpej p = "int";
5180 1.12 thorpej break;
5181 1.12 thorpej case 3:
5182 1.12 thorpej p = "netbsd32_u_long";
5183 1.12 thorpej break;
5184 1.12 thorpej case 4:
5185 1.12 thorpej p = "netbsd32_u_long";
5186 1.12 thorpej break;
5187 1.12 thorpej default:
5188 1.12 thorpej break;
5189 1.12 thorpej };
5190 1.12 thorpej break;
5191 1.12 thorpej /* linux32_sys_pwritev */
5192 1.12 thorpej case 334:
5193 1.12 thorpej switch(ndx) {
5194 1.12 thorpej case 0:
5195 1.12 thorpej p = "int";
5196 1.12 thorpej break;
5197 1.12 thorpej case 1:
5198 1.12 thorpej p = "const netbsd32_iovecp_t";
5199 1.12 thorpej break;
5200 1.12 thorpej case 2:
5201 1.12 thorpej p = "int";
5202 1.12 thorpej break;
5203 1.12 thorpej case 3:
5204 1.12 thorpej p = "netbsd32_u_long";
5205 1.12 thorpej break;
5206 1.12 thorpej case 4:
5207 1.12 thorpej p = "netbsd32_u_long";
5208 1.12 thorpej break;
5209 1.12 thorpej default:
5210 1.12 thorpej break;
5211 1.12 thorpej };
5212 1.12 thorpej break;
5213 1.1 christos default:
5214 1.1 christos break;
5215 1.1 christos };
5216 1.1 christos if (p != NULL)
5217 1.1 christos strlcpy(desc, p, descsz);
5218 1.1 christos }
5219 1.1 christos static void
5220 1.1 christos systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
5221 1.1 christos {
5222 1.1 christos const char *p = NULL;
5223 1.1 christos switch (sysnum) {
5224 1.1 christos /* linux_sys_nosys */
5225 1.1 christos case 0:
5226 1.1 christos /* linux32_sys_exit */
5227 1.1 christos case 1:
5228 1.1 christos if (ndx == 0 || ndx == 1)
5229 1.1 christos p = "int";
5230 1.1 christos break;
5231 1.1 christos /* sys_fork */
5232 1.1 christos case 2:
5233 1.1 christos /* netbsd32_read */
5234 1.1 christos case 3:
5235 1.1 christos if (ndx == 0 || ndx == 1)
5236 1.1 christos p = "netbsd32_ssize_t";
5237 1.1 christos break;
5238 1.1 christos /* netbsd32_write */
5239 1.1 christos case 4:
5240 1.1 christos if (ndx == 0 || ndx == 1)
5241 1.1 christos p = "netbsd32_ssize_t";
5242 1.1 christos break;
5243 1.1 christos /* linux32_sys_open */
5244 1.1 christos case 5:
5245 1.1 christos if (ndx == 0 || ndx == 1)
5246 1.1 christos p = "int";
5247 1.1 christos break;
5248 1.1 christos /* netbsd32_close */
5249 1.1 christos case 6:
5250 1.1 christos if (ndx == 0 || ndx == 1)
5251 1.1 christos p = "int";
5252 1.1 christos break;
5253 1.1 christos /* linux32_sys_waitpid */
5254 1.1 christos case 7:
5255 1.1 christos if (ndx == 0 || ndx == 1)
5256 1.1 christos p = "int";
5257 1.1 christos break;
5258 1.1 christos /* linux32_sys_creat */
5259 1.1 christos case 8:
5260 1.1 christos if (ndx == 0 || ndx == 1)
5261 1.1 christos p = "int";
5262 1.1 christos break;
5263 1.1 christos /* netbsd32_link */
5264 1.1 christos case 9:
5265 1.1 christos if (ndx == 0 || ndx == 1)
5266 1.1 christos p = "int";
5267 1.1 christos break;
5268 1.1 christos /* linux32_sys_unlink */
5269 1.1 christos case 10:
5270 1.1 christos if (ndx == 0 || ndx == 1)
5271 1.1 christos p = "int";
5272 1.1 christos break;
5273 1.1 christos /* netbsd32_execve */
5274 1.1 christos case 11:
5275 1.1 christos if (ndx == 0 || ndx == 1)
5276 1.1 christos p = "int";
5277 1.1 christos break;
5278 1.1 christos /* netbsd32_chdir */
5279 1.1 christos case 12:
5280 1.1 christos if (ndx == 0 || ndx == 1)
5281 1.1 christos p = "int";
5282 1.1 christos break;
5283 1.1 christos /* linux32_sys_time */
5284 1.1 christos case 13:
5285 1.1 christos if (ndx == 0 || ndx == 1)
5286 1.1 christos p = "int";
5287 1.1 christos break;
5288 1.1 christos /* linux32_sys_mknod */
5289 1.1 christos case 14:
5290 1.1 christos if (ndx == 0 || ndx == 1)
5291 1.1 christos p = "int";
5292 1.1 christos break;
5293 1.1 christos /* netbsd32_chmod */
5294 1.1 christos case 15:
5295 1.1 christos if (ndx == 0 || ndx == 1)
5296 1.1 christos p = "int";
5297 1.1 christos break;
5298 1.1 christos /* linux32_sys_lchown16 */
5299 1.1 christos case 16:
5300 1.1 christos if (ndx == 0 || ndx == 1)
5301 1.1 christos p = "int";
5302 1.1 christos break;
5303 1.1 christos /* linux32_sys_break */
5304 1.1 christos case 17:
5305 1.1 christos if (ndx == 0 || ndx == 1)
5306 1.1 christos p = "int";
5307 1.1 christos break;
5308 1.1 christos /* compat_43_netbsd32_olseek */
5309 1.1 christos case 19:
5310 1.1 christos if (ndx == 0 || ndx == 1)
5311 1.1 christos p = "netbsd32_long";
5312 1.1 christos break;
5313 1.1 christos /* sys_getpid */
5314 1.1 christos case 20:
5315 1.1 christos /* netbsd32_setuid */
5316 1.1 christos case 23:
5317 1.1 christos if (ndx == 0 || ndx == 1)
5318 1.1 christos p = "int";
5319 1.1 christos break;
5320 1.1 christos /* sys_getuid */
5321 1.1 christos case 24:
5322 1.1 christos /* linux32_sys_stime */
5323 1.1 christos case 25:
5324 1.1 christos if (ndx == 0 || ndx == 1)
5325 1.1 christos p = "int";
5326 1.1 christos break;
5327 1.1 christos /* linux32_sys_ptrace */
5328 1.1 christos case 26:
5329 1.1 christos if (ndx == 0 || ndx == 1)
5330 1.1 christos p = "int";
5331 1.1 christos break;
5332 1.1 christos /* linux32_sys_alarm */
5333 1.1 christos case 27:
5334 1.1 christos if (ndx == 0 || ndx == 1)
5335 1.1 christos p = "int";
5336 1.1 christos break;
5337 1.1 christos /* linux_sys_pause */
5338 1.1 christos case 29:
5339 1.1 christos /* linux32_sys_utime */
5340 1.1 christos case 30:
5341 1.1 christos if (ndx == 0 || ndx == 1)
5342 1.1 christos p = "int";
5343 1.1 christos break;
5344 1.1 christos /* netbsd32_access */
5345 1.1 christos case 33:
5346 1.1 christos if (ndx == 0 || ndx == 1)
5347 1.1 christos p = "int";
5348 1.1 christos break;
5349 1.1 christos /* linux32_sys_nice */
5350 1.1 christos case 34:
5351 1.1 christos if (ndx == 0 || ndx == 1)
5352 1.1 christos p = "int";
5353 1.1 christos break;
5354 1.1 christos /* sys_sync */
5355 1.1 christos case 36:
5356 1.1 christos /* linux32_sys_kill */
5357 1.1 christos case 37:
5358 1.1 christos if (ndx == 0 || ndx == 1)
5359 1.1 christos p = "int";
5360 1.1 christos break;
5361 1.1 christos /* netbsd32___posix_rename */
5362 1.1 christos case 38:
5363 1.1 christos if (ndx == 0 || ndx == 1)
5364 1.1 christos p = "int";
5365 1.1 christos break;
5366 1.1 christos /* netbsd32_mkdir */
5367 1.1 christos case 39:
5368 1.1 christos if (ndx == 0 || ndx == 1)
5369 1.1 christos p = "int";
5370 1.1 christos break;
5371 1.1 christos /* netbsd32_rmdir */
5372 1.1 christos case 40:
5373 1.1 christos if (ndx == 0 || ndx == 1)
5374 1.1 christos p = "int";
5375 1.1 christos break;
5376 1.1 christos /* netbsd32_dup */
5377 1.1 christos case 41:
5378 1.1 christos if (ndx == 0 || ndx == 1)
5379 1.1 christos p = "int";
5380 1.1 christos break;
5381 1.1 christos /* linux32_sys_pipe */
5382 1.1 christos case 42:
5383 1.1 christos if (ndx == 0 || ndx == 1)
5384 1.1 christos p = "int";
5385 1.1 christos break;
5386 1.1 christos /* linux32_sys_times */
5387 1.1 christos case 43:
5388 1.1 christos if (ndx == 0 || ndx == 1)
5389 1.1 christos p = "int";
5390 1.1 christos break;
5391 1.1 christos /* linux32_sys_brk */
5392 1.1 christos case 45:
5393 1.1 christos if (ndx == 0 || ndx == 1)
5394 1.1 christos p = "int";
5395 1.1 christos break;
5396 1.1 christos /* netbsd32_setgid */
5397 1.1 christos case 46:
5398 1.1 christos if (ndx == 0 || ndx == 1)
5399 1.1 christos p = "int";
5400 1.1 christos break;
5401 1.1 christos /* sys_getgid */
5402 1.1 christos case 47:
5403 1.1 christos /* linux32_sys_signal */
5404 1.1 christos case 48:
5405 1.1 christos if (ndx == 0 || ndx == 1)
5406 1.1 christos p = "int";
5407 1.1 christos break;
5408 1.1 christos /* sys_geteuid */
5409 1.1 christos case 49:
5410 1.1 christos /* sys_getegid */
5411 1.1 christos case 50:
5412 1.1 christos /* netbsd32_acct */
5413 1.1 christos case 51:
5414 1.1 christos if (ndx == 0 || ndx == 1)
5415 1.1 christos p = "int";
5416 1.1 christos break;
5417 1.1 christos /* linux32_sys_ioctl */
5418 1.1 christos case 54:
5419 1.1 christos if (ndx == 0 || ndx == 1)
5420 1.1 christos p = "int";
5421 1.1 christos break;
5422 1.1 christos /* linux32_sys_fcntl */
5423 1.1 christos case 55:
5424 1.1 christos if (ndx == 0 || ndx == 1)
5425 1.1 christos p = "int";
5426 1.1 christos break;
5427 1.1 christos /* netbsd32_setpgid */
5428 1.1 christos case 57:
5429 1.1 christos if (ndx == 0 || ndx == 1)
5430 1.1 christos p = "int";
5431 1.1 christos break;
5432 1.1 christos /* linux32_sys_oldolduname */
5433 1.1 christos case 59:
5434 1.1 christos if (ndx == 0 || ndx == 1)
5435 1.1 christos p = "int";
5436 1.1 christos break;
5437 1.1 christos /* netbsd32_umask */
5438 1.1 christos case 60:
5439 1.1 christos if (ndx == 0 || ndx == 1)
5440 1.1 christos p = "int";
5441 1.1 christos break;
5442 1.1 christos /* netbsd32_chroot */
5443 1.1 christos case 61:
5444 1.1 christos if (ndx == 0 || ndx == 1)
5445 1.1 christos p = "int";
5446 1.1 christos break;
5447 1.1 christos /* netbsd32_dup2 */
5448 1.1 christos case 63:
5449 1.1 christos if (ndx == 0 || ndx == 1)
5450 1.1 christos p = "int";
5451 1.1 christos break;
5452 1.1 christos /* sys_getppid */
5453 1.1 christos case 64:
5454 1.1 christos /* sys_getpgrp */
5455 1.1 christos case 65:
5456 1.1 christos /* sys_setsid */
5457 1.1 christos case 66:
5458 1.1 christos /* linux32_sys_siggetmask */
5459 1.1 christos case 68:
5460 1.1 christos /* linux32_sys_sigsetmask */
5461 1.1 christos case 69:
5462 1.1 christos if (ndx == 0 || ndx == 1)
5463 1.1 christos p = "int";
5464 1.1 christos break;
5465 1.1 christos /* linux32_sys_setreuid16 */
5466 1.1 christos case 70:
5467 1.1 christos if (ndx == 0 || ndx == 1)
5468 1.1 christos p = "int";
5469 1.1 christos break;
5470 1.1 christos /* linux32_sys_setregid16 */
5471 1.1 christos case 71:
5472 1.1 christos if (ndx == 0 || ndx == 1)
5473 1.1 christos p = "int";
5474 1.1 christos break;
5475 1.1 christos /* compat_43_netbsd32_osethostname */
5476 1.1 christos case 74:
5477 1.1 christos if (ndx == 0 || ndx == 1)
5478 1.1 christos p = "int";
5479 1.1 christos break;
5480 1.1 christos /* linux32_sys_setrlimit */
5481 1.1 christos case 75:
5482 1.1 christos if (ndx == 0 || ndx == 1)
5483 1.1 christos p = "int";
5484 1.1 christos break;
5485 1.1 christos /* linux32_sys_getrlimit */
5486 1.1 christos case 76:
5487 1.1 christos if (ndx == 0 || ndx == 1)
5488 1.1 christos p = "int";
5489 1.1 christos break;
5490 1.1 christos /* compat_50_netbsd32_getrusage */
5491 1.1 christos case 77:
5492 1.1 christos if (ndx == 0 || ndx == 1)
5493 1.1 christos p = "int";
5494 1.1 christos break;
5495 1.1 christos /* linux32_sys_gettimeofday */
5496 1.1 christos case 78:
5497 1.1 christos if (ndx == 0 || ndx == 1)
5498 1.1 christos p = "int";
5499 1.1 christos break;
5500 1.1 christos /* linux32_sys_settimeofday */
5501 1.1 christos case 79:
5502 1.1 christos if (ndx == 0 || ndx == 1)
5503 1.1 christos p = "int";
5504 1.1 christos break;
5505 1.1 christos /* linux32_sys_getgroups16 */
5506 1.1 christos case 80:
5507 1.1 christos if (ndx == 0 || ndx == 1)
5508 1.1 christos p = "int";
5509 1.1 christos break;
5510 1.1 christos /* linux32_sys_setgroups16 */
5511 1.1 christos case 81:
5512 1.1 christos if (ndx == 0 || ndx == 1)
5513 1.1 christos p = "int";
5514 1.1 christos break;
5515 1.1 christos /* linux32_sys_oldselect */
5516 1.1 christos case 82:
5517 1.1 christos if (ndx == 0 || ndx == 1)
5518 1.1 christos p = "int";
5519 1.1 christos break;
5520 1.1 christos /* netbsd32_symlink */
5521 1.1 christos case 83:
5522 1.1 christos if (ndx == 0 || ndx == 1)
5523 1.1 christos p = "int";
5524 1.1 christos break;
5525 1.1 christos /* compat_43_netbsd32_lstat43 */
5526 1.1 christos case 84:
5527 1.1 christos if (ndx == 0 || ndx == 1)
5528 1.1 christos p = "int";
5529 1.1 christos break;
5530 1.1 christos /* netbsd32_readlink */
5531 1.1 christos case 85:
5532 1.1 christos if (ndx == 0 || ndx == 1)
5533 1.1 christos p = "int";
5534 1.1 christos break;
5535 1.1 christos /* linux32_sys_swapon */
5536 1.1 christos case 87:
5537 1.1 christos if (ndx == 0 || ndx == 1)
5538 1.1 christos p = "int";
5539 1.1 christos break;
5540 1.1 christos /* linux32_sys_reboot */
5541 1.1 christos case 88:
5542 1.1 christos if (ndx == 0 || ndx == 1)
5543 1.1 christos p = "int";
5544 1.1 christos break;
5545 1.1 christos /* linux32_sys_readdir */
5546 1.1 christos case 89:
5547 1.1 christos if (ndx == 0 || ndx == 1)
5548 1.1 christos p = "int";
5549 1.1 christos break;
5550 1.1 christos /* linux32_sys_old_mmap */
5551 1.1 christos case 90:
5552 1.1 christos if (ndx == 0 || ndx == 1)
5553 1.1 christos p = "int";
5554 1.1 christos break;
5555 1.1 christos /* netbsd32_munmap */
5556 1.1 christos case 91:
5557 1.1 christos if (ndx == 0 || ndx == 1)
5558 1.1 christos p = "int";
5559 1.1 christos break;
5560 1.1 christos /* compat_43_netbsd32_otruncate */
5561 1.1 christos case 92:
5562 1.1 christos if (ndx == 0 || ndx == 1)
5563 1.1 christos p = "int";
5564 1.1 christos break;
5565 1.1 christos /* compat_43_netbsd32_oftruncate */
5566 1.1 christos case 93:
5567 1.1 christos if (ndx == 0 || ndx == 1)
5568 1.1 christos p = "int";
5569 1.1 christos break;
5570 1.1 christos /* netbsd32_fchmod */
5571 1.1 christos case 94:
5572 1.1 christos if (ndx == 0 || ndx == 1)
5573 1.1 christos p = "int";
5574 1.1 christos break;
5575 1.1 christos /* linux32_sys_fchown16 */
5576 1.1 christos case 95:
5577 1.1 christos if (ndx == 0 || ndx == 1)
5578 1.1 christos p = "int";
5579 1.1 christos break;
5580 1.1 christos /* linux32_sys_getpriority */
5581 1.1 christos case 96:
5582 1.1 christos if (ndx == 0 || ndx == 1)
5583 1.1 christos p = "int";
5584 1.1 christos break;
5585 1.1 christos /* netbsd32_setpriority */
5586 1.1 christos case 97:
5587 1.1 christos if (ndx == 0 || ndx == 1)
5588 1.1 christos p = "int";
5589 1.1 christos break;
5590 1.1 christos /* netbsd32_profil */
5591 1.1 christos case 98:
5592 1.1 christos if (ndx == 0 || ndx == 1)
5593 1.1 christos p = "int";
5594 1.1 christos break;
5595 1.1 christos /* linux32_sys_statfs */
5596 1.1 christos case 99:
5597 1.1 christos if (ndx == 0 || ndx == 1)
5598 1.1 christos p = "int";
5599 1.1 christos break;
5600 1.1 christos /* linux32_sys_fstatfs */
5601 1.1 christos case 100:
5602 1.1 christos if (ndx == 0 || ndx == 1)
5603 1.1 christos p = "int";
5604 1.1 christos break;
5605 1.1 christos /* linux_sys_ioperm */
5606 1.1 christos case 101:
5607 1.1 christos if (ndx == 0 || ndx == 1)
5608 1.1 christos p = "int";
5609 1.1 christos break;
5610 1.1 christos /* linux32_sys_socketcall */
5611 1.1 christos case 102:
5612 1.1 christos if (ndx == 0 || ndx == 1)
5613 1.1 christos p = "int";
5614 1.1 christos break;
5615 1.1 christos /* compat_50_netbsd32_setitimer */
5616 1.1 christos case 104:
5617 1.1 christos if (ndx == 0 || ndx == 1)
5618 1.1 christos p = "int";
5619 1.1 christos break;
5620 1.1 christos /* compat_50_netbsd32_getitimer */
5621 1.1 christos case 105:
5622 1.1 christos if (ndx == 0 || ndx == 1)
5623 1.1 christos p = "int";
5624 1.1 christos break;
5625 1.1 christos /* linux32_sys_stat */
5626 1.1 christos case 106:
5627 1.1 christos if (ndx == 0 || ndx == 1)
5628 1.1 christos p = "int";
5629 1.1 christos break;
5630 1.1 christos /* linux32_sys_lstat */
5631 1.1 christos case 107:
5632 1.1 christos if (ndx == 0 || ndx == 1)
5633 1.1 christos p = "int";
5634 1.1 christos break;
5635 1.1 christos /* linux32_sys_fstat */
5636 1.1 christos case 108:
5637 1.1 christos if (ndx == 0 || ndx == 1)
5638 1.1 christos p = "int";
5639 1.1 christos break;
5640 1.1 christos /* linux32_sys_olduname */
5641 1.1 christos case 109:
5642 1.1 christos if (ndx == 0 || ndx == 1)
5643 1.1 christos p = "int";
5644 1.1 christos break;
5645 1.1 christos /* linux_sys_iopl */
5646 1.1 christos case 110:
5647 1.1 christos if (ndx == 0 || ndx == 1)
5648 1.1 christos p = "int";
5649 1.1 christos break;
5650 1.1 christos /* linux32_sys_wait4 */
5651 1.1 christos case 114:
5652 1.1 christos if (ndx == 0 || ndx == 1)
5653 1.1 christos p = "int";
5654 1.1 christos break;
5655 1.1 christos /* linux32_sys_swapoff */
5656 1.1 christos case 115:
5657 1.1 christos if (ndx == 0 || ndx == 1)
5658 1.1 christos p = "int";
5659 1.1 christos break;
5660 1.1 christos /* linux32_sys_sysinfo */
5661 1.1 christos case 116:
5662 1.1 christos if (ndx == 0 || ndx == 1)
5663 1.1 christos p = "int";
5664 1.1 christos break;
5665 1.1 christos /* linux32_sys_ipc */
5666 1.1 christos case 117:
5667 1.1 christos if (ndx == 0 || ndx == 1)
5668 1.1 christos p = "int";
5669 1.1 christos break;
5670 1.1 christos /* netbsd32_fsync */
5671 1.1 christos case 118:
5672 1.1 christos if (ndx == 0 || ndx == 1)
5673 1.1 christos p = "int";
5674 1.1 christos break;
5675 1.1 christos /* linux32_sys_sigreturn */
5676 1.1 christos case 119:
5677 1.1 christos if (ndx == 0 || ndx == 1)
5678 1.1 christos p = "int";
5679 1.1 christos break;
5680 1.1 christos /* linux32_sys_clone */
5681 1.1 christos case 120:
5682 1.1 christos if (ndx == 0 || ndx == 1)
5683 1.1 christos p = "int";
5684 1.1 christos break;
5685 1.1 christos /* linux32_sys_setdomainname */
5686 1.1 christos case 121:
5687 1.1 christos if (ndx == 0 || ndx == 1)
5688 1.1 christos p = "int";
5689 1.1 christos break;
5690 1.1 christos /* linux32_sys_uname */
5691 1.1 christos case 122:
5692 1.1 christos if (ndx == 0 || ndx == 1)
5693 1.1 christos p = "int";
5694 1.1 christos break;
5695 1.1 christos /* linux32_sys_modify_ldt */
5696 1.1 christos case 123:
5697 1.1 christos if (ndx == 0 || ndx == 1)
5698 1.1 christos p = "int";
5699 1.1 christos break;
5700 1.1 christos /* linux32_sys_mprotect */
5701 1.1 christos case 125:
5702 1.1 christos if (ndx == 0 || ndx == 1)
5703 1.1 christos p = "int";
5704 1.1 christos break;
5705 1.1 christos /* netbsd32_getpgid */
5706 1.1 christos case 132:
5707 1.1 christos if (ndx == 0 || ndx == 1)
5708 1.1 christos p = "int";
5709 1.1 christos break;
5710 1.1 christos /* netbsd32_fchdir */
5711 1.1 christos case 133:
5712 1.1 christos if (ndx == 0 || ndx == 1)
5713 1.1 christos p = "int";
5714 1.1 christos break;
5715 1.1 christos /* linux32_sys_personality */
5716 1.1 christos case 136:
5717 1.1 christos if (ndx == 0 || ndx == 1)
5718 1.1 christos p = "int";
5719 1.1 christos break;
5720 1.1 christos /* linux32_sys_setfsuid */
5721 1.1 christos case 138:
5722 1.1 christos if (ndx == 0 || ndx == 1)
5723 1.1 christos p = "int";
5724 1.1 christos break;
5725 1.1 christos /* linux32_sys_setfsgid */
5726 1.1 christos case 139:
5727 1.1 christos if (ndx == 0 || ndx == 1)
5728 1.1 christos p = "int";
5729 1.1 christos break;
5730 1.1 christos /* linux32_sys_llseek */
5731 1.1 christos case 140:
5732 1.1 christos if (ndx == 0 || ndx == 1)
5733 1.1 christos p = "int";
5734 1.1 christos break;
5735 1.1 christos /* linux32_sys_getdents */
5736 1.1 christos case 141:
5737 1.1 christos if (ndx == 0 || ndx == 1)
5738 1.1 christos p = "int";
5739 1.1 christos break;
5740 1.1 christos /* linux32_sys_select */
5741 1.1 christos case 142:
5742 1.1 christos if (ndx == 0 || ndx == 1)
5743 1.1 christos p = "int";
5744 1.1 christos break;
5745 1.1 christos /* netbsd32_flock */
5746 1.1 christos case 143:
5747 1.1 christos if (ndx == 0 || ndx == 1)
5748 1.1 christos p = "int";
5749 1.1 christos break;
5750 1.1 christos /* netbsd32___msync13 */
5751 1.1 christos case 144:
5752 1.1 christos if (ndx == 0 || ndx == 1)
5753 1.1 christos p = "int";
5754 1.1 christos break;
5755 1.1 christos /* netbsd32_readv */
5756 1.1 christos case 145:
5757 1.1 christos if (ndx == 0 || ndx == 1)
5758 1.1 christos p = "int";
5759 1.1 christos break;
5760 1.1 christos /* netbsd32_writev */
5761 1.1 christos case 146:
5762 1.1 christos if (ndx == 0 || ndx == 1)
5763 1.1 christos p = "netbsd32_ssize_t";
5764 1.1 christos break;
5765 1.1 christos /* netbsd32_getsid */
5766 1.1 christos case 147:
5767 1.1 christos if (ndx == 0 || ndx == 1)
5768 1.1 christos p = "pid_t";
5769 1.1 christos break;
5770 1.1 christos /* linux32_sys_fdatasync */
5771 1.1 christos case 148:
5772 1.1 christos if (ndx == 0 || ndx == 1)
5773 1.1 christos p = "int";
5774 1.1 christos break;
5775 1.1 christos /* linux32_sys___sysctl */
5776 1.1 christos case 149:
5777 1.1 christos if (ndx == 0 || ndx == 1)
5778 1.1 christos p = "int";
5779 1.1 christos break;
5780 1.1 christos /* netbsd32_mlock */
5781 1.1 christos case 150:
5782 1.1 christos if (ndx == 0 || ndx == 1)
5783 1.1 christos p = "int";
5784 1.1 christos break;
5785 1.1 christos /* netbsd32_munlock */
5786 1.1 christos case 151:
5787 1.1 christos if (ndx == 0 || ndx == 1)
5788 1.1 christos p = "int";
5789 1.1 christos break;
5790 1.1 christos /* netbsd32_mlockall */
5791 1.1 christos case 152:
5792 1.1 christos if (ndx == 0 || ndx == 1)
5793 1.1 christos p = "int";
5794 1.1 christos break;
5795 1.1 christos /* sys_munlockall */
5796 1.1 christos case 153:
5797 1.1 christos /* linux32_sys_sched_setparam */
5798 1.1 christos case 154:
5799 1.1 christos if (ndx == 0 || ndx == 1)
5800 1.1 christos p = "int";
5801 1.1 christos break;
5802 1.1 christos /* linux32_sys_sched_getparam */
5803 1.1 christos case 155:
5804 1.1 christos if (ndx == 0 || ndx == 1)
5805 1.1 christos p = "int";
5806 1.1 christos break;
5807 1.1 christos /* linux32_sys_sched_setscheduler */
5808 1.1 christos case 156:
5809 1.1 christos if (ndx == 0 || ndx == 1)
5810 1.1 christos p = "int";
5811 1.1 christos break;
5812 1.1 christos /* linux32_sys_sched_getscheduler */
5813 1.1 christos case 157:
5814 1.1 christos if (ndx == 0 || ndx == 1)
5815 1.1 christos p = "int";
5816 1.1 christos break;
5817 1.1 christos /* linux_sys_sched_yield */
5818 1.1 christos case 158:
5819 1.1 christos /* linux32_sys_sched_get_priority_max */
5820 1.1 christos case 159:
5821 1.1 christos if (ndx == 0 || ndx == 1)
5822 1.1 christos p = "int";
5823 1.1 christos break;
5824 1.1 christos /* linux32_sys_sched_get_priority_min */
5825 1.1 christos case 160:
5826 1.1 christos if (ndx == 0 || ndx == 1)
5827 1.1 christos p = "int";
5828 1.1 christos break;
5829 1.1 christos /* linux32_sys_nanosleep */
5830 1.1 christos case 162:
5831 1.1 christos if (ndx == 0 || ndx == 1)
5832 1.1 christos p = "int";
5833 1.1 christos break;
5834 1.1 christos /* linux32_sys_mremap */
5835 1.1 christos case 163:
5836 1.1 christos if (ndx == 0 || ndx == 1)
5837 1.1 christos p = "int";
5838 1.1 christos break;
5839 1.1 christos /* linux32_sys_setresuid16 */
5840 1.1 christos case 164:
5841 1.1 christos if (ndx == 0 || ndx == 1)
5842 1.1 christos p = "int";
5843 1.1 christos break;
5844 1.1 christos /* linux32_sys_getresuid16 */
5845 1.1 christos case 165:
5846 1.1 christos if (ndx == 0 || ndx == 1)
5847 1.1 christos p = "int";
5848 1.1 christos break;
5849 1.1 christos /* netbsd32_poll */
5850 1.1 christos case 168:
5851 1.1 christos if (ndx == 0 || ndx == 1)
5852 1.1 christos p = "int";
5853 1.1 christos break;
5854 1.1 christos /* linux32_sys_setresgid16 */
5855 1.1 christos case 170:
5856 1.1 christos if (ndx == 0 || ndx == 1)
5857 1.1 christos p = "int";
5858 1.1 christos break;
5859 1.1 christos /* linux32_sys_getresgid16 */
5860 1.1 christos case 171:
5861 1.1 christos if (ndx == 0 || ndx == 1)
5862 1.1 christos p = "int";
5863 1.1 christos break;
5864 1.1 christos /* linux32_sys_rt_sigreturn */
5865 1.1 christos case 173:
5866 1.1 christos if (ndx == 0 || ndx == 1)
5867 1.1 christos p = "int";
5868 1.1 christos break;
5869 1.1 christos /* linux32_sys_rt_sigaction */
5870 1.1 christos case 174:
5871 1.1 christos if (ndx == 0 || ndx == 1)
5872 1.1 christos p = "int";
5873 1.1 christos break;
5874 1.1 christos /* linux32_sys_rt_sigprocmask */
5875 1.1 christos case 175:
5876 1.1 christos if (ndx == 0 || ndx == 1)
5877 1.1 christos p = "int";
5878 1.1 christos break;
5879 1.1 christos /* linux32_sys_rt_sigpending */
5880 1.1 christos case 176:
5881 1.1 christos if (ndx == 0 || ndx == 1)
5882 1.1 christos p = "int";
5883 1.1 christos break;
5884 1.1 christos /* linux32_sys_rt_sigtimedwait */
5885 1.1 christos case 177:
5886 1.1 christos if (ndx == 0 || ndx == 1)
5887 1.1 christos p = "int";
5888 1.1 christos break;
5889 1.1 christos /* linux32_sys_rt_queueinfo */
5890 1.1 christos case 178:
5891 1.1 christos if (ndx == 0 || ndx == 1)
5892 1.1 christos p = "int";
5893 1.1 christos break;
5894 1.1 christos /* linux32_sys_rt_sigsuspend */
5895 1.1 christos case 179:
5896 1.1 christos if (ndx == 0 || ndx == 1)
5897 1.1 christos p = "int";
5898 1.1 christos break;
5899 1.1 christos /* linux32_sys_pread */
5900 1.1 christos case 180:
5901 1.1 christos if (ndx == 0 || ndx == 1)
5902 1.1 christos p = "netbsd32_ssize_t";
5903 1.1 christos break;
5904 1.1 christos /* linux32_sys_pwrite */
5905 1.1 christos case 181:
5906 1.1 christos if (ndx == 0 || ndx == 1)
5907 1.1 christos p = "netbsd32_ssize_t";
5908 1.1 christos break;
5909 1.1 christos /* linux32_sys_chown16 */
5910 1.1 christos case 182:
5911 1.1 christos if (ndx == 0 || ndx == 1)
5912 1.1 christos p = "int";
5913 1.1 christos break;
5914 1.1 christos /* netbsd32___getcwd */
5915 1.1 christos case 183:
5916 1.1 christos if (ndx == 0 || ndx == 1)
5917 1.1 christos p = "int";
5918 1.1 christos break;
5919 1.1 christos /* sys___vfork14 */
5920 1.1 christos case 190:
5921 1.1 christos /* linux32_sys_ugetrlimit */
5922 1.1 christos case 191:
5923 1.1 christos if (ndx == 0 || ndx == 1)
5924 1.1 christos p = "int";
5925 1.1 christos break;
5926 1.1 christos /* linux32_sys_mmap2 */
5927 1.1 christos case 192:
5928 1.1 christos if (ndx == 0 || ndx == 1)
5929 1.1 christos p = "linux32_off_t";
5930 1.1 christos break;
5931 1.1 christos /* linux32_sys_truncate64 */
5932 1.1 christos case 193:
5933 1.1 christos if (ndx == 0 || ndx == 1)
5934 1.1 christos p = "int";
5935 1.1 christos break;
5936 1.1 christos /* linux32_sys_ftruncate64 */
5937 1.1 christos case 194:
5938 1.1 christos if (ndx == 0 || ndx == 1)
5939 1.1 christos p = "int";
5940 1.1 christos break;
5941 1.1 christos /* linux32_sys_stat64 */
5942 1.1 christos case 195:
5943 1.1 christos if (ndx == 0 || ndx == 1)
5944 1.1 christos p = "int";
5945 1.1 christos break;
5946 1.1 christos /* linux32_sys_lstat64 */
5947 1.1 christos case 196:
5948 1.1 christos if (ndx == 0 || ndx == 1)
5949 1.1 christos p = "int";
5950 1.1 christos break;
5951 1.1 christos /* linux32_sys_fstat64 */
5952 1.1 christos case 197:
5953 1.1 christos if (ndx == 0 || ndx == 1)
5954 1.1 christos p = "int";
5955 1.1 christos break;
5956 1.1 christos /* netbsd32___posix_lchown */
5957 1.1 christos case 198:
5958 1.1 christos if (ndx == 0 || ndx == 1)
5959 1.1 christos p = "int";
5960 1.1 christos break;
5961 1.1 christos /* sys_getuid */
5962 1.1 christos case 199:
5963 1.1 christos /* sys_getgid */
5964 1.1 christos case 200:
5965 1.1 christos /* sys_geteuid */
5966 1.1 christos case 201:
5967 1.1 christos /* sys_getegid */
5968 1.1 christos case 202:
5969 1.1 christos /* netbsd32_setreuid */
5970 1.1 christos case 203:
5971 1.1 christos if (ndx == 0 || ndx == 1)
5972 1.1 christos p = "int";
5973 1.1 christos break;
5974 1.1 christos /* netbsd32_setregid */
5975 1.1 christos case 204:
5976 1.1 christos if (ndx == 0 || ndx == 1)
5977 1.1 christos p = "int";
5978 1.1 christos break;
5979 1.1 christos /* netbsd32_getgroups */
5980 1.1 christos case 205:
5981 1.1 christos if (ndx == 0 || ndx == 1)
5982 1.1 christos p = "int";
5983 1.1 christos break;
5984 1.1 christos /* netbsd32_setgroups */
5985 1.1 christos case 206:
5986 1.1 christos if (ndx == 0 || ndx == 1)
5987 1.1 christos p = "int";
5988 1.1 christos break;
5989 1.1 christos /* netbsd32___posix_fchown */
5990 1.1 christos case 207:
5991 1.1 christos if (ndx == 0 || ndx == 1)
5992 1.1 christos p = "int";
5993 1.1 christos break;
5994 1.1 christos /* linux32_sys_setresuid */
5995 1.1 christos case 208:
5996 1.1 christos if (ndx == 0 || ndx == 1)
5997 1.1 christos p = "int";
5998 1.1 christos break;
5999 1.1 christos /* linux32_sys_getresuid */
6000 1.1 christos case 209:
6001 1.1 christos if (ndx == 0 || ndx == 1)
6002 1.1 christos p = "int";
6003 1.1 christos break;
6004 1.1 christos /* linux32_sys_setresgid */
6005 1.1 christos case 210:
6006 1.1 christos if (ndx == 0 || ndx == 1)
6007 1.1 christos p = "int";
6008 1.1 christos break;
6009 1.1 christos /* linux32_sys_getresgid */
6010 1.1 christos case 211:
6011 1.1 christos if (ndx == 0 || ndx == 1)
6012 1.1 christos p = "int";
6013 1.1 christos break;
6014 1.1 christos /* netbsd32___posix_chown */
6015 1.1 christos case 212:
6016 1.1 christos if (ndx == 0 || ndx == 1)
6017 1.1 christos p = "int";
6018 1.1 christos break;
6019 1.1 christos /* netbsd32_setuid */
6020 1.1 christos case 213:
6021 1.1 christos if (ndx == 0 || ndx == 1)
6022 1.1 christos p = "int";
6023 1.1 christos break;
6024 1.1 christos /* netbsd32_setgid */
6025 1.1 christos case 214:
6026 1.1 christos if (ndx == 0 || ndx == 1)
6027 1.1 christos p = "int";
6028 1.1 christos break;
6029 1.1 christos /* linux32_sys_setfsuid */
6030 1.1 christos case 215:
6031 1.1 christos if (ndx == 0 || ndx == 1)
6032 1.1 christos p = "int";
6033 1.1 christos break;
6034 1.1 christos /* linux32_sys_setfsgid */
6035 1.1 christos case 216:
6036 1.1 christos if (ndx == 0 || ndx == 1)
6037 1.1 christos p = "int";
6038 1.1 christos break;
6039 1.1 christos /* netbsd32_mincore */
6040 1.1 christos case 218:
6041 1.1 christos if (ndx == 0 || ndx == 1)
6042 1.1 christos p = "int";
6043 1.1 christos break;
6044 1.1 christos /* netbsd32_madvise */
6045 1.1 christos case 219:
6046 1.1 christos if (ndx == 0 || ndx == 1)
6047 1.1 christos p = "int";
6048 1.1 christos break;
6049 1.1 christos /* linux32_sys_getdents64 */
6050 1.1 christos case 220:
6051 1.1 christos if (ndx == 0 || ndx == 1)
6052 1.1 christos p = "int";
6053 1.1 christos break;
6054 1.1 christos #define linux32_sys_fcntl64 linux32_sys_fcntl
6055 1.1 christos #define linux32_sys_fcntl64_args linux32_sys_fcntl_args
6056 1.1 christos /* linux32_sys_fcntl64 */
6057 1.1 christos case 221:
6058 1.1 christos if (ndx == 0 || ndx == 1)
6059 1.1 christos p = "int";
6060 1.1 christos break;
6061 1.1 christos /* linux_sys_gettid */
6062 1.1 christos case 224:
6063 1.1 christos /* netbsd32_setxattr */
6064 1.1 christos case 226:
6065 1.1 christos if (ndx == 0 || ndx == 1)
6066 1.1 christos p = "int";
6067 1.1 christos break;
6068 1.1 christos /* netbsd32_lsetxattr */
6069 1.1 christos case 227:
6070 1.1 christos if (ndx == 0 || ndx == 1)
6071 1.1 christos p = "int";
6072 1.1 christos break;
6073 1.1 christos /* netbsd32_fsetxattr */
6074 1.1 christos case 228:
6075 1.1 christos if (ndx == 0 || ndx == 1)
6076 1.1 christos p = "int";
6077 1.1 christos break;
6078 1.1 christos /* netbsd32_getxattr */
6079 1.1 christos case 229:
6080 1.1 christos if (ndx == 0 || ndx == 1)
6081 1.1 christos p = "ssize_t";
6082 1.1 christos break;
6083 1.1 christos /* netbsd32_lgetxattr */
6084 1.1 christos case 230:
6085 1.1 christos if (ndx == 0 || ndx == 1)
6086 1.1 christos p = "ssize_t";
6087 1.1 christos break;
6088 1.1 christos /* netbsd32_fgetxattr */
6089 1.1 christos case 231:
6090 1.1 christos if (ndx == 0 || ndx == 1)
6091 1.1 christos p = "ssize_t";
6092 1.1 christos break;
6093 1.1 christos /* netbsd32_listxattr */
6094 1.1 christos case 232:
6095 1.1 christos if (ndx == 0 || ndx == 1)
6096 1.1 christos p = "ssize_t";
6097 1.1 christos break;
6098 1.1 christos /* netbsd32_llistxattr */
6099 1.1 christos case 233:
6100 1.1 christos if (ndx == 0 || ndx == 1)
6101 1.1 christos p = "ssize_t";
6102 1.1 christos break;
6103 1.1 christos /* netbsd32_flistxattr */
6104 1.1 christos case 234:
6105 1.1 christos if (ndx == 0 || ndx == 1)
6106 1.1 christos p = "ssize_t";
6107 1.1 christos break;
6108 1.1 christos /* netbsd32_removexattr */
6109 1.1 christos case 235:
6110 1.1 christos if (ndx == 0 || ndx == 1)
6111 1.1 christos p = "int";
6112 1.1 christos break;
6113 1.1 christos /* netbsd32_lremovexattr */
6114 1.1 christos case 236:
6115 1.1 christos if (ndx == 0 || ndx == 1)
6116 1.1 christos p = "int";
6117 1.1 christos break;
6118 1.1 christos /* netbsd32_fremovexattr */
6119 1.1 christos case 237:
6120 1.1 christos if (ndx == 0 || ndx == 1)
6121 1.1 christos p = "int";
6122 1.1 christos break;
6123 1.1 christos /* linux32_sys_tkill */
6124 1.1 christos case 238:
6125 1.1 christos if (ndx == 0 || ndx == 1)
6126 1.1 christos p = "int";
6127 1.1 christos break;
6128 1.1 christos /* linux32_sys_futex */
6129 1.1 christos case 240:
6130 1.1 christos if (ndx == 0 || ndx == 1)
6131 1.1 christos p = "int";
6132 1.1 christos break;
6133 1.1 christos /* linux32_sys_sched_setaffinity */
6134 1.1 christos case 241:
6135 1.1 christos if (ndx == 0 || ndx == 1)
6136 1.1 christos p = "int";
6137 1.1 christos break;
6138 1.1 christos /* linux32_sys_sched_getaffinity */
6139 1.1 christos case 242:
6140 1.1 christos if (ndx == 0 || ndx == 1)
6141 1.1 christos p = "int";
6142 1.1 christos break;
6143 1.1 christos /* linux32_sys_set_thread_area */
6144 1.1 christos case 243:
6145 1.1 christos if (ndx == 0 || ndx == 1)
6146 1.1 christos p = "int";
6147 1.1 christos break;
6148 1.1 christos /* linux32_sys_get_thread_area */
6149 1.1 christos case 244:
6150 1.1 christos if (ndx == 0 || ndx == 1)
6151 1.1 christos p = "int";
6152 1.1 christos break;
6153 1.1 christos /* linux32_sys_fadvise64 */
6154 1.1 christos case 250:
6155 1.1 christos if (ndx == 0 || ndx == 1)
6156 1.1 christos p = "int";
6157 1.1 christos break;
6158 1.1 christos /* linux32_sys_exit_group */
6159 1.1 christos case 252:
6160 1.1 christos if (ndx == 0 || ndx == 1)
6161 1.1 christos p = "int";
6162 1.1 christos break;
6163 1.1 christos /* linux32_sys_set_tid_address */
6164 1.1 christos case 258:
6165 1.1 christos if (ndx == 0 || ndx == 1)
6166 1.1 christos p = "int";
6167 1.1 christos break;
6168 1.9 thorpej /* linux32_sys_timer_create */
6169 1.9 thorpej case 259:
6170 1.9 thorpej if (ndx == 0 || ndx == 1)
6171 1.9 thorpej p = "int";
6172 1.9 thorpej break;
6173 1.9 thorpej /* linux32_sys_timer_settime */
6174 1.9 thorpej case 260:
6175 1.9 thorpej if (ndx == 0 || ndx == 1)
6176 1.9 thorpej p = "int";
6177 1.9 thorpej break;
6178 1.9 thorpej /* linux32_sys_timer_gettime */
6179 1.9 thorpej case 261:
6180 1.9 thorpej if (ndx == 0 || ndx == 1)
6181 1.9 thorpej p = "int";
6182 1.9 thorpej break;
6183 1.9 thorpej /* sys_timer_getoverrun */
6184 1.9 thorpej case 262:
6185 1.9 thorpej if (ndx == 0 || ndx == 1)
6186 1.9 thorpej p = "int";
6187 1.9 thorpej break;
6188 1.9 thorpej /* sys_timer_delete */
6189 1.9 thorpej case 263:
6190 1.9 thorpej if (ndx == 0 || ndx == 1)
6191 1.9 thorpej p = "int";
6192 1.9 thorpej break;
6193 1.1 christos /* linux32_sys_clock_settime */
6194 1.1 christos case 264:
6195 1.1 christos if (ndx == 0 || ndx == 1)
6196 1.1 christos p = "int";
6197 1.1 christos break;
6198 1.1 christos /* linux32_sys_clock_gettime */
6199 1.1 christos case 265:
6200 1.1 christos if (ndx == 0 || ndx == 1)
6201 1.1 christos p = "int";
6202 1.1 christos break;
6203 1.1 christos /* linux32_sys_clock_getres */
6204 1.1 christos case 266:
6205 1.1 christos if (ndx == 0 || ndx == 1)
6206 1.1 christos p = "int";
6207 1.1 christos break;
6208 1.1 christos /* linux32_sys_clock_nanosleep */
6209 1.1 christos case 267:
6210 1.1 christos if (ndx == 0 || ndx == 1)
6211 1.1 christos p = "int";
6212 1.1 christos break;
6213 1.1 christos /* linux32_sys_statfs64 */
6214 1.1 christos case 268:
6215 1.1 christos if (ndx == 0 || ndx == 1)
6216 1.1 christos p = "int";
6217 1.1 christos break;
6218 1.1 christos /* linux32_sys_fstatfs64 */
6219 1.1 christos case 269:
6220 1.1 christos if (ndx == 0 || ndx == 1)
6221 1.1 christos p = "int";
6222 1.1 christos break;
6223 1.1 christos /* linux32_sys_tgkill */
6224 1.1 christos case 270:
6225 1.1 christos if (ndx == 0 || ndx == 1)
6226 1.1 christos p = "int";
6227 1.1 christos break;
6228 1.1 christos /* compat_50_netbsd32_utimes */
6229 1.1 christos case 271:
6230 1.1 christos if (ndx == 0 || ndx == 1)
6231 1.1 christos p = "int";
6232 1.1 christos break;
6233 1.1 christos /* linux32_sys_fadvise64_64 */
6234 1.1 christos case 272:
6235 1.1 christos if (ndx == 0 || ndx == 1)
6236 1.1 christos p = "int";
6237 1.1 christos break;
6238 1.1 christos /* linux32_sys_openat */
6239 1.1 christos case 295:
6240 1.1 christos if (ndx == 0 || ndx == 1)
6241 1.1 christos p = "int";
6242 1.1 christos break;
6243 1.1 christos /* netbsd32_mkdirat */
6244 1.1 christos case 296:
6245 1.1 christos if (ndx == 0 || ndx == 1)
6246 1.1 christos p = "int";
6247 1.1 christos break;
6248 1.1 christos /* linux32_sys_mknodat */
6249 1.1 christos case 297:
6250 1.1 christos if (ndx == 0 || ndx == 1)
6251 1.1 christos p = "int";
6252 1.1 christos break;
6253 1.1 christos /* linux32_sys_fchownat */
6254 1.1 christos case 298:
6255 1.1 christos if (ndx == 0 || ndx == 1)
6256 1.1 christos p = "int";
6257 1.1 christos break;
6258 1.1 christos /* linux32_sys_fstatat64 */
6259 1.1 christos case 300:
6260 1.1 christos if (ndx == 0 || ndx == 1)
6261 1.1 christos p = "int";
6262 1.1 christos break;
6263 1.1 christos /* linux32_sys_unlinkat */
6264 1.1 christos case 301:
6265 1.1 christos if (ndx == 0 || ndx == 1)
6266 1.1 christos p = "int";
6267 1.1 christos break;
6268 1.1 christos /* netbsd32_renameat */
6269 1.1 christos case 302:
6270 1.1 christos if (ndx == 0 || ndx == 1)
6271 1.1 christos p = "int";
6272 1.1 christos break;
6273 1.1 christos /* linux32_sys_linkat */
6274 1.1 christos case 303:
6275 1.1 christos if (ndx == 0 || ndx == 1)
6276 1.1 christos p = "int";
6277 1.1 christos break;
6278 1.1 christos /* netbsd32_symlinkat */
6279 1.1 christos case 304:
6280 1.1 christos if (ndx == 0 || ndx == 1)
6281 1.1 christos p = "int";
6282 1.1 christos break;
6283 1.1 christos /* netbsd32_readlinkat */
6284 1.1 christos case 305:
6285 1.1 christos if (ndx == 0 || ndx == 1)
6286 1.1 christos p = "int";
6287 1.1 christos break;
6288 1.1 christos /* linux32_sys_fchmodat */
6289 1.1 christos case 306:
6290 1.1 christos if (ndx == 0 || ndx == 1)
6291 1.1 christos p = "int";
6292 1.1 christos break;
6293 1.1 christos /* linux32_sys_faccessat */
6294 1.1 christos case 307:
6295 1.1 christos if (ndx == 0 || ndx == 1)
6296 1.1 christos p = "int";
6297 1.1 christos break;
6298 1.1 christos /* linux32_sys_ppoll */
6299 1.1 christos case 309:
6300 1.1 christos if (ndx == 0 || ndx == 1)
6301 1.1 christos p = "int";
6302 1.1 christos break;
6303 1.8 thorpej /* netbsd32___futex_set_robust_list */
6304 1.1 christos case 311:
6305 1.1 christos if (ndx == 0 || ndx == 1)
6306 1.1 christos p = "int";
6307 1.1 christos break;
6308 1.8 thorpej /* netbsd32___futex_get_robust_list */
6309 1.1 christos case 312:
6310 1.1 christos if (ndx == 0 || ndx == 1)
6311 1.1 christos p = "int";
6312 1.1 christos break;
6313 1.1 christos /* linux32_sys_utimensat */
6314 1.1 christos case 320:
6315 1.1 christos if (ndx == 0 || ndx == 1)
6316 1.1 christos p = "int";
6317 1.1 christos break;
6318 1.10 thorpej /* linux_sys_timerfd_create */
6319 1.10 thorpej case 322:
6320 1.10 thorpej if (ndx == 0 || ndx == 1)
6321 1.10 thorpej p = "int";
6322 1.10 thorpej break;
6323 1.11 thorpej /* linux32_sys_eventfd */
6324 1.11 thorpej case 323:
6325 1.11 thorpej if (ndx == 0 || ndx == 1)
6326 1.11 thorpej p = "int";
6327 1.11 thorpej break;
6328 1.7 jdolecek /* linux32_sys_fallocate */
6329 1.7 jdolecek case 324:
6330 1.7 jdolecek if (ndx == 0 || ndx == 1)
6331 1.7 jdolecek p = "int";
6332 1.7 jdolecek break;
6333 1.10 thorpej /* linux32_sys_timerfd_settime */
6334 1.10 thorpej case 325:
6335 1.10 thorpej if (ndx == 0 || ndx == 1)
6336 1.10 thorpej p = "int";
6337 1.10 thorpej break;
6338 1.10 thorpej /* linux32_sys_timerfd_gettime */
6339 1.10 thorpej case 326:
6340 1.10 thorpej if (ndx == 0 || ndx == 1)
6341 1.10 thorpej p = "int";
6342 1.10 thorpej break;
6343 1.11 thorpej /* linux32_sys_eventfd2 */
6344 1.11 thorpej case 328:
6345 1.11 thorpej if (ndx == 0 || ndx == 1)
6346 1.11 thorpej p = "int";
6347 1.11 thorpej break;
6348 1.1 christos /* linux32_sys_dup3 */
6349 1.1 christos case 330:
6350 1.1 christos if (ndx == 0 || ndx == 1)
6351 1.1 christos p = "int";
6352 1.1 christos break;
6353 1.1 christos /* linux32_sys_pipe2 */
6354 1.1 christos case 331:
6355 1.1 christos if (ndx == 0 || ndx == 1)
6356 1.1 christos p = "int";
6357 1.1 christos break;
6358 1.12 thorpej /* linux32_sys_preadv */
6359 1.12 thorpej case 333:
6360 1.12 thorpej if (ndx == 0 || ndx == 1)
6361 1.12 thorpej p = "int";
6362 1.12 thorpej break;
6363 1.12 thorpej /* linux32_sys_pwritev */
6364 1.12 thorpej case 334:
6365 1.12 thorpej if (ndx == 0 || ndx == 1)
6366 1.12 thorpej p = "int";
6367 1.12 thorpej break;
6368 1.1 christos default:
6369 1.1 christos break;
6370 1.1 christos };
6371 1.1 christos if (p != NULL)
6372 1.1 christos strlcpy(desc, p, descsz);
6373 1.1 christos }
6374