linux_systrace_args.c revision 1.20 1 1.1 christos /* $NetBSD: linux_systrace_args.c,v 1.20 2023/08/18 19:42:06 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.20 christos /* linux_sys_waitid */
1820 1.20 christos case 284: {
1821 1.20 christos const struct linux_sys_waitid_args *p = params;
1822 1.20 christos iarg[0] = SCARG(p, idtype); /* int */
1823 1.20 christos iarg[1] = SCARG(p, id); /* id_t */
1824 1.20 christos uarg[2] = (intptr_t) SCARG(p, infop); /* linux_siginfo_t * */
1825 1.20 christos iarg[3] = SCARG(p, options); /* int */
1826 1.20 christos uarg[4] = (intptr_t) SCARG(p, rusage); /* struct rusage50 * */
1827 1.20 christos *n_args = 5;
1828 1.20 christos break;
1829 1.20 christos }
1830 1.1 christos /* linux_sys_openat */
1831 1.1 christos case 295: {
1832 1.6 christos const struct linux_sys_openat_args *p = params;
1833 1.1 christos iarg[0] = SCARG(p, fd); /* int */
1834 1.1 christos uarg[1] = (intptr_t) SCARG(p, path); /* const char * */
1835 1.1 christos iarg[2] = SCARG(p, flags); /* int */
1836 1.1 christos iarg[3] = SCARG(p, mode); /* linux_umode_t */
1837 1.1 christos *n_args = 4;
1838 1.1 christos break;
1839 1.1 christos }
1840 1.1 christos /* sys_mkdirat */
1841 1.1 christos case 296: {
1842 1.6 christos const struct sys_mkdirat_args *p = params;
1843 1.1 christos iarg[0] = SCARG(p, fd); /* int */
1844 1.1 christos uarg[1] = (intptr_t) SCARG(p, path); /* const char * */
1845 1.1 christos iarg[2] = SCARG(p, mode); /* linux_umode_t */
1846 1.1 christos *n_args = 3;
1847 1.1 christos break;
1848 1.1 christos }
1849 1.1 christos /* linux_sys_mknodat */
1850 1.1 christos case 297: {
1851 1.6 christos const struct linux_sys_mknodat_args *p = params;
1852 1.1 christos iarg[0] = SCARG(p, fd); /* int */
1853 1.1 christos uarg[1] = (intptr_t) SCARG(p, path); /* const char * */
1854 1.1 christos iarg[2] = SCARG(p, mode); /* linux_umode_t */
1855 1.1 christos uarg[3] = SCARG(p, dev); /* unsigned */
1856 1.1 christos *n_args = 4;
1857 1.1 christos break;
1858 1.1 christos }
1859 1.1 christos /* linux_sys_fchownat */
1860 1.1 christos case 298: {
1861 1.6 christos const struct linux_sys_fchownat_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] = SCARG(p, owner); /* uid_t */
1865 1.1 christos iarg[3] = SCARG(p, group); /* gid_t */
1866 1.1 christos iarg[4] = SCARG(p, flag); /* int */
1867 1.1 christos *n_args = 5;
1868 1.1 christos break;
1869 1.1 christos }
1870 1.1 christos /* linux_sys_fstatat64 */
1871 1.1 christos case 300: {
1872 1.6 christos const struct linux_sys_fstatat64_args *p = params;
1873 1.1 christos iarg[0] = SCARG(p, fd); /* int */
1874 1.1 christos uarg[1] = (intptr_t) SCARG(p, path); /* const char * */
1875 1.1 christos uarg[2] = (intptr_t) SCARG(p, sp); /* struct linux_stat64 * */
1876 1.1 christos iarg[3] = SCARG(p, flag); /* int */
1877 1.1 christos *n_args = 4;
1878 1.1 christos break;
1879 1.1 christos }
1880 1.1 christos /* linux_sys_unlinkat */
1881 1.1 christos case 301: {
1882 1.6 christos const struct linux_sys_unlinkat_args *p = params;
1883 1.1 christos iarg[0] = SCARG(p, fd); /* int */
1884 1.1 christos uarg[1] = (intptr_t) SCARG(p, path); /* const char * */
1885 1.1 christos iarg[2] = SCARG(p, flag); /* int */
1886 1.1 christos *n_args = 3;
1887 1.1 christos break;
1888 1.1 christos }
1889 1.1 christos /* sys_renameat */
1890 1.1 christos case 302: {
1891 1.6 christos const struct sys_renameat_args *p = params;
1892 1.1 christos iarg[0] = SCARG(p, fromfd); /* int */
1893 1.1 christos uarg[1] = (intptr_t) SCARG(p, from); /* const char * */
1894 1.1 christos iarg[2] = SCARG(p, tofd); /* int */
1895 1.1 christos uarg[3] = (intptr_t) SCARG(p, to); /* const char * */
1896 1.1 christos *n_args = 4;
1897 1.1 christos break;
1898 1.1 christos }
1899 1.1 christos /* linux_sys_linkat */
1900 1.1 christos case 303: {
1901 1.6 christos const struct linux_sys_linkat_args *p = params;
1902 1.1 christos iarg[0] = SCARG(p, fd1); /* int */
1903 1.1 christos uarg[1] = (intptr_t) SCARG(p, name1); /* const char * */
1904 1.1 christos iarg[2] = SCARG(p, fd2); /* int */
1905 1.1 christos uarg[3] = (intptr_t) SCARG(p, name2); /* const char * */
1906 1.1 christos iarg[4] = SCARG(p, flags); /* int */
1907 1.1 christos *n_args = 5;
1908 1.1 christos break;
1909 1.1 christos }
1910 1.1 christos /* sys_symlinkat */
1911 1.1 christos case 304: {
1912 1.6 christos const struct sys_symlinkat_args *p = params;
1913 1.1 christos uarg[0] = (intptr_t) SCARG(p, path1); /* const char * */
1914 1.1 christos iarg[1] = SCARG(p, fd); /* int */
1915 1.1 christos uarg[2] = (intptr_t) SCARG(p, path2); /* const char * */
1916 1.1 christos *n_args = 3;
1917 1.1 christos break;
1918 1.1 christos }
1919 1.1 christos /* sys_readlinkat */
1920 1.1 christos case 305: {
1921 1.6 christos const struct sys_readlinkat_args *p = params;
1922 1.1 christos iarg[0] = SCARG(p, fd); /* int */
1923 1.1 christos uarg[1] = (intptr_t) SCARG(p, path); /* const char * */
1924 1.1 christos uarg[2] = (intptr_t) SCARG(p, buf); /* char * */
1925 1.1 christos uarg[3] = SCARG(p, bufsize); /* size_t */
1926 1.1 christos *n_args = 4;
1927 1.1 christos break;
1928 1.1 christos }
1929 1.1 christos /* linux_sys_fchmodat */
1930 1.1 christos case 306: {
1931 1.6 christos const struct linux_sys_fchmodat_args *p = params;
1932 1.1 christos iarg[0] = SCARG(p, fd); /* int */
1933 1.1 christos uarg[1] = (intptr_t) SCARG(p, path); /* const char * */
1934 1.1 christos iarg[2] = SCARG(p, mode); /* linux_umode_t */
1935 1.1 christos *n_args = 3;
1936 1.1 christos break;
1937 1.1 christos }
1938 1.1 christos /* linux_sys_faccessat */
1939 1.1 christos case 307: {
1940 1.6 christos const struct linux_sys_faccessat_args *p = params;
1941 1.1 christos iarg[0] = SCARG(p, fd); /* int */
1942 1.1 christos uarg[1] = (intptr_t) SCARG(p, path); /* const char * */
1943 1.1 christos iarg[2] = SCARG(p, amode); /* int */
1944 1.1 christos *n_args = 3;
1945 1.1 christos break;
1946 1.1 christos }
1947 1.5 martin /* linux_sys_pselect6 */
1948 1.5 martin case 308: {
1949 1.6 christos const struct linux_sys_pselect6_args *p = params;
1950 1.5 martin iarg[0] = SCARG(p, nfds); /* int */
1951 1.5 martin uarg[1] = (intptr_t) SCARG(p, readfds); /* fd_set * */
1952 1.5 martin uarg[2] = (intptr_t) SCARG(p, writefds); /* fd_set * */
1953 1.5 martin uarg[3] = (intptr_t) SCARG(p, exceptfds); /* fd_set * */
1954 1.5 martin uarg[4] = (intptr_t) SCARG(p, timeout); /* struct linux_timespec * */
1955 1.5 martin uarg[5] = (intptr_t) SCARG(p, ss); /* linux_sized_sigset_t * */
1956 1.5 martin *n_args = 6;
1957 1.5 martin break;
1958 1.5 martin }
1959 1.1 christos /* linux_sys_ppoll */
1960 1.1 christos case 309: {
1961 1.6 christos const struct linux_sys_ppoll_args *p = params;
1962 1.1 christos uarg[0] = (intptr_t) SCARG(p, fds); /* struct pollfd * */
1963 1.1 christos uarg[1] = SCARG(p, nfds); /* u_int */
1964 1.1 christos uarg[2] = (intptr_t) SCARG(p, timeout); /* struct linux_timespec * */
1965 1.1 christos uarg[3] = (intptr_t) SCARG(p, sigset); /* linux_sigset_t * */
1966 1.1 christos *n_args = 4;
1967 1.1 christos break;
1968 1.1 christos }
1969 1.11 thorpej /* sys___futex_set_robust_list */
1970 1.1 christos case 311: {
1971 1.11 thorpej const struct sys___futex_set_robust_list_args *p = params;
1972 1.11 thorpej uarg[0] = (intptr_t) SCARG(p, head); /* void * */
1973 1.1 christos uarg[1] = SCARG(p, len); /* size_t */
1974 1.1 christos *n_args = 2;
1975 1.1 christos break;
1976 1.1 christos }
1977 1.11 thorpej /* sys___futex_get_robust_list */
1978 1.1 christos case 312: {
1979 1.11 thorpej const struct sys___futex_get_robust_list_args *p = params;
1980 1.11 thorpej iarg[0] = SCARG(p, lwpid); /* lwpid_t */
1981 1.11 thorpej uarg[1] = (intptr_t) SCARG(p, headp); /* void ** */
1982 1.11 thorpej uarg[2] = (intptr_t) SCARG(p, lenp); /* size_t * */
1983 1.1 christos *n_args = 3;
1984 1.1 christos break;
1985 1.1 christos }
1986 1.18 christos /* linux_sys_epoll_pwait */
1987 1.18 christos case 319: {
1988 1.18 christos const struct linux_sys_epoll_pwait_args *p = params;
1989 1.18 christos iarg[0] = SCARG(p, epfd); /* int */
1990 1.18 christos uarg[1] = (intptr_t) SCARG(p, events); /* struct linux_epoll_event * */
1991 1.18 christos iarg[2] = SCARG(p, maxevents); /* int */
1992 1.18 christos iarg[3] = SCARG(p, timeout); /* int */
1993 1.18 christos uarg[4] = (intptr_t) SCARG(p, sigmask); /* const linux_sigset_t * */
1994 1.18 christos *n_args = 5;
1995 1.18 christos break;
1996 1.18 christos }
1997 1.1 christos /* linux_sys_utimensat */
1998 1.1 christos case 320: {
1999 1.6 christos const struct linux_sys_utimensat_args *p = params;
2000 1.1 christos iarg[0] = SCARG(p, fd); /* int */
2001 1.1 christos uarg[1] = (intptr_t) SCARG(p, path); /* const char * */
2002 1.1 christos uarg[2] = (intptr_t) SCARG(p, times); /* struct linux_timespec * */
2003 1.1 christos iarg[3] = SCARG(p, flag); /* int */
2004 1.1 christos *n_args = 4;
2005 1.1 christos break;
2006 1.1 christos }
2007 1.13 thorpej /* linux_sys_timerfd_create */
2008 1.13 thorpej case 322: {
2009 1.13 thorpej const struct linux_sys_timerfd_create_args *p = params;
2010 1.13 thorpej iarg[0] = SCARG(p, clock_id); /* clockid_t */
2011 1.13 thorpej iarg[1] = SCARG(p, flags); /* int */
2012 1.13 thorpej *n_args = 2;
2013 1.13 thorpej break;
2014 1.13 thorpej }
2015 1.14 thorpej /* linux_sys_eventfd */
2016 1.14 thorpej case 323: {
2017 1.14 thorpej const struct linux_sys_eventfd_args *p = params;
2018 1.14 thorpej uarg[0] = SCARG(p, initval); /* unsigned int */
2019 1.14 thorpej *n_args = 1;
2020 1.14 thorpej break;
2021 1.14 thorpej }
2022 1.10 jdolecek /* linux_sys_fallocate */
2023 1.10 jdolecek case 324: {
2024 1.10 jdolecek const struct linux_sys_fallocate_args *p = params;
2025 1.10 jdolecek iarg[0] = SCARG(p, fd); /* int */
2026 1.10 jdolecek iarg[1] = SCARG(p, mode); /* int */
2027 1.10 jdolecek iarg[2] = SCARG(p, offset); /* off_t */
2028 1.10 jdolecek iarg[3] = SCARG(p, len); /* off_t */
2029 1.10 jdolecek *n_args = 4;
2030 1.10 jdolecek break;
2031 1.10 jdolecek }
2032 1.13 thorpej /* linux_sys_timerfd_settime */
2033 1.13 thorpej case 325: {
2034 1.13 thorpej const struct linux_sys_timerfd_settime_args *p = params;
2035 1.13 thorpej iarg[0] = SCARG(p, fd); /* int */
2036 1.13 thorpej iarg[1] = SCARG(p, flags); /* int */
2037 1.13 thorpej uarg[2] = (intptr_t) SCARG(p, tim); /* const struct linux_itimerspec * */
2038 1.13 thorpej uarg[3] = (intptr_t) SCARG(p, otim); /* struct linux_itimerspec * */
2039 1.13 thorpej *n_args = 4;
2040 1.13 thorpej break;
2041 1.13 thorpej }
2042 1.13 thorpej /* linux_sys_timerfd_gettime */
2043 1.13 thorpej case 326: {
2044 1.13 thorpej const struct linux_sys_timerfd_gettime_args *p = params;
2045 1.13 thorpej iarg[0] = SCARG(p, fd); /* int */
2046 1.13 thorpej uarg[1] = (intptr_t) SCARG(p, tim); /* struct linux_itimerspec * */
2047 1.13 thorpej *n_args = 2;
2048 1.13 thorpej break;
2049 1.13 thorpej }
2050 1.14 thorpej /* linux_sys_eventfd2 */
2051 1.14 thorpej case 328: {
2052 1.14 thorpej const struct linux_sys_eventfd2_args *p = params;
2053 1.14 thorpej uarg[0] = SCARG(p, initval); /* unsigned int */
2054 1.14 thorpej iarg[1] = SCARG(p, flags); /* int */
2055 1.14 thorpej *n_args = 2;
2056 1.14 thorpej break;
2057 1.14 thorpej }
2058 1.18 christos /* linux_sys_epoll_create1 */
2059 1.18 christos case 329: {
2060 1.18 christos const struct linux_sys_epoll_create1_args *p = params;
2061 1.18 christos iarg[0] = SCARG(p, flags); /* int */
2062 1.18 christos *n_args = 1;
2063 1.18 christos break;
2064 1.18 christos }
2065 1.1 christos /* linux_sys_dup3 */
2066 1.1 christos case 330: {
2067 1.6 christos const struct linux_sys_dup3_args *p = params;
2068 1.1 christos iarg[0] = SCARG(p, from); /* int */
2069 1.1 christos iarg[1] = SCARG(p, to); /* int */
2070 1.1 christos iarg[2] = SCARG(p, flags); /* int */
2071 1.1 christos *n_args = 3;
2072 1.1 christos break;
2073 1.1 christos }
2074 1.1 christos /* linux_sys_pipe2 */
2075 1.1 christos case 331: {
2076 1.6 christos const struct linux_sys_pipe2_args *p = params;
2077 1.1 christos uarg[0] = (intptr_t) SCARG(p, pfds); /* int * */
2078 1.1 christos iarg[1] = SCARG(p, flags); /* int */
2079 1.1 christos *n_args = 2;
2080 1.1 christos break;
2081 1.1 christos }
2082 1.15 thorpej /* linux_sys_preadv */
2083 1.15 thorpej case 333: {
2084 1.15 thorpej const struct linux_sys_preadv_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 iovec * */
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.15 thorpej /* linux_sys_pwritev */
2094 1.15 thorpej case 334: {
2095 1.15 thorpej const struct linux_sys_pwritev_args *p = params;
2096 1.15 thorpej iarg[0] = SCARG(p, fd); /* int */
2097 1.15 thorpej uarg[1] = (intptr_t) SCARG(p, iovp); /* const struct iovcnt * */
2098 1.15 thorpej iarg[2] = SCARG(p, iovcnt); /* int */
2099 1.15 thorpej uarg[3] = SCARG(p, off_lo); /* unsigned long */
2100 1.15 thorpej uarg[4] = SCARG(p, off_hi); /* unsigned long */
2101 1.15 thorpej *n_args = 5;
2102 1.15 thorpej break;
2103 1.15 thorpej }
2104 1.16 ryo /* linux_sys_prlimit64 */
2105 1.16 ryo case 340: {
2106 1.16 ryo const struct linux_sys_prlimit64_args *p = params;
2107 1.16 ryo iarg[0] = SCARG(p, pid); /* pid_t */
2108 1.16 ryo iarg[1] = SCARG(p, which); /* int */
2109 1.16 ryo uarg[2] = (intptr_t) SCARG(p, new_rlp); /* struct rlimit * */
2110 1.16 ryo uarg[3] = (intptr_t) SCARG(p, old_rlp); /* struct rlimit * */
2111 1.16 ryo *n_args = 4;
2112 1.16 ryo break;
2113 1.16 ryo }
2114 1.17 christos /* sys_getrandom */
2115 1.17 christos case 355: {
2116 1.17 christos const struct sys_getrandom_args *p = params;
2117 1.17 christos uarg[0] = (intptr_t) SCARG(p, buf); /* void * */
2118 1.17 christos uarg[1] = SCARG(p, buflen); /* size_t */
2119 1.17 christos uarg[2] = SCARG(p, flags); /* unsigned int */
2120 1.17 christos *n_args = 3;
2121 1.17 christos break;
2122 1.17 christos }
2123 1.17 christos /* linux_sys_memfd_create */
2124 1.17 christos case 356: {
2125 1.17 christos const struct linux_sys_memfd_create_args *p = params;
2126 1.17 christos uarg[0] = (intptr_t) SCARG(p, name); /* const char * */
2127 1.17 christos uarg[1] = SCARG(p, flags); /* unsigned int */
2128 1.17 christos *n_args = 2;
2129 1.17 christos break;
2130 1.17 christos }
2131 1.19 christos /* linux_sys_statx */
2132 1.19 christos case 397: {
2133 1.19 christos const struct linux_sys_statx_args *p = params;
2134 1.19 christos iarg[0] = SCARG(p, fd); /* int */
2135 1.19 christos uarg[1] = (intptr_t) SCARG(p, path); /* const char * */
2136 1.19 christos iarg[2] = SCARG(p, flag); /* int */
2137 1.19 christos uarg[3] = SCARG(p, mask); /* unsigned int */
2138 1.19 christos uarg[4] = (intptr_t) SCARG(p, sp); /* struct linux_statx * */
2139 1.19 christos *n_args = 5;
2140 1.19 christos break;
2141 1.19 christos }
2142 1.19 christos /* linux_sys_close_range */
2143 1.19 christos case 436: {
2144 1.19 christos const struct linux_sys_close_range_args *p = params;
2145 1.19 christos uarg[0] = SCARG(p, first); /* unsigned int */
2146 1.19 christos uarg[1] = SCARG(p, last); /* unsigned int */
2147 1.19 christos uarg[2] = SCARG(p, flags); /* unsigned int */
2148 1.19 christos *n_args = 3;
2149 1.19 christos break;
2150 1.19 christos }
2151 1.18 christos /* linux_sys_epoll_pwait2 */
2152 1.18 christos case 441: {
2153 1.18 christos const struct linux_sys_epoll_pwait2_args *p = params;
2154 1.18 christos iarg[0] = SCARG(p, epfd); /* int */
2155 1.18 christos uarg[1] = (intptr_t) SCARG(p, events); /* struct linux_epoll_event * */
2156 1.18 christos iarg[2] = SCARG(p, maxevents); /* int */
2157 1.18 christos uarg[3] = (intptr_t) SCARG(p, timeout); /* const struct linux_timespec * */
2158 1.18 christos uarg[4] = (intptr_t) SCARG(p, sigmask); /* const linux_sigset_t * */
2159 1.18 christos *n_args = 5;
2160 1.18 christos break;
2161 1.18 christos }
2162 1.1 christos default:
2163 1.1 christos *n_args = 0;
2164 1.1 christos break;
2165 1.1 christos };
2166 1.1 christos }
2167 1.1 christos static void
2168 1.1 christos systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
2169 1.1 christos {
2170 1.1 christos const char *p = NULL;
2171 1.1 christos switch (sysnum) {
2172 1.1 christos /* linux_sys_nosys */
2173 1.1 christos case 0:
2174 1.1 christos break;
2175 1.1 christos /* linux_sys_exit */
2176 1.1 christos case 1:
2177 1.1 christos switch(ndx) {
2178 1.1 christos case 0:
2179 1.1 christos p = "int";
2180 1.1 christos break;
2181 1.1 christos default:
2182 1.1 christos break;
2183 1.1 christos };
2184 1.1 christos break;
2185 1.1 christos /* sys_fork */
2186 1.1 christos case 2:
2187 1.1 christos break;
2188 1.1 christos /* sys_read */
2189 1.1 christos case 3:
2190 1.1 christos switch(ndx) {
2191 1.1 christos case 0:
2192 1.1 christos p = "int";
2193 1.1 christos break;
2194 1.1 christos case 1:
2195 1.1 christos p = "void *";
2196 1.1 christos break;
2197 1.1 christos case 2:
2198 1.1 christos p = "size_t";
2199 1.1 christos break;
2200 1.1 christos default:
2201 1.1 christos break;
2202 1.1 christos };
2203 1.1 christos break;
2204 1.1 christos /* sys_write */
2205 1.1 christos case 4:
2206 1.1 christos switch(ndx) {
2207 1.1 christos case 0:
2208 1.1 christos p = "int";
2209 1.1 christos break;
2210 1.1 christos case 1:
2211 1.1 christos p = "const void *";
2212 1.1 christos break;
2213 1.1 christos case 2:
2214 1.1 christos p = "size_t";
2215 1.1 christos break;
2216 1.1 christos default:
2217 1.1 christos break;
2218 1.1 christos };
2219 1.1 christos break;
2220 1.1 christos /* linux_sys_open */
2221 1.1 christos case 5:
2222 1.1 christos switch(ndx) {
2223 1.1 christos case 0:
2224 1.1 christos p = "const char *";
2225 1.1 christos break;
2226 1.1 christos case 1:
2227 1.1 christos p = "int";
2228 1.1 christos break;
2229 1.1 christos case 2:
2230 1.1 christos p = "linux_umode_t";
2231 1.1 christos break;
2232 1.1 christos default:
2233 1.1 christos break;
2234 1.1 christos };
2235 1.1 christos break;
2236 1.1 christos /* sys_close */
2237 1.1 christos case 6:
2238 1.1 christos switch(ndx) {
2239 1.1 christos case 0:
2240 1.1 christos p = "int";
2241 1.1 christos break;
2242 1.1 christos default:
2243 1.1 christos break;
2244 1.1 christos };
2245 1.1 christos break;
2246 1.1 christos /* linux_sys_waitpid */
2247 1.1 christos case 7:
2248 1.1 christos switch(ndx) {
2249 1.1 christos case 0:
2250 1.1 christos p = "int";
2251 1.1 christos break;
2252 1.1 christos case 1:
2253 1.1 christos p = "int *";
2254 1.1 christos break;
2255 1.1 christos case 2:
2256 1.1 christos p = "int";
2257 1.1 christos break;
2258 1.1 christos default:
2259 1.1 christos break;
2260 1.1 christos };
2261 1.1 christos break;
2262 1.1 christos /* linux_sys_creat */
2263 1.1 christos case 8:
2264 1.1 christos switch(ndx) {
2265 1.1 christos case 0:
2266 1.1 christos p = "const char *";
2267 1.1 christos break;
2268 1.1 christos case 1:
2269 1.1 christos p = "linux_umode_t";
2270 1.1 christos break;
2271 1.1 christos default:
2272 1.1 christos break;
2273 1.1 christos };
2274 1.1 christos break;
2275 1.1 christos /* sys_link */
2276 1.1 christos case 9:
2277 1.1 christos switch(ndx) {
2278 1.1 christos case 0:
2279 1.1 christos p = "const char *";
2280 1.1 christos break;
2281 1.1 christos case 1:
2282 1.1 christos p = "const char *";
2283 1.1 christos break;
2284 1.1 christos default:
2285 1.1 christos break;
2286 1.1 christos };
2287 1.1 christos break;
2288 1.1 christos /* linux_sys_unlink */
2289 1.1 christos case 10:
2290 1.1 christos switch(ndx) {
2291 1.1 christos case 0:
2292 1.1 christos p = "const char *";
2293 1.1 christos break;
2294 1.1 christos default:
2295 1.1 christos break;
2296 1.1 christos };
2297 1.1 christos break;
2298 1.1 christos /* sys_execve */
2299 1.1 christos case 11:
2300 1.1 christos switch(ndx) {
2301 1.1 christos case 0:
2302 1.1 christos p = "const char *";
2303 1.1 christos break;
2304 1.1 christos case 1:
2305 1.1 christos p = "char **";
2306 1.1 christos break;
2307 1.1 christos case 2:
2308 1.1 christos p = "char **";
2309 1.1 christos break;
2310 1.1 christos default:
2311 1.1 christos break;
2312 1.1 christos };
2313 1.1 christos break;
2314 1.1 christos /* sys_chdir */
2315 1.1 christos case 12:
2316 1.1 christos switch(ndx) {
2317 1.1 christos case 0:
2318 1.1 christos p = "const char *";
2319 1.1 christos break;
2320 1.1 christos default:
2321 1.1 christos break;
2322 1.1 christos };
2323 1.1 christos break;
2324 1.1 christos /* linux_sys_time */
2325 1.1 christos case 13:
2326 1.1 christos switch(ndx) {
2327 1.1 christos case 0:
2328 1.1 christos p = "linux_time_t *";
2329 1.1 christos break;
2330 1.1 christos default:
2331 1.1 christos break;
2332 1.1 christos };
2333 1.1 christos break;
2334 1.1 christos /* linux_sys_mknod */
2335 1.1 christos case 14:
2336 1.1 christos switch(ndx) {
2337 1.1 christos case 0:
2338 1.1 christos p = "const char *";
2339 1.1 christos break;
2340 1.1 christos case 1:
2341 1.1 christos p = "linux_umode_t";
2342 1.1 christos break;
2343 1.1 christos case 2:
2344 1.1 christos p = "unsigned";
2345 1.1 christos break;
2346 1.1 christos default:
2347 1.1 christos break;
2348 1.1 christos };
2349 1.1 christos break;
2350 1.1 christos /* sys_chmod */
2351 1.1 christos case 15:
2352 1.1 christos switch(ndx) {
2353 1.1 christos case 0:
2354 1.1 christos p = "const char *";
2355 1.1 christos break;
2356 1.1 christos case 1:
2357 1.1 christos p = "linux_umode_t";
2358 1.1 christos break;
2359 1.1 christos default:
2360 1.1 christos break;
2361 1.1 christos };
2362 1.1 christos break;
2363 1.1 christos /* linux_sys_lchown16 */
2364 1.1 christos case 16:
2365 1.1 christos switch(ndx) {
2366 1.1 christos case 0:
2367 1.1 christos p = "const char *";
2368 1.1 christos break;
2369 1.1 christos case 1:
2370 1.1 christos p = "linux_uid16_t";
2371 1.1 christos break;
2372 1.1 christos case 2:
2373 1.1 christos p = "linux_gid16_t";
2374 1.1 christos break;
2375 1.1 christos default:
2376 1.1 christos break;
2377 1.1 christos };
2378 1.1 christos break;
2379 1.1 christos /* linux_sys_break */
2380 1.1 christos case 17:
2381 1.1 christos switch(ndx) {
2382 1.1 christos case 0:
2383 1.1 christos p = "char *";
2384 1.1 christos break;
2385 1.1 christos default:
2386 1.1 christos break;
2387 1.1 christos };
2388 1.1 christos break;
2389 1.1 christos /* compat_43_sys_lseek */
2390 1.1 christos case 19:
2391 1.1 christos switch(ndx) {
2392 1.1 christos case 0:
2393 1.1 christos p = "int";
2394 1.1 christos break;
2395 1.1 christos case 1:
2396 1.1 christos p = "long";
2397 1.1 christos break;
2398 1.1 christos case 2:
2399 1.1 christos p = "int";
2400 1.1 christos break;
2401 1.1 christos default:
2402 1.1 christos break;
2403 1.1 christos };
2404 1.1 christos break;
2405 1.1 christos /* sys_getpid */
2406 1.1 christos case 20:
2407 1.1 christos break;
2408 1.1 christos /* sys_setuid */
2409 1.1 christos case 23:
2410 1.1 christos switch(ndx) {
2411 1.1 christos case 0:
2412 1.1 christos p = "uid_t";
2413 1.1 christos break;
2414 1.1 christos default:
2415 1.1 christos break;
2416 1.1 christos };
2417 1.1 christos break;
2418 1.1 christos /* sys_getuid */
2419 1.1 christos case 24:
2420 1.1 christos break;
2421 1.1 christos /* linux_sys_stime */
2422 1.1 christos case 25:
2423 1.1 christos switch(ndx) {
2424 1.1 christos case 0:
2425 1.1 christos p = "linux_time_t *";
2426 1.1 christos break;
2427 1.1 christos default:
2428 1.1 christos break;
2429 1.1 christos };
2430 1.1 christos break;
2431 1.1 christos /* linux_sys_ptrace */
2432 1.1 christos case 26:
2433 1.1 christos switch(ndx) {
2434 1.1 christos case 0:
2435 1.1 christos p = "int";
2436 1.1 christos break;
2437 1.1 christos case 1:
2438 1.1 christos p = "int";
2439 1.1 christos break;
2440 1.1 christos case 2:
2441 1.1 christos p = "int";
2442 1.1 christos break;
2443 1.1 christos case 3:
2444 1.1 christos p = "int";
2445 1.1 christos break;
2446 1.1 christos default:
2447 1.1 christos break;
2448 1.1 christos };
2449 1.1 christos break;
2450 1.1 christos /* linux_sys_alarm */
2451 1.1 christos case 27:
2452 1.1 christos switch(ndx) {
2453 1.1 christos case 0:
2454 1.1 christos p = "unsigned int";
2455 1.1 christos break;
2456 1.1 christos default:
2457 1.1 christos break;
2458 1.1 christos };
2459 1.1 christos break;
2460 1.1 christos /* linux_sys_pause */
2461 1.1 christos case 29:
2462 1.1 christos break;
2463 1.1 christos /* linux_sys_utime */
2464 1.1 christos case 30:
2465 1.1 christos switch(ndx) {
2466 1.1 christos case 0:
2467 1.1 christos p = "const char *";
2468 1.1 christos break;
2469 1.1 christos case 1:
2470 1.1 christos p = "struct linux_utimbuf *";
2471 1.1 christos break;
2472 1.1 christos default:
2473 1.1 christos break;
2474 1.1 christos };
2475 1.1 christos break;
2476 1.1 christos /* sys_access */
2477 1.1 christos case 33:
2478 1.1 christos switch(ndx) {
2479 1.1 christos case 0:
2480 1.1 christos p = "const char *";
2481 1.1 christos break;
2482 1.1 christos case 1:
2483 1.1 christos p = "int";
2484 1.1 christos break;
2485 1.1 christos default:
2486 1.1 christos break;
2487 1.1 christos };
2488 1.1 christos break;
2489 1.1 christos /* linux_sys_nice */
2490 1.1 christos case 34:
2491 1.1 christos switch(ndx) {
2492 1.1 christos case 0:
2493 1.1 christos p = "int";
2494 1.1 christos break;
2495 1.1 christos default:
2496 1.1 christos break;
2497 1.1 christos };
2498 1.1 christos break;
2499 1.1 christos /* sys_sync */
2500 1.1 christos case 36:
2501 1.1 christos break;
2502 1.1 christos /* linux_sys_kill */
2503 1.1 christos case 37:
2504 1.1 christos switch(ndx) {
2505 1.1 christos case 0:
2506 1.1 christos p = "int";
2507 1.1 christos break;
2508 1.1 christos case 1:
2509 1.1 christos p = "int";
2510 1.1 christos break;
2511 1.1 christos default:
2512 1.1 christos break;
2513 1.1 christos };
2514 1.1 christos break;
2515 1.1 christos /* sys___posix_rename */
2516 1.1 christos case 38:
2517 1.1 christos switch(ndx) {
2518 1.1 christos case 0:
2519 1.1 christos p = "const char *";
2520 1.1 christos break;
2521 1.1 christos case 1:
2522 1.1 christos p = "const char *";
2523 1.1 christos break;
2524 1.1 christos default:
2525 1.1 christos break;
2526 1.1 christos };
2527 1.1 christos break;
2528 1.1 christos /* sys_mkdir */
2529 1.1 christos case 39:
2530 1.1 christos switch(ndx) {
2531 1.1 christos case 0:
2532 1.1 christos p = "const char *";
2533 1.1 christos break;
2534 1.1 christos case 1:
2535 1.1 christos p = "linux_umode_t";
2536 1.1 christos break;
2537 1.1 christos default:
2538 1.1 christos break;
2539 1.1 christos };
2540 1.1 christos break;
2541 1.1 christos /* sys_rmdir */
2542 1.1 christos case 40:
2543 1.1 christos switch(ndx) {
2544 1.1 christos case 0:
2545 1.1 christos p = "const char *";
2546 1.1 christos break;
2547 1.1 christos default:
2548 1.1 christos break;
2549 1.1 christos };
2550 1.1 christos break;
2551 1.1 christos /* sys_dup */
2552 1.1 christos case 41:
2553 1.1 christos switch(ndx) {
2554 1.1 christos case 0:
2555 1.1 christos p = "int";
2556 1.1 christos break;
2557 1.1 christos default:
2558 1.1 christos break;
2559 1.1 christos };
2560 1.1 christos break;
2561 1.1 christos /* linux_sys_pipe */
2562 1.1 christos case 42:
2563 1.1 christos switch(ndx) {
2564 1.1 christos case 0:
2565 1.1 christos p = "int *";
2566 1.1 christos break;
2567 1.1 christos default:
2568 1.1 christos break;
2569 1.1 christos };
2570 1.1 christos break;
2571 1.1 christos /* linux_sys_times */
2572 1.1 christos case 43:
2573 1.1 christos switch(ndx) {
2574 1.1 christos case 0:
2575 1.1 christos p = "struct times *";
2576 1.1 christos break;
2577 1.1 christos default:
2578 1.1 christos break;
2579 1.1 christos };
2580 1.1 christos break;
2581 1.1 christos /* linux_sys_brk */
2582 1.1 christos case 45:
2583 1.1 christos switch(ndx) {
2584 1.1 christos case 0:
2585 1.1 christos p = "char *";
2586 1.1 christos break;
2587 1.1 christos default:
2588 1.1 christos break;
2589 1.1 christos };
2590 1.1 christos break;
2591 1.1 christos /* sys_setgid */
2592 1.1 christos case 46:
2593 1.1 christos switch(ndx) {
2594 1.1 christos case 0:
2595 1.1 christos p = "gid_t";
2596 1.1 christos break;
2597 1.1 christos default:
2598 1.1 christos break;
2599 1.1 christos };
2600 1.1 christos break;
2601 1.1 christos /* sys_getgid */
2602 1.1 christos case 47:
2603 1.1 christos break;
2604 1.1 christos /* linux_sys_signal */
2605 1.1 christos case 48:
2606 1.1 christos switch(ndx) {
2607 1.1 christos case 0:
2608 1.1 christos p = "int";
2609 1.1 christos break;
2610 1.1 christos case 1:
2611 1.1 christos p = "linux_handler_t";
2612 1.1 christos break;
2613 1.1 christos default:
2614 1.1 christos break;
2615 1.1 christos };
2616 1.1 christos break;
2617 1.1 christos /* sys_geteuid */
2618 1.1 christos case 49:
2619 1.1 christos break;
2620 1.1 christos /* sys_getegid */
2621 1.1 christos case 50:
2622 1.1 christos break;
2623 1.1 christos /* sys_acct */
2624 1.1 christos case 51:
2625 1.1 christos switch(ndx) {
2626 1.1 christos case 0:
2627 1.1 christos p = "char *";
2628 1.1 christos break;
2629 1.1 christos default:
2630 1.1 christos break;
2631 1.1 christos };
2632 1.1 christos break;
2633 1.1 christos /* linux_sys_ioctl */
2634 1.1 christos case 54:
2635 1.1 christos switch(ndx) {
2636 1.1 christos case 0:
2637 1.1 christos p = "int";
2638 1.1 christos break;
2639 1.1 christos case 1:
2640 1.1 christos p = "u_long";
2641 1.1 christos break;
2642 1.1 christos case 2:
2643 1.1 christos p = "void *";
2644 1.1 christos break;
2645 1.1 christos default:
2646 1.1 christos break;
2647 1.1 christos };
2648 1.1 christos break;
2649 1.1 christos /* linux_sys_fcntl */
2650 1.1 christos case 55:
2651 1.1 christos switch(ndx) {
2652 1.1 christos case 0:
2653 1.1 christos p = "int";
2654 1.1 christos break;
2655 1.1 christos case 1:
2656 1.1 christos p = "int";
2657 1.1 christos break;
2658 1.1 christos case 2:
2659 1.1 christos p = "void *";
2660 1.1 christos break;
2661 1.1 christos default:
2662 1.1 christos break;
2663 1.1 christos };
2664 1.1 christos break;
2665 1.1 christos /* sys_setpgid */
2666 1.1 christos case 57:
2667 1.1 christos switch(ndx) {
2668 1.1 christos case 0:
2669 1.1 christos p = "int";
2670 1.1 christos break;
2671 1.1 christos case 1:
2672 1.1 christos p = "int";
2673 1.1 christos break;
2674 1.1 christos default:
2675 1.1 christos break;
2676 1.1 christos };
2677 1.1 christos break;
2678 1.1 christos /* linux_sys_oldolduname */
2679 1.1 christos case 59:
2680 1.1 christos switch(ndx) {
2681 1.1 christos case 0:
2682 1.1 christos p = "struct linux_oldold_utsname *";
2683 1.1 christos break;
2684 1.1 christos default:
2685 1.1 christos break;
2686 1.1 christos };
2687 1.1 christos break;
2688 1.1 christos /* sys_umask */
2689 1.1 christos case 60:
2690 1.1 christos switch(ndx) {
2691 1.1 christos case 0:
2692 1.1 christos p = "int";
2693 1.1 christos break;
2694 1.1 christos default:
2695 1.1 christos break;
2696 1.1 christos };
2697 1.1 christos break;
2698 1.1 christos /* sys_chroot */
2699 1.1 christos case 61:
2700 1.1 christos switch(ndx) {
2701 1.1 christos case 0:
2702 1.1 christos p = "char *";
2703 1.1 christos break;
2704 1.1 christos default:
2705 1.1 christos break;
2706 1.1 christos };
2707 1.1 christos break;
2708 1.1 christos /* sys_dup2 */
2709 1.1 christos case 63:
2710 1.1 christos switch(ndx) {
2711 1.1 christos case 0:
2712 1.1 christos p = "int";
2713 1.1 christos break;
2714 1.1 christos case 1:
2715 1.1 christos p = "int";
2716 1.1 christos break;
2717 1.1 christos default:
2718 1.1 christos break;
2719 1.1 christos };
2720 1.1 christos break;
2721 1.1 christos /* sys_getppid */
2722 1.1 christos case 64:
2723 1.1 christos break;
2724 1.1 christos /* sys_getpgrp */
2725 1.1 christos case 65:
2726 1.1 christos break;
2727 1.1 christos /* sys_setsid */
2728 1.1 christos case 66:
2729 1.1 christos break;
2730 1.1 christos /* linux_sys_sigaction */
2731 1.1 christos case 67:
2732 1.1 christos switch(ndx) {
2733 1.1 christos case 0:
2734 1.1 christos p = "int";
2735 1.1 christos break;
2736 1.1 christos case 1:
2737 1.1 christos p = "const struct linux_old_sigaction *";
2738 1.1 christos break;
2739 1.1 christos case 2:
2740 1.1 christos p = "struct linux_old_sigaction *";
2741 1.1 christos break;
2742 1.1 christos default:
2743 1.1 christos break;
2744 1.1 christos };
2745 1.1 christos break;
2746 1.1 christos /* linux_sys_siggetmask */
2747 1.1 christos case 68:
2748 1.1 christos break;
2749 1.1 christos /* linux_sys_sigsetmask */
2750 1.1 christos case 69:
2751 1.1 christos switch(ndx) {
2752 1.1 christos case 0:
2753 1.1 christos p = "linux_old_sigset_t";
2754 1.1 christos break;
2755 1.1 christos default:
2756 1.1 christos break;
2757 1.1 christos };
2758 1.1 christos break;
2759 1.1 christos /* linux_sys_setreuid16 */
2760 1.1 christos case 70:
2761 1.1 christos switch(ndx) {
2762 1.1 christos case 0:
2763 1.1 christos p = "linux_uid16_t";
2764 1.1 christos break;
2765 1.1 christos case 1:
2766 1.1 christos p = "linux_uid16_t";
2767 1.1 christos break;
2768 1.1 christos default:
2769 1.1 christos break;
2770 1.1 christos };
2771 1.1 christos break;
2772 1.1 christos /* linux_sys_setregid16 */
2773 1.1 christos case 71:
2774 1.1 christos switch(ndx) {
2775 1.1 christos case 0:
2776 1.1 christos p = "linux_gid16_t";
2777 1.1 christos break;
2778 1.1 christos case 1:
2779 1.1 christos p = "linux_gid16_t";
2780 1.1 christos break;
2781 1.1 christos default:
2782 1.1 christos break;
2783 1.1 christos };
2784 1.1 christos break;
2785 1.1 christos /* linux_sys_sigsuspend */
2786 1.1 christos case 72:
2787 1.1 christos switch(ndx) {
2788 1.1 christos case 0:
2789 1.1 christos p = "void *";
2790 1.1 christos break;
2791 1.1 christos case 1:
2792 1.1 christos p = "int";
2793 1.1 christos break;
2794 1.1 christos case 2:
2795 1.1 christos p = "int";
2796 1.1 christos break;
2797 1.1 christos default:
2798 1.1 christos break;
2799 1.1 christos };
2800 1.1 christos break;
2801 1.1 christos /* linux_sys_sigpending */
2802 1.1 christos case 73:
2803 1.1 christos switch(ndx) {
2804 1.1 christos case 0:
2805 1.1 christos p = "linux_old_sigset_t *";
2806 1.1 christos break;
2807 1.1 christos default:
2808 1.1 christos break;
2809 1.1 christos };
2810 1.1 christos break;
2811 1.1 christos /* compat_43_sys_sethostname */
2812 1.1 christos case 74:
2813 1.1 christos switch(ndx) {
2814 1.1 christos case 0:
2815 1.1 christos p = "char *";
2816 1.1 christos break;
2817 1.1 christos case 1:
2818 1.1 christos p = "u_int";
2819 1.1 christos break;
2820 1.1 christos default:
2821 1.1 christos break;
2822 1.1 christos };
2823 1.1 christos break;
2824 1.1 christos /* linux_sys_setrlimit */
2825 1.1 christos case 75:
2826 1.1 christos switch(ndx) {
2827 1.1 christos case 0:
2828 1.1 christos p = "u_int";
2829 1.1 christos break;
2830 1.1 christos case 1:
2831 1.1 christos p = "struct orlimit *";
2832 1.1 christos break;
2833 1.1 christos default:
2834 1.1 christos break;
2835 1.1 christos };
2836 1.1 christos break;
2837 1.1 christos /* linux_sys_getrlimit */
2838 1.1 christos case 76:
2839 1.1 christos switch(ndx) {
2840 1.1 christos case 0:
2841 1.1 christos p = "u_int";
2842 1.1 christos break;
2843 1.1 christos case 1:
2844 1.1 christos p = "struct orlimit *";
2845 1.1 christos break;
2846 1.1 christos default:
2847 1.1 christos break;
2848 1.1 christos };
2849 1.1 christos break;
2850 1.1 christos /* compat_50_sys_getrusage */
2851 1.1 christos case 77:
2852 1.1 christos switch(ndx) {
2853 1.1 christos case 0:
2854 1.1 christos p = "int";
2855 1.1 christos break;
2856 1.1 christos case 1:
2857 1.1 christos p = "struct rusage50 *";
2858 1.1 christos break;
2859 1.1 christos default:
2860 1.1 christos break;
2861 1.1 christos };
2862 1.1 christos break;
2863 1.1 christos /* linux_sys_gettimeofday */
2864 1.1 christos case 78:
2865 1.1 christos switch(ndx) {
2866 1.1 christos case 0:
2867 1.1 christos p = "struct timeval50 *";
2868 1.1 christos break;
2869 1.1 christos case 1:
2870 1.1 christos p = "struct timezone *";
2871 1.1 christos break;
2872 1.1 christos default:
2873 1.1 christos break;
2874 1.1 christos };
2875 1.1 christos break;
2876 1.1 christos /* linux_sys_settimeofday */
2877 1.1 christos case 79:
2878 1.1 christos switch(ndx) {
2879 1.1 christos case 0:
2880 1.1 christos p = "struct timeval50 *";
2881 1.1 christos break;
2882 1.1 christos case 1:
2883 1.1 christos p = "struct timezone *";
2884 1.1 christos break;
2885 1.1 christos default:
2886 1.1 christos break;
2887 1.1 christos };
2888 1.1 christos break;
2889 1.1 christos /* linux_sys_getgroups16 */
2890 1.1 christos case 80:
2891 1.1 christos switch(ndx) {
2892 1.1 christos case 0:
2893 1.1 christos p = "int";
2894 1.1 christos break;
2895 1.1 christos case 1:
2896 1.1 christos p = "linux_gid16_t *";
2897 1.1 christos break;
2898 1.1 christos default:
2899 1.1 christos break;
2900 1.1 christos };
2901 1.1 christos break;
2902 1.1 christos /* linux_sys_setgroups16 */
2903 1.1 christos case 81:
2904 1.1 christos switch(ndx) {
2905 1.1 christos case 0:
2906 1.1 christos p = "int";
2907 1.1 christos break;
2908 1.1 christos case 1:
2909 1.1 christos p = "linux_gid16_t *";
2910 1.1 christos break;
2911 1.1 christos default:
2912 1.1 christos break;
2913 1.1 christos };
2914 1.1 christos break;
2915 1.1 christos /* linux_sys_oldselect */
2916 1.1 christos case 82:
2917 1.1 christos switch(ndx) {
2918 1.1 christos case 0:
2919 1.1 christos p = "struct linux_oldselect *";
2920 1.1 christos break;
2921 1.1 christos default:
2922 1.1 christos break;
2923 1.1 christos };
2924 1.1 christos break;
2925 1.1 christos /* sys_symlink */
2926 1.1 christos case 83:
2927 1.1 christos switch(ndx) {
2928 1.1 christos case 0:
2929 1.1 christos p = "const char *";
2930 1.1 christos break;
2931 1.1 christos case 1:
2932 1.1 christos p = "const char *";
2933 1.1 christos break;
2934 1.1 christos default:
2935 1.1 christos break;
2936 1.1 christos };
2937 1.1 christos break;
2938 1.1 christos /* compat_43_sys_lstat */
2939 1.1 christos case 84:
2940 1.1 christos switch(ndx) {
2941 1.1 christos case 0:
2942 1.1 christos p = "const char *";
2943 1.1 christos break;
2944 1.1 christos case 1:
2945 1.1 christos p = "struct stat43 *";
2946 1.1 christos break;
2947 1.1 christos default:
2948 1.1 christos break;
2949 1.1 christos };
2950 1.1 christos break;
2951 1.1 christos /* sys_readlink */
2952 1.1 christos case 85:
2953 1.1 christos switch(ndx) {
2954 1.1 christos case 0:
2955 1.1 christos p = "const char *";
2956 1.1 christos break;
2957 1.1 christos case 1:
2958 1.1 christos p = "char *";
2959 1.1 christos break;
2960 1.1 christos case 2:
2961 1.1 christos p = "int";
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 #ifdef EXEC_AOUT
2968 1.1 christos /* linux_sys_uselib */
2969 1.1 christos case 86:
2970 1.1 christos switch(ndx) {
2971 1.1 christos case 0:
2972 1.1 christos p = "const char *";
2973 1.1 christos break;
2974 1.1 christos default:
2975 1.1 christos break;
2976 1.1 christos };
2977 1.1 christos break;
2978 1.1 christos #else
2979 1.1 christos #endif
2980 1.1 christos /* linux_sys_swapon */
2981 1.1 christos case 87:
2982 1.1 christos switch(ndx) {
2983 1.1 christos case 0:
2984 1.1 christos p = "char *";
2985 1.1 christos break;
2986 1.1 christos default:
2987 1.1 christos break;
2988 1.1 christos };
2989 1.1 christos break;
2990 1.1 christos /* linux_sys_reboot */
2991 1.1 christos case 88:
2992 1.1 christos switch(ndx) {
2993 1.1 christos case 0:
2994 1.1 christos p = "int";
2995 1.1 christos break;
2996 1.1 christos case 1:
2997 1.1 christos p = "int";
2998 1.1 christos break;
2999 1.1 christos case 2:
3000 1.1 christos p = "int";
3001 1.1 christos break;
3002 1.1 christos case 3:
3003 1.1 christos p = "void *";
3004 1.1 christos break;
3005 1.1 christos default:
3006 1.1 christos break;
3007 1.1 christos };
3008 1.1 christos break;
3009 1.1 christos /* linux_sys_readdir */
3010 1.1 christos case 89:
3011 1.1 christos switch(ndx) {
3012 1.1 christos case 0:
3013 1.1 christos p = "int";
3014 1.1 christos break;
3015 1.1 christos case 1:
3016 1.1 christos p = "void *";
3017 1.1 christos break;
3018 1.1 christos case 2:
3019 1.1 christos p = "unsigned int";
3020 1.1 christos break;
3021 1.1 christos default:
3022 1.1 christos break;
3023 1.1 christos };
3024 1.1 christos break;
3025 1.1 christos /* linux_sys_old_mmap */
3026 1.1 christos case 90:
3027 1.1 christos switch(ndx) {
3028 1.1 christos case 0:
3029 1.1 christos p = "struct linux_oldmmap *";
3030 1.1 christos break;
3031 1.1 christos default:
3032 1.1 christos break;
3033 1.1 christos };
3034 1.1 christos break;
3035 1.1 christos /* sys_munmap */
3036 1.1 christos case 91:
3037 1.1 christos switch(ndx) {
3038 1.1 christos case 0:
3039 1.1 christos p = "void *";
3040 1.1 christos break;
3041 1.1 christos case 1:
3042 1.1 christos p = "size_t";
3043 1.1 christos break;
3044 1.1 christos default:
3045 1.1 christos break;
3046 1.1 christos };
3047 1.1 christos break;
3048 1.1 christos /* compat_43_sys_truncate */
3049 1.1 christos case 92:
3050 1.1 christos switch(ndx) {
3051 1.1 christos case 0:
3052 1.1 christos p = "const char *";
3053 1.1 christos break;
3054 1.1 christos case 1:
3055 1.1 christos p = "long";
3056 1.1 christos break;
3057 1.1 christos default:
3058 1.1 christos break;
3059 1.1 christos };
3060 1.1 christos break;
3061 1.1 christos /* compat_43_sys_ftruncate */
3062 1.1 christos case 93:
3063 1.1 christos switch(ndx) {
3064 1.1 christos case 0:
3065 1.1 christos p = "int";
3066 1.1 christos break;
3067 1.1 christos case 1:
3068 1.1 christos p = "long";
3069 1.1 christos break;
3070 1.1 christos default:
3071 1.1 christos break;
3072 1.1 christos };
3073 1.1 christos break;
3074 1.1 christos /* sys_fchmod */
3075 1.1 christos case 94:
3076 1.1 christos switch(ndx) {
3077 1.1 christos case 0:
3078 1.1 christos p = "int";
3079 1.1 christos break;
3080 1.1 christos case 1:
3081 1.1 christos p = "linux_umode_t";
3082 1.1 christos break;
3083 1.1 christos default:
3084 1.1 christos break;
3085 1.1 christos };
3086 1.1 christos break;
3087 1.1 christos /* linux_sys_fchown16 */
3088 1.1 christos case 95:
3089 1.1 christos switch(ndx) {
3090 1.1 christos case 0:
3091 1.1 christos p = "int";
3092 1.1 christos break;
3093 1.1 christos case 1:
3094 1.1 christos p = "linux_uid16_t";
3095 1.1 christos break;
3096 1.1 christos case 2:
3097 1.1 christos p = "linux_gid16_t";
3098 1.1 christos break;
3099 1.1 christos default:
3100 1.1 christos break;
3101 1.1 christos };
3102 1.1 christos break;
3103 1.1 christos /* linux_sys_getpriority */
3104 1.1 christos case 96:
3105 1.1 christos switch(ndx) {
3106 1.1 christos case 0:
3107 1.1 christos p = "int";
3108 1.1 christos break;
3109 1.1 christos case 1:
3110 1.1 christos p = "int";
3111 1.1 christos break;
3112 1.1 christos default:
3113 1.1 christos break;
3114 1.1 christos };
3115 1.1 christos break;
3116 1.1 christos /* sys_setpriority */
3117 1.1 christos case 97:
3118 1.1 christos switch(ndx) {
3119 1.1 christos case 0:
3120 1.1 christos p = "int";
3121 1.1 christos break;
3122 1.1 christos case 1:
3123 1.1 christos p = "int";
3124 1.1 christos break;
3125 1.1 christos case 2:
3126 1.1 christos p = "int";
3127 1.1 christos break;
3128 1.1 christos default:
3129 1.1 christos break;
3130 1.1 christos };
3131 1.1 christos break;
3132 1.1 christos /* sys_profil */
3133 1.1 christos case 98:
3134 1.1 christos switch(ndx) {
3135 1.1 christos case 0:
3136 1.1 christos p = "void *";
3137 1.1 christos break;
3138 1.1 christos case 1:
3139 1.1 christos p = "u_int";
3140 1.1 christos break;
3141 1.1 christos case 2:
3142 1.1 christos p = "u_int";
3143 1.1 christos break;
3144 1.1 christos case 3:
3145 1.1 christos p = "u_int";
3146 1.1 christos break;
3147 1.1 christos default:
3148 1.1 christos break;
3149 1.1 christos };
3150 1.1 christos break;
3151 1.1 christos /* linux_sys_statfs */
3152 1.1 christos case 99:
3153 1.1 christos switch(ndx) {
3154 1.1 christos case 0:
3155 1.1 christos p = "const char *";
3156 1.1 christos break;
3157 1.1 christos case 1:
3158 1.1 christos p = "struct linux_statfs *";
3159 1.1 christos break;
3160 1.1 christos default:
3161 1.1 christos break;
3162 1.1 christos };
3163 1.1 christos break;
3164 1.1 christos /* linux_sys_fstatfs */
3165 1.1 christos case 100:
3166 1.1 christos switch(ndx) {
3167 1.1 christos case 0:
3168 1.1 christos p = "int";
3169 1.1 christos break;
3170 1.1 christos case 1:
3171 1.1 christos p = "struct linux_statfs *";
3172 1.1 christos break;
3173 1.1 christos default:
3174 1.1 christos break;
3175 1.1 christos };
3176 1.1 christos break;
3177 1.1 christos /* linux_sys_ioperm */
3178 1.1 christos case 101:
3179 1.1 christos switch(ndx) {
3180 1.1 christos case 0:
3181 1.1 christos p = "unsigned int";
3182 1.1 christos break;
3183 1.1 christos case 1:
3184 1.1 christos p = "unsigned int";
3185 1.1 christos break;
3186 1.1 christos case 2:
3187 1.1 christos p = "int";
3188 1.1 christos break;
3189 1.1 christos default:
3190 1.1 christos break;
3191 1.1 christos };
3192 1.1 christos break;
3193 1.1 christos /* linux_sys_socketcall */
3194 1.1 christos case 102:
3195 1.1 christos switch(ndx) {
3196 1.1 christos case 0:
3197 1.1 christos p = "int";
3198 1.1 christos break;
3199 1.1 christos case 1:
3200 1.1 christos p = "void *";
3201 1.1 christos break;
3202 1.1 christos default:
3203 1.1 christos break;
3204 1.1 christos };
3205 1.1 christos break;
3206 1.1 christos /* compat_50_sys_setitimer */
3207 1.1 christos case 104:
3208 1.1 christos switch(ndx) {
3209 1.1 christos case 0:
3210 1.1 christos p = "int";
3211 1.1 christos break;
3212 1.1 christos case 1:
3213 1.1 christos p = "struct itimerval50 *";
3214 1.1 christos break;
3215 1.1 christos case 2:
3216 1.1 christos p = "struct itimerval50 *";
3217 1.1 christos break;
3218 1.1 christos default:
3219 1.1 christos break;
3220 1.1 christos };
3221 1.1 christos break;
3222 1.1 christos /* compat_50_sys_getitimer */
3223 1.1 christos case 105:
3224 1.1 christos switch(ndx) {
3225 1.1 christos case 0:
3226 1.1 christos p = "int";
3227 1.1 christos break;
3228 1.1 christos case 1:
3229 1.1 christos p = "struct itimerval50 *";
3230 1.1 christos break;
3231 1.1 christos default:
3232 1.1 christos break;
3233 1.1 christos };
3234 1.1 christos break;
3235 1.1 christos /* linux_sys_stat */
3236 1.1 christos case 106:
3237 1.1 christos switch(ndx) {
3238 1.1 christos case 0:
3239 1.1 christos p = "const char *";
3240 1.1 christos break;
3241 1.1 christos case 1:
3242 1.1 christos p = "struct linux_stat *";
3243 1.1 christos break;
3244 1.1 christos default:
3245 1.1 christos break;
3246 1.1 christos };
3247 1.1 christos break;
3248 1.1 christos /* linux_sys_lstat */
3249 1.1 christos case 107:
3250 1.1 christos switch(ndx) {
3251 1.1 christos case 0:
3252 1.1 christos p = "const char *";
3253 1.1 christos break;
3254 1.1 christos case 1:
3255 1.1 christos p = "struct linux_stat *";
3256 1.1 christos break;
3257 1.1 christos default:
3258 1.1 christos break;
3259 1.1 christos };
3260 1.1 christos break;
3261 1.1 christos /* linux_sys_fstat */
3262 1.1 christos case 108:
3263 1.1 christos switch(ndx) {
3264 1.1 christos case 0:
3265 1.1 christos p = "int";
3266 1.1 christos break;
3267 1.1 christos case 1:
3268 1.1 christos p = "struct linux_stat *";
3269 1.1 christos break;
3270 1.1 christos default:
3271 1.1 christos break;
3272 1.1 christos };
3273 1.1 christos break;
3274 1.1 christos /* linux_sys_olduname */
3275 1.1 christos case 109:
3276 1.1 christos switch(ndx) {
3277 1.1 christos case 0:
3278 1.1 christos p = "struct linux_old_utsname *";
3279 1.1 christos break;
3280 1.1 christos default:
3281 1.1 christos break;
3282 1.1 christos };
3283 1.1 christos break;
3284 1.1 christos /* linux_sys_iopl */
3285 1.1 christos case 110:
3286 1.1 christos switch(ndx) {
3287 1.1 christos case 0:
3288 1.1 christos p = "int";
3289 1.1 christos break;
3290 1.1 christos default:
3291 1.1 christos break;
3292 1.1 christos };
3293 1.1 christos break;
3294 1.1 christos /* linux_sys_wait4 */
3295 1.1 christos case 114:
3296 1.1 christos switch(ndx) {
3297 1.1 christos case 0:
3298 1.1 christos p = "int";
3299 1.1 christos break;
3300 1.1 christos case 1:
3301 1.1 christos p = "int *";
3302 1.1 christos break;
3303 1.1 christos case 2:
3304 1.1 christos p = "int";
3305 1.1 christos break;
3306 1.1 christos case 3:
3307 1.1 christos p = "struct rusage50 *";
3308 1.1 christos break;
3309 1.1 christos default:
3310 1.1 christos break;
3311 1.1 christos };
3312 1.1 christos break;
3313 1.1 christos /* linux_sys_swapoff */
3314 1.1 christos case 115:
3315 1.1 christos switch(ndx) {
3316 1.1 christos case 0:
3317 1.1 christos p = "const char *";
3318 1.1 christos break;
3319 1.1 christos default:
3320 1.1 christos break;
3321 1.1 christos };
3322 1.1 christos break;
3323 1.1 christos /* linux_sys_sysinfo */
3324 1.1 christos case 116:
3325 1.1 christos switch(ndx) {
3326 1.1 christos case 0:
3327 1.1 christos p = "struct linux_sysinfo *";
3328 1.1 christos break;
3329 1.1 christos default:
3330 1.1 christos break;
3331 1.1 christos };
3332 1.1 christos break;
3333 1.1 christos /* linux_sys_ipc */
3334 1.1 christos case 117:
3335 1.1 christos switch(ndx) {
3336 1.1 christos case 0:
3337 1.1 christos p = "int";
3338 1.1 christos break;
3339 1.1 christos case 1:
3340 1.1 christos p = "int";
3341 1.1 christos break;
3342 1.1 christos case 2:
3343 1.1 christos p = "int";
3344 1.1 christos break;
3345 1.1 christos case 3:
3346 1.1 christos p = "int";
3347 1.1 christos break;
3348 1.1 christos case 4:
3349 1.1 christos p = "void *";
3350 1.1 christos break;
3351 1.1 christos default:
3352 1.1 christos break;
3353 1.1 christos };
3354 1.1 christos break;
3355 1.1 christos /* sys_fsync */
3356 1.1 christos case 118:
3357 1.1 christos switch(ndx) {
3358 1.1 christos case 0:
3359 1.1 christos p = "int";
3360 1.1 christos break;
3361 1.1 christos default:
3362 1.1 christos break;
3363 1.1 christos };
3364 1.1 christos break;
3365 1.1 christos /* linux_sys_sigreturn */
3366 1.1 christos case 119:
3367 1.1 christos switch(ndx) {
3368 1.1 christos case 0:
3369 1.1 christos p = "struct linux_sigcontext *";
3370 1.1 christos break;
3371 1.1 christos default:
3372 1.1 christos break;
3373 1.1 christos };
3374 1.1 christos break;
3375 1.1 christos /* linux_sys_clone */
3376 1.1 christos case 120:
3377 1.1 christos switch(ndx) {
3378 1.1 christos case 0:
3379 1.1 christos p = "int";
3380 1.1 christos break;
3381 1.1 christos case 1:
3382 1.1 christos p = "void *";
3383 1.1 christos break;
3384 1.1 christos case 2:
3385 1.1 christos p = "void *";
3386 1.1 christos break;
3387 1.1 christos case 3:
3388 1.1 christos p = "void *";
3389 1.1 christos break;
3390 1.1 christos case 4:
3391 1.1 christos p = "void *";
3392 1.1 christos break;
3393 1.1 christos default:
3394 1.1 christos break;
3395 1.1 christos };
3396 1.1 christos break;
3397 1.1 christos /* linux_sys_setdomainname */
3398 1.1 christos case 121:
3399 1.1 christos switch(ndx) {
3400 1.1 christos case 0:
3401 1.1 christos p = "char *";
3402 1.1 christos break;
3403 1.1 christos case 1:
3404 1.1 christos p = "int";
3405 1.1 christos break;
3406 1.1 christos default:
3407 1.1 christos break;
3408 1.1 christos };
3409 1.1 christos break;
3410 1.1 christos /* linux_sys_uname */
3411 1.1 christos case 122:
3412 1.1 christos switch(ndx) {
3413 1.1 christos case 0:
3414 1.1 christos p = "struct linux_utsname *";
3415 1.1 christos break;
3416 1.1 christos default:
3417 1.1 christos break;
3418 1.1 christos };
3419 1.1 christos break;
3420 1.1 christos /* linux_sys_modify_ldt */
3421 1.1 christos case 123:
3422 1.1 christos switch(ndx) {
3423 1.1 christos case 0:
3424 1.1 christos p = "int";
3425 1.1 christos break;
3426 1.1 christos case 1:
3427 1.1 christos p = "void *";
3428 1.1 christos break;
3429 1.1 christos case 2:
3430 1.1 christos p = "size_t";
3431 1.1 christos break;
3432 1.1 christos default:
3433 1.1 christos break;
3434 1.1 christos };
3435 1.1 christos break;
3436 1.1 christos /* linux_sys_mprotect */
3437 1.1 christos case 125:
3438 1.1 christos switch(ndx) {
3439 1.1 christos case 0:
3440 1.1 christos p = "const void *";
3441 1.1 christos break;
3442 1.1 christos case 1:
3443 1.1 christos p = "unsigned long";
3444 1.1 christos break;
3445 1.1 christos case 2:
3446 1.1 christos p = "int";
3447 1.1 christos break;
3448 1.1 christos default:
3449 1.1 christos break;
3450 1.1 christos };
3451 1.1 christos break;
3452 1.1 christos /* linux_sys_sigprocmask */
3453 1.1 christos case 126:
3454 1.1 christos switch(ndx) {
3455 1.1 christos case 0:
3456 1.1 christos p = "int";
3457 1.1 christos break;
3458 1.1 christos case 1:
3459 1.1 christos p = "const linux_old_sigset_t *";
3460 1.1 christos break;
3461 1.1 christos case 2:
3462 1.1 christos p = "linux_old_sigset_t *";
3463 1.1 christos break;
3464 1.1 christos default:
3465 1.1 christos break;
3466 1.1 christos };
3467 1.1 christos break;
3468 1.1 christos /* sys_getpgid */
3469 1.1 christos case 132:
3470 1.1 christos switch(ndx) {
3471 1.1 christos case 0:
3472 1.1 christos p = "pid_t";
3473 1.1 christos break;
3474 1.1 christos default:
3475 1.1 christos break;
3476 1.1 christos };
3477 1.1 christos break;
3478 1.1 christos /* sys_fchdir */
3479 1.1 christos case 133:
3480 1.1 christos switch(ndx) {
3481 1.1 christos case 0:
3482 1.1 christos p = "int";
3483 1.1 christos break;
3484 1.1 christos default:
3485 1.1 christos break;
3486 1.1 christos };
3487 1.1 christos break;
3488 1.1 christos /* linux_sys_personality */
3489 1.1 christos case 136:
3490 1.1 christos switch(ndx) {
3491 1.1 christos case 0:
3492 1.1 christos p = "unsigned long";
3493 1.1 christos break;
3494 1.1 christos default:
3495 1.1 christos break;
3496 1.1 christos };
3497 1.1 christos break;
3498 1.1 christos /* linux_sys_setfsuid */
3499 1.1 christos case 138:
3500 1.1 christos switch(ndx) {
3501 1.1 christos case 0:
3502 1.1 christos p = "uid_t";
3503 1.1 christos break;
3504 1.1 christos default:
3505 1.1 christos break;
3506 1.1 christos };
3507 1.1 christos break;
3508 1.1 christos /* linux_sys_setfsgid */
3509 1.1 christos case 139:
3510 1.1 christos switch(ndx) {
3511 1.1 christos case 0:
3512 1.1 christos p = "gid_t";
3513 1.1 christos break;
3514 1.1 christos default:
3515 1.1 christos break;
3516 1.1 christos };
3517 1.1 christos break;
3518 1.1 christos /* linux_sys_llseek */
3519 1.1 christos case 140:
3520 1.1 christos switch(ndx) {
3521 1.1 christos case 0:
3522 1.1 christos p = "int";
3523 1.1 christos break;
3524 1.1 christos case 1:
3525 1.1 christos p = "u_int32_t";
3526 1.1 christos break;
3527 1.1 christos case 2:
3528 1.1 christos p = "u_int32_t";
3529 1.1 christos break;
3530 1.1 christos case 3:
3531 1.1 christos p = "void *";
3532 1.1 christos break;
3533 1.1 christos case 4:
3534 1.1 christos p = "int";
3535 1.1 christos break;
3536 1.1 christos default:
3537 1.1 christos break;
3538 1.1 christos };
3539 1.1 christos break;
3540 1.1 christos /* linux_sys_getdents */
3541 1.1 christos case 141:
3542 1.1 christos switch(ndx) {
3543 1.1 christos case 0:
3544 1.1 christos p = "int";
3545 1.1 christos break;
3546 1.1 christos case 1:
3547 1.1 christos p = "struct linux_dirent *";
3548 1.1 christos break;
3549 1.1 christos case 2:
3550 1.1 christos p = "unsigned int";
3551 1.1 christos break;
3552 1.1 christos default:
3553 1.1 christos break;
3554 1.1 christos };
3555 1.1 christos break;
3556 1.1 christos /* linux_sys_select */
3557 1.1 christos case 142:
3558 1.1 christos switch(ndx) {
3559 1.1 christos case 0:
3560 1.1 christos p = "int";
3561 1.1 christos break;
3562 1.1 christos case 1:
3563 1.1 christos p = "fd_set *";
3564 1.1 christos break;
3565 1.1 christos case 2:
3566 1.1 christos p = "fd_set *";
3567 1.1 christos break;
3568 1.1 christos case 3:
3569 1.1 christos p = "fd_set *";
3570 1.1 christos break;
3571 1.1 christos case 4:
3572 1.1 christos p = "struct timeval50 *";
3573 1.1 christos break;
3574 1.1 christos default:
3575 1.1 christos break;
3576 1.1 christos };
3577 1.1 christos break;
3578 1.1 christos /* sys_flock */
3579 1.1 christos case 143:
3580 1.1 christos switch(ndx) {
3581 1.1 christos case 0:
3582 1.1 christos p = "int";
3583 1.1 christos break;
3584 1.1 christos case 1:
3585 1.1 christos p = "int";
3586 1.1 christos break;
3587 1.1 christos default:
3588 1.1 christos break;
3589 1.1 christos };
3590 1.1 christos break;
3591 1.1 christos /* sys___msync13 */
3592 1.1 christos case 144:
3593 1.1 christos switch(ndx) {
3594 1.1 christos case 0:
3595 1.1 christos p = "void *";
3596 1.1 christos break;
3597 1.1 christos case 1:
3598 1.1 christos p = "size_t";
3599 1.1 christos break;
3600 1.1 christos case 2:
3601 1.1 christos p = "int";
3602 1.1 christos break;
3603 1.1 christos default:
3604 1.1 christos break;
3605 1.1 christos };
3606 1.1 christos break;
3607 1.1 christos /* sys_readv */
3608 1.1 christos case 145:
3609 1.1 christos switch(ndx) {
3610 1.1 christos case 0:
3611 1.1 christos p = "int";
3612 1.1 christos break;
3613 1.1 christos case 1:
3614 1.1 christos p = "const struct iovec *";
3615 1.1 christos break;
3616 1.1 christos case 2:
3617 1.1 christos p = "int";
3618 1.1 christos break;
3619 1.1 christos default:
3620 1.1 christos break;
3621 1.1 christos };
3622 1.1 christos break;
3623 1.1 christos /* sys_writev */
3624 1.1 christos case 146:
3625 1.1 christos switch(ndx) {
3626 1.1 christos case 0:
3627 1.1 christos p = "int";
3628 1.1 christos break;
3629 1.1 christos case 1:
3630 1.1 christos p = "const struct iovec *";
3631 1.1 christos break;
3632 1.1 christos case 2:
3633 1.1 christos p = "int";
3634 1.1 christos break;
3635 1.1 christos default:
3636 1.1 christos break;
3637 1.1 christos };
3638 1.1 christos break;
3639 1.1 christos /* sys_getsid */
3640 1.1 christos case 147:
3641 1.1 christos switch(ndx) {
3642 1.1 christos case 0:
3643 1.1 christos p = "pid_t";
3644 1.1 christos break;
3645 1.1 christos default:
3646 1.1 christos break;
3647 1.1 christos };
3648 1.1 christos break;
3649 1.1 christos /* linux_sys_fdatasync */
3650 1.1 christos case 148:
3651 1.1 christos switch(ndx) {
3652 1.1 christos case 0:
3653 1.1 christos p = "int";
3654 1.1 christos break;
3655 1.1 christos default:
3656 1.1 christos break;
3657 1.1 christos };
3658 1.1 christos break;
3659 1.1 christos /* linux_sys___sysctl */
3660 1.1 christos case 149:
3661 1.1 christos switch(ndx) {
3662 1.1 christos case 0:
3663 1.1 christos p = "struct linux___sysctl *";
3664 1.1 christos break;
3665 1.1 christos default:
3666 1.1 christos break;
3667 1.1 christos };
3668 1.1 christos break;
3669 1.1 christos /* sys_mlock */
3670 1.1 christos case 150:
3671 1.1 christos switch(ndx) {
3672 1.1 christos case 0:
3673 1.1 christos p = "void *";
3674 1.1 christos break;
3675 1.1 christos case 1:
3676 1.1 christos p = "size_t";
3677 1.1 christos break;
3678 1.1 christos default:
3679 1.1 christos break;
3680 1.1 christos };
3681 1.1 christos break;
3682 1.1 christos /* sys_munlock */
3683 1.1 christos case 151:
3684 1.1 christos switch(ndx) {
3685 1.1 christos case 0:
3686 1.1 christos p = "void *";
3687 1.1 christos break;
3688 1.1 christos case 1:
3689 1.1 christos p = "size_t";
3690 1.1 christos break;
3691 1.1 christos default:
3692 1.1 christos break;
3693 1.1 christos };
3694 1.1 christos break;
3695 1.1 christos /* sys_mlockall */
3696 1.1 christos case 152:
3697 1.1 christos switch(ndx) {
3698 1.1 christos case 0:
3699 1.1 christos p = "int";
3700 1.1 christos break;
3701 1.1 christos default:
3702 1.1 christos break;
3703 1.1 christos };
3704 1.1 christos break;
3705 1.1 christos /* sys_munlockall */
3706 1.1 christos case 153:
3707 1.1 christos break;
3708 1.1 christos /* linux_sys_sched_setparam */
3709 1.1 christos case 154:
3710 1.1 christos switch(ndx) {
3711 1.1 christos case 0:
3712 1.1 christos p = "pid_t";
3713 1.1 christos break;
3714 1.1 christos case 1:
3715 1.1 christos p = "const struct linux_sched_param *";
3716 1.1 christos break;
3717 1.1 christos default:
3718 1.1 christos break;
3719 1.1 christos };
3720 1.1 christos break;
3721 1.1 christos /* linux_sys_sched_getparam */
3722 1.1 christos case 155:
3723 1.1 christos switch(ndx) {
3724 1.1 christos case 0:
3725 1.1 christos p = "pid_t";
3726 1.1 christos break;
3727 1.1 christos case 1:
3728 1.1 christos p = "struct linux_sched_param *";
3729 1.1 christos break;
3730 1.1 christos default:
3731 1.1 christos break;
3732 1.1 christos };
3733 1.1 christos break;
3734 1.1 christos /* linux_sys_sched_setscheduler */
3735 1.1 christos case 156:
3736 1.1 christos switch(ndx) {
3737 1.1 christos case 0:
3738 1.1 christos p = "pid_t";
3739 1.1 christos break;
3740 1.1 christos case 1:
3741 1.1 christos p = "int";
3742 1.1 christos break;
3743 1.1 christos case 2:
3744 1.1 christos p = "const struct linux_sched_param *";
3745 1.1 christos break;
3746 1.1 christos default:
3747 1.1 christos break;
3748 1.1 christos };
3749 1.1 christos break;
3750 1.1 christos /* linux_sys_sched_getscheduler */
3751 1.1 christos case 157:
3752 1.1 christos switch(ndx) {
3753 1.1 christos case 0:
3754 1.1 christos p = "pid_t";
3755 1.1 christos break;
3756 1.1 christos default:
3757 1.1 christos break;
3758 1.1 christos };
3759 1.1 christos break;
3760 1.1 christos /* linux_sys_sched_yield */
3761 1.1 christos case 158:
3762 1.1 christos break;
3763 1.1 christos /* linux_sys_sched_get_priority_max */
3764 1.1 christos case 159:
3765 1.1 christos switch(ndx) {
3766 1.1 christos case 0:
3767 1.1 christos p = "int";
3768 1.1 christos break;
3769 1.1 christos default:
3770 1.1 christos break;
3771 1.1 christos };
3772 1.1 christos break;
3773 1.1 christos /* linux_sys_sched_get_priority_min */
3774 1.1 christos case 160:
3775 1.1 christos switch(ndx) {
3776 1.1 christos case 0:
3777 1.1 christos p = "int";
3778 1.1 christos break;
3779 1.1 christos default:
3780 1.1 christos break;
3781 1.1 christos };
3782 1.1 christos break;
3783 1.1 christos /* linux_sys_nanosleep */
3784 1.1 christos case 162:
3785 1.1 christos switch(ndx) {
3786 1.1 christos case 0:
3787 1.1 christos p = "const struct linux_timespec *";
3788 1.1 christos break;
3789 1.1 christos case 1:
3790 1.1 christos p = "struct linux_timespec *";
3791 1.1 christos break;
3792 1.1 christos default:
3793 1.1 christos break;
3794 1.1 christos };
3795 1.1 christos break;
3796 1.1 christos /* linux_sys_mremap */
3797 1.1 christos case 163:
3798 1.1 christos switch(ndx) {
3799 1.1 christos case 0:
3800 1.1 christos p = "void *";
3801 1.1 christos break;
3802 1.1 christos case 1:
3803 1.1 christos p = "size_t";
3804 1.1 christos break;
3805 1.1 christos case 2:
3806 1.1 christos p = "size_t";
3807 1.1 christos break;
3808 1.1 christos case 3:
3809 1.1 christos p = "u_long";
3810 1.1 christos break;
3811 1.1 christos default:
3812 1.1 christos break;
3813 1.1 christos };
3814 1.1 christos break;
3815 1.1 christos /* linux_sys_setresuid16 */
3816 1.1 christos case 164:
3817 1.1 christos switch(ndx) {
3818 1.1 christos case 0:
3819 1.1 christos p = "linux_uid16_t";
3820 1.1 christos break;
3821 1.1 christos case 1:
3822 1.1 christos p = "linux_uid16_t";
3823 1.1 christos break;
3824 1.1 christos case 2:
3825 1.1 christos p = "linux_uid16_t";
3826 1.1 christos break;
3827 1.1 christos default:
3828 1.1 christos break;
3829 1.1 christos };
3830 1.1 christos break;
3831 1.1 christos /* linux_sys_getresuid16 */
3832 1.1 christos case 165:
3833 1.1 christos switch(ndx) {
3834 1.1 christos case 0:
3835 1.1 christos p = "linux_uid16_t *";
3836 1.1 christos break;
3837 1.1 christos case 1:
3838 1.1 christos p = "linux_uid16_t *";
3839 1.1 christos break;
3840 1.1 christos case 2:
3841 1.1 christos p = "linux_uid16_t *";
3842 1.1 christos break;
3843 1.1 christos default:
3844 1.1 christos break;
3845 1.1 christos };
3846 1.1 christos break;
3847 1.1 christos /* sys_poll */
3848 1.1 christos case 168:
3849 1.1 christos switch(ndx) {
3850 1.1 christos case 0:
3851 1.1 christos p = "struct pollfd *";
3852 1.1 christos break;
3853 1.1 christos case 1:
3854 1.1 christos p = "u_int";
3855 1.1 christos break;
3856 1.1 christos case 2:
3857 1.1 christos p = "int";
3858 1.1 christos break;
3859 1.1 christos default:
3860 1.1 christos break;
3861 1.1 christos };
3862 1.1 christos break;
3863 1.1 christos /* linux_sys_setresgid16 */
3864 1.1 christos case 170:
3865 1.1 christos switch(ndx) {
3866 1.1 christos case 0:
3867 1.1 christos p = "linux_gid16_t";
3868 1.1 christos break;
3869 1.1 christos case 1:
3870 1.1 christos p = "linux_gid16_t";
3871 1.1 christos break;
3872 1.1 christos case 2:
3873 1.1 christos p = "linux_gid16_t";
3874 1.1 christos break;
3875 1.1 christos default:
3876 1.1 christos break;
3877 1.1 christos };
3878 1.1 christos break;
3879 1.1 christos /* linux_sys_getresgid16 */
3880 1.1 christos case 171:
3881 1.1 christos switch(ndx) {
3882 1.1 christos case 0:
3883 1.1 christos p = "linux_gid16_t *";
3884 1.1 christos break;
3885 1.1 christos case 1:
3886 1.1 christos p = "linux_gid16_t *";
3887 1.1 christos break;
3888 1.1 christos case 2:
3889 1.1 christos p = "linux_gid16_t *";
3890 1.1 christos break;
3891 1.1 christos default:
3892 1.1 christos break;
3893 1.1 christos };
3894 1.1 christos break;
3895 1.1 christos /* linux_sys_rt_sigreturn */
3896 1.1 christos case 173:
3897 1.1 christos switch(ndx) {
3898 1.1 christos case 0:
3899 1.1 christos p = "struct linux_ucontext *";
3900 1.1 christos break;
3901 1.1 christos default:
3902 1.1 christos break;
3903 1.1 christos };
3904 1.1 christos break;
3905 1.1 christos /* linux_sys_rt_sigaction */
3906 1.1 christos case 174:
3907 1.1 christos switch(ndx) {
3908 1.1 christos case 0:
3909 1.1 christos p = "int";
3910 1.1 christos break;
3911 1.1 christos case 1:
3912 1.1 christos p = "const struct linux_sigaction *";
3913 1.1 christos break;
3914 1.1 christos case 2:
3915 1.1 christos p = "struct linux_sigaction *";
3916 1.1 christos break;
3917 1.1 christos case 3:
3918 1.1 christos p = "size_t";
3919 1.1 christos break;
3920 1.1 christos default:
3921 1.1 christos break;
3922 1.1 christos };
3923 1.1 christos break;
3924 1.1 christos /* linux_sys_rt_sigprocmask */
3925 1.1 christos case 175:
3926 1.1 christos switch(ndx) {
3927 1.1 christos case 0:
3928 1.1 christos p = "int";
3929 1.1 christos break;
3930 1.1 christos case 1:
3931 1.1 christos p = "const linux_sigset_t *";
3932 1.1 christos break;
3933 1.1 christos case 2:
3934 1.1 christos p = "linux_sigset_t *";
3935 1.1 christos break;
3936 1.1 christos case 3:
3937 1.1 christos p = "size_t";
3938 1.1 christos break;
3939 1.1 christos default:
3940 1.1 christos break;
3941 1.1 christos };
3942 1.1 christos break;
3943 1.1 christos /* linux_sys_rt_sigpending */
3944 1.1 christos case 176:
3945 1.1 christos switch(ndx) {
3946 1.1 christos case 0:
3947 1.1 christos p = "linux_sigset_t *";
3948 1.1 christos break;
3949 1.1 christos case 1:
3950 1.1 christos p = "size_t";
3951 1.1 christos break;
3952 1.1 christos default:
3953 1.1 christos break;
3954 1.1 christos };
3955 1.1 christos break;
3956 1.1 christos /* linux_sys_rt_sigtimedwait */
3957 1.1 christos case 177:
3958 1.1 christos switch(ndx) {
3959 1.1 christos case 0:
3960 1.1 christos p = "const linux_sigset_t *";
3961 1.1 christos break;
3962 1.1 christos case 1:
3963 1.1 christos p = "linux_siginfo_t *";
3964 1.1 christos break;
3965 1.1 christos case 2:
3966 1.1 christos p = "const struct linux_timespec *";
3967 1.1 christos break;
3968 1.1 christos default:
3969 1.1 christos break;
3970 1.1 christos };
3971 1.1 christos break;
3972 1.1 christos /* linux_sys_rt_queueinfo */
3973 1.1 christos case 178:
3974 1.1 christos switch(ndx) {
3975 1.1 christos case 0:
3976 1.1 christos p = "int";
3977 1.1 christos break;
3978 1.1 christos case 1:
3979 1.1 christos p = "int";
3980 1.1 christos break;
3981 1.1 christos case 2:
3982 1.1 christos p = "linux_siginfo_t *";
3983 1.1 christos break;
3984 1.1 christos default:
3985 1.1 christos break;
3986 1.1 christos };
3987 1.1 christos break;
3988 1.1 christos /* linux_sys_rt_sigsuspend */
3989 1.1 christos case 179:
3990 1.1 christos switch(ndx) {
3991 1.1 christos case 0:
3992 1.1 christos p = "linux_sigset_t *";
3993 1.1 christos break;
3994 1.1 christos case 1:
3995 1.1 christos p = "size_t";
3996 1.1 christos break;
3997 1.1 christos default:
3998 1.1 christos break;
3999 1.1 christos };
4000 1.1 christos break;
4001 1.1 christos /* linux_sys_pread */
4002 1.1 christos case 180:
4003 1.1 christos switch(ndx) {
4004 1.1 christos case 0:
4005 1.1 christos p = "int";
4006 1.1 christos break;
4007 1.1 christos case 1:
4008 1.1 christos p = "char *";
4009 1.1 christos break;
4010 1.1 christos case 2:
4011 1.1 christos p = "size_t";
4012 1.1 christos break;
4013 1.1 christos case 3:
4014 1.1 christos p = "off_t";
4015 1.1 christos break;
4016 1.1 christos default:
4017 1.1 christos break;
4018 1.1 christos };
4019 1.1 christos break;
4020 1.1 christos /* linux_sys_pwrite */
4021 1.1 christos case 181:
4022 1.1 christos switch(ndx) {
4023 1.1 christos case 0:
4024 1.1 christos p = "int";
4025 1.1 christos break;
4026 1.1 christos case 1:
4027 1.1 christos p = "char *";
4028 1.1 christos break;
4029 1.1 christos case 2:
4030 1.1 christos p = "size_t";
4031 1.1 christos break;
4032 1.1 christos case 3:
4033 1.1 christos p = "off_t";
4034 1.1 christos break;
4035 1.1 christos default:
4036 1.1 christos break;
4037 1.1 christos };
4038 1.1 christos break;
4039 1.1 christos /* linux_sys_chown16 */
4040 1.1 christos case 182:
4041 1.1 christos switch(ndx) {
4042 1.1 christos case 0:
4043 1.1 christos p = "const char *";
4044 1.1 christos break;
4045 1.1 christos case 1:
4046 1.1 christos p = "linux_uid16_t";
4047 1.1 christos break;
4048 1.1 christos case 2:
4049 1.1 christos p = "linux_gid16_t";
4050 1.1 christos break;
4051 1.1 christos default:
4052 1.1 christos break;
4053 1.1 christos };
4054 1.1 christos break;
4055 1.1 christos /* sys___getcwd */
4056 1.1 christos case 183:
4057 1.1 christos switch(ndx) {
4058 1.1 christos case 0:
4059 1.1 christos p = "char *";
4060 1.1 christos break;
4061 1.1 christos case 1:
4062 1.1 christos p = "size_t";
4063 1.1 christos break;
4064 1.1 christos default:
4065 1.1 christos break;
4066 1.1 christos };
4067 1.1 christos break;
4068 1.1 christos /* linux_sys_sigaltstack */
4069 1.1 christos case 186:
4070 1.1 christos switch(ndx) {
4071 1.1 christos case 0:
4072 1.1 christos p = "const struct linux_sigaltstack *";
4073 1.1 christos break;
4074 1.1 christos case 1:
4075 1.1 christos p = "struct linux_sigaltstack *";
4076 1.1 christos break;
4077 1.1 christos default:
4078 1.1 christos break;
4079 1.1 christos };
4080 1.1 christos break;
4081 1.1 christos /* sys___vfork14 */
4082 1.1 christos case 190:
4083 1.1 christos break;
4084 1.1 christos /* linux_sys_ugetrlimit */
4085 1.1 christos case 191:
4086 1.1 christos switch(ndx) {
4087 1.1 christos case 0:
4088 1.1 christos p = "int";
4089 1.1 christos break;
4090 1.1 christos case 1:
4091 1.1 christos p = "struct orlimit *";
4092 1.1 christos break;
4093 1.1 christos default:
4094 1.1 christos break;
4095 1.1 christos };
4096 1.1 christos break;
4097 1.1 christos #define linux_sys_mmap2_args linux_sys_mmap_args
4098 1.1 christos /* linux_sys_mmap2 */
4099 1.1 christos case 192:
4100 1.1 christos switch(ndx) {
4101 1.1 christos case 0:
4102 1.1 christos p = "unsigned long";
4103 1.1 christos break;
4104 1.1 christos case 1:
4105 1.1 christos p = "size_t";
4106 1.1 christos break;
4107 1.1 christos case 2:
4108 1.1 christos p = "int";
4109 1.1 christos break;
4110 1.1 christos case 3:
4111 1.1 christos p = "int";
4112 1.1 christos break;
4113 1.1 christos case 4:
4114 1.1 christos p = "int";
4115 1.1 christos break;
4116 1.1 christos case 5:
4117 1.1 christos p = "linux_off_t";
4118 1.1 christos break;
4119 1.1 christos default:
4120 1.1 christos break;
4121 1.1 christos };
4122 1.1 christos break;
4123 1.1 christos /* linux_sys_truncate64 */
4124 1.1 christos case 193:
4125 1.1 christos switch(ndx) {
4126 1.1 christos case 0:
4127 1.1 christos p = "const char *";
4128 1.1 christos break;
4129 1.1 christos case 1:
4130 1.1 christos p = "off_t";
4131 1.1 christos break;
4132 1.1 christos default:
4133 1.1 christos break;
4134 1.1 christos };
4135 1.1 christos break;
4136 1.1 christos /* linux_sys_ftruncate64 */
4137 1.1 christos case 194:
4138 1.1 christos switch(ndx) {
4139 1.1 christos case 0:
4140 1.1 christos p = "unsigned int";
4141 1.1 christos break;
4142 1.1 christos case 1:
4143 1.1 christos p = "off_t";
4144 1.1 christos break;
4145 1.1 christos default:
4146 1.1 christos break;
4147 1.1 christos };
4148 1.1 christos break;
4149 1.1 christos /* linux_sys_stat64 */
4150 1.1 christos case 195:
4151 1.1 christos switch(ndx) {
4152 1.1 christos case 0:
4153 1.1 christos p = "const char *";
4154 1.1 christos break;
4155 1.1 christos case 1:
4156 1.1 christos p = "struct linux_stat64 *";
4157 1.1 christos break;
4158 1.1 christos default:
4159 1.1 christos break;
4160 1.1 christos };
4161 1.1 christos break;
4162 1.1 christos /* linux_sys_lstat64 */
4163 1.1 christos case 196:
4164 1.1 christos switch(ndx) {
4165 1.1 christos case 0:
4166 1.1 christos p = "const char *";
4167 1.1 christos break;
4168 1.1 christos case 1:
4169 1.1 christos p = "struct linux_stat64 *";
4170 1.1 christos break;
4171 1.1 christos default:
4172 1.1 christos break;
4173 1.1 christos };
4174 1.1 christos break;
4175 1.1 christos /* linux_sys_fstat64 */
4176 1.1 christos case 197:
4177 1.1 christos switch(ndx) {
4178 1.1 christos case 0:
4179 1.1 christos p = "int";
4180 1.1 christos break;
4181 1.1 christos case 1:
4182 1.1 christos p = "struct linux_stat64 *";
4183 1.1 christos break;
4184 1.1 christos default:
4185 1.1 christos break;
4186 1.1 christos };
4187 1.1 christos break;
4188 1.1 christos /* sys___posix_lchown */
4189 1.1 christos case 198:
4190 1.1 christos switch(ndx) {
4191 1.1 christos case 0:
4192 1.1 christos p = "const char *";
4193 1.1 christos break;
4194 1.1 christos case 1:
4195 1.1 christos p = "uid_t";
4196 1.1 christos break;
4197 1.1 christos case 2:
4198 1.1 christos p = "gid_t";
4199 1.1 christos break;
4200 1.1 christos default:
4201 1.1 christos break;
4202 1.1 christos };
4203 1.1 christos break;
4204 1.1 christos /* sys_getuid */
4205 1.1 christos case 199:
4206 1.1 christos break;
4207 1.1 christos /* sys_getgid */
4208 1.1 christos case 200:
4209 1.1 christos break;
4210 1.1 christos /* sys_geteuid */
4211 1.1 christos case 201:
4212 1.1 christos break;
4213 1.1 christos /* sys_getegid */
4214 1.1 christos case 202:
4215 1.1 christos break;
4216 1.1 christos /* sys_setreuid */
4217 1.1 christos case 203:
4218 1.1 christos switch(ndx) {
4219 1.1 christos case 0:
4220 1.1 christos p = "uid_t";
4221 1.1 christos break;
4222 1.1 christos case 1:
4223 1.1 christos p = "uid_t";
4224 1.1 christos break;
4225 1.1 christos default:
4226 1.1 christos break;
4227 1.1 christos };
4228 1.1 christos break;
4229 1.1 christos /* sys_setregid */
4230 1.1 christos case 204:
4231 1.1 christos switch(ndx) {
4232 1.1 christos case 0:
4233 1.1 christos p = "gid_t";
4234 1.1 christos break;
4235 1.1 christos case 1:
4236 1.1 christos p = "gid_t";
4237 1.1 christos break;
4238 1.1 christos default:
4239 1.1 christos break;
4240 1.1 christos };
4241 1.1 christos break;
4242 1.1 christos /* sys_getgroups */
4243 1.1 christos case 205:
4244 1.1 christos switch(ndx) {
4245 1.1 christos case 0:
4246 1.1 christos p = "int";
4247 1.1 christos break;
4248 1.1 christos case 1:
4249 1.1 christos p = "gid_t *";
4250 1.1 christos break;
4251 1.1 christos default:
4252 1.1 christos break;
4253 1.1 christos };
4254 1.1 christos break;
4255 1.1 christos /* sys_setgroups */
4256 1.1 christos case 206:
4257 1.1 christos switch(ndx) {
4258 1.1 christos case 0:
4259 1.1 christos p = "int";
4260 1.1 christos break;
4261 1.1 christos case 1:
4262 1.1 christos p = "gid_t *";
4263 1.1 christos break;
4264 1.1 christos default:
4265 1.1 christos break;
4266 1.1 christos };
4267 1.1 christos break;
4268 1.1 christos /* sys___posix_fchown */
4269 1.1 christos case 207:
4270 1.1 christos switch(ndx) {
4271 1.1 christos case 0:
4272 1.1 christos p = "int";
4273 1.1 christos break;
4274 1.1 christos case 1:
4275 1.1 christos p = "uid_t";
4276 1.1 christos break;
4277 1.1 christos case 2:
4278 1.1 christos p = "gid_t";
4279 1.1 christos break;
4280 1.1 christos default:
4281 1.1 christos break;
4282 1.1 christos };
4283 1.1 christos break;
4284 1.1 christos /* linux_sys_setresuid */
4285 1.1 christos case 208:
4286 1.1 christos switch(ndx) {
4287 1.1 christos case 0:
4288 1.1 christos p = "uid_t";
4289 1.1 christos break;
4290 1.1 christos case 1:
4291 1.1 christos p = "uid_t";
4292 1.1 christos break;
4293 1.1 christos case 2:
4294 1.1 christos p = "uid_t";
4295 1.1 christos break;
4296 1.1 christos default:
4297 1.1 christos break;
4298 1.1 christos };
4299 1.1 christos break;
4300 1.1 christos /* linux_sys_getresuid */
4301 1.1 christos case 209:
4302 1.1 christos switch(ndx) {
4303 1.1 christos case 0:
4304 1.1 christos p = "uid_t *";
4305 1.1 christos break;
4306 1.1 christos case 1:
4307 1.1 christos p = "uid_t *";
4308 1.1 christos break;
4309 1.1 christos case 2:
4310 1.1 christos p = "uid_t *";
4311 1.1 christos break;
4312 1.1 christos default:
4313 1.1 christos break;
4314 1.1 christos };
4315 1.1 christos break;
4316 1.1 christos /* linux_sys_setresgid */
4317 1.1 christos case 210:
4318 1.1 christos switch(ndx) {
4319 1.1 christos case 0:
4320 1.1 christos p = "gid_t";
4321 1.1 christos break;
4322 1.1 christos case 1:
4323 1.1 christos p = "gid_t";
4324 1.1 christos break;
4325 1.1 christos case 2:
4326 1.1 christos p = "gid_t";
4327 1.1 christos break;
4328 1.1 christos default:
4329 1.1 christos break;
4330 1.1 christos };
4331 1.1 christos break;
4332 1.1 christos /* linux_sys_getresgid */
4333 1.1 christos case 211:
4334 1.1 christos switch(ndx) {
4335 1.1 christos case 0:
4336 1.1 christos p = "gid_t *";
4337 1.1 christos break;
4338 1.1 christos case 1:
4339 1.1 christos p = "gid_t *";
4340 1.1 christos break;
4341 1.1 christos case 2:
4342 1.1 christos p = "gid_t *";
4343 1.1 christos break;
4344 1.1 christos default:
4345 1.1 christos break;
4346 1.1 christos };
4347 1.1 christos break;
4348 1.1 christos /* sys___posix_chown */
4349 1.1 christos case 212:
4350 1.1 christos switch(ndx) {
4351 1.1 christos case 0:
4352 1.1 christos p = "const char *";
4353 1.1 christos break;
4354 1.1 christos case 1:
4355 1.1 christos p = "uid_t";
4356 1.1 christos break;
4357 1.1 christos case 2:
4358 1.1 christos p = "gid_t";
4359 1.1 christos break;
4360 1.1 christos default:
4361 1.1 christos break;
4362 1.1 christos };
4363 1.1 christos break;
4364 1.1 christos /* sys_setuid */
4365 1.1 christos case 213:
4366 1.1 christos switch(ndx) {
4367 1.1 christos case 0:
4368 1.1 christos p = "uid_t";
4369 1.1 christos break;
4370 1.1 christos default:
4371 1.1 christos break;
4372 1.1 christos };
4373 1.1 christos break;
4374 1.1 christos /* sys_setgid */
4375 1.1 christos case 214:
4376 1.1 christos switch(ndx) {
4377 1.1 christos case 0:
4378 1.1 christos p = "gid_t";
4379 1.1 christos break;
4380 1.1 christos default:
4381 1.1 christos break;
4382 1.1 christos };
4383 1.1 christos break;
4384 1.1 christos /* linux_sys_setfsuid */
4385 1.1 christos case 215:
4386 1.1 christos switch(ndx) {
4387 1.1 christos case 0:
4388 1.1 christos p = "uid_t";
4389 1.1 christos break;
4390 1.1 christos default:
4391 1.1 christos break;
4392 1.1 christos };
4393 1.1 christos break;
4394 1.1 christos /* linux_sys_setfsgid */
4395 1.1 christos case 216:
4396 1.1 christos switch(ndx) {
4397 1.1 christos case 0:
4398 1.1 christos p = "gid_t";
4399 1.1 christos break;
4400 1.1 christos default:
4401 1.1 christos break;
4402 1.1 christos };
4403 1.1 christos break;
4404 1.1 christos /* sys_mincore */
4405 1.1 christos case 218:
4406 1.1 christos switch(ndx) {
4407 1.1 christos case 0:
4408 1.1 christos p = "void *";
4409 1.1 christos break;
4410 1.1 christos case 1:
4411 1.1 christos p = "size_t";
4412 1.1 christos break;
4413 1.1 christos case 2:
4414 1.1 christos p = "char *";
4415 1.1 christos break;
4416 1.1 christos default:
4417 1.1 christos break;
4418 1.1 christos };
4419 1.1 christos break;
4420 1.1 christos /* sys_madvise */
4421 1.1 christos case 219:
4422 1.1 christos switch(ndx) {
4423 1.1 christos case 0:
4424 1.1 christos p = "void *";
4425 1.1 christos break;
4426 1.1 christos case 1:
4427 1.1 christos p = "size_t";
4428 1.1 christos break;
4429 1.1 christos case 2:
4430 1.1 christos p = "int";
4431 1.1 christos break;
4432 1.1 christos default:
4433 1.1 christos break;
4434 1.1 christos };
4435 1.1 christos break;
4436 1.1 christos /* linux_sys_getdents64 */
4437 1.1 christos case 220:
4438 1.1 christos switch(ndx) {
4439 1.1 christos case 0:
4440 1.1 christos p = "int";
4441 1.1 christos break;
4442 1.1 christos case 1:
4443 1.1 christos p = "struct linux_dirent64 *";
4444 1.1 christos break;
4445 1.1 christos case 2:
4446 1.1 christos p = "unsigned int";
4447 1.1 christos break;
4448 1.1 christos default:
4449 1.1 christos break;
4450 1.1 christos };
4451 1.1 christos break;
4452 1.1 christos /* linux_sys_fcntl64 */
4453 1.1 christos case 221:
4454 1.1 christos switch(ndx) {
4455 1.1 christos case 0:
4456 1.1 christos p = "int";
4457 1.1 christos break;
4458 1.1 christos case 1:
4459 1.1 christos p = "int";
4460 1.1 christos break;
4461 1.1 christos case 2:
4462 1.1 christos p = "void *";
4463 1.1 christos break;
4464 1.1 christos default:
4465 1.1 christos break;
4466 1.1 christos };
4467 1.1 christos break;
4468 1.1 christos /* linux_sys_gettid */
4469 1.1 christos case 224:
4470 1.1 christos break;
4471 1.19 christos /* linux_sys_readahead */
4472 1.19 christos case 225:
4473 1.19 christos switch(ndx) {
4474 1.19 christos case 0:
4475 1.19 christos p = "int";
4476 1.19 christos break;
4477 1.19 christos case 1:
4478 1.19 christos p = "off_t";
4479 1.19 christos break;
4480 1.19 christos case 2:
4481 1.19 christos p = "size_t";
4482 1.19 christos break;
4483 1.19 christos default:
4484 1.19 christos break;
4485 1.19 christos };
4486 1.19 christos break;
4487 1.1 christos /* linux_sys_setxattr */
4488 1.1 christos case 226:
4489 1.1 christos switch(ndx) {
4490 1.1 christos case 0:
4491 1.1 christos p = "char *";
4492 1.1 christos break;
4493 1.1 christos case 1:
4494 1.1 christos p = "char *";
4495 1.1 christos break;
4496 1.1 christos case 2:
4497 1.1 christos p = "void *";
4498 1.1 christos break;
4499 1.1 christos case 3:
4500 1.1 christos p = "size_t";
4501 1.1 christos break;
4502 1.1 christos case 4:
4503 1.1 christos p = "int";
4504 1.1 christos break;
4505 1.1 christos default:
4506 1.1 christos break;
4507 1.1 christos };
4508 1.1 christos break;
4509 1.1 christos /* linux_sys_lsetxattr */
4510 1.1 christos case 227:
4511 1.1 christos switch(ndx) {
4512 1.1 christos case 0:
4513 1.1 christos p = "char *";
4514 1.1 christos break;
4515 1.1 christos case 1:
4516 1.1 christos p = "char *";
4517 1.1 christos break;
4518 1.1 christos case 2:
4519 1.1 christos p = "void *";
4520 1.1 christos break;
4521 1.1 christos case 3:
4522 1.1 christos p = "size_t";
4523 1.1 christos break;
4524 1.1 christos case 4:
4525 1.1 christos p = "int";
4526 1.1 christos break;
4527 1.1 christos default:
4528 1.1 christos break;
4529 1.1 christos };
4530 1.1 christos break;
4531 1.1 christos /* linux_sys_fsetxattr */
4532 1.1 christos case 228:
4533 1.1 christos switch(ndx) {
4534 1.1 christos case 0:
4535 1.1 christos p = "int";
4536 1.1 christos break;
4537 1.1 christos case 1:
4538 1.1 christos p = "char *";
4539 1.1 christos break;
4540 1.1 christos case 2:
4541 1.1 christos p = "void *";
4542 1.1 christos break;
4543 1.1 christos case 3:
4544 1.1 christos p = "size_t";
4545 1.1 christos break;
4546 1.1 christos case 4:
4547 1.1 christos p = "int";
4548 1.1 christos break;
4549 1.1 christos default:
4550 1.1 christos break;
4551 1.1 christos };
4552 1.1 christos break;
4553 1.1 christos /* linux_sys_getxattr */
4554 1.1 christos case 229:
4555 1.1 christos switch(ndx) {
4556 1.1 christos case 0:
4557 1.1 christos p = "char *";
4558 1.1 christos break;
4559 1.1 christos case 1:
4560 1.1 christos p = "char *";
4561 1.1 christos break;
4562 1.1 christos case 2:
4563 1.1 christos p = "void *";
4564 1.1 christos break;
4565 1.1 christos case 3:
4566 1.1 christos p = "size_t";
4567 1.1 christos break;
4568 1.1 christos default:
4569 1.1 christos break;
4570 1.1 christos };
4571 1.1 christos break;
4572 1.1 christos /* linux_sys_lgetxattr */
4573 1.1 christos case 230:
4574 1.1 christos switch(ndx) {
4575 1.1 christos case 0:
4576 1.1 christos p = "char *";
4577 1.1 christos break;
4578 1.1 christos case 1:
4579 1.1 christos p = "char *";
4580 1.1 christos break;
4581 1.1 christos case 2:
4582 1.1 christos p = "void *";
4583 1.1 christos break;
4584 1.1 christos case 3:
4585 1.1 christos p = "size_t";
4586 1.1 christos break;
4587 1.1 christos default:
4588 1.1 christos break;
4589 1.1 christos };
4590 1.1 christos break;
4591 1.1 christos /* linux_sys_fgetxattr */
4592 1.1 christos case 231:
4593 1.1 christos switch(ndx) {
4594 1.1 christos case 0:
4595 1.1 christos p = "int";
4596 1.1 christos break;
4597 1.1 christos case 1:
4598 1.1 christos p = "char *";
4599 1.1 christos break;
4600 1.1 christos case 2:
4601 1.1 christos p = "void *";
4602 1.1 christos break;
4603 1.1 christos case 3:
4604 1.1 christos p = "size_t";
4605 1.1 christos break;
4606 1.1 christos default:
4607 1.1 christos break;
4608 1.1 christos };
4609 1.1 christos break;
4610 1.1 christos /* linux_sys_listxattr */
4611 1.1 christos case 232:
4612 1.1 christos switch(ndx) {
4613 1.1 christos case 0:
4614 1.1 christos p = "char *";
4615 1.1 christos break;
4616 1.1 christos case 1:
4617 1.1 christos p = "char *";
4618 1.1 christos break;
4619 1.1 christos case 2:
4620 1.1 christos p = "size_t";
4621 1.1 christos break;
4622 1.1 christos default:
4623 1.1 christos break;
4624 1.1 christos };
4625 1.1 christos break;
4626 1.1 christos /* linux_sys_llistxattr */
4627 1.1 christos case 233:
4628 1.1 christos switch(ndx) {
4629 1.1 christos case 0:
4630 1.1 christos p = "char *";
4631 1.1 christos break;
4632 1.1 christos case 1:
4633 1.1 christos p = "char *";
4634 1.1 christos break;
4635 1.1 christos case 2:
4636 1.1 christos p = "size_t";
4637 1.1 christos break;
4638 1.1 christos default:
4639 1.1 christos break;
4640 1.1 christos };
4641 1.1 christos break;
4642 1.1 christos /* linux_sys_flistxattr */
4643 1.1 christos case 234:
4644 1.1 christos switch(ndx) {
4645 1.1 christos case 0:
4646 1.1 christos p = "int";
4647 1.1 christos break;
4648 1.1 christos case 1:
4649 1.1 christos p = "char *";
4650 1.1 christos break;
4651 1.1 christos case 2:
4652 1.1 christos p = "size_t";
4653 1.1 christos break;
4654 1.1 christos default:
4655 1.1 christos break;
4656 1.1 christos };
4657 1.1 christos break;
4658 1.1 christos /* linux_sys_removexattr */
4659 1.1 christos case 235:
4660 1.1 christos switch(ndx) {
4661 1.1 christos case 0:
4662 1.1 christos p = "char *";
4663 1.1 christos break;
4664 1.1 christos case 1:
4665 1.1 christos p = "char *";
4666 1.1 christos break;
4667 1.1 christos default:
4668 1.1 christos break;
4669 1.1 christos };
4670 1.1 christos break;
4671 1.1 christos /* linux_sys_lremovexattr */
4672 1.1 christos case 236:
4673 1.1 christos switch(ndx) {
4674 1.1 christos case 0:
4675 1.1 christos p = "char *";
4676 1.1 christos break;
4677 1.1 christos case 1:
4678 1.1 christos p = "char *";
4679 1.1 christos break;
4680 1.1 christos default:
4681 1.1 christos break;
4682 1.1 christos };
4683 1.1 christos break;
4684 1.1 christos /* linux_sys_fremovexattr */
4685 1.1 christos case 237:
4686 1.1 christos switch(ndx) {
4687 1.1 christos case 0:
4688 1.1 christos p = "int";
4689 1.1 christos break;
4690 1.1 christos case 1:
4691 1.1 christos p = "char *";
4692 1.1 christos break;
4693 1.1 christos default:
4694 1.1 christos break;
4695 1.1 christos };
4696 1.1 christos break;
4697 1.1 christos /* linux_sys_tkill */
4698 1.1 christos case 238:
4699 1.1 christos switch(ndx) {
4700 1.1 christos case 0:
4701 1.1 christos p = "int";
4702 1.1 christos break;
4703 1.1 christos case 1:
4704 1.1 christos p = "int";
4705 1.1 christos break;
4706 1.1 christos default:
4707 1.1 christos break;
4708 1.1 christos };
4709 1.1 christos break;
4710 1.1 christos /* linux_sys_futex */
4711 1.1 christos case 240:
4712 1.1 christos switch(ndx) {
4713 1.1 christos case 0:
4714 1.1 christos p = "int *";
4715 1.1 christos break;
4716 1.1 christos case 1:
4717 1.1 christos p = "int";
4718 1.1 christos break;
4719 1.1 christos case 2:
4720 1.1 christos p = "int";
4721 1.1 christos break;
4722 1.1 christos case 3:
4723 1.1 christos p = "const struct linux_timespec *";
4724 1.1 christos break;
4725 1.1 christos case 4:
4726 1.1 christos p = "int *";
4727 1.1 christos break;
4728 1.1 christos case 5:
4729 1.1 christos p = "int";
4730 1.1 christos break;
4731 1.1 christos default:
4732 1.1 christos break;
4733 1.1 christos };
4734 1.1 christos break;
4735 1.1 christos /* linux_sys_sched_setaffinity */
4736 1.1 christos case 241:
4737 1.1 christos switch(ndx) {
4738 1.1 christos case 0:
4739 1.1 christos p = "pid_t";
4740 1.1 christos break;
4741 1.1 christos case 1:
4742 1.1 christos p = "unsigned int";
4743 1.1 christos break;
4744 1.1 christos case 2:
4745 1.1 christos p = "unsigned long *";
4746 1.1 christos break;
4747 1.1 christos default:
4748 1.1 christos break;
4749 1.1 christos };
4750 1.1 christos break;
4751 1.1 christos /* linux_sys_sched_getaffinity */
4752 1.1 christos case 242:
4753 1.1 christos switch(ndx) {
4754 1.1 christos case 0:
4755 1.1 christos p = "pid_t";
4756 1.1 christos break;
4757 1.1 christos case 1:
4758 1.1 christos p = "unsigned int";
4759 1.1 christos break;
4760 1.1 christos case 2:
4761 1.1 christos p = "unsigned long *";
4762 1.1 christos break;
4763 1.1 christos default:
4764 1.1 christos break;
4765 1.1 christos };
4766 1.1 christos break;
4767 1.1 christos /* linux_sys_set_thread_area */
4768 1.1 christos case 243:
4769 1.1 christos switch(ndx) {
4770 1.1 christos case 0:
4771 1.1 christos p = "struct linux_user_desc *";
4772 1.1 christos break;
4773 1.1 christos default:
4774 1.1 christos break;
4775 1.1 christos };
4776 1.1 christos break;
4777 1.1 christos /* linux_sys_get_thread_area */
4778 1.1 christos case 244:
4779 1.1 christos switch(ndx) {
4780 1.1 christos case 0:
4781 1.1 christos p = "struct linux_user_desc *";
4782 1.1 christos break;
4783 1.1 christos default:
4784 1.1 christos break;
4785 1.1 christos };
4786 1.1 christos break;
4787 1.1 christos /* linux_sys_fadvise64 */
4788 1.1 christos case 250:
4789 1.1 christos switch(ndx) {
4790 1.1 christos case 0:
4791 1.1 christos p = "int";
4792 1.1 christos break;
4793 1.1 christos case 1:
4794 1.1 christos p = "off_t";
4795 1.1 christos break;
4796 1.1 christos case 2:
4797 1.1 christos p = "size_t";
4798 1.1 christos break;
4799 1.1 christos case 3:
4800 1.1 christos p = "int";
4801 1.1 christos break;
4802 1.1 christos default:
4803 1.1 christos break;
4804 1.1 christos };
4805 1.1 christos break;
4806 1.1 christos /* linux_sys_exit_group */
4807 1.1 christos case 252:
4808 1.1 christos switch(ndx) {
4809 1.1 christos case 0:
4810 1.1 christos p = "int";
4811 1.1 christos break;
4812 1.1 christos default:
4813 1.1 christos break;
4814 1.1 christos };
4815 1.1 christos break;
4816 1.18 christos /* linux_sys_epoll_create */
4817 1.18 christos case 254:
4818 1.18 christos switch(ndx) {
4819 1.18 christos case 0:
4820 1.18 christos p = "int";
4821 1.18 christos break;
4822 1.18 christos default:
4823 1.18 christos break;
4824 1.18 christos };
4825 1.18 christos break;
4826 1.18 christos /* linux_sys_epoll_ctl */
4827 1.18 christos case 255:
4828 1.18 christos switch(ndx) {
4829 1.18 christos case 0:
4830 1.18 christos p = "int";
4831 1.18 christos break;
4832 1.18 christos case 1:
4833 1.18 christos p = "int";
4834 1.18 christos break;
4835 1.18 christos case 2:
4836 1.18 christos p = "int";
4837 1.18 christos break;
4838 1.18 christos case 3:
4839 1.18 christos p = "struct linux_epoll_event *";
4840 1.18 christos break;
4841 1.18 christos default:
4842 1.18 christos break;
4843 1.18 christos };
4844 1.18 christos break;
4845 1.18 christos /* linux_sys_epoll_wait */
4846 1.18 christos case 256:
4847 1.18 christos switch(ndx) {
4848 1.18 christos case 0:
4849 1.18 christos p = "int";
4850 1.18 christos break;
4851 1.18 christos case 1:
4852 1.18 christos p = "struct linux_epoll_event *";
4853 1.18 christos break;
4854 1.18 christos case 2:
4855 1.18 christos p = "int";
4856 1.18 christos break;
4857 1.18 christos case 3:
4858 1.18 christos p = "int";
4859 1.18 christos break;
4860 1.18 christos default:
4861 1.18 christos break;
4862 1.18 christos };
4863 1.18 christos break;
4864 1.1 christos /* linux_sys_set_tid_address */
4865 1.1 christos case 258:
4866 1.1 christos switch(ndx) {
4867 1.1 christos case 0:
4868 1.1 christos p = "int *";
4869 1.1 christos break;
4870 1.1 christos default:
4871 1.1 christos break;
4872 1.1 christos };
4873 1.1 christos break;
4874 1.12 thorpej /* linux_sys_timer_create */
4875 1.12 thorpej case 259:
4876 1.12 thorpej switch(ndx) {
4877 1.12 thorpej case 0:
4878 1.12 thorpej p = "clockid_t";
4879 1.12 thorpej break;
4880 1.12 thorpej case 1:
4881 1.12 thorpej p = "struct linux_sigevent *";
4882 1.12 thorpej break;
4883 1.12 thorpej case 2:
4884 1.12 thorpej p = "timer_t *";
4885 1.12 thorpej break;
4886 1.12 thorpej default:
4887 1.12 thorpej break;
4888 1.12 thorpej };
4889 1.12 thorpej break;
4890 1.12 thorpej /* linux_sys_timer_settime */
4891 1.12 thorpej case 260:
4892 1.12 thorpej switch(ndx) {
4893 1.12 thorpej case 0:
4894 1.12 thorpej p = "timer_t";
4895 1.12 thorpej break;
4896 1.12 thorpej case 1:
4897 1.12 thorpej p = "int";
4898 1.12 thorpej break;
4899 1.12 thorpej case 2:
4900 1.12 thorpej p = "const struct linux_itimerspec *";
4901 1.12 thorpej break;
4902 1.12 thorpej case 3:
4903 1.12 thorpej p = "struct linux_itimerspec *";
4904 1.12 thorpej break;
4905 1.12 thorpej default:
4906 1.12 thorpej break;
4907 1.12 thorpej };
4908 1.12 thorpej break;
4909 1.12 thorpej /* linux_sys_timer_gettime */
4910 1.12 thorpej case 261:
4911 1.12 thorpej switch(ndx) {
4912 1.12 thorpej case 0:
4913 1.12 thorpej p = "timer_t";
4914 1.12 thorpej break;
4915 1.12 thorpej case 1:
4916 1.12 thorpej p = "struct linux_itimerspec *";
4917 1.12 thorpej break;
4918 1.12 thorpej default:
4919 1.12 thorpej break;
4920 1.12 thorpej };
4921 1.12 thorpej break;
4922 1.12 thorpej /* sys_timer_getoverrun */
4923 1.12 thorpej case 262:
4924 1.12 thorpej switch(ndx) {
4925 1.12 thorpej case 0:
4926 1.12 thorpej p = "timer_t";
4927 1.12 thorpej break;
4928 1.12 thorpej default:
4929 1.12 thorpej break;
4930 1.12 thorpej };
4931 1.12 thorpej break;
4932 1.12 thorpej /* sys_timer_delete */
4933 1.12 thorpej case 263:
4934 1.12 thorpej switch(ndx) {
4935 1.12 thorpej case 0:
4936 1.12 thorpej p = "timer_t";
4937 1.12 thorpej break;
4938 1.12 thorpej default:
4939 1.12 thorpej break;
4940 1.12 thorpej };
4941 1.12 thorpej break;
4942 1.1 christos /* linux_sys_clock_settime */
4943 1.1 christos case 264:
4944 1.1 christos switch(ndx) {
4945 1.1 christos case 0:
4946 1.1 christos p = "clockid_t";
4947 1.1 christos break;
4948 1.1 christos case 1:
4949 1.1 christos p = "struct linux_timespec *";
4950 1.1 christos break;
4951 1.1 christos default:
4952 1.1 christos break;
4953 1.1 christos };
4954 1.1 christos break;
4955 1.1 christos /* linux_sys_clock_gettime */
4956 1.1 christos case 265:
4957 1.1 christos switch(ndx) {
4958 1.1 christos case 0:
4959 1.1 christos p = "clockid_t";
4960 1.1 christos break;
4961 1.1 christos case 1:
4962 1.1 christos p = "struct linux_timespec *";
4963 1.1 christos break;
4964 1.1 christos default:
4965 1.1 christos break;
4966 1.1 christos };
4967 1.1 christos break;
4968 1.1 christos /* linux_sys_clock_getres */
4969 1.1 christos case 266:
4970 1.1 christos switch(ndx) {
4971 1.1 christos case 0:
4972 1.1 christos p = "clockid_t";
4973 1.1 christos break;
4974 1.1 christos case 1:
4975 1.1 christos p = "struct linux_timespec *";
4976 1.1 christos break;
4977 1.1 christos default:
4978 1.1 christos break;
4979 1.1 christos };
4980 1.1 christos break;
4981 1.1 christos /* linux_sys_clock_nanosleep */
4982 1.1 christos case 267:
4983 1.1 christos switch(ndx) {
4984 1.1 christos case 0:
4985 1.1 christos p = "clockid_t";
4986 1.1 christos break;
4987 1.1 christos case 1:
4988 1.1 christos p = "int";
4989 1.1 christos break;
4990 1.1 christos case 2:
4991 1.1 christos p = "struct linux_timespec *";
4992 1.1 christos break;
4993 1.1 christos case 3:
4994 1.1 christos p = "struct linux_timespec *";
4995 1.1 christos break;
4996 1.1 christos default:
4997 1.1 christos break;
4998 1.1 christos };
4999 1.1 christos break;
5000 1.1 christos /* linux_sys_statfs64 */
5001 1.1 christos case 268:
5002 1.1 christos switch(ndx) {
5003 1.1 christos case 0:
5004 1.1 christos p = "const char *";
5005 1.1 christos break;
5006 1.1 christos case 1:
5007 1.1 christos p = "size_t";
5008 1.1 christos break;
5009 1.1 christos case 2:
5010 1.1 christos p = "struct linux_statfs64 *";
5011 1.1 christos break;
5012 1.1 christos default:
5013 1.1 christos break;
5014 1.1 christos };
5015 1.1 christos break;
5016 1.1 christos /* linux_sys_fstatfs64 */
5017 1.1 christos case 269:
5018 1.1 christos switch(ndx) {
5019 1.1 christos case 0:
5020 1.1 christos p = "int";
5021 1.1 christos break;
5022 1.1 christos case 1:
5023 1.1 christos p = "size_t";
5024 1.1 christos break;
5025 1.1 christos case 2:
5026 1.1 christos p = "struct linux_statfs64 *";
5027 1.1 christos break;
5028 1.1 christos default:
5029 1.1 christos break;
5030 1.1 christos };
5031 1.1 christos break;
5032 1.1 christos /* linux_sys_tgkill */
5033 1.1 christos case 270:
5034 1.1 christos switch(ndx) {
5035 1.1 christos case 0:
5036 1.1 christos p = "int";
5037 1.1 christos break;
5038 1.1 christos case 1:
5039 1.1 christos p = "int";
5040 1.1 christos break;
5041 1.1 christos case 2:
5042 1.1 christos p = "int";
5043 1.1 christos break;
5044 1.1 christos default:
5045 1.1 christos break;
5046 1.1 christos };
5047 1.1 christos break;
5048 1.1 christos /* compat_50_sys_utimes */
5049 1.1 christos case 271:
5050 1.1 christos switch(ndx) {
5051 1.1 christos case 0:
5052 1.1 christos p = "const char *";
5053 1.1 christos break;
5054 1.1 christos case 1:
5055 1.1 christos p = "const struct timeval50 *";
5056 1.1 christos break;
5057 1.1 christos default:
5058 1.1 christos break;
5059 1.1 christos };
5060 1.1 christos break;
5061 1.1 christos /* linux_sys_fadvise64_64 */
5062 1.1 christos case 272:
5063 1.1 christos switch(ndx) {
5064 1.1 christos case 0:
5065 1.1 christos p = "int";
5066 1.1 christos break;
5067 1.1 christos case 1:
5068 1.1 christos p = "off_t";
5069 1.1 christos break;
5070 1.1 christos case 2:
5071 1.1 christos p = "off_t";
5072 1.1 christos break;
5073 1.1 christos case 3:
5074 1.1 christos p = "int";
5075 1.1 christos break;
5076 1.1 christos default:
5077 1.1 christos break;
5078 1.1 christos };
5079 1.1 christos break;
5080 1.20 christos /* linux_sys_waitid */
5081 1.20 christos case 284:
5082 1.20 christos switch(ndx) {
5083 1.20 christos case 0:
5084 1.20 christos p = "int";
5085 1.20 christos break;
5086 1.20 christos case 1:
5087 1.20 christos p = "id_t";
5088 1.20 christos break;
5089 1.20 christos case 2:
5090 1.20 christos p = "linux_siginfo_t *";
5091 1.20 christos break;
5092 1.20 christos case 3:
5093 1.20 christos p = "int";
5094 1.20 christos break;
5095 1.20 christos case 4:
5096 1.20 christos p = "struct rusage50 *";
5097 1.20 christos break;
5098 1.20 christos default:
5099 1.20 christos break;
5100 1.20 christos };
5101 1.20 christos break;
5102 1.1 christos /* linux_sys_openat */
5103 1.1 christos case 295:
5104 1.1 christos switch(ndx) {
5105 1.1 christos case 0:
5106 1.1 christos p = "int";
5107 1.1 christos break;
5108 1.1 christos case 1:
5109 1.1 christos p = "const char *";
5110 1.1 christos break;
5111 1.1 christos case 2:
5112 1.1 christos p = "int";
5113 1.1 christos break;
5114 1.1 christos case 3:
5115 1.1 christos p = "linux_umode_t";
5116 1.1 christos break;
5117 1.1 christos default:
5118 1.1 christos break;
5119 1.1 christos };
5120 1.1 christos break;
5121 1.1 christos /* sys_mkdirat */
5122 1.1 christos case 296:
5123 1.1 christos switch(ndx) {
5124 1.1 christos case 0:
5125 1.1 christos p = "int";
5126 1.1 christos break;
5127 1.1 christos case 1:
5128 1.1 christos p = "const char *";
5129 1.1 christos break;
5130 1.1 christos case 2:
5131 1.1 christos p = "linux_umode_t";
5132 1.1 christos break;
5133 1.1 christos default:
5134 1.1 christos break;
5135 1.1 christos };
5136 1.1 christos break;
5137 1.1 christos /* linux_sys_mknodat */
5138 1.1 christos case 297:
5139 1.1 christos switch(ndx) {
5140 1.1 christos case 0:
5141 1.1 christos p = "int";
5142 1.1 christos break;
5143 1.1 christos case 1:
5144 1.1 christos p = "const char *";
5145 1.1 christos break;
5146 1.1 christos case 2:
5147 1.1 christos p = "linux_umode_t";
5148 1.1 christos break;
5149 1.1 christos case 3:
5150 1.1 christos p = "unsigned";
5151 1.1 christos break;
5152 1.1 christos default:
5153 1.1 christos break;
5154 1.1 christos };
5155 1.1 christos break;
5156 1.1 christos /* linux_sys_fchownat */
5157 1.1 christos case 298:
5158 1.1 christos switch(ndx) {
5159 1.1 christos case 0:
5160 1.1 christos p = "int";
5161 1.1 christos break;
5162 1.1 christos case 1:
5163 1.1 christos p = "const char *";
5164 1.1 christos break;
5165 1.1 christos case 2:
5166 1.1 christos p = "uid_t";
5167 1.1 christos break;
5168 1.1 christos case 3:
5169 1.1 christos p = "gid_t";
5170 1.1 christos break;
5171 1.1 christos case 4:
5172 1.1 christos p = "int";
5173 1.1 christos break;
5174 1.1 christos default:
5175 1.1 christos break;
5176 1.1 christos };
5177 1.1 christos break;
5178 1.1 christos /* linux_sys_fstatat64 */
5179 1.1 christos case 300:
5180 1.1 christos switch(ndx) {
5181 1.1 christos case 0:
5182 1.1 christos p = "int";
5183 1.1 christos break;
5184 1.1 christos case 1:
5185 1.1 christos p = "const char *";
5186 1.1 christos break;
5187 1.1 christos case 2:
5188 1.1 christos p = "struct linux_stat64 *";
5189 1.1 christos break;
5190 1.1 christos case 3:
5191 1.1 christos p = "int";
5192 1.1 christos break;
5193 1.1 christos default:
5194 1.1 christos break;
5195 1.1 christos };
5196 1.1 christos break;
5197 1.1 christos /* linux_sys_unlinkat */
5198 1.1 christos case 301:
5199 1.1 christos switch(ndx) {
5200 1.1 christos case 0:
5201 1.1 christos p = "int";
5202 1.1 christos break;
5203 1.1 christos case 1:
5204 1.1 christos p = "const char *";
5205 1.1 christos break;
5206 1.1 christos case 2:
5207 1.1 christos p = "int";
5208 1.1 christos break;
5209 1.1 christos default:
5210 1.1 christos break;
5211 1.1 christos };
5212 1.1 christos break;
5213 1.1 christos /* sys_renameat */
5214 1.1 christos case 302:
5215 1.1 christos switch(ndx) {
5216 1.1 christos case 0:
5217 1.1 christos p = "int";
5218 1.1 christos break;
5219 1.1 christos case 1:
5220 1.1 christos p = "const char *";
5221 1.1 christos break;
5222 1.1 christos case 2:
5223 1.1 christos p = "int";
5224 1.1 christos break;
5225 1.1 christos case 3:
5226 1.1 christos p = "const char *";
5227 1.1 christos break;
5228 1.1 christos default:
5229 1.1 christos break;
5230 1.1 christos };
5231 1.1 christos break;
5232 1.1 christos /* linux_sys_linkat */
5233 1.1 christos case 303:
5234 1.1 christos switch(ndx) {
5235 1.1 christos case 0:
5236 1.1 christos p = "int";
5237 1.1 christos break;
5238 1.1 christos case 1:
5239 1.1 christos p = "const char *";
5240 1.1 christos break;
5241 1.1 christos case 2:
5242 1.1 christos p = "int";
5243 1.1 christos break;
5244 1.1 christos case 3:
5245 1.1 christos p = "const char *";
5246 1.1 christos break;
5247 1.1 christos case 4:
5248 1.1 christos p = "int";
5249 1.1 christos break;
5250 1.1 christos default:
5251 1.1 christos break;
5252 1.1 christos };
5253 1.1 christos break;
5254 1.1 christos /* sys_symlinkat */
5255 1.1 christos case 304:
5256 1.1 christos switch(ndx) {
5257 1.1 christos case 0:
5258 1.1 christos p = "const char *";
5259 1.1 christos break;
5260 1.1 christos case 1:
5261 1.1 christos p = "int";
5262 1.1 christos break;
5263 1.1 christos case 2:
5264 1.1 christos p = "const char *";
5265 1.1 christos break;
5266 1.1 christos default:
5267 1.1 christos break;
5268 1.1 christos };
5269 1.1 christos break;
5270 1.1 christos /* sys_readlinkat */
5271 1.1 christos case 305:
5272 1.1 christos switch(ndx) {
5273 1.1 christos case 0:
5274 1.1 christos p = "int";
5275 1.1 christos break;
5276 1.1 christos case 1:
5277 1.1 christos p = "const char *";
5278 1.1 christos break;
5279 1.1 christos case 2:
5280 1.1 christos p = "char *";
5281 1.1 christos break;
5282 1.1 christos case 3:
5283 1.1 christos p = "size_t";
5284 1.1 christos break;
5285 1.1 christos default:
5286 1.1 christos break;
5287 1.1 christos };
5288 1.1 christos break;
5289 1.1 christos /* linux_sys_fchmodat */
5290 1.1 christos case 306:
5291 1.1 christos switch(ndx) {
5292 1.1 christos case 0:
5293 1.1 christos p = "int";
5294 1.1 christos break;
5295 1.1 christos case 1:
5296 1.1 christos p = "const char *";
5297 1.1 christos break;
5298 1.1 christos case 2:
5299 1.1 christos p = "linux_umode_t";
5300 1.1 christos break;
5301 1.1 christos default:
5302 1.1 christos break;
5303 1.1 christos };
5304 1.1 christos break;
5305 1.1 christos /* linux_sys_faccessat */
5306 1.1 christos case 307:
5307 1.1 christos switch(ndx) {
5308 1.1 christos case 0:
5309 1.1 christos p = "int";
5310 1.1 christos break;
5311 1.1 christos case 1:
5312 1.1 christos p = "const char *";
5313 1.1 christos break;
5314 1.1 christos case 2:
5315 1.1 christos p = "int";
5316 1.1 christos break;
5317 1.1 christos default:
5318 1.1 christos break;
5319 1.1 christos };
5320 1.1 christos break;
5321 1.5 martin /* linux_sys_pselect6 */
5322 1.5 martin case 308:
5323 1.5 martin switch(ndx) {
5324 1.5 martin case 0:
5325 1.5 martin p = "int";
5326 1.5 martin break;
5327 1.5 martin case 1:
5328 1.5 martin p = "fd_set *";
5329 1.5 martin break;
5330 1.5 martin case 2:
5331 1.5 martin p = "fd_set *";
5332 1.5 martin break;
5333 1.5 martin case 3:
5334 1.5 martin p = "fd_set *";
5335 1.5 martin break;
5336 1.5 martin case 4:
5337 1.5 martin p = "struct linux_timespec *";
5338 1.5 martin break;
5339 1.5 martin case 5:
5340 1.5 martin p = "linux_sized_sigset_t *";
5341 1.5 martin break;
5342 1.5 martin default:
5343 1.5 martin break;
5344 1.5 martin };
5345 1.5 martin break;
5346 1.1 christos /* linux_sys_ppoll */
5347 1.1 christos case 309:
5348 1.1 christos switch(ndx) {
5349 1.1 christos case 0:
5350 1.1 christos p = "struct pollfd *";
5351 1.1 christos break;
5352 1.1 christos case 1:
5353 1.1 christos p = "u_int";
5354 1.1 christos break;
5355 1.1 christos case 2:
5356 1.1 christos p = "struct linux_timespec *";
5357 1.1 christos break;
5358 1.1 christos case 3:
5359 1.1 christos p = "linux_sigset_t *";
5360 1.1 christos break;
5361 1.1 christos default:
5362 1.1 christos break;
5363 1.1 christos };
5364 1.1 christos break;
5365 1.11 thorpej /* sys___futex_set_robust_list */
5366 1.1 christos case 311:
5367 1.1 christos switch(ndx) {
5368 1.1 christos case 0:
5369 1.11 thorpej p = "void *";
5370 1.1 christos break;
5371 1.1 christos case 1:
5372 1.1 christos p = "size_t";
5373 1.1 christos break;
5374 1.1 christos default:
5375 1.1 christos break;
5376 1.1 christos };
5377 1.1 christos break;
5378 1.11 thorpej /* sys___futex_get_robust_list */
5379 1.1 christos case 312:
5380 1.1 christos switch(ndx) {
5381 1.1 christos case 0:
5382 1.11 thorpej p = "lwpid_t";
5383 1.1 christos break;
5384 1.1 christos case 1:
5385 1.11 thorpej p = "void **";
5386 1.1 christos break;
5387 1.1 christos case 2:
5388 1.1 christos p = "size_t *";
5389 1.1 christos break;
5390 1.1 christos default:
5391 1.1 christos break;
5392 1.1 christos };
5393 1.1 christos break;
5394 1.18 christos /* linux_sys_epoll_pwait */
5395 1.18 christos case 319:
5396 1.18 christos switch(ndx) {
5397 1.18 christos case 0:
5398 1.18 christos p = "int";
5399 1.18 christos break;
5400 1.18 christos case 1:
5401 1.18 christos p = "struct linux_epoll_event *";
5402 1.18 christos break;
5403 1.18 christos case 2:
5404 1.18 christos p = "int";
5405 1.18 christos break;
5406 1.18 christos case 3:
5407 1.18 christos p = "int";
5408 1.18 christos break;
5409 1.18 christos case 4:
5410 1.18 christos p = "const linux_sigset_t *";
5411 1.18 christos break;
5412 1.18 christos default:
5413 1.18 christos break;
5414 1.18 christos };
5415 1.18 christos break;
5416 1.1 christos /* linux_sys_utimensat */
5417 1.1 christos case 320:
5418 1.1 christos switch(ndx) {
5419 1.1 christos case 0:
5420 1.1 christos p = "int";
5421 1.1 christos break;
5422 1.1 christos case 1:
5423 1.1 christos p = "const char *";
5424 1.1 christos break;
5425 1.1 christos case 2:
5426 1.1 christos p = "struct linux_timespec *";
5427 1.1 christos break;
5428 1.1 christos case 3:
5429 1.1 christos p = "int";
5430 1.1 christos break;
5431 1.1 christos default:
5432 1.1 christos break;
5433 1.1 christos };
5434 1.1 christos break;
5435 1.13 thorpej /* linux_sys_timerfd_create */
5436 1.13 thorpej case 322:
5437 1.13 thorpej switch(ndx) {
5438 1.13 thorpej case 0:
5439 1.13 thorpej p = "clockid_t";
5440 1.13 thorpej break;
5441 1.13 thorpej case 1:
5442 1.13 thorpej p = "int";
5443 1.13 thorpej break;
5444 1.13 thorpej default:
5445 1.13 thorpej break;
5446 1.13 thorpej };
5447 1.13 thorpej break;
5448 1.14 thorpej /* linux_sys_eventfd */
5449 1.14 thorpej case 323:
5450 1.14 thorpej switch(ndx) {
5451 1.14 thorpej case 0:
5452 1.14 thorpej p = "unsigned int";
5453 1.14 thorpej break;
5454 1.14 thorpej default:
5455 1.14 thorpej break;
5456 1.14 thorpej };
5457 1.14 thorpej break;
5458 1.10 jdolecek /* linux_sys_fallocate */
5459 1.10 jdolecek case 324:
5460 1.10 jdolecek switch(ndx) {
5461 1.10 jdolecek case 0:
5462 1.10 jdolecek p = "int";
5463 1.10 jdolecek break;
5464 1.10 jdolecek case 1:
5465 1.10 jdolecek p = "int";
5466 1.10 jdolecek break;
5467 1.10 jdolecek case 2:
5468 1.10 jdolecek p = "off_t";
5469 1.10 jdolecek break;
5470 1.10 jdolecek case 3:
5471 1.10 jdolecek p = "off_t";
5472 1.10 jdolecek break;
5473 1.10 jdolecek default:
5474 1.10 jdolecek break;
5475 1.10 jdolecek };
5476 1.10 jdolecek break;
5477 1.13 thorpej /* linux_sys_timerfd_settime */
5478 1.13 thorpej case 325:
5479 1.13 thorpej switch(ndx) {
5480 1.13 thorpej case 0:
5481 1.13 thorpej p = "int";
5482 1.13 thorpej break;
5483 1.13 thorpej case 1:
5484 1.13 thorpej p = "int";
5485 1.13 thorpej break;
5486 1.13 thorpej case 2:
5487 1.13 thorpej p = "const struct linux_itimerspec *";
5488 1.13 thorpej break;
5489 1.13 thorpej case 3:
5490 1.13 thorpej p = "struct linux_itimerspec *";
5491 1.13 thorpej break;
5492 1.13 thorpej default:
5493 1.13 thorpej break;
5494 1.13 thorpej };
5495 1.13 thorpej break;
5496 1.13 thorpej /* linux_sys_timerfd_gettime */
5497 1.13 thorpej case 326:
5498 1.13 thorpej switch(ndx) {
5499 1.13 thorpej case 0:
5500 1.13 thorpej p = "int";
5501 1.13 thorpej break;
5502 1.13 thorpej case 1:
5503 1.13 thorpej p = "struct linux_itimerspec *";
5504 1.13 thorpej break;
5505 1.13 thorpej default:
5506 1.13 thorpej break;
5507 1.13 thorpej };
5508 1.13 thorpej break;
5509 1.14 thorpej /* linux_sys_eventfd2 */
5510 1.14 thorpej case 328:
5511 1.14 thorpej switch(ndx) {
5512 1.14 thorpej case 0:
5513 1.14 thorpej p = "unsigned int";
5514 1.14 thorpej break;
5515 1.14 thorpej case 1:
5516 1.14 thorpej p = "int";
5517 1.14 thorpej break;
5518 1.14 thorpej default:
5519 1.14 thorpej break;
5520 1.14 thorpej };
5521 1.14 thorpej break;
5522 1.18 christos /* linux_sys_epoll_create1 */
5523 1.18 christos case 329:
5524 1.18 christos switch(ndx) {
5525 1.18 christos case 0:
5526 1.18 christos p = "int";
5527 1.18 christos break;
5528 1.18 christos default:
5529 1.18 christos break;
5530 1.18 christos };
5531 1.18 christos break;
5532 1.1 christos /* linux_sys_dup3 */
5533 1.1 christos case 330:
5534 1.1 christos switch(ndx) {
5535 1.1 christos case 0:
5536 1.1 christos p = "int";
5537 1.1 christos break;
5538 1.1 christos case 1:
5539 1.1 christos p = "int";
5540 1.1 christos break;
5541 1.1 christos case 2:
5542 1.1 christos p = "int";
5543 1.1 christos break;
5544 1.1 christos default:
5545 1.1 christos break;
5546 1.1 christos };
5547 1.1 christos break;
5548 1.1 christos /* linux_sys_pipe2 */
5549 1.1 christos case 331:
5550 1.1 christos switch(ndx) {
5551 1.1 christos case 0:
5552 1.1 christos p = "int *";
5553 1.1 christos break;
5554 1.1 christos case 1:
5555 1.1 christos p = "int";
5556 1.1 christos break;
5557 1.1 christos default:
5558 1.1 christos break;
5559 1.1 christos };
5560 1.1 christos break;
5561 1.15 thorpej /* linux_sys_preadv */
5562 1.15 thorpej case 333:
5563 1.15 thorpej switch(ndx) {
5564 1.15 thorpej case 0:
5565 1.15 thorpej p = "int";
5566 1.15 thorpej break;
5567 1.15 thorpej case 1:
5568 1.15 thorpej p = "const struct iovec *";
5569 1.15 thorpej break;
5570 1.15 thorpej case 2:
5571 1.15 thorpej p = "int";
5572 1.15 thorpej break;
5573 1.15 thorpej case 3:
5574 1.15 thorpej p = "unsigned long";
5575 1.15 thorpej break;
5576 1.15 thorpej case 4:
5577 1.15 thorpej p = "unsigned long";
5578 1.15 thorpej break;
5579 1.15 thorpej default:
5580 1.15 thorpej break;
5581 1.15 thorpej };
5582 1.15 thorpej break;
5583 1.15 thorpej /* linux_sys_pwritev */
5584 1.15 thorpej case 334:
5585 1.15 thorpej switch(ndx) {
5586 1.15 thorpej case 0:
5587 1.15 thorpej p = "int";
5588 1.15 thorpej break;
5589 1.15 thorpej case 1:
5590 1.15 thorpej p = "const struct iovcnt *";
5591 1.15 thorpej break;
5592 1.15 thorpej case 2:
5593 1.15 thorpej p = "int";
5594 1.15 thorpej break;
5595 1.15 thorpej case 3:
5596 1.15 thorpej p = "unsigned long";
5597 1.15 thorpej break;
5598 1.15 thorpej case 4:
5599 1.15 thorpej p = "unsigned long";
5600 1.15 thorpej break;
5601 1.15 thorpej default:
5602 1.15 thorpej break;
5603 1.15 thorpej };
5604 1.15 thorpej break;
5605 1.16 ryo /* linux_sys_prlimit64 */
5606 1.16 ryo case 340:
5607 1.16 ryo switch(ndx) {
5608 1.16 ryo case 0:
5609 1.16 ryo p = "pid_t";
5610 1.16 ryo break;
5611 1.16 ryo case 1:
5612 1.16 ryo p = "int";
5613 1.16 ryo break;
5614 1.16 ryo case 2:
5615 1.16 ryo p = "struct rlimit *";
5616 1.16 ryo break;
5617 1.16 ryo case 3:
5618 1.16 ryo p = "struct rlimit *";
5619 1.16 ryo break;
5620 1.16 ryo default:
5621 1.16 ryo break;
5622 1.16 ryo };
5623 1.16 ryo break;
5624 1.17 christos /* sys_getrandom */
5625 1.17 christos case 355:
5626 1.17 christos switch(ndx) {
5627 1.17 christos case 0:
5628 1.17 christos p = "void *";
5629 1.17 christos break;
5630 1.17 christos case 1:
5631 1.17 christos p = "size_t";
5632 1.17 christos break;
5633 1.17 christos case 2:
5634 1.17 christos p = "unsigned int";
5635 1.17 christos break;
5636 1.17 christos default:
5637 1.17 christos break;
5638 1.17 christos };
5639 1.17 christos break;
5640 1.17 christos /* linux_sys_memfd_create */
5641 1.17 christos case 356:
5642 1.17 christos switch(ndx) {
5643 1.17 christos case 0:
5644 1.17 christos p = "const char *";
5645 1.17 christos break;
5646 1.17 christos case 1:
5647 1.17 christos p = "unsigned int";
5648 1.17 christos break;
5649 1.17 christos default:
5650 1.17 christos break;
5651 1.17 christos };
5652 1.17 christos break;
5653 1.19 christos /* linux_sys_statx */
5654 1.19 christos case 397:
5655 1.19 christos switch(ndx) {
5656 1.19 christos case 0:
5657 1.19 christos p = "int";
5658 1.19 christos break;
5659 1.19 christos case 1:
5660 1.19 christos p = "const char *";
5661 1.19 christos break;
5662 1.19 christos case 2:
5663 1.19 christos p = "int";
5664 1.19 christos break;
5665 1.19 christos case 3:
5666 1.19 christos p = "unsigned int";
5667 1.19 christos break;
5668 1.19 christos case 4:
5669 1.19 christos p = "struct linux_statx *";
5670 1.19 christos break;
5671 1.19 christos default:
5672 1.19 christos break;
5673 1.19 christos };
5674 1.19 christos break;
5675 1.19 christos /* linux_sys_close_range */
5676 1.19 christos case 436:
5677 1.19 christos switch(ndx) {
5678 1.19 christos case 0:
5679 1.19 christos p = "unsigned int";
5680 1.19 christos break;
5681 1.19 christos case 1:
5682 1.19 christos p = "unsigned int";
5683 1.19 christos break;
5684 1.19 christos case 2:
5685 1.19 christos p = "unsigned int";
5686 1.19 christos break;
5687 1.19 christos default:
5688 1.19 christos break;
5689 1.19 christos };
5690 1.19 christos break;
5691 1.18 christos /* linux_sys_epoll_pwait2 */
5692 1.18 christos case 441:
5693 1.18 christos switch(ndx) {
5694 1.18 christos case 0:
5695 1.18 christos p = "int";
5696 1.18 christos break;
5697 1.18 christos case 1:
5698 1.18 christos p = "struct linux_epoll_event *";
5699 1.18 christos break;
5700 1.18 christos case 2:
5701 1.18 christos p = "int";
5702 1.18 christos break;
5703 1.18 christos case 3:
5704 1.18 christos p = "const struct linux_timespec *";
5705 1.18 christos break;
5706 1.18 christos case 4:
5707 1.18 christos p = "const linux_sigset_t *";
5708 1.18 christos break;
5709 1.18 christos default:
5710 1.18 christos break;
5711 1.18 christos };
5712 1.18 christos break;
5713 1.1 christos default:
5714 1.1 christos break;
5715 1.1 christos };
5716 1.1 christos if (p != NULL)
5717 1.1 christos strlcpy(desc, p, descsz);
5718 1.1 christos }
5719 1.1 christos static void
5720 1.1 christos systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
5721 1.1 christos {
5722 1.1 christos const char *p = NULL;
5723 1.1 christos switch (sysnum) {
5724 1.1 christos /* linux_sys_nosys */
5725 1.1 christos case 0:
5726 1.1 christos /* linux_sys_exit */
5727 1.1 christos case 1:
5728 1.1 christos if (ndx == 0 || ndx == 1)
5729 1.1 christos p = "int";
5730 1.1 christos break;
5731 1.1 christos /* sys_fork */
5732 1.1 christos case 2:
5733 1.1 christos /* sys_read */
5734 1.1 christos case 3:
5735 1.1 christos if (ndx == 0 || ndx == 1)
5736 1.1 christos p = "ssize_t";
5737 1.1 christos break;
5738 1.1 christos /* sys_write */
5739 1.1 christos case 4:
5740 1.1 christos if (ndx == 0 || ndx == 1)
5741 1.1 christos p = "ssize_t";
5742 1.1 christos break;
5743 1.1 christos /* linux_sys_open */
5744 1.1 christos case 5:
5745 1.1 christos if (ndx == 0 || ndx == 1)
5746 1.1 christos p = "int";
5747 1.1 christos break;
5748 1.1 christos /* sys_close */
5749 1.1 christos case 6:
5750 1.1 christos if (ndx == 0 || ndx == 1)
5751 1.1 christos p = "int";
5752 1.1 christos break;
5753 1.1 christos /* linux_sys_waitpid */
5754 1.1 christos case 7:
5755 1.1 christos if (ndx == 0 || ndx == 1)
5756 1.1 christos p = "int";
5757 1.1 christos break;
5758 1.1 christos /* linux_sys_creat */
5759 1.1 christos case 8:
5760 1.1 christos if (ndx == 0 || ndx == 1)
5761 1.1 christos p = "int";
5762 1.1 christos break;
5763 1.1 christos /* sys_link */
5764 1.1 christos case 9:
5765 1.1 christos if (ndx == 0 || ndx == 1)
5766 1.1 christos p = "int";
5767 1.1 christos break;
5768 1.1 christos /* linux_sys_unlink */
5769 1.1 christos case 10:
5770 1.1 christos if (ndx == 0 || ndx == 1)
5771 1.1 christos p = "int";
5772 1.1 christos break;
5773 1.1 christos /* sys_execve */
5774 1.1 christos case 11:
5775 1.1 christos if (ndx == 0 || ndx == 1)
5776 1.1 christos p = "int";
5777 1.1 christos break;
5778 1.1 christos /* sys_chdir */
5779 1.1 christos case 12:
5780 1.1 christos if (ndx == 0 || ndx == 1)
5781 1.1 christos p = "int";
5782 1.1 christos break;
5783 1.1 christos /* linux_sys_time */
5784 1.1 christos case 13:
5785 1.1 christos if (ndx == 0 || ndx == 1)
5786 1.1 christos p = "int";
5787 1.1 christos break;
5788 1.1 christos /* linux_sys_mknod */
5789 1.1 christos case 14:
5790 1.1 christos if (ndx == 0 || ndx == 1)
5791 1.1 christos p = "int";
5792 1.1 christos break;
5793 1.1 christos /* sys_chmod */
5794 1.1 christos case 15:
5795 1.1 christos if (ndx == 0 || ndx == 1)
5796 1.1 christos p = "int";
5797 1.1 christos break;
5798 1.1 christos /* linux_sys_lchown16 */
5799 1.1 christos case 16:
5800 1.1 christos if (ndx == 0 || ndx == 1)
5801 1.1 christos p = "int";
5802 1.1 christos break;
5803 1.1 christos /* linux_sys_break */
5804 1.1 christos case 17:
5805 1.1 christos if (ndx == 0 || ndx == 1)
5806 1.1 christos p = "int";
5807 1.1 christos break;
5808 1.1 christos /* compat_43_sys_lseek */
5809 1.1 christos case 19:
5810 1.1 christos if (ndx == 0 || ndx == 1)
5811 1.1 christos p = "long";
5812 1.1 christos break;
5813 1.1 christos /* sys_getpid */
5814 1.1 christos case 20:
5815 1.1 christos /* sys_setuid */
5816 1.1 christos case 23:
5817 1.1 christos if (ndx == 0 || ndx == 1)
5818 1.1 christos p = "int";
5819 1.1 christos break;
5820 1.1 christos /* sys_getuid */
5821 1.1 christos case 24:
5822 1.1 christos /* linux_sys_stime */
5823 1.1 christos case 25:
5824 1.1 christos if (ndx == 0 || ndx == 1)
5825 1.1 christos p = "int";
5826 1.1 christos break;
5827 1.1 christos /* linux_sys_ptrace */
5828 1.1 christos case 26:
5829 1.1 christos if (ndx == 0 || ndx == 1)
5830 1.1 christos p = "int";
5831 1.1 christos break;
5832 1.1 christos /* linux_sys_alarm */
5833 1.1 christos case 27:
5834 1.1 christos if (ndx == 0 || ndx == 1)
5835 1.1 christos p = "int";
5836 1.1 christos break;
5837 1.1 christos /* linux_sys_pause */
5838 1.1 christos case 29:
5839 1.1 christos /* linux_sys_utime */
5840 1.1 christos case 30:
5841 1.1 christos if (ndx == 0 || ndx == 1)
5842 1.1 christos p = "int";
5843 1.1 christos break;
5844 1.1 christos /* sys_access */
5845 1.1 christos case 33:
5846 1.1 christos if (ndx == 0 || ndx == 1)
5847 1.1 christos p = "int";
5848 1.1 christos break;
5849 1.1 christos /* linux_sys_nice */
5850 1.1 christos case 34:
5851 1.1 christos if (ndx == 0 || ndx == 1)
5852 1.1 christos p = "int";
5853 1.1 christos break;
5854 1.1 christos /* sys_sync */
5855 1.1 christos case 36:
5856 1.1 christos /* linux_sys_kill */
5857 1.1 christos case 37:
5858 1.1 christos if (ndx == 0 || ndx == 1)
5859 1.1 christos p = "int";
5860 1.1 christos break;
5861 1.1 christos /* sys___posix_rename */
5862 1.1 christos case 38:
5863 1.1 christos if (ndx == 0 || ndx == 1)
5864 1.1 christos p = "int";
5865 1.1 christos break;
5866 1.1 christos /* sys_mkdir */
5867 1.1 christos case 39:
5868 1.1 christos if (ndx == 0 || ndx == 1)
5869 1.1 christos p = "int";
5870 1.1 christos break;
5871 1.1 christos /* sys_rmdir */
5872 1.1 christos case 40:
5873 1.1 christos if (ndx == 0 || ndx == 1)
5874 1.1 christos p = "int";
5875 1.1 christos break;
5876 1.1 christos /* sys_dup */
5877 1.1 christos case 41:
5878 1.1 christos if (ndx == 0 || ndx == 1)
5879 1.1 christos p = "int";
5880 1.1 christos break;
5881 1.1 christos /* linux_sys_pipe */
5882 1.1 christos case 42:
5883 1.1 christos if (ndx == 0 || ndx == 1)
5884 1.1 christos p = "int";
5885 1.1 christos break;
5886 1.1 christos /* linux_sys_times */
5887 1.1 christos case 43:
5888 1.1 christos if (ndx == 0 || ndx == 1)
5889 1.1 christos p = "int";
5890 1.1 christos break;
5891 1.1 christos /* linux_sys_brk */
5892 1.1 christos case 45:
5893 1.1 christos if (ndx == 0 || ndx == 1)
5894 1.1 christos p = "int";
5895 1.1 christos break;
5896 1.1 christos /* sys_setgid */
5897 1.1 christos case 46:
5898 1.1 christos if (ndx == 0 || ndx == 1)
5899 1.1 christos p = "int";
5900 1.1 christos break;
5901 1.1 christos /* sys_getgid */
5902 1.1 christos case 47:
5903 1.1 christos /* linux_sys_signal */
5904 1.1 christos case 48:
5905 1.1 christos if (ndx == 0 || ndx == 1)
5906 1.1 christos p = "int";
5907 1.1 christos break;
5908 1.1 christos /* sys_geteuid */
5909 1.1 christos case 49:
5910 1.1 christos /* sys_getegid */
5911 1.1 christos case 50:
5912 1.1 christos /* sys_acct */
5913 1.1 christos case 51:
5914 1.1 christos if (ndx == 0 || ndx == 1)
5915 1.1 christos p = "int";
5916 1.1 christos break;
5917 1.1 christos /* linux_sys_ioctl */
5918 1.1 christos case 54:
5919 1.1 christos if (ndx == 0 || ndx == 1)
5920 1.1 christos p = "int";
5921 1.1 christos break;
5922 1.1 christos /* linux_sys_fcntl */
5923 1.1 christos case 55:
5924 1.1 christos if (ndx == 0 || ndx == 1)
5925 1.1 christos p = "int";
5926 1.1 christos break;
5927 1.1 christos /* sys_setpgid */
5928 1.1 christos case 57:
5929 1.1 christos if (ndx == 0 || ndx == 1)
5930 1.1 christos p = "int";
5931 1.1 christos break;
5932 1.1 christos /* linux_sys_oldolduname */
5933 1.1 christos case 59:
5934 1.1 christos if (ndx == 0 || ndx == 1)
5935 1.1 christos p = "int";
5936 1.1 christos break;
5937 1.1 christos /* sys_umask */
5938 1.1 christos case 60:
5939 1.1 christos if (ndx == 0 || ndx == 1)
5940 1.1 christos p = "int";
5941 1.1 christos break;
5942 1.1 christos /* sys_chroot */
5943 1.1 christos case 61:
5944 1.1 christos if (ndx == 0 || ndx == 1)
5945 1.1 christos p = "int";
5946 1.1 christos break;
5947 1.1 christos /* sys_dup2 */
5948 1.1 christos case 63:
5949 1.1 christos if (ndx == 0 || ndx == 1)
5950 1.1 christos p = "int";
5951 1.1 christos break;
5952 1.1 christos /* sys_getppid */
5953 1.1 christos case 64:
5954 1.1 christos /* sys_getpgrp */
5955 1.1 christos case 65:
5956 1.1 christos /* sys_setsid */
5957 1.1 christos case 66:
5958 1.1 christos /* linux_sys_sigaction */
5959 1.1 christos case 67:
5960 1.1 christos if (ndx == 0 || ndx == 1)
5961 1.1 christos p = "int";
5962 1.1 christos break;
5963 1.1 christos /* linux_sys_siggetmask */
5964 1.1 christos case 68:
5965 1.1 christos /* linux_sys_sigsetmask */
5966 1.1 christos case 69:
5967 1.1 christos if (ndx == 0 || ndx == 1)
5968 1.1 christos p = "int";
5969 1.1 christos break;
5970 1.1 christos /* linux_sys_setreuid16 */
5971 1.1 christos case 70:
5972 1.1 christos if (ndx == 0 || ndx == 1)
5973 1.1 christos p = "int";
5974 1.1 christos break;
5975 1.1 christos /* linux_sys_setregid16 */
5976 1.1 christos case 71:
5977 1.1 christos if (ndx == 0 || ndx == 1)
5978 1.1 christos p = "int";
5979 1.1 christos break;
5980 1.1 christos /* linux_sys_sigsuspend */
5981 1.1 christos case 72:
5982 1.1 christos if (ndx == 0 || ndx == 1)
5983 1.1 christos p = "int";
5984 1.1 christos break;
5985 1.1 christos /* linux_sys_sigpending */
5986 1.1 christos case 73:
5987 1.1 christos if (ndx == 0 || ndx == 1)
5988 1.1 christos p = "int";
5989 1.1 christos break;
5990 1.1 christos /* compat_43_sys_sethostname */
5991 1.1 christos case 74:
5992 1.1 christos if (ndx == 0 || ndx == 1)
5993 1.1 christos p = "int";
5994 1.1 christos break;
5995 1.1 christos /* linux_sys_setrlimit */
5996 1.1 christos case 75:
5997 1.1 christos if (ndx == 0 || ndx == 1)
5998 1.1 christos p = "int";
5999 1.1 christos break;
6000 1.1 christos /* linux_sys_getrlimit */
6001 1.1 christos case 76:
6002 1.1 christos if (ndx == 0 || ndx == 1)
6003 1.1 christos p = "int";
6004 1.1 christos break;
6005 1.1 christos /* compat_50_sys_getrusage */
6006 1.1 christos case 77:
6007 1.1 christos if (ndx == 0 || ndx == 1)
6008 1.1 christos p = "int";
6009 1.1 christos break;
6010 1.1 christos /* linux_sys_gettimeofday */
6011 1.1 christos case 78:
6012 1.1 christos if (ndx == 0 || ndx == 1)
6013 1.1 christos p = "int";
6014 1.1 christos break;
6015 1.1 christos /* linux_sys_settimeofday */
6016 1.1 christos case 79:
6017 1.1 christos if (ndx == 0 || ndx == 1)
6018 1.1 christos p = "int";
6019 1.1 christos break;
6020 1.1 christos /* linux_sys_getgroups16 */
6021 1.1 christos case 80:
6022 1.1 christos if (ndx == 0 || ndx == 1)
6023 1.1 christos p = "int";
6024 1.1 christos break;
6025 1.1 christos /* linux_sys_setgroups16 */
6026 1.1 christos case 81:
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_oldselect */
6031 1.1 christos case 82:
6032 1.1 christos if (ndx == 0 || ndx == 1)
6033 1.1 christos p = "int";
6034 1.1 christos break;
6035 1.1 christos /* sys_symlink */
6036 1.1 christos case 83:
6037 1.1 christos if (ndx == 0 || ndx == 1)
6038 1.1 christos p = "int";
6039 1.1 christos break;
6040 1.1 christos /* compat_43_sys_lstat */
6041 1.1 christos case 84:
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_readlink */
6046 1.1 christos case 85:
6047 1.1 christos if (ndx == 0 || ndx == 1)
6048 1.4 njoly p = "ssize_t";
6049 1.1 christos break;
6050 1.1 christos #ifdef EXEC_AOUT
6051 1.1 christos /* linux_sys_uselib */
6052 1.1 christos case 86:
6053 1.1 christos if (ndx == 0 || ndx == 1)
6054 1.1 christos p = "int";
6055 1.1 christos break;
6056 1.1 christos #else
6057 1.1 christos #endif
6058 1.1 christos /* linux_sys_swapon */
6059 1.1 christos case 87:
6060 1.1 christos if (ndx == 0 || ndx == 1)
6061 1.1 christos p = "int";
6062 1.1 christos break;
6063 1.1 christos /* linux_sys_reboot */
6064 1.1 christos case 88:
6065 1.1 christos if (ndx == 0 || ndx == 1)
6066 1.1 christos p = "int";
6067 1.1 christos break;
6068 1.1 christos /* linux_sys_readdir */
6069 1.1 christos case 89:
6070 1.1 christos if (ndx == 0 || ndx == 1)
6071 1.1 christos p = "int";
6072 1.1 christos break;
6073 1.1 christos /* linux_sys_old_mmap */
6074 1.1 christos case 90:
6075 1.1 christos if (ndx == 0 || ndx == 1)
6076 1.1 christos p = "int";
6077 1.1 christos break;
6078 1.1 christos /* sys_munmap */
6079 1.1 christos case 91:
6080 1.1 christos if (ndx == 0 || ndx == 1)
6081 1.1 christos p = "int";
6082 1.1 christos break;
6083 1.1 christos /* compat_43_sys_truncate */
6084 1.1 christos case 92:
6085 1.1 christos if (ndx == 0 || ndx == 1)
6086 1.1 christos p = "int";
6087 1.1 christos break;
6088 1.1 christos /* compat_43_sys_ftruncate */
6089 1.1 christos case 93:
6090 1.1 christos if (ndx == 0 || ndx == 1)
6091 1.1 christos p = "int";
6092 1.1 christos break;
6093 1.1 christos /* sys_fchmod */
6094 1.1 christos case 94:
6095 1.1 christos if (ndx == 0 || ndx == 1)
6096 1.1 christos p = "int";
6097 1.1 christos break;
6098 1.1 christos /* linux_sys_fchown16 */
6099 1.1 christos case 95:
6100 1.1 christos if (ndx == 0 || ndx == 1)
6101 1.1 christos p = "int";
6102 1.1 christos break;
6103 1.1 christos /* linux_sys_getpriority */
6104 1.1 christos case 96:
6105 1.1 christos if (ndx == 0 || ndx == 1)
6106 1.1 christos p = "int";
6107 1.1 christos break;
6108 1.1 christos /* sys_setpriority */
6109 1.1 christos case 97:
6110 1.1 christos if (ndx == 0 || ndx == 1)
6111 1.1 christos p = "int";
6112 1.1 christos break;
6113 1.1 christos /* sys_profil */
6114 1.1 christos case 98:
6115 1.1 christos if (ndx == 0 || ndx == 1)
6116 1.1 christos p = "int";
6117 1.1 christos break;
6118 1.1 christos /* linux_sys_statfs */
6119 1.1 christos case 99:
6120 1.1 christos if (ndx == 0 || ndx == 1)
6121 1.1 christos p = "int";
6122 1.1 christos break;
6123 1.1 christos /* linux_sys_fstatfs */
6124 1.1 christos case 100:
6125 1.1 christos if (ndx == 0 || ndx == 1)
6126 1.1 christos p = "int";
6127 1.1 christos break;
6128 1.1 christos /* linux_sys_ioperm */
6129 1.1 christos case 101:
6130 1.1 christos if (ndx == 0 || ndx == 1)
6131 1.1 christos p = "int";
6132 1.1 christos break;
6133 1.1 christos /* linux_sys_socketcall */
6134 1.1 christos case 102:
6135 1.1 christos if (ndx == 0 || ndx == 1)
6136 1.1 christos p = "int";
6137 1.1 christos break;
6138 1.1 christos /* compat_50_sys_setitimer */
6139 1.1 christos case 104:
6140 1.1 christos if (ndx == 0 || ndx == 1)
6141 1.1 christos p = "int";
6142 1.1 christos break;
6143 1.1 christos /* compat_50_sys_getitimer */
6144 1.1 christos case 105:
6145 1.1 christos if (ndx == 0 || ndx == 1)
6146 1.1 christos p = "int";
6147 1.1 christos break;
6148 1.1 christos /* linux_sys_stat */
6149 1.1 christos case 106:
6150 1.1 christos if (ndx == 0 || ndx == 1)
6151 1.1 christos p = "int";
6152 1.1 christos break;
6153 1.1 christos /* linux_sys_lstat */
6154 1.1 christos case 107:
6155 1.1 christos if (ndx == 0 || ndx == 1)
6156 1.1 christos p = "int";
6157 1.1 christos break;
6158 1.1 christos /* linux_sys_fstat */
6159 1.1 christos case 108:
6160 1.1 christos if (ndx == 0 || ndx == 1)
6161 1.1 christos p = "int";
6162 1.1 christos break;
6163 1.1 christos /* linux_sys_olduname */
6164 1.1 christos case 109:
6165 1.1 christos if (ndx == 0 || ndx == 1)
6166 1.1 christos p = "int";
6167 1.1 christos break;
6168 1.1 christos /* linux_sys_iopl */
6169 1.1 christos case 110:
6170 1.1 christos if (ndx == 0 || ndx == 1)
6171 1.1 christos p = "int";
6172 1.1 christos break;
6173 1.1 christos /* linux_sys_wait4 */
6174 1.1 christos case 114:
6175 1.1 christos if (ndx == 0 || ndx == 1)
6176 1.1 christos p = "int";
6177 1.1 christos break;
6178 1.1 christos /* linux_sys_swapoff */
6179 1.1 christos case 115:
6180 1.1 christos if (ndx == 0 || ndx == 1)
6181 1.1 christos p = "int";
6182 1.1 christos break;
6183 1.1 christos /* linux_sys_sysinfo */
6184 1.1 christos case 116:
6185 1.1 christos if (ndx == 0 || ndx == 1)
6186 1.1 christos p = "int";
6187 1.1 christos break;
6188 1.1 christos /* linux_sys_ipc */
6189 1.1 christos case 117:
6190 1.1 christos if (ndx == 0 || ndx == 1)
6191 1.1 christos p = "int";
6192 1.1 christos break;
6193 1.1 christos /* sys_fsync */
6194 1.1 christos case 118:
6195 1.1 christos if (ndx == 0 || ndx == 1)
6196 1.1 christos p = "int";
6197 1.1 christos break;
6198 1.1 christos /* linux_sys_sigreturn */
6199 1.1 christos case 119:
6200 1.1 christos if (ndx == 0 || ndx == 1)
6201 1.1 christos p = "int";
6202 1.1 christos break;
6203 1.1 christos /* linux_sys_clone */
6204 1.1 christos case 120:
6205 1.1 christos if (ndx == 0 || ndx == 1)
6206 1.1 christos p = "int";
6207 1.1 christos break;
6208 1.1 christos /* linux_sys_setdomainname */
6209 1.1 christos case 121:
6210 1.1 christos if (ndx == 0 || ndx == 1)
6211 1.1 christos p = "int";
6212 1.1 christos break;
6213 1.1 christos /* linux_sys_uname */
6214 1.1 christos case 122:
6215 1.1 christos if (ndx == 0 || ndx == 1)
6216 1.1 christos p = "int";
6217 1.1 christos break;
6218 1.1 christos /* linux_sys_modify_ldt */
6219 1.1 christos case 123:
6220 1.1 christos if (ndx == 0 || ndx == 1)
6221 1.1 christos p = "int";
6222 1.1 christos break;
6223 1.1 christos /* linux_sys_mprotect */
6224 1.1 christos case 125:
6225 1.1 christos if (ndx == 0 || ndx == 1)
6226 1.1 christos p = "int";
6227 1.1 christos break;
6228 1.1 christos /* linux_sys_sigprocmask */
6229 1.1 christos case 126:
6230 1.1 christos if (ndx == 0 || ndx == 1)
6231 1.1 christos p = "int";
6232 1.1 christos break;
6233 1.1 christos /* sys_getpgid */
6234 1.1 christos case 132:
6235 1.1 christos if (ndx == 0 || ndx == 1)
6236 1.1 christos p = "pid_t";
6237 1.1 christos break;
6238 1.1 christos /* sys_fchdir */
6239 1.1 christos case 133:
6240 1.1 christos if (ndx == 0 || ndx == 1)
6241 1.1 christos p = "int";
6242 1.1 christos break;
6243 1.1 christos /* linux_sys_personality */
6244 1.1 christos case 136:
6245 1.1 christos if (ndx == 0 || ndx == 1)
6246 1.1 christos p = "int";
6247 1.1 christos break;
6248 1.1 christos /* linux_sys_setfsuid */
6249 1.1 christos case 138:
6250 1.1 christos if (ndx == 0 || ndx == 1)
6251 1.1 christos p = "int";
6252 1.1 christos break;
6253 1.1 christos /* linux_sys_setfsgid */
6254 1.1 christos case 139:
6255 1.1 christos if (ndx == 0 || ndx == 1)
6256 1.1 christos p = "int";
6257 1.1 christos break;
6258 1.1 christos /* linux_sys_llseek */
6259 1.1 christos case 140:
6260 1.1 christos if (ndx == 0 || ndx == 1)
6261 1.1 christos p = "int";
6262 1.1 christos break;
6263 1.1 christos /* linux_sys_getdents */
6264 1.1 christos case 141:
6265 1.1 christos if (ndx == 0 || ndx == 1)
6266 1.1 christos p = "int";
6267 1.1 christos break;
6268 1.1 christos /* linux_sys_select */
6269 1.1 christos case 142:
6270 1.1 christos if (ndx == 0 || ndx == 1)
6271 1.1 christos p = "int";
6272 1.1 christos break;
6273 1.1 christos /* sys_flock */
6274 1.1 christos case 143:
6275 1.1 christos if (ndx == 0 || ndx == 1)
6276 1.1 christos p = "int";
6277 1.1 christos break;
6278 1.1 christos /* sys___msync13 */
6279 1.1 christos case 144:
6280 1.1 christos if (ndx == 0 || ndx == 1)
6281 1.1 christos p = "int";
6282 1.1 christos break;
6283 1.1 christos /* sys_readv */
6284 1.1 christos case 145:
6285 1.1 christos if (ndx == 0 || ndx == 1)
6286 1.1 christos p = "ssize_t";
6287 1.1 christos break;
6288 1.1 christos /* sys_writev */
6289 1.1 christos case 146:
6290 1.1 christos if (ndx == 0 || ndx == 1)
6291 1.1 christos p = "ssize_t";
6292 1.1 christos break;
6293 1.1 christos /* sys_getsid */
6294 1.1 christos case 147:
6295 1.1 christos if (ndx == 0 || ndx == 1)
6296 1.1 christos p = "pid_t";
6297 1.1 christos break;
6298 1.1 christos /* linux_sys_fdatasync */
6299 1.1 christos case 148:
6300 1.1 christos if (ndx == 0 || ndx == 1)
6301 1.1 christos p = "int";
6302 1.1 christos break;
6303 1.1 christos /* linux_sys___sysctl */
6304 1.1 christos case 149:
6305 1.1 christos if (ndx == 0 || ndx == 1)
6306 1.1 christos p = "int";
6307 1.1 christos break;
6308 1.1 christos /* sys_mlock */
6309 1.1 christos case 150:
6310 1.1 christos if (ndx == 0 || ndx == 1)
6311 1.1 christos p = "int";
6312 1.1 christos break;
6313 1.1 christos /* sys_munlock */
6314 1.1 christos case 151:
6315 1.1 christos if (ndx == 0 || ndx == 1)
6316 1.1 christos p = "int";
6317 1.1 christos break;
6318 1.1 christos /* sys_mlockall */
6319 1.1 christos case 152:
6320 1.1 christos if (ndx == 0 || ndx == 1)
6321 1.1 christos p = "int";
6322 1.1 christos break;
6323 1.1 christos /* sys_munlockall */
6324 1.1 christos case 153:
6325 1.1 christos /* linux_sys_sched_setparam */
6326 1.1 christos case 154:
6327 1.1 christos if (ndx == 0 || ndx == 1)
6328 1.1 christos p = "int";
6329 1.1 christos break;
6330 1.1 christos /* linux_sys_sched_getparam */
6331 1.1 christos case 155:
6332 1.1 christos if (ndx == 0 || ndx == 1)
6333 1.1 christos p = "int";
6334 1.1 christos break;
6335 1.1 christos /* linux_sys_sched_setscheduler */
6336 1.1 christos case 156:
6337 1.1 christos if (ndx == 0 || ndx == 1)
6338 1.1 christos p = "int";
6339 1.1 christos break;
6340 1.1 christos /* linux_sys_sched_getscheduler */
6341 1.1 christos case 157:
6342 1.1 christos if (ndx == 0 || ndx == 1)
6343 1.1 christos p = "int";
6344 1.1 christos break;
6345 1.1 christos /* linux_sys_sched_yield */
6346 1.1 christos case 158:
6347 1.1 christos /* linux_sys_sched_get_priority_max */
6348 1.1 christos case 159:
6349 1.1 christos if (ndx == 0 || ndx == 1)
6350 1.1 christos p = "int";
6351 1.1 christos break;
6352 1.1 christos /* linux_sys_sched_get_priority_min */
6353 1.1 christos case 160:
6354 1.1 christos if (ndx == 0 || ndx == 1)
6355 1.1 christos p = "int";
6356 1.1 christos break;
6357 1.1 christos /* linux_sys_nanosleep */
6358 1.1 christos case 162:
6359 1.1 christos if (ndx == 0 || ndx == 1)
6360 1.1 christos p = "int";
6361 1.1 christos break;
6362 1.1 christos /* linux_sys_mremap */
6363 1.1 christos case 163:
6364 1.1 christos if (ndx == 0 || ndx == 1)
6365 1.1 christos p = "void *";
6366 1.1 christos break;
6367 1.1 christos /* linux_sys_setresuid16 */
6368 1.1 christos case 164:
6369 1.1 christos if (ndx == 0 || ndx == 1)
6370 1.1 christos p = "int";
6371 1.1 christos break;
6372 1.1 christos /* linux_sys_getresuid16 */
6373 1.1 christos case 165:
6374 1.1 christos if (ndx == 0 || ndx == 1)
6375 1.1 christos p = "int";
6376 1.1 christos break;
6377 1.1 christos /* sys_poll */
6378 1.1 christos case 168:
6379 1.1 christos if (ndx == 0 || ndx == 1)
6380 1.1 christos p = "int";
6381 1.1 christos break;
6382 1.1 christos /* linux_sys_setresgid16 */
6383 1.1 christos case 170:
6384 1.1 christos if (ndx == 0 || ndx == 1)
6385 1.1 christos p = "int";
6386 1.1 christos break;
6387 1.1 christos /* linux_sys_getresgid16 */
6388 1.1 christos case 171:
6389 1.1 christos if (ndx == 0 || ndx == 1)
6390 1.1 christos p = "int";
6391 1.1 christos break;
6392 1.1 christos /* linux_sys_rt_sigreturn */
6393 1.1 christos case 173:
6394 1.1 christos if (ndx == 0 || ndx == 1)
6395 1.1 christos p = "int";
6396 1.1 christos break;
6397 1.1 christos /* linux_sys_rt_sigaction */
6398 1.1 christos case 174:
6399 1.1 christos if (ndx == 0 || ndx == 1)
6400 1.1 christos p = "int";
6401 1.1 christos break;
6402 1.1 christos /* linux_sys_rt_sigprocmask */
6403 1.1 christos case 175:
6404 1.1 christos if (ndx == 0 || ndx == 1)
6405 1.1 christos p = "int";
6406 1.1 christos break;
6407 1.1 christos /* linux_sys_rt_sigpending */
6408 1.1 christos case 176:
6409 1.1 christos if (ndx == 0 || ndx == 1)
6410 1.1 christos p = "int";
6411 1.1 christos break;
6412 1.1 christos /* linux_sys_rt_sigtimedwait */
6413 1.1 christos case 177:
6414 1.1 christos if (ndx == 0 || ndx == 1)
6415 1.1 christos p = "int";
6416 1.1 christos break;
6417 1.1 christos /* linux_sys_rt_queueinfo */
6418 1.1 christos case 178:
6419 1.1 christos if (ndx == 0 || ndx == 1)
6420 1.1 christos p = "int";
6421 1.1 christos break;
6422 1.1 christos /* linux_sys_rt_sigsuspend */
6423 1.1 christos case 179:
6424 1.1 christos if (ndx == 0 || ndx == 1)
6425 1.1 christos p = "int";
6426 1.1 christos break;
6427 1.1 christos /* linux_sys_pread */
6428 1.1 christos case 180:
6429 1.1 christos if (ndx == 0 || ndx == 1)
6430 1.1 christos p = "int";
6431 1.1 christos break;
6432 1.1 christos /* linux_sys_pwrite */
6433 1.1 christos case 181:
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_chown16 */
6438 1.1 christos case 182:
6439 1.1 christos if (ndx == 0 || ndx == 1)
6440 1.1 christos p = "int";
6441 1.1 christos break;
6442 1.1 christos /* sys___getcwd */
6443 1.1 christos case 183:
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_sigaltstack */
6448 1.1 christos case 186:
6449 1.1 christos if (ndx == 0 || ndx == 1)
6450 1.1 christos p = "int";
6451 1.1 christos break;
6452 1.1 christos /* sys___vfork14 */
6453 1.1 christos case 190:
6454 1.1 christos /* linux_sys_ugetrlimit */
6455 1.1 christos case 191:
6456 1.1 christos if (ndx == 0 || ndx == 1)
6457 1.1 christos p = "int";
6458 1.1 christos break;
6459 1.1 christos #define linux_sys_mmap2_args linux_sys_mmap_args
6460 1.1 christos /* linux_sys_mmap2 */
6461 1.1 christos case 192:
6462 1.1 christos if (ndx == 0 || ndx == 1)
6463 1.1 christos p = "linux_off_t";
6464 1.1 christos break;
6465 1.1 christos /* linux_sys_truncate64 */
6466 1.1 christos case 193:
6467 1.1 christos if (ndx == 0 || ndx == 1)
6468 1.1 christos p = "int";
6469 1.1 christos break;
6470 1.1 christos /* linux_sys_ftruncate64 */
6471 1.1 christos case 194:
6472 1.1 christos if (ndx == 0 || ndx == 1)
6473 1.1 christos p = "int";
6474 1.1 christos break;
6475 1.1 christos /* linux_sys_stat64 */
6476 1.1 christos case 195:
6477 1.1 christos if (ndx == 0 || ndx == 1)
6478 1.1 christos p = "int";
6479 1.1 christos break;
6480 1.1 christos /* linux_sys_lstat64 */
6481 1.1 christos case 196:
6482 1.1 christos if (ndx == 0 || ndx == 1)
6483 1.1 christos p = "int";
6484 1.1 christos break;
6485 1.1 christos /* linux_sys_fstat64 */
6486 1.1 christos case 197:
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_lchown */
6491 1.1 christos case 198:
6492 1.1 christos if (ndx == 0 || ndx == 1)
6493 1.1 christos p = "int";
6494 1.1 christos break;
6495 1.1 christos /* sys_getuid */
6496 1.1 christos case 199:
6497 1.1 christos /* sys_getgid */
6498 1.1 christos case 200:
6499 1.1 christos /* sys_geteuid */
6500 1.1 christos case 201:
6501 1.1 christos /* sys_getegid */
6502 1.1 christos case 202:
6503 1.1 christos /* sys_setreuid */
6504 1.1 christos case 203:
6505 1.1 christos if (ndx == 0 || ndx == 1)
6506 1.1 christos p = "int";
6507 1.1 christos break;
6508 1.1 christos /* sys_setregid */
6509 1.1 christos case 204:
6510 1.1 christos if (ndx == 0 || ndx == 1)
6511 1.1 christos p = "int";
6512 1.1 christos break;
6513 1.1 christos /* sys_getgroups */
6514 1.1 christos case 205:
6515 1.1 christos if (ndx == 0 || ndx == 1)
6516 1.1 christos p = "int";
6517 1.1 christos break;
6518 1.1 christos /* sys_setgroups */
6519 1.1 christos case 206:
6520 1.1 christos if (ndx == 0 || ndx == 1)
6521 1.1 christos p = "int";
6522 1.1 christos break;
6523 1.1 christos /* sys___posix_fchown */
6524 1.1 christos case 207:
6525 1.1 christos if (ndx == 0 || ndx == 1)
6526 1.1 christos p = "int";
6527 1.1 christos break;
6528 1.1 christos /* linux_sys_setresuid */
6529 1.1 christos case 208:
6530 1.1 christos if (ndx == 0 || ndx == 1)
6531 1.1 christos p = "int";
6532 1.1 christos break;
6533 1.1 christos /* linux_sys_getresuid */
6534 1.1 christos case 209:
6535 1.1 christos if (ndx == 0 || ndx == 1)
6536 1.1 christos p = "int";
6537 1.1 christos break;
6538 1.1 christos /* linux_sys_setresgid */
6539 1.1 christos case 210:
6540 1.1 christos if (ndx == 0 || ndx == 1)
6541 1.1 christos p = "int";
6542 1.1 christos break;
6543 1.1 christos /* linux_sys_getresgid */
6544 1.1 christos case 211:
6545 1.1 christos if (ndx == 0 || ndx == 1)
6546 1.1 christos p = "int";
6547 1.1 christos break;
6548 1.1 christos /* sys___posix_chown */
6549 1.1 christos case 212:
6550 1.1 christos if (ndx == 0 || ndx == 1)
6551 1.1 christos p = "int";
6552 1.1 christos break;
6553 1.1 christos /* sys_setuid */
6554 1.1 christos case 213:
6555 1.1 christos if (ndx == 0 || ndx == 1)
6556 1.1 christos p = "int";
6557 1.1 christos break;
6558 1.1 christos /* sys_setgid */
6559 1.1 christos case 214:
6560 1.1 christos if (ndx == 0 || ndx == 1)
6561 1.1 christos p = "int";
6562 1.1 christos break;
6563 1.1 christos /* linux_sys_setfsuid */
6564 1.1 christos case 215:
6565 1.1 christos if (ndx == 0 || ndx == 1)
6566 1.1 christos p = "int";
6567 1.1 christos break;
6568 1.1 christos /* linux_sys_setfsgid */
6569 1.1 christos case 216:
6570 1.1 christos if (ndx == 0 || ndx == 1)
6571 1.1 christos p = "int";
6572 1.1 christos break;
6573 1.1 christos /* sys_mincore */
6574 1.1 christos case 218:
6575 1.1 christos if (ndx == 0 || ndx == 1)
6576 1.1 christos p = "int";
6577 1.1 christos break;
6578 1.1 christos /* sys_madvise */
6579 1.1 christos case 219:
6580 1.1 christos if (ndx == 0 || ndx == 1)
6581 1.1 christos p = "int";
6582 1.1 christos break;
6583 1.1 christos /* linux_sys_getdents64 */
6584 1.1 christos case 220:
6585 1.1 christos if (ndx == 0 || ndx == 1)
6586 1.1 christos p = "int";
6587 1.1 christos break;
6588 1.1 christos /* linux_sys_fcntl64 */
6589 1.1 christos case 221:
6590 1.1 christos if (ndx == 0 || ndx == 1)
6591 1.1 christos p = "int";
6592 1.1 christos break;
6593 1.1 christos /* linux_sys_gettid */
6594 1.1 christos case 224:
6595 1.19 christos /* linux_sys_readahead */
6596 1.19 christos case 225:
6597 1.19 christos if (ndx == 0 || ndx == 1)
6598 1.19 christos p = "ssize_t";
6599 1.19 christos break;
6600 1.1 christos /* linux_sys_setxattr */
6601 1.1 christos case 226:
6602 1.1 christos if (ndx == 0 || ndx == 1)
6603 1.1 christos p = "int";
6604 1.1 christos break;
6605 1.1 christos /* linux_sys_lsetxattr */
6606 1.1 christos case 227:
6607 1.1 christos if (ndx == 0 || ndx == 1)
6608 1.1 christos p = "int";
6609 1.1 christos break;
6610 1.1 christos /* linux_sys_fsetxattr */
6611 1.1 christos case 228:
6612 1.1 christos if (ndx == 0 || ndx == 1)
6613 1.1 christos p = "int";
6614 1.1 christos break;
6615 1.1 christos /* linux_sys_getxattr */
6616 1.1 christos case 229:
6617 1.1 christos if (ndx == 0 || ndx == 1)
6618 1.1 christos p = "ssize_t";
6619 1.1 christos break;
6620 1.1 christos /* linux_sys_lgetxattr */
6621 1.1 christos case 230:
6622 1.1 christos if (ndx == 0 || ndx == 1)
6623 1.1 christos p = "ssize_t";
6624 1.1 christos break;
6625 1.1 christos /* linux_sys_fgetxattr */
6626 1.1 christos case 231:
6627 1.1 christos if (ndx == 0 || ndx == 1)
6628 1.1 christos p = "ssize_t";
6629 1.1 christos break;
6630 1.1 christos /* linux_sys_listxattr */
6631 1.1 christos case 232:
6632 1.1 christos if (ndx == 0 || ndx == 1)
6633 1.1 christos p = "ssize_t";
6634 1.1 christos break;
6635 1.1 christos /* linux_sys_llistxattr */
6636 1.1 christos case 233:
6637 1.1 christos if (ndx == 0 || ndx == 1)
6638 1.1 christos p = "ssize_t";
6639 1.1 christos break;
6640 1.1 christos /* linux_sys_flistxattr */
6641 1.1 christos case 234:
6642 1.1 christos if (ndx == 0 || ndx == 1)
6643 1.1 christos p = "ssize_t";
6644 1.1 christos break;
6645 1.1 christos /* linux_sys_removexattr */
6646 1.1 christos case 235:
6647 1.1 christos if (ndx == 0 || ndx == 1)
6648 1.1 christos p = "int";
6649 1.1 christos break;
6650 1.1 christos /* linux_sys_lremovexattr */
6651 1.1 christos case 236:
6652 1.1 christos if (ndx == 0 || ndx == 1)
6653 1.1 christos p = "int";
6654 1.1 christos break;
6655 1.1 christos /* linux_sys_fremovexattr */
6656 1.1 christos case 237:
6657 1.1 christos if (ndx == 0 || ndx == 1)
6658 1.1 christos p = "int";
6659 1.1 christos break;
6660 1.1 christos /* linux_sys_tkill */
6661 1.1 christos case 238:
6662 1.1 christos if (ndx == 0 || ndx == 1)
6663 1.1 christos p = "int";
6664 1.1 christos break;
6665 1.1 christos /* linux_sys_futex */
6666 1.1 christos case 240:
6667 1.1 christos if (ndx == 0 || ndx == 1)
6668 1.1 christos p = "int";
6669 1.1 christos break;
6670 1.1 christos /* linux_sys_sched_setaffinity */
6671 1.1 christos case 241:
6672 1.1 christos if (ndx == 0 || ndx == 1)
6673 1.1 christos p = "int";
6674 1.1 christos break;
6675 1.1 christos /* linux_sys_sched_getaffinity */
6676 1.1 christos case 242:
6677 1.1 christos if (ndx == 0 || ndx == 1)
6678 1.1 christos p = "int";
6679 1.1 christos break;
6680 1.1 christos /* linux_sys_set_thread_area */
6681 1.1 christos case 243:
6682 1.1 christos if (ndx == 0 || ndx == 1)
6683 1.1 christos p = "int";
6684 1.1 christos break;
6685 1.1 christos /* linux_sys_get_thread_area */
6686 1.1 christos case 244:
6687 1.1 christos if (ndx == 0 || ndx == 1)
6688 1.1 christos p = "int";
6689 1.1 christos break;
6690 1.1 christos /* linux_sys_fadvise64 */
6691 1.1 christos case 250:
6692 1.1 christos if (ndx == 0 || ndx == 1)
6693 1.1 christos p = "int";
6694 1.1 christos break;
6695 1.1 christos /* linux_sys_exit_group */
6696 1.1 christos case 252:
6697 1.1 christos if (ndx == 0 || ndx == 1)
6698 1.1 christos p = "int";
6699 1.1 christos break;
6700 1.18 christos /* linux_sys_epoll_create */
6701 1.18 christos case 254:
6702 1.18 christos if (ndx == 0 || ndx == 1)
6703 1.18 christos p = "int";
6704 1.18 christos break;
6705 1.18 christos /* linux_sys_epoll_ctl */
6706 1.18 christos case 255:
6707 1.18 christos if (ndx == 0 || ndx == 1)
6708 1.18 christos p = "int";
6709 1.18 christos break;
6710 1.18 christos /* linux_sys_epoll_wait */
6711 1.18 christos case 256:
6712 1.18 christos if (ndx == 0 || ndx == 1)
6713 1.18 christos p = "int";
6714 1.18 christos break;
6715 1.1 christos /* linux_sys_set_tid_address */
6716 1.1 christos case 258:
6717 1.1 christos if (ndx == 0 || ndx == 1)
6718 1.1 christos p = "int";
6719 1.1 christos break;
6720 1.12 thorpej /* linux_sys_timer_create */
6721 1.12 thorpej case 259:
6722 1.12 thorpej if (ndx == 0 || ndx == 1)
6723 1.12 thorpej p = "int";
6724 1.12 thorpej break;
6725 1.12 thorpej /* linux_sys_timer_settime */
6726 1.12 thorpej case 260:
6727 1.12 thorpej if (ndx == 0 || ndx == 1)
6728 1.12 thorpej p = "int";
6729 1.12 thorpej break;
6730 1.12 thorpej /* linux_sys_timer_gettime */
6731 1.12 thorpej case 261:
6732 1.12 thorpej if (ndx == 0 || ndx == 1)
6733 1.12 thorpej p = "int";
6734 1.12 thorpej break;
6735 1.12 thorpej /* sys_timer_getoverrun */
6736 1.12 thorpej case 262:
6737 1.12 thorpej if (ndx == 0 || ndx == 1)
6738 1.12 thorpej p = "int";
6739 1.12 thorpej break;
6740 1.12 thorpej /* sys_timer_delete */
6741 1.12 thorpej case 263:
6742 1.12 thorpej if (ndx == 0 || ndx == 1)
6743 1.12 thorpej p = "int";
6744 1.12 thorpej break;
6745 1.1 christos /* linux_sys_clock_settime */
6746 1.1 christos case 264:
6747 1.1 christos if (ndx == 0 || ndx == 1)
6748 1.1 christos p = "int";
6749 1.1 christos break;
6750 1.1 christos /* linux_sys_clock_gettime */
6751 1.1 christos case 265:
6752 1.1 christos if (ndx == 0 || ndx == 1)
6753 1.1 christos p = "int";
6754 1.1 christos break;
6755 1.1 christos /* linux_sys_clock_getres */
6756 1.1 christos case 266:
6757 1.1 christos if (ndx == 0 || ndx == 1)
6758 1.1 christos p = "int";
6759 1.1 christos break;
6760 1.1 christos /* linux_sys_clock_nanosleep */
6761 1.1 christos case 267:
6762 1.1 christos if (ndx == 0 || ndx == 1)
6763 1.1 christos p = "int";
6764 1.1 christos break;
6765 1.1 christos /* linux_sys_statfs64 */
6766 1.1 christos case 268:
6767 1.1 christos if (ndx == 0 || ndx == 1)
6768 1.1 christos p = "int";
6769 1.1 christos break;
6770 1.1 christos /* linux_sys_fstatfs64 */
6771 1.1 christos case 269:
6772 1.1 christos if (ndx == 0 || ndx == 1)
6773 1.1 christos p = "int";
6774 1.1 christos break;
6775 1.1 christos /* linux_sys_tgkill */
6776 1.1 christos case 270:
6777 1.1 christos if (ndx == 0 || ndx == 1)
6778 1.1 christos p = "int";
6779 1.1 christos break;
6780 1.1 christos /* compat_50_sys_utimes */
6781 1.1 christos case 271:
6782 1.1 christos if (ndx == 0 || ndx == 1)
6783 1.1 christos p = "int";
6784 1.1 christos break;
6785 1.1 christos /* linux_sys_fadvise64_64 */
6786 1.1 christos case 272:
6787 1.1 christos if (ndx == 0 || ndx == 1)
6788 1.1 christos p = "int";
6789 1.1 christos break;
6790 1.20 christos /* linux_sys_waitid */
6791 1.20 christos case 284:
6792 1.20 christos if (ndx == 0 || ndx == 1)
6793 1.20 christos p = "int";
6794 1.20 christos break;
6795 1.1 christos /* linux_sys_openat */
6796 1.1 christos case 295:
6797 1.1 christos if (ndx == 0 || ndx == 1)
6798 1.1 christos p = "int";
6799 1.1 christos break;
6800 1.1 christos /* sys_mkdirat */
6801 1.1 christos case 296:
6802 1.1 christos if (ndx == 0 || ndx == 1)
6803 1.1 christos p = "int";
6804 1.1 christos break;
6805 1.1 christos /* linux_sys_mknodat */
6806 1.1 christos case 297:
6807 1.1 christos if (ndx == 0 || ndx == 1)
6808 1.1 christos p = "int";
6809 1.1 christos break;
6810 1.1 christos /* linux_sys_fchownat */
6811 1.1 christos case 298:
6812 1.1 christos if (ndx == 0 || ndx == 1)
6813 1.1 christos p = "int";
6814 1.1 christos break;
6815 1.1 christos /* linux_sys_fstatat64 */
6816 1.1 christos case 300:
6817 1.1 christos if (ndx == 0 || ndx == 1)
6818 1.1 christos p = "int";
6819 1.1 christos break;
6820 1.1 christos /* linux_sys_unlinkat */
6821 1.1 christos case 301:
6822 1.1 christos if (ndx == 0 || ndx == 1)
6823 1.1 christos p = "int";
6824 1.1 christos break;
6825 1.1 christos /* sys_renameat */
6826 1.1 christos case 302:
6827 1.1 christos if (ndx == 0 || ndx == 1)
6828 1.1 christos p = "int";
6829 1.1 christos break;
6830 1.1 christos /* linux_sys_linkat */
6831 1.1 christos case 303:
6832 1.1 christos if (ndx == 0 || ndx == 1)
6833 1.1 christos p = "int";
6834 1.1 christos break;
6835 1.1 christos /* sys_symlinkat */
6836 1.1 christos case 304:
6837 1.1 christos if (ndx == 0 || ndx == 1)
6838 1.1 christos p = "int";
6839 1.1 christos break;
6840 1.1 christos /* sys_readlinkat */
6841 1.1 christos case 305:
6842 1.1 christos if (ndx == 0 || ndx == 1)
6843 1.4 njoly p = "ssize_t";
6844 1.1 christos break;
6845 1.1 christos /* linux_sys_fchmodat */
6846 1.1 christos case 306:
6847 1.1 christos if (ndx == 0 || ndx == 1)
6848 1.1 christos p = "int";
6849 1.1 christos break;
6850 1.1 christos /* linux_sys_faccessat */
6851 1.1 christos case 307:
6852 1.1 christos if (ndx == 0 || ndx == 1)
6853 1.1 christos p = "int";
6854 1.1 christos break;
6855 1.5 martin /* linux_sys_pselect6 */
6856 1.5 martin case 308:
6857 1.5 martin if (ndx == 0 || ndx == 1)
6858 1.5 martin p = "int";
6859 1.5 martin break;
6860 1.1 christos /* linux_sys_ppoll */
6861 1.1 christos case 309:
6862 1.1 christos if (ndx == 0 || ndx == 1)
6863 1.1 christos p = "int";
6864 1.1 christos break;
6865 1.11 thorpej /* sys___futex_set_robust_list */
6866 1.1 christos case 311:
6867 1.1 christos if (ndx == 0 || ndx == 1)
6868 1.1 christos p = "int";
6869 1.1 christos break;
6870 1.11 thorpej /* sys___futex_get_robust_list */
6871 1.1 christos case 312:
6872 1.1 christos if (ndx == 0 || ndx == 1)
6873 1.1 christos p = "int";
6874 1.1 christos break;
6875 1.18 christos /* linux_sys_epoll_pwait */
6876 1.18 christos case 319:
6877 1.18 christos if (ndx == 0 || ndx == 1)
6878 1.18 christos p = "int";
6879 1.18 christos break;
6880 1.1 christos /* linux_sys_utimensat */
6881 1.1 christos case 320:
6882 1.1 christos if (ndx == 0 || ndx == 1)
6883 1.1 christos p = "int";
6884 1.1 christos break;
6885 1.13 thorpej /* linux_sys_timerfd_create */
6886 1.13 thorpej case 322:
6887 1.13 thorpej if (ndx == 0 || ndx == 1)
6888 1.13 thorpej p = "int";
6889 1.13 thorpej break;
6890 1.14 thorpej /* linux_sys_eventfd */
6891 1.14 thorpej case 323:
6892 1.14 thorpej if (ndx == 0 || ndx == 1)
6893 1.14 thorpej p = "int";
6894 1.14 thorpej break;
6895 1.10 jdolecek /* linux_sys_fallocate */
6896 1.10 jdolecek case 324:
6897 1.10 jdolecek if (ndx == 0 || ndx == 1)
6898 1.10 jdolecek p = "int";
6899 1.10 jdolecek break;
6900 1.13 thorpej /* linux_sys_timerfd_settime */
6901 1.13 thorpej case 325:
6902 1.13 thorpej if (ndx == 0 || ndx == 1)
6903 1.13 thorpej p = "int";
6904 1.13 thorpej break;
6905 1.13 thorpej /* linux_sys_timerfd_gettime */
6906 1.13 thorpej case 326:
6907 1.13 thorpej if (ndx == 0 || ndx == 1)
6908 1.13 thorpej p = "int";
6909 1.13 thorpej break;
6910 1.14 thorpej /* linux_sys_eventfd2 */
6911 1.14 thorpej case 328:
6912 1.14 thorpej if (ndx == 0 || ndx == 1)
6913 1.14 thorpej p = "int";
6914 1.14 thorpej break;
6915 1.18 christos /* linux_sys_epoll_create1 */
6916 1.18 christos case 329:
6917 1.18 christos if (ndx == 0 || ndx == 1)
6918 1.18 christos p = "int";
6919 1.18 christos break;
6920 1.1 christos /* linux_sys_dup3 */
6921 1.1 christos case 330:
6922 1.1 christos if (ndx == 0 || ndx == 1)
6923 1.1 christos p = "int";
6924 1.1 christos break;
6925 1.1 christos /* linux_sys_pipe2 */
6926 1.1 christos case 331:
6927 1.1 christos if (ndx == 0 || ndx == 1)
6928 1.1 christos p = "int";
6929 1.1 christos break;
6930 1.15 thorpej /* linux_sys_preadv */
6931 1.15 thorpej case 333:
6932 1.15 thorpej if (ndx == 0 || ndx == 1)
6933 1.15 thorpej p = "int";
6934 1.15 thorpej break;
6935 1.15 thorpej /* linux_sys_pwritev */
6936 1.15 thorpej case 334:
6937 1.15 thorpej if (ndx == 0 || ndx == 1)
6938 1.15 thorpej p = "int";
6939 1.15 thorpej break;
6940 1.16 ryo /* linux_sys_prlimit64 */
6941 1.16 ryo case 340:
6942 1.16 ryo if (ndx == 0 || ndx == 1)
6943 1.16 ryo p = "int";
6944 1.16 ryo break;
6945 1.17 christos /* sys_getrandom */
6946 1.17 christos case 355:
6947 1.17 christos if (ndx == 0 || ndx == 1)
6948 1.17 christos p = "ssize_t";
6949 1.17 christos break;
6950 1.17 christos /* linux_sys_memfd_create */
6951 1.17 christos case 356:
6952 1.17 christos if (ndx == 0 || ndx == 1)
6953 1.17 christos p = "int";
6954 1.17 christos break;
6955 1.19 christos /* linux_sys_statx */
6956 1.19 christos case 397:
6957 1.19 christos if (ndx == 0 || ndx == 1)
6958 1.19 christos p = "int";
6959 1.19 christos break;
6960 1.19 christos /* linux_sys_close_range */
6961 1.19 christos case 436:
6962 1.19 christos if (ndx == 0 || ndx == 1)
6963 1.19 christos p = "int";
6964 1.19 christos break;
6965 1.18 christos /* linux_sys_epoll_pwait2 */
6966 1.18 christos case 441:
6967 1.18 christos if (ndx == 0 || ndx == 1)
6968 1.18 christos p = "int";
6969 1.18 christos break;
6970 1.1 christos default:
6971 1.1 christos break;
6972 1.1 christos };
6973 1.1 christos if (p != NULL)
6974 1.1 christos strlcpy(desc, p, descsz);
6975 1.1 christos }
6976