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