1/* $NetBSD: linux32_syscallargs.h,v 1.75 2015/03/08 17:10:59 christos 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.69 2015/03/08 17:10:44 christos 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) /*LINTED*/ \
31 typedef char call##_check_args[sizeof (struct call##_args) \
32 <= LINUX32_SYS_MAXSYSARGS * sizeof (register32_t) ? 1 : -1];
33
34struct linux32_sys_exit_args {
35 syscallarg(int) rval;
36};
37check_syscall_args(linux32_sys_exit)
38
39struct netbsd32_read_args;
40
41struct netbsd32_write_args;
42
43struct linux32_sys_open_args {
44 syscallarg(netbsd32_charp) path;
45 syscallarg(int) flags;
46 syscallarg(linux_umode_t) mode;
47};
48check_syscall_args(linux32_sys_open)
49
50struct netbsd32_close_args;
51
52struct linux32_sys_waitpid_args {
53 syscallarg(int) pid;
54 syscallarg(netbsd32_intp) status;
55 syscallarg(int) options;
56};
57check_syscall_args(linux32_sys_waitpid)
58
59struct linux32_sys_creat_args {
60 syscallarg(netbsd32_charp) path;
61 syscallarg(linux_umode_t) mode;
62};
63check_syscall_args(linux32_sys_creat)
64
65struct netbsd32_link_args;
66
67struct linux32_sys_unlink_args {
68 syscallarg(netbsd32_charp) path;
69};
70check_syscall_args(linux32_sys_unlink)
71
72struct netbsd32_execve_args;
73
74struct netbsd32_chdir_args;
75
76struct linux32_sys_time_args {
77 syscallarg(linux32_timep_t) t;
78};
79check_syscall_args(linux32_sys_time)
80
81struct linux32_sys_mknod_args {
82 syscallarg(netbsd32_charp) path;
83 syscallarg(linux_umode_t) mode;
84 syscallarg(unsigned) dev;
85};
86check_syscall_args(linux32_sys_mknod)
87
88struct netbsd32_chmod_args;
89
90struct linux32_sys_lchown16_args {
91 syscallarg(netbsd32_charp) path;
92 syscallarg(linux32_uid16_t) uid;
93 syscallarg(linux32_gid16_t) gid;
94};
95check_syscall_args(linux32_sys_lchown16)
96
97struct linux32_sys_break_args {
98 syscallarg(netbsd32_charp) nsize;
99};
100check_syscall_args(linux32_sys_break)
101
102struct compat_43_netbsd32_olseek_args;
103
104struct netbsd32_setuid_args;
105
106struct linux32_sys_stime_args {
107 syscallarg(linux32_timep_t) t;
108};
109check_syscall_args(linux32_sys_stime)
110
111struct linux32_sys_ptrace_args {
112 syscallarg(int) request;
113 syscallarg(int) pid;
114 syscallarg(int) addr;
115 syscallarg(int) data;
116};
117check_syscall_args(linux32_sys_ptrace)
118
119struct linux32_sys_alarm_args {
120 syscallarg(unsigned int) secs;
121};
122check_syscall_args(linux32_sys_alarm)
123
124struct linux32_sys_utime_args {
125 syscallarg(netbsd32_charp) path;
126 syscallarg(linux32_utimbufp_t) times;
127};
128check_syscall_args(linux32_sys_utime)
129
130struct netbsd32_access_args;
131
132struct linux32_sys_nice_args {
133 syscallarg(int) incr;
134};
135check_syscall_args(linux32_sys_nice)
136
137struct linux32_sys_kill_args {
138 syscallarg(int) pid;
139 syscallarg(int) signum;
140};
141check_syscall_args(linux32_sys_kill)
142
143struct netbsd32___posix_rename_args;
144
145struct netbsd32_mkdir_args;
146
147struct netbsd32_rmdir_args;
148
149struct netbsd32_dup_args;
150
151struct linux32_sys_pipe_args {
152 syscallarg(netbsd32_intp) fd;
153};
154check_syscall_args(linux32_sys_pipe)
155
156struct linux32_sys_times_args {
157 syscallarg(linux32_tmsp_t) tms;
158};
159check_syscall_args(linux32_sys_times)
160
161struct linux32_sys_brk_args {
162 syscallarg(netbsd32_charp) nsize;
163};
164check_syscall_args(linux32_sys_brk)
165
166struct netbsd32_setgid_args;
167
168struct linux32_sys_signal_args {
169 syscallarg(int) signum;
170 syscallarg(linux32_handlerp_t) handler;
171};
172check_syscall_args(linux32_sys_signal)
173
174struct netbsd32_acct_args;
175
176struct linux32_sys_ioctl_args {
177 syscallarg(int) fd;
178 syscallarg(netbsd32_u_long) com;
179 syscallarg(netbsd32_charp) data;
180};
181check_syscall_args(linux32_sys_ioctl)
182
183struct linux32_sys_fcntl_args {
184 syscallarg(int) fd;
185 syscallarg(int) cmd;
186 syscallarg(netbsd32_voidp) arg;
187};
188check_syscall_args(linux32_sys_fcntl)
189
190struct netbsd32_setpgid_args;
191
192struct linux32_sys_oldolduname_args {
193 syscallarg(linux32_oldold_utsnamep_t) up;
194};
195check_syscall_args(linux32_sys_oldolduname)
196
197struct netbsd32_umask_args;
198
199struct netbsd32_chroot_args;
200
201struct netbsd32_dup2_args;
202
203struct linux32_sys_sigsetmask_args {
204 syscallarg(linux32_old_sigset_t) mask;
205};
206check_syscall_args(linux32_sys_sigsetmask)
207
208struct linux32_sys_setreuid16_args {
209 syscallarg(linux32_uid16_t) ruid;
210 syscallarg(linux32_uid16_t) euid;
211};
212check_syscall_args(linux32_sys_setreuid16)
213
214struct linux32_sys_setregid16_args {
215 syscallarg(linux32_gid16_t) rgid;
216 syscallarg(linux32_gid16_t) egid;
217};
218check_syscall_args(linux32_sys_setregid16)
219
220struct compat_43_netbsd32_osethostname_args;
221
222struct linux32_sys_setrlimit_args {
223 syscallarg(u_int) which;
224 syscallarg(netbsd32_orlimitp_t) rlp;
225};
226check_syscall_args(linux32_sys_setrlimit)
227
228struct linux32_sys_getrlimit_args {
229 syscallarg(u_int) which;
230 syscallarg(netbsd32_orlimitp_t) rlp;
231};
232check_syscall_args(linux32_sys_getrlimit)
233
234struct compat_50_netbsd32_getrusage_args;
235
236struct linux32_sys_gettimeofday_args {
237 syscallarg(netbsd32_timeval50p_t) tp;
238 syscallarg(netbsd32_timezonep_t) tzp;
239};
240check_syscall_args(linux32_sys_gettimeofday)
241
242struct linux32_sys_settimeofday_args {
243 syscallarg(netbsd32_timeval50p_t) tp;
244 syscallarg(netbsd32_timezonep_t) tzp;
245};
246check_syscall_args(linux32_sys_settimeofday)
247
248struct linux32_sys_getgroups16_args {
249 syscallarg(int) gidsetsize;
250 syscallarg(linux32_gid16p_t) gidset;
251};
252check_syscall_args(linux32_sys_getgroups16)
253
254struct linux32_sys_setgroups16_args {
255 syscallarg(int) gidsetsize;
256 syscallarg(linux32_gid16p_t) gidset;
257};
258check_syscall_args(linux32_sys_setgroups16)
259
260struct linux32_sys_oldselect_args {
261 syscallarg(linux32_oldselectp_t) lsp;
262};
263check_syscall_args(linux32_sys_oldselect)
264
265struct netbsd32_symlink_args;
266
267struct compat_43_netbsd32_lstat43_args;
268
269struct netbsd32_readlink_args;
270
271struct linux32_sys_swapon_args {
272 syscallarg(netbsd32_charp) name;
273};
274check_syscall_args(linux32_sys_swapon)
275
276struct linux32_sys_reboot_args {
277 syscallarg(int) magic1;
278 syscallarg(int) magic2;
279 syscallarg(int) cmd;
280 syscallarg(netbsd32_voidp) arg;
281};
282check_syscall_args(linux32_sys_reboot)
283
284struct linux32_sys_readdir_args {
285 syscallarg(int) fd;
286 syscallarg(netbsd32_voidp) dent;
287 syscallarg(unsigned int) count;
288};
289check_syscall_args(linux32_sys_readdir)
290
291struct linux32_sys_old_mmap_args {
292 syscallarg(linux32_oldmmapp) lmp;
293};
294check_syscall_args(linux32_sys_old_mmap)
295
296struct netbsd32_munmap_args;
297
298struct compat_43_netbsd32_otruncate_args;
299
300struct compat_43_netbsd32_oftruncate_args;
301
302struct netbsd32_fchmod_args;
303
304struct linux32_sys_fchown16_args {
305 syscallarg(int) fd;
306 syscallarg(linux32_uid16_t) uid;
307 syscallarg(linux32_gid16_t) gid;
308};
309check_syscall_args(linux32_sys_fchown16)
310
311struct linux32_sys_getpriority_args {
312 syscallarg(int) which;
313 syscallarg(int) who;
314};
315check_syscall_args(linux32_sys_getpriority)
316
317struct netbsd32_setpriority_args;
318
319struct netbsd32_profil_args;
320
321struct linux32_sys_statfs_args {
322 syscallarg(netbsd32_charp) path;
323 syscallarg(linux32_statfsp) sp;
324};
325check_syscall_args(linux32_sys_statfs)
326
327struct linux32_sys_fstatfs_args {
328 syscallarg(int) fd;
329 syscallarg(linux32_statfsp) sp;
330};
331check_syscall_args(linux32_sys_fstatfs)
332
333struct linux_sys_ioperm_args;
334
335struct linux32_sys_socketcall_args {
336 syscallarg(int) what;
337 syscallarg(netbsd32_voidp) args;
338};
339check_syscall_args(linux32_sys_socketcall)
340
341struct compat_50_netbsd32_setitimer_args;
342
343struct compat_50_netbsd32_getitimer_args;
344
345struct linux32_sys_stat_args {
346 syscallarg(netbsd32_charp) path;
347 syscallarg(linux32_statp) sp;
348};
349check_syscall_args(linux32_sys_stat)
350
351struct linux32_sys_lstat_args {
352 syscallarg(netbsd32_charp) path;
353 syscallarg(linux32_statp) sp;
354};
355check_syscall_args(linux32_sys_lstat)
356
357struct linux32_sys_fstat_args {
358 syscallarg(int) fd;
359 syscallarg(linux32_statp) sp;
360};
361check_syscall_args(linux32_sys_fstat)
362
363struct linux32_sys_olduname_args {
364 syscallarg(linux32_oldutsnamep_t) up;
365};
366check_syscall_args(linux32_sys_olduname)
367
368struct linux_sys_iopl_args;
369
370struct linux32_sys_wait4_args {
371 syscallarg(int) pid;
372 syscallarg(netbsd32_intp) status;
373 syscallarg(int) options;
374 syscallarg(netbsd32_rusage50p_t) rusage;
375};
376check_syscall_args(linux32_sys_wait4)
377
378struct linux32_sys_swapoff_args {
379 syscallarg(netbsd32_charp) path;
380};
381check_syscall_args(linux32_sys_swapoff)
382
383struct linux32_sys_sysinfo_args {
384 syscallarg(linux32_sysinfop_t) arg;
385};
386check_syscall_args(linux32_sys_sysinfo)
387
388struct linux32_sys_ipc_args {
389 syscallarg(int) what;
390 syscallarg(int) a1;
391 syscallarg(int) a2;
392 syscallarg(int) a3;
393 syscallarg(netbsd32_voidp) ptr;
394};
395check_syscall_args(linux32_sys_ipc)
396
397struct netbsd32_fsync_args;
398
399struct linux32_sys_sigreturn_args {
400 syscallarg(linux32_sigcontextp_t) scp;
401};
402check_syscall_args(linux32_sys_sigreturn)
403
404struct linux32_sys_clone_args {
405 syscallarg(int) flags;
406 syscallarg(netbsd32_voidp) stack;
407 syscallarg(netbsd32_voidp) parent_tidptr;
408 syscallarg(netbsd32_voidp) tls;
409 syscallarg(netbsd32_voidp) child_tidptr;
410};
411check_syscall_args(linux32_sys_clone)
412
413struct linux32_sys_setdomainname_args {
414 syscallarg(netbsd32_charp) domainname;
415 syscallarg(int) len;
416};
417check_syscall_args(linux32_sys_setdomainname)
418
419struct linux32_sys_uname_args {
420 syscallarg(linux32_utsnamep) up;
421};
422check_syscall_args(linux32_sys_uname)
423
424struct linux32_sys_modify_ldt_args {
425 syscallarg(int) func;
426 syscallarg(netbsd32_charp) ptr;
427 syscallarg(netbsd32_size_t) bytecount;
428};
429check_syscall_args(linux32_sys_modify_ldt)
430
431struct linux32_sys_mprotect_args {
432 syscallarg(netbsd32_voidp) start;
433 syscallarg(netbsd32_size_t) len;
434 syscallarg(int) prot;
435};
436check_syscall_args(linux32_sys_mprotect)
437
438struct netbsd32_getpgid_args;
439
440struct netbsd32_fchdir_args;
441
442struct linux32_sys_personality_args {
443 syscallarg(netbsd32_u_long) per;
444};
445check_syscall_args(linux32_sys_personality)
446
447struct linux32_sys_setfsuid_args;
448
449struct linux32_sys_setfsgid_args;
450
451struct linux32_sys_llseek_args {
452 syscallarg(int) fd;
453 syscallarg(u_int32_t) ohigh;
454 syscallarg(u_int32_t) olow;
455 syscallarg(netbsd32_voidp) res;
456 syscallarg(int) whence;
457};
458check_syscall_args(linux32_sys_llseek)
459
460struct linux32_sys_getdents_args {
461 syscallarg(int) fd;
462 syscallarg(linux32_direntp_t) dent;
463 syscallarg(unsigned int) count;
464};
465check_syscall_args(linux32_sys_getdents)
466
467struct linux32_sys_select_args {
468 syscallarg(int) nfds;
469 syscallarg(netbsd32_fd_setp_t) readfds;
470 syscallarg(netbsd32_fd_setp_t) writefds;
471 syscallarg(netbsd32_fd_setp_t) exceptfds;
472 syscallarg(netbsd32_timeval50p_t) timeout;
473};
474check_syscall_args(linux32_sys_select)
475
476struct netbsd32_flock_args;
477
478struct netbsd32___msync13_args;
479
480struct netbsd32_readv_args;
481
482struct netbsd32_writev_args;
483
484struct netbsd32_getsid_args;
485
486struct linux32_sys_fdatasync_args {
487 syscallarg(int) fd;
488};
489check_syscall_args(linux32_sys_fdatasync)
490
491struct linux32_sys___sysctl_args {
492 syscallarg(linux32___sysctlp_t) lsp;
493};
494check_syscall_args(linux32_sys___sysctl)
495
496struct netbsd32_mlock_args;
497
498struct netbsd32_munlock_args;
499
500struct netbsd32_mlockall_args;
501
502struct linux32_sys_sched_setparam_args {
503 syscallarg(pid_t) pid;
504 syscallarg(const linux32_sched_paramp_t) sp;
505};
506check_syscall_args(linux32_sys_sched_setparam)
507
508struct linux32_sys_sched_getparam_args {
509 syscallarg(pid_t) pid;
510 syscallarg(linux32_sched_paramp_t) sp;
511};
512check_syscall_args(linux32_sys_sched_getparam)
513
514struct linux32_sys_sched_setscheduler_args {
515 syscallarg(pid_t) pid;
516 syscallarg(int) policy;
517 syscallarg(linux32_sched_paramp_t) sp;
518};
519check_syscall_args(linux32_sys_sched_setscheduler)
520
521struct linux32_sys_sched_getscheduler_args {
522 syscallarg(pid_t) pid;
523};
524check_syscall_args(linux32_sys_sched_getscheduler)
525
526struct linux32_sys_sched_get_priority_max_args {
527 syscallarg(int) policy;
528};
529check_syscall_args(linux32_sys_sched_get_priority_max)
530
531struct linux32_sys_sched_get_priority_min_args {
532 syscallarg(int) policy;
533};
534check_syscall_args(linux32_sys_sched_get_priority_min)
535
536struct linux32_sys_nanosleep_args {
537 syscallarg(linux32_timespecp_t) rqtp;
538 syscallarg(linux32_timespecp_t) rmtp;
539};
540check_syscall_args(linux32_sys_nanosleep)
541
542struct linux32_sys_mremap_args {
543 syscallarg(netbsd32_voidp) old_address;
544 syscallarg(netbsd32_size_t) old_size;
545 syscallarg(netbsd32_size_t) new_size;
546 syscallarg(netbsd32_u_long) flags;
547};
548check_syscall_args(linux32_sys_mremap)
549
550struct linux32_sys_setresuid16_args {
551 syscallarg(linux32_uid16_t) ruid;
552 syscallarg(linux32_uid16_t) euid;
553 syscallarg(linux32_uid16_t) suid;
554};
555check_syscall_args(linux32_sys_setresuid16)
556
557struct linux32_sys_getresuid16_args {
558 syscallarg(linux32_uid16p_t) ruid;
559 syscallarg(linux32_uid16p_t) euid;
560 syscallarg(linux32_uid16p_t) suid;
561};
562check_syscall_args(linux32_sys_getresuid16)
563
564struct netbsd32_poll_args;
565
566struct linux32_sys_setresgid16_args {
567 syscallarg(linux32_gid16_t) rgid;
568 syscallarg(linux32_gid16_t) egid;
569 syscallarg(linux32_gid16_t) sgid;
570};
571check_syscall_args(linux32_sys_setresgid16)
572
573struct linux32_sys_getresgid16_args {
574 syscallarg(linux32_gid16p_t) rgid;
575 syscallarg(linux32_gid16p_t) egid;
576 syscallarg(linux32_gid16p_t) sgid;
577};
578check_syscall_args(linux32_sys_getresgid16)
579
580struct linux32_sys_rt_sigreturn_args {
581 syscallarg(linux32_ucontextp_t) ucp;
582};
583check_syscall_args(linux32_sys_rt_sigreturn)
584
585struct linux32_sys_rt_sigaction_args {
586 syscallarg(int) signum;
587 syscallarg(linux32_sigactionp_t) nsa;
588 syscallarg(linux32_sigactionp_t) osa;
589 syscallarg(netbsd32_size_t) sigsetsize;
590};
591check_syscall_args(linux32_sys_rt_sigaction)
592
593struct linux32_sys_rt_sigprocmask_args {
594 syscallarg(int) how;
595 syscallarg(linux32_sigsetp_t) set;
596 syscallarg(linux32_sigsetp_t) oset;
597 syscallarg(netbsd32_size_t) sigsetsize;
598};
599check_syscall_args(linux32_sys_rt_sigprocmask)
600
601struct linux32_sys_rt_sigpending_args {
602 syscallarg(linux32_sigsetp_t) set;
603 syscallarg(netbsd32_size_t) sigsetsize;
604};
605check_syscall_args(linux32_sys_rt_sigpending)
606
607struct linux32_sys_rt_sigtimedwait_args {
608 syscallarg(const linux32_sigsetp_t) set;
609 syscallarg(linux32_siginfop_t) info;
610 syscallarg(const linux32_timespecp_t) timeout;
611};
612check_syscall_args(linux32_sys_rt_sigtimedwait)
613
614struct linux32_sys_rt_queueinfo_args {
615 syscallarg(int) pid;
616 syscallarg(int) sig;
617 syscallarg(linux32_siginfop_t) uinfo;
618};
619check_syscall_args(linux32_sys_rt_queueinfo)
620
621struct linux32_sys_rt_sigsuspend_args {
622 syscallarg(linux32_sigsetp_t) unewset;
623 syscallarg(netbsd32_size_t) sigsetsize;
624};
625check_syscall_args(linux32_sys_rt_sigsuspend)
626
627struct linux32_sys_pread_args {
628 syscallarg(int) fd;
629 syscallarg(netbsd32_voidp) buf;
630 syscallarg(netbsd32_size_t) nbyte;
631 syscallarg(netbsd32_off_t) offset;
632};
633check_syscall_args(linux32_sys_pread)
634
635struct linux32_sys_pwrite_args {
636 syscallarg(int) fd;
637 syscallarg(netbsd32_voidp) buf;
638 syscallarg(netbsd32_size_t) nbyte;
639 syscallarg(netbsd32_off_t) offset;
640};
641check_syscall_args(linux32_sys_pwrite)
642
643struct linux32_sys_chown16_args {
644 syscallarg(netbsd32_charp) path;
645 syscallarg(linux32_uid16_t) uid;
646 syscallarg(linux32_gid16_t) gid;
647};
648check_syscall_args(linux32_sys_chown16)
649
650struct netbsd32___getcwd_args;
651
652struct linux32_sys_ugetrlimit_args {
653 syscallarg(int) which;
654 syscallarg(netbsd32_orlimitp_t) rlp;
655};
656check_syscall_args(linux32_sys_ugetrlimit)
657
658struct linux32_sys_mmap2_args {
659 syscallarg(netbsd32_u_long) addr;
660 syscallarg(netbsd32_size_t) len;
661 syscallarg(int) prot;
662 syscallarg(int) flags;
663 syscallarg(int) fd;
664 syscallarg(linux32_off_t) offset;
665};
666check_syscall_args(linux32_sys_mmap2)
667
668struct linux32_sys_truncate64_args {
669 syscallarg(netbsd32_charp) path;
670 syscallarg(uint32_t) lenlo;
671 syscallarg(uint32_t) lenhi;
672};
673check_syscall_args(linux32_sys_truncate64)
674
675struct linux32_sys_ftruncate64_args {
676 syscallarg(unsigned int) fd;
677 syscallarg(uint32_t) lenlo;
678 syscallarg(uint32_t) lenhi;
679};
680check_syscall_args(linux32_sys_ftruncate64)
681
682struct linux32_sys_stat64_args {
683 syscallarg(netbsd32_charp) path;
684 syscallarg(linux32_stat64p) sp;
685};
686check_syscall_args(linux32_sys_stat64)
687
688struct linux32_sys_lstat64_args {
689 syscallarg(netbsd32_charp) path;
690 syscallarg(linux32_stat64p) sp;
691};
692check_syscall_args(linux32_sys_lstat64)
693
694struct linux32_sys_fstat64_args {
695 syscallarg(int) fd;
696 syscallarg(linux32_stat64p) sp;
697};
698check_syscall_args(linux32_sys_fstat64)
699
700struct netbsd32___posix_lchown_args;
701
702struct netbsd32_setreuid_args;
703
704struct netbsd32_setregid_args;
705
706struct netbsd32_getgroups_args;
707
708struct netbsd32_setgroups_args;
709
710struct netbsd32___posix_fchown_args;
711
712struct linux32_sys_setresuid_args {
713 syscallarg(uid_t) ruid;
714 syscallarg(uid_t) euid;
715 syscallarg(uid_t) suid;
716};
717check_syscall_args(linux32_sys_setresuid)
718
719struct linux32_sys_getresuid_args {
720 syscallarg(linux32_uidp_t) ruid;
721 syscallarg(linux32_uidp_t) euid;
722 syscallarg(linux32_uidp_t) suid;
723};
724check_syscall_args(linux32_sys_getresuid)
725
726struct linux32_sys_setresgid_args {
727 syscallarg(gid_t) rgid;
728 syscallarg(gid_t) egid;
729 syscallarg(gid_t) sgid;
730};
731check_syscall_args(linux32_sys_setresgid)
732
733struct linux32_sys_getresgid_args {
734 syscallarg(linux32_gidp_t) rgid;
735 syscallarg(linux32_gidp_t) egid;
736 syscallarg(linux32_gidp_t) sgid;
737};
738check_syscall_args(linux32_sys_getresgid)
739
740struct netbsd32___posix_chown_args;
741
742struct netbsd32_setuid_args;
743
744struct netbsd32_setgid_args;
745
746struct linux32_sys_setfsuid_args {
747 syscallarg(uid_t) uid;
748};
749check_syscall_args(linux32_sys_setfsuid)
750
751struct linux32_sys_setfsgid_args {
752 syscallarg(gid_t) gid;
753};
754check_syscall_args(linux32_sys_setfsgid)
755
756struct netbsd32_mincore_args;
757
758struct netbsd32_madvise_args;
759
760struct linux32_sys_getdents64_args {
761 syscallarg(int) fd;
762 syscallarg(linux32_dirent64p_t) dent;
763 syscallarg(unsigned int) count;
764};
765check_syscall_args(linux32_sys_getdents64)
766#define linux32_sys_fcntl64 linux32_sys_fcntl
767#define linux32_sys_fcntl64_args linux32_sys_fcntl_args
768
769struct linux32_sys_fcntl64_args;
770
771struct netbsd32_setxattr_args;
772
773struct netbsd32_lsetxattr_args;
774
775struct netbsd32_fsetxattr_args;
776
777struct netbsd32_getxattr_args;
778
779struct netbsd32_lgetxattr_args;
780
781struct netbsd32_fgetxattr_args;
782
783struct netbsd32_listxattr_args;
784
785struct netbsd32_llistxattr_args;
786
787struct netbsd32_flistxattr_args;
788
789struct netbsd32_removexattr_args;
790
791struct netbsd32_lremovexattr_args;
792
793struct netbsd32_fremovexattr_args;
794
795struct linux32_sys_tkill_args {
796 syscallarg(int) tid;
797 syscallarg(int) sig;
798};
799check_syscall_args(linux32_sys_tkill)
800
801struct linux32_sys_futex_args {
802 syscallarg(linux32_intp_t) uaddr;
803 syscallarg(int) op;
804 syscallarg(int) val;
805 syscallarg(linux32_timespecp_t) timeout;
806 syscallarg(linux32_intp_t) uaddr2;
807 syscallarg(int) val3;
808};
809check_syscall_args(linux32_sys_futex)
810
811struct linux32_sys_sched_setaffinity_args {
812 syscallarg(pid_t) pid;
813 syscallarg(unsigned int) len;
814 syscallarg(linux32_ulongp_t) mask;
815};
816check_syscall_args(linux32_sys_sched_setaffinity)
817
818struct linux32_sys_sched_getaffinity_args {
819 syscallarg(pid_t) pid;
820 syscallarg(unsigned int) len;
821 syscallarg(linux32_ulongp_t) mask;
822};
823check_syscall_args(linux32_sys_sched_getaffinity)
824
825struct linux32_sys_set_thread_area_args {
826 syscallarg(linux32_user_descp_t) desc;
827};
828check_syscall_args(linux32_sys_set_thread_area)
829
830struct linux32_sys_get_thread_area_args {
831 syscallarg(linux32_user_descp_t) desc;
832};
833check_syscall_args(linux32_sys_get_thread_area)
834
835struct linux32_sys_fadvise64_args {
836 syscallarg(int) fd;
837 syscallarg(uint32_t) offlo;
838 syscallarg(uint32_t) offhi;
839 syscallarg(linux32_size_t) len;
840 syscallarg(int) advice;
841};
842check_syscall_args(linux32_sys_fadvise64)
843
844struct linux32_sys_exit_group_args {
845 syscallarg(int) error_code;
846};
847check_syscall_args(linux32_sys_exit_group)
848
849struct linux32_sys_set_tid_address_args {
850 syscallarg(linux32_intp_t) tid;
851};
852check_syscall_args(linux32_sys_set_tid_address)
853
854struct linux32_sys_clock_settime_args {
855 syscallarg(clockid_t) which;
856 syscallarg(linux32_timespecp_t) tp;
857};
858check_syscall_args(linux32_sys_clock_settime)
859
860struct linux32_sys_clock_gettime_args {
861 syscallarg(clockid_t) which;
862 syscallarg(linux32_timespecp_t) tp;
863};
864check_syscall_args(linux32_sys_clock_gettime)
865
866struct linux32_sys_clock_getres_args {
867 syscallarg(clockid_t) which;
868 syscallarg(linux32_timespecp_t) tp;
869};
870check_syscall_args(linux32_sys_clock_getres)
871
872struct linux32_sys_clock_nanosleep_args {
873 syscallarg(clockid_t) which;
874 syscallarg(int) flags;
875 syscallarg(linux32_timespecp_t) rqtp;
876 syscallarg(linux32_timespecp_t) rmtp;
877};
878check_syscall_args(linux32_sys_clock_nanosleep)
879
880struct linux32_sys_statfs64_args {
881 syscallarg(netbsd32_charp) path;
882 syscallarg(netbsd32_size_t) sz;
883 syscallarg(linux32_statfs64p) sp;
884};
885check_syscall_args(linux32_sys_statfs64)
886
887struct linux32_sys_fstatfs64_args {
888 syscallarg(int) fd;
889 syscallarg(netbsd32_size_t) sz;
890 syscallarg(linux32_statfs64p) sp;
891};
892check_syscall_args(linux32_sys_fstatfs64)
893
894struct linux32_sys_tgkill_args {
895 syscallarg(int) tgid;
896 syscallarg(int) tid;
897 syscallarg(int) sig;
898};
899check_syscall_args(linux32_sys_tgkill)
900
901struct compat_50_netbsd32_utimes_args;
902
903struct linux32_sys_fadvise64_64_args {
904 syscallarg(int) fd;
905 syscallarg(uint32_t) offlo;
906 syscallarg(uint32_t) offhi;
907 syscallarg(uint32_t) lenlo;
908 syscallarg(uint32_t) lenhi;
909 syscallarg(int) advice;
910};
911check_syscall_args(linux32_sys_fadvise64_64)
912
913struct linux32_sys_openat_args {
914 syscallarg(int) fd;
915 syscallarg(netbsd32_charp) path;
916 syscallarg(int) flags;
917 syscallarg(linux_umode_t) mode;
918};
919check_syscall_args(linux32_sys_openat)
920
921struct netbsd32_mkdirat_args;
922
923struct linux32_sys_mknodat_args {
924 syscallarg(int) fd;
925 syscallarg(netbsd32_charp) path;
926 syscallarg(linux_umode_t) mode;
927 syscallarg(unsigned) dev;
928};
929check_syscall_args(linux32_sys_mknodat)
930
931struct linux32_sys_fchownat_args {
932 syscallarg(int) fd;
933 syscallarg(netbsd32_charp) path;
934 syscallarg(uid_t) owner;
935 syscallarg(gid_t) group;
936 syscallarg(int) flag;
937};
938check_syscall_args(linux32_sys_fchownat)
939
940struct linux32_sys_fstatat64_args {
941 syscallarg(int) fd;
942 syscallarg(netbsd32_charp) path;
943 syscallarg(linux32_stat64p) sp;
944 syscallarg(int) flag;
945};
946check_syscall_args(linux32_sys_fstatat64)
947
948struct linux32_sys_unlinkat_args {
949 syscallarg(int) fd;
950 syscallarg(netbsd32_charp) path;
951 syscallarg(int) flag;
952};
953check_syscall_args(linux32_sys_unlinkat)
954
955struct netbsd32_renameat_args;
956
957struct linux32_sys_linkat_args {
958 syscallarg(int) fd1;
959 syscallarg(netbsd32_charp) name1;
960 syscallarg(int) fd2;
961 syscallarg(netbsd32_charp) name2;
962 syscallarg(int) flags;
963};
964check_syscall_args(linux32_sys_linkat)
965
966struct netbsd32_symlinkat_args;
967
968struct netbsd32_readlinkat_args;
969
970struct linux32_sys_fchmodat_args {
971 syscallarg(int) fd;
972 syscallarg(netbsd32_charp) path;
973 syscallarg(linux_umode_t) mode;
974};
975check_syscall_args(linux32_sys_fchmodat)
976
977struct linux32_sys_faccessat_args {
978 syscallarg(int) fd;
979 syscallarg(netbsd32_charp) path;
980 syscallarg(int) amode;
981};
982check_syscall_args(linux32_sys_faccessat)
983
984struct linux32_sys_ppoll_args {
985 syscallarg(netbsd32_pollfdp_t) fds;
986 syscallarg(u_int) nfds;
987 syscallarg(linux32_timespecp_t) timeout;
988 syscallarg(linux32_sigsetp_t) sigset;
989};
990check_syscall_args(linux32_sys_ppoll)
991
992struct linux32_sys_set_robust_list_args {
993 syscallarg(linux32_robust_list_headp_t) head;
994 syscallarg(linux32_size_t) len;
995};
996check_syscall_args(linux32_sys_set_robust_list)
997
998struct linux32_sys_get_robust_list_args {
999 syscallarg(linux32_pid_t) pid;
1000 syscallarg(linux32_robust_list_headpp_t) head;
1001 syscallarg(linux32_sizep_t) len;
1002};
1003check_syscall_args(linux32_sys_get_robust_list)
1004
1005struct linux32_sys_utimensat_args {
1006 syscallarg(int) fd;
1007 syscallarg(netbsd32_charp) path;
1008 syscallarg(linux32_timespecp_t) times;
1009 syscallarg(int) flag;
1010};
1011check_syscall_args(linux32_sys_utimensat)
1012
1013struct linux32_sys_dup3_args {
1014 syscallarg(int) from;
1015 syscallarg(int) to;
1016 syscallarg(int) flags;
1017};
1018check_syscall_args(linux32_sys_dup3)
1019
1020struct linux32_sys_pipe2_args {
1021 syscallarg(netbsd32_intp) fd;
1022 syscallarg(int) flags;
1023};
1024check_syscall_args(linux32_sys_pipe2)
1025
1026/*
1027 * System call prototypes.
1028 */
1029
1030int linux_sys_nosys(struct lwp *, const void *, register_t *);
1031
1032int linux32_sys_exit(struct lwp *, const struct linux32_sys_exit_args *, register_t *);
1033
1034int sys_fork(struct lwp *, const void *, register_t *);
1035
1036int netbsd32_read(struct lwp *, const struct netbsd32_read_args *, register_t *);
1037
1038int netbsd32_write(struct lwp *, const struct netbsd32_write_args *, register_t *);
1039
1040int linux32_sys_open(struct lwp *, const struct linux32_sys_open_args *, register_t *);
1041
1042int netbsd32_close(struct lwp *, const struct netbsd32_close_args *, register_t *);
1043
1044int linux32_sys_waitpid(struct lwp *, const struct linux32_sys_waitpid_args *, register_t *);
1045
1046int linux32_sys_creat(struct lwp *, const struct linux32_sys_creat_args *, register_t *);
1047
1048int netbsd32_link(struct lwp *, const struct netbsd32_link_args *, register_t *);
1049
1050int linux32_sys_unlink(struct lwp *, const struct linux32_sys_unlink_args *, register_t *);
1051
1052int netbsd32_execve(struct lwp *, const struct netbsd32_execve_args *, register_t *);
1053
1054int netbsd32_chdir(struct lwp *, const struct netbsd32_chdir_args *, register_t *);
1055
1056int linux32_sys_time(struct lwp *, const struct linux32_sys_time_args *, register_t *);
1057
1058int linux32_sys_mknod(struct lwp *, const struct linux32_sys_mknod_args *, register_t *);
1059
1060int netbsd32_chmod(struct lwp *, const struct netbsd32_chmod_args *, register_t *);
1061
1062int linux32_sys_lchown16(struct lwp *, const struct linux32_sys_lchown16_args *, register_t *);
1063
1064int linux32_sys_break(struct lwp *, const struct linux32_sys_break_args *, register_t *);
1065
1066int compat_43_netbsd32_olseek(struct lwp *, const struct compat_43_netbsd32_olseek_args *, register_t *);
1067
1068int sys_getpid(struct lwp *, const void *, register_t *);
1069
1070int netbsd32_setuid(struct lwp *, const struct netbsd32_setuid_args *, register_t *);
1071
1072int sys_getuid(struct lwp *, const void *, register_t *);
1073
1074int linux32_sys_stime(struct lwp *, const struct linux32_sys_stime_args *, register_t *);
1075
1076int linux32_sys_ptrace(struct lwp *, const struct linux32_sys_ptrace_args *, register_t *);
1077
1078int linux32_sys_alarm(struct lwp *, const struct linux32_sys_alarm_args *, register_t *);
1079
1080int linux_sys_pause(struct lwp *, const void *, register_t *);
1081
1082int linux32_sys_utime(struct lwp *, const struct linux32_sys_utime_args *, register_t *);
1083
1084int netbsd32_access(struct lwp *, const struct netbsd32_access_args *, register_t *);
1085
1086int linux32_sys_nice(struct lwp *, const struct linux32_sys_nice_args *, register_t *);
1087
1088int sys_sync(struct lwp *, const void *, register_t *);
1089
1090int linux32_sys_kill(struct lwp *, const struct linux32_sys_kill_args *, register_t *);
1091
1092int netbsd32___posix_rename(struct lwp *, const struct netbsd32___posix_rename_args *, register_t *);
1093
1094int netbsd32_mkdir(struct lwp *, const struct netbsd32_mkdir_args *, register_t *);
1095
1096int netbsd32_rmdir(struct lwp *, const struct netbsd32_rmdir_args *, register_t *);
1097
1098int netbsd32_dup(struct lwp *, const struct netbsd32_dup_args *, register_t *);
1099
1100int linux32_sys_pipe(struct lwp *, const struct linux32_sys_pipe_args *, register_t *);
1101
1102int linux32_sys_times(struct lwp *, const struct linux32_sys_times_args *, register_t *);
1103
1104int linux32_sys_brk(struct lwp *, const struct linux32_sys_brk_args *, register_t *);
1105
1106int netbsd32_setgid(struct lwp *, const struct netbsd32_setgid_args *, register_t *);
1107
1108int sys_getgid(struct lwp *, const void *, register_t *);
1109
1110int linux32_sys_signal(struct lwp *, const struct linux32_sys_signal_args *, register_t *);
1111
1112int sys_geteuid(struct lwp *, const void *, register_t *);
1113
1114int sys_getegid(struct lwp *, const void *, register_t *);
1115
1116int netbsd32_acct(struct lwp *, const struct netbsd32_acct_args *, register_t *);
1117
1118int linux32_sys_ioctl(struct lwp *, const struct linux32_sys_ioctl_args *, register_t *);
1119
1120int linux32_sys_fcntl(struct lwp *, const struct linux32_sys_fcntl_args *, register_t *);
1121
1122int netbsd32_setpgid(struct lwp *, const struct netbsd32_setpgid_args *, register_t *);
1123
1124int linux32_sys_oldolduname(struct lwp *, const struct linux32_sys_oldolduname_args *, register_t *);
1125
1126int netbsd32_umask(struct lwp *, const struct netbsd32_umask_args *, register_t *);
1127
1128int netbsd32_chroot(struct lwp *, const struct netbsd32_chroot_args *, register_t *);
1129
1130int netbsd32_dup2(struct lwp *, const struct netbsd32_dup2_args *, register_t *);
1131
1132int sys_getppid(struct lwp *, const void *, register_t *);
1133
1134int sys_getpgrp(struct lwp *, const void *, register_t *);
1135
1136int sys_setsid(struct lwp *, const void *, register_t *);
1137
1138int linux32_sys_siggetmask(struct lwp *, const void *, register_t *);
1139
1140int linux32_sys_sigsetmask(struct lwp *, const struct linux32_sys_sigsetmask_args *, register_t *);
1141
1142int linux32_sys_setreuid16(struct lwp *, const struct linux32_sys_setreuid16_args *, register_t *);
1143
1144int linux32_sys_setregid16(struct lwp *, const struct linux32_sys_setregid16_args *, register_t *);
1145
1146int compat_43_netbsd32_osethostname(struct lwp *, const struct compat_43_netbsd32_osethostname_args *, register_t *);
1147
1148int linux32_sys_setrlimit(struct lwp *, const struct linux32_sys_setrlimit_args *, register_t *);
1149
1150int linux32_sys_getrlimit(struct lwp *, const struct linux32_sys_getrlimit_args *, register_t *);
1151
1152int compat_50_netbsd32_getrusage(struct lwp *, const struct compat_50_netbsd32_getrusage_args *, register_t *);
1153
1154int linux32_sys_gettimeofday(struct lwp *, const struct linux32_sys_gettimeofday_args *, register_t *);
1155
1156int linux32_sys_settimeofday(struct lwp *, const struct linux32_sys_settimeofday_args *, register_t *);
1157
1158int linux32_sys_getgroups16(struct lwp *, const struct linux32_sys_getgroups16_args *, register_t *);
1159
1160int linux32_sys_setgroups16(struct lwp *, const struct linux32_sys_setgroups16_args *, register_t *);
1161
1162int linux32_sys_oldselect(struct lwp *, const struct linux32_sys_oldselect_args *, register_t *);
1163
1164int netbsd32_symlink(struct lwp *, const struct netbsd32_symlink_args *, register_t *);
1165
1166int compat_43_netbsd32_lstat43(struct lwp *, const struct compat_43_netbsd32_lstat43_args *, register_t *);
1167
1168int netbsd32_readlink(struct lwp *, const struct netbsd32_readlink_args *, register_t *);
1169
1170int linux32_sys_swapon(struct lwp *, const struct linux32_sys_swapon_args *, register_t *);
1171
1172int linux32_sys_reboot(struct lwp *, const struct linux32_sys_reboot_args *, register_t *);
1173
1174int linux32_sys_readdir(struct lwp *, const struct linux32_sys_readdir_args *, register_t *);
1175
1176int linux32_sys_old_mmap(struct lwp *, const struct linux32_sys_old_mmap_args *, register_t *);
1177
1178int netbsd32_munmap(struct lwp *, const struct netbsd32_munmap_args *, register_t *);
1179
1180int compat_43_netbsd32_otruncate(struct lwp *, const struct compat_43_netbsd32_otruncate_args *, register_t *);
1181
1182int compat_43_netbsd32_oftruncate(struct lwp *, const struct compat_43_netbsd32_oftruncate_args *, register_t *);
1183
1184int netbsd32_fchmod(struct lwp *, const struct netbsd32_fchmod_args *, register_t *);
1185
1186int linux32_sys_fchown16(struct lwp *, const struct linux32_sys_fchown16_args *, register_t *);
1187
1188int linux32_sys_getpriority(struct lwp *, const struct linux32_sys_getpriority_args *, register_t *);
1189
1190int netbsd32_setpriority(struct lwp *, const struct netbsd32_setpriority_args *, register_t *);
1191
1192int netbsd32_profil(struct lwp *, const struct netbsd32_profil_args *, register_t *);
1193
1194int linux32_sys_statfs(struct lwp *, const struct linux32_sys_statfs_args *, register_t *);
1195
1196int linux32_sys_fstatfs(struct lwp *, const struct linux32_sys_fstatfs_args *, register_t *);
1197
1198int linux_sys_ioperm(struct lwp *, const struct linux_sys_ioperm_args *, register_t *);
1199
1200int linux32_sys_socketcall(struct lwp *, const struct linux32_sys_socketcall_args *, register_t *);
1201
1202int compat_50_netbsd32_setitimer(struct lwp *, const struct compat_50_netbsd32_setitimer_args *, register_t *);
1203
1204int compat_50_netbsd32_getitimer(struct lwp *, const struct compat_50_netbsd32_getitimer_args *, register_t *);
1205
1206int linux32_sys_stat(struct lwp *, const struct linux32_sys_stat_args *, register_t *);
1207
1208int linux32_sys_lstat(struct lwp *, const struct linux32_sys_lstat_args *, register_t *);
1209
1210int linux32_sys_fstat(struct lwp *, const struct linux32_sys_fstat_args *, register_t *);
1211
1212int linux32_sys_olduname(struct lwp *, const struct linux32_sys_olduname_args *, register_t *);
1213
1214int linux_sys_iopl(struct lwp *, const struct linux_sys_iopl_args *, register_t *);
1215
1216int linux32_sys_wait4(struct lwp *, const struct linux32_sys_wait4_args *, register_t *);
1217
1218int linux32_sys_swapoff(struct lwp *, const struct linux32_sys_swapoff_args *, register_t *);
1219
1220int linux32_sys_sysinfo(struct lwp *, const struct linux32_sys_sysinfo_args *, register_t *);
1221
1222int linux32_sys_ipc(struct lwp *, const struct linux32_sys_ipc_args *, register_t *);
1223
1224int netbsd32_fsync(struct lwp *, const struct netbsd32_fsync_args *, register_t *);
1225
1226int linux32_sys_sigreturn(struct lwp *, const struct linux32_sys_sigreturn_args *, register_t *);
1227
1228int linux32_sys_clone(struct lwp *, const struct linux32_sys_clone_args *, register_t *);
1229
1230int linux32_sys_setdomainname(struct lwp *, const struct linux32_sys_setdomainname_args *, register_t *);
1231
1232int linux32_sys_uname(struct lwp *, const struct linux32_sys_uname_args *, register_t *);
1233
1234int linux32_sys_modify_ldt(struct lwp *, const struct linux32_sys_modify_ldt_args *, register_t *);
1235
1236int linux32_sys_mprotect(struct lwp *, const struct linux32_sys_mprotect_args *, register_t *);
1237
1238int netbsd32_getpgid(struct lwp *, const struct netbsd32_getpgid_args *, register_t *);
1239
1240int netbsd32_fchdir(struct lwp *, const struct netbsd32_fchdir_args *, register_t *);
1241
1242int linux32_sys_personality(struct lwp *, const struct linux32_sys_personality_args *, register_t *);
1243
1244int linux32_sys_setfsuid(struct lwp *, const struct linux32_sys_setfsuid_args *, register_t *);
1245
1246int linux32_sys_setfsgid(struct lwp *, const struct linux32_sys_setfsgid_args *, register_t *);
1247
1248int linux32_sys_llseek(struct lwp *, const struct linux32_sys_llseek_args *, register_t *);
1249
1250int linux32_sys_getdents(struct lwp *, const struct linux32_sys_getdents_args *, register_t *);
1251
1252int linux32_sys_select(struct lwp *, const struct linux32_sys_select_args *, register_t *);
1253
1254int netbsd32_flock(struct lwp *, const struct netbsd32_flock_args *, register_t *);
1255
1256int netbsd32___msync13(struct lwp *, const struct netbsd32___msync13_args *, register_t *);
1257
1258int netbsd32_readv(struct lwp *, const struct netbsd32_readv_args *, register_t *);
1259
1260int netbsd32_writev(struct lwp *, const struct netbsd32_writev_args *, register_t *);
1261
1262int netbsd32_getsid(struct lwp *, const struct netbsd32_getsid_args *, register_t *);
1263
1264int linux32_sys_fdatasync(struct lwp *, const struct linux32_sys_fdatasync_args *, register_t *);
1265
1266int linux32_sys___sysctl(struct lwp *, const struct linux32_sys___sysctl_args *, register_t *);
1267
1268int netbsd32_mlock(struct lwp *, const struct netbsd32_mlock_args *, register_t *);
1269
1270int netbsd32_munlock(struct lwp *, const struct netbsd32_munlock_args *, register_t *);
1271
1272int netbsd32_mlockall(struct lwp *, const struct netbsd32_mlockall_args *, register_t *);
1273
1274int sys_munlockall(struct lwp *, const void *, register_t *);
1275
1276int linux32_sys_sched_setparam(struct lwp *, const struct linux32_sys_sched_setparam_args *, register_t *);
1277
1278int linux32_sys_sched_getparam(struct lwp *, const struct linux32_sys_sched_getparam_args *, register_t *);
1279
1280int linux32_sys_sched_setscheduler(struct lwp *, const struct linux32_sys_sched_setscheduler_args *, register_t *);
1281
1282int linux32_sys_sched_getscheduler(struct lwp *, const struct linux32_sys_sched_getscheduler_args *, register_t *);
1283
1284int linux_sys_sched_yield(struct lwp *, const void *, register_t *);
1285
1286int linux32_sys_sched_get_priority_max(struct lwp *, const struct linux32_sys_sched_get_priority_max_args *, register_t *);
1287
1288int linux32_sys_sched_get_priority_min(struct lwp *, const struct linux32_sys_sched_get_priority_min_args *, register_t *);
1289
1290int linux32_sys_nanosleep(struct lwp *, const struct linux32_sys_nanosleep_args *, register_t *);
1291
1292int linux32_sys_mremap(struct lwp *, const struct linux32_sys_mremap_args *, register_t *);
1293
1294int linux32_sys_setresuid16(struct lwp *, const struct linux32_sys_setresuid16_args *, register_t *);
1295
1296int linux32_sys_getresuid16(struct lwp *, const struct linux32_sys_getresuid16_args *, register_t *);
1297
1298int netbsd32_poll(struct lwp *, const struct netbsd32_poll_args *, register_t *);
1299
1300int linux32_sys_setresgid16(struct lwp *, const struct linux32_sys_setresgid16_args *, register_t *);
1301
1302int linux32_sys_getresgid16(struct lwp *, const struct linux32_sys_getresgid16_args *, register_t *);
1303
1304int linux32_sys_rt_sigreturn(struct lwp *, const struct linux32_sys_rt_sigreturn_args *, register_t *);
1305
1306int linux32_sys_rt_sigaction(struct lwp *, const struct linux32_sys_rt_sigaction_args *, register_t *);
1307
1308int linux32_sys_rt_sigprocmask(struct lwp *, const struct linux32_sys_rt_sigprocmask_args *, register_t *);
1309
1310int linux32_sys_rt_sigpending(struct lwp *, const struct linux32_sys_rt_sigpending_args *, register_t *);
1311
1312int linux32_sys_rt_sigtimedwait(struct lwp *, const struct linux32_sys_rt_sigtimedwait_args *, register_t *);
1313
1314int linux32_sys_rt_queueinfo(struct lwp *, const struct linux32_sys_rt_queueinfo_args *, register_t *);
1315
1316int linux32_sys_rt_sigsuspend(struct lwp *, const struct linux32_sys_rt_sigsuspend_args *, register_t *);
1317
1318int linux32_sys_pread(struct lwp *, const struct linux32_sys_pread_args *, register_t *);
1319
1320int linux32_sys_pwrite(struct lwp *, const struct linux32_sys_pwrite_args *, register_t *);
1321
1322int linux32_sys_chown16(struct lwp *, const struct linux32_sys_chown16_args *, register_t *);
1323
1324int netbsd32___getcwd(struct lwp *, const struct netbsd32___getcwd_args *, register_t *);
1325
1326int sys___vfork14(struct lwp *, const void *, register_t *);
1327
1328int linux32_sys_ugetrlimit(struct lwp *, const struct linux32_sys_ugetrlimit_args *, register_t *);
1329
1330int linux32_sys_mmap2(struct lwp *, const struct linux32_sys_mmap2_args *, register_t *);
1331
1332int linux32_sys_truncate64(struct lwp *, const struct linux32_sys_truncate64_args *, register_t *);
1333
1334int linux32_sys_ftruncate64(struct lwp *, const struct linux32_sys_ftruncate64_args *, register_t *);
1335
1336int linux32_sys_stat64(struct lwp *, const struct linux32_sys_stat64_args *, register_t *);
1337
1338int linux32_sys_lstat64(struct lwp *, const struct linux32_sys_lstat64_args *, register_t *);
1339
1340int linux32_sys_fstat64(struct lwp *, const struct linux32_sys_fstat64_args *, register_t *);
1341
1342int netbsd32___posix_lchown(struct lwp *, const struct netbsd32___posix_lchown_args *, register_t *);
1343
1344int netbsd32_setreuid(struct lwp *, const struct netbsd32_setreuid_args *, register_t *);
1345
1346int netbsd32_setregid(struct lwp *, const struct netbsd32_setregid_args *, register_t *);
1347
1348int netbsd32_getgroups(struct lwp *, const struct netbsd32_getgroups_args *, register_t *);
1349
1350int netbsd32_setgroups(struct lwp *, const struct netbsd32_setgroups_args *, register_t *);
1351
1352int netbsd32___posix_fchown(struct lwp *, const struct netbsd32___posix_fchown_args *, register_t *);
1353
1354int linux32_sys_setresuid(struct lwp *, const struct linux32_sys_setresuid_args *, register_t *);
1355
1356int linux32_sys_getresuid(struct lwp *, const struct linux32_sys_getresuid_args *, register_t *);
1357
1358int linux32_sys_setresgid(struct lwp *, const struct linux32_sys_setresgid_args *, register_t *);
1359
1360int linux32_sys_getresgid(struct lwp *, const struct linux32_sys_getresgid_args *, register_t *);
1361
1362int netbsd32___posix_chown(struct lwp *, const struct netbsd32___posix_chown_args *, register_t *);
1363
1364int netbsd32_mincore(struct lwp *, const struct netbsd32_mincore_args *, register_t *);
1365
1366int netbsd32_madvise(struct lwp *, const struct netbsd32_madvise_args *, register_t *);
1367
1368int linux32_sys_getdents64(struct lwp *, const struct linux32_sys_getdents64_args *, register_t *);
1369
1370#define linux32_sys_fcntl64 linux32_sys_fcntl
1371#define linux32_sys_fcntl64_args linux32_sys_fcntl_args
1372int linux32_sys_fcntl64(struct lwp *, const struct linux32_sys_fcntl64_args *, register_t *);
1373
1374int linux_sys_gettid(struct lwp *, const void *, register_t *);
1375
1376int netbsd32_setxattr(struct lwp *, const struct netbsd32_setxattr_args *, register_t *);
1377
1378int netbsd32_lsetxattr(struct lwp *, const struct netbsd32_lsetxattr_args *, register_t *);
1379
1380int netbsd32_fsetxattr(struct lwp *, const struct netbsd32_fsetxattr_args *, register_t *);
1381
1382int netbsd32_getxattr(struct lwp *, const struct netbsd32_getxattr_args *, register_t *);
1383
1384int netbsd32_lgetxattr(struct lwp *, const struct netbsd32_lgetxattr_args *, register_t *);
1385
1386int netbsd32_fgetxattr(struct lwp *, const struct netbsd32_fgetxattr_args *, register_t *);
1387
1388int netbsd32_listxattr(struct lwp *, const struct netbsd32_listxattr_args *, register_t *);
1389
1390int netbsd32_llistxattr(struct lwp *, const struct netbsd32_llistxattr_args *, register_t *);
1391
1392int netbsd32_flistxattr(struct lwp *, const struct netbsd32_flistxattr_args *, register_t *);
1393
1394int netbsd32_removexattr(struct lwp *, const struct netbsd32_removexattr_args *, register_t *);
1395
1396int netbsd32_lremovexattr(struct lwp *, const struct netbsd32_lremovexattr_args *, register_t *);
1397
1398int netbsd32_fremovexattr(struct lwp *, const struct netbsd32_fremovexattr_args *, register_t *);
1399
1400int linux32_sys_tkill(struct lwp *, const struct linux32_sys_tkill_args *, register_t *);
1401
1402int linux32_sys_futex(struct lwp *, const struct linux32_sys_futex_args *, register_t *);
1403
1404int linux32_sys_sched_setaffinity(struct lwp *, const struct linux32_sys_sched_setaffinity_args *, register_t *);
1405
1406int linux32_sys_sched_getaffinity(struct lwp *, const struct linux32_sys_sched_getaffinity_args *, register_t *);
1407
1408int linux32_sys_set_thread_area(struct lwp *, const struct linux32_sys_set_thread_area_args *, register_t *);
1409
1410int linux32_sys_get_thread_area(struct lwp *, const struct linux32_sys_get_thread_area_args *, register_t *);
1411
1412int linux32_sys_fadvise64(struct lwp *, const struct linux32_sys_fadvise64_args *, register_t *);
1413
1414int linux32_sys_exit_group(struct lwp *, const struct linux32_sys_exit_group_args *, register_t *);
1415
1416int linux32_sys_set_tid_address(struct lwp *, const struct linux32_sys_set_tid_address_args *, register_t *);
1417
1418int linux32_sys_clock_settime(struct lwp *, const struct linux32_sys_clock_settime_args *, register_t *);
1419
1420int linux32_sys_clock_gettime(struct lwp *, const struct linux32_sys_clock_gettime_args *, register_t *);
1421
1422int linux32_sys_clock_getres(struct lwp *, const struct linux32_sys_clock_getres_args *, register_t *);
1423
1424int linux32_sys_clock_nanosleep(struct lwp *, const struct linux32_sys_clock_nanosleep_args *, register_t *);
1425
1426int linux32_sys_statfs64(struct lwp *, const struct linux32_sys_statfs64_args *, register_t *);
1427
1428int linux32_sys_fstatfs64(struct lwp *, const struct linux32_sys_fstatfs64_args *, register_t *);
1429
1430int linux32_sys_tgkill(struct lwp *, const struct linux32_sys_tgkill_args *, register_t *);
1431
1432int compat_50_netbsd32_utimes(struct lwp *, const struct compat_50_netbsd32_utimes_args *, register_t *);
1433
1434int linux32_sys_fadvise64_64(struct lwp *, const struct linux32_sys_fadvise64_64_args *, register_t *);
1435
1436int linux32_sys_openat(struct lwp *, const struct linux32_sys_openat_args *, register_t *);
1437
1438int netbsd32_mkdirat(struct lwp *, const struct netbsd32_mkdirat_args *, register_t *);
1439
1440int linux32_sys_mknodat(struct lwp *, const struct linux32_sys_mknodat_args *, register_t *);
1441
1442int linux32_sys_fchownat(struct lwp *, const struct linux32_sys_fchownat_args *, register_t *);
1443
1444int linux32_sys_fstatat64(struct lwp *, const struct linux32_sys_fstatat64_args *, register_t *);
1445
1446int linux32_sys_unlinkat(struct lwp *, const struct linux32_sys_unlinkat_args *, register_t *);
1447
1448int netbsd32_renameat(struct lwp *, const struct netbsd32_renameat_args *, register_t *);
1449
1450int linux32_sys_linkat(struct lwp *, const struct linux32_sys_linkat_args *, register_t *);
1451
1452int netbsd32_symlinkat(struct lwp *, const struct netbsd32_symlinkat_args *, register_t *);
1453
1454int netbsd32_readlinkat(struct lwp *, const struct netbsd32_readlinkat_args *, register_t *);
1455
1456int linux32_sys_fchmodat(struct lwp *, const struct linux32_sys_fchmodat_args *, register_t *);
1457
1458int linux32_sys_faccessat(struct lwp *, const struct linux32_sys_faccessat_args *, register_t *);
1459
1460int linux32_sys_ppoll(struct lwp *, const struct linux32_sys_ppoll_args *, register_t *);
1461
1462int linux32_sys_set_robust_list(struct lwp *, const struct linux32_sys_set_robust_list_args *, register_t *);
1463
1464int linux32_sys_get_robust_list(struct lwp *, const struct linux32_sys_get_robust_list_args *, register_t *);
1465
1466int linux32_sys_utimensat(struct lwp *, const struct linux32_sys_utimensat_args *, register_t *);
1467
1468int linux32_sys_dup3(struct lwp *, const struct linux32_sys_dup3_args *, register_t *);
1469
1470int linux32_sys_pipe2(struct lwp *, const struct linux32_sys_pipe2_args *, register_t *);
1471
1472#endif /* _LINUX32_SYS_SYSCALLARGS_H_ */
1473