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