linux32_syscallargs.h revision 1.17.6.6 1 /* $NetBSD: linux32_syscallargs.h,v 1.17.6.6 2007/11/21 21:53:56 joerg Exp $ */
2
3 /*
4 * System call argument lists.
5 *
6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD: syscalls.master,v 1.20 2007/11/16 12:56:50 njoly Exp
8 */
9
10 #ifndef _LINUX32_SYS_SYSCALLARGS_H_
11 #define _LINUX32_SYS_SYSCALLARGS_H_
12
13 #define LINUX32_SYS_MAXSYSARGS 8
14
15 #undef syscallarg
16 #define syscallarg(x) \
17 union { \
18 register32_t pad; \
19 struct { x datum; } le; \
20 struct { /* LINTED zero array dimension */ \
21 int8_t pad[ /* CONSTCOND */ \
22 (sizeof (register32_t) < sizeof (x)) \
23 ? 0 \
24 : sizeof (register32_t) - sizeof (x)]; \
25 x datum; \
26 } be; \
27 }
28
29 #undef check_syscall_args
30 #define check_syscall_args(call) \
31 typedef char call##_check_args[sizeof (struct call##_args) \
32 <= LINUX32_SYS_MAXSYSARGS * sizeof (register32_t) ? 1 : -1];
33
34 struct linux32_sys_open_args {
35 syscallarg(const netbsd32_charp) path;
36 syscallarg(int) flags;
37 syscallarg(int) mode;
38 };
39 check_syscall_args(linux32_sys_open)
40
41 struct linux32_sys_waitpid_args {
42 syscallarg(int) pid;
43 syscallarg(netbsd32_intp) status;
44 syscallarg(int) options;
45 };
46 check_syscall_args(linux32_sys_waitpid)
47
48 struct linux32_sys_creat_args {
49 syscallarg(const netbsd32_charp) path;
50 syscallarg(int) mode;
51 };
52 check_syscall_args(linux32_sys_creat)
53
54 struct linux32_sys_unlink_args {
55 syscallarg(const netbsd32_charp) path;
56 };
57 check_syscall_args(linux32_sys_unlink)
58
59 struct linux32_sys_time_args {
60 syscallarg(linux32_timep_t) t;
61 };
62 check_syscall_args(linux32_sys_time)
63
64 struct linux32_sys_mknod_args {
65 syscallarg(const netbsd32_charp) path;
66 syscallarg(int) mode;
67 syscallarg(int) dev;
68 };
69 check_syscall_args(linux32_sys_mknod)
70
71 struct linux32_sys_lchown16_args {
72 syscallarg(const netbsd32_charp) path;
73 syscallarg(int) uid;
74 syscallarg(int) gid;
75 };
76 check_syscall_args(linux32_sys_lchown16)
77
78 struct linux32_sys_break_args {
79 syscallarg(netbsd32_charp) nsize;
80 };
81 check_syscall_args(linux32_sys_break)
82
83 struct linux32_sys_stime_args {
84 syscallarg(linux32_timep_t) t;
85 };
86 check_syscall_args(linux32_sys_stime)
87
88 struct linux32_sys_alarm_args {
89 syscallarg(unsigned int) secs;
90 };
91 check_syscall_args(linux32_sys_alarm)
92
93 struct linux32_sys_utime_args {
94 syscallarg(const netbsd32_charp) path;
95 syscallarg(linux32_utimbufp_t) times;
96 };
97 check_syscall_args(linux32_sys_utime)
98
99 struct linux32_sys_nice_args {
100 syscallarg(int) incr;
101 };
102 check_syscall_args(linux32_sys_nice)
103
104 struct linux32_sys_kill_args {
105 syscallarg(int) pid;
106 syscallarg(int) signum;
107 };
108 check_syscall_args(linux32_sys_kill)
109
110 struct linux32_sys_rename_args {
111 syscallarg(const netbsd32_charp) from;
112 syscallarg(const netbsd32_charp) to;
113 };
114 check_syscall_args(linux32_sys_rename)
115
116 struct linux32_sys_pipe_args {
117 syscallarg(netbsd32_intp) fd;
118 };
119 check_syscall_args(linux32_sys_pipe)
120
121 struct linux32_sys_times_args {
122 syscallarg(linux32_tmsp_t) tms;
123 };
124 check_syscall_args(linux32_sys_times)
125
126 struct linux32_sys_brk_args {
127 syscallarg(netbsd32_charp) nsize;
128 };
129 check_syscall_args(linux32_sys_brk)
130
131 struct linux32_sys_signal_args {
132 syscallarg(int) signum;
133 syscallarg(linux32_handler_t) handler;
134 };
135 check_syscall_args(linux32_sys_signal)
136
137 struct linux32_sys_ioctl_args {
138 syscallarg(int) fd;
139 syscallarg(netbsd32_u_long) com;
140 syscallarg(netbsd32_charp) data;
141 };
142 check_syscall_args(linux32_sys_ioctl)
143
144 struct linux32_sys_fcntl_args {
145 syscallarg(int) fd;
146 syscallarg(int) cmd;
147 syscallarg(netbsd32_voidp) arg;
148 };
149 check_syscall_args(linux32_sys_fcntl)
150
151 struct linux32_sys_oldolduname_args {
152 syscallarg(linux32_oldold_utsnamep_t) up;
153 };
154 check_syscall_args(linux32_sys_oldolduname)
155
156 struct linux32_sys_setreuid16_args {
157 syscallarg(int) ruid;
158 syscallarg(int) euid;
159 };
160 check_syscall_args(linux32_sys_setreuid16)
161
162 struct linux32_sys_setregid16_args {
163 syscallarg(int) rgid;
164 syscallarg(int) egid;
165 };
166 check_syscall_args(linux32_sys_setregid16)
167
168 struct linux32_sys_setrlimit_args {
169 syscallarg(u_int) which;
170 syscallarg(netbsd32_orlimitp_t) rlp;
171 };
172 check_syscall_args(linux32_sys_setrlimit)
173
174 struct linux32_sys_getrlimit_args {
175 syscallarg(u_int) which;
176 syscallarg(netbsd32_orlimitp_t) rlp;
177 };
178 check_syscall_args(linux32_sys_getrlimit)
179
180 struct linux32_sys_gettimeofday_args {
181 syscallarg(netbsd32_timevalp_t) tp;
182 syscallarg(netbsd32_timezonep_t) tzp;
183 };
184 check_syscall_args(linux32_sys_gettimeofday)
185
186 struct linux32_sys_settimeofday_args {
187 syscallarg(netbsd32_timevalp_t) tp;
188 syscallarg(netbsd32_timezonep_t) tzp;
189 };
190 check_syscall_args(linux32_sys_settimeofday)
191
192 struct linux32_sys_getgroups16_args {
193 syscallarg(int) gidsetsize;
194 syscallarg(linux32_gidp_t) gidset;
195 };
196 check_syscall_args(linux32_sys_getgroups16)
197
198 struct linux32_sys_setgroups16_args {
199 syscallarg(int) gidsetsize;
200 syscallarg(linux32_gidp_t) gidset;
201 };
202 check_syscall_args(linux32_sys_setgroups16)
203
204 struct linux32_sys_oldselect_args {
205 syscallarg(linux32_oldselectp_t) lsp;
206 };
207 check_syscall_args(linux32_sys_oldselect)
208
209 struct linux32_sys_swapon_args {
210 syscallarg(netbsd32_charp) name;
211 };
212 check_syscall_args(linux32_sys_swapon)
213
214 struct linux32_sys_reboot_args {
215 syscallarg(int) magic1;
216 syscallarg(int) magic2;
217 syscallarg(int) cmd;
218 syscallarg(netbsd32_voidp) arg;
219 };
220 check_syscall_args(linux32_sys_reboot)
221
222 struct linux32_sys_old_mmap_args {
223 syscallarg(linux32_oldmmapp) lmp;
224 };
225 check_syscall_args(linux32_sys_old_mmap)
226
227 struct linux32_sys_truncate_args {
228 syscallarg(const netbsd32_charp) path;
229 syscallarg(netbsd32_long) length;
230 };
231 check_syscall_args(linux32_sys_truncate)
232
233 struct linux32_sys_fchown16_args {
234 syscallarg(int) fd;
235 syscallarg(int) uid;
236 syscallarg(int) gid;
237 };
238 check_syscall_args(linux32_sys_fchown16)
239
240 struct linux32_sys_getpriority_args {
241 syscallarg(int) which;
242 syscallarg(int) who;
243 };
244 check_syscall_args(linux32_sys_getpriority)
245
246 struct linux32_sys_setpriority_args {
247 syscallarg(int) which;
248 syscallarg(int) who;
249 syscallarg(int) prio;
250 };
251 check_syscall_args(linux32_sys_setpriority)
252
253 struct linux32_sys_statfs_args {
254 syscallarg(const netbsd32_charp) path;
255 syscallarg(linux32_statfsp) sp;
256 };
257 check_syscall_args(linux32_sys_statfs)
258
259 struct linux32_sys_socketcall_args {
260 syscallarg(int) what;
261 syscallarg(netbsd32_voidp) args;
262 };
263 check_syscall_args(linux32_sys_socketcall)
264
265 struct linux32_sys_wait4_args {
266 syscallarg(int) pid;
267 syscallarg(netbsd32_intp) status;
268 syscallarg(int) options;
269 syscallarg(netbsd32_rusagep_t) rusage;
270 };
271 check_syscall_args(linux32_sys_wait4)
272
273 struct linux32_sys_swapoff_args {
274 syscallarg(const netbsd32_charp) path;
275 };
276 check_syscall_args(linux32_sys_swapoff)
277
278 struct linux32_sys_sysinfo_args {
279 syscallarg(linux32_sysinfop_t) arg;
280 };
281 check_syscall_args(linux32_sys_sysinfo)
282
283 struct linux32_sys_sigreturn_args {
284 syscallarg(linux32_sigcontextp_t) scp;
285 };
286 check_syscall_args(linux32_sys_sigreturn)
287
288 struct linux32_sys_clone_args {
289 syscallarg(int) flags;
290 syscallarg(netbsd32_voidp) stack;
291 };
292 check_syscall_args(linux32_sys_clone)
293
294 struct linux32_sys_uname_args {
295 syscallarg(linux32_utsnamep) up;
296 };
297 check_syscall_args(linux32_sys_uname)
298
299 struct linux32_sys_mprotect_args {
300 syscallarg(netbsd32_voidp) addr;
301 syscallarg(netbsd32_size_t) len;
302 syscallarg(int) prot;
303 };
304 check_syscall_args(linux32_sys_mprotect)
305
306 struct linux32_sys_llseek_args {
307 syscallarg(int) fd;
308 syscallarg(u_int32_t) ohigh;
309 syscallarg(u_int32_t) olow;
310 syscallarg(netbsd32_caddr_t) res;
311 syscallarg(int) whence;
312 };
313 check_syscall_args(linux32_sys_llseek)
314
315 struct linux32_sys_getdents_args {
316 syscallarg(int) fd;
317 syscallarg(linux32_direntp_t) dent;
318 syscallarg(unsigned int) count;
319 };
320 check_syscall_args(linux32_sys_getdents)
321
322 struct linux32_sys_select_args {
323 syscallarg(int) nfds;
324 syscallarg(netbsd32_fd_setp_t) readfds;
325 syscallarg(netbsd32_fd_setp_t) writefds;
326 syscallarg(netbsd32_fd_setp_t) exceptfds;
327 syscallarg(netbsd32_timevalp_t) timeout;
328 };
329 check_syscall_args(linux32_sys_select)
330
331 struct linux32_sys_fdatasync_args {
332 syscallarg(int) fd;
333 };
334 check_syscall_args(linux32_sys_fdatasync)
335
336 struct linux32_sys___sysctl_args {
337 syscallarg(linux32___sysctlp_t) lsp;
338 };
339 check_syscall_args(linux32_sys___sysctl)
340
341 struct linux32_sys_sched_getparam_args {
342 syscallarg(pid_t) pid;
343 syscallarg(linux32_sched_paramp_t) sp;
344 };
345 check_syscall_args(linux32_sys_sched_getparam)
346
347 struct linux32_sys_sched_setscheduler_args {
348 syscallarg(pid_t) pid;
349 syscallarg(int) policy;
350 syscallarg(const linux32_sched_paramp_t) sp;
351 };
352 check_syscall_args(linux32_sys_sched_setscheduler)
353
354 struct linux32_sys_sched_getscheduler_args {
355 syscallarg(pid_t) pid;
356 };
357 check_syscall_args(linux32_sys_sched_getscheduler)
358
359 struct linux32_sys_mremap_args {
360 syscallarg(netbsd32_voidp) old_address;
361 syscallarg(netbsd32_size_t) old_size;
362 syscallarg(netbsd32_size_t) new_size;
363 syscallarg(netbsd32_u_long) flags;
364 };
365 check_syscall_args(linux32_sys_mremap)
366
367 struct linux32_sys_setresuid16_args {
368 syscallarg(uid_t) ruid;
369 syscallarg(uid_t) euid;
370 syscallarg(uid_t) suid;
371 };
372 check_syscall_args(linux32_sys_setresuid16)
373
374 struct linux32_sys_setresgid16_args {
375 syscallarg(gid_t) rgid;
376 syscallarg(gid_t) egid;
377 syscallarg(gid_t) sgid;
378 };
379 check_syscall_args(linux32_sys_setresgid16)
380
381 struct linux32_sys_rt_sigreturn_args {
382 syscallarg(linux32_ucontextp_t) ucp;
383 };
384 check_syscall_args(linux32_sys_rt_sigreturn)
385
386 struct linux32_sys_rt_sigaction_args {
387 syscallarg(int) signum;
388 syscallarg(const linux32_sigactionp_t) nsa;
389 syscallarg(linux32_sigactionp_t) osa;
390 syscallarg(netbsd32_size_t) sigsetsize;
391 };
392 check_syscall_args(linux32_sys_rt_sigaction)
393
394 struct linux32_sys_rt_sigprocmask_args {
395 syscallarg(int) how;
396 syscallarg(const linux32_sigsetp_t) set;
397 syscallarg(linux32_sigsetp_t) oset;
398 syscallarg(netbsd32_size_t) sigsetsize;
399 };
400 check_syscall_args(linux32_sys_rt_sigprocmask)
401
402 struct linux32_sys_rt_sigsuspend_args {
403 syscallarg(linux32_sigsetp_t) unewset;
404 syscallarg(netbsd32_size_t) sigsetsize;
405 };
406 check_syscall_args(linux32_sys_rt_sigsuspend)
407
408 struct linux32_sys_chown16_args {
409 syscallarg(const netbsd32_charp) path;
410 syscallarg(int) uid;
411 syscallarg(int) gid;
412 };
413 check_syscall_args(linux32_sys_chown16)
414
415 struct linux32_sys_ugetrlimit_args {
416 syscallarg(int) which;
417 syscallarg(netbsd32_orlimitp_t) rlp;
418 };
419 check_syscall_args(linux32_sys_ugetrlimit)
420
421 struct linux32_sys_mmap2_args {
422 syscallarg(netbsd32_u_long) addr;
423 syscallarg(netbsd32_size_t) len;
424 syscallarg(int) prot;
425 syscallarg(int) flags;
426 syscallarg(int) fd;
427 syscallarg(linux32_off_t) offset;
428 };
429 check_syscall_args(linux32_sys_mmap2)
430
431 struct linux32_sys_stat64_args {
432 syscallarg(const netbsd32_charp) path;
433 syscallarg(linux32_stat64p) sp;
434 };
435 check_syscall_args(linux32_sys_stat64)
436
437 struct linux32_sys_lstat64_args {
438 syscallarg(const netbsd32_charp) path;
439 syscallarg(linux32_stat64p) sp;
440 };
441 check_syscall_args(linux32_sys_lstat64)
442
443 struct linux32_sys_fstat64_args {
444 syscallarg(int) fd;
445 syscallarg(linux32_stat64p) sp;
446 };
447 check_syscall_args(linux32_sys_fstat64)
448
449 struct linux32_sys_setresuid_args {
450 syscallarg(uid_t) ruid;
451 syscallarg(uid_t) euid;
452 syscallarg(uid_t) suid;
453 };
454 check_syscall_args(linux32_sys_setresuid)
455
456 struct linux32_sys_setresgid_args {
457 syscallarg(gid_t) rgid;
458 syscallarg(gid_t) egid;
459 syscallarg(gid_t) sgid;
460 };
461 check_syscall_args(linux32_sys_setresgid)
462
463 struct linux32_sys_setfsuid_args {
464 syscallarg(uid_t) uid;
465 };
466 check_syscall_args(linux32_sys_setfsuid)
467
468 struct linux32_sys_getdents64_args {
469 syscallarg(int) fd;
470 syscallarg(linux32_dirent64p_t) dent;
471 syscallarg(unsigned int) count;
472 };
473 check_syscall_args(linux32_sys_getdents64)
474
475 struct linux32_sys_fcntl64_args {
476 syscallarg(int) fd;
477 syscallarg(int) cmd;
478 syscallarg(netbsd32_voidp) arg;
479 };
480 check_syscall_args(linux32_sys_fcntl64)
481
482 struct linux32_sys_exit_group_args {
483 syscallarg(int) error_code;
484 };
485 check_syscall_args(linux32_sys_exit_group)
486
487 /*
488 * System call prototypes.
489 */
490
491 int linux_sys_nosys(struct lwp *, void *, register_t *);
492
493 int netbsd32_exit(struct lwp *, void *, register_t *);
494
495 int sys_fork(struct lwp *, void *, register_t *);
496
497 int netbsd32_read(struct lwp *, void *, register_t *);
498
499 int netbsd32_write(struct lwp *, void *, register_t *);
500
501 int linux32_sys_open(struct lwp *, void *, register_t *);
502
503 int netbsd32_close(struct lwp *, void *, register_t *);
504
505 int linux32_sys_waitpid(struct lwp *, void *, register_t *);
506
507 int linux32_sys_creat(struct lwp *, void *, register_t *);
508
509 int netbsd32_link(struct lwp *, void *, register_t *);
510
511 int linux32_sys_unlink(struct lwp *, void *, register_t *);
512
513 int netbsd32_execve(struct lwp *, void *, register_t *);
514
515 int netbsd32_chdir(struct lwp *, void *, register_t *);
516
517 int linux32_sys_time(struct lwp *, void *, register_t *);
518
519 int linux32_sys_mknod(struct lwp *, void *, register_t *);
520
521 int netbsd32_chmod(struct lwp *, void *, register_t *);
522
523 int linux32_sys_lchown16(struct lwp *, void *, register_t *);
524
525 int linux32_sys_break(struct lwp *, void *, register_t *);
526
527 int compat_43_netbsd32_olseek(struct lwp *, void *, register_t *);
528
529 int linux_sys_getpid(struct lwp *, void *, register_t *);
530
531 int netbsd32_setuid(struct lwp *, void *, register_t *);
532
533 int sys_getuid(struct lwp *, void *, register_t *);
534
535 int linux32_sys_stime(struct lwp *, void *, register_t *);
536
537 int linux32_sys_alarm(struct lwp *, void *, register_t *);
538
539 int linux_sys_pause(struct lwp *, void *, register_t *);
540
541 int linux32_sys_utime(struct lwp *, void *, register_t *);
542
543 int netbsd32_access(struct lwp *, void *, register_t *);
544
545 int linux32_sys_nice(struct lwp *, void *, register_t *);
546
547 int sys_sync(struct lwp *, void *, register_t *);
548
549 int linux32_sys_kill(struct lwp *, void *, register_t *);
550
551 int linux32_sys_rename(struct lwp *, void *, register_t *);
552
553 int netbsd32_mkdir(struct lwp *, void *, register_t *);
554
555 int netbsd32_rmdir(struct lwp *, void *, register_t *);
556
557 int netbsd32_dup(struct lwp *, void *, register_t *);
558
559 int linux32_sys_pipe(struct lwp *, void *, register_t *);
560
561 int linux32_sys_times(struct lwp *, void *, register_t *);
562
563 int linux32_sys_brk(struct lwp *, void *, register_t *);
564
565 int netbsd32_setgid(struct lwp *, void *, register_t *);
566
567 int sys_getgid(struct lwp *, void *, register_t *);
568
569 int linux32_sys_signal(struct lwp *, void *, register_t *);
570
571 int sys_geteuid(struct lwp *, void *, register_t *);
572
573 int sys_getegid(struct lwp *, void *, register_t *);
574
575 int netbsd32_acct(struct lwp *, void *, register_t *);
576
577 int linux32_sys_ioctl(struct lwp *, void *, register_t *);
578
579 int linux32_sys_fcntl(struct lwp *, void *, register_t *);
580
581 int netbsd32_setpgid(struct lwp *, void *, register_t *);
582
583 int linux32_sys_oldolduname(struct lwp *, void *, register_t *);
584
585 int netbsd32_umask(struct lwp *, void *, register_t *);
586
587 int netbsd32_chroot(struct lwp *, void *, register_t *);
588
589 int netbsd32_dup2(struct lwp *, void *, register_t *);
590
591 int linux_sys_getppid(struct lwp *, void *, register_t *);
592
593 int sys_getpgrp(struct lwp *, void *, register_t *);
594
595 int sys_setsid(struct lwp *, void *, register_t *);
596
597 int linux32_sys_setreuid16(struct lwp *, void *, register_t *);
598
599 int linux32_sys_setregid16(struct lwp *, void *, register_t *);
600
601 int compat_43_netbsd32_osethostname(struct lwp *, void *, register_t *);
602
603 int linux32_sys_setrlimit(struct lwp *, void *, register_t *);
604
605 int linux32_sys_getrlimit(struct lwp *, void *, register_t *);
606
607 int netbsd32_getrusage(struct lwp *, void *, register_t *);
608
609 int linux32_sys_gettimeofday(struct lwp *, void *, register_t *);
610
611 int linux32_sys_settimeofday(struct lwp *, void *, register_t *);
612
613 int linux32_sys_getgroups16(struct lwp *, void *, register_t *);
614
615 int linux32_sys_setgroups16(struct lwp *, void *, register_t *);
616
617 int linux32_sys_oldselect(struct lwp *, void *, register_t *);
618
619 int netbsd32_symlink(struct lwp *, void *, register_t *);
620
621 int compat_43_netbsd32_lstat43(struct lwp *, void *, register_t *);
622
623 int netbsd32_readlink(struct lwp *, void *, register_t *);
624
625 int linux32_sys_swapon(struct lwp *, void *, register_t *);
626
627 int linux32_sys_reboot(struct lwp *, void *, register_t *);
628
629 int linux32_sys_old_mmap(struct lwp *, void *, register_t *);
630
631 int netbsd32_munmap(struct lwp *, void *, register_t *);
632
633 int linux32_sys_truncate(struct lwp *, void *, register_t *);
634
635 int compat_43_netbsd32_oftruncate(struct lwp *, void *, register_t *);
636
637 int netbsd32_fchmod(struct lwp *, void *, register_t *);
638
639 int linux32_sys_fchown16(struct lwp *, void *, register_t *);
640
641 int linux32_sys_getpriority(struct lwp *, void *, register_t *);
642
643 int linux32_sys_setpriority(struct lwp *, void *, register_t *);
644
645 int linux32_sys_statfs(struct lwp *, void *, register_t *);
646
647 int linux32_sys_socketcall(struct lwp *, void *, register_t *);
648
649 int netbsd32_setitimer(struct lwp *, void *, register_t *);
650
651 int netbsd32_getitimer(struct lwp *, void *, register_t *);
652
653 int linux32_sys_wait4(struct lwp *, void *, register_t *);
654
655 int linux32_sys_swapoff(struct lwp *, void *, register_t *);
656
657 int linux32_sys_sysinfo(struct lwp *, void *, register_t *);
658
659 int netbsd32_fsync(struct lwp *, void *, register_t *);
660
661 int linux32_sys_sigreturn(struct lwp *, void *, register_t *);
662
663 int linux32_sys_clone(struct lwp *, void *, register_t *);
664
665 int linux32_sys_uname(struct lwp *, void *, register_t *);
666
667 int linux32_sys_mprotect(struct lwp *, void *, register_t *);
668
669 int netbsd32_fchdir(struct lwp *, void *, register_t *);
670
671 int linux32_sys_setfsuid(struct lwp *, void *, register_t *);
672
673 int linux_sys_getfsuid(struct lwp *, void *, register_t *);
674
675 int linux32_sys_llseek(struct lwp *, void *, register_t *);
676
677 int linux32_sys_getdents(struct lwp *, void *, register_t *);
678
679 int linux32_sys_select(struct lwp *, void *, register_t *);
680
681 int netbsd32_flock(struct lwp *, void *, register_t *);
682
683 int netbsd32_readv(struct lwp *, void *, register_t *);
684
685 int netbsd32_writev(struct lwp *, void *, register_t *);
686
687 int netbsd32_getsid(struct lwp *, void *, register_t *);
688
689 int linux32_sys_fdatasync(struct lwp *, void *, register_t *);
690
691 int linux32_sys___sysctl(struct lwp *, void *, register_t *);
692
693 int netbsd32_mlockall(struct lwp *, void *, register_t *);
694
695 int sys_munlockall(struct lwp *, void *, register_t *);
696
697 int linux32_sys_sched_getparam(struct lwp *, void *, register_t *);
698
699 int linux32_sys_sched_setscheduler(struct lwp *, void *, register_t *);
700
701 int linux32_sys_sched_getscheduler(struct lwp *, void *, register_t *);
702
703 int linux_sys_sched_yield(struct lwp *, void *, register_t *);
704
705 int netbsd32_nanosleep(struct lwp *, void *, register_t *);
706
707 int linux32_sys_mremap(struct lwp *, void *, register_t *);
708
709 int linux32_sys_setresuid16(struct lwp *, void *, register_t *);
710
711 int netbsd32_poll(struct lwp *, void *, register_t *);
712
713 int linux32_sys_setresgid16(struct lwp *, void *, register_t *);
714
715 int linux32_sys_rt_sigreturn(struct lwp *, void *, register_t *);
716
717 int linux32_sys_rt_sigaction(struct lwp *, void *, register_t *);
718
719 int linux32_sys_rt_sigprocmask(struct lwp *, void *, register_t *);
720
721 int linux32_sys_rt_sigsuspend(struct lwp *, void *, register_t *);
722
723 int linux32_sys_chown16(struct lwp *, void *, register_t *);
724
725 int netbsd32___getcwd(struct lwp *, void *, register_t *);
726
727 int sys___vfork14(struct lwp *, void *, register_t *);
728
729 int linux32_sys_ugetrlimit(struct lwp *, void *, register_t *);
730
731 int linux32_sys_mmap2(struct lwp *, void *, register_t *);
732
733 int linux32_sys_stat64(struct lwp *, void *, register_t *);
734
735 int linux32_sys_lstat64(struct lwp *, void *, register_t *);
736
737 int linux32_sys_fstat64(struct lwp *, void *, register_t *);
738
739 int netbsd32___posix_lchown(struct lwp *, void *, register_t *);
740
741 int netbsd32_setreuid(struct lwp *, void *, register_t *);
742
743 int netbsd32_setregid(struct lwp *, void *, register_t *);
744
745 int netbsd32_getgroups(struct lwp *, void *, register_t *);
746
747 int netbsd32_setgroups(struct lwp *, void *, register_t *);
748
749 int netbsd32___posix_fchown(struct lwp *, void *, register_t *);
750
751 int linux32_sys_setresuid(struct lwp *, void *, register_t *);
752
753 int linux32_sys_setresgid(struct lwp *, void *, register_t *);
754
755 int netbsd32___posix_chown(struct lwp *, void *, register_t *);
756
757 int netbsd32_madvise(struct lwp *, void *, register_t *);
758
759 int linux32_sys_getdents64(struct lwp *, void *, register_t *);
760
761 int linux32_sys_fcntl64(struct lwp *, void *, register_t *);
762
763 int linux_sys_gettid(struct lwp *, void *, register_t *);
764
765 int linux32_sys_exit_group(struct lwp *, void *, register_t *);
766
767 #endif /* _LINUX32_SYS_SYSCALLARGS_H_ */
768