linux_systrace_args.c revision 1.2 1 1.1 ryo /* $NetBSD: linux_systrace_args.c,v 1.2 2021/11/24 18:57:24 ryo Exp $ */
2 1.1 ryo
3 1.1 ryo /*
4 1.1 ryo * System call argument to DTrace register array conversion.
5 1.1 ryo *
6 1.1 ryo * DO NOT EDIT-- this file is automatically generated.
7 1.1 ryo * This file is part of the DTrace syscall provider.
8 1.1 ryo */
9 1.1 ryo
10 1.1 ryo static void
11 1.1 ryo systrace_args(register_t sysnum, const void *params, uintptr_t *uarg, size_t *n_args)
12 1.1 ryo {
13 1.1 ryo intptr_t *iarg = (intptr_t *)uarg;
14 1.1 ryo switch (sysnum) {
15 1.1 ryo /* linux_sys_setxattr */
16 1.1 ryo case 5: {
17 1.1 ryo const struct linux_sys_setxattr_args *p = params;
18 1.1 ryo uarg[0] = (intptr_t) SCARG(p, path); /* char * */
19 1.1 ryo uarg[1] = (intptr_t) SCARG(p, name); /* char * */
20 1.1 ryo uarg[2] = (intptr_t) SCARG(p, value); /* void * */
21 1.1 ryo uarg[3] = SCARG(p, size); /* size_t */
22 1.1 ryo iarg[4] = SCARG(p, flags); /* int */
23 1.1 ryo *n_args = 5;
24 1.1 ryo break;
25 1.1 ryo }
26 1.1 ryo /* linux_sys_lsetxattr */
27 1.1 ryo case 6: {
28 1.1 ryo const struct linux_sys_lsetxattr_args *p = params;
29 1.1 ryo uarg[0] = (intptr_t) SCARG(p, path); /* char * */
30 1.1 ryo uarg[1] = (intptr_t) SCARG(p, name); /* char * */
31 1.1 ryo uarg[2] = (intptr_t) SCARG(p, value); /* void * */
32 1.1 ryo uarg[3] = SCARG(p, size); /* size_t */
33 1.1 ryo iarg[4] = SCARG(p, flags); /* int */
34 1.1 ryo *n_args = 5;
35 1.1 ryo break;
36 1.1 ryo }
37 1.1 ryo /* linux_sys_fsetxattr */
38 1.1 ryo case 7: {
39 1.1 ryo const struct linux_sys_fsetxattr_args *p = params;
40 1.1 ryo iarg[0] = SCARG(p, fd); /* int */
41 1.1 ryo uarg[1] = (intptr_t) SCARG(p, name); /* char * */
42 1.1 ryo uarg[2] = (intptr_t) SCARG(p, value); /* void * */
43 1.1 ryo uarg[3] = SCARG(p, size); /* size_t */
44 1.1 ryo iarg[4] = SCARG(p, flags); /* int */
45 1.1 ryo *n_args = 5;
46 1.1 ryo break;
47 1.1 ryo }
48 1.1 ryo /* linux_sys_getxattr */
49 1.1 ryo case 8: {
50 1.1 ryo const struct linux_sys_getxattr_args *p = params;
51 1.1 ryo uarg[0] = (intptr_t) SCARG(p, path); /* char * */
52 1.1 ryo uarg[1] = (intptr_t) SCARG(p, name); /* char * */
53 1.1 ryo uarg[2] = (intptr_t) SCARG(p, value); /* void * */
54 1.1 ryo uarg[3] = SCARG(p, size); /* size_t */
55 1.1 ryo *n_args = 4;
56 1.1 ryo break;
57 1.1 ryo }
58 1.1 ryo /* linux_sys_lgetxattr */
59 1.1 ryo case 9: {
60 1.1 ryo const struct linux_sys_lgetxattr_args *p = params;
61 1.1 ryo uarg[0] = (intptr_t) SCARG(p, path); /* char * */
62 1.1 ryo uarg[1] = (intptr_t) SCARG(p, name); /* char * */
63 1.1 ryo uarg[2] = (intptr_t) SCARG(p, value); /* void * */
64 1.1 ryo uarg[3] = SCARG(p, size); /* size_t */
65 1.1 ryo *n_args = 4;
66 1.1 ryo break;
67 1.1 ryo }
68 1.1 ryo /* linux_sys_fgetxattr */
69 1.1 ryo case 10: {
70 1.1 ryo const struct linux_sys_fgetxattr_args *p = params;
71 1.1 ryo iarg[0] = SCARG(p, fd); /* int */
72 1.1 ryo uarg[1] = (intptr_t) SCARG(p, name); /* char * */
73 1.1 ryo uarg[2] = (intptr_t) SCARG(p, value); /* void * */
74 1.1 ryo uarg[3] = SCARG(p, size); /* size_t */
75 1.1 ryo *n_args = 4;
76 1.1 ryo break;
77 1.1 ryo }
78 1.1 ryo /* linux_sys_listxattr */
79 1.1 ryo case 11: {
80 1.1 ryo const struct linux_sys_listxattr_args *p = params;
81 1.1 ryo uarg[0] = (intptr_t) SCARG(p, path); /* char * */
82 1.1 ryo uarg[1] = (intptr_t) SCARG(p, list); /* char * */
83 1.1 ryo uarg[2] = SCARG(p, size); /* size_t */
84 1.1 ryo *n_args = 3;
85 1.1 ryo break;
86 1.1 ryo }
87 1.1 ryo /* linux_sys_llistxattr */
88 1.1 ryo case 12: {
89 1.1 ryo const struct linux_sys_llistxattr_args *p = params;
90 1.1 ryo uarg[0] = (intptr_t) SCARG(p, path); /* char * */
91 1.1 ryo uarg[1] = (intptr_t) SCARG(p, list); /* char * */
92 1.1 ryo uarg[2] = SCARG(p, size); /* size_t */
93 1.1 ryo *n_args = 3;
94 1.1 ryo break;
95 1.1 ryo }
96 1.1 ryo /* linux_sys_flistxattr */
97 1.1 ryo case 13: {
98 1.1 ryo const struct linux_sys_flistxattr_args *p = params;
99 1.1 ryo iarg[0] = SCARG(p, fd); /* int */
100 1.1 ryo uarg[1] = (intptr_t) SCARG(p, list); /* char * */
101 1.1 ryo uarg[2] = SCARG(p, size); /* size_t */
102 1.1 ryo *n_args = 3;
103 1.1 ryo break;
104 1.1 ryo }
105 1.1 ryo /* linux_sys_removexattr */
106 1.1 ryo case 14: {
107 1.1 ryo const struct linux_sys_removexattr_args *p = params;
108 1.1 ryo uarg[0] = (intptr_t) SCARG(p, path); /* char * */
109 1.1 ryo uarg[1] = (intptr_t) SCARG(p, name); /* char * */
110 1.1 ryo *n_args = 2;
111 1.1 ryo break;
112 1.1 ryo }
113 1.1 ryo /* linux_sys_lremovexattr */
114 1.1 ryo case 15: {
115 1.1 ryo const struct linux_sys_lremovexattr_args *p = params;
116 1.1 ryo uarg[0] = (intptr_t) SCARG(p, path); /* char * */
117 1.1 ryo uarg[1] = (intptr_t) SCARG(p, name); /* char * */
118 1.1 ryo *n_args = 2;
119 1.1 ryo break;
120 1.1 ryo }
121 1.1 ryo /* linux_sys_fremovexattr */
122 1.1 ryo case 16: {
123 1.1 ryo const struct linux_sys_fremovexattr_args *p = params;
124 1.1 ryo iarg[0] = SCARG(p, fd); /* int */
125 1.1 ryo uarg[1] = (intptr_t) SCARG(p, name); /* char * */
126 1.1 ryo *n_args = 2;
127 1.1 ryo break;
128 1.1 ryo }
129 1.1 ryo /* sys___getcwd */
130 1.1 ryo case 17: {
131 1.1 ryo const struct sys___getcwd_args *p = params;
132 1.1 ryo uarg[0] = (intptr_t) SCARG(p, bufp); /* char * */
133 1.1 ryo uarg[1] = SCARG(p, length); /* size_t */
134 1.1 ryo *n_args = 2;
135 1.1 ryo break;
136 1.1 ryo }
137 1.1 ryo /* linux_sys_eventfd2 */
138 1.1 ryo case 19: {
139 1.1 ryo const struct linux_sys_eventfd2_args *p = params;
140 1.1 ryo uarg[0] = SCARG(p, initval); /* unsigned int */
141 1.1 ryo iarg[1] = SCARG(p, flags); /* int */
142 1.1 ryo *n_args = 2;
143 1.1 ryo break;
144 1.1 ryo }
145 1.1 ryo /* sys_dup */
146 1.1 ryo case 23: {
147 1.1 ryo const struct sys_dup_args *p = params;
148 1.1 ryo iarg[0] = SCARG(p, fd); /* int */
149 1.1 ryo *n_args = 1;
150 1.1 ryo break;
151 1.1 ryo }
152 1.1 ryo /* linux_sys_dup3 */
153 1.1 ryo case 24: {
154 1.1 ryo const struct linux_sys_dup3_args *p = params;
155 1.1 ryo iarg[0] = SCARG(p, from); /* int */
156 1.1 ryo iarg[1] = SCARG(p, to); /* int */
157 1.1 ryo iarg[2] = SCARG(p, flags); /* int */
158 1.1 ryo *n_args = 3;
159 1.1 ryo break;
160 1.1 ryo }
161 1.1 ryo /* linux_sys_fcntl */
162 1.1 ryo case 25: {
163 1.1 ryo const struct linux_sys_fcntl_args *p = params;
164 1.1 ryo iarg[0] = SCARG(p, fd); /* int */
165 1.1 ryo iarg[1] = SCARG(p, cmd); /* int */
166 1.1 ryo uarg[2] = (intptr_t) SCARG(p, arg); /* void * */
167 1.1 ryo *n_args = 3;
168 1.1 ryo break;
169 1.1 ryo }
170 1.1 ryo /* linux_sys_ioctl */
171 1.1 ryo case 29: {
172 1.1 ryo const struct linux_sys_ioctl_args *p = params;
173 1.1 ryo iarg[0] = SCARG(p, fd); /* int */
174 1.1 ryo uarg[1] = SCARG(p, com); /* u_long */
175 1.1 ryo uarg[2] = (intptr_t) SCARG(p, data); /* void * */
176 1.1 ryo *n_args = 3;
177 1.1 ryo break;
178 1.1 ryo }
179 1.1 ryo /* sys_flock */
180 1.1 ryo case 32: {
181 1.1 ryo const struct sys_flock_args *p = params;
182 1.1 ryo iarg[0] = SCARG(p, fd); /* int */
183 1.1 ryo iarg[1] = SCARG(p, how); /* int */
184 1.1 ryo *n_args = 2;
185 1.1 ryo break;
186 1.1 ryo }
187 1.1 ryo /* linux_sys_mknodat */
188 1.1 ryo case 33: {
189 1.1 ryo const struct linux_sys_mknodat_args *p = params;
190 1.1 ryo iarg[0] = SCARG(p, fd); /* int */
191 1.1 ryo uarg[1] = (intptr_t) SCARG(p, path); /* const char * */
192 1.1 ryo iarg[2] = SCARG(p, mode); /* linux_umode_t */
193 1.1 ryo uarg[3] = SCARG(p, dev); /* unsigned */
194 1.1 ryo *n_args = 4;
195 1.1 ryo break;
196 1.1 ryo }
197 1.1 ryo /* sys_mkdirat */
198 1.1 ryo case 34: {
199 1.1 ryo const struct sys_mkdirat_args *p = params;
200 1.1 ryo iarg[0] = SCARG(p, fd); /* int */
201 1.1 ryo uarg[1] = (intptr_t) SCARG(p, path); /* const char * */
202 1.1 ryo iarg[2] = SCARG(p, mode); /* linux_umode_t */
203 1.1 ryo *n_args = 3;
204 1.1 ryo break;
205 1.1 ryo }
206 1.1 ryo /* linux_sys_unlinkat */
207 1.1 ryo case 35: {
208 1.1 ryo const struct linux_sys_unlinkat_args *p = params;
209 1.1 ryo iarg[0] = SCARG(p, fd); /* int */
210 1.1 ryo uarg[1] = (intptr_t) SCARG(p, path); /* const char * */
211 1.1 ryo iarg[2] = SCARG(p, flag); /* int */
212 1.1 ryo *n_args = 3;
213 1.1 ryo break;
214 1.1 ryo }
215 1.1 ryo /* sys_symlinkat */
216 1.1 ryo case 36: {
217 1.1 ryo const struct sys_symlinkat_args *p = params;
218 1.1 ryo uarg[0] = (intptr_t) SCARG(p, path1); /* const char * */
219 1.1 ryo iarg[1] = SCARG(p, fd); /* int */
220 1.1 ryo uarg[2] = (intptr_t) SCARG(p, path2); /* const char * */
221 1.1 ryo *n_args = 3;
222 1.1 ryo break;
223 1.1 ryo }
224 1.1 ryo /* linux_sys_linkat */
225 1.1 ryo case 37: {
226 1.1 ryo const struct linux_sys_linkat_args *p = params;
227 1.1 ryo iarg[0] = SCARG(p, fd1); /* int */
228 1.1 ryo uarg[1] = (intptr_t) SCARG(p, name1); /* const char * */
229 1.1 ryo iarg[2] = SCARG(p, fd2); /* int */
230 1.1 ryo uarg[3] = (intptr_t) SCARG(p, name2); /* const char * */
231 1.1 ryo iarg[4] = SCARG(p, flags); /* int */
232 1.1 ryo *n_args = 5;
233 1.1 ryo break;
234 1.1 ryo }
235 1.1 ryo /* sys_renameat */
236 1.1 ryo case 38: {
237 1.1 ryo const struct sys_renameat_args *p = params;
238 1.1 ryo iarg[0] = SCARG(p, fromfd); /* int */
239 1.1 ryo uarg[1] = (intptr_t) SCARG(p, from); /* const char * */
240 1.1 ryo iarg[2] = SCARG(p, tofd); /* int */
241 1.1 ryo uarg[3] = (intptr_t) SCARG(p, to); /* const char * */
242 1.1 ryo *n_args = 4;
243 1.1 ryo break;
244 1.1 ryo }
245 1.1 ryo /* linux_sys_statfs */
246 1.1 ryo case 43: {
247 1.1 ryo const struct linux_sys_statfs_args *p = params;
248 1.1 ryo uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
249 1.1 ryo uarg[1] = (intptr_t) SCARG(p, sp); /* struct linux_statfs * */
250 1.1 ryo *n_args = 2;
251 1.1 ryo break;
252 1.1 ryo }
253 1.1 ryo /* linux_sys_fstatfs */
254 1.1 ryo case 44: {
255 1.1 ryo const struct linux_sys_fstatfs_args *p = params;
256 1.1 ryo iarg[0] = SCARG(p, fd); /* int */
257 1.1 ryo uarg[1] = (intptr_t) SCARG(p, sp); /* struct linux_statfs * */
258 1.1 ryo *n_args = 2;
259 1.1 ryo break;
260 1.1 ryo }
261 1.1 ryo /* linux_sys_truncate64 */
262 1.1 ryo case 45: {
263 1.1 ryo const struct linux_sys_truncate64_args *p = params;
264 1.1 ryo uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
265 1.1 ryo iarg[1] = SCARG(p, length); /* off_t */
266 1.1 ryo *n_args = 2;
267 1.1 ryo break;
268 1.1 ryo }
269 1.1 ryo /* linux_sys_ftruncate64 */
270 1.1 ryo case 46: {
271 1.1 ryo const struct linux_sys_ftruncate64_args *p = params;
272 1.1 ryo uarg[0] = SCARG(p, fd); /* unsigned int */
273 1.1 ryo iarg[1] = SCARG(p, length); /* off_t */
274 1.1 ryo *n_args = 2;
275 1.1 ryo break;
276 1.1 ryo }
277 1.1 ryo /* linux_sys_fallocate */
278 1.1 ryo case 47: {
279 1.1 ryo const struct linux_sys_fallocate_args *p = params;
280 1.1 ryo iarg[0] = SCARG(p, fd); /* int */
281 1.1 ryo iarg[1] = SCARG(p, mode); /* int */
282 1.1 ryo iarg[2] = SCARG(p, offset); /* off_t */
283 1.1 ryo iarg[3] = SCARG(p, len); /* off_t */
284 1.1 ryo *n_args = 4;
285 1.1 ryo break;
286 1.1 ryo }
287 1.1 ryo /* linux_sys_faccessat */
288 1.1 ryo case 48: {
289 1.1 ryo const struct linux_sys_faccessat_args *p = params;
290 1.1 ryo iarg[0] = SCARG(p, fd); /* int */
291 1.1 ryo uarg[1] = (intptr_t) SCARG(p, path); /* const char * */
292 1.1 ryo iarg[2] = SCARG(p, amode); /* int */
293 1.1 ryo *n_args = 3;
294 1.1 ryo break;
295 1.1 ryo }
296 1.1 ryo /* sys_chdir */
297 1.1 ryo case 49: {
298 1.1 ryo const struct sys_chdir_args *p = params;
299 1.1 ryo uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
300 1.1 ryo *n_args = 1;
301 1.1 ryo break;
302 1.1 ryo }
303 1.1 ryo /* sys_fchdir */
304 1.1 ryo case 50: {
305 1.1 ryo const struct sys_fchdir_args *p = params;
306 1.1 ryo iarg[0] = SCARG(p, fd); /* int */
307 1.1 ryo *n_args = 1;
308 1.1 ryo break;
309 1.1 ryo }
310 1.1 ryo /* sys_chroot */
311 1.1 ryo case 51: {
312 1.1 ryo const struct sys_chroot_args *p = params;
313 1.1 ryo uarg[0] = (intptr_t) SCARG(p, path); /* char * */
314 1.1 ryo *n_args = 1;
315 1.1 ryo break;
316 1.1 ryo }
317 1.1 ryo /* sys_fchmod */
318 1.1 ryo case 52: {
319 1.1 ryo const struct sys_fchmod_args *p = params;
320 1.1 ryo iarg[0] = SCARG(p, fd); /* int */
321 1.1 ryo iarg[1] = SCARG(p, mode); /* linux_umode_t */
322 1.1 ryo *n_args = 2;
323 1.1 ryo break;
324 1.1 ryo }
325 1.1 ryo /* linux_sys_fchmodat */
326 1.1 ryo case 53: {
327 1.1 ryo const struct linux_sys_fchmodat_args *p = params;
328 1.1 ryo iarg[0] = SCARG(p, fd); /* int */
329 1.1 ryo uarg[1] = (intptr_t) SCARG(p, path); /* const char * */
330 1.1 ryo iarg[2] = SCARG(p, mode); /* linux_umode_t */
331 1.1 ryo *n_args = 3;
332 1.1 ryo break;
333 1.1 ryo }
334 1.1 ryo /* linux_sys_fchownat */
335 1.1 ryo case 54: {
336 1.1 ryo const struct linux_sys_fchownat_args *p = params;
337 1.1 ryo iarg[0] = SCARG(p, fd); /* int */
338 1.1 ryo uarg[1] = (intptr_t) SCARG(p, path); /* const char * */
339 1.1 ryo uarg[2] = SCARG(p, owner); /* uid_t */
340 1.1 ryo iarg[3] = SCARG(p, group); /* gid_t */
341 1.1 ryo iarg[4] = SCARG(p, flag); /* int */
342 1.1 ryo *n_args = 5;
343 1.1 ryo break;
344 1.1 ryo }
345 1.1 ryo /* sys___posix_fchown */
346 1.1 ryo case 55: {
347 1.1 ryo const struct sys___posix_fchown_args *p = params;
348 1.1 ryo iarg[0] = SCARG(p, fd); /* int */
349 1.1 ryo uarg[1] = SCARG(p, uid); /* uid_t */
350 1.1 ryo iarg[2] = SCARG(p, gid); /* gid_t */
351 1.1 ryo *n_args = 3;
352 1.1 ryo break;
353 1.1 ryo }
354 1.1 ryo /* linux_sys_openat */
355 1.1 ryo case 56: {
356 1.1 ryo const struct linux_sys_openat_args *p = params;
357 1.1 ryo iarg[0] = SCARG(p, fd); /* int */
358 1.1 ryo uarg[1] = (intptr_t) SCARG(p, path); /* const char * */
359 1.1 ryo iarg[2] = SCARG(p, flags); /* int */
360 1.1 ryo iarg[3] = SCARG(p, mode); /* linux_umode_t */
361 1.1 ryo *n_args = 4;
362 1.1 ryo break;
363 1.1 ryo }
364 1.1 ryo /* sys_close */
365 1.1 ryo case 57: {
366 1.1 ryo const struct sys_close_args *p = params;
367 1.1 ryo iarg[0] = SCARG(p, fd); /* int */
368 1.1 ryo *n_args = 1;
369 1.1 ryo break;
370 1.1 ryo }
371 1.1 ryo /* linux_sys_pipe2 */
372 1.1 ryo case 59: {
373 1.1 ryo const struct linux_sys_pipe2_args *p = params;
374 1.1 ryo uarg[0] = (intptr_t) SCARG(p, pfds); /* int * */
375 1.1 ryo iarg[1] = SCARG(p, flags); /* int */
376 1.1 ryo *n_args = 2;
377 1.1 ryo break;
378 1.1 ryo }
379 1.1 ryo /* linux_sys_getdents64 */
380 1.1 ryo case 61: {
381 1.1 ryo const struct linux_sys_getdents64_args *p = params;
382 1.1 ryo iarg[0] = SCARG(p, fd); /* int */
383 1.1 ryo uarg[1] = (intptr_t) SCARG(p, dent); /* struct linux_dirent64 * */
384 1.1 ryo uarg[2] = SCARG(p, count); /* unsigned int */
385 1.1 ryo *n_args = 3;
386 1.1 ryo break;
387 1.1 ryo }
388 1.1 ryo /* compat_43_sys_lseek */
389 1.1 ryo case 62: {
390 1.1 ryo const struct compat_43_sys_lseek_args *p = params;
391 1.1 ryo iarg[0] = SCARG(p, fd); /* int */
392 1.1 ryo iarg[1] = SCARG(p, offset); /* long */
393 1.1 ryo iarg[2] = SCARG(p, whence); /* int */
394 1.1 ryo *n_args = 3;
395 1.1 ryo break;
396 1.1 ryo }
397 1.1 ryo /* sys_read */
398 1.1 ryo case 63: {
399 1.1 ryo const struct sys_read_args *p = params;
400 1.1 ryo iarg[0] = SCARG(p, fd); /* int */
401 1.1 ryo uarg[1] = (intptr_t) SCARG(p, buf); /* void * */
402 1.1 ryo uarg[2] = SCARG(p, nbyte); /* size_t */
403 1.1 ryo *n_args = 3;
404 1.1 ryo break;
405 1.1 ryo }
406 1.1 ryo /* sys_write */
407 1.1 ryo case 64: {
408 1.1 ryo const struct sys_write_args *p = params;
409 1.1 ryo iarg[0] = SCARG(p, fd); /* int */
410 1.1 ryo uarg[1] = (intptr_t) SCARG(p, buf); /* const void * */
411 1.1 ryo uarg[2] = SCARG(p, nbyte); /* size_t */
412 1.1 ryo *n_args = 3;
413 1.1 ryo break;
414 1.1 ryo }
415 1.1 ryo /* sys_readv */
416 1.1 ryo case 65: {
417 1.1 ryo const struct sys_readv_args *p = params;
418 1.1 ryo iarg[0] = SCARG(p, fd); /* int */
419 1.1 ryo uarg[1] = (intptr_t) SCARG(p, iovp); /* const struct iovec * */
420 1.1 ryo iarg[2] = SCARG(p, iovcnt); /* int */
421 1.1 ryo *n_args = 3;
422 1.1 ryo break;
423 1.1 ryo }
424 1.1 ryo /* sys_writev */
425 1.1 ryo case 66: {
426 1.1 ryo const struct sys_writev_args *p = params;
427 1.1 ryo iarg[0] = SCARG(p, fd); /* int */
428 1.1 ryo uarg[1] = (intptr_t) SCARG(p, iovp); /* const struct iovec * */
429 1.1 ryo iarg[2] = SCARG(p, iovcnt); /* int */
430 1.1 ryo *n_args = 3;
431 1.1 ryo break;
432 1.1 ryo }
433 1.1 ryo /* linux_sys_pread */
434 1.1 ryo case 67: {
435 1.1 ryo const struct linux_sys_pread_args *p = params;
436 1.1 ryo iarg[0] = SCARG(p, fd); /* int */
437 1.1 ryo uarg[1] = (intptr_t) SCARG(p, buf); /* char * */
438 1.1 ryo uarg[2] = SCARG(p, nbyte); /* size_t */
439 1.1 ryo iarg[3] = SCARG(p, offset); /* off_t */
440 1.1 ryo *n_args = 4;
441 1.1 ryo break;
442 1.1 ryo }
443 1.1 ryo /* linux_sys_pwrite */
444 1.1 ryo case 68: {
445 1.1 ryo const struct linux_sys_pwrite_args *p = params;
446 1.1 ryo iarg[0] = SCARG(p, fd); /* int */
447 1.1 ryo uarg[1] = (intptr_t) SCARG(p, buf); /* char * */
448 1.1 ryo uarg[2] = SCARG(p, nbyte); /* size_t */
449 1.1 ryo iarg[3] = SCARG(p, offset); /* off_t */
450 1.1 ryo *n_args = 4;
451 1.1 ryo break;
452 1.1 ryo }
453 1.1 ryo /* linux_sys_preadv */
454 1.1 ryo case 69: {
455 1.1 ryo const struct linux_sys_preadv_args *p = params;
456 1.1 ryo iarg[0] = SCARG(p, fd); /* int */
457 1.1 ryo uarg[1] = (intptr_t) SCARG(p, iovp); /* const struct iovec * */
458 1.1 ryo iarg[2] = SCARG(p, iovcnt); /* int */
459 1.1 ryo uarg[3] = SCARG(p, off_lo); /* unsigned long */
460 1.1 ryo uarg[4] = SCARG(p, off_hi); /* unsigned long */
461 1.1 ryo *n_args = 5;
462 1.1 ryo break;
463 1.1 ryo }
464 1.1 ryo /* linux_sys_pwritev */
465 1.1 ryo case 70: {
466 1.1 ryo const struct linux_sys_pwritev_args *p = params;
467 1.1 ryo iarg[0] = SCARG(p, fd); /* int */
468 1.1 ryo uarg[1] = (intptr_t) SCARG(p, iovp); /* const struct iovcnt * */
469 1.1 ryo iarg[2] = SCARG(p, iovcnt); /* int */
470 1.1 ryo uarg[3] = SCARG(p, off_lo); /* unsigned long */
471 1.1 ryo uarg[4] = SCARG(p, off_hi); /* unsigned long */
472 1.1 ryo *n_args = 5;
473 1.1 ryo break;
474 1.1 ryo }
475 1.1 ryo /* linux_sys_pselect6 */
476 1.1 ryo case 72: {
477 1.1 ryo const struct linux_sys_pselect6_args *p = params;
478 1.1 ryo iarg[0] = SCARG(p, nfds); /* int */
479 1.1 ryo uarg[1] = (intptr_t) SCARG(p, readfds); /* fd_set * */
480 1.1 ryo uarg[2] = (intptr_t) SCARG(p, writefds); /* fd_set * */
481 1.1 ryo uarg[3] = (intptr_t) SCARG(p, exceptfds); /* fd_set * */
482 1.1 ryo uarg[4] = (intptr_t) SCARG(p, timeout); /* struct linux_timespec * */
483 1.1 ryo uarg[5] = (intptr_t) SCARG(p, ss); /* linux_sized_sigset_t * */
484 1.1 ryo *n_args = 6;
485 1.1 ryo break;
486 1.1 ryo }
487 1.1 ryo /* linux_sys_ppoll */
488 1.1 ryo case 73: {
489 1.1 ryo const struct linux_sys_ppoll_args *p = params;
490 1.1 ryo uarg[0] = (intptr_t) SCARG(p, fds); /* struct pollfd * */
491 1.1 ryo uarg[1] = SCARG(p, nfds); /* u_int */
492 1.1 ryo uarg[2] = (intptr_t) SCARG(p, timeout); /* struct linux_timespec * */
493 1.1 ryo uarg[3] = (intptr_t) SCARG(p, sigset); /* linux_sigset_t * */
494 1.1 ryo *n_args = 4;
495 1.1 ryo break;
496 1.1 ryo }
497 1.1 ryo /* sys_readlinkat */
498 1.1 ryo case 78: {
499 1.1 ryo const struct sys_readlinkat_args *p = params;
500 1.1 ryo iarg[0] = SCARG(p, fd); /* int */
501 1.1 ryo uarg[1] = (intptr_t) SCARG(p, path); /* const char * */
502 1.1 ryo uarg[2] = (intptr_t) SCARG(p, buf); /* char * */
503 1.1 ryo uarg[3] = SCARG(p, bufsize); /* size_t */
504 1.1 ryo *n_args = 4;
505 1.1 ryo break;
506 1.1 ryo }
507 1.1 ryo /* linux_sys_fstatat64 */
508 1.1 ryo case 79: {
509 1.1 ryo const struct linux_sys_fstatat64_args *p = params;
510 1.1 ryo iarg[0] = SCARG(p, fd); /* int */
511 1.1 ryo uarg[1] = (intptr_t) SCARG(p, path); /* const char * */
512 1.1 ryo uarg[2] = (intptr_t) SCARG(p, sp); /* struct linux_stat * */
513 1.1 ryo iarg[3] = SCARG(p, flag); /* int */
514 1.1 ryo *n_args = 4;
515 1.1 ryo break;
516 1.1 ryo }
517 1.1 ryo /* linux_sys_fstat64 */
518 1.1 ryo case 80: {
519 1.1 ryo const struct linux_sys_fstat64_args *p = params;
520 1.1 ryo iarg[0] = SCARG(p, fd); /* int */
521 1.1 ryo uarg[1] = (intptr_t) SCARG(p, sp); /* struct linux_stat * */
522 1.1 ryo *n_args = 2;
523 1.1 ryo break;
524 1.1 ryo }
525 1.1 ryo /* sys_sync */
526 1.1 ryo case 81: {
527 1.1 ryo *n_args = 0;
528 1.1 ryo break;
529 1.1 ryo }
530 1.1 ryo /* sys_fsync */
531 1.1 ryo case 82: {
532 1.1 ryo const struct sys_fsync_args *p = params;
533 1.1 ryo iarg[0] = SCARG(p, fd); /* int */
534 1.1 ryo *n_args = 1;
535 1.1 ryo break;
536 1.1 ryo }
537 1.1 ryo /* linux_sys_fdatasync */
538 1.1 ryo case 83: {
539 1.1 ryo const struct linux_sys_fdatasync_args *p = params;
540 1.1 ryo iarg[0] = SCARG(p, fd); /* int */
541 1.1 ryo *n_args = 1;
542 1.1 ryo break;
543 1.1 ryo }
544 1.1 ryo /* linux_sys_timerfd_create */
545 1.1 ryo case 85: {
546 1.1 ryo const struct linux_sys_timerfd_create_args *p = params;
547 1.1 ryo iarg[0] = SCARG(p, clock_id); /* clockid_t */
548 1.1 ryo iarg[1] = SCARG(p, flags); /* int */
549 1.1 ryo *n_args = 2;
550 1.1 ryo break;
551 1.1 ryo }
552 1.1 ryo /* linux_sys_timerfd_settime */
553 1.1 ryo case 86: {
554 1.1 ryo const struct linux_sys_timerfd_settime_args *p = params;
555 1.1 ryo iarg[0] = SCARG(p, fd); /* int */
556 1.1 ryo iarg[1] = SCARG(p, flags); /* int */
557 1.1 ryo uarg[2] = (intptr_t) SCARG(p, tim); /* const struct linux_itimerspec * */
558 1.1 ryo uarg[3] = (intptr_t) SCARG(p, otim); /* struct linux_itimerspec * */
559 1.1 ryo *n_args = 4;
560 1.1 ryo break;
561 1.1 ryo }
562 1.1 ryo /* linux_sys_timerfd_gettime */
563 1.1 ryo case 87: {
564 1.1 ryo const struct linux_sys_timerfd_gettime_args *p = params;
565 1.1 ryo iarg[0] = SCARG(p, fd); /* int */
566 1.1 ryo uarg[1] = (intptr_t) SCARG(p, tim); /* struct linux_itimerspec * */
567 1.1 ryo *n_args = 2;
568 1.1 ryo break;
569 1.1 ryo }
570 1.1 ryo /* linux_sys_utimensat */
571 1.1 ryo case 88: {
572 1.1 ryo const struct linux_sys_utimensat_args *p = params;
573 1.1 ryo iarg[0] = SCARG(p, fd); /* int */
574 1.1 ryo uarg[1] = (intptr_t) SCARG(p, path); /* const char * */
575 1.1 ryo uarg[2] = (intptr_t) SCARG(p, times); /* struct linux_timespec * */
576 1.1 ryo iarg[3] = SCARG(p, flag); /* int */
577 1.1 ryo *n_args = 4;
578 1.1 ryo break;
579 1.1 ryo }
580 1.1 ryo /* sys_acct */
581 1.1 ryo case 89: {
582 1.1 ryo const struct sys_acct_args *p = params;
583 1.1 ryo uarg[0] = (intptr_t) SCARG(p, path); /* char * */
584 1.1 ryo *n_args = 1;
585 1.1 ryo break;
586 1.1 ryo }
587 1.1 ryo /* linux_sys_personality */
588 1.1 ryo case 92: {
589 1.1 ryo const struct linux_sys_personality_args *p = params;
590 1.1 ryo uarg[0] = SCARG(p, per); /* unsigned long */
591 1.1 ryo *n_args = 1;
592 1.1 ryo break;
593 1.1 ryo }
594 1.1 ryo /* linux_sys_exit */
595 1.1 ryo case 93: {
596 1.1 ryo const struct linux_sys_exit_args *p = params;
597 1.1 ryo iarg[0] = SCARG(p, rval); /* int */
598 1.1 ryo *n_args = 1;
599 1.1 ryo break;
600 1.1 ryo }
601 1.1 ryo /* linux_sys_exit_group */
602 1.1 ryo case 94: {
603 1.1 ryo const struct linux_sys_exit_group_args *p = params;
604 1.1 ryo iarg[0] = SCARG(p, error_code); /* int */
605 1.1 ryo *n_args = 1;
606 1.1 ryo break;
607 1.1 ryo }
608 1.1 ryo /* linux_sys_set_tid_address */
609 1.1 ryo case 96: {
610 1.1 ryo const struct linux_sys_set_tid_address_args *p = params;
611 1.1 ryo uarg[0] = (intptr_t) SCARG(p, tid); /* int * */
612 1.1 ryo *n_args = 1;
613 1.1 ryo break;
614 1.1 ryo }
615 1.1 ryo /* linux_sys_futex */
616 1.1 ryo case 98: {
617 1.1 ryo const struct linux_sys_futex_args *p = params;
618 1.1 ryo uarg[0] = (intptr_t) SCARG(p, uaddr); /* int * */
619 1.1 ryo iarg[1] = SCARG(p, op); /* int */
620 1.1 ryo iarg[2] = SCARG(p, val); /* int */
621 1.1 ryo uarg[3] = (intptr_t) SCARG(p, timeout); /* const struct linux_timespec * */
622 1.1 ryo uarg[4] = (intptr_t) SCARG(p, uaddr2); /* int * */
623 1.1 ryo iarg[5] = SCARG(p, val3); /* int */
624 1.1 ryo *n_args = 6;
625 1.1 ryo break;
626 1.1 ryo }
627 1.1 ryo /* sys___futex_set_robust_list */
628 1.1 ryo case 99: {
629 1.1 ryo const struct sys___futex_set_robust_list_args *p = params;
630 1.1 ryo uarg[0] = (intptr_t) SCARG(p, head); /* void * */
631 1.1 ryo uarg[1] = SCARG(p, len); /* size_t */
632 1.1 ryo *n_args = 2;
633 1.1 ryo break;
634 1.1 ryo }
635 1.1 ryo /* sys___futex_get_robust_list */
636 1.1 ryo case 100: {
637 1.1 ryo const struct sys___futex_get_robust_list_args *p = params;
638 1.1 ryo iarg[0] = SCARG(p, lwpid); /* lwpid_t */
639 1.1 ryo uarg[1] = (intptr_t) SCARG(p, headp); /* void ** */
640 1.1 ryo uarg[2] = (intptr_t) SCARG(p, lenp); /* size_t * */
641 1.1 ryo *n_args = 3;
642 1.1 ryo break;
643 1.1 ryo }
644 1.1 ryo /* linux_sys_nanosleep */
645 1.1 ryo case 101: {
646 1.1 ryo const struct linux_sys_nanosleep_args *p = params;
647 1.1 ryo uarg[0] = (intptr_t) SCARG(p, rqtp); /* const struct linux_timespec * */
648 1.1 ryo uarg[1] = (intptr_t) SCARG(p, rmtp); /* struct linux_timespec * */
649 1.1 ryo *n_args = 2;
650 1.1 ryo break;
651 1.1 ryo }
652 1.1 ryo /* compat_50_sys_getitimer */
653 1.1 ryo case 102: {
654 1.1 ryo const struct compat_50_sys_getitimer_args *p = params;
655 1.1 ryo iarg[0] = SCARG(p, which); /* int */
656 1.1 ryo uarg[1] = (intptr_t) SCARG(p, itv); /* struct itimerval50 * */
657 1.1 ryo *n_args = 2;
658 1.1 ryo break;
659 1.1 ryo }
660 1.1 ryo /* compat_50_sys_setitimer */
661 1.1 ryo case 103: {
662 1.1 ryo const struct compat_50_sys_setitimer_args *p = params;
663 1.1 ryo iarg[0] = SCARG(p, which); /* int */
664 1.1 ryo uarg[1] = (intptr_t) SCARG(p, itv); /* struct itimerval50 * */
665 1.1 ryo uarg[2] = (intptr_t) SCARG(p, oitv); /* struct itimerval50 * */
666 1.1 ryo *n_args = 3;
667 1.1 ryo break;
668 1.1 ryo }
669 1.1 ryo /* linux_sys_timer_create */
670 1.1 ryo case 107: {
671 1.1 ryo const struct linux_sys_timer_create_args *p = params;
672 1.1 ryo iarg[0] = SCARG(p, clockid); /* clockid_t */
673 1.1 ryo uarg[1] = (intptr_t) SCARG(p, evp); /* struct linux_sigevent * */
674 1.1 ryo uarg[2] = (intptr_t) SCARG(p, timerid); /* timer_t * */
675 1.1 ryo *n_args = 3;
676 1.1 ryo break;
677 1.1 ryo }
678 1.1 ryo /* linux_sys_timer_gettime */
679 1.1 ryo case 108: {
680 1.1 ryo const struct linux_sys_timer_gettime_args *p = params;
681 1.1 ryo iarg[0] = SCARG(p, timerid); /* timer_t */
682 1.1 ryo uarg[1] = (intptr_t) SCARG(p, tim); /* struct linux_itimerspec * */
683 1.1 ryo *n_args = 2;
684 1.1 ryo break;
685 1.1 ryo }
686 1.1 ryo /* sys_timer_getoverrun */
687 1.1 ryo case 109: {
688 1.1 ryo const struct sys_timer_getoverrun_args *p = params;
689 1.1 ryo iarg[0] = SCARG(p, timerid); /* timer_t */
690 1.1 ryo *n_args = 1;
691 1.1 ryo break;
692 1.1 ryo }
693 1.1 ryo /* linux_sys_timer_settime */
694 1.1 ryo case 110: {
695 1.1 ryo const struct linux_sys_timer_settime_args *p = params;
696 1.1 ryo iarg[0] = SCARG(p, timerid); /* timer_t */
697 1.1 ryo iarg[1] = SCARG(p, flags); /* int */
698 1.1 ryo uarg[2] = (intptr_t) SCARG(p, tim); /* const struct linux_itimerspec * */
699 1.1 ryo uarg[3] = (intptr_t) SCARG(p, otim); /* struct linux_itimerspec * */
700 1.1 ryo *n_args = 4;
701 1.1 ryo break;
702 1.1 ryo }
703 1.1 ryo /* sys_timer_delete */
704 1.1 ryo case 111: {
705 1.1 ryo const struct sys_timer_delete_args *p = params;
706 1.1 ryo iarg[0] = SCARG(p, timerid); /* timer_t */
707 1.1 ryo *n_args = 1;
708 1.1 ryo break;
709 1.1 ryo }
710 1.1 ryo /* linux_sys_clock_settime */
711 1.1 ryo case 112: {
712 1.1 ryo const struct linux_sys_clock_settime_args *p = params;
713 1.1 ryo iarg[0] = SCARG(p, which); /* clockid_t */
714 1.1 ryo uarg[1] = (intptr_t) SCARG(p, tp); /* struct linux_timespec * */
715 1.1 ryo *n_args = 2;
716 1.1 ryo break;
717 1.1 ryo }
718 1.1 ryo /* linux_sys_clock_gettime */
719 1.1 ryo case 113: {
720 1.1 ryo const struct linux_sys_clock_gettime_args *p = params;
721 1.1 ryo iarg[0] = SCARG(p, which); /* clockid_t */
722 1.1 ryo uarg[1] = (intptr_t) SCARG(p, tp); /* struct linux_timespec * */
723 1.1 ryo *n_args = 2;
724 1.1 ryo break;
725 1.1 ryo }
726 1.1 ryo /* linux_sys_clock_getres */
727 1.1 ryo case 114: {
728 1.1 ryo const struct linux_sys_clock_getres_args *p = params;
729 1.1 ryo iarg[0] = SCARG(p, which); /* clockid_t */
730 1.1 ryo uarg[1] = (intptr_t) SCARG(p, tp); /* struct linux_timespec * */
731 1.1 ryo *n_args = 2;
732 1.1 ryo break;
733 1.1 ryo }
734 1.1 ryo /* linux_sys_clock_nanosleep */
735 1.1 ryo case 115: {
736 1.1 ryo const struct linux_sys_clock_nanosleep_args *p = params;
737 1.1 ryo iarg[0] = SCARG(p, which); /* clockid_t */
738 1.1 ryo iarg[1] = SCARG(p, flags); /* int */
739 1.1 ryo uarg[2] = (intptr_t) SCARG(p, rqtp); /* struct linux_timespec * */
740 1.1 ryo uarg[3] = (intptr_t) SCARG(p, rmtp); /* struct linux_timespec * */
741 1.1 ryo *n_args = 4;
742 1.1 ryo break;
743 1.1 ryo }
744 1.1 ryo /* linux_sys_ptrace */
745 1.1 ryo case 117: {
746 1.1 ryo const struct linux_sys_ptrace_args *p = params;
747 1.1 ryo iarg[0] = SCARG(p, request); /* long */
748 1.1 ryo iarg[1] = SCARG(p, pid); /* long */
749 1.1 ryo iarg[2] = SCARG(p, addr); /* long */
750 1.1 ryo iarg[3] = SCARG(p, data); /* long */
751 1.1 ryo *n_args = 4;
752 1.1 ryo break;
753 1.1 ryo }
754 1.1 ryo /* linux_sys_sched_setparam */
755 1.1 ryo case 118: {
756 1.1 ryo const struct linux_sys_sched_setparam_args *p = params;
757 1.1 ryo iarg[0] = SCARG(p, pid); /* pid_t */
758 1.1 ryo uarg[1] = (intptr_t) SCARG(p, sp); /* const struct linux_sched_param * */
759 1.1 ryo *n_args = 2;
760 1.1 ryo break;
761 1.1 ryo }
762 1.1 ryo /* linux_sys_sched_setscheduler */
763 1.1 ryo case 119: {
764 1.1 ryo const struct linux_sys_sched_setscheduler_args *p = params;
765 1.1 ryo iarg[0] = SCARG(p, pid); /* pid_t */
766 1.1 ryo iarg[1] = SCARG(p, policy); /* int */
767 1.1 ryo uarg[2] = (intptr_t) SCARG(p, sp); /* const struct linux_sched_param * */
768 1.1 ryo *n_args = 3;
769 1.1 ryo break;
770 1.1 ryo }
771 1.1 ryo /* linux_sys_sched_getscheduler */
772 1.1 ryo case 120: {
773 1.1 ryo const struct linux_sys_sched_getscheduler_args *p = params;
774 1.1 ryo iarg[0] = SCARG(p, pid); /* pid_t */
775 1.1 ryo *n_args = 1;
776 1.1 ryo break;
777 1.1 ryo }
778 1.1 ryo /* linux_sys_sched_getparam */
779 1.1 ryo case 121: {
780 1.1 ryo const struct linux_sys_sched_getparam_args *p = params;
781 1.1 ryo iarg[0] = SCARG(p, pid); /* pid_t */
782 1.1 ryo uarg[1] = (intptr_t) SCARG(p, sp); /* struct linux_sched_param * */
783 1.1 ryo *n_args = 2;
784 1.1 ryo break;
785 1.1 ryo }
786 1.1 ryo /* linux_sys_sched_setaffinity */
787 1.1 ryo case 122: {
788 1.1 ryo const struct linux_sys_sched_setaffinity_args *p = params;
789 1.1 ryo iarg[0] = SCARG(p, pid); /* pid_t */
790 1.1 ryo uarg[1] = SCARG(p, len); /* unsigned int */
791 1.1 ryo uarg[2] = (intptr_t) SCARG(p, mask); /* unsigned long * */
792 1.1 ryo *n_args = 3;
793 1.1 ryo break;
794 1.1 ryo }
795 1.1 ryo /* linux_sys_sched_getaffinity */
796 1.1 ryo case 123: {
797 1.1 ryo const struct linux_sys_sched_getaffinity_args *p = params;
798 1.1 ryo iarg[0] = SCARG(p, pid); /* pid_t */
799 1.1 ryo uarg[1] = SCARG(p, len); /* unsigned int */
800 1.1 ryo uarg[2] = (intptr_t) SCARG(p, mask); /* unsigned long * */
801 1.1 ryo *n_args = 3;
802 1.1 ryo break;
803 1.1 ryo }
804 1.1 ryo /* linux_sys_sched_yield */
805 1.1 ryo case 124: {
806 1.1 ryo *n_args = 0;
807 1.1 ryo break;
808 1.1 ryo }
809 1.1 ryo /* linux_sys_sched_get_priority_max */
810 1.1 ryo case 125: {
811 1.1 ryo const struct linux_sys_sched_get_priority_max_args *p = params;
812 1.1 ryo iarg[0] = SCARG(p, policy); /* int */
813 1.1 ryo *n_args = 1;
814 1.1 ryo break;
815 1.1 ryo }
816 1.1 ryo /* linux_sys_sched_get_priority_min */
817 1.1 ryo case 126: {
818 1.1 ryo const struct linux_sys_sched_get_priority_min_args *p = params;
819 1.1 ryo iarg[0] = SCARG(p, policy); /* int */
820 1.1 ryo *n_args = 1;
821 1.1 ryo break;
822 1.1 ryo }
823 1.1 ryo /* linux_sys_kill */
824 1.1 ryo case 129: {
825 1.1 ryo const struct linux_sys_kill_args *p = params;
826 1.1 ryo iarg[0] = SCARG(p, pid); /* int */
827 1.1 ryo iarg[1] = SCARG(p, signum); /* int */
828 1.1 ryo *n_args = 2;
829 1.1 ryo break;
830 1.1 ryo }
831 1.1 ryo /* linux_sys_tkill */
832 1.1 ryo case 130: {
833 1.1 ryo const struct linux_sys_tkill_args *p = params;
834 1.1 ryo iarg[0] = SCARG(p, tid); /* int */
835 1.1 ryo iarg[1] = SCARG(p, sig); /* int */
836 1.1 ryo *n_args = 2;
837 1.1 ryo break;
838 1.1 ryo }
839 1.1 ryo /* linux_sys_tgkill */
840 1.1 ryo case 131: {
841 1.1 ryo const struct linux_sys_tgkill_args *p = params;
842 1.1 ryo iarg[0] = SCARG(p, tgid); /* int */
843 1.1 ryo iarg[1] = SCARG(p, tid); /* int */
844 1.1 ryo iarg[2] = SCARG(p, sig); /* int */
845 1.1 ryo *n_args = 3;
846 1.1 ryo break;
847 1.1 ryo }
848 1.1 ryo /* linux_sys_sigaltstack */
849 1.1 ryo case 132: {
850 1.1 ryo const struct linux_sys_sigaltstack_args *p = params;
851 1.1 ryo uarg[0] = (intptr_t) SCARG(p, ss); /* const struct linux_sigaltstack * */
852 1.1 ryo uarg[1] = (intptr_t) SCARG(p, oss); /* struct linux_sigaltstack * */
853 1.1 ryo *n_args = 2;
854 1.1 ryo break;
855 1.1 ryo }
856 1.1 ryo /* linux_sys_rt_sigsuspend */
857 1.1 ryo case 133: {
858 1.1 ryo const struct linux_sys_rt_sigsuspend_args *p = params;
859 1.1 ryo uarg[0] = (intptr_t) SCARG(p, unewset); /* linux_sigset_t * */
860 1.1 ryo uarg[1] = SCARG(p, sigsetsize); /* size_t */
861 1.1 ryo *n_args = 2;
862 1.1 ryo break;
863 1.1 ryo }
864 1.1 ryo /* linux_sys_rt_sigaction */
865 1.1 ryo case 134: {
866 1.1 ryo const struct linux_sys_rt_sigaction_args *p = params;
867 1.1 ryo iarg[0] = SCARG(p, signum); /* int */
868 1.1 ryo uarg[1] = (intptr_t) SCARG(p, nsa); /* const struct linux_sigaction * */
869 1.1 ryo uarg[2] = (intptr_t) SCARG(p, osa); /* struct linux_sigaction * */
870 1.1 ryo uarg[3] = SCARG(p, sigsetsize); /* size_t */
871 1.1 ryo *n_args = 4;
872 1.1 ryo break;
873 1.1 ryo }
874 1.1 ryo /* linux_sys_rt_sigprocmask */
875 1.1 ryo case 135: {
876 1.1 ryo const struct linux_sys_rt_sigprocmask_args *p = params;
877 1.1 ryo iarg[0] = SCARG(p, how); /* int */
878 1.1 ryo uarg[1] = (intptr_t) SCARG(p, set); /* const linux_sigset_t * */
879 1.1 ryo uarg[2] = (intptr_t) SCARG(p, oset); /* linux_sigset_t * */
880 1.1 ryo uarg[3] = SCARG(p, sigsetsize); /* size_t */
881 1.1 ryo *n_args = 4;
882 1.1 ryo break;
883 1.1 ryo }
884 1.1 ryo /* linux_sys_rt_sigpending */
885 1.1 ryo case 136: {
886 1.1 ryo const struct linux_sys_rt_sigpending_args *p = params;
887 1.1 ryo uarg[0] = (intptr_t) SCARG(p, set); /* linux_sigset_t * */
888 1.1 ryo uarg[1] = SCARG(p, sigsetsize); /* size_t */
889 1.1 ryo *n_args = 2;
890 1.1 ryo break;
891 1.1 ryo }
892 1.1 ryo /* linux_sys_rt_sigtimedwait */
893 1.1 ryo case 137: {
894 1.1 ryo const struct linux_sys_rt_sigtimedwait_args *p = params;
895 1.1 ryo uarg[0] = (intptr_t) SCARG(p, set); /* const linux_sigset_t * */
896 1.1 ryo uarg[1] = (intptr_t) SCARG(p, info); /* linux_siginfo_t * */
897 1.1 ryo uarg[2] = (intptr_t) SCARG(p, timeout); /* const struct linux_timespec * */
898 1.1 ryo *n_args = 3;
899 1.1 ryo break;
900 1.1 ryo }
901 1.1 ryo /* linux_sys_rt_sigreturn */
902 1.1 ryo case 139: {
903 1.1 ryo *n_args = 0;
904 1.1 ryo break;
905 1.1 ryo }
906 1.1 ryo /* sys_setpriority */
907 1.1 ryo case 140: {
908 1.1 ryo const struct sys_setpriority_args *p = params;
909 1.1 ryo iarg[0] = SCARG(p, which); /* int */
910 1.1 ryo iarg[1] = SCARG(p, who); /* int */
911 1.1 ryo iarg[2] = SCARG(p, prio); /* int */
912 1.1 ryo *n_args = 3;
913 1.1 ryo break;
914 1.1 ryo }
915 1.1 ryo /* linux_sys_getpriority */
916 1.1 ryo case 141: {
917 1.1 ryo const struct linux_sys_getpriority_args *p = params;
918 1.1 ryo iarg[0] = SCARG(p, which); /* int */
919 1.1 ryo iarg[1] = SCARG(p, who); /* int */
920 1.1 ryo *n_args = 2;
921 1.1 ryo break;
922 1.1 ryo }
923 1.1 ryo /* linux_sys_reboot */
924 1.1 ryo case 142: {
925 1.1 ryo const struct linux_sys_reboot_args *p = params;
926 1.1 ryo iarg[0] = SCARG(p, magic1); /* int */
927 1.1 ryo iarg[1] = SCARG(p, magic2); /* int */
928 1.1 ryo iarg[2] = SCARG(p, cmd); /* int */
929 1.1 ryo uarg[3] = (intptr_t) SCARG(p, arg); /* void * */
930 1.1 ryo *n_args = 4;
931 1.1 ryo break;
932 1.1 ryo }
933 1.1 ryo /* sys_setregid */
934 1.1 ryo case 143: {
935 1.1 ryo const struct sys_setregid_args *p = params;
936 1.1 ryo iarg[0] = SCARG(p, rgid); /* gid_t */
937 1.1 ryo iarg[1] = SCARG(p, egid); /* gid_t */
938 1.1 ryo *n_args = 2;
939 1.1 ryo break;
940 1.1 ryo }
941 1.1 ryo /* sys_setgid */
942 1.1 ryo case 144: {
943 1.1 ryo const struct sys_setgid_args *p = params;
944 1.1 ryo iarg[0] = SCARG(p, gid); /* gid_t */
945 1.1 ryo *n_args = 1;
946 1.1 ryo break;
947 1.1 ryo }
948 1.1 ryo /* sys_setreuid */
949 1.1 ryo case 145: {
950 1.1 ryo const struct sys_setreuid_args *p = params;
951 1.1 ryo uarg[0] = SCARG(p, ruid); /* uid_t */
952 1.1 ryo uarg[1] = SCARG(p, euid); /* uid_t */
953 1.1 ryo *n_args = 2;
954 1.1 ryo break;
955 1.1 ryo }
956 1.1 ryo /* sys_setuid */
957 1.1 ryo case 146: {
958 1.1 ryo const struct sys_setuid_args *p = params;
959 1.1 ryo uarg[0] = SCARG(p, uid); /* uid_t */
960 1.1 ryo *n_args = 1;
961 1.1 ryo break;
962 1.1 ryo }
963 1.1 ryo /* linux_sys_setresuid */
964 1.1 ryo case 147: {
965 1.1 ryo const struct linux_sys_setresuid_args *p = params;
966 1.1 ryo uarg[0] = SCARG(p, ruid); /* uid_t */
967 1.1 ryo uarg[1] = SCARG(p, euid); /* uid_t */
968 1.1 ryo uarg[2] = SCARG(p, suid); /* uid_t */
969 1.1 ryo *n_args = 3;
970 1.1 ryo break;
971 1.1 ryo }
972 1.1 ryo /* linux_sys_getresuid */
973 1.1 ryo case 148: {
974 1.1 ryo const struct linux_sys_getresuid_args *p = params;
975 1.1 ryo uarg[0] = (intptr_t) SCARG(p, ruid); /* uid_t * */
976 1.1 ryo uarg[1] = (intptr_t) SCARG(p, euid); /* uid_t * */
977 1.1 ryo uarg[2] = (intptr_t) SCARG(p, suid); /* uid_t * */
978 1.1 ryo *n_args = 3;
979 1.1 ryo break;
980 1.1 ryo }
981 1.1 ryo /* linux_sys_setresgid */
982 1.1 ryo case 149: {
983 1.1 ryo const struct linux_sys_setresgid_args *p = params;
984 1.1 ryo iarg[0] = SCARG(p, rgid); /* gid_t */
985 1.1 ryo iarg[1] = SCARG(p, egid); /* gid_t */
986 1.1 ryo iarg[2] = SCARG(p, sgid); /* gid_t */
987 1.1 ryo *n_args = 3;
988 1.1 ryo break;
989 1.1 ryo }
990 1.1 ryo /* linux_sys_getresgid */
991 1.1 ryo case 150: {
992 1.1 ryo const struct linux_sys_getresgid_args *p = params;
993 1.1 ryo uarg[0] = (intptr_t) SCARG(p, rgid); /* gid_t * */
994 1.1 ryo uarg[1] = (intptr_t) SCARG(p, egid); /* gid_t * */
995 1.1 ryo uarg[2] = (intptr_t) SCARG(p, sgid); /* gid_t * */
996 1.1 ryo *n_args = 3;
997 1.1 ryo break;
998 1.1 ryo }
999 1.1 ryo /* linux_sys_setfsuid */
1000 1.1 ryo case 151: {
1001 1.1 ryo const struct linux_sys_setfsuid_args *p = params;
1002 1.1 ryo uarg[0] = SCARG(p, uid); /* uid_t */
1003 1.1 ryo *n_args = 1;
1004 1.1 ryo break;
1005 1.1 ryo }
1006 1.1 ryo /* linux_sys_setfsgid */
1007 1.1 ryo case 152: {
1008 1.1 ryo const struct linux_sys_setfsgid_args *p = params;
1009 1.1 ryo iarg[0] = SCARG(p, gid); /* gid_t */
1010 1.1 ryo *n_args = 1;
1011 1.1 ryo break;
1012 1.1 ryo }
1013 1.1 ryo /* linux_sys_times */
1014 1.1 ryo case 153: {
1015 1.1 ryo const struct linux_sys_times_args *p = params;
1016 1.1 ryo uarg[0] = (intptr_t) SCARG(p, tms); /* struct times * */
1017 1.1 ryo *n_args = 1;
1018 1.1 ryo break;
1019 1.1 ryo }
1020 1.1 ryo /* sys_setpgid */
1021 1.1 ryo case 154: {
1022 1.1 ryo const struct sys_setpgid_args *p = params;
1023 1.1 ryo iarg[0] = SCARG(p, pid); /* int */
1024 1.1 ryo iarg[1] = SCARG(p, pgid); /* int */
1025 1.1 ryo *n_args = 2;
1026 1.1 ryo break;
1027 1.1 ryo }
1028 1.1 ryo /* sys_getpgid */
1029 1.1 ryo case 155: {
1030 1.1 ryo const struct sys_getpgid_args *p = params;
1031 1.1 ryo iarg[0] = SCARG(p, pid); /* pid_t */
1032 1.1 ryo *n_args = 1;
1033 1.1 ryo break;
1034 1.1 ryo }
1035 1.1 ryo /* sys_getsid */
1036 1.1 ryo case 156: {
1037 1.1 ryo const struct sys_getsid_args *p = params;
1038 1.1 ryo iarg[0] = SCARG(p, pid); /* pid_t */
1039 1.1 ryo *n_args = 1;
1040 1.1 ryo break;
1041 1.1 ryo }
1042 1.1 ryo /* sys_setsid */
1043 1.1 ryo case 157: {
1044 1.1 ryo *n_args = 0;
1045 1.1 ryo break;
1046 1.1 ryo }
1047 1.1 ryo /* sys_getgroups */
1048 1.1 ryo case 158: {
1049 1.1 ryo const struct sys_getgroups_args *p = params;
1050 1.1 ryo iarg[0] = SCARG(p, gidsetsize); /* int */
1051 1.1 ryo uarg[1] = (intptr_t) SCARG(p, gidset); /* gid_t * */
1052 1.1 ryo *n_args = 2;
1053 1.1 ryo break;
1054 1.1 ryo }
1055 1.1 ryo /* sys_setgroups */
1056 1.1 ryo case 159: {
1057 1.1 ryo const struct sys_setgroups_args *p = params;
1058 1.1 ryo iarg[0] = SCARG(p, gidsetsize); /* int */
1059 1.1 ryo uarg[1] = (intptr_t) SCARG(p, gidset); /* gid_t * */
1060 1.1 ryo *n_args = 2;
1061 1.1 ryo break;
1062 1.1 ryo }
1063 1.1 ryo /* linux_sys_uname */
1064 1.1 ryo case 160: {
1065 1.1 ryo const struct linux_sys_uname_args *p = params;
1066 1.1 ryo uarg[0] = (intptr_t) SCARG(p, up); /* struct linux_utsname * */
1067 1.1 ryo *n_args = 1;
1068 1.1 ryo break;
1069 1.1 ryo }
1070 1.1 ryo /* compat_43_sys_sethostname */
1071 1.1 ryo case 161: {
1072 1.1 ryo const struct compat_43_sys_sethostname_args *p = params;
1073 1.1 ryo uarg[0] = (intptr_t) SCARG(p, hostname); /* char * */
1074 1.1 ryo uarg[1] = SCARG(p, len); /* u_int */
1075 1.1 ryo *n_args = 2;
1076 1.1 ryo break;
1077 1.1 ryo }
1078 1.1 ryo /* linux_sys_setdomainname */
1079 1.1 ryo case 162: {
1080 1.1 ryo const struct linux_sys_setdomainname_args *p = params;
1081 1.1 ryo uarg[0] = (intptr_t) SCARG(p, domainname); /* char * */
1082 1.1 ryo iarg[1] = SCARG(p, len); /* int */
1083 1.1 ryo *n_args = 2;
1084 1.1 ryo break;
1085 1.1 ryo }
1086 1.1 ryo /* linux_sys_getrlimit */
1087 1.1 ryo case 163: {
1088 1.1 ryo const struct linux_sys_getrlimit_args *p = params;
1089 1.1 ryo iarg[0] = SCARG(p, which); /* int */
1090 1.1 ryo uarg[1] = (intptr_t) SCARG(p, rlp); /* struct rlimit * */
1091 1.1 ryo *n_args = 2;
1092 1.1 ryo break;
1093 1.1 ryo }
1094 1.1 ryo /* linux_sys_setrlimit */
1095 1.1 ryo case 164: {
1096 1.1 ryo const struct linux_sys_setrlimit_args *p = params;
1097 1.1 ryo uarg[0] = SCARG(p, which); /* u_int */
1098 1.1 ryo uarg[1] = (intptr_t) SCARG(p, rlp); /* struct rlimit * */
1099 1.1 ryo *n_args = 2;
1100 1.1 ryo break;
1101 1.1 ryo }
1102 1.1 ryo /* compat_50_sys_getrusage */
1103 1.1 ryo case 165: {
1104 1.1 ryo const struct compat_50_sys_getrusage_args *p = params;
1105 1.1 ryo iarg[0] = SCARG(p, who); /* int */
1106 1.1 ryo uarg[1] = (intptr_t) SCARG(p, rusage); /* struct rusage50 * */
1107 1.1 ryo *n_args = 2;
1108 1.1 ryo break;
1109 1.1 ryo }
1110 1.1 ryo /* sys_umask */
1111 1.1 ryo case 166: {
1112 1.1 ryo const struct sys_umask_args *p = params;
1113 1.1 ryo iarg[0] = SCARG(p, newmask); /* int */
1114 1.1 ryo *n_args = 1;
1115 1.1 ryo break;
1116 1.1 ryo }
1117 1.1 ryo /* linux_sys_gettimeofday */
1118 1.1 ryo case 169: {
1119 1.1 ryo const struct linux_sys_gettimeofday_args *p = params;
1120 1.1 ryo uarg[0] = (intptr_t) SCARG(p, tp); /* struct timeval50 * */
1121 1.1 ryo uarg[1] = (intptr_t) SCARG(p, tzp); /* struct timezone * */
1122 1.1 ryo *n_args = 2;
1123 1.1 ryo break;
1124 1.1 ryo }
1125 1.1 ryo /* linux_sys_settimeofday */
1126 1.1 ryo case 170: {
1127 1.1 ryo const struct linux_sys_settimeofday_args *p = params;
1128 1.1 ryo uarg[0] = (intptr_t) SCARG(p, tp); /* struct timeval50 * */
1129 1.1 ryo uarg[1] = (intptr_t) SCARG(p, tzp); /* struct timezone * */
1130 1.1 ryo *n_args = 2;
1131 1.1 ryo break;
1132 1.1 ryo }
1133 1.1 ryo /* sys_getpid */
1134 1.1 ryo case 172: {
1135 1.1 ryo *n_args = 0;
1136 1.1 ryo break;
1137 1.1 ryo }
1138 1.1 ryo /* sys_getppid */
1139 1.1 ryo case 173: {
1140 1.1 ryo *n_args = 0;
1141 1.1 ryo break;
1142 1.1 ryo }
1143 1.1 ryo /* sys_getuid */
1144 1.1 ryo case 174: {
1145 1.1 ryo *n_args = 0;
1146 1.1 ryo break;
1147 1.1 ryo }
1148 1.1 ryo /* sys_geteuid */
1149 1.1 ryo case 175: {
1150 1.1 ryo *n_args = 0;
1151 1.1 ryo break;
1152 1.1 ryo }
1153 1.1 ryo /* sys_getgid */
1154 1.1 ryo case 176: {
1155 1.1 ryo *n_args = 0;
1156 1.1 ryo break;
1157 1.1 ryo }
1158 1.1 ryo /* sys_getegid */
1159 1.1 ryo case 177: {
1160 1.1 ryo *n_args = 0;
1161 1.1 ryo break;
1162 1.1 ryo }
1163 1.1 ryo /* linux_sys_gettid */
1164 1.1 ryo case 178: {
1165 1.1 ryo *n_args = 0;
1166 1.1 ryo break;
1167 1.1 ryo }
1168 1.1 ryo /* linux_sys_sysinfo */
1169 1.1 ryo case 179: {
1170 1.1 ryo const struct linux_sys_sysinfo_args *p = params;
1171 1.1 ryo uarg[0] = (intptr_t) SCARG(p, arg); /* struct linux_sysinfo * */
1172 1.1 ryo *n_args = 1;
1173 1.1 ryo break;
1174 1.1 ryo }
1175 1.1 ryo #ifdef SYSVMSG
1176 1.1 ryo /* sys_msgget */
1177 1.1 ryo case 186: {
1178 1.1 ryo const struct sys_msgget_args *p = params;
1179 1.1 ryo iarg[0] = SCARG(p, key); /* key_t */
1180 1.1 ryo iarg[1] = SCARG(p, msgflg); /* int */
1181 1.1 ryo *n_args = 2;
1182 1.1 ryo break;
1183 1.1 ryo }
1184 1.1 ryo /* linux_sys_msgctl */
1185 1.1 ryo case 187: {
1186 1.1 ryo const struct linux_sys_msgctl_args *p = params;
1187 1.1 ryo iarg[0] = SCARG(p, msqid); /* int */
1188 1.1 ryo iarg[1] = SCARG(p, cmd); /* int */
1189 1.1 ryo uarg[2] = (intptr_t) SCARG(p, buf); /* struct linux_msqid_ds * */
1190 1.1 ryo *n_args = 3;
1191 1.1 ryo break;
1192 1.1 ryo }
1193 1.1 ryo /* sys_msgrcv */
1194 1.1 ryo case 188: {
1195 1.1 ryo const struct sys_msgrcv_args *p = params;
1196 1.1 ryo iarg[0] = SCARG(p, msqid); /* int */
1197 1.1 ryo uarg[1] = (intptr_t) SCARG(p, msgp); /* void * */
1198 1.1 ryo uarg[2] = SCARG(p, msgsz); /* size_t */
1199 1.1 ryo iarg[3] = SCARG(p, msgtyp); /* long */
1200 1.1 ryo iarg[4] = SCARG(p, msgflg); /* int */
1201 1.1 ryo *n_args = 5;
1202 1.1 ryo break;
1203 1.1 ryo }
1204 1.1 ryo /* sys_msgsnd */
1205 1.1 ryo case 189: {
1206 1.1 ryo const struct sys_msgsnd_args *p = params;
1207 1.1 ryo iarg[0] = SCARG(p, msqid); /* int */
1208 1.1 ryo uarg[1] = (intptr_t) SCARG(p, msgp); /* void * */
1209 1.1 ryo uarg[2] = SCARG(p, msgsz); /* size_t */
1210 1.1 ryo iarg[3] = SCARG(p, msgflg); /* int */
1211 1.1 ryo *n_args = 4;
1212 1.1 ryo break;
1213 1.1 ryo }
1214 1.1 ryo #else
1215 1.1 ryo #endif
1216 1.1 ryo #ifdef SYSVSEM
1217 1.1 ryo /* sys_semget */
1218 1.1 ryo case 190: {
1219 1.1 ryo const struct sys_semget_args *p = params;
1220 1.1 ryo iarg[0] = SCARG(p, key); /* key_t */
1221 1.1 ryo iarg[1] = SCARG(p, nsems); /* int */
1222 1.1 ryo iarg[2] = SCARG(p, semflg); /* int */
1223 1.1 ryo *n_args = 3;
1224 1.1 ryo break;
1225 1.1 ryo }
1226 1.1 ryo /* linux_sys_semctl */
1227 1.1 ryo case 191: {
1228 1.1 ryo const struct linux_sys_semctl_args *p = params;
1229 1.1 ryo iarg[0] = SCARG(p, semid); /* int */
1230 1.1 ryo iarg[1] = SCARG(p, semnum); /* int */
1231 1.1 ryo iarg[2] = SCARG(p, cmd); /* int */
1232 1.1 ryo uarg[3] = SCARG(p, arg); /* union linux_semun */
1233 1.1 ryo *n_args = 4;
1234 1.1 ryo break;
1235 1.1 ryo }
1236 1.1 ryo /* sys_semop */
1237 1.1 ryo case 193: {
1238 1.1 ryo const struct sys_semop_args *p = params;
1239 1.1 ryo iarg[0] = SCARG(p, semid); /* int */
1240 1.1 ryo uarg[1] = (intptr_t) SCARG(p, sops); /* struct sembuf * */
1241 1.1 ryo uarg[2] = SCARG(p, nsops); /* size_t */
1242 1.1 ryo *n_args = 3;
1243 1.1 ryo break;
1244 1.1 ryo }
1245 1.1 ryo #else
1246 1.1 ryo #endif
1247 1.1 ryo #ifdef SYSVSEM
1248 1.1 ryo /* linux_sys_shmget */
1249 1.1 ryo case 194: {
1250 1.1 ryo const struct linux_sys_shmget_args *p = params;
1251 1.1 ryo iarg[0] = SCARG(p, key); /* key_t */
1252 1.1 ryo uarg[1] = SCARG(p, size); /* size_t */
1253 1.1 ryo iarg[2] = SCARG(p, shmflg); /* int */
1254 1.1 ryo *n_args = 3;
1255 1.1 ryo break;
1256 1.1 ryo }
1257 1.1 ryo /* linux_sys_shmctl */
1258 1.1 ryo case 195: {
1259 1.1 ryo const struct linux_sys_shmctl_args *p = params;
1260 1.1 ryo iarg[0] = SCARG(p, shmid); /* int */
1261 1.1 ryo iarg[1] = SCARG(p, cmd); /* int */
1262 1.1 ryo uarg[2] = (intptr_t) SCARG(p, buf); /* struct linux_shmid_ds * */
1263 1.1 ryo *n_args = 3;
1264 1.1 ryo break;
1265 1.1 ryo }
1266 1.1 ryo /* sys_shmat */
1267 1.1 ryo case 196: {
1268 1.1 ryo const struct sys_shmat_args *p = params;
1269 1.1 ryo iarg[0] = SCARG(p, shmid); /* int */
1270 1.1 ryo uarg[1] = (intptr_t) SCARG(p, shmaddr); /* void * */
1271 1.1 ryo iarg[2] = SCARG(p, shmflg); /* int */
1272 1.1 ryo *n_args = 3;
1273 1.1 ryo break;
1274 1.1 ryo }
1275 1.1 ryo /* sys_shmdt */
1276 1.1 ryo case 197: {
1277 1.1 ryo const struct sys_shmdt_args *p = params;
1278 1.1 ryo uarg[0] = (intptr_t) SCARG(p, shmaddr); /* const void * */
1279 1.1 ryo *n_args = 1;
1280 1.1 ryo break;
1281 1.1 ryo }
1282 1.1 ryo #else
1283 1.1 ryo #endif
1284 1.1 ryo /* linux_sys_socket */
1285 1.1 ryo case 198: {
1286 1.1 ryo const struct linux_sys_socket_args *p = params;
1287 1.1 ryo iarg[0] = SCARG(p, domain); /* int */
1288 1.1 ryo iarg[1] = SCARG(p, type); /* int */
1289 1.1 ryo iarg[2] = SCARG(p, protocol); /* int */
1290 1.1 ryo *n_args = 3;
1291 1.1 ryo break;
1292 1.1 ryo }
1293 1.1 ryo /* linux_sys_socketpair */
1294 1.1 ryo case 199: {
1295 1.1 ryo const struct linux_sys_socketpair_args *p = params;
1296 1.1 ryo iarg[0] = SCARG(p, domain); /* int */
1297 1.1 ryo iarg[1] = SCARG(p, type); /* int */
1298 1.1 ryo iarg[2] = SCARG(p, protocol); /* int */
1299 1.1 ryo uarg[3] = (intptr_t) SCARG(p, rsv); /* int * */
1300 1.1 ryo *n_args = 4;
1301 1.1 ryo break;
1302 1.1 ryo }
1303 1.1 ryo /* linux_sys_bind */
1304 1.1 ryo case 200: {
1305 1.1 ryo const struct linux_sys_bind_args *p = params;
1306 1.1 ryo iarg[0] = SCARG(p, s); /* int */
1307 1.1 ryo uarg[1] = (intptr_t) SCARG(p, name); /* const struct osockaddr * */
1308 1.1 ryo uarg[2] = SCARG(p, namelen); /* unsigned int */
1309 1.1 ryo *n_args = 3;
1310 1.1 ryo break;
1311 1.1 ryo }
1312 1.1 ryo /* sys_listen */
1313 1.1 ryo case 201: {
1314 1.1 ryo const struct sys_listen_args *p = params;
1315 1.1 ryo iarg[0] = SCARG(p, s); /* int */
1316 1.1 ryo iarg[1] = SCARG(p, backlog); /* int */
1317 1.1 ryo *n_args = 2;
1318 1.1 ryo break;
1319 1.1 ryo }
1320 1.1 ryo /* linux_sys_accept */
1321 1.1 ryo case 202: {
1322 1.1 ryo const struct linux_sys_accept_args *p = params;
1323 1.1 ryo iarg[0] = SCARG(p, s); /* int */
1324 1.1 ryo uarg[1] = (intptr_t) SCARG(p, name); /* struct osockaddr * */
1325 1.1 ryo uarg[2] = (intptr_t) SCARG(p, anamelen); /* int * */
1326 1.1 ryo *n_args = 3;
1327 1.1 ryo break;
1328 1.1 ryo }
1329 1.1 ryo /* linux_sys_connect */
1330 1.1 ryo case 203: {
1331 1.1 ryo const struct linux_sys_connect_args *p = params;
1332 1.1 ryo iarg[0] = SCARG(p, s); /* int */
1333 1.1 ryo uarg[1] = (intptr_t) SCARG(p, name); /* const struct osockaddr * */
1334 1.1 ryo uarg[2] = SCARG(p, namelen); /* unsigned int */
1335 1.1 ryo *n_args = 3;
1336 1.1 ryo break;
1337 1.1 ryo }
1338 1.1 ryo /* linux_sys_getsockname */
1339 1.1 ryo case 204: {
1340 1.1 ryo const struct linux_sys_getsockname_args *p = params;
1341 1.1 ryo iarg[0] = SCARG(p, fdec); /* int */
1342 1.1 ryo uarg[1] = (intptr_t) SCARG(p, asa); /* void * */
1343 1.1 ryo uarg[2] = (intptr_t) SCARG(p, alen); /* int * */
1344 1.1 ryo *n_args = 3;
1345 1.1 ryo break;
1346 1.1 ryo }
1347 1.1 ryo /* linux_sys_getpeername */
1348 1.1 ryo case 205: {
1349 1.1 ryo const struct linux_sys_getpeername_args *p = params;
1350 1.1 ryo iarg[0] = SCARG(p, fdes); /* int */
1351 1.1 ryo uarg[1] = (intptr_t) SCARG(p, asa); /* struct sockaddr * */
1352 1.1 ryo uarg[2] = (intptr_t) SCARG(p, alen); /* unsigned int * */
1353 1.1 ryo *n_args = 3;
1354 1.1 ryo break;
1355 1.1 ryo }
1356 1.1 ryo /* linux_sys_sendto */
1357 1.1 ryo case 206: {
1358 1.1 ryo const struct linux_sys_sendto_args *p = params;
1359 1.1 ryo iarg[0] = SCARG(p, s); /* int */
1360 1.1 ryo uarg[1] = (intptr_t) SCARG(p, msg); /* void * */
1361 1.1 ryo iarg[2] = SCARG(p, len); /* int */
1362 1.1 ryo iarg[3] = SCARG(p, flags); /* int */
1363 1.1 ryo uarg[4] = (intptr_t) SCARG(p, to); /* struct osockaddr * */
1364 1.1 ryo iarg[5] = SCARG(p, tolen); /* int */
1365 1.1 ryo *n_args = 6;
1366 1.1 ryo break;
1367 1.1 ryo }
1368 1.1 ryo /* linux_sys_recvfrom */
1369 1.1 ryo case 207: {
1370 1.1 ryo const struct linux_sys_recvfrom_args *p = params;
1371 1.1 ryo iarg[0] = SCARG(p, s); /* int */
1372 1.1 ryo uarg[1] = (intptr_t) SCARG(p, buf); /* void * */
1373 1.1 ryo uarg[2] = SCARG(p, len); /* size_t */
1374 1.1 ryo iarg[3] = SCARG(p, flags); /* int */
1375 1.1 ryo uarg[4] = (intptr_t) SCARG(p, from); /* struct osockaddr * */
1376 1.1 ryo uarg[5] = (intptr_t) SCARG(p, fromlenaddr); /* unsigned int * */
1377 1.1 ryo *n_args = 6;
1378 1.1 ryo break;
1379 1.1 ryo }
1380 1.1 ryo /* linux_sys_setsockopt */
1381 1.1 ryo case 208: {
1382 1.1 ryo const struct linux_sys_setsockopt_args *p = params;
1383 1.1 ryo iarg[0] = SCARG(p, s); /* int */
1384 1.1 ryo iarg[1] = SCARG(p, level); /* int */
1385 1.1 ryo iarg[2] = SCARG(p, optname); /* int */
1386 1.1 ryo uarg[3] = (intptr_t) SCARG(p, optval); /* void * */
1387 1.1 ryo iarg[4] = SCARG(p, optlen); /* int */
1388 1.1 ryo *n_args = 5;
1389 1.1 ryo break;
1390 1.1 ryo }
1391 1.1 ryo /* linux_sys_getsockopt */
1392 1.1 ryo case 209: {
1393 1.1 ryo const struct linux_sys_getsockopt_args *p = params;
1394 1.1 ryo iarg[0] = SCARG(p, s); /* int */
1395 1.1 ryo iarg[1] = SCARG(p, level); /* int */
1396 1.1 ryo iarg[2] = SCARG(p, optname); /* int */
1397 1.1 ryo uarg[3] = (intptr_t) SCARG(p, optval); /* void * */
1398 1.1 ryo uarg[4] = (intptr_t) SCARG(p, optlen); /* int * */
1399 1.1 ryo *n_args = 5;
1400 1.1 ryo break;
1401 1.1 ryo }
1402 1.1 ryo /* sys_shutdown */
1403 1.1 ryo case 210: {
1404 1.1 ryo const struct sys_shutdown_args *p = params;
1405 1.1 ryo iarg[0] = SCARG(p, s); /* int */
1406 1.1 ryo iarg[1] = SCARG(p, how); /* int */
1407 1.1 ryo *n_args = 2;
1408 1.1 ryo break;
1409 1.1 ryo }
1410 1.1 ryo /* linux_sys_sendmsg */
1411 1.1 ryo case 211: {
1412 1.1 ryo const struct linux_sys_sendmsg_args *p = params;
1413 1.1 ryo iarg[0] = SCARG(p, s); /* int */
1414 1.1 ryo uarg[1] = (intptr_t) SCARG(p, msg); /* const struct linux_msghdr * */
1415 1.1 ryo iarg[2] = SCARG(p, flags); /* int */
1416 1.1 ryo *n_args = 3;
1417 1.1 ryo break;
1418 1.1 ryo }
1419 1.1 ryo /* linux_sys_recvmsg */
1420 1.1 ryo case 212: {
1421 1.1 ryo const struct linux_sys_recvmsg_args *p = params;
1422 1.1 ryo iarg[0] = SCARG(p, s); /* int */
1423 1.1 ryo uarg[1] = (intptr_t) SCARG(p, msg); /* struct linux_msghdr * */
1424 1.1 ryo iarg[2] = SCARG(p, flags); /* int */
1425 1.1 ryo *n_args = 3;
1426 1.1 ryo break;
1427 1.1 ryo }
1428 1.1 ryo /* linux_sys_brk */
1429 1.1 ryo case 214: {
1430 1.1 ryo const struct linux_sys_brk_args *p = params;
1431 1.1 ryo uarg[0] = (intptr_t) SCARG(p, nsize); /* char * */
1432 1.1 ryo *n_args = 1;
1433 1.1 ryo break;
1434 1.1 ryo }
1435 1.1 ryo /* sys_munmap */
1436 1.1 ryo case 215: {
1437 1.1 ryo const struct sys_munmap_args *p = params;
1438 1.1 ryo uarg[0] = (intptr_t) SCARG(p, addr); /* void * */
1439 1.1 ryo uarg[1] = SCARG(p, len); /* size_t */
1440 1.1 ryo *n_args = 2;
1441 1.1 ryo break;
1442 1.1 ryo }
1443 1.1 ryo /* linux_sys_mremap */
1444 1.1 ryo case 216: {
1445 1.1 ryo const struct linux_sys_mremap_args *p = params;
1446 1.1 ryo uarg[0] = (intptr_t) SCARG(p, old_address); /* void * */
1447 1.1 ryo uarg[1] = SCARG(p, old_size); /* size_t */
1448 1.1 ryo uarg[2] = SCARG(p, new_size); /* size_t */
1449 1.1 ryo uarg[3] = SCARG(p, flags); /* u_long */
1450 1.1 ryo *n_args = 4;
1451 1.1 ryo break;
1452 1.1 ryo }
1453 1.1 ryo /* linux_sys_clone */
1454 1.1 ryo case 220: {
1455 1.1 ryo const struct linux_sys_clone_args *p = params;
1456 1.1 ryo iarg[0] = SCARG(p, flags); /* int */
1457 1.1 ryo uarg[1] = (intptr_t) SCARG(p, stack); /* void * */
1458 1.1 ryo uarg[2] = (intptr_t) SCARG(p, parent_tidptr); /* void * */
1459 1.1 ryo uarg[3] = (intptr_t) SCARG(p, child_tidptr); /* void * */
1460 1.1 ryo uarg[4] = (intptr_t) SCARG(p, tls); /* void * */
1461 1.1 ryo *n_args = 5;
1462 1.1 ryo break;
1463 1.1 ryo }
1464 1.1 ryo /* sys_execve */
1465 1.1 ryo case 221: {
1466 1.1 ryo const struct sys_execve_args *p = params;
1467 1.1 ryo uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
1468 1.1 ryo uarg[1] = (intptr_t) SCARG(p, argp); /* char ** */
1469 1.1 ryo uarg[2] = (intptr_t) SCARG(p, envp); /* char ** */
1470 1.1 ryo *n_args = 3;
1471 1.1 ryo break;
1472 1.1 ryo }
1473 1.1 ryo /* linux_sys_mmap */
1474 1.1 ryo case 222: {
1475 1.1 ryo const struct linux_sys_mmap_args *p = params;
1476 1.1 ryo uarg[0] = SCARG(p, addr); /* unsigned long */
1477 1.1 ryo uarg[1] = SCARG(p, len); /* size_t */
1478 1.1 ryo iarg[2] = SCARG(p, prot); /* int */
1479 1.1 ryo iarg[3] = SCARG(p, flags); /* int */
1480 1.1 ryo iarg[4] = SCARG(p, fd); /* int */
1481 1.1 ryo iarg[5] = SCARG(p, offset); /* linux_off_t */
1482 1.1 ryo *n_args = 6;
1483 1.1 ryo break;
1484 1.1 ryo }
1485 1.1 ryo /* linux_sys_fadvise64 */
1486 1.1 ryo case 223: {
1487 1.1 ryo const struct linux_sys_fadvise64_args *p = params;
1488 1.1 ryo iarg[0] = SCARG(p, fd); /* int */
1489 1.1 ryo iarg[1] = SCARG(p, offset); /* off_t */
1490 1.1 ryo uarg[2] = SCARG(p, len); /* size_t */
1491 1.1 ryo iarg[3] = SCARG(p, advice); /* int */
1492 1.1 ryo *n_args = 4;
1493 1.1 ryo break;
1494 1.1 ryo }
1495 1.1 ryo /* linux_sys_swapon */
1496 1.1 ryo case 224: {
1497 1.1 ryo const struct linux_sys_swapon_args *p = params;
1498 1.1 ryo uarg[0] = (intptr_t) SCARG(p, name); /* char * */
1499 1.1 ryo *n_args = 1;
1500 1.1 ryo break;
1501 1.1 ryo }
1502 1.1 ryo /* linux_sys_swapoff */
1503 1.1 ryo case 225: {
1504 1.1 ryo const struct linux_sys_swapoff_args *p = params;
1505 1.1 ryo uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
1506 1.1 ryo *n_args = 1;
1507 1.1 ryo break;
1508 1.1 ryo }
1509 1.1 ryo /* linux_sys_mprotect */
1510 1.1 ryo case 226: {
1511 1.1 ryo const struct linux_sys_mprotect_args *p = params;
1512 1.1 ryo uarg[0] = (intptr_t) SCARG(p, start); /* const void * */
1513 1.1 ryo uarg[1] = SCARG(p, len); /* unsigned long */
1514 1.1 ryo iarg[2] = SCARG(p, prot); /* int */
1515 1.1 ryo *n_args = 3;
1516 1.1 ryo break;
1517 1.1 ryo }
1518 1.1 ryo /* sys___msync13 */
1519 1.1 ryo case 227: {
1520 1.1 ryo const struct sys___msync13_args *p = params;
1521 1.1 ryo uarg[0] = (intptr_t) SCARG(p, addr); /* void * */
1522 1.1 ryo uarg[1] = SCARG(p, len); /* size_t */
1523 1.1 ryo iarg[2] = SCARG(p, flags); /* int */
1524 1.1 ryo *n_args = 3;
1525 1.1 ryo break;
1526 1.1 ryo }
1527 1.1 ryo /* sys_mlock */
1528 1.1 ryo case 228: {
1529 1.1 ryo const struct sys_mlock_args *p = params;
1530 1.1 ryo uarg[0] = (intptr_t) SCARG(p, addr); /* void * */
1531 1.1 ryo uarg[1] = SCARG(p, len); /* size_t */
1532 1.1 ryo *n_args = 2;
1533 1.1 ryo break;
1534 1.1 ryo }
1535 1.1 ryo /* sys_munlock */
1536 1.1 ryo case 229: {
1537 1.1 ryo const struct sys_munlock_args *p = params;
1538 1.1 ryo uarg[0] = (intptr_t) SCARG(p, addr); /* void * */
1539 1.1 ryo uarg[1] = SCARG(p, len); /* size_t */
1540 1.1 ryo *n_args = 2;
1541 1.1 ryo break;
1542 1.1 ryo }
1543 1.1 ryo /* sys_mlockall */
1544 1.1 ryo case 230: {
1545 1.1 ryo const struct sys_mlockall_args *p = params;
1546 1.1 ryo iarg[0] = SCARG(p, flags); /* int */
1547 1.1 ryo *n_args = 1;
1548 1.1 ryo break;
1549 1.1 ryo }
1550 1.1 ryo /* sys_munlockall */
1551 1.1 ryo case 231: {
1552 1.1 ryo *n_args = 0;
1553 1.1 ryo break;
1554 1.1 ryo }
1555 1.1 ryo /* sys_mincore */
1556 1.1 ryo case 232: {
1557 1.1 ryo const struct sys_mincore_args *p = params;
1558 1.1 ryo uarg[0] = (intptr_t) SCARG(p, addr); /* void * */
1559 1.1 ryo uarg[1] = SCARG(p, len); /* size_t */
1560 1.1 ryo uarg[2] = (intptr_t) SCARG(p, vec); /* char * */
1561 1.1 ryo *n_args = 3;
1562 1.1 ryo break;
1563 1.1 ryo }
1564 1.1 ryo /* sys_madvise */
1565 1.1 ryo case 233: {
1566 1.1 ryo const struct sys_madvise_args *p = params;
1567 1.1 ryo uarg[0] = (intptr_t) SCARG(p, addr); /* void * */
1568 1.1 ryo uarg[1] = SCARG(p, len); /* size_t */
1569 1.1 ryo iarg[2] = SCARG(p, behav); /* int */
1570 1.1 ryo *n_args = 3;
1571 1.1 ryo break;
1572 1.1 ryo }
1573 1.1 ryo /* linux_sys_accept4 */
1574 1.1 ryo case 242: {
1575 1.1 ryo const struct linux_sys_accept4_args *p = params;
1576 1.1 ryo iarg[0] = SCARG(p, s); /* int */
1577 1.1 ryo uarg[1] = (intptr_t) SCARG(p, name); /* struct osockaddr * */
1578 1.1 ryo uarg[2] = (intptr_t) SCARG(p, anamelen); /* int * */
1579 1.1 ryo iarg[3] = SCARG(p, flags); /* int */
1580 1.1 ryo *n_args = 4;
1581 1.1 ryo break;
1582 1.1 ryo }
1583 1.1 ryo /* linux_sys_recvmmsg */
1584 1.1 ryo case 243: {
1585 1.1 ryo const struct linux_sys_recvmmsg_args *p = params;
1586 1.1 ryo iarg[0] = SCARG(p, s); /* int */
1587 1.1 ryo uarg[1] = (intptr_t) SCARG(p, msgvec); /* struct linux_mmsghdr * */
1588 1.1 ryo uarg[2] = SCARG(p, vlen); /* unsigned int */
1589 1.1 ryo uarg[3] = SCARG(p, flags); /* unsigned int */
1590 1.1 ryo uarg[4] = (intptr_t) SCARG(p, timeout); /* struct timespec * */
1591 1.1 ryo *n_args = 5;
1592 1.1 ryo break;
1593 1.1 ryo }
1594 1.1 ryo /* linux_sys_wait4 */
1595 1.1 ryo case 260: {
1596 1.1 ryo const struct linux_sys_wait4_args *p = params;
1597 1.1 ryo iarg[0] = SCARG(p, pid); /* int */
1598 1.1 ryo uarg[1] = (intptr_t) SCARG(p, status); /* int * */
1599 1.1 ryo iarg[2] = SCARG(p, options); /* int */
1600 1.1 ryo uarg[3] = (intptr_t) SCARG(p, rusage); /* struct rusage50 * */
1601 1.1 ryo *n_args = 4;
1602 1.1 ryo break;
1603 1.1 ryo }
1604 1.1 ryo /* linux_sys_sendmmsg */
1605 1.1 ryo case 269: {
1606 1.1 ryo const struct linux_sys_sendmmsg_args *p = params;
1607 1.1 ryo iarg[0] = SCARG(p, s); /* int */
1608 1.1 ryo uarg[1] = (intptr_t) SCARG(p, msgvec); /* struct linux_mmsghdr * */
1609 1.1 ryo uarg[2] = SCARG(p, vlen); /* unsigned int */
1610 1.1 ryo uarg[3] = SCARG(p, flags); /* unsigned int */
1611 1.1 ryo *n_args = 4;
1612 1.1 ryo break;
1613 1.1 ryo }
1614 1.2 ryo /* sys_getrandom */
1615 1.2 ryo case 278: {
1616 1.2 ryo const struct sys_getrandom_args *p = params;
1617 1.2 ryo uarg[0] = (intptr_t) SCARG(p, buf); /* void * */
1618 1.2 ryo uarg[1] = SCARG(p, buflen); /* size_t */
1619 1.2 ryo uarg[2] = SCARG(p, flags); /* unsigned int */
1620 1.2 ryo *n_args = 3;
1621 1.2 ryo break;
1622 1.2 ryo }
1623 1.1 ryo /* linux_sys_nosys */
1624 1.1 ryo case 440: {
1625 1.1 ryo *n_args = 0;
1626 1.1 ryo break;
1627 1.1 ryo }
1628 1.1 ryo default:
1629 1.1 ryo *n_args = 0;
1630 1.1 ryo break;
1631 1.1 ryo };
1632 1.1 ryo }
1633 1.1 ryo static void
1634 1.1 ryo systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
1635 1.1 ryo {
1636 1.1 ryo const char *p = NULL;
1637 1.1 ryo switch (sysnum) {
1638 1.1 ryo /* linux_sys_setxattr */
1639 1.1 ryo case 5:
1640 1.1 ryo switch(ndx) {
1641 1.1 ryo case 0:
1642 1.1 ryo p = "char *";
1643 1.1 ryo break;
1644 1.1 ryo case 1:
1645 1.1 ryo p = "char *";
1646 1.1 ryo break;
1647 1.1 ryo case 2:
1648 1.1 ryo p = "void *";
1649 1.1 ryo break;
1650 1.1 ryo case 3:
1651 1.1 ryo p = "size_t";
1652 1.1 ryo break;
1653 1.1 ryo case 4:
1654 1.1 ryo p = "int";
1655 1.1 ryo break;
1656 1.1 ryo default:
1657 1.1 ryo break;
1658 1.1 ryo };
1659 1.1 ryo break;
1660 1.1 ryo /* linux_sys_lsetxattr */
1661 1.1 ryo case 6:
1662 1.1 ryo switch(ndx) {
1663 1.1 ryo case 0:
1664 1.1 ryo p = "char *";
1665 1.1 ryo break;
1666 1.1 ryo case 1:
1667 1.1 ryo p = "char *";
1668 1.1 ryo break;
1669 1.1 ryo case 2:
1670 1.1 ryo p = "void *";
1671 1.1 ryo break;
1672 1.1 ryo case 3:
1673 1.1 ryo p = "size_t";
1674 1.1 ryo break;
1675 1.1 ryo case 4:
1676 1.1 ryo p = "int";
1677 1.1 ryo break;
1678 1.1 ryo default:
1679 1.1 ryo break;
1680 1.1 ryo };
1681 1.1 ryo break;
1682 1.1 ryo /* linux_sys_fsetxattr */
1683 1.1 ryo case 7:
1684 1.1 ryo switch(ndx) {
1685 1.1 ryo case 0:
1686 1.1 ryo p = "int";
1687 1.1 ryo break;
1688 1.1 ryo case 1:
1689 1.1 ryo p = "char *";
1690 1.1 ryo break;
1691 1.1 ryo case 2:
1692 1.1 ryo p = "void *";
1693 1.1 ryo break;
1694 1.1 ryo case 3:
1695 1.1 ryo p = "size_t";
1696 1.1 ryo break;
1697 1.1 ryo case 4:
1698 1.1 ryo p = "int";
1699 1.1 ryo break;
1700 1.1 ryo default:
1701 1.1 ryo break;
1702 1.1 ryo };
1703 1.1 ryo break;
1704 1.1 ryo /* linux_sys_getxattr */
1705 1.1 ryo case 8:
1706 1.1 ryo switch(ndx) {
1707 1.1 ryo case 0:
1708 1.1 ryo p = "char *";
1709 1.1 ryo break;
1710 1.1 ryo case 1:
1711 1.1 ryo p = "char *";
1712 1.1 ryo break;
1713 1.1 ryo case 2:
1714 1.1 ryo p = "void *";
1715 1.1 ryo break;
1716 1.1 ryo case 3:
1717 1.1 ryo p = "size_t";
1718 1.1 ryo break;
1719 1.1 ryo default:
1720 1.1 ryo break;
1721 1.1 ryo };
1722 1.1 ryo break;
1723 1.1 ryo /* linux_sys_lgetxattr */
1724 1.1 ryo case 9:
1725 1.1 ryo switch(ndx) {
1726 1.1 ryo case 0:
1727 1.1 ryo p = "char *";
1728 1.1 ryo break;
1729 1.1 ryo case 1:
1730 1.1 ryo p = "char *";
1731 1.1 ryo break;
1732 1.1 ryo case 2:
1733 1.1 ryo p = "void *";
1734 1.1 ryo break;
1735 1.1 ryo case 3:
1736 1.1 ryo p = "size_t";
1737 1.1 ryo break;
1738 1.1 ryo default:
1739 1.1 ryo break;
1740 1.1 ryo };
1741 1.1 ryo break;
1742 1.1 ryo /* linux_sys_fgetxattr */
1743 1.1 ryo case 10:
1744 1.1 ryo switch(ndx) {
1745 1.1 ryo case 0:
1746 1.1 ryo p = "int";
1747 1.1 ryo break;
1748 1.1 ryo case 1:
1749 1.1 ryo p = "char *";
1750 1.1 ryo break;
1751 1.1 ryo case 2:
1752 1.1 ryo p = "void *";
1753 1.1 ryo break;
1754 1.1 ryo case 3:
1755 1.1 ryo p = "size_t";
1756 1.1 ryo break;
1757 1.1 ryo default:
1758 1.1 ryo break;
1759 1.1 ryo };
1760 1.1 ryo break;
1761 1.1 ryo /* linux_sys_listxattr */
1762 1.1 ryo case 11:
1763 1.1 ryo switch(ndx) {
1764 1.1 ryo case 0:
1765 1.1 ryo p = "char *";
1766 1.1 ryo break;
1767 1.1 ryo case 1:
1768 1.1 ryo p = "char *";
1769 1.1 ryo break;
1770 1.1 ryo case 2:
1771 1.1 ryo p = "size_t";
1772 1.1 ryo break;
1773 1.1 ryo default:
1774 1.1 ryo break;
1775 1.1 ryo };
1776 1.1 ryo break;
1777 1.1 ryo /* linux_sys_llistxattr */
1778 1.1 ryo case 12:
1779 1.1 ryo switch(ndx) {
1780 1.1 ryo case 0:
1781 1.1 ryo p = "char *";
1782 1.1 ryo break;
1783 1.1 ryo case 1:
1784 1.1 ryo p = "char *";
1785 1.1 ryo break;
1786 1.1 ryo case 2:
1787 1.1 ryo p = "size_t";
1788 1.1 ryo break;
1789 1.1 ryo default:
1790 1.1 ryo break;
1791 1.1 ryo };
1792 1.1 ryo break;
1793 1.1 ryo /* linux_sys_flistxattr */
1794 1.1 ryo case 13:
1795 1.1 ryo switch(ndx) {
1796 1.1 ryo case 0:
1797 1.1 ryo p = "int";
1798 1.1 ryo break;
1799 1.1 ryo case 1:
1800 1.1 ryo p = "char *";
1801 1.1 ryo break;
1802 1.1 ryo case 2:
1803 1.1 ryo p = "size_t";
1804 1.1 ryo break;
1805 1.1 ryo default:
1806 1.1 ryo break;
1807 1.1 ryo };
1808 1.1 ryo break;
1809 1.1 ryo /* linux_sys_removexattr */
1810 1.1 ryo case 14:
1811 1.1 ryo switch(ndx) {
1812 1.1 ryo case 0:
1813 1.1 ryo p = "char *";
1814 1.1 ryo break;
1815 1.1 ryo case 1:
1816 1.1 ryo p = "char *";
1817 1.1 ryo break;
1818 1.1 ryo default:
1819 1.1 ryo break;
1820 1.1 ryo };
1821 1.1 ryo break;
1822 1.1 ryo /* linux_sys_lremovexattr */
1823 1.1 ryo case 15:
1824 1.1 ryo switch(ndx) {
1825 1.1 ryo case 0:
1826 1.1 ryo p = "char *";
1827 1.1 ryo break;
1828 1.1 ryo case 1:
1829 1.1 ryo p = "char *";
1830 1.1 ryo break;
1831 1.1 ryo default:
1832 1.1 ryo break;
1833 1.1 ryo };
1834 1.1 ryo break;
1835 1.1 ryo /* linux_sys_fremovexattr */
1836 1.1 ryo case 16:
1837 1.1 ryo switch(ndx) {
1838 1.1 ryo case 0:
1839 1.1 ryo p = "int";
1840 1.1 ryo break;
1841 1.1 ryo case 1:
1842 1.1 ryo p = "char *";
1843 1.1 ryo break;
1844 1.1 ryo default:
1845 1.1 ryo break;
1846 1.1 ryo };
1847 1.1 ryo break;
1848 1.1 ryo /* sys___getcwd */
1849 1.1 ryo case 17:
1850 1.1 ryo switch(ndx) {
1851 1.1 ryo case 0:
1852 1.1 ryo p = "char *";
1853 1.1 ryo break;
1854 1.1 ryo case 1:
1855 1.1 ryo p = "size_t";
1856 1.1 ryo break;
1857 1.1 ryo default:
1858 1.1 ryo break;
1859 1.1 ryo };
1860 1.1 ryo break;
1861 1.1 ryo /* linux_sys_eventfd2 */
1862 1.1 ryo case 19:
1863 1.1 ryo switch(ndx) {
1864 1.1 ryo case 0:
1865 1.1 ryo p = "unsigned int";
1866 1.1 ryo break;
1867 1.1 ryo case 1:
1868 1.1 ryo p = "int";
1869 1.1 ryo break;
1870 1.1 ryo default:
1871 1.1 ryo break;
1872 1.1 ryo };
1873 1.1 ryo break;
1874 1.1 ryo /* sys_dup */
1875 1.1 ryo case 23:
1876 1.1 ryo switch(ndx) {
1877 1.1 ryo case 0:
1878 1.1 ryo p = "int";
1879 1.1 ryo break;
1880 1.1 ryo default:
1881 1.1 ryo break;
1882 1.1 ryo };
1883 1.1 ryo break;
1884 1.1 ryo /* linux_sys_dup3 */
1885 1.1 ryo case 24:
1886 1.1 ryo switch(ndx) {
1887 1.1 ryo case 0:
1888 1.1 ryo p = "int";
1889 1.1 ryo break;
1890 1.1 ryo case 1:
1891 1.1 ryo p = "int";
1892 1.1 ryo break;
1893 1.1 ryo case 2:
1894 1.1 ryo p = "int";
1895 1.1 ryo break;
1896 1.1 ryo default:
1897 1.1 ryo break;
1898 1.1 ryo };
1899 1.1 ryo break;
1900 1.1 ryo /* linux_sys_fcntl */
1901 1.1 ryo case 25:
1902 1.1 ryo switch(ndx) {
1903 1.1 ryo case 0:
1904 1.1 ryo p = "int";
1905 1.1 ryo break;
1906 1.1 ryo case 1:
1907 1.1 ryo p = "int";
1908 1.1 ryo break;
1909 1.1 ryo case 2:
1910 1.1 ryo p = "void *";
1911 1.1 ryo break;
1912 1.1 ryo default:
1913 1.1 ryo break;
1914 1.1 ryo };
1915 1.1 ryo break;
1916 1.1 ryo /* linux_sys_ioctl */
1917 1.1 ryo case 29:
1918 1.1 ryo switch(ndx) {
1919 1.1 ryo case 0:
1920 1.1 ryo p = "int";
1921 1.1 ryo break;
1922 1.1 ryo case 1:
1923 1.1 ryo p = "u_long";
1924 1.1 ryo break;
1925 1.1 ryo case 2:
1926 1.1 ryo p = "void *";
1927 1.1 ryo break;
1928 1.1 ryo default:
1929 1.1 ryo break;
1930 1.1 ryo };
1931 1.1 ryo break;
1932 1.1 ryo /* sys_flock */
1933 1.1 ryo case 32:
1934 1.1 ryo switch(ndx) {
1935 1.1 ryo case 0:
1936 1.1 ryo p = "int";
1937 1.1 ryo break;
1938 1.1 ryo case 1:
1939 1.1 ryo p = "int";
1940 1.1 ryo break;
1941 1.1 ryo default:
1942 1.1 ryo break;
1943 1.1 ryo };
1944 1.1 ryo break;
1945 1.1 ryo /* linux_sys_mknodat */
1946 1.1 ryo case 33:
1947 1.1 ryo switch(ndx) {
1948 1.1 ryo case 0:
1949 1.1 ryo p = "int";
1950 1.1 ryo break;
1951 1.1 ryo case 1:
1952 1.1 ryo p = "const char *";
1953 1.1 ryo break;
1954 1.1 ryo case 2:
1955 1.1 ryo p = "linux_umode_t";
1956 1.1 ryo break;
1957 1.1 ryo case 3:
1958 1.1 ryo p = "unsigned";
1959 1.1 ryo break;
1960 1.1 ryo default:
1961 1.1 ryo break;
1962 1.1 ryo };
1963 1.1 ryo break;
1964 1.1 ryo /* sys_mkdirat */
1965 1.1 ryo case 34:
1966 1.1 ryo switch(ndx) {
1967 1.1 ryo case 0:
1968 1.1 ryo p = "int";
1969 1.1 ryo break;
1970 1.1 ryo case 1:
1971 1.1 ryo p = "const char *";
1972 1.1 ryo break;
1973 1.1 ryo case 2:
1974 1.1 ryo p = "linux_umode_t";
1975 1.1 ryo break;
1976 1.1 ryo default:
1977 1.1 ryo break;
1978 1.1 ryo };
1979 1.1 ryo break;
1980 1.1 ryo /* linux_sys_unlinkat */
1981 1.1 ryo case 35:
1982 1.1 ryo switch(ndx) {
1983 1.1 ryo case 0:
1984 1.1 ryo p = "int";
1985 1.1 ryo break;
1986 1.1 ryo case 1:
1987 1.1 ryo p = "const char *";
1988 1.1 ryo break;
1989 1.1 ryo case 2:
1990 1.1 ryo p = "int";
1991 1.1 ryo break;
1992 1.1 ryo default:
1993 1.1 ryo break;
1994 1.1 ryo };
1995 1.1 ryo break;
1996 1.1 ryo /* sys_symlinkat */
1997 1.1 ryo case 36:
1998 1.1 ryo switch(ndx) {
1999 1.1 ryo case 0:
2000 1.1 ryo p = "const char *";
2001 1.1 ryo break;
2002 1.1 ryo case 1:
2003 1.1 ryo p = "int";
2004 1.1 ryo break;
2005 1.1 ryo case 2:
2006 1.1 ryo p = "const char *";
2007 1.1 ryo break;
2008 1.1 ryo default:
2009 1.1 ryo break;
2010 1.1 ryo };
2011 1.1 ryo break;
2012 1.1 ryo /* linux_sys_linkat */
2013 1.1 ryo case 37:
2014 1.1 ryo switch(ndx) {
2015 1.1 ryo case 0:
2016 1.1 ryo p = "int";
2017 1.1 ryo break;
2018 1.1 ryo case 1:
2019 1.1 ryo p = "const char *";
2020 1.1 ryo break;
2021 1.1 ryo case 2:
2022 1.1 ryo p = "int";
2023 1.1 ryo break;
2024 1.1 ryo case 3:
2025 1.1 ryo p = "const char *";
2026 1.1 ryo break;
2027 1.1 ryo case 4:
2028 1.1 ryo p = "int";
2029 1.1 ryo break;
2030 1.1 ryo default:
2031 1.1 ryo break;
2032 1.1 ryo };
2033 1.1 ryo break;
2034 1.1 ryo /* sys_renameat */
2035 1.1 ryo case 38:
2036 1.1 ryo switch(ndx) {
2037 1.1 ryo case 0:
2038 1.1 ryo p = "int";
2039 1.1 ryo break;
2040 1.1 ryo case 1:
2041 1.1 ryo p = "const char *";
2042 1.1 ryo break;
2043 1.1 ryo case 2:
2044 1.1 ryo p = "int";
2045 1.1 ryo break;
2046 1.1 ryo case 3:
2047 1.1 ryo p = "const char *";
2048 1.1 ryo break;
2049 1.1 ryo default:
2050 1.1 ryo break;
2051 1.1 ryo };
2052 1.1 ryo break;
2053 1.1 ryo /* linux_sys_statfs */
2054 1.1 ryo case 43:
2055 1.1 ryo switch(ndx) {
2056 1.1 ryo case 0:
2057 1.1 ryo p = "const char *";
2058 1.1 ryo break;
2059 1.1 ryo case 1:
2060 1.1 ryo p = "struct linux_statfs *";
2061 1.1 ryo break;
2062 1.1 ryo default:
2063 1.1 ryo break;
2064 1.1 ryo };
2065 1.1 ryo break;
2066 1.1 ryo /* linux_sys_fstatfs */
2067 1.1 ryo case 44:
2068 1.1 ryo switch(ndx) {
2069 1.1 ryo case 0:
2070 1.1 ryo p = "int";
2071 1.1 ryo break;
2072 1.1 ryo case 1:
2073 1.1 ryo p = "struct linux_statfs *";
2074 1.1 ryo break;
2075 1.1 ryo default:
2076 1.1 ryo break;
2077 1.1 ryo };
2078 1.1 ryo break;
2079 1.1 ryo /* linux_sys_truncate64 */
2080 1.1 ryo case 45:
2081 1.1 ryo switch(ndx) {
2082 1.1 ryo case 0:
2083 1.1 ryo p = "const char *";
2084 1.1 ryo break;
2085 1.1 ryo case 1:
2086 1.1 ryo p = "off_t";
2087 1.1 ryo break;
2088 1.1 ryo default:
2089 1.1 ryo break;
2090 1.1 ryo };
2091 1.1 ryo break;
2092 1.1 ryo /* linux_sys_ftruncate64 */
2093 1.1 ryo case 46:
2094 1.1 ryo switch(ndx) {
2095 1.1 ryo case 0:
2096 1.1 ryo p = "unsigned int";
2097 1.1 ryo break;
2098 1.1 ryo case 1:
2099 1.1 ryo p = "off_t";
2100 1.1 ryo break;
2101 1.1 ryo default:
2102 1.1 ryo break;
2103 1.1 ryo };
2104 1.1 ryo break;
2105 1.1 ryo /* linux_sys_fallocate */
2106 1.1 ryo case 47:
2107 1.1 ryo switch(ndx) {
2108 1.1 ryo case 0:
2109 1.1 ryo p = "int";
2110 1.1 ryo break;
2111 1.1 ryo case 1:
2112 1.1 ryo p = "int";
2113 1.1 ryo break;
2114 1.1 ryo case 2:
2115 1.1 ryo p = "off_t";
2116 1.1 ryo break;
2117 1.1 ryo case 3:
2118 1.1 ryo p = "off_t";
2119 1.1 ryo break;
2120 1.1 ryo default:
2121 1.1 ryo break;
2122 1.1 ryo };
2123 1.1 ryo break;
2124 1.1 ryo /* linux_sys_faccessat */
2125 1.1 ryo case 48:
2126 1.1 ryo switch(ndx) {
2127 1.1 ryo case 0:
2128 1.1 ryo p = "int";
2129 1.1 ryo break;
2130 1.1 ryo case 1:
2131 1.1 ryo p = "const char *";
2132 1.1 ryo break;
2133 1.1 ryo case 2:
2134 1.1 ryo p = "int";
2135 1.1 ryo break;
2136 1.1 ryo default:
2137 1.1 ryo break;
2138 1.1 ryo };
2139 1.1 ryo break;
2140 1.1 ryo /* sys_chdir */
2141 1.1 ryo case 49:
2142 1.1 ryo switch(ndx) {
2143 1.1 ryo case 0:
2144 1.1 ryo p = "const char *";
2145 1.1 ryo break;
2146 1.1 ryo default:
2147 1.1 ryo break;
2148 1.1 ryo };
2149 1.1 ryo break;
2150 1.1 ryo /* sys_fchdir */
2151 1.1 ryo case 50:
2152 1.1 ryo switch(ndx) {
2153 1.1 ryo case 0:
2154 1.1 ryo p = "int";
2155 1.1 ryo break;
2156 1.1 ryo default:
2157 1.1 ryo break;
2158 1.1 ryo };
2159 1.1 ryo break;
2160 1.1 ryo /* sys_chroot */
2161 1.1 ryo case 51:
2162 1.1 ryo switch(ndx) {
2163 1.1 ryo case 0:
2164 1.1 ryo p = "char *";
2165 1.1 ryo break;
2166 1.1 ryo default:
2167 1.1 ryo break;
2168 1.1 ryo };
2169 1.1 ryo break;
2170 1.1 ryo /* sys_fchmod */
2171 1.1 ryo case 52:
2172 1.1 ryo switch(ndx) {
2173 1.1 ryo case 0:
2174 1.1 ryo p = "int";
2175 1.1 ryo break;
2176 1.1 ryo case 1:
2177 1.1 ryo p = "linux_umode_t";
2178 1.1 ryo break;
2179 1.1 ryo default:
2180 1.1 ryo break;
2181 1.1 ryo };
2182 1.1 ryo break;
2183 1.1 ryo /* linux_sys_fchmodat */
2184 1.1 ryo case 53:
2185 1.1 ryo switch(ndx) {
2186 1.1 ryo case 0:
2187 1.1 ryo p = "int";
2188 1.1 ryo break;
2189 1.1 ryo case 1:
2190 1.1 ryo p = "const char *";
2191 1.1 ryo break;
2192 1.1 ryo case 2:
2193 1.1 ryo p = "linux_umode_t";
2194 1.1 ryo break;
2195 1.1 ryo default:
2196 1.1 ryo break;
2197 1.1 ryo };
2198 1.1 ryo break;
2199 1.1 ryo /* linux_sys_fchownat */
2200 1.1 ryo case 54:
2201 1.1 ryo switch(ndx) {
2202 1.1 ryo case 0:
2203 1.1 ryo p = "int";
2204 1.1 ryo break;
2205 1.1 ryo case 1:
2206 1.1 ryo p = "const char *";
2207 1.1 ryo break;
2208 1.1 ryo case 2:
2209 1.1 ryo p = "uid_t";
2210 1.1 ryo break;
2211 1.1 ryo case 3:
2212 1.1 ryo p = "gid_t";
2213 1.1 ryo break;
2214 1.1 ryo case 4:
2215 1.1 ryo p = "int";
2216 1.1 ryo break;
2217 1.1 ryo default:
2218 1.1 ryo break;
2219 1.1 ryo };
2220 1.1 ryo break;
2221 1.1 ryo /* sys___posix_fchown */
2222 1.1 ryo case 55:
2223 1.1 ryo switch(ndx) {
2224 1.1 ryo case 0:
2225 1.1 ryo p = "int";
2226 1.1 ryo break;
2227 1.1 ryo case 1:
2228 1.1 ryo p = "uid_t";
2229 1.1 ryo break;
2230 1.1 ryo case 2:
2231 1.1 ryo p = "gid_t";
2232 1.1 ryo break;
2233 1.1 ryo default:
2234 1.1 ryo break;
2235 1.1 ryo };
2236 1.1 ryo break;
2237 1.1 ryo /* linux_sys_openat */
2238 1.1 ryo case 56:
2239 1.1 ryo switch(ndx) {
2240 1.1 ryo case 0:
2241 1.1 ryo p = "int";
2242 1.1 ryo break;
2243 1.1 ryo case 1:
2244 1.1 ryo p = "const char *";
2245 1.1 ryo break;
2246 1.1 ryo case 2:
2247 1.1 ryo p = "int";
2248 1.1 ryo break;
2249 1.1 ryo case 3:
2250 1.1 ryo p = "linux_umode_t";
2251 1.1 ryo break;
2252 1.1 ryo default:
2253 1.1 ryo break;
2254 1.1 ryo };
2255 1.1 ryo break;
2256 1.1 ryo /* sys_close */
2257 1.1 ryo case 57:
2258 1.1 ryo switch(ndx) {
2259 1.1 ryo case 0:
2260 1.1 ryo p = "int";
2261 1.1 ryo break;
2262 1.1 ryo default:
2263 1.1 ryo break;
2264 1.1 ryo };
2265 1.1 ryo break;
2266 1.1 ryo /* linux_sys_pipe2 */
2267 1.1 ryo case 59:
2268 1.1 ryo switch(ndx) {
2269 1.1 ryo case 0:
2270 1.1 ryo p = "int *";
2271 1.1 ryo break;
2272 1.1 ryo case 1:
2273 1.1 ryo p = "int";
2274 1.1 ryo break;
2275 1.1 ryo default:
2276 1.1 ryo break;
2277 1.1 ryo };
2278 1.1 ryo break;
2279 1.1 ryo /* linux_sys_getdents64 */
2280 1.1 ryo case 61:
2281 1.1 ryo switch(ndx) {
2282 1.1 ryo case 0:
2283 1.1 ryo p = "int";
2284 1.1 ryo break;
2285 1.1 ryo case 1:
2286 1.1 ryo p = "struct linux_dirent64 *";
2287 1.1 ryo break;
2288 1.1 ryo case 2:
2289 1.1 ryo p = "unsigned int";
2290 1.1 ryo break;
2291 1.1 ryo default:
2292 1.1 ryo break;
2293 1.1 ryo };
2294 1.1 ryo break;
2295 1.1 ryo /* compat_43_sys_lseek */
2296 1.1 ryo case 62:
2297 1.1 ryo switch(ndx) {
2298 1.1 ryo case 0:
2299 1.1 ryo p = "int";
2300 1.1 ryo break;
2301 1.1 ryo case 1:
2302 1.1 ryo p = "long";
2303 1.1 ryo break;
2304 1.1 ryo case 2:
2305 1.1 ryo p = "int";
2306 1.1 ryo break;
2307 1.1 ryo default:
2308 1.1 ryo break;
2309 1.1 ryo };
2310 1.1 ryo break;
2311 1.1 ryo /* sys_read */
2312 1.1 ryo case 63:
2313 1.1 ryo switch(ndx) {
2314 1.1 ryo case 0:
2315 1.1 ryo p = "int";
2316 1.1 ryo break;
2317 1.1 ryo case 1:
2318 1.1 ryo p = "void *";
2319 1.1 ryo break;
2320 1.1 ryo case 2:
2321 1.1 ryo p = "size_t";
2322 1.1 ryo break;
2323 1.1 ryo default:
2324 1.1 ryo break;
2325 1.1 ryo };
2326 1.1 ryo break;
2327 1.1 ryo /* sys_write */
2328 1.1 ryo case 64:
2329 1.1 ryo switch(ndx) {
2330 1.1 ryo case 0:
2331 1.1 ryo p = "int";
2332 1.1 ryo break;
2333 1.1 ryo case 1:
2334 1.1 ryo p = "const void *";
2335 1.1 ryo break;
2336 1.1 ryo case 2:
2337 1.1 ryo p = "size_t";
2338 1.1 ryo break;
2339 1.1 ryo default:
2340 1.1 ryo break;
2341 1.1 ryo };
2342 1.1 ryo break;
2343 1.1 ryo /* sys_readv */
2344 1.1 ryo case 65:
2345 1.1 ryo switch(ndx) {
2346 1.1 ryo case 0:
2347 1.1 ryo p = "int";
2348 1.1 ryo break;
2349 1.1 ryo case 1:
2350 1.1 ryo p = "const struct iovec *";
2351 1.1 ryo break;
2352 1.1 ryo case 2:
2353 1.1 ryo p = "int";
2354 1.1 ryo break;
2355 1.1 ryo default:
2356 1.1 ryo break;
2357 1.1 ryo };
2358 1.1 ryo break;
2359 1.1 ryo /* sys_writev */
2360 1.1 ryo case 66:
2361 1.1 ryo switch(ndx) {
2362 1.1 ryo case 0:
2363 1.1 ryo p = "int";
2364 1.1 ryo break;
2365 1.1 ryo case 1:
2366 1.1 ryo p = "const struct iovec *";
2367 1.1 ryo break;
2368 1.1 ryo case 2:
2369 1.1 ryo p = "int";
2370 1.1 ryo break;
2371 1.1 ryo default:
2372 1.1 ryo break;
2373 1.1 ryo };
2374 1.1 ryo break;
2375 1.1 ryo /* linux_sys_pread */
2376 1.1 ryo case 67:
2377 1.1 ryo switch(ndx) {
2378 1.1 ryo case 0:
2379 1.1 ryo p = "int";
2380 1.1 ryo break;
2381 1.1 ryo case 1:
2382 1.1 ryo p = "char *";
2383 1.1 ryo break;
2384 1.1 ryo case 2:
2385 1.1 ryo p = "size_t";
2386 1.1 ryo break;
2387 1.1 ryo case 3:
2388 1.1 ryo p = "off_t";
2389 1.1 ryo break;
2390 1.1 ryo default:
2391 1.1 ryo break;
2392 1.1 ryo };
2393 1.1 ryo break;
2394 1.1 ryo /* linux_sys_pwrite */
2395 1.1 ryo case 68:
2396 1.1 ryo switch(ndx) {
2397 1.1 ryo case 0:
2398 1.1 ryo p = "int";
2399 1.1 ryo break;
2400 1.1 ryo case 1:
2401 1.1 ryo p = "char *";
2402 1.1 ryo break;
2403 1.1 ryo case 2:
2404 1.1 ryo p = "size_t";
2405 1.1 ryo break;
2406 1.1 ryo case 3:
2407 1.1 ryo p = "off_t";
2408 1.1 ryo break;
2409 1.1 ryo default:
2410 1.1 ryo break;
2411 1.1 ryo };
2412 1.1 ryo break;
2413 1.1 ryo /* linux_sys_preadv */
2414 1.1 ryo case 69:
2415 1.1 ryo switch(ndx) {
2416 1.1 ryo case 0:
2417 1.1 ryo p = "int";
2418 1.1 ryo break;
2419 1.1 ryo case 1:
2420 1.1 ryo p = "const struct iovec *";
2421 1.1 ryo break;
2422 1.1 ryo case 2:
2423 1.1 ryo p = "int";
2424 1.1 ryo break;
2425 1.1 ryo case 3:
2426 1.1 ryo p = "unsigned long";
2427 1.1 ryo break;
2428 1.1 ryo case 4:
2429 1.1 ryo p = "unsigned long";
2430 1.1 ryo break;
2431 1.1 ryo default:
2432 1.1 ryo break;
2433 1.1 ryo };
2434 1.1 ryo break;
2435 1.1 ryo /* linux_sys_pwritev */
2436 1.1 ryo case 70:
2437 1.1 ryo switch(ndx) {
2438 1.1 ryo case 0:
2439 1.1 ryo p = "int";
2440 1.1 ryo break;
2441 1.1 ryo case 1:
2442 1.1 ryo p = "const struct iovcnt *";
2443 1.1 ryo break;
2444 1.1 ryo case 2:
2445 1.1 ryo p = "int";
2446 1.1 ryo break;
2447 1.1 ryo case 3:
2448 1.1 ryo p = "unsigned long";
2449 1.1 ryo break;
2450 1.1 ryo case 4:
2451 1.1 ryo p = "unsigned long";
2452 1.1 ryo break;
2453 1.1 ryo default:
2454 1.1 ryo break;
2455 1.1 ryo };
2456 1.1 ryo break;
2457 1.1 ryo /* linux_sys_pselect6 */
2458 1.1 ryo case 72:
2459 1.1 ryo switch(ndx) {
2460 1.1 ryo case 0:
2461 1.1 ryo p = "int";
2462 1.1 ryo break;
2463 1.1 ryo case 1:
2464 1.1 ryo p = "fd_set *";
2465 1.1 ryo break;
2466 1.1 ryo case 2:
2467 1.1 ryo p = "fd_set *";
2468 1.1 ryo break;
2469 1.1 ryo case 3:
2470 1.1 ryo p = "fd_set *";
2471 1.1 ryo break;
2472 1.1 ryo case 4:
2473 1.1 ryo p = "struct linux_timespec *";
2474 1.1 ryo break;
2475 1.1 ryo case 5:
2476 1.1 ryo p = "linux_sized_sigset_t *";
2477 1.1 ryo break;
2478 1.1 ryo default:
2479 1.1 ryo break;
2480 1.1 ryo };
2481 1.1 ryo break;
2482 1.1 ryo /* linux_sys_ppoll */
2483 1.1 ryo case 73:
2484 1.1 ryo switch(ndx) {
2485 1.1 ryo case 0:
2486 1.1 ryo p = "struct pollfd *";
2487 1.1 ryo break;
2488 1.1 ryo case 1:
2489 1.1 ryo p = "u_int";
2490 1.1 ryo break;
2491 1.1 ryo case 2:
2492 1.1 ryo p = "struct linux_timespec *";
2493 1.1 ryo break;
2494 1.1 ryo case 3:
2495 1.1 ryo p = "linux_sigset_t *";
2496 1.1 ryo break;
2497 1.1 ryo default:
2498 1.1 ryo break;
2499 1.1 ryo };
2500 1.1 ryo break;
2501 1.1 ryo /* sys_readlinkat */
2502 1.1 ryo case 78:
2503 1.1 ryo switch(ndx) {
2504 1.1 ryo case 0:
2505 1.1 ryo p = "int";
2506 1.1 ryo break;
2507 1.1 ryo case 1:
2508 1.1 ryo p = "const char *";
2509 1.1 ryo break;
2510 1.1 ryo case 2:
2511 1.1 ryo p = "char *";
2512 1.1 ryo break;
2513 1.1 ryo case 3:
2514 1.1 ryo p = "size_t";
2515 1.1 ryo break;
2516 1.1 ryo default:
2517 1.1 ryo break;
2518 1.1 ryo };
2519 1.1 ryo break;
2520 1.1 ryo /* linux_sys_fstatat64 */
2521 1.1 ryo case 79:
2522 1.1 ryo switch(ndx) {
2523 1.1 ryo case 0:
2524 1.1 ryo p = "int";
2525 1.1 ryo break;
2526 1.1 ryo case 1:
2527 1.1 ryo p = "const char *";
2528 1.1 ryo break;
2529 1.1 ryo case 2:
2530 1.1 ryo p = "struct linux_stat *";
2531 1.1 ryo break;
2532 1.1 ryo case 3:
2533 1.1 ryo p = "int";
2534 1.1 ryo break;
2535 1.1 ryo default:
2536 1.1 ryo break;
2537 1.1 ryo };
2538 1.1 ryo break;
2539 1.1 ryo /* linux_sys_fstat64 */
2540 1.1 ryo case 80:
2541 1.1 ryo switch(ndx) {
2542 1.1 ryo case 0:
2543 1.1 ryo p = "int";
2544 1.1 ryo break;
2545 1.1 ryo case 1:
2546 1.1 ryo p = "struct linux_stat *";
2547 1.1 ryo break;
2548 1.1 ryo default:
2549 1.1 ryo break;
2550 1.1 ryo };
2551 1.1 ryo break;
2552 1.1 ryo /* sys_sync */
2553 1.1 ryo case 81:
2554 1.1 ryo break;
2555 1.1 ryo /* sys_fsync */
2556 1.1 ryo case 82:
2557 1.1 ryo switch(ndx) {
2558 1.1 ryo case 0:
2559 1.1 ryo p = "int";
2560 1.1 ryo break;
2561 1.1 ryo default:
2562 1.1 ryo break;
2563 1.1 ryo };
2564 1.1 ryo break;
2565 1.1 ryo /* linux_sys_fdatasync */
2566 1.1 ryo case 83:
2567 1.1 ryo switch(ndx) {
2568 1.1 ryo case 0:
2569 1.1 ryo p = "int";
2570 1.1 ryo break;
2571 1.1 ryo default:
2572 1.1 ryo break;
2573 1.1 ryo };
2574 1.1 ryo break;
2575 1.1 ryo /* linux_sys_timerfd_create */
2576 1.1 ryo case 85:
2577 1.1 ryo switch(ndx) {
2578 1.1 ryo case 0:
2579 1.1 ryo p = "clockid_t";
2580 1.1 ryo break;
2581 1.1 ryo case 1:
2582 1.1 ryo p = "int";
2583 1.1 ryo break;
2584 1.1 ryo default:
2585 1.1 ryo break;
2586 1.1 ryo };
2587 1.1 ryo break;
2588 1.1 ryo /* linux_sys_timerfd_settime */
2589 1.1 ryo case 86:
2590 1.1 ryo switch(ndx) {
2591 1.1 ryo case 0:
2592 1.1 ryo p = "int";
2593 1.1 ryo break;
2594 1.1 ryo case 1:
2595 1.1 ryo p = "int";
2596 1.1 ryo break;
2597 1.1 ryo case 2:
2598 1.1 ryo p = "const struct linux_itimerspec *";
2599 1.1 ryo break;
2600 1.1 ryo case 3:
2601 1.1 ryo p = "struct linux_itimerspec *";
2602 1.1 ryo break;
2603 1.1 ryo default:
2604 1.1 ryo break;
2605 1.1 ryo };
2606 1.1 ryo break;
2607 1.1 ryo /* linux_sys_timerfd_gettime */
2608 1.1 ryo case 87:
2609 1.1 ryo switch(ndx) {
2610 1.1 ryo case 0:
2611 1.1 ryo p = "int";
2612 1.1 ryo break;
2613 1.1 ryo case 1:
2614 1.1 ryo p = "struct linux_itimerspec *";
2615 1.1 ryo break;
2616 1.1 ryo default:
2617 1.1 ryo break;
2618 1.1 ryo };
2619 1.1 ryo break;
2620 1.1 ryo /* linux_sys_utimensat */
2621 1.1 ryo case 88:
2622 1.1 ryo switch(ndx) {
2623 1.1 ryo case 0:
2624 1.1 ryo p = "int";
2625 1.1 ryo break;
2626 1.1 ryo case 1:
2627 1.1 ryo p = "const char *";
2628 1.1 ryo break;
2629 1.1 ryo case 2:
2630 1.1 ryo p = "struct linux_timespec *";
2631 1.1 ryo break;
2632 1.1 ryo case 3:
2633 1.1 ryo p = "int";
2634 1.1 ryo break;
2635 1.1 ryo default:
2636 1.1 ryo break;
2637 1.1 ryo };
2638 1.1 ryo break;
2639 1.1 ryo /* sys_acct */
2640 1.1 ryo case 89:
2641 1.1 ryo switch(ndx) {
2642 1.1 ryo case 0:
2643 1.1 ryo p = "char *";
2644 1.1 ryo break;
2645 1.1 ryo default:
2646 1.1 ryo break;
2647 1.1 ryo };
2648 1.1 ryo break;
2649 1.1 ryo /* linux_sys_personality */
2650 1.1 ryo case 92:
2651 1.1 ryo switch(ndx) {
2652 1.1 ryo case 0:
2653 1.1 ryo p = "unsigned long";
2654 1.1 ryo break;
2655 1.1 ryo default:
2656 1.1 ryo break;
2657 1.1 ryo };
2658 1.1 ryo break;
2659 1.1 ryo /* linux_sys_exit */
2660 1.1 ryo case 93:
2661 1.1 ryo switch(ndx) {
2662 1.1 ryo case 0:
2663 1.1 ryo p = "int";
2664 1.1 ryo break;
2665 1.1 ryo default:
2666 1.1 ryo break;
2667 1.1 ryo };
2668 1.1 ryo break;
2669 1.1 ryo /* linux_sys_exit_group */
2670 1.1 ryo case 94:
2671 1.1 ryo switch(ndx) {
2672 1.1 ryo case 0:
2673 1.1 ryo p = "int";
2674 1.1 ryo break;
2675 1.1 ryo default:
2676 1.1 ryo break;
2677 1.1 ryo };
2678 1.1 ryo break;
2679 1.1 ryo /* linux_sys_set_tid_address */
2680 1.1 ryo case 96:
2681 1.1 ryo switch(ndx) {
2682 1.1 ryo case 0:
2683 1.1 ryo p = "int *";
2684 1.1 ryo break;
2685 1.1 ryo default:
2686 1.1 ryo break;
2687 1.1 ryo };
2688 1.1 ryo break;
2689 1.1 ryo /* linux_sys_futex */
2690 1.1 ryo case 98:
2691 1.1 ryo switch(ndx) {
2692 1.1 ryo case 0:
2693 1.1 ryo p = "int *";
2694 1.1 ryo break;
2695 1.1 ryo case 1:
2696 1.1 ryo p = "int";
2697 1.1 ryo break;
2698 1.1 ryo case 2:
2699 1.1 ryo p = "int";
2700 1.1 ryo break;
2701 1.1 ryo case 3:
2702 1.1 ryo p = "const struct linux_timespec *";
2703 1.1 ryo break;
2704 1.1 ryo case 4:
2705 1.1 ryo p = "int *";
2706 1.1 ryo break;
2707 1.1 ryo case 5:
2708 1.1 ryo p = "int";
2709 1.1 ryo break;
2710 1.1 ryo default:
2711 1.1 ryo break;
2712 1.1 ryo };
2713 1.1 ryo break;
2714 1.1 ryo /* sys___futex_set_robust_list */
2715 1.1 ryo case 99:
2716 1.1 ryo switch(ndx) {
2717 1.1 ryo case 0:
2718 1.1 ryo p = "void *";
2719 1.1 ryo break;
2720 1.1 ryo case 1:
2721 1.1 ryo p = "size_t";
2722 1.1 ryo break;
2723 1.1 ryo default:
2724 1.1 ryo break;
2725 1.1 ryo };
2726 1.1 ryo break;
2727 1.1 ryo /* sys___futex_get_robust_list */
2728 1.1 ryo case 100:
2729 1.1 ryo switch(ndx) {
2730 1.1 ryo case 0:
2731 1.1 ryo p = "lwpid_t";
2732 1.1 ryo break;
2733 1.1 ryo case 1:
2734 1.1 ryo p = "void **";
2735 1.1 ryo break;
2736 1.1 ryo case 2:
2737 1.1 ryo p = "size_t *";
2738 1.1 ryo break;
2739 1.1 ryo default:
2740 1.1 ryo break;
2741 1.1 ryo };
2742 1.1 ryo break;
2743 1.1 ryo /* linux_sys_nanosleep */
2744 1.1 ryo case 101:
2745 1.1 ryo switch(ndx) {
2746 1.1 ryo case 0:
2747 1.1 ryo p = "const struct linux_timespec *";
2748 1.1 ryo break;
2749 1.1 ryo case 1:
2750 1.1 ryo p = "struct linux_timespec *";
2751 1.1 ryo break;
2752 1.1 ryo default:
2753 1.1 ryo break;
2754 1.1 ryo };
2755 1.1 ryo break;
2756 1.1 ryo /* compat_50_sys_getitimer */
2757 1.1 ryo case 102:
2758 1.1 ryo switch(ndx) {
2759 1.1 ryo case 0:
2760 1.1 ryo p = "int";
2761 1.1 ryo break;
2762 1.1 ryo case 1:
2763 1.1 ryo p = "struct itimerval50 *";
2764 1.1 ryo break;
2765 1.1 ryo default:
2766 1.1 ryo break;
2767 1.1 ryo };
2768 1.1 ryo break;
2769 1.1 ryo /* compat_50_sys_setitimer */
2770 1.1 ryo case 103:
2771 1.1 ryo switch(ndx) {
2772 1.1 ryo case 0:
2773 1.1 ryo p = "int";
2774 1.1 ryo break;
2775 1.1 ryo case 1:
2776 1.1 ryo p = "struct itimerval50 *";
2777 1.1 ryo break;
2778 1.1 ryo case 2:
2779 1.1 ryo p = "struct itimerval50 *";
2780 1.1 ryo break;
2781 1.1 ryo default:
2782 1.1 ryo break;
2783 1.1 ryo };
2784 1.1 ryo break;
2785 1.1 ryo /* linux_sys_timer_create */
2786 1.1 ryo case 107:
2787 1.1 ryo switch(ndx) {
2788 1.1 ryo case 0:
2789 1.1 ryo p = "clockid_t";
2790 1.1 ryo break;
2791 1.1 ryo case 1:
2792 1.1 ryo p = "struct linux_sigevent *";
2793 1.1 ryo break;
2794 1.1 ryo case 2:
2795 1.1 ryo p = "timer_t *";
2796 1.1 ryo break;
2797 1.1 ryo default:
2798 1.1 ryo break;
2799 1.1 ryo };
2800 1.1 ryo break;
2801 1.1 ryo /* linux_sys_timer_gettime */
2802 1.1 ryo case 108:
2803 1.1 ryo switch(ndx) {
2804 1.1 ryo case 0:
2805 1.1 ryo p = "timer_t";
2806 1.1 ryo break;
2807 1.1 ryo case 1:
2808 1.1 ryo p = "struct linux_itimerspec *";
2809 1.1 ryo break;
2810 1.1 ryo default:
2811 1.1 ryo break;
2812 1.1 ryo };
2813 1.1 ryo break;
2814 1.1 ryo /* sys_timer_getoverrun */
2815 1.1 ryo case 109:
2816 1.1 ryo switch(ndx) {
2817 1.1 ryo case 0:
2818 1.1 ryo p = "timer_t";
2819 1.1 ryo break;
2820 1.1 ryo default:
2821 1.1 ryo break;
2822 1.1 ryo };
2823 1.1 ryo break;
2824 1.1 ryo /* linux_sys_timer_settime */
2825 1.1 ryo case 110:
2826 1.1 ryo switch(ndx) {
2827 1.1 ryo case 0:
2828 1.1 ryo p = "timer_t";
2829 1.1 ryo break;
2830 1.1 ryo case 1:
2831 1.1 ryo p = "int";
2832 1.1 ryo break;
2833 1.1 ryo case 2:
2834 1.1 ryo p = "const struct linux_itimerspec *";
2835 1.1 ryo break;
2836 1.1 ryo case 3:
2837 1.1 ryo p = "struct linux_itimerspec *";
2838 1.1 ryo break;
2839 1.1 ryo default:
2840 1.1 ryo break;
2841 1.1 ryo };
2842 1.1 ryo break;
2843 1.1 ryo /* sys_timer_delete */
2844 1.1 ryo case 111:
2845 1.1 ryo switch(ndx) {
2846 1.1 ryo case 0:
2847 1.1 ryo p = "timer_t";
2848 1.1 ryo break;
2849 1.1 ryo default:
2850 1.1 ryo break;
2851 1.1 ryo };
2852 1.1 ryo break;
2853 1.1 ryo /* linux_sys_clock_settime */
2854 1.1 ryo case 112:
2855 1.1 ryo switch(ndx) {
2856 1.1 ryo case 0:
2857 1.1 ryo p = "clockid_t";
2858 1.1 ryo break;
2859 1.1 ryo case 1:
2860 1.1 ryo p = "struct linux_timespec *";
2861 1.1 ryo break;
2862 1.1 ryo default:
2863 1.1 ryo break;
2864 1.1 ryo };
2865 1.1 ryo break;
2866 1.1 ryo /* linux_sys_clock_gettime */
2867 1.1 ryo case 113:
2868 1.1 ryo switch(ndx) {
2869 1.1 ryo case 0:
2870 1.1 ryo p = "clockid_t";
2871 1.1 ryo break;
2872 1.1 ryo case 1:
2873 1.1 ryo p = "struct linux_timespec *";
2874 1.1 ryo break;
2875 1.1 ryo default:
2876 1.1 ryo break;
2877 1.1 ryo };
2878 1.1 ryo break;
2879 1.1 ryo /* linux_sys_clock_getres */
2880 1.1 ryo case 114:
2881 1.1 ryo switch(ndx) {
2882 1.1 ryo case 0:
2883 1.1 ryo p = "clockid_t";
2884 1.1 ryo break;
2885 1.1 ryo case 1:
2886 1.1 ryo p = "struct linux_timespec *";
2887 1.1 ryo break;
2888 1.1 ryo default:
2889 1.1 ryo break;
2890 1.1 ryo };
2891 1.1 ryo break;
2892 1.1 ryo /* linux_sys_clock_nanosleep */
2893 1.1 ryo case 115:
2894 1.1 ryo switch(ndx) {
2895 1.1 ryo case 0:
2896 1.1 ryo p = "clockid_t";
2897 1.1 ryo break;
2898 1.1 ryo case 1:
2899 1.1 ryo p = "int";
2900 1.1 ryo break;
2901 1.1 ryo case 2:
2902 1.1 ryo p = "struct linux_timespec *";
2903 1.1 ryo break;
2904 1.1 ryo case 3:
2905 1.1 ryo p = "struct linux_timespec *";
2906 1.1 ryo break;
2907 1.1 ryo default:
2908 1.1 ryo break;
2909 1.1 ryo };
2910 1.1 ryo break;
2911 1.1 ryo /* linux_sys_ptrace */
2912 1.1 ryo case 117:
2913 1.1 ryo switch(ndx) {
2914 1.1 ryo case 0:
2915 1.1 ryo p = "long";
2916 1.1 ryo break;
2917 1.1 ryo case 1:
2918 1.1 ryo p = "long";
2919 1.1 ryo break;
2920 1.1 ryo case 2:
2921 1.1 ryo p = "long";
2922 1.1 ryo break;
2923 1.1 ryo case 3:
2924 1.1 ryo p = "long";
2925 1.1 ryo break;
2926 1.1 ryo default:
2927 1.1 ryo break;
2928 1.1 ryo };
2929 1.1 ryo break;
2930 1.1 ryo /* linux_sys_sched_setparam */
2931 1.1 ryo case 118:
2932 1.1 ryo switch(ndx) {
2933 1.1 ryo case 0:
2934 1.1 ryo p = "pid_t";
2935 1.1 ryo break;
2936 1.1 ryo case 1:
2937 1.1 ryo p = "const struct linux_sched_param *";
2938 1.1 ryo break;
2939 1.1 ryo default:
2940 1.1 ryo break;
2941 1.1 ryo };
2942 1.1 ryo break;
2943 1.1 ryo /* linux_sys_sched_setscheduler */
2944 1.1 ryo case 119:
2945 1.1 ryo switch(ndx) {
2946 1.1 ryo case 0:
2947 1.1 ryo p = "pid_t";
2948 1.1 ryo break;
2949 1.1 ryo case 1:
2950 1.1 ryo p = "int";
2951 1.1 ryo break;
2952 1.1 ryo case 2:
2953 1.1 ryo p = "const struct linux_sched_param *";
2954 1.1 ryo break;
2955 1.1 ryo default:
2956 1.1 ryo break;
2957 1.1 ryo };
2958 1.1 ryo break;
2959 1.1 ryo /* linux_sys_sched_getscheduler */
2960 1.1 ryo case 120:
2961 1.1 ryo switch(ndx) {
2962 1.1 ryo case 0:
2963 1.1 ryo p = "pid_t";
2964 1.1 ryo break;
2965 1.1 ryo default:
2966 1.1 ryo break;
2967 1.1 ryo };
2968 1.1 ryo break;
2969 1.1 ryo /* linux_sys_sched_getparam */
2970 1.1 ryo case 121:
2971 1.1 ryo switch(ndx) {
2972 1.1 ryo case 0:
2973 1.1 ryo p = "pid_t";
2974 1.1 ryo break;
2975 1.1 ryo case 1:
2976 1.1 ryo p = "struct linux_sched_param *";
2977 1.1 ryo break;
2978 1.1 ryo default:
2979 1.1 ryo break;
2980 1.1 ryo };
2981 1.1 ryo break;
2982 1.1 ryo /* linux_sys_sched_setaffinity */
2983 1.1 ryo case 122:
2984 1.1 ryo switch(ndx) {
2985 1.1 ryo case 0:
2986 1.1 ryo p = "pid_t";
2987 1.1 ryo break;
2988 1.1 ryo case 1:
2989 1.1 ryo p = "unsigned int";
2990 1.1 ryo break;
2991 1.1 ryo case 2:
2992 1.1 ryo p = "unsigned long *";
2993 1.1 ryo break;
2994 1.1 ryo default:
2995 1.1 ryo break;
2996 1.1 ryo };
2997 1.1 ryo break;
2998 1.1 ryo /* linux_sys_sched_getaffinity */
2999 1.1 ryo case 123:
3000 1.1 ryo switch(ndx) {
3001 1.1 ryo case 0:
3002 1.1 ryo p = "pid_t";
3003 1.1 ryo break;
3004 1.1 ryo case 1:
3005 1.1 ryo p = "unsigned int";
3006 1.1 ryo break;
3007 1.1 ryo case 2:
3008 1.1 ryo p = "unsigned long *";
3009 1.1 ryo break;
3010 1.1 ryo default:
3011 1.1 ryo break;
3012 1.1 ryo };
3013 1.1 ryo break;
3014 1.1 ryo /* linux_sys_sched_yield */
3015 1.1 ryo case 124:
3016 1.1 ryo break;
3017 1.1 ryo /* linux_sys_sched_get_priority_max */
3018 1.1 ryo case 125:
3019 1.1 ryo switch(ndx) {
3020 1.1 ryo case 0:
3021 1.1 ryo p = "int";
3022 1.1 ryo break;
3023 1.1 ryo default:
3024 1.1 ryo break;
3025 1.1 ryo };
3026 1.1 ryo break;
3027 1.1 ryo /* linux_sys_sched_get_priority_min */
3028 1.1 ryo case 126:
3029 1.1 ryo switch(ndx) {
3030 1.1 ryo case 0:
3031 1.1 ryo p = "int";
3032 1.1 ryo break;
3033 1.1 ryo default:
3034 1.1 ryo break;
3035 1.1 ryo };
3036 1.1 ryo break;
3037 1.1 ryo /* linux_sys_kill */
3038 1.1 ryo case 129:
3039 1.1 ryo switch(ndx) {
3040 1.1 ryo case 0:
3041 1.1 ryo p = "int";
3042 1.1 ryo break;
3043 1.1 ryo case 1:
3044 1.1 ryo p = "int";
3045 1.1 ryo break;
3046 1.1 ryo default:
3047 1.1 ryo break;
3048 1.1 ryo };
3049 1.1 ryo break;
3050 1.1 ryo /* linux_sys_tkill */
3051 1.1 ryo case 130:
3052 1.1 ryo switch(ndx) {
3053 1.1 ryo case 0:
3054 1.1 ryo p = "int";
3055 1.1 ryo break;
3056 1.1 ryo case 1:
3057 1.1 ryo p = "int";
3058 1.1 ryo break;
3059 1.1 ryo default:
3060 1.1 ryo break;
3061 1.1 ryo };
3062 1.1 ryo break;
3063 1.1 ryo /* linux_sys_tgkill */
3064 1.1 ryo case 131:
3065 1.1 ryo switch(ndx) {
3066 1.1 ryo case 0:
3067 1.1 ryo p = "int";
3068 1.1 ryo break;
3069 1.1 ryo case 1:
3070 1.1 ryo p = "int";
3071 1.1 ryo break;
3072 1.1 ryo case 2:
3073 1.1 ryo p = "int";
3074 1.1 ryo break;
3075 1.1 ryo default:
3076 1.1 ryo break;
3077 1.1 ryo };
3078 1.1 ryo break;
3079 1.1 ryo /* linux_sys_sigaltstack */
3080 1.1 ryo case 132:
3081 1.1 ryo switch(ndx) {
3082 1.1 ryo case 0:
3083 1.1 ryo p = "const struct linux_sigaltstack *";
3084 1.1 ryo break;
3085 1.1 ryo case 1:
3086 1.1 ryo p = "struct linux_sigaltstack *";
3087 1.1 ryo break;
3088 1.1 ryo default:
3089 1.1 ryo break;
3090 1.1 ryo };
3091 1.1 ryo break;
3092 1.1 ryo /* linux_sys_rt_sigsuspend */
3093 1.1 ryo case 133:
3094 1.1 ryo switch(ndx) {
3095 1.1 ryo case 0:
3096 1.1 ryo p = "linux_sigset_t *";
3097 1.1 ryo break;
3098 1.1 ryo case 1:
3099 1.1 ryo p = "size_t";
3100 1.1 ryo break;
3101 1.1 ryo default:
3102 1.1 ryo break;
3103 1.1 ryo };
3104 1.1 ryo break;
3105 1.1 ryo /* linux_sys_rt_sigaction */
3106 1.1 ryo case 134:
3107 1.1 ryo switch(ndx) {
3108 1.1 ryo case 0:
3109 1.1 ryo p = "int";
3110 1.1 ryo break;
3111 1.1 ryo case 1:
3112 1.1 ryo p = "const struct linux_sigaction *";
3113 1.1 ryo break;
3114 1.1 ryo case 2:
3115 1.1 ryo p = "struct linux_sigaction *";
3116 1.1 ryo break;
3117 1.1 ryo case 3:
3118 1.1 ryo p = "size_t";
3119 1.1 ryo break;
3120 1.1 ryo default:
3121 1.1 ryo break;
3122 1.1 ryo };
3123 1.1 ryo break;
3124 1.1 ryo /* linux_sys_rt_sigprocmask */
3125 1.1 ryo case 135:
3126 1.1 ryo switch(ndx) {
3127 1.1 ryo case 0:
3128 1.1 ryo p = "int";
3129 1.1 ryo break;
3130 1.1 ryo case 1:
3131 1.1 ryo p = "const linux_sigset_t *";
3132 1.1 ryo break;
3133 1.1 ryo case 2:
3134 1.1 ryo p = "linux_sigset_t *";
3135 1.1 ryo break;
3136 1.1 ryo case 3:
3137 1.1 ryo p = "size_t";
3138 1.1 ryo break;
3139 1.1 ryo default:
3140 1.1 ryo break;
3141 1.1 ryo };
3142 1.1 ryo break;
3143 1.1 ryo /* linux_sys_rt_sigpending */
3144 1.1 ryo case 136:
3145 1.1 ryo switch(ndx) {
3146 1.1 ryo case 0:
3147 1.1 ryo p = "linux_sigset_t *";
3148 1.1 ryo break;
3149 1.1 ryo case 1:
3150 1.1 ryo p = "size_t";
3151 1.1 ryo break;
3152 1.1 ryo default:
3153 1.1 ryo break;
3154 1.1 ryo };
3155 1.1 ryo break;
3156 1.1 ryo /* linux_sys_rt_sigtimedwait */
3157 1.1 ryo case 137:
3158 1.1 ryo switch(ndx) {
3159 1.1 ryo case 0:
3160 1.1 ryo p = "const linux_sigset_t *";
3161 1.1 ryo break;
3162 1.1 ryo case 1:
3163 1.1 ryo p = "linux_siginfo_t *";
3164 1.1 ryo break;
3165 1.1 ryo case 2:
3166 1.1 ryo p = "const struct linux_timespec *";
3167 1.1 ryo break;
3168 1.1 ryo default:
3169 1.1 ryo break;
3170 1.1 ryo };
3171 1.1 ryo break;
3172 1.1 ryo /* linux_sys_rt_sigreturn */
3173 1.1 ryo case 139:
3174 1.1 ryo break;
3175 1.1 ryo /* sys_setpriority */
3176 1.1 ryo case 140:
3177 1.1 ryo switch(ndx) {
3178 1.1 ryo case 0:
3179 1.1 ryo p = "int";
3180 1.1 ryo break;
3181 1.1 ryo case 1:
3182 1.1 ryo p = "int";
3183 1.1 ryo break;
3184 1.1 ryo case 2:
3185 1.1 ryo p = "int";
3186 1.1 ryo break;
3187 1.1 ryo default:
3188 1.1 ryo break;
3189 1.1 ryo };
3190 1.1 ryo break;
3191 1.1 ryo /* linux_sys_getpriority */
3192 1.1 ryo case 141:
3193 1.1 ryo switch(ndx) {
3194 1.1 ryo case 0:
3195 1.1 ryo p = "int";
3196 1.1 ryo break;
3197 1.1 ryo case 1:
3198 1.1 ryo p = "int";
3199 1.1 ryo break;
3200 1.1 ryo default:
3201 1.1 ryo break;
3202 1.1 ryo };
3203 1.1 ryo break;
3204 1.1 ryo /* linux_sys_reboot */
3205 1.1 ryo case 142:
3206 1.1 ryo switch(ndx) {
3207 1.1 ryo case 0:
3208 1.1 ryo p = "int";
3209 1.1 ryo break;
3210 1.1 ryo case 1:
3211 1.1 ryo p = "int";
3212 1.1 ryo break;
3213 1.1 ryo case 2:
3214 1.1 ryo p = "int";
3215 1.1 ryo break;
3216 1.1 ryo case 3:
3217 1.1 ryo p = "void *";
3218 1.1 ryo break;
3219 1.1 ryo default:
3220 1.1 ryo break;
3221 1.1 ryo };
3222 1.1 ryo break;
3223 1.1 ryo /* sys_setregid */
3224 1.1 ryo case 143:
3225 1.1 ryo switch(ndx) {
3226 1.1 ryo case 0:
3227 1.1 ryo p = "gid_t";
3228 1.1 ryo break;
3229 1.1 ryo case 1:
3230 1.1 ryo p = "gid_t";
3231 1.1 ryo break;
3232 1.1 ryo default:
3233 1.1 ryo break;
3234 1.1 ryo };
3235 1.1 ryo break;
3236 1.1 ryo /* sys_setgid */
3237 1.1 ryo case 144:
3238 1.1 ryo switch(ndx) {
3239 1.1 ryo case 0:
3240 1.1 ryo p = "gid_t";
3241 1.1 ryo break;
3242 1.1 ryo default:
3243 1.1 ryo break;
3244 1.1 ryo };
3245 1.1 ryo break;
3246 1.1 ryo /* sys_setreuid */
3247 1.1 ryo case 145:
3248 1.1 ryo switch(ndx) {
3249 1.1 ryo case 0:
3250 1.1 ryo p = "uid_t";
3251 1.1 ryo break;
3252 1.1 ryo case 1:
3253 1.1 ryo p = "uid_t";
3254 1.1 ryo break;
3255 1.1 ryo default:
3256 1.1 ryo break;
3257 1.1 ryo };
3258 1.1 ryo break;
3259 1.1 ryo /* sys_setuid */
3260 1.1 ryo case 146:
3261 1.1 ryo switch(ndx) {
3262 1.1 ryo case 0:
3263 1.1 ryo p = "uid_t";
3264 1.1 ryo break;
3265 1.1 ryo default:
3266 1.1 ryo break;
3267 1.1 ryo };
3268 1.1 ryo break;
3269 1.1 ryo /* linux_sys_setresuid */
3270 1.1 ryo case 147:
3271 1.1 ryo switch(ndx) {
3272 1.1 ryo case 0:
3273 1.1 ryo p = "uid_t";
3274 1.1 ryo break;
3275 1.1 ryo case 1:
3276 1.1 ryo p = "uid_t";
3277 1.1 ryo break;
3278 1.1 ryo case 2:
3279 1.1 ryo p = "uid_t";
3280 1.1 ryo break;
3281 1.1 ryo default:
3282 1.1 ryo break;
3283 1.1 ryo };
3284 1.1 ryo break;
3285 1.1 ryo /* linux_sys_getresuid */
3286 1.1 ryo case 148:
3287 1.1 ryo switch(ndx) {
3288 1.1 ryo case 0:
3289 1.1 ryo p = "uid_t *";
3290 1.1 ryo break;
3291 1.1 ryo case 1:
3292 1.1 ryo p = "uid_t *";
3293 1.1 ryo break;
3294 1.1 ryo case 2:
3295 1.1 ryo p = "uid_t *";
3296 1.1 ryo break;
3297 1.1 ryo default:
3298 1.1 ryo break;
3299 1.1 ryo };
3300 1.1 ryo break;
3301 1.1 ryo /* linux_sys_setresgid */
3302 1.1 ryo case 149:
3303 1.1 ryo switch(ndx) {
3304 1.1 ryo case 0:
3305 1.1 ryo p = "gid_t";
3306 1.1 ryo break;
3307 1.1 ryo case 1:
3308 1.1 ryo p = "gid_t";
3309 1.1 ryo break;
3310 1.1 ryo case 2:
3311 1.1 ryo p = "gid_t";
3312 1.1 ryo break;
3313 1.1 ryo default:
3314 1.1 ryo break;
3315 1.1 ryo };
3316 1.1 ryo break;
3317 1.1 ryo /* linux_sys_getresgid */
3318 1.1 ryo case 150:
3319 1.1 ryo switch(ndx) {
3320 1.1 ryo case 0:
3321 1.1 ryo p = "gid_t *";
3322 1.1 ryo break;
3323 1.1 ryo case 1:
3324 1.1 ryo p = "gid_t *";
3325 1.1 ryo break;
3326 1.1 ryo case 2:
3327 1.1 ryo p = "gid_t *";
3328 1.1 ryo break;
3329 1.1 ryo default:
3330 1.1 ryo break;
3331 1.1 ryo };
3332 1.1 ryo break;
3333 1.1 ryo /* linux_sys_setfsuid */
3334 1.1 ryo case 151:
3335 1.1 ryo switch(ndx) {
3336 1.1 ryo case 0:
3337 1.1 ryo p = "uid_t";
3338 1.1 ryo break;
3339 1.1 ryo default:
3340 1.1 ryo break;
3341 1.1 ryo };
3342 1.1 ryo break;
3343 1.1 ryo /* linux_sys_setfsgid */
3344 1.1 ryo case 152:
3345 1.1 ryo switch(ndx) {
3346 1.1 ryo case 0:
3347 1.1 ryo p = "gid_t";
3348 1.1 ryo break;
3349 1.1 ryo default:
3350 1.1 ryo break;
3351 1.1 ryo };
3352 1.1 ryo break;
3353 1.1 ryo /* linux_sys_times */
3354 1.1 ryo case 153:
3355 1.1 ryo switch(ndx) {
3356 1.1 ryo case 0:
3357 1.1 ryo p = "struct times *";
3358 1.1 ryo break;
3359 1.1 ryo default:
3360 1.1 ryo break;
3361 1.1 ryo };
3362 1.1 ryo break;
3363 1.1 ryo /* sys_setpgid */
3364 1.1 ryo case 154:
3365 1.1 ryo switch(ndx) {
3366 1.1 ryo case 0:
3367 1.1 ryo p = "int";
3368 1.1 ryo break;
3369 1.1 ryo case 1:
3370 1.1 ryo p = "int";
3371 1.1 ryo break;
3372 1.1 ryo default:
3373 1.1 ryo break;
3374 1.1 ryo };
3375 1.1 ryo break;
3376 1.1 ryo /* sys_getpgid */
3377 1.1 ryo case 155:
3378 1.1 ryo switch(ndx) {
3379 1.1 ryo case 0:
3380 1.1 ryo p = "pid_t";
3381 1.1 ryo break;
3382 1.1 ryo default:
3383 1.1 ryo break;
3384 1.1 ryo };
3385 1.1 ryo break;
3386 1.1 ryo /* sys_getsid */
3387 1.1 ryo case 156:
3388 1.1 ryo switch(ndx) {
3389 1.1 ryo case 0:
3390 1.1 ryo p = "pid_t";
3391 1.1 ryo break;
3392 1.1 ryo default:
3393 1.1 ryo break;
3394 1.1 ryo };
3395 1.1 ryo break;
3396 1.1 ryo /* sys_setsid */
3397 1.1 ryo case 157:
3398 1.1 ryo break;
3399 1.1 ryo /* sys_getgroups */
3400 1.1 ryo case 158:
3401 1.1 ryo switch(ndx) {
3402 1.1 ryo case 0:
3403 1.1 ryo p = "int";
3404 1.1 ryo break;
3405 1.1 ryo case 1:
3406 1.1 ryo p = "gid_t *";
3407 1.1 ryo break;
3408 1.1 ryo default:
3409 1.1 ryo break;
3410 1.1 ryo };
3411 1.1 ryo break;
3412 1.1 ryo /* sys_setgroups */
3413 1.1 ryo case 159:
3414 1.1 ryo switch(ndx) {
3415 1.1 ryo case 0:
3416 1.1 ryo p = "int";
3417 1.1 ryo break;
3418 1.1 ryo case 1:
3419 1.1 ryo p = "gid_t *";
3420 1.1 ryo break;
3421 1.1 ryo default:
3422 1.1 ryo break;
3423 1.1 ryo };
3424 1.1 ryo break;
3425 1.1 ryo /* linux_sys_uname */
3426 1.1 ryo case 160:
3427 1.1 ryo switch(ndx) {
3428 1.1 ryo case 0:
3429 1.1 ryo p = "struct linux_utsname *";
3430 1.1 ryo break;
3431 1.1 ryo default:
3432 1.1 ryo break;
3433 1.1 ryo };
3434 1.1 ryo break;
3435 1.1 ryo /* compat_43_sys_sethostname */
3436 1.1 ryo case 161:
3437 1.1 ryo switch(ndx) {
3438 1.1 ryo case 0:
3439 1.1 ryo p = "char *";
3440 1.1 ryo break;
3441 1.1 ryo case 1:
3442 1.1 ryo p = "u_int";
3443 1.1 ryo break;
3444 1.1 ryo default:
3445 1.1 ryo break;
3446 1.1 ryo };
3447 1.1 ryo break;
3448 1.1 ryo /* linux_sys_setdomainname */
3449 1.1 ryo case 162:
3450 1.1 ryo switch(ndx) {
3451 1.1 ryo case 0:
3452 1.1 ryo p = "char *";
3453 1.1 ryo break;
3454 1.1 ryo case 1:
3455 1.1 ryo p = "int";
3456 1.1 ryo break;
3457 1.1 ryo default:
3458 1.1 ryo break;
3459 1.1 ryo };
3460 1.1 ryo break;
3461 1.1 ryo /* linux_sys_getrlimit */
3462 1.1 ryo case 163:
3463 1.1 ryo switch(ndx) {
3464 1.1 ryo case 0:
3465 1.1 ryo p = "int";
3466 1.1 ryo break;
3467 1.1 ryo case 1:
3468 1.1 ryo p = "struct rlimit *";
3469 1.1 ryo break;
3470 1.1 ryo default:
3471 1.1 ryo break;
3472 1.1 ryo };
3473 1.1 ryo break;
3474 1.1 ryo /* linux_sys_setrlimit */
3475 1.1 ryo case 164:
3476 1.1 ryo switch(ndx) {
3477 1.1 ryo case 0:
3478 1.1 ryo p = "u_int";
3479 1.1 ryo break;
3480 1.1 ryo case 1:
3481 1.1 ryo p = "struct rlimit *";
3482 1.1 ryo break;
3483 1.1 ryo default:
3484 1.1 ryo break;
3485 1.1 ryo };
3486 1.1 ryo break;
3487 1.1 ryo /* compat_50_sys_getrusage */
3488 1.1 ryo case 165:
3489 1.1 ryo switch(ndx) {
3490 1.1 ryo case 0:
3491 1.1 ryo p = "int";
3492 1.1 ryo break;
3493 1.1 ryo case 1:
3494 1.1 ryo p = "struct rusage50 *";
3495 1.1 ryo break;
3496 1.1 ryo default:
3497 1.1 ryo break;
3498 1.1 ryo };
3499 1.1 ryo break;
3500 1.1 ryo /* sys_umask */
3501 1.1 ryo case 166:
3502 1.1 ryo switch(ndx) {
3503 1.1 ryo case 0:
3504 1.1 ryo p = "int";
3505 1.1 ryo break;
3506 1.1 ryo default:
3507 1.1 ryo break;
3508 1.1 ryo };
3509 1.1 ryo break;
3510 1.1 ryo /* linux_sys_gettimeofday */
3511 1.1 ryo case 169:
3512 1.1 ryo switch(ndx) {
3513 1.1 ryo case 0:
3514 1.1 ryo p = "struct timeval50 *";
3515 1.1 ryo break;
3516 1.1 ryo case 1:
3517 1.1 ryo p = "struct timezone *";
3518 1.1 ryo break;
3519 1.1 ryo default:
3520 1.1 ryo break;
3521 1.1 ryo };
3522 1.1 ryo break;
3523 1.1 ryo /* linux_sys_settimeofday */
3524 1.1 ryo case 170:
3525 1.1 ryo switch(ndx) {
3526 1.1 ryo case 0:
3527 1.1 ryo p = "struct timeval50 *";
3528 1.1 ryo break;
3529 1.1 ryo case 1:
3530 1.1 ryo p = "struct timezone *";
3531 1.1 ryo break;
3532 1.1 ryo default:
3533 1.1 ryo break;
3534 1.1 ryo };
3535 1.1 ryo break;
3536 1.1 ryo /* sys_getpid */
3537 1.1 ryo case 172:
3538 1.1 ryo break;
3539 1.1 ryo /* sys_getppid */
3540 1.1 ryo case 173:
3541 1.1 ryo break;
3542 1.1 ryo /* sys_getuid */
3543 1.1 ryo case 174:
3544 1.1 ryo break;
3545 1.1 ryo /* sys_geteuid */
3546 1.1 ryo case 175:
3547 1.1 ryo break;
3548 1.1 ryo /* sys_getgid */
3549 1.1 ryo case 176:
3550 1.1 ryo break;
3551 1.1 ryo /* sys_getegid */
3552 1.1 ryo case 177:
3553 1.1 ryo break;
3554 1.1 ryo /* linux_sys_gettid */
3555 1.1 ryo case 178:
3556 1.1 ryo break;
3557 1.1 ryo /* linux_sys_sysinfo */
3558 1.1 ryo case 179:
3559 1.1 ryo switch(ndx) {
3560 1.1 ryo case 0:
3561 1.1 ryo p = "struct linux_sysinfo *";
3562 1.1 ryo break;
3563 1.1 ryo default:
3564 1.1 ryo break;
3565 1.1 ryo };
3566 1.1 ryo break;
3567 1.1 ryo #ifdef SYSVMSG
3568 1.1 ryo /* sys_msgget */
3569 1.1 ryo case 186:
3570 1.1 ryo switch(ndx) {
3571 1.1 ryo case 0:
3572 1.1 ryo p = "key_t";
3573 1.1 ryo break;
3574 1.1 ryo case 1:
3575 1.1 ryo p = "int";
3576 1.1 ryo break;
3577 1.1 ryo default:
3578 1.1 ryo break;
3579 1.1 ryo };
3580 1.1 ryo break;
3581 1.1 ryo /* linux_sys_msgctl */
3582 1.1 ryo case 187:
3583 1.1 ryo switch(ndx) {
3584 1.1 ryo case 0:
3585 1.1 ryo p = "int";
3586 1.1 ryo break;
3587 1.1 ryo case 1:
3588 1.1 ryo p = "int";
3589 1.1 ryo break;
3590 1.1 ryo case 2:
3591 1.1 ryo p = "struct linux_msqid_ds *";
3592 1.1 ryo break;
3593 1.1 ryo default:
3594 1.1 ryo break;
3595 1.1 ryo };
3596 1.1 ryo break;
3597 1.1 ryo /* sys_msgrcv */
3598 1.1 ryo case 188:
3599 1.1 ryo switch(ndx) {
3600 1.1 ryo case 0:
3601 1.1 ryo p = "int";
3602 1.1 ryo break;
3603 1.1 ryo case 1:
3604 1.1 ryo p = "void *";
3605 1.1 ryo break;
3606 1.1 ryo case 2:
3607 1.1 ryo p = "size_t";
3608 1.1 ryo break;
3609 1.1 ryo case 3:
3610 1.1 ryo p = "long";
3611 1.1 ryo break;
3612 1.1 ryo case 4:
3613 1.1 ryo p = "int";
3614 1.1 ryo break;
3615 1.1 ryo default:
3616 1.1 ryo break;
3617 1.1 ryo };
3618 1.1 ryo break;
3619 1.1 ryo /* sys_msgsnd */
3620 1.1 ryo case 189:
3621 1.1 ryo switch(ndx) {
3622 1.1 ryo case 0:
3623 1.1 ryo p = "int";
3624 1.1 ryo break;
3625 1.1 ryo case 1:
3626 1.1 ryo p = "void *";
3627 1.1 ryo break;
3628 1.1 ryo case 2:
3629 1.1 ryo p = "size_t";
3630 1.1 ryo break;
3631 1.1 ryo case 3:
3632 1.1 ryo p = "int";
3633 1.1 ryo break;
3634 1.1 ryo default:
3635 1.1 ryo break;
3636 1.1 ryo };
3637 1.1 ryo break;
3638 1.1 ryo #else
3639 1.1 ryo #endif
3640 1.1 ryo #ifdef SYSVSEM
3641 1.1 ryo /* sys_semget */
3642 1.1 ryo case 190:
3643 1.1 ryo switch(ndx) {
3644 1.1 ryo case 0:
3645 1.1 ryo p = "key_t";
3646 1.1 ryo break;
3647 1.1 ryo case 1:
3648 1.1 ryo p = "int";
3649 1.1 ryo break;
3650 1.1 ryo case 2:
3651 1.1 ryo p = "int";
3652 1.1 ryo break;
3653 1.1 ryo default:
3654 1.1 ryo break;
3655 1.1 ryo };
3656 1.1 ryo break;
3657 1.1 ryo /* linux_sys_semctl */
3658 1.1 ryo case 191:
3659 1.1 ryo switch(ndx) {
3660 1.1 ryo case 0:
3661 1.1 ryo p = "int";
3662 1.1 ryo break;
3663 1.1 ryo case 1:
3664 1.1 ryo p = "int";
3665 1.1 ryo break;
3666 1.1 ryo case 2:
3667 1.1 ryo p = "int";
3668 1.1 ryo break;
3669 1.1 ryo case 3:
3670 1.1 ryo p = "union linux_semun";
3671 1.1 ryo break;
3672 1.1 ryo default:
3673 1.1 ryo break;
3674 1.1 ryo };
3675 1.1 ryo break;
3676 1.1 ryo /* sys_semop */
3677 1.1 ryo case 193:
3678 1.1 ryo switch(ndx) {
3679 1.1 ryo case 0:
3680 1.1 ryo p = "int";
3681 1.1 ryo break;
3682 1.1 ryo case 1:
3683 1.1 ryo p = "struct sembuf *";
3684 1.1 ryo break;
3685 1.1 ryo case 2:
3686 1.1 ryo p = "size_t";
3687 1.1 ryo break;
3688 1.1 ryo default:
3689 1.1 ryo break;
3690 1.1 ryo };
3691 1.1 ryo break;
3692 1.1 ryo #else
3693 1.1 ryo #endif
3694 1.1 ryo #ifdef SYSVSEM
3695 1.1 ryo /* linux_sys_shmget */
3696 1.1 ryo case 194:
3697 1.1 ryo switch(ndx) {
3698 1.1 ryo case 0:
3699 1.1 ryo p = "key_t";
3700 1.1 ryo break;
3701 1.1 ryo case 1:
3702 1.1 ryo p = "size_t";
3703 1.1 ryo break;
3704 1.1 ryo case 2:
3705 1.1 ryo p = "int";
3706 1.1 ryo break;
3707 1.1 ryo default:
3708 1.1 ryo break;
3709 1.1 ryo };
3710 1.1 ryo break;
3711 1.1 ryo /* linux_sys_shmctl */
3712 1.1 ryo case 195:
3713 1.1 ryo switch(ndx) {
3714 1.1 ryo case 0:
3715 1.1 ryo p = "int";
3716 1.1 ryo break;
3717 1.1 ryo case 1:
3718 1.1 ryo p = "int";
3719 1.1 ryo break;
3720 1.1 ryo case 2:
3721 1.1 ryo p = "struct linux_shmid_ds *";
3722 1.1 ryo break;
3723 1.1 ryo default:
3724 1.1 ryo break;
3725 1.1 ryo };
3726 1.1 ryo break;
3727 1.1 ryo /* sys_shmat */
3728 1.1 ryo case 196:
3729 1.1 ryo switch(ndx) {
3730 1.1 ryo case 0:
3731 1.1 ryo p = "int";
3732 1.1 ryo break;
3733 1.1 ryo case 1:
3734 1.1 ryo p = "void *";
3735 1.1 ryo break;
3736 1.1 ryo case 2:
3737 1.1 ryo p = "int";
3738 1.1 ryo break;
3739 1.1 ryo default:
3740 1.1 ryo break;
3741 1.1 ryo };
3742 1.1 ryo break;
3743 1.1 ryo /* sys_shmdt */
3744 1.1 ryo case 197:
3745 1.1 ryo switch(ndx) {
3746 1.1 ryo case 0:
3747 1.1 ryo p = "const void *";
3748 1.1 ryo break;
3749 1.1 ryo default:
3750 1.1 ryo break;
3751 1.1 ryo };
3752 1.1 ryo break;
3753 1.1 ryo #else
3754 1.1 ryo #endif
3755 1.1 ryo /* linux_sys_socket */
3756 1.1 ryo case 198:
3757 1.1 ryo switch(ndx) {
3758 1.1 ryo case 0:
3759 1.1 ryo p = "int";
3760 1.1 ryo break;
3761 1.1 ryo case 1:
3762 1.1 ryo p = "int";
3763 1.1 ryo break;
3764 1.1 ryo case 2:
3765 1.1 ryo p = "int";
3766 1.1 ryo break;
3767 1.1 ryo default:
3768 1.1 ryo break;
3769 1.1 ryo };
3770 1.1 ryo break;
3771 1.1 ryo /* linux_sys_socketpair */
3772 1.1 ryo case 199:
3773 1.1 ryo switch(ndx) {
3774 1.1 ryo case 0:
3775 1.1 ryo p = "int";
3776 1.1 ryo break;
3777 1.1 ryo case 1:
3778 1.1 ryo p = "int";
3779 1.1 ryo break;
3780 1.1 ryo case 2:
3781 1.1 ryo p = "int";
3782 1.1 ryo break;
3783 1.1 ryo case 3:
3784 1.1 ryo p = "int *";
3785 1.1 ryo break;
3786 1.1 ryo default:
3787 1.1 ryo break;
3788 1.1 ryo };
3789 1.1 ryo break;
3790 1.1 ryo /* linux_sys_bind */
3791 1.1 ryo case 200:
3792 1.1 ryo switch(ndx) {
3793 1.1 ryo case 0:
3794 1.1 ryo p = "int";
3795 1.1 ryo break;
3796 1.1 ryo case 1:
3797 1.1 ryo p = "const struct osockaddr *";
3798 1.1 ryo break;
3799 1.1 ryo case 2:
3800 1.1 ryo p = "unsigned int";
3801 1.1 ryo break;
3802 1.1 ryo default:
3803 1.1 ryo break;
3804 1.1 ryo };
3805 1.1 ryo break;
3806 1.1 ryo /* sys_listen */
3807 1.1 ryo case 201:
3808 1.1 ryo switch(ndx) {
3809 1.1 ryo case 0:
3810 1.1 ryo p = "int";
3811 1.1 ryo break;
3812 1.1 ryo case 1:
3813 1.1 ryo p = "int";
3814 1.1 ryo break;
3815 1.1 ryo default:
3816 1.1 ryo break;
3817 1.1 ryo };
3818 1.1 ryo break;
3819 1.1 ryo /* linux_sys_accept */
3820 1.1 ryo case 202:
3821 1.1 ryo switch(ndx) {
3822 1.1 ryo case 0:
3823 1.1 ryo p = "int";
3824 1.1 ryo break;
3825 1.1 ryo case 1:
3826 1.1 ryo p = "struct osockaddr *";
3827 1.1 ryo break;
3828 1.1 ryo case 2:
3829 1.1 ryo p = "int *";
3830 1.1 ryo break;
3831 1.1 ryo default:
3832 1.1 ryo break;
3833 1.1 ryo };
3834 1.1 ryo break;
3835 1.1 ryo /* linux_sys_connect */
3836 1.1 ryo case 203:
3837 1.1 ryo switch(ndx) {
3838 1.1 ryo case 0:
3839 1.1 ryo p = "int";
3840 1.1 ryo break;
3841 1.1 ryo case 1:
3842 1.1 ryo p = "const struct osockaddr *";
3843 1.1 ryo break;
3844 1.1 ryo case 2:
3845 1.1 ryo p = "unsigned int";
3846 1.1 ryo break;
3847 1.1 ryo default:
3848 1.1 ryo break;
3849 1.1 ryo };
3850 1.1 ryo break;
3851 1.1 ryo /* linux_sys_getsockname */
3852 1.1 ryo case 204:
3853 1.1 ryo switch(ndx) {
3854 1.1 ryo case 0:
3855 1.1 ryo p = "int";
3856 1.1 ryo break;
3857 1.1 ryo case 1:
3858 1.1 ryo p = "void *";
3859 1.1 ryo break;
3860 1.1 ryo case 2:
3861 1.1 ryo p = "int *";
3862 1.1 ryo break;
3863 1.1 ryo default:
3864 1.1 ryo break;
3865 1.1 ryo };
3866 1.1 ryo break;
3867 1.1 ryo /* linux_sys_getpeername */
3868 1.1 ryo case 205:
3869 1.1 ryo switch(ndx) {
3870 1.1 ryo case 0:
3871 1.1 ryo p = "int";
3872 1.1 ryo break;
3873 1.1 ryo case 1:
3874 1.1 ryo p = "struct sockaddr *";
3875 1.1 ryo break;
3876 1.1 ryo case 2:
3877 1.1 ryo p = "unsigned int *";
3878 1.1 ryo break;
3879 1.1 ryo default:
3880 1.1 ryo break;
3881 1.1 ryo };
3882 1.1 ryo break;
3883 1.1 ryo /* linux_sys_sendto */
3884 1.1 ryo case 206:
3885 1.1 ryo switch(ndx) {
3886 1.1 ryo case 0:
3887 1.1 ryo p = "int";
3888 1.1 ryo break;
3889 1.1 ryo case 1:
3890 1.1 ryo p = "void *";
3891 1.1 ryo break;
3892 1.1 ryo case 2:
3893 1.1 ryo p = "int";
3894 1.1 ryo break;
3895 1.1 ryo case 3:
3896 1.1 ryo p = "int";
3897 1.1 ryo break;
3898 1.1 ryo case 4:
3899 1.1 ryo p = "struct osockaddr *";
3900 1.1 ryo break;
3901 1.1 ryo case 5:
3902 1.1 ryo p = "int";
3903 1.1 ryo break;
3904 1.1 ryo default:
3905 1.1 ryo break;
3906 1.1 ryo };
3907 1.1 ryo break;
3908 1.1 ryo /* linux_sys_recvfrom */
3909 1.1 ryo case 207:
3910 1.1 ryo switch(ndx) {
3911 1.1 ryo case 0:
3912 1.1 ryo p = "int";
3913 1.1 ryo break;
3914 1.1 ryo case 1:
3915 1.1 ryo p = "void *";
3916 1.1 ryo break;
3917 1.1 ryo case 2:
3918 1.1 ryo p = "size_t";
3919 1.1 ryo break;
3920 1.1 ryo case 3:
3921 1.1 ryo p = "int";
3922 1.1 ryo break;
3923 1.1 ryo case 4:
3924 1.1 ryo p = "struct osockaddr *";
3925 1.1 ryo break;
3926 1.1 ryo case 5:
3927 1.1 ryo p = "unsigned int *";
3928 1.1 ryo break;
3929 1.1 ryo default:
3930 1.1 ryo break;
3931 1.1 ryo };
3932 1.1 ryo break;
3933 1.1 ryo /* linux_sys_setsockopt */
3934 1.1 ryo case 208:
3935 1.1 ryo switch(ndx) {
3936 1.1 ryo case 0:
3937 1.1 ryo p = "int";
3938 1.1 ryo break;
3939 1.1 ryo case 1:
3940 1.1 ryo p = "int";
3941 1.1 ryo break;
3942 1.1 ryo case 2:
3943 1.1 ryo p = "int";
3944 1.1 ryo break;
3945 1.1 ryo case 3:
3946 1.1 ryo p = "void *";
3947 1.1 ryo break;
3948 1.1 ryo case 4:
3949 1.1 ryo p = "int";
3950 1.1 ryo break;
3951 1.1 ryo default:
3952 1.1 ryo break;
3953 1.1 ryo };
3954 1.1 ryo break;
3955 1.1 ryo /* linux_sys_getsockopt */
3956 1.1 ryo case 209:
3957 1.1 ryo switch(ndx) {
3958 1.1 ryo case 0:
3959 1.1 ryo p = "int";
3960 1.1 ryo break;
3961 1.1 ryo case 1:
3962 1.1 ryo p = "int";
3963 1.1 ryo break;
3964 1.1 ryo case 2:
3965 1.1 ryo p = "int";
3966 1.1 ryo break;
3967 1.1 ryo case 3:
3968 1.1 ryo p = "void *";
3969 1.1 ryo break;
3970 1.1 ryo case 4:
3971 1.1 ryo p = "int *";
3972 1.1 ryo break;
3973 1.1 ryo default:
3974 1.1 ryo break;
3975 1.1 ryo };
3976 1.1 ryo break;
3977 1.1 ryo /* sys_shutdown */
3978 1.1 ryo case 210:
3979 1.1 ryo switch(ndx) {
3980 1.1 ryo case 0:
3981 1.1 ryo p = "int";
3982 1.1 ryo break;
3983 1.1 ryo case 1:
3984 1.1 ryo p = "int";
3985 1.1 ryo break;
3986 1.1 ryo default:
3987 1.1 ryo break;
3988 1.1 ryo };
3989 1.1 ryo break;
3990 1.1 ryo /* linux_sys_sendmsg */
3991 1.1 ryo case 211:
3992 1.1 ryo switch(ndx) {
3993 1.1 ryo case 0:
3994 1.1 ryo p = "int";
3995 1.1 ryo break;
3996 1.1 ryo case 1:
3997 1.1 ryo p = "const struct linux_msghdr *";
3998 1.1 ryo break;
3999 1.1 ryo case 2:
4000 1.1 ryo p = "int";
4001 1.1 ryo break;
4002 1.1 ryo default:
4003 1.1 ryo break;
4004 1.1 ryo };
4005 1.1 ryo break;
4006 1.1 ryo /* linux_sys_recvmsg */
4007 1.1 ryo case 212:
4008 1.1 ryo switch(ndx) {
4009 1.1 ryo case 0:
4010 1.1 ryo p = "int";
4011 1.1 ryo break;
4012 1.1 ryo case 1:
4013 1.1 ryo p = "struct linux_msghdr *";
4014 1.1 ryo break;
4015 1.1 ryo case 2:
4016 1.1 ryo p = "int";
4017 1.1 ryo break;
4018 1.1 ryo default:
4019 1.1 ryo break;
4020 1.1 ryo };
4021 1.1 ryo break;
4022 1.1 ryo /* linux_sys_brk */
4023 1.1 ryo case 214:
4024 1.1 ryo switch(ndx) {
4025 1.1 ryo case 0:
4026 1.1 ryo p = "char *";
4027 1.1 ryo break;
4028 1.1 ryo default:
4029 1.1 ryo break;
4030 1.1 ryo };
4031 1.1 ryo break;
4032 1.1 ryo /* sys_munmap */
4033 1.1 ryo case 215:
4034 1.1 ryo switch(ndx) {
4035 1.1 ryo case 0:
4036 1.1 ryo p = "void *";
4037 1.1 ryo break;
4038 1.1 ryo case 1:
4039 1.1 ryo p = "size_t";
4040 1.1 ryo break;
4041 1.1 ryo default:
4042 1.1 ryo break;
4043 1.1 ryo };
4044 1.1 ryo break;
4045 1.1 ryo /* linux_sys_mremap */
4046 1.1 ryo case 216:
4047 1.1 ryo switch(ndx) {
4048 1.1 ryo case 0:
4049 1.1 ryo p = "void *";
4050 1.1 ryo break;
4051 1.1 ryo case 1:
4052 1.1 ryo p = "size_t";
4053 1.1 ryo break;
4054 1.1 ryo case 2:
4055 1.1 ryo p = "size_t";
4056 1.1 ryo break;
4057 1.1 ryo case 3:
4058 1.1 ryo p = "u_long";
4059 1.1 ryo break;
4060 1.1 ryo default:
4061 1.1 ryo break;
4062 1.1 ryo };
4063 1.1 ryo break;
4064 1.1 ryo /* linux_sys_clone */
4065 1.1 ryo case 220:
4066 1.1 ryo switch(ndx) {
4067 1.1 ryo case 0:
4068 1.1 ryo p = "int";
4069 1.1 ryo break;
4070 1.1 ryo case 1:
4071 1.1 ryo p = "void *";
4072 1.1 ryo break;
4073 1.1 ryo case 2:
4074 1.1 ryo p = "void *";
4075 1.1 ryo break;
4076 1.1 ryo case 3:
4077 1.1 ryo p = "void *";
4078 1.1 ryo break;
4079 1.1 ryo case 4:
4080 1.1 ryo p = "void *";
4081 1.1 ryo break;
4082 1.1 ryo default:
4083 1.1 ryo break;
4084 1.1 ryo };
4085 1.1 ryo break;
4086 1.1 ryo /* sys_execve */
4087 1.1 ryo case 221:
4088 1.1 ryo switch(ndx) {
4089 1.1 ryo case 0:
4090 1.1 ryo p = "const char *";
4091 1.1 ryo break;
4092 1.1 ryo case 1:
4093 1.1 ryo p = "char **";
4094 1.1 ryo break;
4095 1.1 ryo case 2:
4096 1.1 ryo p = "char **";
4097 1.1 ryo break;
4098 1.1 ryo default:
4099 1.1 ryo break;
4100 1.1 ryo };
4101 1.1 ryo break;
4102 1.1 ryo /* linux_sys_mmap */
4103 1.1 ryo case 222:
4104 1.1 ryo switch(ndx) {
4105 1.1 ryo case 0:
4106 1.1 ryo p = "unsigned long";
4107 1.1 ryo break;
4108 1.1 ryo case 1:
4109 1.1 ryo p = "size_t";
4110 1.1 ryo break;
4111 1.1 ryo case 2:
4112 1.1 ryo p = "int";
4113 1.1 ryo break;
4114 1.1 ryo case 3:
4115 1.1 ryo p = "int";
4116 1.1 ryo break;
4117 1.1 ryo case 4:
4118 1.1 ryo p = "int";
4119 1.1 ryo break;
4120 1.1 ryo case 5:
4121 1.1 ryo p = "linux_off_t";
4122 1.1 ryo break;
4123 1.1 ryo default:
4124 1.1 ryo break;
4125 1.1 ryo };
4126 1.1 ryo break;
4127 1.1 ryo /* linux_sys_fadvise64 */
4128 1.1 ryo case 223:
4129 1.1 ryo switch(ndx) {
4130 1.1 ryo case 0:
4131 1.1 ryo p = "int";
4132 1.1 ryo break;
4133 1.1 ryo case 1:
4134 1.1 ryo p = "off_t";
4135 1.1 ryo break;
4136 1.1 ryo case 2:
4137 1.1 ryo p = "size_t";
4138 1.1 ryo break;
4139 1.1 ryo case 3:
4140 1.1 ryo p = "int";
4141 1.1 ryo break;
4142 1.1 ryo default:
4143 1.1 ryo break;
4144 1.1 ryo };
4145 1.1 ryo break;
4146 1.1 ryo /* linux_sys_swapon */
4147 1.1 ryo case 224:
4148 1.1 ryo switch(ndx) {
4149 1.1 ryo case 0:
4150 1.1 ryo p = "char *";
4151 1.1 ryo break;
4152 1.1 ryo default:
4153 1.1 ryo break;
4154 1.1 ryo };
4155 1.1 ryo break;
4156 1.1 ryo /* linux_sys_swapoff */
4157 1.1 ryo case 225:
4158 1.1 ryo switch(ndx) {
4159 1.1 ryo case 0:
4160 1.1 ryo p = "const char *";
4161 1.1 ryo break;
4162 1.1 ryo default:
4163 1.1 ryo break;
4164 1.1 ryo };
4165 1.1 ryo break;
4166 1.1 ryo /* linux_sys_mprotect */
4167 1.1 ryo case 226:
4168 1.1 ryo switch(ndx) {
4169 1.1 ryo case 0:
4170 1.1 ryo p = "const void *";
4171 1.1 ryo break;
4172 1.1 ryo case 1:
4173 1.1 ryo p = "unsigned long";
4174 1.1 ryo break;
4175 1.1 ryo case 2:
4176 1.1 ryo p = "int";
4177 1.1 ryo break;
4178 1.1 ryo default:
4179 1.1 ryo break;
4180 1.1 ryo };
4181 1.1 ryo break;
4182 1.1 ryo /* sys___msync13 */
4183 1.1 ryo case 227:
4184 1.1 ryo switch(ndx) {
4185 1.1 ryo case 0:
4186 1.1 ryo p = "void *";
4187 1.1 ryo break;
4188 1.1 ryo case 1:
4189 1.1 ryo p = "size_t";
4190 1.1 ryo break;
4191 1.1 ryo case 2:
4192 1.1 ryo p = "int";
4193 1.1 ryo break;
4194 1.1 ryo default:
4195 1.1 ryo break;
4196 1.1 ryo };
4197 1.1 ryo break;
4198 1.1 ryo /* sys_mlock */
4199 1.1 ryo case 228:
4200 1.1 ryo switch(ndx) {
4201 1.1 ryo case 0:
4202 1.1 ryo p = "void *";
4203 1.1 ryo break;
4204 1.1 ryo case 1:
4205 1.1 ryo p = "size_t";
4206 1.1 ryo break;
4207 1.1 ryo default:
4208 1.1 ryo break;
4209 1.1 ryo };
4210 1.1 ryo break;
4211 1.1 ryo /* sys_munlock */
4212 1.1 ryo case 229:
4213 1.1 ryo switch(ndx) {
4214 1.1 ryo case 0:
4215 1.1 ryo p = "void *";
4216 1.1 ryo break;
4217 1.1 ryo case 1:
4218 1.1 ryo p = "size_t";
4219 1.1 ryo break;
4220 1.1 ryo default:
4221 1.1 ryo break;
4222 1.1 ryo };
4223 1.1 ryo break;
4224 1.1 ryo /* sys_mlockall */
4225 1.1 ryo case 230:
4226 1.1 ryo switch(ndx) {
4227 1.1 ryo case 0:
4228 1.1 ryo p = "int";
4229 1.1 ryo break;
4230 1.1 ryo default:
4231 1.1 ryo break;
4232 1.1 ryo };
4233 1.1 ryo break;
4234 1.1 ryo /* sys_munlockall */
4235 1.1 ryo case 231:
4236 1.1 ryo break;
4237 1.1 ryo /* sys_mincore */
4238 1.1 ryo case 232:
4239 1.1 ryo switch(ndx) {
4240 1.1 ryo case 0:
4241 1.1 ryo p = "void *";
4242 1.1 ryo break;
4243 1.1 ryo case 1:
4244 1.1 ryo p = "size_t";
4245 1.1 ryo break;
4246 1.1 ryo case 2:
4247 1.1 ryo p = "char *";
4248 1.1 ryo break;
4249 1.1 ryo default:
4250 1.1 ryo break;
4251 1.1 ryo };
4252 1.1 ryo break;
4253 1.1 ryo /* sys_madvise */
4254 1.1 ryo case 233:
4255 1.1 ryo switch(ndx) {
4256 1.1 ryo case 0:
4257 1.1 ryo p = "void *";
4258 1.1 ryo break;
4259 1.1 ryo case 1:
4260 1.1 ryo p = "size_t";
4261 1.1 ryo break;
4262 1.1 ryo case 2:
4263 1.1 ryo p = "int";
4264 1.1 ryo break;
4265 1.1 ryo default:
4266 1.1 ryo break;
4267 1.1 ryo };
4268 1.1 ryo break;
4269 1.1 ryo /* linux_sys_accept4 */
4270 1.1 ryo case 242:
4271 1.1 ryo switch(ndx) {
4272 1.1 ryo case 0:
4273 1.1 ryo p = "int";
4274 1.1 ryo break;
4275 1.1 ryo case 1:
4276 1.1 ryo p = "struct osockaddr *";
4277 1.1 ryo break;
4278 1.1 ryo case 2:
4279 1.1 ryo p = "int *";
4280 1.1 ryo break;
4281 1.1 ryo case 3:
4282 1.1 ryo p = "int";
4283 1.1 ryo break;
4284 1.1 ryo default:
4285 1.1 ryo break;
4286 1.1 ryo };
4287 1.1 ryo break;
4288 1.1 ryo /* linux_sys_recvmmsg */
4289 1.1 ryo case 243:
4290 1.1 ryo switch(ndx) {
4291 1.1 ryo case 0:
4292 1.1 ryo p = "int";
4293 1.1 ryo break;
4294 1.1 ryo case 1:
4295 1.1 ryo p = "struct linux_mmsghdr *";
4296 1.1 ryo break;
4297 1.1 ryo case 2:
4298 1.1 ryo p = "unsigned int";
4299 1.1 ryo break;
4300 1.1 ryo case 3:
4301 1.1 ryo p = "unsigned int";
4302 1.1 ryo break;
4303 1.1 ryo case 4:
4304 1.1 ryo p = "struct timespec *";
4305 1.1 ryo break;
4306 1.1 ryo default:
4307 1.1 ryo break;
4308 1.1 ryo };
4309 1.1 ryo break;
4310 1.1 ryo /* linux_sys_wait4 */
4311 1.1 ryo case 260:
4312 1.1 ryo switch(ndx) {
4313 1.1 ryo case 0:
4314 1.1 ryo p = "int";
4315 1.1 ryo break;
4316 1.1 ryo case 1:
4317 1.1 ryo p = "int *";
4318 1.1 ryo break;
4319 1.1 ryo case 2:
4320 1.1 ryo p = "int";
4321 1.1 ryo break;
4322 1.1 ryo case 3:
4323 1.1 ryo p = "struct rusage50 *";
4324 1.1 ryo break;
4325 1.1 ryo default:
4326 1.1 ryo break;
4327 1.1 ryo };
4328 1.1 ryo break;
4329 1.1 ryo /* linux_sys_sendmmsg */
4330 1.1 ryo case 269:
4331 1.1 ryo switch(ndx) {
4332 1.1 ryo case 0:
4333 1.1 ryo p = "int";
4334 1.1 ryo break;
4335 1.1 ryo case 1:
4336 1.1 ryo p = "struct linux_mmsghdr *";
4337 1.1 ryo break;
4338 1.1 ryo case 2:
4339 1.1 ryo p = "unsigned int";
4340 1.1 ryo break;
4341 1.1 ryo case 3:
4342 1.1 ryo p = "unsigned int";
4343 1.1 ryo break;
4344 1.1 ryo default:
4345 1.1 ryo break;
4346 1.1 ryo };
4347 1.1 ryo break;
4348 1.2 ryo /* sys_getrandom */
4349 1.2 ryo case 278:
4350 1.2 ryo switch(ndx) {
4351 1.2 ryo case 0:
4352 1.2 ryo p = "void *";
4353 1.2 ryo break;
4354 1.2 ryo case 1:
4355 1.2 ryo p = "size_t";
4356 1.2 ryo break;
4357 1.2 ryo case 2:
4358 1.2 ryo p = "unsigned int";
4359 1.2 ryo break;
4360 1.2 ryo default:
4361 1.2 ryo break;
4362 1.2 ryo };
4363 1.2 ryo break;
4364 1.1 ryo /* linux_sys_nosys */
4365 1.1 ryo case 440:
4366 1.1 ryo break;
4367 1.1 ryo default:
4368 1.1 ryo break;
4369 1.1 ryo };
4370 1.1 ryo if (p != NULL)
4371 1.1 ryo strlcpy(desc, p, descsz);
4372 1.1 ryo }
4373 1.1 ryo static void
4374 1.1 ryo systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
4375 1.1 ryo {
4376 1.1 ryo const char *p = NULL;
4377 1.1 ryo switch (sysnum) {
4378 1.1 ryo /* linux_sys_setxattr */
4379 1.1 ryo case 5:
4380 1.1 ryo if (ndx == 0 || ndx == 1)
4381 1.1 ryo p = "int";
4382 1.1 ryo break;
4383 1.1 ryo /* linux_sys_lsetxattr */
4384 1.1 ryo case 6:
4385 1.1 ryo if (ndx == 0 || ndx == 1)
4386 1.1 ryo p = "int";
4387 1.1 ryo break;
4388 1.1 ryo /* linux_sys_fsetxattr */
4389 1.1 ryo case 7:
4390 1.1 ryo if (ndx == 0 || ndx == 1)
4391 1.1 ryo p = "int";
4392 1.1 ryo break;
4393 1.1 ryo /* linux_sys_getxattr */
4394 1.1 ryo case 8:
4395 1.1 ryo if (ndx == 0 || ndx == 1)
4396 1.1 ryo p = "ssize_t";
4397 1.1 ryo break;
4398 1.1 ryo /* linux_sys_lgetxattr */
4399 1.1 ryo case 9:
4400 1.1 ryo if (ndx == 0 || ndx == 1)
4401 1.1 ryo p = "ssize_t";
4402 1.1 ryo break;
4403 1.1 ryo /* linux_sys_fgetxattr */
4404 1.1 ryo case 10:
4405 1.1 ryo if (ndx == 0 || ndx == 1)
4406 1.1 ryo p = "ssize_t";
4407 1.1 ryo break;
4408 1.1 ryo /* linux_sys_listxattr */
4409 1.1 ryo case 11:
4410 1.1 ryo if (ndx == 0 || ndx == 1)
4411 1.1 ryo p = "ssize_t";
4412 1.1 ryo break;
4413 1.1 ryo /* linux_sys_llistxattr */
4414 1.1 ryo case 12:
4415 1.1 ryo if (ndx == 0 || ndx == 1)
4416 1.1 ryo p = "ssize_t";
4417 1.1 ryo break;
4418 1.1 ryo /* linux_sys_flistxattr */
4419 1.1 ryo case 13:
4420 1.1 ryo if (ndx == 0 || ndx == 1)
4421 1.1 ryo p = "ssize_t";
4422 1.1 ryo break;
4423 1.1 ryo /* linux_sys_removexattr */
4424 1.1 ryo case 14:
4425 1.1 ryo if (ndx == 0 || ndx == 1)
4426 1.1 ryo p = "int";
4427 1.1 ryo break;
4428 1.1 ryo /* linux_sys_lremovexattr */
4429 1.1 ryo case 15:
4430 1.1 ryo if (ndx == 0 || ndx == 1)
4431 1.1 ryo p = "int";
4432 1.1 ryo break;
4433 1.1 ryo /* linux_sys_fremovexattr */
4434 1.1 ryo case 16:
4435 1.1 ryo if (ndx == 0 || ndx == 1)
4436 1.1 ryo p = "int";
4437 1.1 ryo break;
4438 1.1 ryo /* sys___getcwd */
4439 1.1 ryo case 17:
4440 1.1 ryo if (ndx == 0 || ndx == 1)
4441 1.1 ryo p = "int";
4442 1.1 ryo break;
4443 1.1 ryo /* linux_sys_eventfd2 */
4444 1.1 ryo case 19:
4445 1.1 ryo if (ndx == 0 || ndx == 1)
4446 1.1 ryo p = "int";
4447 1.1 ryo break;
4448 1.1 ryo /* sys_dup */
4449 1.1 ryo case 23:
4450 1.1 ryo if (ndx == 0 || ndx == 1)
4451 1.1 ryo p = "int";
4452 1.1 ryo break;
4453 1.1 ryo /* linux_sys_dup3 */
4454 1.1 ryo case 24:
4455 1.1 ryo if (ndx == 0 || ndx == 1)
4456 1.1 ryo p = "int";
4457 1.1 ryo break;
4458 1.1 ryo /* linux_sys_fcntl */
4459 1.1 ryo case 25:
4460 1.1 ryo if (ndx == 0 || ndx == 1)
4461 1.1 ryo p = "int";
4462 1.1 ryo break;
4463 1.1 ryo /* linux_sys_ioctl */
4464 1.1 ryo case 29:
4465 1.1 ryo if (ndx == 0 || ndx == 1)
4466 1.1 ryo p = "int";
4467 1.1 ryo break;
4468 1.1 ryo /* sys_flock */
4469 1.1 ryo case 32:
4470 1.1 ryo if (ndx == 0 || ndx == 1)
4471 1.1 ryo p = "int";
4472 1.1 ryo break;
4473 1.1 ryo /* linux_sys_mknodat */
4474 1.1 ryo case 33:
4475 1.1 ryo if (ndx == 0 || ndx == 1)
4476 1.1 ryo p = "int";
4477 1.1 ryo break;
4478 1.1 ryo /* sys_mkdirat */
4479 1.1 ryo case 34:
4480 1.1 ryo if (ndx == 0 || ndx == 1)
4481 1.1 ryo p = "int";
4482 1.1 ryo break;
4483 1.1 ryo /* linux_sys_unlinkat */
4484 1.1 ryo case 35:
4485 1.1 ryo if (ndx == 0 || ndx == 1)
4486 1.1 ryo p = "int";
4487 1.1 ryo break;
4488 1.1 ryo /* sys_symlinkat */
4489 1.1 ryo case 36:
4490 1.1 ryo if (ndx == 0 || ndx == 1)
4491 1.1 ryo p = "int";
4492 1.1 ryo break;
4493 1.1 ryo /* linux_sys_linkat */
4494 1.1 ryo case 37:
4495 1.1 ryo if (ndx == 0 || ndx == 1)
4496 1.1 ryo p = "int";
4497 1.1 ryo break;
4498 1.1 ryo /* sys_renameat */
4499 1.1 ryo case 38:
4500 1.1 ryo if (ndx == 0 || ndx == 1)
4501 1.1 ryo p = "int";
4502 1.1 ryo break;
4503 1.1 ryo /* linux_sys_statfs */
4504 1.1 ryo case 43:
4505 1.1 ryo if (ndx == 0 || ndx == 1)
4506 1.1 ryo p = "int";
4507 1.1 ryo break;
4508 1.1 ryo /* linux_sys_fstatfs */
4509 1.1 ryo case 44:
4510 1.1 ryo if (ndx == 0 || ndx == 1)
4511 1.1 ryo p = "int";
4512 1.1 ryo break;
4513 1.1 ryo /* linux_sys_truncate64 */
4514 1.1 ryo case 45:
4515 1.1 ryo if (ndx == 0 || ndx == 1)
4516 1.1 ryo p = "int";
4517 1.1 ryo break;
4518 1.1 ryo /* linux_sys_ftruncate64 */
4519 1.1 ryo case 46:
4520 1.1 ryo if (ndx == 0 || ndx == 1)
4521 1.1 ryo p = "int";
4522 1.1 ryo break;
4523 1.1 ryo /* linux_sys_fallocate */
4524 1.1 ryo case 47:
4525 1.1 ryo if (ndx == 0 || ndx == 1)
4526 1.1 ryo p = "int";
4527 1.1 ryo break;
4528 1.1 ryo /* linux_sys_faccessat */
4529 1.1 ryo case 48:
4530 1.1 ryo if (ndx == 0 || ndx == 1)
4531 1.1 ryo p = "int";
4532 1.1 ryo break;
4533 1.1 ryo /* sys_chdir */
4534 1.1 ryo case 49:
4535 1.1 ryo if (ndx == 0 || ndx == 1)
4536 1.1 ryo p = "int";
4537 1.1 ryo break;
4538 1.1 ryo /* sys_fchdir */
4539 1.1 ryo case 50:
4540 1.1 ryo if (ndx == 0 || ndx == 1)
4541 1.1 ryo p = "int";
4542 1.1 ryo break;
4543 1.1 ryo /* sys_chroot */
4544 1.1 ryo case 51:
4545 1.1 ryo if (ndx == 0 || ndx == 1)
4546 1.1 ryo p = "int";
4547 1.1 ryo break;
4548 1.1 ryo /* sys_fchmod */
4549 1.1 ryo case 52:
4550 1.1 ryo if (ndx == 0 || ndx == 1)
4551 1.1 ryo p = "int";
4552 1.1 ryo break;
4553 1.1 ryo /* linux_sys_fchmodat */
4554 1.1 ryo case 53:
4555 1.1 ryo if (ndx == 0 || ndx == 1)
4556 1.1 ryo p = "int";
4557 1.1 ryo break;
4558 1.1 ryo /* linux_sys_fchownat */
4559 1.1 ryo case 54:
4560 1.1 ryo if (ndx == 0 || ndx == 1)
4561 1.1 ryo p = "int";
4562 1.1 ryo break;
4563 1.1 ryo /* sys___posix_fchown */
4564 1.1 ryo case 55:
4565 1.1 ryo if (ndx == 0 || ndx == 1)
4566 1.1 ryo p = "int";
4567 1.1 ryo break;
4568 1.1 ryo /* linux_sys_openat */
4569 1.1 ryo case 56:
4570 1.1 ryo if (ndx == 0 || ndx == 1)
4571 1.1 ryo p = "int";
4572 1.1 ryo break;
4573 1.1 ryo /* sys_close */
4574 1.1 ryo case 57:
4575 1.1 ryo if (ndx == 0 || ndx == 1)
4576 1.1 ryo p = "int";
4577 1.1 ryo break;
4578 1.1 ryo /* linux_sys_pipe2 */
4579 1.1 ryo case 59:
4580 1.1 ryo if (ndx == 0 || ndx == 1)
4581 1.1 ryo p = "int";
4582 1.1 ryo break;
4583 1.1 ryo /* linux_sys_getdents64 */
4584 1.1 ryo case 61:
4585 1.1 ryo if (ndx == 0 || ndx == 1)
4586 1.1 ryo p = "int";
4587 1.1 ryo break;
4588 1.1 ryo /* compat_43_sys_lseek */
4589 1.1 ryo case 62:
4590 1.1 ryo if (ndx == 0 || ndx == 1)
4591 1.1 ryo p = "long";
4592 1.1 ryo break;
4593 1.1 ryo /* sys_read */
4594 1.1 ryo case 63:
4595 1.1 ryo if (ndx == 0 || ndx == 1)
4596 1.1 ryo p = "ssize_t";
4597 1.1 ryo break;
4598 1.1 ryo /* sys_write */
4599 1.1 ryo case 64:
4600 1.1 ryo if (ndx == 0 || ndx == 1)
4601 1.1 ryo p = "ssize_t";
4602 1.1 ryo break;
4603 1.1 ryo /* sys_readv */
4604 1.1 ryo case 65:
4605 1.1 ryo if (ndx == 0 || ndx == 1)
4606 1.1 ryo p = "ssize_t";
4607 1.1 ryo break;
4608 1.1 ryo /* sys_writev */
4609 1.1 ryo case 66:
4610 1.1 ryo if (ndx == 0 || ndx == 1)
4611 1.1 ryo p = "ssize_t";
4612 1.1 ryo break;
4613 1.1 ryo /* linux_sys_pread */
4614 1.1 ryo case 67:
4615 1.1 ryo if (ndx == 0 || ndx == 1)
4616 1.1 ryo p = "int";
4617 1.1 ryo break;
4618 1.1 ryo /* linux_sys_pwrite */
4619 1.1 ryo case 68:
4620 1.1 ryo if (ndx == 0 || ndx == 1)
4621 1.1 ryo p = "int";
4622 1.1 ryo break;
4623 1.1 ryo /* linux_sys_preadv */
4624 1.1 ryo case 69:
4625 1.1 ryo if (ndx == 0 || ndx == 1)
4626 1.1 ryo p = "int";
4627 1.1 ryo break;
4628 1.1 ryo /* linux_sys_pwritev */
4629 1.1 ryo case 70:
4630 1.1 ryo if (ndx == 0 || ndx == 1)
4631 1.1 ryo p = "int";
4632 1.1 ryo break;
4633 1.1 ryo /* linux_sys_pselect6 */
4634 1.1 ryo case 72:
4635 1.1 ryo if (ndx == 0 || ndx == 1)
4636 1.1 ryo p = "int";
4637 1.1 ryo break;
4638 1.1 ryo /* linux_sys_ppoll */
4639 1.1 ryo case 73:
4640 1.1 ryo if (ndx == 0 || ndx == 1)
4641 1.1 ryo p = "int";
4642 1.1 ryo break;
4643 1.1 ryo /* sys_readlinkat */
4644 1.1 ryo case 78:
4645 1.1 ryo if (ndx == 0 || ndx == 1)
4646 1.1 ryo p = "ssize_t";
4647 1.1 ryo break;
4648 1.1 ryo /* linux_sys_fstatat64 */
4649 1.1 ryo case 79:
4650 1.1 ryo if (ndx == 0 || ndx == 1)
4651 1.1 ryo p = "int";
4652 1.1 ryo break;
4653 1.1 ryo /* linux_sys_fstat64 */
4654 1.1 ryo case 80:
4655 1.1 ryo if (ndx == 0 || ndx == 1)
4656 1.1 ryo p = "int";
4657 1.1 ryo break;
4658 1.1 ryo /* sys_sync */
4659 1.1 ryo case 81:
4660 1.1 ryo /* sys_fsync */
4661 1.1 ryo case 82:
4662 1.1 ryo if (ndx == 0 || ndx == 1)
4663 1.1 ryo p = "int";
4664 1.1 ryo break;
4665 1.1 ryo /* linux_sys_fdatasync */
4666 1.1 ryo case 83:
4667 1.1 ryo if (ndx == 0 || ndx == 1)
4668 1.1 ryo p = "int";
4669 1.1 ryo break;
4670 1.1 ryo /* linux_sys_timerfd_create */
4671 1.1 ryo case 85:
4672 1.1 ryo if (ndx == 0 || ndx == 1)
4673 1.1 ryo p = "int";
4674 1.1 ryo break;
4675 1.1 ryo /* linux_sys_timerfd_settime */
4676 1.1 ryo case 86:
4677 1.1 ryo if (ndx == 0 || ndx == 1)
4678 1.1 ryo p = "int";
4679 1.1 ryo break;
4680 1.1 ryo /* linux_sys_timerfd_gettime */
4681 1.1 ryo case 87:
4682 1.1 ryo if (ndx == 0 || ndx == 1)
4683 1.1 ryo p = "int";
4684 1.1 ryo break;
4685 1.1 ryo /* linux_sys_utimensat */
4686 1.1 ryo case 88:
4687 1.1 ryo if (ndx == 0 || ndx == 1)
4688 1.1 ryo p = "int";
4689 1.1 ryo break;
4690 1.1 ryo /* sys_acct */
4691 1.1 ryo case 89:
4692 1.1 ryo if (ndx == 0 || ndx == 1)
4693 1.1 ryo p = "int";
4694 1.1 ryo break;
4695 1.1 ryo /* linux_sys_personality */
4696 1.1 ryo case 92:
4697 1.1 ryo if (ndx == 0 || ndx == 1)
4698 1.1 ryo p = "int";
4699 1.1 ryo break;
4700 1.1 ryo /* linux_sys_exit */
4701 1.1 ryo case 93:
4702 1.1 ryo if (ndx == 0 || ndx == 1)
4703 1.1 ryo p = "int";
4704 1.1 ryo break;
4705 1.1 ryo /* linux_sys_exit_group */
4706 1.1 ryo case 94:
4707 1.1 ryo if (ndx == 0 || ndx == 1)
4708 1.1 ryo p = "int";
4709 1.1 ryo break;
4710 1.1 ryo /* linux_sys_set_tid_address */
4711 1.1 ryo case 96:
4712 1.1 ryo if (ndx == 0 || ndx == 1)
4713 1.1 ryo p = "int";
4714 1.1 ryo break;
4715 1.1 ryo /* linux_sys_futex */
4716 1.1 ryo case 98:
4717 1.1 ryo if (ndx == 0 || ndx == 1)
4718 1.1 ryo p = "int";
4719 1.1 ryo break;
4720 1.1 ryo /* sys___futex_set_robust_list */
4721 1.1 ryo case 99:
4722 1.1 ryo if (ndx == 0 || ndx == 1)
4723 1.1 ryo p = "int";
4724 1.1 ryo break;
4725 1.1 ryo /* sys___futex_get_robust_list */
4726 1.1 ryo case 100:
4727 1.1 ryo if (ndx == 0 || ndx == 1)
4728 1.1 ryo p = "int";
4729 1.1 ryo break;
4730 1.1 ryo /* linux_sys_nanosleep */
4731 1.1 ryo case 101:
4732 1.1 ryo if (ndx == 0 || ndx == 1)
4733 1.1 ryo p = "int";
4734 1.1 ryo break;
4735 1.1 ryo /* compat_50_sys_getitimer */
4736 1.1 ryo case 102:
4737 1.1 ryo if (ndx == 0 || ndx == 1)
4738 1.1 ryo p = "int";
4739 1.1 ryo break;
4740 1.1 ryo /* compat_50_sys_setitimer */
4741 1.1 ryo case 103:
4742 1.1 ryo if (ndx == 0 || ndx == 1)
4743 1.1 ryo p = "int";
4744 1.1 ryo break;
4745 1.1 ryo /* linux_sys_timer_create */
4746 1.1 ryo case 107:
4747 1.1 ryo if (ndx == 0 || ndx == 1)
4748 1.1 ryo p = "int";
4749 1.1 ryo break;
4750 1.1 ryo /* linux_sys_timer_gettime */
4751 1.1 ryo case 108:
4752 1.1 ryo if (ndx == 0 || ndx == 1)
4753 1.1 ryo p = "int";
4754 1.1 ryo break;
4755 1.1 ryo /* sys_timer_getoverrun */
4756 1.1 ryo case 109:
4757 1.1 ryo if (ndx == 0 || ndx == 1)
4758 1.1 ryo p = "int";
4759 1.1 ryo break;
4760 1.1 ryo /* linux_sys_timer_settime */
4761 1.1 ryo case 110:
4762 1.1 ryo if (ndx == 0 || ndx == 1)
4763 1.1 ryo p = "int";
4764 1.1 ryo break;
4765 1.1 ryo /* sys_timer_delete */
4766 1.1 ryo case 111:
4767 1.1 ryo if (ndx == 0 || ndx == 1)
4768 1.1 ryo p = "int";
4769 1.1 ryo break;
4770 1.1 ryo /* linux_sys_clock_settime */
4771 1.1 ryo case 112:
4772 1.1 ryo if (ndx == 0 || ndx == 1)
4773 1.1 ryo p = "int";
4774 1.1 ryo break;
4775 1.1 ryo /* linux_sys_clock_gettime */
4776 1.1 ryo case 113:
4777 1.1 ryo if (ndx == 0 || ndx == 1)
4778 1.1 ryo p = "int";
4779 1.1 ryo break;
4780 1.1 ryo /* linux_sys_clock_getres */
4781 1.1 ryo case 114:
4782 1.1 ryo if (ndx == 0 || ndx == 1)
4783 1.1 ryo p = "int";
4784 1.1 ryo break;
4785 1.1 ryo /* linux_sys_clock_nanosleep */
4786 1.1 ryo case 115:
4787 1.1 ryo if (ndx == 0 || ndx == 1)
4788 1.1 ryo p = "int";
4789 1.1 ryo break;
4790 1.1 ryo /* linux_sys_ptrace */
4791 1.1 ryo case 117:
4792 1.1 ryo if (ndx == 0 || ndx == 1)
4793 1.1 ryo p = "int";
4794 1.1 ryo break;
4795 1.1 ryo /* linux_sys_sched_setparam */
4796 1.1 ryo case 118:
4797 1.1 ryo if (ndx == 0 || ndx == 1)
4798 1.1 ryo p = "int";
4799 1.1 ryo break;
4800 1.1 ryo /* linux_sys_sched_setscheduler */
4801 1.1 ryo case 119:
4802 1.1 ryo if (ndx == 0 || ndx == 1)
4803 1.1 ryo p = "int";
4804 1.1 ryo break;
4805 1.1 ryo /* linux_sys_sched_getscheduler */
4806 1.1 ryo case 120:
4807 1.1 ryo if (ndx == 0 || ndx == 1)
4808 1.1 ryo p = "int";
4809 1.1 ryo break;
4810 1.1 ryo /* linux_sys_sched_getparam */
4811 1.1 ryo case 121:
4812 1.1 ryo if (ndx == 0 || ndx == 1)
4813 1.1 ryo p = "int";
4814 1.1 ryo break;
4815 1.1 ryo /* linux_sys_sched_setaffinity */
4816 1.1 ryo case 122:
4817 1.1 ryo if (ndx == 0 || ndx == 1)
4818 1.1 ryo p = "int";
4819 1.1 ryo break;
4820 1.1 ryo /* linux_sys_sched_getaffinity */
4821 1.1 ryo case 123:
4822 1.1 ryo if (ndx == 0 || ndx == 1)
4823 1.1 ryo p = "int";
4824 1.1 ryo break;
4825 1.1 ryo /* linux_sys_sched_yield */
4826 1.1 ryo case 124:
4827 1.1 ryo /* linux_sys_sched_get_priority_max */
4828 1.1 ryo case 125:
4829 1.1 ryo if (ndx == 0 || ndx == 1)
4830 1.1 ryo p = "int";
4831 1.1 ryo break;
4832 1.1 ryo /* linux_sys_sched_get_priority_min */
4833 1.1 ryo case 126:
4834 1.1 ryo if (ndx == 0 || ndx == 1)
4835 1.1 ryo p = "int";
4836 1.1 ryo break;
4837 1.1 ryo /* linux_sys_kill */
4838 1.1 ryo case 129:
4839 1.1 ryo if (ndx == 0 || ndx == 1)
4840 1.1 ryo p = "int";
4841 1.1 ryo break;
4842 1.1 ryo /* linux_sys_tkill */
4843 1.1 ryo case 130:
4844 1.1 ryo if (ndx == 0 || ndx == 1)
4845 1.1 ryo p = "int";
4846 1.1 ryo break;
4847 1.1 ryo /* linux_sys_tgkill */
4848 1.1 ryo case 131:
4849 1.1 ryo if (ndx == 0 || ndx == 1)
4850 1.1 ryo p = "int";
4851 1.1 ryo break;
4852 1.1 ryo /* linux_sys_sigaltstack */
4853 1.1 ryo case 132:
4854 1.1 ryo if (ndx == 0 || ndx == 1)
4855 1.1 ryo p = "int";
4856 1.1 ryo break;
4857 1.1 ryo /* linux_sys_rt_sigsuspend */
4858 1.1 ryo case 133:
4859 1.1 ryo if (ndx == 0 || ndx == 1)
4860 1.1 ryo p = "int";
4861 1.1 ryo break;
4862 1.1 ryo /* linux_sys_rt_sigaction */
4863 1.1 ryo case 134:
4864 1.1 ryo if (ndx == 0 || ndx == 1)
4865 1.1 ryo p = "int";
4866 1.1 ryo break;
4867 1.1 ryo /* linux_sys_rt_sigprocmask */
4868 1.1 ryo case 135:
4869 1.1 ryo if (ndx == 0 || ndx == 1)
4870 1.1 ryo p = "int";
4871 1.1 ryo break;
4872 1.1 ryo /* linux_sys_rt_sigpending */
4873 1.1 ryo case 136:
4874 1.1 ryo if (ndx == 0 || ndx == 1)
4875 1.1 ryo p = "int";
4876 1.1 ryo break;
4877 1.1 ryo /* linux_sys_rt_sigtimedwait */
4878 1.1 ryo case 137:
4879 1.1 ryo if (ndx == 0 || ndx == 1)
4880 1.1 ryo p = "int";
4881 1.1 ryo break;
4882 1.1 ryo /* linux_sys_rt_sigreturn */
4883 1.1 ryo case 139:
4884 1.1 ryo /* sys_setpriority */
4885 1.1 ryo case 140:
4886 1.1 ryo if (ndx == 0 || ndx == 1)
4887 1.1 ryo p = "int";
4888 1.1 ryo break;
4889 1.1 ryo /* linux_sys_getpriority */
4890 1.1 ryo case 141:
4891 1.1 ryo if (ndx == 0 || ndx == 1)
4892 1.1 ryo p = "int";
4893 1.1 ryo break;
4894 1.1 ryo /* linux_sys_reboot */
4895 1.1 ryo case 142:
4896 1.1 ryo if (ndx == 0 || ndx == 1)
4897 1.1 ryo p = "int";
4898 1.1 ryo break;
4899 1.1 ryo /* sys_setregid */
4900 1.1 ryo case 143:
4901 1.1 ryo if (ndx == 0 || ndx == 1)
4902 1.1 ryo p = "int";
4903 1.1 ryo break;
4904 1.1 ryo /* sys_setgid */
4905 1.1 ryo case 144:
4906 1.1 ryo if (ndx == 0 || ndx == 1)
4907 1.1 ryo p = "int";
4908 1.1 ryo break;
4909 1.1 ryo /* sys_setreuid */
4910 1.1 ryo case 145:
4911 1.1 ryo if (ndx == 0 || ndx == 1)
4912 1.1 ryo p = "int";
4913 1.1 ryo break;
4914 1.1 ryo /* sys_setuid */
4915 1.1 ryo case 146:
4916 1.1 ryo if (ndx == 0 || ndx == 1)
4917 1.1 ryo p = "int";
4918 1.1 ryo break;
4919 1.1 ryo /* linux_sys_setresuid */
4920 1.1 ryo case 147:
4921 1.1 ryo if (ndx == 0 || ndx == 1)
4922 1.1 ryo p = "int";
4923 1.1 ryo break;
4924 1.1 ryo /* linux_sys_getresuid */
4925 1.1 ryo case 148:
4926 1.1 ryo if (ndx == 0 || ndx == 1)
4927 1.1 ryo p = "int";
4928 1.1 ryo break;
4929 1.1 ryo /* linux_sys_setresgid */
4930 1.1 ryo case 149:
4931 1.1 ryo if (ndx == 0 || ndx == 1)
4932 1.1 ryo p = "int";
4933 1.1 ryo break;
4934 1.1 ryo /* linux_sys_getresgid */
4935 1.1 ryo case 150:
4936 1.1 ryo if (ndx == 0 || ndx == 1)
4937 1.1 ryo p = "int";
4938 1.1 ryo break;
4939 1.1 ryo /* linux_sys_setfsuid */
4940 1.1 ryo case 151:
4941 1.1 ryo if (ndx == 0 || ndx == 1)
4942 1.1 ryo p = "int";
4943 1.1 ryo break;
4944 1.1 ryo /* linux_sys_setfsgid */
4945 1.1 ryo case 152:
4946 1.1 ryo if (ndx == 0 || ndx == 1)
4947 1.1 ryo p = "int";
4948 1.1 ryo break;
4949 1.1 ryo /* linux_sys_times */
4950 1.1 ryo case 153:
4951 1.1 ryo if (ndx == 0 || ndx == 1)
4952 1.1 ryo p = "int";
4953 1.1 ryo break;
4954 1.1 ryo /* sys_setpgid */
4955 1.1 ryo case 154:
4956 1.1 ryo if (ndx == 0 || ndx == 1)
4957 1.1 ryo p = "int";
4958 1.1 ryo break;
4959 1.1 ryo /* sys_getpgid */
4960 1.1 ryo case 155:
4961 1.1 ryo if (ndx == 0 || ndx == 1)
4962 1.1 ryo p = "pid_t";
4963 1.1 ryo break;
4964 1.1 ryo /* sys_getsid */
4965 1.1 ryo case 156:
4966 1.1 ryo if (ndx == 0 || ndx == 1)
4967 1.1 ryo p = "pid_t";
4968 1.1 ryo break;
4969 1.1 ryo /* sys_setsid */
4970 1.1 ryo case 157:
4971 1.1 ryo /* sys_getgroups */
4972 1.1 ryo case 158:
4973 1.1 ryo if (ndx == 0 || ndx == 1)
4974 1.1 ryo p = "int";
4975 1.1 ryo break;
4976 1.1 ryo /* sys_setgroups */
4977 1.1 ryo case 159:
4978 1.1 ryo if (ndx == 0 || ndx == 1)
4979 1.1 ryo p = "int";
4980 1.1 ryo break;
4981 1.1 ryo /* linux_sys_uname */
4982 1.1 ryo case 160:
4983 1.1 ryo if (ndx == 0 || ndx == 1)
4984 1.1 ryo p = "int";
4985 1.1 ryo break;
4986 1.1 ryo /* compat_43_sys_sethostname */
4987 1.1 ryo case 161:
4988 1.1 ryo if (ndx == 0 || ndx == 1)
4989 1.1 ryo p = "int";
4990 1.1 ryo break;
4991 1.1 ryo /* linux_sys_setdomainname */
4992 1.1 ryo case 162:
4993 1.1 ryo if (ndx == 0 || ndx == 1)
4994 1.1 ryo p = "int";
4995 1.1 ryo break;
4996 1.1 ryo /* linux_sys_getrlimit */
4997 1.1 ryo case 163:
4998 1.1 ryo if (ndx == 0 || ndx == 1)
4999 1.1 ryo p = "int";
5000 1.1 ryo break;
5001 1.1 ryo /* linux_sys_setrlimit */
5002 1.1 ryo case 164:
5003 1.1 ryo if (ndx == 0 || ndx == 1)
5004 1.1 ryo p = "int";
5005 1.1 ryo break;
5006 1.1 ryo /* compat_50_sys_getrusage */
5007 1.1 ryo case 165:
5008 1.1 ryo if (ndx == 0 || ndx == 1)
5009 1.1 ryo p = "int";
5010 1.1 ryo break;
5011 1.1 ryo /* sys_umask */
5012 1.1 ryo case 166:
5013 1.1 ryo if (ndx == 0 || ndx == 1)
5014 1.1 ryo p = "int";
5015 1.1 ryo break;
5016 1.1 ryo /* linux_sys_gettimeofday */
5017 1.1 ryo case 169:
5018 1.1 ryo if (ndx == 0 || ndx == 1)
5019 1.1 ryo p = "int";
5020 1.1 ryo break;
5021 1.1 ryo /* linux_sys_settimeofday */
5022 1.1 ryo case 170:
5023 1.1 ryo if (ndx == 0 || ndx == 1)
5024 1.1 ryo p = "int";
5025 1.1 ryo break;
5026 1.1 ryo /* sys_getpid */
5027 1.1 ryo case 172:
5028 1.1 ryo /* sys_getppid */
5029 1.1 ryo case 173:
5030 1.1 ryo /* sys_getuid */
5031 1.1 ryo case 174:
5032 1.1 ryo /* sys_geteuid */
5033 1.1 ryo case 175:
5034 1.1 ryo /* sys_getgid */
5035 1.1 ryo case 176:
5036 1.1 ryo /* sys_getegid */
5037 1.1 ryo case 177:
5038 1.1 ryo /* linux_sys_gettid */
5039 1.1 ryo case 178:
5040 1.1 ryo /* linux_sys_sysinfo */
5041 1.1 ryo case 179:
5042 1.1 ryo if (ndx == 0 || ndx == 1)
5043 1.1 ryo p = "int";
5044 1.1 ryo break;
5045 1.1 ryo #ifdef SYSVMSG
5046 1.1 ryo /* sys_msgget */
5047 1.1 ryo case 186:
5048 1.1 ryo if (ndx == 0 || ndx == 1)
5049 1.1 ryo p = "int";
5050 1.1 ryo break;
5051 1.1 ryo /* linux_sys_msgctl */
5052 1.1 ryo case 187:
5053 1.1 ryo if (ndx == 0 || ndx == 1)
5054 1.1 ryo p = "int";
5055 1.1 ryo break;
5056 1.1 ryo /* sys_msgrcv */
5057 1.1 ryo case 188:
5058 1.1 ryo if (ndx == 0 || ndx == 1)
5059 1.1 ryo p = "ssize_t";
5060 1.1 ryo break;
5061 1.1 ryo /* sys_msgsnd */
5062 1.1 ryo case 189:
5063 1.1 ryo if (ndx == 0 || ndx == 1)
5064 1.1 ryo p = "int";
5065 1.1 ryo break;
5066 1.1 ryo #else
5067 1.1 ryo #endif
5068 1.1 ryo #ifdef SYSVSEM
5069 1.1 ryo /* sys_semget */
5070 1.1 ryo case 190:
5071 1.1 ryo if (ndx == 0 || ndx == 1)
5072 1.1 ryo p = "int";
5073 1.1 ryo break;
5074 1.1 ryo /* linux_sys_semctl */
5075 1.1 ryo case 191:
5076 1.1 ryo if (ndx == 0 || ndx == 1)
5077 1.1 ryo p = "int";
5078 1.1 ryo break;
5079 1.1 ryo /* sys_semop */
5080 1.1 ryo case 193:
5081 1.1 ryo if (ndx == 0 || ndx == 1)
5082 1.1 ryo p = "int";
5083 1.1 ryo break;
5084 1.1 ryo #else
5085 1.1 ryo #endif
5086 1.1 ryo #ifdef SYSVSEM
5087 1.1 ryo /* linux_sys_shmget */
5088 1.1 ryo case 194:
5089 1.1 ryo if (ndx == 0 || ndx == 1)
5090 1.1 ryo p = "int";
5091 1.1 ryo break;
5092 1.1 ryo /* linux_sys_shmctl */
5093 1.1 ryo case 195:
5094 1.1 ryo if (ndx == 0 || ndx == 1)
5095 1.1 ryo p = "int";
5096 1.1 ryo break;
5097 1.1 ryo /* sys_shmat */
5098 1.1 ryo case 196:
5099 1.1 ryo if (ndx == 0 || ndx == 1)
5100 1.1 ryo p = "int";
5101 1.1 ryo break;
5102 1.1 ryo /* sys_shmdt */
5103 1.1 ryo case 197:
5104 1.1 ryo if (ndx == 0 || ndx == 1)
5105 1.1 ryo p = "int";
5106 1.1 ryo break;
5107 1.1 ryo #else
5108 1.1 ryo #endif
5109 1.1 ryo /* linux_sys_socket */
5110 1.1 ryo case 198:
5111 1.1 ryo if (ndx == 0 || ndx == 1)
5112 1.1 ryo p = "int";
5113 1.1 ryo break;
5114 1.1 ryo /* linux_sys_socketpair */
5115 1.1 ryo case 199:
5116 1.1 ryo if (ndx == 0 || ndx == 1)
5117 1.1 ryo p = "int";
5118 1.1 ryo break;
5119 1.1 ryo /* linux_sys_bind */
5120 1.1 ryo case 200:
5121 1.1 ryo if (ndx == 0 || ndx == 1)
5122 1.1 ryo p = "int";
5123 1.1 ryo break;
5124 1.1 ryo /* sys_listen */
5125 1.1 ryo case 201:
5126 1.1 ryo if (ndx == 0 || ndx == 1)
5127 1.1 ryo p = "int";
5128 1.1 ryo break;
5129 1.1 ryo /* linux_sys_accept */
5130 1.1 ryo case 202:
5131 1.1 ryo if (ndx == 0 || ndx == 1)
5132 1.1 ryo p = "int";
5133 1.1 ryo break;
5134 1.1 ryo /* linux_sys_connect */
5135 1.1 ryo case 203:
5136 1.1 ryo if (ndx == 0 || ndx == 1)
5137 1.1 ryo p = "int";
5138 1.1 ryo break;
5139 1.1 ryo /* linux_sys_getsockname */
5140 1.1 ryo case 204:
5141 1.1 ryo if (ndx == 0 || ndx == 1)
5142 1.1 ryo p = "int";
5143 1.1 ryo break;
5144 1.1 ryo /* linux_sys_getpeername */
5145 1.1 ryo case 205:
5146 1.1 ryo if (ndx == 0 || ndx == 1)
5147 1.1 ryo p = "int";
5148 1.1 ryo break;
5149 1.1 ryo /* linux_sys_sendto */
5150 1.1 ryo case 206:
5151 1.1 ryo if (ndx == 0 || ndx == 1)
5152 1.1 ryo p = "ssize_t";
5153 1.1 ryo break;
5154 1.1 ryo /* linux_sys_recvfrom */
5155 1.1 ryo case 207:
5156 1.1 ryo if (ndx == 0 || ndx == 1)
5157 1.1 ryo p = "ssize_t";
5158 1.1 ryo break;
5159 1.1 ryo /* linux_sys_setsockopt */
5160 1.1 ryo case 208:
5161 1.1 ryo if (ndx == 0 || ndx == 1)
5162 1.1 ryo p = "int";
5163 1.1 ryo break;
5164 1.1 ryo /* linux_sys_getsockopt */
5165 1.1 ryo case 209:
5166 1.1 ryo if (ndx == 0 || ndx == 1)
5167 1.1 ryo p = "int";
5168 1.1 ryo break;
5169 1.1 ryo /* sys_shutdown */
5170 1.1 ryo case 210:
5171 1.1 ryo if (ndx == 0 || ndx == 1)
5172 1.1 ryo p = "int";
5173 1.1 ryo break;
5174 1.1 ryo /* linux_sys_sendmsg */
5175 1.1 ryo case 211:
5176 1.1 ryo if (ndx == 0 || ndx == 1)
5177 1.1 ryo p = "int";
5178 1.1 ryo break;
5179 1.1 ryo /* linux_sys_recvmsg */
5180 1.1 ryo case 212:
5181 1.1 ryo if (ndx == 0 || ndx == 1)
5182 1.1 ryo p = "ssize_t";
5183 1.1 ryo break;
5184 1.1 ryo /* linux_sys_brk */
5185 1.1 ryo case 214:
5186 1.1 ryo if (ndx == 0 || ndx == 1)
5187 1.1 ryo p = "int";
5188 1.1 ryo break;
5189 1.1 ryo /* sys_munmap */
5190 1.1 ryo case 215:
5191 1.1 ryo if (ndx == 0 || ndx == 1)
5192 1.1 ryo p = "int";
5193 1.1 ryo break;
5194 1.1 ryo /* linux_sys_mremap */
5195 1.1 ryo case 216:
5196 1.1 ryo if (ndx == 0 || ndx == 1)
5197 1.1 ryo p = "void *";
5198 1.1 ryo break;
5199 1.1 ryo /* linux_sys_clone */
5200 1.1 ryo case 220:
5201 1.1 ryo if (ndx == 0 || ndx == 1)
5202 1.1 ryo p = "int";
5203 1.1 ryo break;
5204 1.1 ryo /* sys_execve */
5205 1.1 ryo case 221:
5206 1.1 ryo if (ndx == 0 || ndx == 1)
5207 1.1 ryo p = "int";
5208 1.1 ryo break;
5209 1.1 ryo /* linux_sys_mmap */
5210 1.1 ryo case 222:
5211 1.1 ryo if (ndx == 0 || ndx == 1)
5212 1.1 ryo p = "linux_off_t";
5213 1.1 ryo break;
5214 1.1 ryo /* linux_sys_fadvise64 */
5215 1.1 ryo case 223:
5216 1.1 ryo if (ndx == 0 || ndx == 1)
5217 1.1 ryo p = "int";
5218 1.1 ryo break;
5219 1.1 ryo /* linux_sys_swapon */
5220 1.1 ryo case 224:
5221 1.1 ryo if (ndx == 0 || ndx == 1)
5222 1.1 ryo p = "int";
5223 1.1 ryo break;
5224 1.1 ryo /* linux_sys_swapoff */
5225 1.1 ryo case 225:
5226 1.1 ryo if (ndx == 0 || ndx == 1)
5227 1.1 ryo p = "int";
5228 1.1 ryo break;
5229 1.1 ryo /* linux_sys_mprotect */
5230 1.1 ryo case 226:
5231 1.1 ryo if (ndx == 0 || ndx == 1)
5232 1.1 ryo p = "int";
5233 1.1 ryo break;
5234 1.1 ryo /* sys___msync13 */
5235 1.1 ryo case 227:
5236 1.1 ryo if (ndx == 0 || ndx == 1)
5237 1.1 ryo p = "int";
5238 1.1 ryo break;
5239 1.1 ryo /* sys_mlock */
5240 1.1 ryo case 228:
5241 1.1 ryo if (ndx == 0 || ndx == 1)
5242 1.1 ryo p = "int";
5243 1.1 ryo break;
5244 1.1 ryo /* sys_munlock */
5245 1.1 ryo case 229:
5246 1.1 ryo if (ndx == 0 || ndx == 1)
5247 1.1 ryo p = "int";
5248 1.1 ryo break;
5249 1.1 ryo /* sys_mlockall */
5250 1.1 ryo case 230:
5251 1.1 ryo if (ndx == 0 || ndx == 1)
5252 1.1 ryo p = "int";
5253 1.1 ryo break;
5254 1.1 ryo /* sys_munlockall */
5255 1.1 ryo case 231:
5256 1.1 ryo /* sys_mincore */
5257 1.1 ryo case 232:
5258 1.1 ryo if (ndx == 0 || ndx == 1)
5259 1.1 ryo p = "int";
5260 1.1 ryo break;
5261 1.1 ryo /* sys_madvise */
5262 1.1 ryo case 233:
5263 1.1 ryo if (ndx == 0 || ndx == 1)
5264 1.1 ryo p = "int";
5265 1.1 ryo break;
5266 1.1 ryo /* linux_sys_accept4 */
5267 1.1 ryo case 242:
5268 1.1 ryo if (ndx == 0 || ndx == 1)
5269 1.1 ryo p = "int";
5270 1.1 ryo break;
5271 1.1 ryo /* linux_sys_recvmmsg */
5272 1.1 ryo case 243:
5273 1.1 ryo if (ndx == 0 || ndx == 1)
5274 1.1 ryo p = "int";
5275 1.1 ryo break;
5276 1.1 ryo /* linux_sys_wait4 */
5277 1.1 ryo case 260:
5278 1.1 ryo if (ndx == 0 || ndx == 1)
5279 1.1 ryo p = "int";
5280 1.1 ryo break;
5281 1.1 ryo /* linux_sys_sendmmsg */
5282 1.1 ryo case 269:
5283 1.1 ryo if (ndx == 0 || ndx == 1)
5284 1.1 ryo p = "int";
5285 1.1 ryo break;
5286 1.2 ryo /* sys_getrandom */
5287 1.2 ryo case 278:
5288 1.2 ryo if (ndx == 0 || ndx == 1)
5289 1.2 ryo p = "ssize_t";
5290 1.2 ryo break;
5291 1.1 ryo /* linux_sys_nosys */
5292 1.1 ryo case 440:
5293 1.1 ryo default:
5294 1.1 ryo break;
5295 1.1 ryo };
5296 1.1 ryo if (p != NULL)
5297 1.1 ryo strlcpy(desc, p, descsz);
5298 1.1 ryo }
5299