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