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