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