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