linux32_systrace_args.c revision 1.10 1 1.1 christos /* $NetBSD: linux32_systrace_args.c,v 1.10 2021/09/19 23:52:08 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.7 jdolecek /* linux32_sys_fallocate */
1900 1.7 jdolecek case 324: {
1901 1.7 jdolecek const struct linux32_sys_fallocate_args *p = params;
1902 1.7 jdolecek iarg[0] = SCARG(p, fd); /* int */
1903 1.7 jdolecek iarg[1] = SCARG(p, mode); /* int */
1904 1.7 jdolecek iarg[2] = SCARG(p, offset); /* off_t */
1905 1.7 jdolecek iarg[3] = SCARG(p, len); /* off_t */
1906 1.7 jdolecek *n_args = 4;
1907 1.7 jdolecek break;
1908 1.7 jdolecek }
1909 1.10 thorpej /* linux32_sys_timerfd_settime */
1910 1.10 thorpej case 325: {
1911 1.10 thorpej const struct linux32_sys_timerfd_settime_args *p = params;
1912 1.10 thorpej iarg[0] = SCARG(p, fd); /* int */
1913 1.10 thorpej iarg[1] = SCARG(p, flags); /* int */
1914 1.10 thorpej uarg[2] = (intptr_t) SCARG(p, tim); /* const struct linux32_itimerspec * */
1915 1.10 thorpej uarg[3] = (intptr_t) SCARG(p, otim); /* struct linux32_itimerspec * */
1916 1.10 thorpej *n_args = 4;
1917 1.10 thorpej break;
1918 1.10 thorpej }
1919 1.10 thorpej /* linux32_sys_timerfd_gettime */
1920 1.10 thorpej case 326: {
1921 1.10 thorpej const struct linux32_sys_timerfd_gettime_args *p = params;
1922 1.10 thorpej iarg[0] = SCARG(p, fd); /* int */
1923 1.10 thorpej uarg[1] = (intptr_t) SCARG(p, tim); /* struct linux32_itimerspec * */
1924 1.10 thorpej *n_args = 2;
1925 1.10 thorpej break;
1926 1.10 thorpej }
1927 1.1 christos /* linux32_sys_dup3 */
1928 1.1 christos case 330: {
1929 1.3 christos const struct linux32_sys_dup3_args *p = params;
1930 1.1 christos iarg[0] = SCARG(p, from); /* int */
1931 1.1 christos iarg[1] = SCARG(p, to); /* int */
1932 1.1 christos iarg[2] = SCARG(p, flags); /* int */
1933 1.1 christos *n_args = 3;
1934 1.1 christos break;
1935 1.1 christos }
1936 1.1 christos /* linux32_sys_pipe2 */
1937 1.1 christos case 331: {
1938 1.3 christos const struct linux32_sys_pipe2_args *p = params;
1939 1.1 christos uarg[0] = (intptr_t) SCARG(p, fd).i32; /* netbsd32_intp */
1940 1.1 christos iarg[1] = SCARG(p, flags); /* int */
1941 1.1 christos *n_args = 2;
1942 1.1 christos break;
1943 1.1 christos }
1944 1.1 christos default:
1945 1.1 christos *n_args = 0;
1946 1.1 christos break;
1947 1.1 christos };
1948 1.1 christos }
1949 1.1 christos static void
1950 1.1 christos systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
1951 1.1 christos {
1952 1.1 christos const char *p = NULL;
1953 1.1 christos switch (sysnum) {
1954 1.1 christos /* linux_sys_nosys */
1955 1.1 christos case 0:
1956 1.1 christos break;
1957 1.1 christos /* linux32_sys_exit */
1958 1.1 christos case 1:
1959 1.1 christos switch(ndx) {
1960 1.1 christos case 0:
1961 1.1 christos p = "int";
1962 1.1 christos break;
1963 1.1 christos default:
1964 1.1 christos break;
1965 1.1 christos };
1966 1.1 christos break;
1967 1.1 christos /* sys_fork */
1968 1.1 christos case 2:
1969 1.1 christos break;
1970 1.1 christos /* netbsd32_read */
1971 1.1 christos case 3:
1972 1.1 christos switch(ndx) {
1973 1.1 christos case 0:
1974 1.1 christos p = "int";
1975 1.1 christos break;
1976 1.1 christos case 1:
1977 1.1 christos p = "netbsd32_voidp";
1978 1.1 christos break;
1979 1.1 christos case 2:
1980 1.1 christos p = "netbsd32_size_t";
1981 1.1 christos break;
1982 1.1 christos default:
1983 1.1 christos break;
1984 1.1 christos };
1985 1.1 christos break;
1986 1.1 christos /* netbsd32_write */
1987 1.1 christos case 4:
1988 1.1 christos switch(ndx) {
1989 1.1 christos case 0:
1990 1.1 christos p = "int";
1991 1.1 christos break;
1992 1.1 christos case 1:
1993 1.1 christos p = "netbsd32_voidp";
1994 1.1 christos break;
1995 1.1 christos case 2:
1996 1.1 christos p = "netbsd32_size_t";
1997 1.1 christos break;
1998 1.1 christos default:
1999 1.1 christos break;
2000 1.1 christos };
2001 1.1 christos break;
2002 1.1 christos /* linux32_sys_open */
2003 1.1 christos case 5:
2004 1.1 christos switch(ndx) {
2005 1.1 christos case 0:
2006 1.1 christos p = "netbsd32_charp";
2007 1.1 christos break;
2008 1.1 christos case 1:
2009 1.1 christos p = "int";
2010 1.1 christos break;
2011 1.1 christos case 2:
2012 1.1 christos p = "linux_umode_t";
2013 1.1 christos break;
2014 1.1 christos default:
2015 1.1 christos break;
2016 1.1 christos };
2017 1.1 christos break;
2018 1.1 christos /* netbsd32_close */
2019 1.1 christos case 6:
2020 1.1 christos switch(ndx) {
2021 1.1 christos case 0:
2022 1.1 christos p = "int";
2023 1.1 christos break;
2024 1.1 christos default:
2025 1.1 christos break;
2026 1.1 christos };
2027 1.1 christos break;
2028 1.1 christos /* linux32_sys_waitpid */
2029 1.1 christos case 7:
2030 1.1 christos switch(ndx) {
2031 1.1 christos case 0:
2032 1.1 christos p = "int";
2033 1.1 christos break;
2034 1.1 christos case 1:
2035 1.1 christos p = "netbsd32_intp";
2036 1.1 christos break;
2037 1.1 christos case 2:
2038 1.1 christos p = "int";
2039 1.1 christos break;
2040 1.1 christos default:
2041 1.1 christos break;
2042 1.1 christos };
2043 1.1 christos break;
2044 1.1 christos /* linux32_sys_creat */
2045 1.1 christos case 8:
2046 1.1 christos switch(ndx) {
2047 1.1 christos case 0:
2048 1.1 christos p = "netbsd32_charp";
2049 1.1 christos break;
2050 1.1 christos case 1:
2051 1.1 christos p = "linux_umode_t";
2052 1.1 christos break;
2053 1.1 christos default:
2054 1.1 christos break;
2055 1.1 christos };
2056 1.1 christos break;
2057 1.1 christos /* netbsd32_link */
2058 1.1 christos case 9:
2059 1.1 christos switch(ndx) {
2060 1.1 christos case 0:
2061 1.1 christos p = "netbsd32_charp";
2062 1.1 christos break;
2063 1.1 christos case 1:
2064 1.1 christos p = "netbsd32_charp";
2065 1.1 christos break;
2066 1.1 christos default:
2067 1.1 christos break;
2068 1.1 christos };
2069 1.1 christos break;
2070 1.1 christos /* linux32_sys_unlink */
2071 1.1 christos case 10:
2072 1.1 christos switch(ndx) {
2073 1.1 christos case 0:
2074 1.1 christos p = "netbsd32_charp";
2075 1.1 christos break;
2076 1.1 christos default:
2077 1.1 christos break;
2078 1.1 christos };
2079 1.1 christos break;
2080 1.1 christos /* netbsd32_execve */
2081 1.1 christos case 11:
2082 1.1 christos switch(ndx) {
2083 1.1 christos case 0:
2084 1.1 christos p = "netbsd32_charp";
2085 1.1 christos break;
2086 1.1 christos case 1:
2087 1.1 christos p = "netbsd32_charpp";
2088 1.1 christos break;
2089 1.1 christos case 2:
2090 1.1 christos p = "netbsd32_charpp";
2091 1.1 christos break;
2092 1.1 christos default:
2093 1.1 christos break;
2094 1.1 christos };
2095 1.1 christos break;
2096 1.1 christos /* netbsd32_chdir */
2097 1.1 christos case 12:
2098 1.1 christos switch(ndx) {
2099 1.1 christos case 0:
2100 1.1 christos p = "netbsd32_charp";
2101 1.1 christos break;
2102 1.1 christos default:
2103 1.1 christos break;
2104 1.1 christos };
2105 1.1 christos break;
2106 1.1 christos /* linux32_sys_time */
2107 1.1 christos case 13:
2108 1.1 christos switch(ndx) {
2109 1.1 christos case 0:
2110 1.1 christos p = "linux32_timep_t";
2111 1.1 christos break;
2112 1.1 christos default:
2113 1.1 christos break;
2114 1.1 christos };
2115 1.1 christos break;
2116 1.1 christos /* linux32_sys_mknod */
2117 1.1 christos case 14:
2118 1.1 christos switch(ndx) {
2119 1.1 christos case 0:
2120 1.1 christos p = "netbsd32_charp";
2121 1.1 christos break;
2122 1.1 christos case 1:
2123 1.1 christos p = "linux_umode_t";
2124 1.1 christos break;
2125 1.1 christos case 2:
2126 1.1 christos p = "unsigned";
2127 1.1 christos break;
2128 1.1 christos default:
2129 1.1 christos break;
2130 1.1 christos };
2131 1.1 christos break;
2132 1.1 christos /* netbsd32_chmod */
2133 1.1 christos case 15:
2134 1.1 christos switch(ndx) {
2135 1.1 christos case 0:
2136 1.1 christos p = "netbsd32_charp";
2137 1.1 christos break;
2138 1.1 christos case 1:
2139 1.1 christos p = "linux_umode_t";
2140 1.1 christos break;
2141 1.1 christos default:
2142 1.1 christos break;
2143 1.1 christos };
2144 1.1 christos break;
2145 1.1 christos /* linux32_sys_lchown16 */
2146 1.1 christos case 16:
2147 1.1 christos switch(ndx) {
2148 1.1 christos case 0:
2149 1.1 christos p = "netbsd32_charp";
2150 1.1 christos break;
2151 1.1 christos case 1:
2152 1.1 christos p = "linux32_uid16_t";
2153 1.1 christos break;
2154 1.1 christos case 2:
2155 1.1 christos p = "linux32_gid16_t";
2156 1.1 christos break;
2157 1.1 christos default:
2158 1.1 christos break;
2159 1.1 christos };
2160 1.1 christos break;
2161 1.1 christos /* linux32_sys_break */
2162 1.1 christos case 17:
2163 1.1 christos switch(ndx) {
2164 1.1 christos case 0:
2165 1.1 christos p = "netbsd32_charp";
2166 1.1 christos break;
2167 1.1 christos default:
2168 1.1 christos break;
2169 1.1 christos };
2170 1.1 christos break;
2171 1.1 christos /* compat_43_netbsd32_olseek */
2172 1.1 christos case 19:
2173 1.1 christos switch(ndx) {
2174 1.1 christos case 0:
2175 1.1 christos p = "int";
2176 1.1 christos break;
2177 1.1 christos case 1:
2178 1.1 christos p = "netbsd32_long";
2179 1.1 christos break;
2180 1.1 christos case 2:
2181 1.1 christos p = "int";
2182 1.1 christos break;
2183 1.1 christos default:
2184 1.1 christos break;
2185 1.1 christos };
2186 1.1 christos break;
2187 1.1 christos /* sys_getpid */
2188 1.1 christos case 20:
2189 1.1 christos break;
2190 1.1 christos /* netbsd32_setuid */
2191 1.1 christos case 23:
2192 1.1 christos switch(ndx) {
2193 1.1 christos case 0:
2194 1.1 christos p = "uid_t";
2195 1.1 christos break;
2196 1.1 christos default:
2197 1.1 christos break;
2198 1.1 christos };
2199 1.1 christos break;
2200 1.1 christos /* sys_getuid */
2201 1.1 christos case 24:
2202 1.1 christos break;
2203 1.1 christos /* linux32_sys_stime */
2204 1.1 christos case 25:
2205 1.1 christos switch(ndx) {
2206 1.1 christos case 0:
2207 1.1 christos p = "linux32_timep_t";
2208 1.1 christos break;
2209 1.1 christos default:
2210 1.1 christos break;
2211 1.1 christos };
2212 1.1 christos break;
2213 1.1 christos /* linux32_sys_ptrace */
2214 1.1 christos case 26:
2215 1.1 christos switch(ndx) {
2216 1.1 christos case 0:
2217 1.1 christos p = "int";
2218 1.1 christos break;
2219 1.1 christos case 1:
2220 1.1 christos p = "int";
2221 1.1 christos break;
2222 1.1 christos case 2:
2223 1.1 christos p = "int";
2224 1.1 christos break;
2225 1.1 christos case 3:
2226 1.1 christos p = "int";
2227 1.1 christos break;
2228 1.1 christos default:
2229 1.1 christos break;
2230 1.1 christos };
2231 1.1 christos break;
2232 1.1 christos /* linux32_sys_alarm */
2233 1.1 christos case 27:
2234 1.1 christos switch(ndx) {
2235 1.1 christos case 0:
2236 1.1 christos p = "unsigned int";
2237 1.1 christos break;
2238 1.1 christos default:
2239 1.1 christos break;
2240 1.1 christos };
2241 1.1 christos break;
2242 1.1 christos /* linux_sys_pause */
2243 1.1 christos case 29:
2244 1.1 christos break;
2245 1.1 christos /* linux32_sys_utime */
2246 1.1 christos case 30:
2247 1.1 christos switch(ndx) {
2248 1.1 christos case 0:
2249 1.1 christos p = "netbsd32_charp";
2250 1.1 christos break;
2251 1.1 christos case 1:
2252 1.1 christos p = "linux32_utimbufp_t";
2253 1.1 christos break;
2254 1.1 christos default:
2255 1.1 christos break;
2256 1.1 christos };
2257 1.1 christos break;
2258 1.1 christos /* netbsd32_access */
2259 1.1 christos case 33:
2260 1.1 christos switch(ndx) {
2261 1.1 christos case 0:
2262 1.1 christos p = "netbsd32_charp";
2263 1.1 christos break;
2264 1.1 christos case 1:
2265 1.1 christos p = "int";
2266 1.1 christos break;
2267 1.1 christos default:
2268 1.1 christos break;
2269 1.1 christos };
2270 1.1 christos break;
2271 1.1 christos /* linux32_sys_nice */
2272 1.1 christos case 34:
2273 1.1 christos switch(ndx) {
2274 1.1 christos case 0:
2275 1.1 christos p = "int";
2276 1.1 christos break;
2277 1.1 christos default:
2278 1.1 christos break;
2279 1.1 christos };
2280 1.1 christos break;
2281 1.1 christos /* sys_sync */
2282 1.1 christos case 36:
2283 1.1 christos break;
2284 1.1 christos /* linux32_sys_kill */
2285 1.1 christos case 37:
2286 1.1 christos switch(ndx) {
2287 1.1 christos case 0:
2288 1.1 christos p = "int";
2289 1.1 christos break;
2290 1.1 christos case 1:
2291 1.1 christos p = "int";
2292 1.1 christos break;
2293 1.1 christos default:
2294 1.1 christos break;
2295 1.1 christos };
2296 1.1 christos break;
2297 1.1 christos /* netbsd32___posix_rename */
2298 1.1 christos case 38:
2299 1.1 christos switch(ndx) {
2300 1.1 christos case 0:
2301 1.1 christos p = "netbsd32_charp";
2302 1.1 christos break;
2303 1.1 christos case 1:
2304 1.1 christos p = "netbsd32_charp";
2305 1.1 christos break;
2306 1.1 christos default:
2307 1.1 christos break;
2308 1.1 christos };
2309 1.1 christos break;
2310 1.1 christos /* netbsd32_mkdir */
2311 1.1 christos case 39:
2312 1.1 christos switch(ndx) {
2313 1.1 christos case 0:
2314 1.1 christos p = "netbsd32_charp";
2315 1.1 christos break;
2316 1.1 christos case 1:
2317 1.1 christos p = "linux_umode_t";
2318 1.1 christos break;
2319 1.1 christos default:
2320 1.1 christos break;
2321 1.1 christos };
2322 1.1 christos break;
2323 1.1 christos /* netbsd32_rmdir */
2324 1.1 christos case 40:
2325 1.1 christos switch(ndx) {
2326 1.1 christos case 0:
2327 1.1 christos p = "netbsd32_charp";
2328 1.1 christos break;
2329 1.1 christos default:
2330 1.1 christos break;
2331 1.1 christos };
2332 1.1 christos break;
2333 1.1 christos /* netbsd32_dup */
2334 1.1 christos case 41:
2335 1.1 christos switch(ndx) {
2336 1.1 christos case 0:
2337 1.1 christos p = "int";
2338 1.1 christos break;
2339 1.1 christos default:
2340 1.1 christos break;
2341 1.1 christos };
2342 1.1 christos break;
2343 1.1 christos /* linux32_sys_pipe */
2344 1.1 christos case 42:
2345 1.1 christos switch(ndx) {
2346 1.1 christos case 0:
2347 1.1 christos p = "netbsd32_intp";
2348 1.1 christos break;
2349 1.1 christos default:
2350 1.1 christos break;
2351 1.1 christos };
2352 1.1 christos break;
2353 1.1 christos /* linux32_sys_times */
2354 1.1 christos case 43:
2355 1.1 christos switch(ndx) {
2356 1.1 christos case 0:
2357 1.1 christos p = "linux32_tmsp_t";
2358 1.1 christos break;
2359 1.1 christos default:
2360 1.1 christos break;
2361 1.1 christos };
2362 1.1 christos break;
2363 1.1 christos /* linux32_sys_brk */
2364 1.1 christos case 45:
2365 1.1 christos switch(ndx) {
2366 1.1 christos case 0:
2367 1.1 christos p = "netbsd32_charp";
2368 1.1 christos break;
2369 1.1 christos default:
2370 1.1 christos break;
2371 1.1 christos };
2372 1.1 christos break;
2373 1.1 christos /* netbsd32_setgid */
2374 1.1 christos case 46:
2375 1.1 christos switch(ndx) {
2376 1.1 christos case 0:
2377 1.1 christos p = "gid_t";
2378 1.1 christos break;
2379 1.1 christos default:
2380 1.1 christos break;
2381 1.1 christos };
2382 1.1 christos break;
2383 1.1 christos /* sys_getgid */
2384 1.1 christos case 47:
2385 1.1 christos break;
2386 1.1 christos /* linux32_sys_signal */
2387 1.1 christos case 48:
2388 1.1 christos switch(ndx) {
2389 1.1 christos case 0:
2390 1.1 christos p = "int";
2391 1.1 christos break;
2392 1.1 christos case 1:
2393 1.2 christos p = "linux32_handlerp_t";
2394 1.1 christos break;
2395 1.1 christos default:
2396 1.1 christos break;
2397 1.1 christos };
2398 1.1 christos break;
2399 1.1 christos /* sys_geteuid */
2400 1.1 christos case 49:
2401 1.1 christos break;
2402 1.1 christos /* sys_getegid */
2403 1.1 christos case 50:
2404 1.1 christos break;
2405 1.1 christos /* netbsd32_acct */
2406 1.1 christos case 51:
2407 1.1 christos switch(ndx) {
2408 1.1 christos case 0:
2409 1.1 christos p = "netbsd32_charp";
2410 1.1 christos break;
2411 1.1 christos default:
2412 1.1 christos break;
2413 1.1 christos };
2414 1.1 christos break;
2415 1.1 christos /* linux32_sys_ioctl */
2416 1.1 christos case 54:
2417 1.1 christos switch(ndx) {
2418 1.1 christos case 0:
2419 1.1 christos p = "int";
2420 1.1 christos break;
2421 1.1 christos case 1:
2422 1.1 christos p = "netbsd32_u_long";
2423 1.1 christos break;
2424 1.1 christos case 2:
2425 1.1 christos p = "netbsd32_charp";
2426 1.1 christos break;
2427 1.1 christos default:
2428 1.1 christos break;
2429 1.1 christos };
2430 1.1 christos break;
2431 1.1 christos /* linux32_sys_fcntl */
2432 1.1 christos case 55:
2433 1.1 christos switch(ndx) {
2434 1.1 christos case 0:
2435 1.1 christos p = "int";
2436 1.1 christos break;
2437 1.1 christos case 1:
2438 1.1 christos p = "int";
2439 1.1 christos break;
2440 1.1 christos case 2:
2441 1.1 christos p = "netbsd32_voidp";
2442 1.1 christos break;
2443 1.1 christos default:
2444 1.1 christos break;
2445 1.1 christos };
2446 1.1 christos break;
2447 1.1 christos /* netbsd32_setpgid */
2448 1.1 christos case 57:
2449 1.1 christos switch(ndx) {
2450 1.1 christos case 0:
2451 1.1 christos p = "int";
2452 1.1 christos break;
2453 1.1 christos case 1:
2454 1.1 christos p = "int";
2455 1.1 christos break;
2456 1.1 christos default:
2457 1.1 christos break;
2458 1.1 christos };
2459 1.1 christos break;
2460 1.1 christos /* linux32_sys_oldolduname */
2461 1.1 christos case 59:
2462 1.1 christos switch(ndx) {
2463 1.1 christos case 0:
2464 1.1 christos p = "linux32_oldold_utsnamep_t";
2465 1.1 christos break;
2466 1.1 christos default:
2467 1.1 christos break;
2468 1.1 christos };
2469 1.1 christos break;
2470 1.1 christos /* netbsd32_umask */
2471 1.1 christos case 60:
2472 1.1 christos switch(ndx) {
2473 1.1 christos case 0:
2474 1.1 christos p = "int";
2475 1.1 christos break;
2476 1.1 christos default:
2477 1.1 christos break;
2478 1.1 christos };
2479 1.1 christos break;
2480 1.1 christos /* netbsd32_chroot */
2481 1.1 christos case 61:
2482 1.1 christos switch(ndx) {
2483 1.1 christos case 0:
2484 1.1 christos p = "netbsd32_charp";
2485 1.1 christos break;
2486 1.1 christos default:
2487 1.1 christos break;
2488 1.1 christos };
2489 1.1 christos break;
2490 1.1 christos /* netbsd32_dup2 */
2491 1.1 christos case 63:
2492 1.1 christos switch(ndx) {
2493 1.1 christos case 0:
2494 1.1 christos p = "int";
2495 1.1 christos break;
2496 1.1 christos case 1:
2497 1.1 christos p = "int";
2498 1.1 christos break;
2499 1.1 christos default:
2500 1.1 christos break;
2501 1.1 christos };
2502 1.1 christos break;
2503 1.1 christos /* sys_getppid */
2504 1.1 christos case 64:
2505 1.1 christos break;
2506 1.1 christos /* sys_getpgrp */
2507 1.1 christos case 65:
2508 1.1 christos break;
2509 1.1 christos /* sys_setsid */
2510 1.1 christos case 66:
2511 1.1 christos break;
2512 1.1 christos /* linux32_sys_siggetmask */
2513 1.1 christos case 68:
2514 1.1 christos break;
2515 1.1 christos /* linux32_sys_sigsetmask */
2516 1.1 christos case 69:
2517 1.1 christos switch(ndx) {
2518 1.1 christos case 0:
2519 1.1 christos p = "linux32_old_sigset_t";
2520 1.1 christos break;
2521 1.1 christos default:
2522 1.1 christos break;
2523 1.1 christos };
2524 1.1 christos break;
2525 1.1 christos /* linux32_sys_setreuid16 */
2526 1.1 christos case 70:
2527 1.1 christos switch(ndx) {
2528 1.1 christos case 0:
2529 1.1 christos p = "linux32_uid16_t";
2530 1.1 christos break;
2531 1.1 christos case 1:
2532 1.1 christos p = "linux32_uid16_t";
2533 1.1 christos break;
2534 1.1 christos default:
2535 1.1 christos break;
2536 1.1 christos };
2537 1.1 christos break;
2538 1.1 christos /* linux32_sys_setregid16 */
2539 1.1 christos case 71:
2540 1.1 christos switch(ndx) {
2541 1.1 christos case 0:
2542 1.1 christos p = "linux32_gid16_t";
2543 1.1 christos break;
2544 1.1 christos case 1:
2545 1.1 christos p = "linux32_gid16_t";
2546 1.1 christos break;
2547 1.1 christos default:
2548 1.1 christos break;
2549 1.1 christos };
2550 1.1 christos break;
2551 1.1 christos /* compat_43_netbsd32_osethostname */
2552 1.1 christos case 74:
2553 1.1 christos switch(ndx) {
2554 1.1 christos case 0:
2555 1.1 christos p = "netbsd32_charp";
2556 1.1 christos break;
2557 1.1 christos case 1:
2558 1.1 christos p = "u_int";
2559 1.1 christos break;
2560 1.1 christos default:
2561 1.1 christos break;
2562 1.1 christos };
2563 1.1 christos break;
2564 1.1 christos /* linux32_sys_setrlimit */
2565 1.1 christos case 75:
2566 1.1 christos switch(ndx) {
2567 1.1 christos case 0:
2568 1.1 christos p = "u_int";
2569 1.1 christos break;
2570 1.1 christos case 1:
2571 1.1 christos p = "netbsd32_orlimitp_t";
2572 1.1 christos break;
2573 1.1 christos default:
2574 1.1 christos break;
2575 1.1 christos };
2576 1.1 christos break;
2577 1.1 christos /* linux32_sys_getrlimit */
2578 1.1 christos case 76:
2579 1.1 christos switch(ndx) {
2580 1.1 christos case 0:
2581 1.1 christos p = "u_int";
2582 1.1 christos break;
2583 1.1 christos case 1:
2584 1.1 christos p = "netbsd32_orlimitp_t";
2585 1.1 christos break;
2586 1.1 christos default:
2587 1.1 christos break;
2588 1.1 christos };
2589 1.1 christos break;
2590 1.1 christos /* compat_50_netbsd32_getrusage */
2591 1.1 christos case 77:
2592 1.1 christos switch(ndx) {
2593 1.1 christos case 0:
2594 1.1 christos p = "int";
2595 1.1 christos break;
2596 1.1 christos case 1:
2597 1.1 christos p = "netbsd32_rusage50p_t";
2598 1.1 christos break;
2599 1.1 christos default:
2600 1.1 christos break;
2601 1.1 christos };
2602 1.1 christos break;
2603 1.1 christos /* linux32_sys_gettimeofday */
2604 1.1 christos case 78:
2605 1.1 christos switch(ndx) {
2606 1.1 christos case 0:
2607 1.1 christos p = "netbsd32_timeval50p_t";
2608 1.1 christos break;
2609 1.1 christos case 1:
2610 1.1 christos p = "netbsd32_timezonep_t";
2611 1.1 christos break;
2612 1.1 christos default:
2613 1.1 christos break;
2614 1.1 christos };
2615 1.1 christos break;
2616 1.1 christos /* linux32_sys_settimeofday */
2617 1.1 christos case 79:
2618 1.1 christos switch(ndx) {
2619 1.1 christos case 0:
2620 1.1 christos p = "netbsd32_timeval50p_t";
2621 1.1 christos break;
2622 1.1 christos case 1:
2623 1.1 christos p = "netbsd32_timezonep_t";
2624 1.1 christos break;
2625 1.1 christos default:
2626 1.1 christos break;
2627 1.1 christos };
2628 1.1 christos break;
2629 1.1 christos /* linux32_sys_getgroups16 */
2630 1.1 christos case 80:
2631 1.1 christos switch(ndx) {
2632 1.1 christos case 0:
2633 1.1 christos p = "int";
2634 1.1 christos break;
2635 1.1 christos case 1:
2636 1.1 christos p = "linux32_gid16p_t";
2637 1.1 christos break;
2638 1.1 christos default:
2639 1.1 christos break;
2640 1.1 christos };
2641 1.1 christos break;
2642 1.1 christos /* linux32_sys_setgroups16 */
2643 1.1 christos case 81:
2644 1.1 christos switch(ndx) {
2645 1.1 christos case 0:
2646 1.1 christos p = "int";
2647 1.1 christos break;
2648 1.1 christos case 1:
2649 1.1 christos p = "linux32_gid16p_t";
2650 1.1 christos break;
2651 1.1 christos default:
2652 1.1 christos break;
2653 1.1 christos };
2654 1.1 christos break;
2655 1.1 christos /* linux32_sys_oldselect */
2656 1.1 christos case 82:
2657 1.1 christos switch(ndx) {
2658 1.1 christos case 0:
2659 1.1 christos p = "linux32_oldselectp_t";
2660 1.1 christos break;
2661 1.1 christos default:
2662 1.1 christos break;
2663 1.1 christos };
2664 1.1 christos break;
2665 1.1 christos /* netbsd32_symlink */
2666 1.1 christos case 83:
2667 1.1 christos switch(ndx) {
2668 1.1 christos case 0:
2669 1.1 christos p = "netbsd32_charp";
2670 1.1 christos break;
2671 1.1 christos case 1:
2672 1.1 christos p = "netbsd32_charp";
2673 1.1 christos break;
2674 1.1 christos default:
2675 1.1 christos break;
2676 1.1 christos };
2677 1.1 christos break;
2678 1.1 christos /* compat_43_netbsd32_lstat43 */
2679 1.1 christos case 84:
2680 1.1 christos switch(ndx) {
2681 1.1 christos case 0:
2682 1.1 christos p = "netbsd32_charp";
2683 1.1 christos break;
2684 1.1 christos case 1:
2685 1.1 christos p = "netbsd32_stat43p_t";
2686 1.1 christos break;
2687 1.1 christos default:
2688 1.1 christos break;
2689 1.1 christos };
2690 1.1 christos break;
2691 1.1 christos /* netbsd32_readlink */
2692 1.1 christos case 85:
2693 1.1 christos switch(ndx) {
2694 1.1 christos case 0:
2695 1.1 christos p = "netbsd32_charp";
2696 1.1 christos break;
2697 1.1 christos case 1:
2698 1.1 christos p = "netbsd32_charp";
2699 1.1 christos break;
2700 1.1 christos case 2:
2701 1.1 christos p = "netbsd32_size_t";
2702 1.1 christos break;
2703 1.1 christos default:
2704 1.1 christos break;
2705 1.1 christos };
2706 1.1 christos break;
2707 1.1 christos /* linux32_sys_swapon */
2708 1.1 christos case 87:
2709 1.1 christos switch(ndx) {
2710 1.1 christos case 0:
2711 1.1 christos p = "netbsd32_charp";
2712 1.1 christos break;
2713 1.1 christos default:
2714 1.1 christos break;
2715 1.1 christos };
2716 1.1 christos break;
2717 1.1 christos /* linux32_sys_reboot */
2718 1.1 christos case 88:
2719 1.1 christos switch(ndx) {
2720 1.1 christos case 0:
2721 1.1 christos p = "int";
2722 1.1 christos break;
2723 1.1 christos case 1:
2724 1.1 christos p = "int";
2725 1.1 christos break;
2726 1.1 christos case 2:
2727 1.1 christos p = "int";
2728 1.1 christos break;
2729 1.1 christos case 3:
2730 1.1 christos p = "netbsd32_voidp";
2731 1.1 christos break;
2732 1.1 christos default:
2733 1.1 christos break;
2734 1.1 christos };
2735 1.1 christos break;
2736 1.1 christos /* linux32_sys_readdir */
2737 1.1 christos case 89:
2738 1.1 christos switch(ndx) {
2739 1.1 christos case 0:
2740 1.1 christos p = "int";
2741 1.1 christos break;
2742 1.1 christos case 1:
2743 1.1 christos p = "netbsd32_voidp";
2744 1.1 christos break;
2745 1.1 christos case 2:
2746 1.1 christos p = "unsigned int";
2747 1.1 christos break;
2748 1.1 christos default:
2749 1.1 christos break;
2750 1.1 christos };
2751 1.1 christos break;
2752 1.1 christos /* linux32_sys_old_mmap */
2753 1.1 christos case 90:
2754 1.1 christos switch(ndx) {
2755 1.1 christos case 0:
2756 1.1 christos p = "linux32_oldmmapp";
2757 1.1 christos break;
2758 1.1 christos default:
2759 1.1 christos break;
2760 1.1 christos };
2761 1.1 christos break;
2762 1.1 christos /* netbsd32_munmap */
2763 1.1 christos case 91:
2764 1.1 christos switch(ndx) {
2765 1.1 christos case 0:
2766 1.1 christos p = "netbsd32_voidp";
2767 1.1 christos break;
2768 1.1 christos case 1:
2769 1.1 christos p = "netbsd32_size_t";
2770 1.1 christos break;
2771 1.1 christos default:
2772 1.1 christos break;
2773 1.1 christos };
2774 1.1 christos break;
2775 1.1 christos /* compat_43_netbsd32_otruncate */
2776 1.1 christos case 92:
2777 1.1 christos switch(ndx) {
2778 1.1 christos case 0:
2779 1.1 christos p = "netbsd32_charp";
2780 1.1 christos break;
2781 1.1 christos case 1:
2782 1.1 christos p = "netbsd32_long";
2783 1.1 christos break;
2784 1.1 christos default:
2785 1.1 christos break;
2786 1.1 christos };
2787 1.1 christos break;
2788 1.1 christos /* compat_43_netbsd32_oftruncate */
2789 1.1 christos case 93:
2790 1.1 christos switch(ndx) {
2791 1.1 christos case 0:
2792 1.1 christos p = "int";
2793 1.1 christos break;
2794 1.1 christos case 1:
2795 1.1 christos p = "netbsd32_long";
2796 1.1 christos break;
2797 1.1 christos default:
2798 1.1 christos break;
2799 1.1 christos };
2800 1.1 christos break;
2801 1.1 christos /* netbsd32_fchmod */
2802 1.1 christos case 94:
2803 1.1 christos switch(ndx) {
2804 1.1 christos case 0:
2805 1.1 christos p = "int";
2806 1.1 christos break;
2807 1.1 christos case 1:
2808 1.1 christos p = "linux_umode_t";
2809 1.1 christos break;
2810 1.1 christos default:
2811 1.1 christos break;
2812 1.1 christos };
2813 1.1 christos break;
2814 1.1 christos /* linux32_sys_fchown16 */
2815 1.1 christos case 95:
2816 1.1 christos switch(ndx) {
2817 1.1 christos case 0:
2818 1.1 christos p = "int";
2819 1.1 christos break;
2820 1.1 christos case 1:
2821 1.1 christos p = "linux32_uid16_t";
2822 1.1 christos break;
2823 1.1 christos case 2:
2824 1.1 christos p = "linux32_gid16_t";
2825 1.1 christos break;
2826 1.1 christos default:
2827 1.1 christos break;
2828 1.1 christos };
2829 1.1 christos break;
2830 1.1 christos /* linux32_sys_getpriority */
2831 1.1 christos case 96:
2832 1.1 christos switch(ndx) {
2833 1.1 christos case 0:
2834 1.1 christos p = "int";
2835 1.1 christos break;
2836 1.1 christos case 1:
2837 1.1 christos p = "int";
2838 1.1 christos break;
2839 1.1 christos default:
2840 1.1 christos break;
2841 1.1 christos };
2842 1.1 christos break;
2843 1.1 christos /* netbsd32_setpriority */
2844 1.1 christos case 97:
2845 1.1 christos switch(ndx) {
2846 1.1 christos case 0:
2847 1.1 christos p = "int";
2848 1.1 christos break;
2849 1.1 christos case 1:
2850 1.1 christos p = "int";
2851 1.1 christos break;
2852 1.1 christos case 2:
2853 1.1 christos p = "int";
2854 1.1 christos break;
2855 1.1 christos default:
2856 1.1 christos break;
2857 1.1 christos };
2858 1.1 christos break;
2859 1.1 christos /* netbsd32_profil */
2860 1.1 christos case 98:
2861 1.1 christos switch(ndx) {
2862 1.1 christos case 0:
2863 1.1 christos p = "netbsd32_voidp";
2864 1.1 christos break;
2865 1.1 christos case 1:
2866 1.1 christos p = "netbsd32_size_t";
2867 1.1 christos break;
2868 1.1 christos case 2:
2869 1.1 christos p = "netbsd32_u_long";
2870 1.1 christos break;
2871 1.1 christos case 3:
2872 1.1 christos p = "u_int";
2873 1.1 christos break;
2874 1.1 christos default:
2875 1.1 christos break;
2876 1.1 christos };
2877 1.1 christos break;
2878 1.1 christos /* linux32_sys_statfs */
2879 1.1 christos case 99:
2880 1.1 christos switch(ndx) {
2881 1.1 christos case 0:
2882 1.1 christos p = "netbsd32_charp";
2883 1.1 christos break;
2884 1.1 christos case 1:
2885 1.1 christos p = "linux32_statfsp";
2886 1.1 christos break;
2887 1.1 christos default:
2888 1.1 christos break;
2889 1.1 christos };
2890 1.1 christos break;
2891 1.1 christos /* linux32_sys_fstatfs */
2892 1.1 christos case 100:
2893 1.1 christos switch(ndx) {
2894 1.1 christos case 0:
2895 1.1 christos p = "int";
2896 1.1 christos break;
2897 1.1 christos case 1:
2898 1.1 christos p = "linux32_statfsp";
2899 1.1 christos break;
2900 1.1 christos default:
2901 1.1 christos break;
2902 1.1 christos };
2903 1.1 christos break;
2904 1.1 christos /* linux_sys_ioperm */
2905 1.1 christos case 101:
2906 1.1 christos switch(ndx) {
2907 1.1 christos case 0:
2908 1.1 christos p = "unsigned int";
2909 1.1 christos break;
2910 1.1 christos case 1:
2911 1.1 christos p = "unsigned int";
2912 1.1 christos break;
2913 1.1 christos case 2:
2914 1.1 christos p = "int";
2915 1.1 christos break;
2916 1.1 christos default:
2917 1.1 christos break;
2918 1.1 christos };
2919 1.1 christos break;
2920 1.1 christos /* linux32_sys_socketcall */
2921 1.1 christos case 102:
2922 1.1 christos switch(ndx) {
2923 1.1 christos case 0:
2924 1.1 christos p = "int";
2925 1.1 christos break;
2926 1.1 christos case 1:
2927 1.1 christos p = "netbsd32_voidp";
2928 1.1 christos break;
2929 1.1 christos default:
2930 1.1 christos break;
2931 1.1 christos };
2932 1.1 christos break;
2933 1.1 christos /* compat_50_netbsd32_setitimer */
2934 1.1 christos case 104:
2935 1.1 christos switch(ndx) {
2936 1.1 christos case 0:
2937 1.1 christos p = "int";
2938 1.1 christos break;
2939 1.1 christos case 1:
2940 1.1 christos p = "netbsd32_itimerval50p_t";
2941 1.1 christos break;
2942 1.1 christos case 2:
2943 1.1 christos p = "netbsd32_itimerval50p_t";
2944 1.1 christos break;
2945 1.1 christos default:
2946 1.1 christos break;
2947 1.1 christos };
2948 1.1 christos break;
2949 1.1 christos /* compat_50_netbsd32_getitimer */
2950 1.1 christos case 105:
2951 1.1 christos switch(ndx) {
2952 1.1 christos case 0:
2953 1.1 christos p = "int";
2954 1.1 christos break;
2955 1.1 christos case 1:
2956 1.1 christos p = "netbsd32_itimerval50p_t";
2957 1.1 christos break;
2958 1.1 christos default:
2959 1.1 christos break;
2960 1.1 christos };
2961 1.1 christos break;
2962 1.1 christos /* linux32_sys_stat */
2963 1.1 christos case 106:
2964 1.1 christos switch(ndx) {
2965 1.1 christos case 0:
2966 1.1 christos p = "netbsd32_charp";
2967 1.1 christos break;
2968 1.1 christos case 1:
2969 1.1 christos p = "linux32_statp";
2970 1.1 christos break;
2971 1.1 christos default:
2972 1.1 christos break;
2973 1.1 christos };
2974 1.1 christos break;
2975 1.1 christos /* linux32_sys_lstat */
2976 1.1 christos case 107:
2977 1.1 christos switch(ndx) {
2978 1.1 christos case 0:
2979 1.1 christos p = "netbsd32_charp";
2980 1.1 christos break;
2981 1.1 christos case 1:
2982 1.1 christos p = "linux32_statp";
2983 1.1 christos break;
2984 1.1 christos default:
2985 1.1 christos break;
2986 1.1 christos };
2987 1.1 christos break;
2988 1.1 christos /* linux32_sys_fstat */
2989 1.1 christos case 108:
2990 1.1 christos switch(ndx) {
2991 1.1 christos case 0:
2992 1.1 christos p = "int";
2993 1.1 christos break;
2994 1.1 christos case 1:
2995 1.1 christos p = "linux32_statp";
2996 1.1 christos break;
2997 1.1 christos default:
2998 1.1 christos break;
2999 1.1 christos };
3000 1.1 christos break;
3001 1.1 christos /* linux32_sys_olduname */
3002 1.1 christos case 109:
3003 1.1 christos switch(ndx) {
3004 1.1 christos case 0:
3005 1.1 christos p = "linux32_oldutsnamep_t";
3006 1.1 christos break;
3007 1.1 christos default:
3008 1.1 christos break;
3009 1.1 christos };
3010 1.1 christos break;
3011 1.1 christos /* linux_sys_iopl */
3012 1.1 christos case 110:
3013 1.1 christos switch(ndx) {
3014 1.1 christos case 0:
3015 1.1 christos p = "int";
3016 1.1 christos break;
3017 1.1 christos default:
3018 1.1 christos break;
3019 1.1 christos };
3020 1.1 christos break;
3021 1.1 christos /* linux32_sys_wait4 */
3022 1.1 christos case 114:
3023 1.1 christos switch(ndx) {
3024 1.1 christos case 0:
3025 1.1 christos p = "int";
3026 1.1 christos break;
3027 1.1 christos case 1:
3028 1.1 christos p = "netbsd32_intp";
3029 1.1 christos break;
3030 1.1 christos case 2:
3031 1.1 christos p = "int";
3032 1.1 christos break;
3033 1.1 christos case 3:
3034 1.1 christos p = "netbsd32_rusage50p_t";
3035 1.1 christos break;
3036 1.1 christos default:
3037 1.1 christos break;
3038 1.1 christos };
3039 1.1 christos break;
3040 1.1 christos /* linux32_sys_swapoff */
3041 1.1 christos case 115:
3042 1.1 christos switch(ndx) {
3043 1.1 christos case 0:
3044 1.1 christos p = "netbsd32_charp";
3045 1.1 christos break;
3046 1.1 christos default:
3047 1.1 christos break;
3048 1.1 christos };
3049 1.1 christos break;
3050 1.1 christos /* linux32_sys_sysinfo */
3051 1.1 christos case 116:
3052 1.1 christos switch(ndx) {
3053 1.1 christos case 0:
3054 1.1 christos p = "linux32_sysinfop_t";
3055 1.1 christos break;
3056 1.1 christos default:
3057 1.1 christos break;
3058 1.1 christos };
3059 1.1 christos break;
3060 1.1 christos /* linux32_sys_ipc */
3061 1.1 christos case 117:
3062 1.1 christos switch(ndx) {
3063 1.1 christos case 0:
3064 1.1 christos p = "int";
3065 1.1 christos break;
3066 1.1 christos case 1:
3067 1.1 christos p = "int";
3068 1.1 christos break;
3069 1.1 christos case 2:
3070 1.1 christos p = "int";
3071 1.1 christos break;
3072 1.1 christos case 3:
3073 1.1 christos p = "int";
3074 1.1 christos break;
3075 1.1 christos case 4:
3076 1.1 christos p = "netbsd32_voidp";
3077 1.1 christos break;
3078 1.1 christos default:
3079 1.1 christos break;
3080 1.1 christos };
3081 1.1 christos break;
3082 1.1 christos /* netbsd32_fsync */
3083 1.1 christos case 118:
3084 1.1 christos switch(ndx) {
3085 1.1 christos case 0:
3086 1.1 christos p = "int";
3087 1.1 christos break;
3088 1.1 christos default:
3089 1.1 christos break;
3090 1.1 christos };
3091 1.1 christos break;
3092 1.1 christos /* linux32_sys_sigreturn */
3093 1.1 christos case 119:
3094 1.1 christos switch(ndx) {
3095 1.1 christos case 0:
3096 1.1 christos p = "linux32_sigcontextp_t";
3097 1.1 christos break;
3098 1.1 christos default:
3099 1.1 christos break;
3100 1.1 christos };
3101 1.1 christos break;
3102 1.1 christos /* linux32_sys_clone */
3103 1.1 christos case 120:
3104 1.1 christos switch(ndx) {
3105 1.1 christos case 0:
3106 1.1 christos p = "int";
3107 1.1 christos break;
3108 1.1 christos case 1:
3109 1.1 christos p = "netbsd32_voidp";
3110 1.1 christos break;
3111 1.1 christos case 2:
3112 1.1 christos p = "netbsd32_voidp";
3113 1.1 christos break;
3114 1.1 christos case 3:
3115 1.1 christos p = "netbsd32_voidp";
3116 1.1 christos break;
3117 1.1 christos case 4:
3118 1.1 christos p = "netbsd32_voidp";
3119 1.1 christos break;
3120 1.1 christos default:
3121 1.1 christos break;
3122 1.1 christos };
3123 1.1 christos break;
3124 1.1 christos /* linux32_sys_setdomainname */
3125 1.1 christos case 121:
3126 1.1 christos switch(ndx) {
3127 1.1 christos case 0:
3128 1.1 christos p = "netbsd32_charp";
3129 1.1 christos break;
3130 1.1 christos case 1:
3131 1.1 christos p = "int";
3132 1.1 christos break;
3133 1.1 christos default:
3134 1.1 christos break;
3135 1.1 christos };
3136 1.1 christos break;
3137 1.1 christos /* linux32_sys_uname */
3138 1.1 christos case 122:
3139 1.1 christos switch(ndx) {
3140 1.1 christos case 0:
3141 1.1 christos p = "linux32_utsnamep";
3142 1.1 christos break;
3143 1.1 christos default:
3144 1.1 christos break;
3145 1.1 christos };
3146 1.1 christos break;
3147 1.1 christos /* linux32_sys_modify_ldt */
3148 1.1 christos case 123:
3149 1.1 christos switch(ndx) {
3150 1.1 christos case 0:
3151 1.1 christos p = "int";
3152 1.1 christos break;
3153 1.1 christos case 1:
3154 1.1 christos p = "netbsd32_charp";
3155 1.1 christos break;
3156 1.1 christos case 2:
3157 1.1 christos p = "netbsd32_size_t";
3158 1.1 christos break;
3159 1.1 christos default:
3160 1.1 christos break;
3161 1.1 christos };
3162 1.1 christos break;
3163 1.1 christos /* linux32_sys_mprotect */
3164 1.1 christos case 125:
3165 1.1 christos switch(ndx) {
3166 1.1 christos case 0:
3167 1.1 christos p = "netbsd32_voidp";
3168 1.1 christos break;
3169 1.1 christos case 1:
3170 1.1 christos p = "netbsd32_size_t";
3171 1.1 christos break;
3172 1.1 christos case 2:
3173 1.1 christos p = "int";
3174 1.1 christos break;
3175 1.1 christos default:
3176 1.1 christos break;
3177 1.1 christos };
3178 1.1 christos break;
3179 1.1 christos /* netbsd32_getpgid */
3180 1.1 christos case 132:
3181 1.1 christos switch(ndx) {
3182 1.1 christos case 0:
3183 1.1 christos p = "pid_t";
3184 1.1 christos break;
3185 1.1 christos default:
3186 1.1 christos break;
3187 1.1 christos };
3188 1.1 christos break;
3189 1.1 christos /* netbsd32_fchdir */
3190 1.1 christos case 133:
3191 1.1 christos switch(ndx) {
3192 1.1 christos case 0:
3193 1.1 christos p = "int";
3194 1.1 christos break;
3195 1.1 christos default:
3196 1.1 christos break;
3197 1.1 christos };
3198 1.1 christos break;
3199 1.1 christos /* linux32_sys_personality */
3200 1.1 christos case 136:
3201 1.1 christos switch(ndx) {
3202 1.1 christos case 0:
3203 1.1 christos p = "netbsd32_u_long";
3204 1.1 christos break;
3205 1.1 christos default:
3206 1.1 christos break;
3207 1.1 christos };
3208 1.1 christos break;
3209 1.1 christos /* linux32_sys_setfsuid */
3210 1.1 christos case 138:
3211 1.1 christos switch(ndx) {
3212 1.1 christos case 0:
3213 1.1 christos p = "uid_t";
3214 1.1 christos break;
3215 1.1 christos default:
3216 1.1 christos break;
3217 1.1 christos };
3218 1.1 christos break;
3219 1.1 christos /* linux32_sys_setfsgid */
3220 1.1 christos case 139:
3221 1.1 christos switch(ndx) {
3222 1.1 christos case 0:
3223 1.1 christos p = "gid_t";
3224 1.1 christos break;
3225 1.1 christos default:
3226 1.1 christos break;
3227 1.1 christos };
3228 1.1 christos break;
3229 1.1 christos /* linux32_sys_llseek */
3230 1.1 christos case 140:
3231 1.1 christos switch(ndx) {
3232 1.1 christos case 0:
3233 1.1 christos p = "int";
3234 1.1 christos break;
3235 1.1 christos case 1:
3236 1.1 christos p = "u_int32_t";
3237 1.1 christos break;
3238 1.1 christos case 2:
3239 1.1 christos p = "u_int32_t";
3240 1.1 christos break;
3241 1.1 christos case 3:
3242 1.1 christos p = "netbsd32_voidp";
3243 1.1 christos break;
3244 1.1 christos case 4:
3245 1.1 christos p = "int";
3246 1.1 christos break;
3247 1.1 christos default:
3248 1.1 christos break;
3249 1.1 christos };
3250 1.1 christos break;
3251 1.1 christos /* linux32_sys_getdents */
3252 1.1 christos case 141:
3253 1.1 christos switch(ndx) {
3254 1.1 christos case 0:
3255 1.1 christos p = "int";
3256 1.1 christos break;
3257 1.1 christos case 1:
3258 1.1 christos p = "linux32_direntp_t";
3259 1.1 christos break;
3260 1.1 christos case 2:
3261 1.1 christos p = "unsigned int";
3262 1.1 christos break;
3263 1.1 christos default:
3264 1.1 christos break;
3265 1.1 christos };
3266 1.1 christos break;
3267 1.1 christos /* linux32_sys_select */
3268 1.1 christos case 142:
3269 1.1 christos switch(ndx) {
3270 1.1 christos case 0:
3271 1.1 christos p = "int";
3272 1.1 christos break;
3273 1.1 christos case 1:
3274 1.1 christos p = "netbsd32_fd_setp_t";
3275 1.1 christos break;
3276 1.1 christos case 2:
3277 1.1 christos p = "netbsd32_fd_setp_t";
3278 1.1 christos break;
3279 1.1 christos case 3:
3280 1.1 christos p = "netbsd32_fd_setp_t";
3281 1.1 christos break;
3282 1.1 christos case 4:
3283 1.1 christos p = "netbsd32_timeval50p_t";
3284 1.1 christos break;
3285 1.1 christos default:
3286 1.1 christos break;
3287 1.1 christos };
3288 1.1 christos break;
3289 1.1 christos /* netbsd32_flock */
3290 1.1 christos case 143:
3291 1.1 christos switch(ndx) {
3292 1.1 christos case 0:
3293 1.1 christos p = "int";
3294 1.1 christos break;
3295 1.1 christos case 1:
3296 1.1 christos p = "int";
3297 1.1 christos break;
3298 1.1 christos default:
3299 1.1 christos break;
3300 1.1 christos };
3301 1.1 christos break;
3302 1.1 christos /* netbsd32___msync13 */
3303 1.1 christos case 144:
3304 1.1 christos switch(ndx) {
3305 1.1 christos case 0:
3306 1.1 christos p = "netbsd32_voidp";
3307 1.1 christos break;
3308 1.1 christos case 1:
3309 1.1 christos p = "netbsd32_size_t";
3310 1.1 christos break;
3311 1.1 christos case 2:
3312 1.1 christos p = "int";
3313 1.1 christos break;
3314 1.1 christos default:
3315 1.1 christos break;
3316 1.1 christos };
3317 1.1 christos break;
3318 1.1 christos /* netbsd32_readv */
3319 1.1 christos case 145:
3320 1.1 christos switch(ndx) {
3321 1.1 christos case 0:
3322 1.1 christos p = "int";
3323 1.1 christos break;
3324 1.1 christos case 1:
3325 1.1 christos p = "netbsd32_iovecp_t";
3326 1.1 christos break;
3327 1.1 christos case 2:
3328 1.1 christos p = "int";
3329 1.1 christos break;
3330 1.1 christos default:
3331 1.1 christos break;
3332 1.1 christos };
3333 1.1 christos break;
3334 1.1 christos /* netbsd32_writev */
3335 1.1 christos case 146:
3336 1.1 christos switch(ndx) {
3337 1.1 christos case 0:
3338 1.1 christos p = "int";
3339 1.1 christos break;
3340 1.1 christos case 1:
3341 1.1 christos p = "netbsd32_iovecp_t";
3342 1.1 christos break;
3343 1.1 christos case 2:
3344 1.1 christos p = "int";
3345 1.1 christos break;
3346 1.1 christos default:
3347 1.1 christos break;
3348 1.1 christos };
3349 1.1 christos break;
3350 1.1 christos /* netbsd32_getsid */
3351 1.1 christos case 147:
3352 1.1 christos switch(ndx) {
3353 1.1 christos case 0:
3354 1.1 christos p = "pid_t";
3355 1.1 christos break;
3356 1.1 christos default:
3357 1.1 christos break;
3358 1.1 christos };
3359 1.1 christos break;
3360 1.1 christos /* linux32_sys_fdatasync */
3361 1.1 christos case 148:
3362 1.1 christos switch(ndx) {
3363 1.1 christos case 0:
3364 1.1 christos p = "int";
3365 1.1 christos break;
3366 1.1 christos default:
3367 1.1 christos break;
3368 1.1 christos };
3369 1.1 christos break;
3370 1.1 christos /* linux32_sys___sysctl */
3371 1.1 christos case 149:
3372 1.1 christos switch(ndx) {
3373 1.1 christos case 0:
3374 1.1 christos p = "linux32___sysctlp_t";
3375 1.1 christos break;
3376 1.1 christos default:
3377 1.1 christos break;
3378 1.1 christos };
3379 1.1 christos break;
3380 1.1 christos /* netbsd32_mlock */
3381 1.1 christos case 150:
3382 1.1 christos switch(ndx) {
3383 1.1 christos case 0:
3384 1.1 christos p = "netbsd32_voidp";
3385 1.1 christos break;
3386 1.1 christos case 1:
3387 1.1 christos p = "netbsd32_size_t";
3388 1.1 christos break;
3389 1.1 christos default:
3390 1.1 christos break;
3391 1.1 christos };
3392 1.1 christos break;
3393 1.1 christos /* netbsd32_munlock */
3394 1.1 christos case 151:
3395 1.1 christos switch(ndx) {
3396 1.1 christos case 0:
3397 1.1 christos p = "netbsd32_voidp";
3398 1.1 christos break;
3399 1.1 christos case 1:
3400 1.1 christos p = "netbsd32_size_t";
3401 1.1 christos break;
3402 1.1 christos default:
3403 1.1 christos break;
3404 1.1 christos };
3405 1.1 christos break;
3406 1.1 christos /* netbsd32_mlockall */
3407 1.1 christos case 152:
3408 1.1 christos switch(ndx) {
3409 1.1 christos case 0:
3410 1.1 christos p = "int";
3411 1.1 christos break;
3412 1.1 christos default:
3413 1.1 christos break;
3414 1.1 christos };
3415 1.1 christos break;
3416 1.1 christos /* sys_munlockall */
3417 1.1 christos case 153:
3418 1.1 christos break;
3419 1.1 christos /* linux32_sys_sched_setparam */
3420 1.1 christos case 154:
3421 1.1 christos switch(ndx) {
3422 1.1 christos case 0:
3423 1.1 christos p = "pid_t";
3424 1.1 christos break;
3425 1.1 christos case 1:
3426 1.1 christos p = "const linux32_sched_paramp_t";
3427 1.1 christos break;
3428 1.1 christos default:
3429 1.1 christos break;
3430 1.1 christos };
3431 1.1 christos break;
3432 1.1 christos /* linux32_sys_sched_getparam */
3433 1.1 christos case 155:
3434 1.1 christos switch(ndx) {
3435 1.1 christos case 0:
3436 1.1 christos p = "pid_t";
3437 1.1 christos break;
3438 1.1 christos case 1:
3439 1.1 christos p = "linux32_sched_paramp_t";
3440 1.1 christos break;
3441 1.1 christos default:
3442 1.1 christos break;
3443 1.1 christos };
3444 1.1 christos break;
3445 1.1 christos /* linux32_sys_sched_setscheduler */
3446 1.1 christos case 156:
3447 1.1 christos switch(ndx) {
3448 1.1 christos case 0:
3449 1.1 christos p = "pid_t";
3450 1.1 christos break;
3451 1.1 christos case 1:
3452 1.1 christos p = "int";
3453 1.1 christos break;
3454 1.1 christos case 2:
3455 1.1 christos p = "linux32_sched_paramp_t";
3456 1.1 christos break;
3457 1.1 christos default:
3458 1.1 christos break;
3459 1.1 christos };
3460 1.1 christos break;
3461 1.1 christos /* linux32_sys_sched_getscheduler */
3462 1.1 christos case 157:
3463 1.1 christos switch(ndx) {
3464 1.1 christos case 0:
3465 1.1 christos p = "pid_t";
3466 1.1 christos break;
3467 1.1 christos default:
3468 1.1 christos break;
3469 1.1 christos };
3470 1.1 christos break;
3471 1.1 christos /* linux_sys_sched_yield */
3472 1.1 christos case 158:
3473 1.1 christos break;
3474 1.1 christos /* linux32_sys_sched_get_priority_max */
3475 1.1 christos case 159:
3476 1.1 christos switch(ndx) {
3477 1.1 christos case 0:
3478 1.1 christos p = "int";
3479 1.1 christos break;
3480 1.1 christos default:
3481 1.1 christos break;
3482 1.1 christos };
3483 1.1 christos break;
3484 1.1 christos /* linux32_sys_sched_get_priority_min */
3485 1.1 christos case 160:
3486 1.1 christos switch(ndx) {
3487 1.1 christos case 0:
3488 1.1 christos p = "int";
3489 1.1 christos break;
3490 1.1 christos default:
3491 1.1 christos break;
3492 1.1 christos };
3493 1.1 christos break;
3494 1.1 christos /* linux32_sys_nanosleep */
3495 1.1 christos case 162:
3496 1.1 christos switch(ndx) {
3497 1.1 christos case 0:
3498 1.1 christos p = "linux32_timespecp_t";
3499 1.1 christos break;
3500 1.1 christos case 1:
3501 1.1 christos p = "linux32_timespecp_t";
3502 1.1 christos break;
3503 1.1 christos default:
3504 1.1 christos break;
3505 1.1 christos };
3506 1.1 christos break;
3507 1.1 christos /* linux32_sys_mremap */
3508 1.1 christos case 163:
3509 1.1 christos switch(ndx) {
3510 1.1 christos case 0:
3511 1.1 christos p = "netbsd32_voidp";
3512 1.1 christos break;
3513 1.1 christos case 1:
3514 1.1 christos p = "netbsd32_size_t";
3515 1.1 christos break;
3516 1.1 christos case 2:
3517 1.1 christos p = "netbsd32_size_t";
3518 1.1 christos break;
3519 1.1 christos case 3:
3520 1.1 christos p = "netbsd32_u_long";
3521 1.1 christos break;
3522 1.1 christos default:
3523 1.1 christos break;
3524 1.1 christos };
3525 1.1 christos break;
3526 1.1 christos /* linux32_sys_setresuid16 */
3527 1.1 christos case 164:
3528 1.1 christos switch(ndx) {
3529 1.1 christos case 0:
3530 1.1 christos p = "linux32_uid16_t";
3531 1.1 christos break;
3532 1.1 christos case 1:
3533 1.1 christos p = "linux32_uid16_t";
3534 1.1 christos break;
3535 1.1 christos case 2:
3536 1.1 christos p = "linux32_uid16_t";
3537 1.1 christos break;
3538 1.1 christos default:
3539 1.1 christos break;
3540 1.1 christos };
3541 1.1 christos break;
3542 1.1 christos /* linux32_sys_getresuid16 */
3543 1.1 christos case 165:
3544 1.1 christos switch(ndx) {
3545 1.1 christos case 0:
3546 1.1 christos p = "linux32_uid16p_t";
3547 1.1 christos break;
3548 1.1 christos case 1:
3549 1.1 christos p = "linux32_uid16p_t";
3550 1.1 christos break;
3551 1.1 christos case 2:
3552 1.1 christos p = "linux32_uid16p_t";
3553 1.1 christos break;
3554 1.1 christos default:
3555 1.1 christos break;
3556 1.1 christos };
3557 1.1 christos break;
3558 1.1 christos /* netbsd32_poll */
3559 1.1 christos case 168:
3560 1.1 christos switch(ndx) {
3561 1.1 christos case 0:
3562 1.1 christos p = "netbsd32_pollfdp_t";
3563 1.1 christos break;
3564 1.1 christos case 1:
3565 1.1 christos p = "u_int";
3566 1.1 christos break;
3567 1.1 christos case 2:
3568 1.1 christos p = "int";
3569 1.1 christos break;
3570 1.1 christos default:
3571 1.1 christos break;
3572 1.1 christos };
3573 1.1 christos break;
3574 1.1 christos /* linux32_sys_setresgid16 */
3575 1.1 christos case 170:
3576 1.1 christos switch(ndx) {
3577 1.1 christos case 0:
3578 1.1 christos p = "linux32_gid16_t";
3579 1.1 christos break;
3580 1.1 christos case 1:
3581 1.1 christos p = "linux32_gid16_t";
3582 1.1 christos break;
3583 1.1 christos case 2:
3584 1.1 christos p = "linux32_gid16_t";
3585 1.1 christos break;
3586 1.1 christos default:
3587 1.1 christos break;
3588 1.1 christos };
3589 1.1 christos break;
3590 1.1 christos /* linux32_sys_getresgid16 */
3591 1.1 christos case 171:
3592 1.1 christos switch(ndx) {
3593 1.1 christos case 0:
3594 1.1 christos p = "linux32_gid16p_t";
3595 1.1 christos break;
3596 1.1 christos case 1:
3597 1.1 christos p = "linux32_gid16p_t";
3598 1.1 christos break;
3599 1.1 christos case 2:
3600 1.1 christos p = "linux32_gid16p_t";
3601 1.1 christos break;
3602 1.1 christos default:
3603 1.1 christos break;
3604 1.1 christos };
3605 1.1 christos break;
3606 1.1 christos /* linux32_sys_rt_sigreturn */
3607 1.1 christos case 173:
3608 1.1 christos switch(ndx) {
3609 1.1 christos case 0:
3610 1.1 christos p = "linux32_ucontextp_t";
3611 1.1 christos break;
3612 1.1 christos default:
3613 1.1 christos break;
3614 1.1 christos };
3615 1.1 christos break;
3616 1.1 christos /* linux32_sys_rt_sigaction */
3617 1.1 christos case 174:
3618 1.1 christos switch(ndx) {
3619 1.1 christos case 0:
3620 1.1 christos p = "int";
3621 1.1 christos break;
3622 1.1 christos case 1:
3623 1.1 christos p = "linux32_sigactionp_t";
3624 1.1 christos break;
3625 1.1 christos case 2:
3626 1.1 christos p = "linux32_sigactionp_t";
3627 1.1 christos break;
3628 1.1 christos case 3:
3629 1.1 christos p = "netbsd32_size_t";
3630 1.1 christos break;
3631 1.1 christos default:
3632 1.1 christos break;
3633 1.1 christos };
3634 1.1 christos break;
3635 1.1 christos /* linux32_sys_rt_sigprocmask */
3636 1.1 christos case 175:
3637 1.1 christos switch(ndx) {
3638 1.1 christos case 0:
3639 1.1 christos p = "int";
3640 1.1 christos break;
3641 1.1 christos case 1:
3642 1.1 christos p = "linux32_sigsetp_t";
3643 1.1 christos break;
3644 1.1 christos case 2:
3645 1.1 christos p = "linux32_sigsetp_t";
3646 1.1 christos break;
3647 1.1 christos case 3:
3648 1.1 christos p = "netbsd32_size_t";
3649 1.1 christos break;
3650 1.1 christos default:
3651 1.1 christos break;
3652 1.1 christos };
3653 1.1 christos break;
3654 1.1 christos /* linux32_sys_rt_sigpending */
3655 1.1 christos case 176:
3656 1.1 christos switch(ndx) {
3657 1.1 christos case 0:
3658 1.1 christos p = "linux32_sigsetp_t";
3659 1.1 christos break;
3660 1.1 christos case 1:
3661 1.1 christos p = "netbsd32_size_t";
3662 1.1 christos break;
3663 1.1 christos default:
3664 1.1 christos break;
3665 1.1 christos };
3666 1.1 christos break;
3667 1.1 christos /* linux32_sys_rt_sigtimedwait */
3668 1.1 christos case 177:
3669 1.1 christos switch(ndx) {
3670 1.1 christos case 0:
3671 1.1 christos p = "const linux32_sigsetp_t";
3672 1.1 christos break;
3673 1.1 christos case 1:
3674 1.1 christos p = "linux32_siginfop_t";
3675 1.1 christos break;
3676 1.1 christos case 2:
3677 1.1 christos p = "const linux32_timespecp_t";
3678 1.1 christos break;
3679 1.1 christos default:
3680 1.1 christos break;
3681 1.1 christos };
3682 1.1 christos break;
3683 1.1 christos /* linux32_sys_rt_queueinfo */
3684 1.1 christos case 178:
3685 1.1 christos switch(ndx) {
3686 1.1 christos case 0:
3687 1.1 christos p = "int";
3688 1.1 christos break;
3689 1.1 christos case 1:
3690 1.1 christos p = "int";
3691 1.1 christos break;
3692 1.1 christos case 2:
3693 1.1 christos p = "linux32_siginfop_t";
3694 1.1 christos break;
3695 1.1 christos default:
3696 1.1 christos break;
3697 1.1 christos };
3698 1.1 christos break;
3699 1.1 christos /* linux32_sys_rt_sigsuspend */
3700 1.1 christos case 179:
3701 1.1 christos switch(ndx) {
3702 1.1 christos case 0:
3703 1.1 christos p = "linux32_sigsetp_t";
3704 1.1 christos break;
3705 1.1 christos case 1:
3706 1.1 christos p = "netbsd32_size_t";
3707 1.1 christos break;
3708 1.1 christos default:
3709 1.1 christos break;
3710 1.1 christos };
3711 1.1 christos break;
3712 1.1 christos /* linux32_sys_pread */
3713 1.1 christos case 180:
3714 1.1 christos switch(ndx) {
3715 1.1 christos case 0:
3716 1.1 christos p = "int";
3717 1.1 christos break;
3718 1.1 christos case 1:
3719 1.1 christos p = "netbsd32_voidp";
3720 1.1 christos break;
3721 1.1 christos case 2:
3722 1.1 christos p = "netbsd32_size_t";
3723 1.1 christos break;
3724 1.1 christos case 3:
3725 1.1 christos p = "netbsd32_off_t";
3726 1.1 christos break;
3727 1.1 christos default:
3728 1.1 christos break;
3729 1.1 christos };
3730 1.1 christos break;
3731 1.1 christos /* linux32_sys_pwrite */
3732 1.1 christos case 181:
3733 1.1 christos switch(ndx) {
3734 1.1 christos case 0:
3735 1.1 christos p = "int";
3736 1.1 christos break;
3737 1.1 christos case 1:
3738 1.1 christos p = "netbsd32_voidp";
3739 1.1 christos break;
3740 1.1 christos case 2:
3741 1.1 christos p = "netbsd32_size_t";
3742 1.1 christos break;
3743 1.1 christos case 3:
3744 1.1 christos p = "netbsd32_off_t";
3745 1.1 christos break;
3746 1.1 christos default:
3747 1.1 christos break;
3748 1.1 christos };
3749 1.1 christos break;
3750 1.1 christos /* linux32_sys_chown16 */
3751 1.1 christos case 182:
3752 1.1 christos switch(ndx) {
3753 1.1 christos case 0:
3754 1.1 christos p = "netbsd32_charp";
3755 1.1 christos break;
3756 1.1 christos case 1:
3757 1.1 christos p = "linux32_uid16_t";
3758 1.1 christos break;
3759 1.1 christos case 2:
3760 1.1 christos p = "linux32_gid16_t";
3761 1.1 christos break;
3762 1.1 christos default:
3763 1.1 christos break;
3764 1.1 christos };
3765 1.1 christos break;
3766 1.1 christos /* netbsd32___getcwd */
3767 1.1 christos case 183:
3768 1.1 christos switch(ndx) {
3769 1.1 christos case 0:
3770 1.1 christos p = "netbsd32_charp";
3771 1.1 christos break;
3772 1.1 christos case 1:
3773 1.1 christos p = "netbsd32_size_t";
3774 1.1 christos break;
3775 1.1 christos default:
3776 1.1 christos break;
3777 1.1 christos };
3778 1.1 christos break;
3779 1.1 christos /* sys___vfork14 */
3780 1.1 christos case 190:
3781 1.1 christos break;
3782 1.1 christos /* linux32_sys_ugetrlimit */
3783 1.1 christos case 191:
3784 1.1 christos switch(ndx) {
3785 1.1 christos case 0:
3786 1.1 christos p = "int";
3787 1.1 christos break;
3788 1.1 christos case 1:
3789 1.1 christos p = "netbsd32_orlimitp_t";
3790 1.1 christos break;
3791 1.1 christos default:
3792 1.1 christos break;
3793 1.1 christos };
3794 1.1 christos break;
3795 1.1 christos /* linux32_sys_mmap2 */
3796 1.1 christos case 192:
3797 1.1 christos switch(ndx) {
3798 1.1 christos case 0:
3799 1.1 christos p = "netbsd32_u_long";
3800 1.1 christos break;
3801 1.1 christos case 1:
3802 1.1 christos p = "netbsd32_size_t";
3803 1.1 christos break;
3804 1.1 christos case 2:
3805 1.1 christos p = "int";
3806 1.1 christos break;
3807 1.1 christos case 3:
3808 1.1 christos p = "int";
3809 1.1 christos break;
3810 1.1 christos case 4:
3811 1.1 christos p = "int";
3812 1.1 christos break;
3813 1.1 christos case 5:
3814 1.1 christos p = "linux32_off_t";
3815 1.1 christos break;
3816 1.1 christos default:
3817 1.1 christos break;
3818 1.1 christos };
3819 1.1 christos break;
3820 1.1 christos /* linux32_sys_truncate64 */
3821 1.1 christos case 193:
3822 1.1 christos switch(ndx) {
3823 1.1 christos case 0:
3824 1.1 christos p = "netbsd32_charp";
3825 1.1 christos break;
3826 1.1 christos case 1:
3827 1.1 christos p = "uint32_t";
3828 1.1 christos break;
3829 1.1 christos case 2:
3830 1.1 christos p = "uint32_t";
3831 1.1 christos break;
3832 1.1 christos default:
3833 1.1 christos break;
3834 1.1 christos };
3835 1.1 christos break;
3836 1.1 christos /* linux32_sys_ftruncate64 */
3837 1.1 christos case 194:
3838 1.1 christos switch(ndx) {
3839 1.1 christos case 0:
3840 1.1 christos p = "unsigned int";
3841 1.1 christos break;
3842 1.1 christos case 1:
3843 1.1 christos p = "uint32_t";
3844 1.1 christos break;
3845 1.1 christos case 2:
3846 1.1 christos p = "uint32_t";
3847 1.1 christos break;
3848 1.1 christos default:
3849 1.1 christos break;
3850 1.1 christos };
3851 1.1 christos break;
3852 1.1 christos /* linux32_sys_stat64 */
3853 1.1 christos case 195:
3854 1.1 christos switch(ndx) {
3855 1.1 christos case 0:
3856 1.1 christos p = "netbsd32_charp";
3857 1.1 christos break;
3858 1.1 christos case 1:
3859 1.1 christos p = "linux32_stat64p";
3860 1.1 christos break;
3861 1.1 christos default:
3862 1.1 christos break;
3863 1.1 christos };
3864 1.1 christos break;
3865 1.1 christos /* linux32_sys_lstat64 */
3866 1.1 christos case 196:
3867 1.1 christos switch(ndx) {
3868 1.1 christos case 0:
3869 1.1 christos p = "netbsd32_charp";
3870 1.1 christos break;
3871 1.1 christos case 1:
3872 1.1 christos p = "linux32_stat64p";
3873 1.1 christos break;
3874 1.1 christos default:
3875 1.1 christos break;
3876 1.1 christos };
3877 1.1 christos break;
3878 1.1 christos /* linux32_sys_fstat64 */
3879 1.1 christos case 197:
3880 1.1 christos switch(ndx) {
3881 1.1 christos case 0:
3882 1.1 christos p = "int";
3883 1.1 christos break;
3884 1.1 christos case 1:
3885 1.1 christos p = "linux32_stat64p";
3886 1.1 christos break;
3887 1.1 christos default:
3888 1.1 christos break;
3889 1.1 christos };
3890 1.1 christos break;
3891 1.1 christos /* netbsd32___posix_lchown */
3892 1.1 christos case 198:
3893 1.1 christos switch(ndx) {
3894 1.1 christos case 0:
3895 1.1 christos p = "netbsd32_charp";
3896 1.1 christos break;
3897 1.1 christos case 1:
3898 1.1 christos p = "uid_t";
3899 1.1 christos break;
3900 1.1 christos case 2:
3901 1.1 christos p = "gid_t";
3902 1.1 christos break;
3903 1.1 christos default:
3904 1.1 christos break;
3905 1.1 christos };
3906 1.1 christos break;
3907 1.1 christos /* sys_getuid */
3908 1.1 christos case 199:
3909 1.1 christos break;
3910 1.1 christos /* sys_getgid */
3911 1.1 christos case 200:
3912 1.1 christos break;
3913 1.1 christos /* sys_geteuid */
3914 1.1 christos case 201:
3915 1.1 christos break;
3916 1.1 christos /* sys_getegid */
3917 1.1 christos case 202:
3918 1.1 christos break;
3919 1.1 christos /* netbsd32_setreuid */
3920 1.1 christos case 203:
3921 1.1 christos switch(ndx) {
3922 1.1 christos case 0:
3923 1.1 christos p = "uid_t";
3924 1.1 christos break;
3925 1.1 christos case 1:
3926 1.1 christos p = "uid_t";
3927 1.1 christos break;
3928 1.1 christos default:
3929 1.1 christos break;
3930 1.1 christos };
3931 1.1 christos break;
3932 1.1 christos /* netbsd32_setregid */
3933 1.1 christos case 204:
3934 1.1 christos switch(ndx) {
3935 1.1 christos case 0:
3936 1.1 christos p = "gid_t";
3937 1.1 christos break;
3938 1.1 christos case 1:
3939 1.1 christos p = "gid_t";
3940 1.1 christos break;
3941 1.1 christos default:
3942 1.1 christos break;
3943 1.1 christos };
3944 1.1 christos break;
3945 1.1 christos /* netbsd32_getgroups */
3946 1.1 christos case 205:
3947 1.1 christos switch(ndx) {
3948 1.1 christos case 0:
3949 1.1 christos p = "int";
3950 1.1 christos break;
3951 1.1 christos case 1:
3952 1.1 christos p = "netbsd32_gid_tp";
3953 1.1 christos break;
3954 1.1 christos default:
3955 1.1 christos break;
3956 1.1 christos };
3957 1.1 christos break;
3958 1.1 christos /* netbsd32_setgroups */
3959 1.1 christos case 206:
3960 1.1 christos switch(ndx) {
3961 1.1 christos case 0:
3962 1.1 christos p = "int";
3963 1.1 christos break;
3964 1.1 christos case 1:
3965 1.1 christos p = "netbsd32_gid_tp";
3966 1.1 christos break;
3967 1.1 christos default:
3968 1.1 christos break;
3969 1.1 christos };
3970 1.1 christos break;
3971 1.1 christos /* netbsd32___posix_fchown */
3972 1.1 christos case 207:
3973 1.1 christos switch(ndx) {
3974 1.1 christos case 0:
3975 1.1 christos p = "int";
3976 1.1 christos break;
3977 1.1 christos case 1:
3978 1.1 christos p = "uid_t";
3979 1.1 christos break;
3980 1.1 christos case 2:
3981 1.1 christos p = "gid_t";
3982 1.1 christos break;
3983 1.1 christos default:
3984 1.1 christos break;
3985 1.1 christos };
3986 1.1 christos break;
3987 1.1 christos /* linux32_sys_setresuid */
3988 1.1 christos case 208:
3989 1.1 christos switch(ndx) {
3990 1.1 christos case 0:
3991 1.1 christos p = "uid_t";
3992 1.1 christos break;
3993 1.1 christos case 1:
3994 1.1 christos p = "uid_t";
3995 1.1 christos break;
3996 1.1 christos case 2:
3997 1.1 christos p = "uid_t";
3998 1.1 christos break;
3999 1.1 christos default:
4000 1.1 christos break;
4001 1.1 christos };
4002 1.1 christos break;
4003 1.1 christos /* linux32_sys_getresuid */
4004 1.1 christos case 209:
4005 1.1 christos switch(ndx) {
4006 1.1 christos case 0:
4007 1.1 christos p = "linux32_uidp_t";
4008 1.1 christos break;
4009 1.1 christos case 1:
4010 1.1 christos p = "linux32_uidp_t";
4011 1.1 christos break;
4012 1.1 christos case 2:
4013 1.1 christos p = "linux32_uidp_t";
4014 1.1 christos break;
4015 1.1 christos default:
4016 1.1 christos break;
4017 1.1 christos };
4018 1.1 christos break;
4019 1.1 christos /* linux32_sys_setresgid */
4020 1.1 christos case 210:
4021 1.1 christos switch(ndx) {
4022 1.1 christos case 0:
4023 1.1 christos p = "gid_t";
4024 1.1 christos break;
4025 1.1 christos case 1:
4026 1.1 christos p = "gid_t";
4027 1.1 christos break;
4028 1.1 christos case 2:
4029 1.1 christos p = "gid_t";
4030 1.1 christos break;
4031 1.1 christos default:
4032 1.1 christos break;
4033 1.1 christos };
4034 1.1 christos break;
4035 1.1 christos /* linux32_sys_getresgid */
4036 1.1 christos case 211:
4037 1.1 christos switch(ndx) {
4038 1.1 christos case 0:
4039 1.1 christos p = "linux32_gidp_t";
4040 1.1 christos break;
4041 1.1 christos case 1:
4042 1.1 christos p = "linux32_gidp_t";
4043 1.1 christos break;
4044 1.1 christos case 2:
4045 1.1 christos p = "linux32_gidp_t";
4046 1.1 christos break;
4047 1.1 christos default:
4048 1.1 christos break;
4049 1.1 christos };
4050 1.1 christos break;
4051 1.1 christos /* netbsd32___posix_chown */
4052 1.1 christos case 212:
4053 1.1 christos switch(ndx) {
4054 1.1 christos case 0:
4055 1.1 christos p = "netbsd32_charp";
4056 1.1 christos break;
4057 1.1 christos case 1:
4058 1.1 christos p = "uid_t";
4059 1.1 christos break;
4060 1.1 christos case 2:
4061 1.1 christos p = "gid_t";
4062 1.1 christos break;
4063 1.1 christos default:
4064 1.1 christos break;
4065 1.1 christos };
4066 1.1 christos break;
4067 1.1 christos /* netbsd32_setuid */
4068 1.1 christos case 213:
4069 1.1 christos switch(ndx) {
4070 1.1 christos case 0:
4071 1.1 christos p = "uid_t";
4072 1.1 christos break;
4073 1.1 christos default:
4074 1.1 christos break;
4075 1.1 christos };
4076 1.1 christos break;
4077 1.1 christos /* netbsd32_setgid */
4078 1.1 christos case 214:
4079 1.1 christos switch(ndx) {
4080 1.1 christos case 0:
4081 1.1 christos p = "gid_t";
4082 1.1 christos break;
4083 1.1 christos default:
4084 1.1 christos break;
4085 1.1 christos };
4086 1.1 christos break;
4087 1.1 christos /* linux32_sys_setfsuid */
4088 1.1 christos case 215:
4089 1.1 christos switch(ndx) {
4090 1.1 christos case 0:
4091 1.1 christos p = "uid_t";
4092 1.1 christos break;
4093 1.1 christos default:
4094 1.1 christos break;
4095 1.1 christos };
4096 1.1 christos break;
4097 1.1 christos /* linux32_sys_setfsgid */
4098 1.1 christos case 216:
4099 1.1 christos switch(ndx) {
4100 1.1 christos case 0:
4101 1.1 christos p = "gid_t";
4102 1.1 christos break;
4103 1.1 christos default:
4104 1.1 christos break;
4105 1.1 christos };
4106 1.1 christos break;
4107 1.1 christos /* netbsd32_mincore */
4108 1.1 christos case 218:
4109 1.1 christos switch(ndx) {
4110 1.1 christos case 0:
4111 1.1 christos p = "netbsd32_voidp";
4112 1.1 christos break;
4113 1.1 christos case 1:
4114 1.1 christos p = "netbsd32_size_t";
4115 1.1 christos break;
4116 1.1 christos case 2:
4117 1.1 christos p = "netbsd32_charp";
4118 1.1 christos break;
4119 1.1 christos default:
4120 1.1 christos break;
4121 1.1 christos };
4122 1.1 christos break;
4123 1.1 christos /* netbsd32_madvise */
4124 1.1 christos case 219:
4125 1.1 christos switch(ndx) {
4126 1.1 christos case 0:
4127 1.1 christos p = "netbsd32_voidp";
4128 1.1 christos break;
4129 1.1 christos case 1:
4130 1.1 christos p = "netbsd32_size_t";
4131 1.1 christos break;
4132 1.1 christos case 2:
4133 1.1 christos p = "int";
4134 1.1 christos break;
4135 1.1 christos default:
4136 1.1 christos break;
4137 1.1 christos };
4138 1.1 christos break;
4139 1.1 christos /* linux32_sys_getdents64 */
4140 1.1 christos case 220:
4141 1.1 christos switch(ndx) {
4142 1.1 christos case 0:
4143 1.1 christos p = "int";
4144 1.1 christos break;
4145 1.1 christos case 1:
4146 1.1 christos p = "linux32_dirent64p_t";
4147 1.1 christos break;
4148 1.1 christos case 2:
4149 1.1 christos p = "unsigned int";
4150 1.1 christos break;
4151 1.1 christos default:
4152 1.1 christos break;
4153 1.1 christos };
4154 1.1 christos break;
4155 1.1 christos #define linux32_sys_fcntl64 linux32_sys_fcntl
4156 1.1 christos #define linux32_sys_fcntl64_args linux32_sys_fcntl_args
4157 1.1 christos /* linux32_sys_fcntl64 */
4158 1.1 christos case 221:
4159 1.1 christos switch(ndx) {
4160 1.1 christos case 0:
4161 1.1 christos p = "int";
4162 1.1 christos break;
4163 1.1 christos case 1:
4164 1.1 christos p = "int";
4165 1.1 christos break;
4166 1.1 christos case 2:
4167 1.1 christos p = "netbsd32_voidp";
4168 1.1 christos break;
4169 1.1 christos default:
4170 1.1 christos break;
4171 1.1 christos };
4172 1.1 christos break;
4173 1.1 christos /* linux_sys_gettid */
4174 1.1 christos case 224:
4175 1.1 christos break;
4176 1.1 christos /* netbsd32_setxattr */
4177 1.1 christos case 226:
4178 1.1 christos switch(ndx) {
4179 1.1 christos case 0:
4180 1.1 christos p = "netbsd32_charp";
4181 1.1 christos break;
4182 1.1 christos case 1:
4183 1.1 christos p = "netbsd32_charp";
4184 1.1 christos break;
4185 1.1 christos case 2:
4186 1.1 christos p = "netbsd32_voidp";
4187 1.1 christos break;
4188 1.1 christos case 3:
4189 1.1 christos p = "netbsd32_size_t";
4190 1.1 christos break;
4191 1.1 christos case 4:
4192 1.1 christos p = "int";
4193 1.1 christos break;
4194 1.1 christos default:
4195 1.1 christos break;
4196 1.1 christos };
4197 1.1 christos break;
4198 1.1 christos /* netbsd32_lsetxattr */
4199 1.1 christos case 227:
4200 1.1 christos switch(ndx) {
4201 1.1 christos case 0:
4202 1.1 christos p = "netbsd32_charp";
4203 1.1 christos break;
4204 1.1 christos case 1:
4205 1.1 christos p = "netbsd32_charp";
4206 1.1 christos break;
4207 1.1 christos case 2:
4208 1.1 christos p = "netbsd32_voidp";
4209 1.1 christos break;
4210 1.1 christos case 3:
4211 1.1 christos p = "netbsd32_size_t";
4212 1.1 christos break;
4213 1.1 christos case 4:
4214 1.1 christos p = "int";
4215 1.1 christos break;
4216 1.1 christos default:
4217 1.1 christos break;
4218 1.1 christos };
4219 1.1 christos break;
4220 1.1 christos /* netbsd32_fsetxattr */
4221 1.1 christos case 228:
4222 1.1 christos switch(ndx) {
4223 1.1 christos case 0:
4224 1.1 christos p = "int";
4225 1.1 christos break;
4226 1.1 christos case 1:
4227 1.1 christos p = "netbsd32_charp";
4228 1.1 christos break;
4229 1.1 christos case 2:
4230 1.1 christos p = "netbsd32_voidp";
4231 1.1 christos break;
4232 1.1 christos case 3:
4233 1.1 christos p = "netbsd32_size_t";
4234 1.1 christos break;
4235 1.1 christos case 4:
4236 1.1 christos p = "int";
4237 1.1 christos break;
4238 1.1 christos default:
4239 1.1 christos break;
4240 1.1 christos };
4241 1.1 christos break;
4242 1.1 christos /* netbsd32_getxattr */
4243 1.1 christos case 229:
4244 1.1 christos switch(ndx) {
4245 1.1 christos case 0:
4246 1.1 christos p = "netbsd32_charp";
4247 1.1 christos break;
4248 1.1 christos case 1:
4249 1.1 christos p = "netbsd32_charp";
4250 1.1 christos break;
4251 1.1 christos case 2:
4252 1.1 christos p = "netbsd32_voidp";
4253 1.1 christos break;
4254 1.1 christos case 3:
4255 1.1 christos p = "netbsd32_size_t";
4256 1.1 christos break;
4257 1.1 christos default:
4258 1.1 christos break;
4259 1.1 christos };
4260 1.1 christos break;
4261 1.1 christos /* netbsd32_lgetxattr */
4262 1.1 christos case 230:
4263 1.1 christos switch(ndx) {
4264 1.1 christos case 0:
4265 1.1 christos p = "netbsd32_charp";
4266 1.1 christos break;
4267 1.1 christos case 1:
4268 1.1 christos p = "netbsd32_charp";
4269 1.1 christos break;
4270 1.1 christos case 2:
4271 1.1 christos p = "netbsd32_voidp";
4272 1.1 christos break;
4273 1.1 christos case 3:
4274 1.1 christos p = "netbsd32_size_t";
4275 1.1 christos break;
4276 1.1 christos default:
4277 1.1 christos break;
4278 1.1 christos };
4279 1.1 christos break;
4280 1.1 christos /* netbsd32_fgetxattr */
4281 1.1 christos case 231:
4282 1.1 christos switch(ndx) {
4283 1.1 christos case 0:
4284 1.1 christos p = "int";
4285 1.1 christos break;
4286 1.1 christos case 1:
4287 1.1 christos p = "netbsd32_charp";
4288 1.1 christos break;
4289 1.1 christos case 2:
4290 1.1 christos p = "netbsd32_voidp";
4291 1.1 christos break;
4292 1.1 christos case 3:
4293 1.1 christos p = "netbsd32_size_t";
4294 1.1 christos break;
4295 1.1 christos default:
4296 1.1 christos break;
4297 1.1 christos };
4298 1.1 christos break;
4299 1.1 christos /* netbsd32_listxattr */
4300 1.1 christos case 232:
4301 1.1 christos switch(ndx) {
4302 1.1 christos case 0:
4303 1.1 christos p = "netbsd32_charp";
4304 1.1 christos break;
4305 1.1 christos case 1:
4306 1.1 christos p = "netbsd32_charp";
4307 1.1 christos break;
4308 1.1 christos case 2:
4309 1.1 christos p = "netbsd32_size_t";
4310 1.1 christos break;
4311 1.1 christos default:
4312 1.1 christos break;
4313 1.1 christos };
4314 1.1 christos break;
4315 1.1 christos /* netbsd32_llistxattr */
4316 1.1 christos case 233:
4317 1.1 christos switch(ndx) {
4318 1.1 christos case 0:
4319 1.1 christos p = "netbsd32_charp";
4320 1.1 christos break;
4321 1.1 christos case 1:
4322 1.1 christos p = "netbsd32_charp";
4323 1.1 christos break;
4324 1.1 christos case 2:
4325 1.1 christos p = "netbsd32_size_t";
4326 1.1 christos break;
4327 1.1 christos default:
4328 1.1 christos break;
4329 1.1 christos };
4330 1.1 christos break;
4331 1.1 christos /* netbsd32_flistxattr */
4332 1.1 christos case 234:
4333 1.1 christos switch(ndx) {
4334 1.1 christos case 0:
4335 1.1 christos p = "int";
4336 1.1 christos break;
4337 1.1 christos case 1:
4338 1.1 christos p = "netbsd32_charp";
4339 1.1 christos break;
4340 1.1 christos case 2:
4341 1.1 christos p = "netbsd32_size_t";
4342 1.1 christos break;
4343 1.1 christos default:
4344 1.1 christos break;
4345 1.1 christos };
4346 1.1 christos break;
4347 1.1 christos /* netbsd32_removexattr */
4348 1.1 christos case 235:
4349 1.1 christos switch(ndx) {
4350 1.1 christos case 0:
4351 1.1 christos p = "netbsd32_charp";
4352 1.1 christos break;
4353 1.1 christos case 1:
4354 1.1 christos p = "netbsd32_charp";
4355 1.1 christos break;
4356 1.1 christos default:
4357 1.1 christos break;
4358 1.1 christos };
4359 1.1 christos break;
4360 1.1 christos /* netbsd32_lremovexattr */
4361 1.1 christos case 236:
4362 1.1 christos switch(ndx) {
4363 1.1 christos case 0:
4364 1.1 christos p = "netbsd32_charp";
4365 1.1 christos break;
4366 1.1 christos case 1:
4367 1.1 christos p = "netbsd32_charp";
4368 1.1 christos break;
4369 1.1 christos default:
4370 1.1 christos break;
4371 1.1 christos };
4372 1.1 christos break;
4373 1.1 christos /* netbsd32_fremovexattr */
4374 1.1 christos case 237:
4375 1.1 christos switch(ndx) {
4376 1.1 christos case 0:
4377 1.1 christos p = "int";
4378 1.1 christos break;
4379 1.1 christos case 1:
4380 1.1 christos p = "netbsd32_charp";
4381 1.1 christos break;
4382 1.1 christos default:
4383 1.1 christos break;
4384 1.1 christos };
4385 1.1 christos break;
4386 1.1 christos /* linux32_sys_tkill */
4387 1.1 christos case 238:
4388 1.1 christos switch(ndx) {
4389 1.1 christos case 0:
4390 1.1 christos p = "int";
4391 1.1 christos break;
4392 1.1 christos case 1:
4393 1.1 christos p = "int";
4394 1.1 christos break;
4395 1.1 christos default:
4396 1.1 christos break;
4397 1.1 christos };
4398 1.1 christos break;
4399 1.1 christos /* linux32_sys_futex */
4400 1.1 christos case 240:
4401 1.1 christos switch(ndx) {
4402 1.1 christos case 0:
4403 1.1 christos p = "linux32_intp_t";
4404 1.1 christos break;
4405 1.1 christos case 1:
4406 1.1 christos p = "int";
4407 1.1 christos break;
4408 1.1 christos case 2:
4409 1.1 christos p = "int";
4410 1.1 christos break;
4411 1.1 christos case 3:
4412 1.1 christos p = "linux32_timespecp_t";
4413 1.1 christos break;
4414 1.1 christos case 4:
4415 1.1 christos p = "linux32_intp_t";
4416 1.1 christos break;
4417 1.1 christos case 5:
4418 1.1 christos p = "int";
4419 1.1 christos break;
4420 1.1 christos default:
4421 1.1 christos break;
4422 1.1 christos };
4423 1.1 christos break;
4424 1.1 christos /* linux32_sys_sched_setaffinity */
4425 1.1 christos case 241:
4426 1.1 christos switch(ndx) {
4427 1.1 christos case 0:
4428 1.1 christos p = "pid_t";
4429 1.1 christos break;
4430 1.1 christos case 1:
4431 1.1 christos p = "unsigned int";
4432 1.1 christos break;
4433 1.1 christos case 2:
4434 1.1 christos p = "linux32_ulongp_t";
4435 1.1 christos break;
4436 1.1 christos default:
4437 1.1 christos break;
4438 1.1 christos };
4439 1.1 christos break;
4440 1.1 christos /* linux32_sys_sched_getaffinity */
4441 1.1 christos case 242:
4442 1.1 christos switch(ndx) {
4443 1.1 christos case 0:
4444 1.1 christos p = "pid_t";
4445 1.1 christos break;
4446 1.1 christos case 1:
4447 1.1 christos p = "unsigned int";
4448 1.1 christos break;
4449 1.1 christos case 2:
4450 1.1 christos p = "linux32_ulongp_t";
4451 1.1 christos break;
4452 1.1 christos default:
4453 1.1 christos break;
4454 1.1 christos };
4455 1.1 christos break;
4456 1.1 christos /* linux32_sys_set_thread_area */
4457 1.1 christos case 243:
4458 1.1 christos switch(ndx) {
4459 1.1 christos case 0:
4460 1.1 christos p = "linux32_user_descp_t";
4461 1.1 christos break;
4462 1.1 christos default:
4463 1.1 christos break;
4464 1.1 christos };
4465 1.1 christos break;
4466 1.1 christos /* linux32_sys_get_thread_area */
4467 1.1 christos case 244:
4468 1.1 christos switch(ndx) {
4469 1.1 christos case 0:
4470 1.1 christos p = "linux32_user_descp_t";
4471 1.1 christos break;
4472 1.1 christos default:
4473 1.1 christos break;
4474 1.1 christos };
4475 1.1 christos break;
4476 1.1 christos /* linux32_sys_fadvise64 */
4477 1.1 christos case 250:
4478 1.1 christos switch(ndx) {
4479 1.1 christos case 0:
4480 1.1 christos p = "int";
4481 1.1 christos break;
4482 1.1 christos case 1:
4483 1.1 christos p = "uint32_t";
4484 1.1 christos break;
4485 1.1 christos case 2:
4486 1.1 christos p = "uint32_t";
4487 1.1 christos break;
4488 1.1 christos case 3:
4489 1.1 christos p = "linux32_size_t";
4490 1.1 christos break;
4491 1.1 christos case 4:
4492 1.1 christos p = "int";
4493 1.1 christos break;
4494 1.1 christos default:
4495 1.1 christos break;
4496 1.1 christos };
4497 1.1 christos break;
4498 1.1 christos /* linux32_sys_exit_group */
4499 1.1 christos case 252:
4500 1.1 christos switch(ndx) {
4501 1.1 christos case 0:
4502 1.1 christos p = "int";
4503 1.1 christos break;
4504 1.1 christos default:
4505 1.1 christos break;
4506 1.1 christos };
4507 1.1 christos break;
4508 1.1 christos /* linux32_sys_set_tid_address */
4509 1.1 christos case 258:
4510 1.1 christos switch(ndx) {
4511 1.1 christos case 0:
4512 1.1 christos p = "linux32_intp_t";
4513 1.1 christos break;
4514 1.1 christos default:
4515 1.1 christos break;
4516 1.1 christos };
4517 1.1 christos break;
4518 1.9 thorpej /* linux32_sys_timer_create */
4519 1.9 thorpej case 259:
4520 1.9 thorpej switch(ndx) {
4521 1.9 thorpej case 0:
4522 1.9 thorpej p = "clockid_t";
4523 1.9 thorpej break;
4524 1.9 thorpej case 1:
4525 1.9 thorpej p = "struct linux32_sigevent *";
4526 1.9 thorpej break;
4527 1.9 thorpej case 2:
4528 1.9 thorpej p = "timer_t *";
4529 1.9 thorpej break;
4530 1.9 thorpej default:
4531 1.9 thorpej break;
4532 1.9 thorpej };
4533 1.9 thorpej break;
4534 1.9 thorpej /* linux32_sys_timer_settime */
4535 1.9 thorpej case 260:
4536 1.9 thorpej switch(ndx) {
4537 1.9 thorpej case 0:
4538 1.9 thorpej p = "timer_t";
4539 1.9 thorpej break;
4540 1.9 thorpej case 1:
4541 1.9 thorpej p = "int";
4542 1.9 thorpej break;
4543 1.9 thorpej case 2:
4544 1.9 thorpej p = "const struct linux32_itimerspec *";
4545 1.9 thorpej break;
4546 1.9 thorpej case 3:
4547 1.9 thorpej p = "struct linux32_itimerspec *";
4548 1.9 thorpej break;
4549 1.9 thorpej default:
4550 1.9 thorpej break;
4551 1.9 thorpej };
4552 1.9 thorpej break;
4553 1.9 thorpej /* linux32_sys_timer_gettime */
4554 1.9 thorpej case 261:
4555 1.9 thorpej switch(ndx) {
4556 1.9 thorpej case 0:
4557 1.9 thorpej p = "timer_t";
4558 1.9 thorpej break;
4559 1.9 thorpej case 1:
4560 1.9 thorpej p = "struct linux32_itimerspec *";
4561 1.9 thorpej break;
4562 1.9 thorpej default:
4563 1.9 thorpej break;
4564 1.9 thorpej };
4565 1.9 thorpej break;
4566 1.9 thorpej /* sys_timer_getoverrun */
4567 1.9 thorpej case 262:
4568 1.9 thorpej switch(ndx) {
4569 1.9 thorpej case 0:
4570 1.9 thorpej p = "timer_t";
4571 1.9 thorpej break;
4572 1.9 thorpej default:
4573 1.9 thorpej break;
4574 1.9 thorpej };
4575 1.9 thorpej break;
4576 1.9 thorpej /* sys_timer_delete */
4577 1.9 thorpej case 263:
4578 1.9 thorpej switch(ndx) {
4579 1.9 thorpej case 0:
4580 1.9 thorpej p = "timer_t";
4581 1.9 thorpej break;
4582 1.9 thorpej default:
4583 1.9 thorpej break;
4584 1.9 thorpej };
4585 1.9 thorpej break;
4586 1.1 christos /* linux32_sys_clock_settime */
4587 1.1 christos case 264:
4588 1.1 christos switch(ndx) {
4589 1.1 christos case 0:
4590 1.1 christos p = "clockid_t";
4591 1.1 christos break;
4592 1.1 christos case 1:
4593 1.1 christos p = "linux32_timespecp_t";
4594 1.1 christos break;
4595 1.1 christos default:
4596 1.1 christos break;
4597 1.1 christos };
4598 1.1 christos break;
4599 1.1 christos /* linux32_sys_clock_gettime */
4600 1.1 christos case 265:
4601 1.1 christos switch(ndx) {
4602 1.1 christos case 0:
4603 1.1 christos p = "clockid_t";
4604 1.1 christos break;
4605 1.1 christos case 1:
4606 1.1 christos p = "linux32_timespecp_t";
4607 1.1 christos break;
4608 1.1 christos default:
4609 1.1 christos break;
4610 1.1 christos };
4611 1.1 christos break;
4612 1.1 christos /* linux32_sys_clock_getres */
4613 1.1 christos case 266:
4614 1.1 christos switch(ndx) {
4615 1.1 christos case 0:
4616 1.1 christos p = "clockid_t";
4617 1.1 christos break;
4618 1.1 christos case 1:
4619 1.1 christos p = "linux32_timespecp_t";
4620 1.1 christos break;
4621 1.1 christos default:
4622 1.1 christos break;
4623 1.1 christos };
4624 1.1 christos break;
4625 1.1 christos /* linux32_sys_clock_nanosleep */
4626 1.1 christos case 267:
4627 1.1 christos switch(ndx) {
4628 1.1 christos case 0:
4629 1.1 christos p = "clockid_t";
4630 1.1 christos break;
4631 1.1 christos case 1:
4632 1.1 christos p = "int";
4633 1.1 christos break;
4634 1.1 christos case 2:
4635 1.1 christos p = "linux32_timespecp_t";
4636 1.1 christos break;
4637 1.1 christos case 3:
4638 1.1 christos p = "linux32_timespecp_t";
4639 1.1 christos break;
4640 1.1 christos default:
4641 1.1 christos break;
4642 1.1 christos };
4643 1.1 christos break;
4644 1.1 christos /* linux32_sys_statfs64 */
4645 1.1 christos case 268:
4646 1.1 christos switch(ndx) {
4647 1.1 christos case 0:
4648 1.1 christos p = "netbsd32_charp";
4649 1.1 christos break;
4650 1.1 christos case 1:
4651 1.1 christos p = "netbsd32_size_t";
4652 1.1 christos break;
4653 1.1 christos case 2:
4654 1.1 christos p = "linux32_statfs64p";
4655 1.1 christos break;
4656 1.1 christos default:
4657 1.1 christos break;
4658 1.1 christos };
4659 1.1 christos break;
4660 1.1 christos /* linux32_sys_fstatfs64 */
4661 1.1 christos case 269:
4662 1.1 christos switch(ndx) {
4663 1.1 christos case 0:
4664 1.1 christos p = "int";
4665 1.1 christos break;
4666 1.1 christos case 1:
4667 1.1 christos p = "netbsd32_size_t";
4668 1.1 christos break;
4669 1.1 christos case 2:
4670 1.1 christos p = "linux32_statfs64p";
4671 1.1 christos break;
4672 1.1 christos default:
4673 1.1 christos break;
4674 1.1 christos };
4675 1.1 christos break;
4676 1.1 christos /* linux32_sys_tgkill */
4677 1.1 christos case 270:
4678 1.1 christos switch(ndx) {
4679 1.1 christos case 0:
4680 1.1 christos p = "int";
4681 1.1 christos break;
4682 1.1 christos case 1:
4683 1.1 christos p = "int";
4684 1.1 christos break;
4685 1.1 christos case 2:
4686 1.1 christos p = "int";
4687 1.1 christos break;
4688 1.1 christos default:
4689 1.1 christos break;
4690 1.1 christos };
4691 1.1 christos break;
4692 1.1 christos /* compat_50_netbsd32_utimes */
4693 1.1 christos case 271:
4694 1.1 christos switch(ndx) {
4695 1.1 christos case 0:
4696 1.1 christos p = "netbsd32_charp";
4697 1.1 christos break;
4698 1.1 christos case 1:
4699 1.1 christos p = "netbsd32_timeval50p_t";
4700 1.1 christos break;
4701 1.1 christos default:
4702 1.1 christos break;
4703 1.1 christos };
4704 1.1 christos break;
4705 1.1 christos /* linux32_sys_fadvise64_64 */
4706 1.1 christos case 272:
4707 1.1 christos switch(ndx) {
4708 1.1 christos case 0:
4709 1.1 christos p = "int";
4710 1.1 christos break;
4711 1.1 christos case 1:
4712 1.1 christos p = "uint32_t";
4713 1.1 christos break;
4714 1.1 christos case 2:
4715 1.1 christos p = "uint32_t";
4716 1.1 christos break;
4717 1.1 christos case 3:
4718 1.1 christos p = "uint32_t";
4719 1.1 christos break;
4720 1.1 christos case 4:
4721 1.1 christos p = "uint32_t";
4722 1.1 christos break;
4723 1.1 christos case 5:
4724 1.1 christos p = "int";
4725 1.1 christos break;
4726 1.1 christos default:
4727 1.1 christos break;
4728 1.1 christos };
4729 1.1 christos break;
4730 1.1 christos /* linux32_sys_openat */
4731 1.1 christos case 295:
4732 1.1 christos switch(ndx) {
4733 1.1 christos case 0:
4734 1.1 christos p = "int";
4735 1.1 christos break;
4736 1.1 christos case 1:
4737 1.1 christos p = "netbsd32_charp";
4738 1.1 christos break;
4739 1.1 christos case 2:
4740 1.1 christos p = "int";
4741 1.1 christos break;
4742 1.1 christos case 3:
4743 1.1 christos p = "linux_umode_t";
4744 1.1 christos break;
4745 1.1 christos default:
4746 1.1 christos break;
4747 1.1 christos };
4748 1.1 christos break;
4749 1.1 christos /* netbsd32_mkdirat */
4750 1.1 christos case 296:
4751 1.1 christos switch(ndx) {
4752 1.1 christos case 0:
4753 1.1 christos p = "int";
4754 1.1 christos break;
4755 1.1 christos case 1:
4756 1.1 christos p = "netbsd32_charp";
4757 1.1 christos break;
4758 1.1 christos case 2:
4759 1.1 christos p = "linux_umode_t";
4760 1.1 christos break;
4761 1.1 christos default:
4762 1.1 christos break;
4763 1.1 christos };
4764 1.1 christos break;
4765 1.1 christos /* linux32_sys_mknodat */
4766 1.1 christos case 297:
4767 1.1 christos switch(ndx) {
4768 1.1 christos case 0:
4769 1.1 christos p = "int";
4770 1.1 christos break;
4771 1.1 christos case 1:
4772 1.1 christos p = "netbsd32_charp";
4773 1.1 christos break;
4774 1.1 christos case 2:
4775 1.1 christos p = "linux_umode_t";
4776 1.1 christos break;
4777 1.1 christos case 3:
4778 1.1 christos p = "unsigned";
4779 1.1 christos break;
4780 1.1 christos default:
4781 1.1 christos break;
4782 1.1 christos };
4783 1.1 christos break;
4784 1.1 christos /* linux32_sys_fchownat */
4785 1.1 christos case 298:
4786 1.1 christos switch(ndx) {
4787 1.1 christos case 0:
4788 1.1 christos p = "int";
4789 1.1 christos break;
4790 1.1 christos case 1:
4791 1.1 christos p = "netbsd32_charp";
4792 1.1 christos break;
4793 1.1 christos case 2:
4794 1.1 christos p = "uid_t";
4795 1.1 christos break;
4796 1.1 christos case 3:
4797 1.1 christos p = "gid_t";
4798 1.1 christos break;
4799 1.1 christos case 4:
4800 1.1 christos p = "int";
4801 1.1 christos break;
4802 1.1 christos default:
4803 1.1 christos break;
4804 1.1 christos };
4805 1.1 christos break;
4806 1.1 christos /* linux32_sys_fstatat64 */
4807 1.1 christos case 300:
4808 1.1 christos switch(ndx) {
4809 1.1 christos case 0:
4810 1.1 christos p = "int";
4811 1.1 christos break;
4812 1.1 christos case 1:
4813 1.1 christos p = "netbsd32_charp";
4814 1.1 christos break;
4815 1.1 christos case 2:
4816 1.1 christos p = "linux32_stat64p";
4817 1.1 christos break;
4818 1.1 christos case 3:
4819 1.1 christos p = "int";
4820 1.1 christos break;
4821 1.1 christos default:
4822 1.1 christos break;
4823 1.1 christos };
4824 1.1 christos break;
4825 1.1 christos /* linux32_sys_unlinkat */
4826 1.1 christos case 301:
4827 1.1 christos switch(ndx) {
4828 1.1 christos case 0:
4829 1.1 christos p = "int";
4830 1.1 christos break;
4831 1.1 christos case 1:
4832 1.1 christos p = "netbsd32_charp";
4833 1.1 christos break;
4834 1.1 christos case 2:
4835 1.1 christos p = "int";
4836 1.1 christos break;
4837 1.1 christos default:
4838 1.1 christos break;
4839 1.1 christos };
4840 1.1 christos break;
4841 1.1 christos /* netbsd32_renameat */
4842 1.1 christos case 302:
4843 1.1 christos switch(ndx) {
4844 1.1 christos case 0:
4845 1.1 christos p = "int";
4846 1.1 christos break;
4847 1.1 christos case 1:
4848 1.1 christos p = "netbsd32_charp";
4849 1.1 christos break;
4850 1.1 christos case 2:
4851 1.1 christos p = "int";
4852 1.1 christos break;
4853 1.1 christos case 3:
4854 1.1 christos p = "netbsd32_charp";
4855 1.1 christos break;
4856 1.1 christos default:
4857 1.1 christos break;
4858 1.1 christos };
4859 1.1 christos break;
4860 1.1 christos /* linux32_sys_linkat */
4861 1.1 christos case 303:
4862 1.1 christos switch(ndx) {
4863 1.1 christos case 0:
4864 1.1 christos p = "int";
4865 1.1 christos break;
4866 1.1 christos case 1:
4867 1.1 christos p = "netbsd32_charp";
4868 1.1 christos break;
4869 1.1 christos case 2:
4870 1.1 christos p = "int";
4871 1.1 christos break;
4872 1.1 christos case 3:
4873 1.1 christos p = "netbsd32_charp";
4874 1.1 christos break;
4875 1.1 christos case 4:
4876 1.1 christos p = "int";
4877 1.1 christos break;
4878 1.1 christos default:
4879 1.1 christos break;
4880 1.1 christos };
4881 1.1 christos break;
4882 1.1 christos /* netbsd32_symlinkat */
4883 1.1 christos case 304:
4884 1.1 christos switch(ndx) {
4885 1.1 christos case 0:
4886 1.1 christos p = "netbsd32_charp";
4887 1.1 christos break;
4888 1.1 christos case 1:
4889 1.1 christos p = "int";
4890 1.1 christos break;
4891 1.1 christos case 2:
4892 1.1 christos p = "netbsd32_charp";
4893 1.1 christos break;
4894 1.1 christos default:
4895 1.1 christos break;
4896 1.1 christos };
4897 1.1 christos break;
4898 1.1 christos /* netbsd32_readlinkat */
4899 1.1 christos case 305:
4900 1.1 christos switch(ndx) {
4901 1.1 christos case 0:
4902 1.1 christos p = "int";
4903 1.1 christos break;
4904 1.1 christos case 1:
4905 1.1 christos p = "netbsd32_charp";
4906 1.1 christos break;
4907 1.1 christos case 2:
4908 1.1 christos p = "netbsd32_charp";
4909 1.1 christos break;
4910 1.1 christos case 3:
4911 1.1 christos p = "linux32_size_t";
4912 1.1 christos break;
4913 1.1 christos default:
4914 1.1 christos break;
4915 1.1 christos };
4916 1.1 christos break;
4917 1.1 christos /* linux32_sys_fchmodat */
4918 1.1 christos case 306:
4919 1.1 christos switch(ndx) {
4920 1.1 christos case 0:
4921 1.1 christos p = "int";
4922 1.1 christos break;
4923 1.1 christos case 1:
4924 1.1 christos p = "netbsd32_charp";
4925 1.1 christos break;
4926 1.1 christos case 2:
4927 1.1 christos p = "linux_umode_t";
4928 1.1 christos break;
4929 1.1 christos default:
4930 1.1 christos break;
4931 1.1 christos };
4932 1.1 christos break;
4933 1.1 christos /* linux32_sys_faccessat */
4934 1.1 christos case 307:
4935 1.1 christos switch(ndx) {
4936 1.1 christos case 0:
4937 1.1 christos p = "int";
4938 1.1 christos break;
4939 1.1 christos case 1:
4940 1.1 christos p = "netbsd32_charp";
4941 1.1 christos break;
4942 1.1 christos case 2:
4943 1.1 christos p = "int";
4944 1.1 christos break;
4945 1.1 christos default:
4946 1.1 christos break;
4947 1.1 christos };
4948 1.1 christos break;
4949 1.1 christos /* linux32_sys_ppoll */
4950 1.1 christos case 309:
4951 1.1 christos switch(ndx) {
4952 1.1 christos case 0:
4953 1.1 christos p = "netbsd32_pollfdp_t";
4954 1.1 christos break;
4955 1.1 christos case 1:
4956 1.1 christos p = "u_int";
4957 1.1 christos break;
4958 1.1 christos case 2:
4959 1.1 christos p = "linux32_timespecp_t";
4960 1.1 christos break;
4961 1.1 christos case 3:
4962 1.1 christos p = "linux32_sigsetp_t";
4963 1.1 christos break;
4964 1.1 christos default:
4965 1.1 christos break;
4966 1.1 christos };
4967 1.1 christos break;
4968 1.8 thorpej /* netbsd32___futex_set_robust_list */
4969 1.1 christos case 311:
4970 1.1 christos switch(ndx) {
4971 1.1 christos case 0:
4972 1.8 thorpej p = "netbsd32_voidp";
4973 1.1 christos break;
4974 1.1 christos case 1:
4975 1.8 thorpej p = "netbsd32_size_t";
4976 1.1 christos break;
4977 1.1 christos default:
4978 1.1 christos break;
4979 1.1 christos };
4980 1.1 christos break;
4981 1.8 thorpej /* netbsd32___futex_get_robust_list */
4982 1.1 christos case 312:
4983 1.1 christos switch(ndx) {
4984 1.1 christos case 0:
4985 1.8 thorpej p = "lwpid_t";
4986 1.1 christos break;
4987 1.1 christos case 1:
4988 1.8 thorpej p = "netbsd32_voidp";
4989 1.1 christos break;
4990 1.1 christos case 2:
4991 1.8 thorpej p = "netbsd32_size_tp";
4992 1.1 christos break;
4993 1.1 christos default:
4994 1.1 christos break;
4995 1.1 christos };
4996 1.1 christos break;
4997 1.1 christos /* linux32_sys_utimensat */
4998 1.1 christos case 320:
4999 1.1 christos switch(ndx) {
5000 1.1 christos case 0:
5001 1.1 christos p = "int";
5002 1.1 christos break;
5003 1.1 christos case 1:
5004 1.1 christos p = "netbsd32_charp";
5005 1.1 christos break;
5006 1.1 christos case 2:
5007 1.1 christos p = "linux32_timespecp_t";
5008 1.1 christos break;
5009 1.1 christos case 3:
5010 1.1 christos p = "int";
5011 1.1 christos break;
5012 1.1 christos default:
5013 1.1 christos break;
5014 1.1 christos };
5015 1.1 christos break;
5016 1.10 thorpej /* linux_sys_timerfd_create */
5017 1.10 thorpej case 322:
5018 1.10 thorpej switch(ndx) {
5019 1.10 thorpej case 0:
5020 1.10 thorpej p = "clockid_t";
5021 1.10 thorpej break;
5022 1.10 thorpej case 1:
5023 1.10 thorpej p = "int";
5024 1.10 thorpej break;
5025 1.10 thorpej default:
5026 1.10 thorpej break;
5027 1.10 thorpej };
5028 1.10 thorpej break;
5029 1.7 jdolecek /* linux32_sys_fallocate */
5030 1.7 jdolecek case 324:
5031 1.7 jdolecek switch(ndx) {
5032 1.7 jdolecek case 0:
5033 1.7 jdolecek p = "int";
5034 1.7 jdolecek break;
5035 1.7 jdolecek case 1:
5036 1.7 jdolecek p = "int";
5037 1.7 jdolecek break;
5038 1.7 jdolecek case 2:
5039 1.7 jdolecek p = "off_t";
5040 1.7 jdolecek break;
5041 1.7 jdolecek case 3:
5042 1.7 jdolecek p = "off_t";
5043 1.7 jdolecek break;
5044 1.7 jdolecek default:
5045 1.7 jdolecek break;
5046 1.7 jdolecek };
5047 1.7 jdolecek break;
5048 1.10 thorpej /* linux32_sys_timerfd_settime */
5049 1.10 thorpej case 325:
5050 1.10 thorpej switch(ndx) {
5051 1.10 thorpej case 0:
5052 1.10 thorpej p = "int";
5053 1.10 thorpej break;
5054 1.10 thorpej case 1:
5055 1.10 thorpej p = "int";
5056 1.10 thorpej break;
5057 1.10 thorpej case 2:
5058 1.10 thorpej p = "const struct linux32_itimerspec *";
5059 1.10 thorpej break;
5060 1.10 thorpej case 3:
5061 1.10 thorpej p = "struct linux32_itimerspec *";
5062 1.10 thorpej break;
5063 1.10 thorpej default:
5064 1.10 thorpej break;
5065 1.10 thorpej };
5066 1.10 thorpej break;
5067 1.10 thorpej /* linux32_sys_timerfd_gettime */
5068 1.10 thorpej case 326:
5069 1.10 thorpej switch(ndx) {
5070 1.10 thorpej case 0:
5071 1.10 thorpej p = "int";
5072 1.10 thorpej break;
5073 1.10 thorpej case 1:
5074 1.10 thorpej p = "struct linux32_itimerspec *";
5075 1.10 thorpej break;
5076 1.10 thorpej default:
5077 1.10 thorpej break;
5078 1.10 thorpej };
5079 1.10 thorpej break;
5080 1.1 christos /* linux32_sys_dup3 */
5081 1.1 christos case 330:
5082 1.1 christos switch(ndx) {
5083 1.1 christos case 0:
5084 1.1 christos p = "int";
5085 1.1 christos break;
5086 1.1 christos case 1:
5087 1.1 christos p = "int";
5088 1.1 christos break;
5089 1.1 christos case 2:
5090 1.1 christos p = "int";
5091 1.1 christos break;
5092 1.1 christos default:
5093 1.1 christos break;
5094 1.1 christos };
5095 1.1 christos break;
5096 1.1 christos /* linux32_sys_pipe2 */
5097 1.1 christos case 331:
5098 1.1 christos switch(ndx) {
5099 1.1 christos case 0:
5100 1.1 christos p = "netbsd32_intp";
5101 1.1 christos break;
5102 1.1 christos case 1:
5103 1.1 christos p = "int";
5104 1.1 christos break;
5105 1.1 christos default:
5106 1.1 christos break;
5107 1.1 christos };
5108 1.1 christos break;
5109 1.1 christos default:
5110 1.1 christos break;
5111 1.1 christos };
5112 1.1 christos if (p != NULL)
5113 1.1 christos strlcpy(desc, p, descsz);
5114 1.1 christos }
5115 1.1 christos static void
5116 1.1 christos systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
5117 1.1 christos {
5118 1.1 christos const char *p = NULL;
5119 1.1 christos switch (sysnum) {
5120 1.1 christos /* linux_sys_nosys */
5121 1.1 christos case 0:
5122 1.1 christos /* linux32_sys_exit */
5123 1.1 christos case 1:
5124 1.1 christos if (ndx == 0 || ndx == 1)
5125 1.1 christos p = "int";
5126 1.1 christos break;
5127 1.1 christos /* sys_fork */
5128 1.1 christos case 2:
5129 1.1 christos /* netbsd32_read */
5130 1.1 christos case 3:
5131 1.1 christos if (ndx == 0 || ndx == 1)
5132 1.1 christos p = "netbsd32_ssize_t";
5133 1.1 christos break;
5134 1.1 christos /* netbsd32_write */
5135 1.1 christos case 4:
5136 1.1 christos if (ndx == 0 || ndx == 1)
5137 1.1 christos p = "netbsd32_ssize_t";
5138 1.1 christos break;
5139 1.1 christos /* linux32_sys_open */
5140 1.1 christos case 5:
5141 1.1 christos if (ndx == 0 || ndx == 1)
5142 1.1 christos p = "int";
5143 1.1 christos break;
5144 1.1 christos /* netbsd32_close */
5145 1.1 christos case 6:
5146 1.1 christos if (ndx == 0 || ndx == 1)
5147 1.1 christos p = "int";
5148 1.1 christos break;
5149 1.1 christos /* linux32_sys_waitpid */
5150 1.1 christos case 7:
5151 1.1 christos if (ndx == 0 || ndx == 1)
5152 1.1 christos p = "int";
5153 1.1 christos break;
5154 1.1 christos /* linux32_sys_creat */
5155 1.1 christos case 8:
5156 1.1 christos if (ndx == 0 || ndx == 1)
5157 1.1 christos p = "int";
5158 1.1 christos break;
5159 1.1 christos /* netbsd32_link */
5160 1.1 christos case 9:
5161 1.1 christos if (ndx == 0 || ndx == 1)
5162 1.1 christos p = "int";
5163 1.1 christos break;
5164 1.1 christos /* linux32_sys_unlink */
5165 1.1 christos case 10:
5166 1.1 christos if (ndx == 0 || ndx == 1)
5167 1.1 christos p = "int";
5168 1.1 christos break;
5169 1.1 christos /* netbsd32_execve */
5170 1.1 christos case 11:
5171 1.1 christos if (ndx == 0 || ndx == 1)
5172 1.1 christos p = "int";
5173 1.1 christos break;
5174 1.1 christos /* netbsd32_chdir */
5175 1.1 christos case 12:
5176 1.1 christos if (ndx == 0 || ndx == 1)
5177 1.1 christos p = "int";
5178 1.1 christos break;
5179 1.1 christos /* linux32_sys_time */
5180 1.1 christos case 13:
5181 1.1 christos if (ndx == 0 || ndx == 1)
5182 1.1 christos p = "int";
5183 1.1 christos break;
5184 1.1 christos /* linux32_sys_mknod */
5185 1.1 christos case 14:
5186 1.1 christos if (ndx == 0 || ndx == 1)
5187 1.1 christos p = "int";
5188 1.1 christos break;
5189 1.1 christos /* netbsd32_chmod */
5190 1.1 christos case 15:
5191 1.1 christos if (ndx == 0 || ndx == 1)
5192 1.1 christos p = "int";
5193 1.1 christos break;
5194 1.1 christos /* linux32_sys_lchown16 */
5195 1.1 christos case 16:
5196 1.1 christos if (ndx == 0 || ndx == 1)
5197 1.1 christos p = "int";
5198 1.1 christos break;
5199 1.1 christos /* linux32_sys_break */
5200 1.1 christos case 17:
5201 1.1 christos if (ndx == 0 || ndx == 1)
5202 1.1 christos p = "int";
5203 1.1 christos break;
5204 1.1 christos /* compat_43_netbsd32_olseek */
5205 1.1 christos case 19:
5206 1.1 christos if (ndx == 0 || ndx == 1)
5207 1.1 christos p = "netbsd32_long";
5208 1.1 christos break;
5209 1.1 christos /* sys_getpid */
5210 1.1 christos case 20:
5211 1.1 christos /* netbsd32_setuid */
5212 1.1 christos case 23:
5213 1.1 christos if (ndx == 0 || ndx == 1)
5214 1.1 christos p = "int";
5215 1.1 christos break;
5216 1.1 christos /* sys_getuid */
5217 1.1 christos case 24:
5218 1.1 christos /* linux32_sys_stime */
5219 1.1 christos case 25:
5220 1.1 christos if (ndx == 0 || ndx == 1)
5221 1.1 christos p = "int";
5222 1.1 christos break;
5223 1.1 christos /* linux32_sys_ptrace */
5224 1.1 christos case 26:
5225 1.1 christos if (ndx == 0 || ndx == 1)
5226 1.1 christos p = "int";
5227 1.1 christos break;
5228 1.1 christos /* linux32_sys_alarm */
5229 1.1 christos case 27:
5230 1.1 christos if (ndx == 0 || ndx == 1)
5231 1.1 christos p = "int";
5232 1.1 christos break;
5233 1.1 christos /* linux_sys_pause */
5234 1.1 christos case 29:
5235 1.1 christos /* linux32_sys_utime */
5236 1.1 christos case 30:
5237 1.1 christos if (ndx == 0 || ndx == 1)
5238 1.1 christos p = "int";
5239 1.1 christos break;
5240 1.1 christos /* netbsd32_access */
5241 1.1 christos case 33:
5242 1.1 christos if (ndx == 0 || ndx == 1)
5243 1.1 christos p = "int";
5244 1.1 christos break;
5245 1.1 christos /* linux32_sys_nice */
5246 1.1 christos case 34:
5247 1.1 christos if (ndx == 0 || ndx == 1)
5248 1.1 christos p = "int";
5249 1.1 christos break;
5250 1.1 christos /* sys_sync */
5251 1.1 christos case 36:
5252 1.1 christos /* linux32_sys_kill */
5253 1.1 christos case 37:
5254 1.1 christos if (ndx == 0 || ndx == 1)
5255 1.1 christos p = "int";
5256 1.1 christos break;
5257 1.1 christos /* netbsd32___posix_rename */
5258 1.1 christos case 38:
5259 1.1 christos if (ndx == 0 || ndx == 1)
5260 1.1 christos p = "int";
5261 1.1 christos break;
5262 1.1 christos /* netbsd32_mkdir */
5263 1.1 christos case 39:
5264 1.1 christos if (ndx == 0 || ndx == 1)
5265 1.1 christos p = "int";
5266 1.1 christos break;
5267 1.1 christos /* netbsd32_rmdir */
5268 1.1 christos case 40:
5269 1.1 christos if (ndx == 0 || ndx == 1)
5270 1.1 christos p = "int";
5271 1.1 christos break;
5272 1.1 christos /* netbsd32_dup */
5273 1.1 christos case 41:
5274 1.1 christos if (ndx == 0 || ndx == 1)
5275 1.1 christos p = "int";
5276 1.1 christos break;
5277 1.1 christos /* linux32_sys_pipe */
5278 1.1 christos case 42:
5279 1.1 christos if (ndx == 0 || ndx == 1)
5280 1.1 christos p = "int";
5281 1.1 christos break;
5282 1.1 christos /* linux32_sys_times */
5283 1.1 christos case 43:
5284 1.1 christos if (ndx == 0 || ndx == 1)
5285 1.1 christos p = "int";
5286 1.1 christos break;
5287 1.1 christos /* linux32_sys_brk */
5288 1.1 christos case 45:
5289 1.1 christos if (ndx == 0 || ndx == 1)
5290 1.1 christos p = "int";
5291 1.1 christos break;
5292 1.1 christos /* netbsd32_setgid */
5293 1.1 christos case 46:
5294 1.1 christos if (ndx == 0 || ndx == 1)
5295 1.1 christos p = "int";
5296 1.1 christos break;
5297 1.1 christos /* sys_getgid */
5298 1.1 christos case 47:
5299 1.1 christos /* linux32_sys_signal */
5300 1.1 christos case 48:
5301 1.1 christos if (ndx == 0 || ndx == 1)
5302 1.1 christos p = "int";
5303 1.1 christos break;
5304 1.1 christos /* sys_geteuid */
5305 1.1 christos case 49:
5306 1.1 christos /* sys_getegid */
5307 1.1 christos case 50:
5308 1.1 christos /* netbsd32_acct */
5309 1.1 christos case 51:
5310 1.1 christos if (ndx == 0 || ndx == 1)
5311 1.1 christos p = "int";
5312 1.1 christos break;
5313 1.1 christos /* linux32_sys_ioctl */
5314 1.1 christos case 54:
5315 1.1 christos if (ndx == 0 || ndx == 1)
5316 1.1 christos p = "int";
5317 1.1 christos break;
5318 1.1 christos /* linux32_sys_fcntl */
5319 1.1 christos case 55:
5320 1.1 christos if (ndx == 0 || ndx == 1)
5321 1.1 christos p = "int";
5322 1.1 christos break;
5323 1.1 christos /* netbsd32_setpgid */
5324 1.1 christos case 57:
5325 1.1 christos if (ndx == 0 || ndx == 1)
5326 1.1 christos p = "int";
5327 1.1 christos break;
5328 1.1 christos /* linux32_sys_oldolduname */
5329 1.1 christos case 59:
5330 1.1 christos if (ndx == 0 || ndx == 1)
5331 1.1 christos p = "int";
5332 1.1 christos break;
5333 1.1 christos /* netbsd32_umask */
5334 1.1 christos case 60:
5335 1.1 christos if (ndx == 0 || ndx == 1)
5336 1.1 christos p = "int";
5337 1.1 christos break;
5338 1.1 christos /* netbsd32_chroot */
5339 1.1 christos case 61:
5340 1.1 christos if (ndx == 0 || ndx == 1)
5341 1.1 christos p = "int";
5342 1.1 christos break;
5343 1.1 christos /* netbsd32_dup2 */
5344 1.1 christos case 63:
5345 1.1 christos if (ndx == 0 || ndx == 1)
5346 1.1 christos p = "int";
5347 1.1 christos break;
5348 1.1 christos /* sys_getppid */
5349 1.1 christos case 64:
5350 1.1 christos /* sys_getpgrp */
5351 1.1 christos case 65:
5352 1.1 christos /* sys_setsid */
5353 1.1 christos case 66:
5354 1.1 christos /* linux32_sys_siggetmask */
5355 1.1 christos case 68:
5356 1.1 christos /* linux32_sys_sigsetmask */
5357 1.1 christos case 69:
5358 1.1 christos if (ndx == 0 || ndx == 1)
5359 1.1 christos p = "int";
5360 1.1 christos break;
5361 1.1 christos /* linux32_sys_setreuid16 */
5362 1.1 christos case 70:
5363 1.1 christos if (ndx == 0 || ndx == 1)
5364 1.1 christos p = "int";
5365 1.1 christos break;
5366 1.1 christos /* linux32_sys_setregid16 */
5367 1.1 christos case 71:
5368 1.1 christos if (ndx == 0 || ndx == 1)
5369 1.1 christos p = "int";
5370 1.1 christos break;
5371 1.1 christos /* compat_43_netbsd32_osethostname */
5372 1.1 christos case 74:
5373 1.1 christos if (ndx == 0 || ndx == 1)
5374 1.1 christos p = "int";
5375 1.1 christos break;
5376 1.1 christos /* linux32_sys_setrlimit */
5377 1.1 christos case 75:
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_getrlimit */
5382 1.1 christos case 76:
5383 1.1 christos if (ndx == 0 || ndx == 1)
5384 1.1 christos p = "int";
5385 1.1 christos break;
5386 1.1 christos /* compat_50_netbsd32_getrusage */
5387 1.1 christos case 77:
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_gettimeofday */
5392 1.1 christos case 78:
5393 1.1 christos if (ndx == 0 || ndx == 1)
5394 1.1 christos p = "int";
5395 1.1 christos break;
5396 1.1 christos /* linux32_sys_settimeofday */
5397 1.1 christos case 79:
5398 1.1 christos if (ndx == 0 || ndx == 1)
5399 1.1 christos p = "int";
5400 1.1 christos break;
5401 1.1 christos /* linux32_sys_getgroups16 */
5402 1.1 christos case 80:
5403 1.1 christos if (ndx == 0 || ndx == 1)
5404 1.1 christos p = "int";
5405 1.1 christos break;
5406 1.1 christos /* linux32_sys_setgroups16 */
5407 1.1 christos case 81:
5408 1.1 christos if (ndx == 0 || ndx == 1)
5409 1.1 christos p = "int";
5410 1.1 christos break;
5411 1.1 christos /* linux32_sys_oldselect */
5412 1.1 christos case 82:
5413 1.1 christos if (ndx == 0 || ndx == 1)
5414 1.1 christos p = "int";
5415 1.1 christos break;
5416 1.1 christos /* netbsd32_symlink */
5417 1.1 christos case 83:
5418 1.1 christos if (ndx == 0 || ndx == 1)
5419 1.1 christos p = "int";
5420 1.1 christos break;
5421 1.1 christos /* compat_43_netbsd32_lstat43 */
5422 1.1 christos case 84:
5423 1.1 christos if (ndx == 0 || ndx == 1)
5424 1.1 christos p = "int";
5425 1.1 christos break;
5426 1.1 christos /* netbsd32_readlink */
5427 1.1 christos case 85:
5428 1.1 christos if (ndx == 0 || ndx == 1)
5429 1.1 christos p = "int";
5430 1.1 christos break;
5431 1.1 christos /* linux32_sys_swapon */
5432 1.1 christos case 87:
5433 1.1 christos if (ndx == 0 || ndx == 1)
5434 1.1 christos p = "int";
5435 1.1 christos break;
5436 1.1 christos /* linux32_sys_reboot */
5437 1.1 christos case 88:
5438 1.1 christos if (ndx == 0 || ndx == 1)
5439 1.1 christos p = "int";
5440 1.1 christos break;
5441 1.1 christos /* linux32_sys_readdir */
5442 1.1 christos case 89:
5443 1.1 christos if (ndx == 0 || ndx == 1)
5444 1.1 christos p = "int";
5445 1.1 christos break;
5446 1.1 christos /* linux32_sys_old_mmap */
5447 1.1 christos case 90:
5448 1.1 christos if (ndx == 0 || ndx == 1)
5449 1.1 christos p = "int";
5450 1.1 christos break;
5451 1.1 christos /* netbsd32_munmap */
5452 1.1 christos case 91:
5453 1.1 christos if (ndx == 0 || ndx == 1)
5454 1.1 christos p = "int";
5455 1.1 christos break;
5456 1.1 christos /* compat_43_netbsd32_otruncate */
5457 1.1 christos case 92:
5458 1.1 christos if (ndx == 0 || ndx == 1)
5459 1.1 christos p = "int";
5460 1.1 christos break;
5461 1.1 christos /* compat_43_netbsd32_oftruncate */
5462 1.1 christos case 93:
5463 1.1 christos if (ndx == 0 || ndx == 1)
5464 1.1 christos p = "int";
5465 1.1 christos break;
5466 1.1 christos /* netbsd32_fchmod */
5467 1.1 christos case 94:
5468 1.1 christos if (ndx == 0 || ndx == 1)
5469 1.1 christos p = "int";
5470 1.1 christos break;
5471 1.1 christos /* linux32_sys_fchown16 */
5472 1.1 christos case 95:
5473 1.1 christos if (ndx == 0 || ndx == 1)
5474 1.1 christos p = "int";
5475 1.1 christos break;
5476 1.1 christos /* linux32_sys_getpriority */
5477 1.1 christos case 96:
5478 1.1 christos if (ndx == 0 || ndx == 1)
5479 1.1 christos p = "int";
5480 1.1 christos break;
5481 1.1 christos /* netbsd32_setpriority */
5482 1.1 christos case 97:
5483 1.1 christos if (ndx == 0 || ndx == 1)
5484 1.1 christos p = "int";
5485 1.1 christos break;
5486 1.1 christos /* netbsd32_profil */
5487 1.1 christos case 98:
5488 1.1 christos if (ndx == 0 || ndx == 1)
5489 1.1 christos p = "int";
5490 1.1 christos break;
5491 1.1 christos /* linux32_sys_statfs */
5492 1.1 christos case 99:
5493 1.1 christos if (ndx == 0 || ndx == 1)
5494 1.1 christos p = "int";
5495 1.1 christos break;
5496 1.1 christos /* linux32_sys_fstatfs */
5497 1.1 christos case 100:
5498 1.1 christos if (ndx == 0 || ndx == 1)
5499 1.1 christos p = "int";
5500 1.1 christos break;
5501 1.1 christos /* linux_sys_ioperm */
5502 1.1 christos case 101:
5503 1.1 christos if (ndx == 0 || ndx == 1)
5504 1.1 christos p = "int";
5505 1.1 christos break;
5506 1.1 christos /* linux32_sys_socketcall */
5507 1.1 christos case 102:
5508 1.1 christos if (ndx == 0 || ndx == 1)
5509 1.1 christos p = "int";
5510 1.1 christos break;
5511 1.1 christos /* compat_50_netbsd32_setitimer */
5512 1.1 christos case 104:
5513 1.1 christos if (ndx == 0 || ndx == 1)
5514 1.1 christos p = "int";
5515 1.1 christos break;
5516 1.1 christos /* compat_50_netbsd32_getitimer */
5517 1.1 christos case 105:
5518 1.1 christos if (ndx == 0 || ndx == 1)
5519 1.1 christos p = "int";
5520 1.1 christos break;
5521 1.1 christos /* linux32_sys_stat */
5522 1.1 christos case 106:
5523 1.1 christos if (ndx == 0 || ndx == 1)
5524 1.1 christos p = "int";
5525 1.1 christos break;
5526 1.1 christos /* linux32_sys_lstat */
5527 1.1 christos case 107:
5528 1.1 christos if (ndx == 0 || ndx == 1)
5529 1.1 christos p = "int";
5530 1.1 christos break;
5531 1.1 christos /* linux32_sys_fstat */
5532 1.1 christos case 108:
5533 1.1 christos if (ndx == 0 || ndx == 1)
5534 1.1 christos p = "int";
5535 1.1 christos break;
5536 1.1 christos /* linux32_sys_olduname */
5537 1.1 christos case 109:
5538 1.1 christos if (ndx == 0 || ndx == 1)
5539 1.1 christos p = "int";
5540 1.1 christos break;
5541 1.1 christos /* linux_sys_iopl */
5542 1.1 christos case 110:
5543 1.1 christos if (ndx == 0 || ndx == 1)
5544 1.1 christos p = "int";
5545 1.1 christos break;
5546 1.1 christos /* linux32_sys_wait4 */
5547 1.1 christos case 114:
5548 1.1 christos if (ndx == 0 || ndx == 1)
5549 1.1 christos p = "int";
5550 1.1 christos break;
5551 1.1 christos /* linux32_sys_swapoff */
5552 1.1 christos case 115:
5553 1.1 christos if (ndx == 0 || ndx == 1)
5554 1.1 christos p = "int";
5555 1.1 christos break;
5556 1.1 christos /* linux32_sys_sysinfo */
5557 1.1 christos case 116:
5558 1.1 christos if (ndx == 0 || ndx == 1)
5559 1.1 christos p = "int";
5560 1.1 christos break;
5561 1.1 christos /* linux32_sys_ipc */
5562 1.1 christos case 117:
5563 1.1 christos if (ndx == 0 || ndx == 1)
5564 1.1 christos p = "int";
5565 1.1 christos break;
5566 1.1 christos /* netbsd32_fsync */
5567 1.1 christos case 118:
5568 1.1 christos if (ndx == 0 || ndx == 1)
5569 1.1 christos p = "int";
5570 1.1 christos break;
5571 1.1 christos /* linux32_sys_sigreturn */
5572 1.1 christos case 119:
5573 1.1 christos if (ndx == 0 || ndx == 1)
5574 1.1 christos p = "int";
5575 1.1 christos break;
5576 1.1 christos /* linux32_sys_clone */
5577 1.1 christos case 120:
5578 1.1 christos if (ndx == 0 || ndx == 1)
5579 1.1 christos p = "int";
5580 1.1 christos break;
5581 1.1 christos /* linux32_sys_setdomainname */
5582 1.1 christos case 121:
5583 1.1 christos if (ndx == 0 || ndx == 1)
5584 1.1 christos p = "int";
5585 1.1 christos break;
5586 1.1 christos /* linux32_sys_uname */
5587 1.1 christos case 122:
5588 1.1 christos if (ndx == 0 || ndx == 1)
5589 1.1 christos p = "int";
5590 1.1 christos break;
5591 1.1 christos /* linux32_sys_modify_ldt */
5592 1.1 christos case 123:
5593 1.1 christos if (ndx == 0 || ndx == 1)
5594 1.1 christos p = "int";
5595 1.1 christos break;
5596 1.1 christos /* linux32_sys_mprotect */
5597 1.1 christos case 125:
5598 1.1 christos if (ndx == 0 || ndx == 1)
5599 1.1 christos p = "int";
5600 1.1 christos break;
5601 1.1 christos /* netbsd32_getpgid */
5602 1.1 christos case 132:
5603 1.1 christos if (ndx == 0 || ndx == 1)
5604 1.1 christos p = "int";
5605 1.1 christos break;
5606 1.1 christos /* netbsd32_fchdir */
5607 1.1 christos case 133:
5608 1.1 christos if (ndx == 0 || ndx == 1)
5609 1.1 christos p = "int";
5610 1.1 christos break;
5611 1.1 christos /* linux32_sys_personality */
5612 1.1 christos case 136:
5613 1.1 christos if (ndx == 0 || ndx == 1)
5614 1.1 christos p = "int";
5615 1.1 christos break;
5616 1.1 christos /* linux32_sys_setfsuid */
5617 1.1 christos case 138:
5618 1.1 christos if (ndx == 0 || ndx == 1)
5619 1.1 christos p = "int";
5620 1.1 christos break;
5621 1.1 christos /* linux32_sys_setfsgid */
5622 1.1 christos case 139:
5623 1.1 christos if (ndx == 0 || ndx == 1)
5624 1.1 christos p = "int";
5625 1.1 christos break;
5626 1.1 christos /* linux32_sys_llseek */
5627 1.1 christos case 140:
5628 1.1 christos if (ndx == 0 || ndx == 1)
5629 1.1 christos p = "int";
5630 1.1 christos break;
5631 1.1 christos /* linux32_sys_getdents */
5632 1.1 christos case 141:
5633 1.1 christos if (ndx == 0 || ndx == 1)
5634 1.1 christos p = "int";
5635 1.1 christos break;
5636 1.1 christos /* linux32_sys_select */
5637 1.1 christos case 142:
5638 1.1 christos if (ndx == 0 || ndx == 1)
5639 1.1 christos p = "int";
5640 1.1 christos break;
5641 1.1 christos /* netbsd32_flock */
5642 1.1 christos case 143:
5643 1.1 christos if (ndx == 0 || ndx == 1)
5644 1.1 christos p = "int";
5645 1.1 christos break;
5646 1.1 christos /* netbsd32___msync13 */
5647 1.1 christos case 144:
5648 1.1 christos if (ndx == 0 || ndx == 1)
5649 1.1 christos p = "int";
5650 1.1 christos break;
5651 1.1 christos /* netbsd32_readv */
5652 1.1 christos case 145:
5653 1.1 christos if (ndx == 0 || ndx == 1)
5654 1.1 christos p = "int";
5655 1.1 christos break;
5656 1.1 christos /* netbsd32_writev */
5657 1.1 christos case 146:
5658 1.1 christos if (ndx == 0 || ndx == 1)
5659 1.1 christos p = "netbsd32_ssize_t";
5660 1.1 christos break;
5661 1.1 christos /* netbsd32_getsid */
5662 1.1 christos case 147:
5663 1.1 christos if (ndx == 0 || ndx == 1)
5664 1.1 christos p = "pid_t";
5665 1.1 christos break;
5666 1.1 christos /* linux32_sys_fdatasync */
5667 1.1 christos case 148:
5668 1.1 christos if (ndx == 0 || ndx == 1)
5669 1.1 christos p = "int";
5670 1.1 christos break;
5671 1.1 christos /* linux32_sys___sysctl */
5672 1.1 christos case 149:
5673 1.1 christos if (ndx == 0 || ndx == 1)
5674 1.1 christos p = "int";
5675 1.1 christos break;
5676 1.1 christos /* netbsd32_mlock */
5677 1.1 christos case 150:
5678 1.1 christos if (ndx == 0 || ndx == 1)
5679 1.1 christos p = "int";
5680 1.1 christos break;
5681 1.1 christos /* netbsd32_munlock */
5682 1.1 christos case 151:
5683 1.1 christos if (ndx == 0 || ndx == 1)
5684 1.1 christos p = "int";
5685 1.1 christos break;
5686 1.1 christos /* netbsd32_mlockall */
5687 1.1 christos case 152:
5688 1.1 christos if (ndx == 0 || ndx == 1)
5689 1.1 christos p = "int";
5690 1.1 christos break;
5691 1.1 christos /* sys_munlockall */
5692 1.1 christos case 153:
5693 1.1 christos /* linux32_sys_sched_setparam */
5694 1.1 christos case 154:
5695 1.1 christos if (ndx == 0 || ndx == 1)
5696 1.1 christos p = "int";
5697 1.1 christos break;
5698 1.1 christos /* linux32_sys_sched_getparam */
5699 1.1 christos case 155:
5700 1.1 christos if (ndx == 0 || ndx == 1)
5701 1.1 christos p = "int";
5702 1.1 christos break;
5703 1.1 christos /* linux32_sys_sched_setscheduler */
5704 1.1 christos case 156:
5705 1.1 christos if (ndx == 0 || ndx == 1)
5706 1.1 christos p = "int";
5707 1.1 christos break;
5708 1.1 christos /* linux32_sys_sched_getscheduler */
5709 1.1 christos case 157:
5710 1.1 christos if (ndx == 0 || ndx == 1)
5711 1.1 christos p = "int";
5712 1.1 christos break;
5713 1.1 christos /* linux_sys_sched_yield */
5714 1.1 christos case 158:
5715 1.1 christos /* linux32_sys_sched_get_priority_max */
5716 1.1 christos case 159:
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_sched_get_priority_min */
5721 1.1 christos case 160:
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_nanosleep */
5726 1.1 christos case 162:
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_mremap */
5731 1.1 christos case 163:
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_setresuid16 */
5736 1.1 christos case 164:
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_getresuid16 */
5741 1.1 christos case 165:
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_poll */
5746 1.1 christos case 168:
5747 1.1 christos if (ndx == 0 || ndx == 1)
5748 1.1 christos p = "int";
5749 1.1 christos break;
5750 1.1 christos /* linux32_sys_setresgid16 */
5751 1.1 christos case 170:
5752 1.1 christos if (ndx == 0 || ndx == 1)
5753 1.1 christos p = "int";
5754 1.1 christos break;
5755 1.1 christos /* linux32_sys_getresgid16 */
5756 1.1 christos case 171:
5757 1.1 christos if (ndx == 0 || ndx == 1)
5758 1.1 christos p = "int";
5759 1.1 christos break;
5760 1.1 christos /* linux32_sys_rt_sigreturn */
5761 1.1 christos case 173:
5762 1.1 christos if (ndx == 0 || ndx == 1)
5763 1.1 christos p = "int";
5764 1.1 christos break;
5765 1.1 christos /* linux32_sys_rt_sigaction */
5766 1.1 christos case 174:
5767 1.1 christos if (ndx == 0 || ndx == 1)
5768 1.1 christos p = "int";
5769 1.1 christos break;
5770 1.1 christos /* linux32_sys_rt_sigprocmask */
5771 1.1 christos case 175:
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_rt_sigpending */
5776 1.1 christos case 176:
5777 1.1 christos if (ndx == 0 || ndx == 1)
5778 1.1 christos p = "int";
5779 1.1 christos break;
5780 1.1 christos /* linux32_sys_rt_sigtimedwait */
5781 1.1 christos case 177:
5782 1.1 christos if (ndx == 0 || ndx == 1)
5783 1.1 christos p = "int";
5784 1.1 christos break;
5785 1.1 christos /* linux32_sys_rt_queueinfo */
5786 1.1 christos case 178:
5787 1.1 christos if (ndx == 0 || ndx == 1)
5788 1.1 christos p = "int";
5789 1.1 christos break;
5790 1.1 christos /* linux32_sys_rt_sigsuspend */
5791 1.1 christos case 179:
5792 1.1 christos if (ndx == 0 || ndx == 1)
5793 1.1 christos p = "int";
5794 1.1 christos break;
5795 1.1 christos /* linux32_sys_pread */
5796 1.1 christos case 180:
5797 1.1 christos if (ndx == 0 || ndx == 1)
5798 1.1 christos p = "netbsd32_ssize_t";
5799 1.1 christos break;
5800 1.1 christos /* linux32_sys_pwrite */
5801 1.1 christos case 181:
5802 1.1 christos if (ndx == 0 || ndx == 1)
5803 1.1 christos p = "netbsd32_ssize_t";
5804 1.1 christos break;
5805 1.1 christos /* linux32_sys_chown16 */
5806 1.1 christos case 182:
5807 1.1 christos if (ndx == 0 || ndx == 1)
5808 1.1 christos p = "int";
5809 1.1 christos break;
5810 1.1 christos /* netbsd32___getcwd */
5811 1.1 christos case 183:
5812 1.1 christos if (ndx == 0 || ndx == 1)
5813 1.1 christos p = "int";
5814 1.1 christos break;
5815 1.1 christos /* sys___vfork14 */
5816 1.1 christos case 190:
5817 1.1 christos /* linux32_sys_ugetrlimit */
5818 1.1 christos case 191:
5819 1.1 christos if (ndx == 0 || ndx == 1)
5820 1.1 christos p = "int";
5821 1.1 christos break;
5822 1.1 christos /* linux32_sys_mmap2 */
5823 1.1 christos case 192:
5824 1.1 christos if (ndx == 0 || ndx == 1)
5825 1.1 christos p = "linux32_off_t";
5826 1.1 christos break;
5827 1.1 christos /* linux32_sys_truncate64 */
5828 1.1 christos case 193:
5829 1.1 christos if (ndx == 0 || ndx == 1)
5830 1.1 christos p = "int";
5831 1.1 christos break;
5832 1.1 christos /* linux32_sys_ftruncate64 */
5833 1.1 christos case 194:
5834 1.1 christos if (ndx == 0 || ndx == 1)
5835 1.1 christos p = "int";
5836 1.1 christos break;
5837 1.1 christos /* linux32_sys_stat64 */
5838 1.1 christos case 195:
5839 1.1 christos if (ndx == 0 || ndx == 1)
5840 1.1 christos p = "int";
5841 1.1 christos break;
5842 1.1 christos /* linux32_sys_lstat64 */
5843 1.1 christos case 196:
5844 1.1 christos if (ndx == 0 || ndx == 1)
5845 1.1 christos p = "int";
5846 1.1 christos break;
5847 1.1 christos /* linux32_sys_fstat64 */
5848 1.1 christos case 197:
5849 1.1 christos if (ndx == 0 || ndx == 1)
5850 1.1 christos p = "int";
5851 1.1 christos break;
5852 1.1 christos /* netbsd32___posix_lchown */
5853 1.1 christos case 198:
5854 1.1 christos if (ndx == 0 || ndx == 1)
5855 1.1 christos p = "int";
5856 1.1 christos break;
5857 1.1 christos /* sys_getuid */
5858 1.1 christos case 199:
5859 1.1 christos /* sys_getgid */
5860 1.1 christos case 200:
5861 1.1 christos /* sys_geteuid */
5862 1.1 christos case 201:
5863 1.1 christos /* sys_getegid */
5864 1.1 christos case 202:
5865 1.1 christos /* netbsd32_setreuid */
5866 1.1 christos case 203:
5867 1.1 christos if (ndx == 0 || ndx == 1)
5868 1.1 christos p = "int";
5869 1.1 christos break;
5870 1.1 christos /* netbsd32_setregid */
5871 1.1 christos case 204:
5872 1.1 christos if (ndx == 0 || ndx == 1)
5873 1.1 christos p = "int";
5874 1.1 christos break;
5875 1.1 christos /* netbsd32_getgroups */
5876 1.1 christos case 205:
5877 1.1 christos if (ndx == 0 || ndx == 1)
5878 1.1 christos p = "int";
5879 1.1 christos break;
5880 1.1 christos /* netbsd32_setgroups */
5881 1.1 christos case 206:
5882 1.1 christos if (ndx == 0 || ndx == 1)
5883 1.1 christos p = "int";
5884 1.1 christos break;
5885 1.1 christos /* netbsd32___posix_fchown */
5886 1.1 christos case 207:
5887 1.1 christos if (ndx == 0 || ndx == 1)
5888 1.1 christos p = "int";
5889 1.1 christos break;
5890 1.1 christos /* linux32_sys_setresuid */
5891 1.1 christos case 208:
5892 1.1 christos if (ndx == 0 || ndx == 1)
5893 1.1 christos p = "int";
5894 1.1 christos break;
5895 1.1 christos /* linux32_sys_getresuid */
5896 1.1 christos case 209:
5897 1.1 christos if (ndx == 0 || ndx == 1)
5898 1.1 christos p = "int";
5899 1.1 christos break;
5900 1.1 christos /* linux32_sys_setresgid */
5901 1.1 christos case 210:
5902 1.1 christos if (ndx == 0 || ndx == 1)
5903 1.1 christos p = "int";
5904 1.1 christos break;
5905 1.1 christos /* linux32_sys_getresgid */
5906 1.1 christos case 211:
5907 1.1 christos if (ndx == 0 || ndx == 1)
5908 1.1 christos p = "int";
5909 1.1 christos break;
5910 1.1 christos /* netbsd32___posix_chown */
5911 1.1 christos case 212:
5912 1.1 christos if (ndx == 0 || ndx == 1)
5913 1.1 christos p = "int";
5914 1.1 christos break;
5915 1.1 christos /* netbsd32_setuid */
5916 1.1 christos case 213:
5917 1.1 christos if (ndx == 0 || ndx == 1)
5918 1.1 christos p = "int";
5919 1.1 christos break;
5920 1.1 christos /* netbsd32_setgid */
5921 1.1 christos case 214:
5922 1.1 christos if (ndx == 0 || ndx == 1)
5923 1.1 christos p = "int";
5924 1.1 christos break;
5925 1.1 christos /* linux32_sys_setfsuid */
5926 1.1 christos case 215:
5927 1.1 christos if (ndx == 0 || ndx == 1)
5928 1.1 christos p = "int";
5929 1.1 christos break;
5930 1.1 christos /* linux32_sys_setfsgid */
5931 1.1 christos case 216:
5932 1.1 christos if (ndx == 0 || ndx == 1)
5933 1.1 christos p = "int";
5934 1.1 christos break;
5935 1.1 christos /* netbsd32_mincore */
5936 1.1 christos case 218:
5937 1.1 christos if (ndx == 0 || ndx == 1)
5938 1.1 christos p = "int";
5939 1.1 christos break;
5940 1.1 christos /* netbsd32_madvise */
5941 1.1 christos case 219:
5942 1.1 christos if (ndx == 0 || ndx == 1)
5943 1.1 christos p = "int";
5944 1.1 christos break;
5945 1.1 christos /* linux32_sys_getdents64 */
5946 1.1 christos case 220:
5947 1.1 christos if (ndx == 0 || ndx == 1)
5948 1.1 christos p = "int";
5949 1.1 christos break;
5950 1.1 christos #define linux32_sys_fcntl64 linux32_sys_fcntl
5951 1.1 christos #define linux32_sys_fcntl64_args linux32_sys_fcntl_args
5952 1.1 christos /* linux32_sys_fcntl64 */
5953 1.1 christos case 221:
5954 1.1 christos if (ndx == 0 || ndx == 1)
5955 1.1 christos p = "int";
5956 1.1 christos break;
5957 1.1 christos /* linux_sys_gettid */
5958 1.1 christos case 224:
5959 1.1 christos /* netbsd32_setxattr */
5960 1.1 christos case 226:
5961 1.1 christos if (ndx == 0 || ndx == 1)
5962 1.1 christos p = "int";
5963 1.1 christos break;
5964 1.1 christos /* netbsd32_lsetxattr */
5965 1.1 christos case 227:
5966 1.1 christos if (ndx == 0 || ndx == 1)
5967 1.1 christos p = "int";
5968 1.1 christos break;
5969 1.1 christos /* netbsd32_fsetxattr */
5970 1.1 christos case 228:
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_getxattr */
5975 1.1 christos case 229:
5976 1.1 christos if (ndx == 0 || ndx == 1)
5977 1.1 christos p = "ssize_t";
5978 1.1 christos break;
5979 1.1 christos /* netbsd32_lgetxattr */
5980 1.1 christos case 230:
5981 1.1 christos if (ndx == 0 || ndx == 1)
5982 1.1 christos p = "ssize_t";
5983 1.1 christos break;
5984 1.1 christos /* netbsd32_fgetxattr */
5985 1.1 christos case 231:
5986 1.1 christos if (ndx == 0 || ndx == 1)
5987 1.1 christos p = "ssize_t";
5988 1.1 christos break;
5989 1.1 christos /* netbsd32_listxattr */
5990 1.1 christos case 232:
5991 1.1 christos if (ndx == 0 || ndx == 1)
5992 1.1 christos p = "ssize_t";
5993 1.1 christos break;
5994 1.1 christos /* netbsd32_llistxattr */
5995 1.1 christos case 233:
5996 1.1 christos if (ndx == 0 || ndx == 1)
5997 1.1 christos p = "ssize_t";
5998 1.1 christos break;
5999 1.1 christos /* netbsd32_flistxattr */
6000 1.1 christos case 234:
6001 1.1 christos if (ndx == 0 || ndx == 1)
6002 1.1 christos p = "ssize_t";
6003 1.1 christos break;
6004 1.1 christos /* netbsd32_removexattr */
6005 1.1 christos case 235:
6006 1.1 christos if (ndx == 0 || ndx == 1)
6007 1.1 christos p = "int";
6008 1.1 christos break;
6009 1.1 christos /* netbsd32_lremovexattr */
6010 1.1 christos case 236:
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_fremovexattr */
6015 1.1 christos case 237:
6016 1.1 christos if (ndx == 0 || ndx == 1)
6017 1.1 christos p = "int";
6018 1.1 christos break;
6019 1.1 christos /* linux32_sys_tkill */
6020 1.1 christos case 238:
6021 1.1 christos if (ndx == 0 || ndx == 1)
6022 1.1 christos p = "int";
6023 1.1 christos break;
6024 1.1 christos /* linux32_sys_futex */
6025 1.1 christos case 240:
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_sched_setaffinity */
6030 1.1 christos case 241:
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_sched_getaffinity */
6035 1.1 christos case 242:
6036 1.1 christos if (ndx == 0 || ndx == 1)
6037 1.1 christos p = "int";
6038 1.1 christos break;
6039 1.1 christos /* linux32_sys_set_thread_area */
6040 1.1 christos case 243:
6041 1.1 christos if (ndx == 0 || ndx == 1)
6042 1.1 christos p = "int";
6043 1.1 christos break;
6044 1.1 christos /* linux32_sys_get_thread_area */
6045 1.1 christos case 244:
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_fadvise64 */
6050 1.1 christos case 250:
6051 1.1 christos if (ndx == 0 || ndx == 1)
6052 1.1 christos p = "int";
6053 1.1 christos break;
6054 1.1 christos /* linux32_sys_exit_group */
6055 1.1 christos case 252:
6056 1.1 christos if (ndx == 0 || ndx == 1)
6057 1.1 christos p = "int";
6058 1.1 christos break;
6059 1.1 christos /* linux32_sys_set_tid_address */
6060 1.1 christos case 258:
6061 1.1 christos if (ndx == 0 || ndx == 1)
6062 1.1 christos p = "int";
6063 1.1 christos break;
6064 1.9 thorpej /* linux32_sys_timer_create */
6065 1.9 thorpej case 259:
6066 1.9 thorpej if (ndx == 0 || ndx == 1)
6067 1.9 thorpej p = "int";
6068 1.9 thorpej break;
6069 1.9 thorpej /* linux32_sys_timer_settime */
6070 1.9 thorpej case 260:
6071 1.9 thorpej if (ndx == 0 || ndx == 1)
6072 1.9 thorpej p = "int";
6073 1.9 thorpej break;
6074 1.9 thorpej /* linux32_sys_timer_gettime */
6075 1.9 thorpej case 261:
6076 1.9 thorpej if (ndx == 0 || ndx == 1)
6077 1.9 thorpej p = "int";
6078 1.9 thorpej break;
6079 1.9 thorpej /* sys_timer_getoverrun */
6080 1.9 thorpej case 262:
6081 1.9 thorpej if (ndx == 0 || ndx == 1)
6082 1.9 thorpej p = "int";
6083 1.9 thorpej break;
6084 1.9 thorpej /* sys_timer_delete */
6085 1.9 thorpej case 263:
6086 1.9 thorpej if (ndx == 0 || ndx == 1)
6087 1.9 thorpej p = "int";
6088 1.9 thorpej break;
6089 1.1 christos /* linux32_sys_clock_settime */
6090 1.1 christos case 264:
6091 1.1 christos if (ndx == 0 || ndx == 1)
6092 1.1 christos p = "int";
6093 1.1 christos break;
6094 1.1 christos /* linux32_sys_clock_gettime */
6095 1.1 christos case 265:
6096 1.1 christos if (ndx == 0 || ndx == 1)
6097 1.1 christos p = "int";
6098 1.1 christos break;
6099 1.1 christos /* linux32_sys_clock_getres */
6100 1.1 christos case 266:
6101 1.1 christos if (ndx == 0 || ndx == 1)
6102 1.1 christos p = "int";
6103 1.1 christos break;
6104 1.1 christos /* linux32_sys_clock_nanosleep */
6105 1.1 christos case 267:
6106 1.1 christos if (ndx == 0 || ndx == 1)
6107 1.1 christos p = "int";
6108 1.1 christos break;
6109 1.1 christos /* linux32_sys_statfs64 */
6110 1.1 christos case 268:
6111 1.1 christos if (ndx == 0 || ndx == 1)
6112 1.1 christos p = "int";
6113 1.1 christos break;
6114 1.1 christos /* linux32_sys_fstatfs64 */
6115 1.1 christos case 269:
6116 1.1 christos if (ndx == 0 || ndx == 1)
6117 1.1 christos p = "int";
6118 1.1 christos break;
6119 1.1 christos /* linux32_sys_tgkill */
6120 1.1 christos case 270:
6121 1.1 christos if (ndx == 0 || ndx == 1)
6122 1.1 christos p = "int";
6123 1.1 christos break;
6124 1.1 christos /* compat_50_netbsd32_utimes */
6125 1.1 christos case 271:
6126 1.1 christos if (ndx == 0 || ndx == 1)
6127 1.1 christos p = "int";
6128 1.1 christos break;
6129 1.1 christos /* linux32_sys_fadvise64_64 */
6130 1.1 christos case 272:
6131 1.1 christos if (ndx == 0 || ndx == 1)
6132 1.1 christos p = "int";
6133 1.1 christos break;
6134 1.1 christos /* linux32_sys_openat */
6135 1.1 christos case 295:
6136 1.1 christos if (ndx == 0 || ndx == 1)
6137 1.1 christos p = "int";
6138 1.1 christos break;
6139 1.1 christos /* netbsd32_mkdirat */
6140 1.1 christos case 296:
6141 1.1 christos if (ndx == 0 || ndx == 1)
6142 1.1 christos p = "int";
6143 1.1 christos break;
6144 1.1 christos /* linux32_sys_mknodat */
6145 1.1 christos case 297:
6146 1.1 christos if (ndx == 0 || ndx == 1)
6147 1.1 christos p = "int";
6148 1.1 christos break;
6149 1.1 christos /* linux32_sys_fchownat */
6150 1.1 christos case 298:
6151 1.1 christos if (ndx == 0 || ndx == 1)
6152 1.1 christos p = "int";
6153 1.1 christos break;
6154 1.1 christos /* linux32_sys_fstatat64 */
6155 1.1 christos case 300:
6156 1.1 christos if (ndx == 0 || ndx == 1)
6157 1.1 christos p = "int";
6158 1.1 christos break;
6159 1.1 christos /* linux32_sys_unlinkat */
6160 1.1 christos case 301:
6161 1.1 christos if (ndx == 0 || ndx == 1)
6162 1.1 christos p = "int";
6163 1.1 christos break;
6164 1.1 christos /* netbsd32_renameat */
6165 1.1 christos case 302:
6166 1.1 christos if (ndx == 0 || ndx == 1)
6167 1.1 christos p = "int";
6168 1.1 christos break;
6169 1.1 christos /* linux32_sys_linkat */
6170 1.1 christos case 303:
6171 1.1 christos if (ndx == 0 || ndx == 1)
6172 1.1 christos p = "int";
6173 1.1 christos break;
6174 1.1 christos /* netbsd32_symlinkat */
6175 1.1 christos case 304:
6176 1.1 christos if (ndx == 0 || ndx == 1)
6177 1.1 christos p = "int";
6178 1.1 christos break;
6179 1.1 christos /* netbsd32_readlinkat */
6180 1.1 christos case 305:
6181 1.1 christos if (ndx == 0 || ndx == 1)
6182 1.1 christos p = "int";
6183 1.1 christos break;
6184 1.1 christos /* linux32_sys_fchmodat */
6185 1.1 christos case 306:
6186 1.1 christos if (ndx == 0 || ndx == 1)
6187 1.1 christos p = "int";
6188 1.1 christos break;
6189 1.1 christos /* linux32_sys_faccessat */
6190 1.1 christos case 307:
6191 1.1 christos if (ndx == 0 || ndx == 1)
6192 1.1 christos p = "int";
6193 1.1 christos break;
6194 1.1 christos /* linux32_sys_ppoll */
6195 1.1 christos case 309:
6196 1.1 christos if (ndx == 0 || ndx == 1)
6197 1.1 christos p = "int";
6198 1.1 christos break;
6199 1.8 thorpej /* netbsd32___futex_set_robust_list */
6200 1.1 christos case 311:
6201 1.1 christos if (ndx == 0 || ndx == 1)
6202 1.1 christos p = "int";
6203 1.1 christos break;
6204 1.8 thorpej /* netbsd32___futex_get_robust_list */
6205 1.1 christos case 312:
6206 1.1 christos if (ndx == 0 || ndx == 1)
6207 1.1 christos p = "int";
6208 1.1 christos break;
6209 1.1 christos /* linux32_sys_utimensat */
6210 1.1 christos case 320:
6211 1.1 christos if (ndx == 0 || ndx == 1)
6212 1.1 christos p = "int";
6213 1.1 christos break;
6214 1.10 thorpej /* linux_sys_timerfd_create */
6215 1.10 thorpej case 322:
6216 1.10 thorpej if (ndx == 0 || ndx == 1)
6217 1.10 thorpej p = "int";
6218 1.10 thorpej break;
6219 1.7 jdolecek /* linux32_sys_fallocate */
6220 1.7 jdolecek case 324:
6221 1.7 jdolecek if (ndx == 0 || ndx == 1)
6222 1.7 jdolecek p = "int";
6223 1.7 jdolecek break;
6224 1.10 thorpej /* linux32_sys_timerfd_settime */
6225 1.10 thorpej case 325:
6226 1.10 thorpej if (ndx == 0 || ndx == 1)
6227 1.10 thorpej p = "int";
6228 1.10 thorpej break;
6229 1.10 thorpej /* linux32_sys_timerfd_gettime */
6230 1.10 thorpej case 326:
6231 1.10 thorpej if (ndx == 0 || ndx == 1)
6232 1.10 thorpej p = "int";
6233 1.10 thorpej break;
6234 1.1 christos /* linux32_sys_dup3 */
6235 1.1 christos case 330:
6236 1.1 christos if (ndx == 0 || ndx == 1)
6237 1.1 christos p = "int";
6238 1.1 christos break;
6239 1.1 christos /* linux32_sys_pipe2 */
6240 1.1 christos case 331:
6241 1.1 christos if (ndx == 0 || ndx == 1)
6242 1.1 christos p = "int";
6243 1.1 christos break;
6244 1.1 christos default:
6245 1.1 christos break;
6246 1.1 christos };
6247 1.1 christos if (p != NULL)
6248 1.1 christos strlcpy(desc, p, descsz);
6249 1.1 christos }
6250