xref: /netbsd-src/sys/compat/linux/arch/m68k/linux_syscallargs.h (revision fad4c9f71477ae11cea2ee75ec82151ac770a534)
1 /* $NetBSD: linux_syscallargs.h,v 1.55 2006/06/13 22:24:34 he 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.50 2006/06/13 22:23:03 he Exp
8  */
9 
10 #ifndef _LINUX_SYS__SYSCALLARGS_H_
11 #define	_LINUX_SYS__SYSCALLARGS_H_
12 
13 #ifdef	syscallarg
14 #undef	syscallarg
15 #endif
16 
17 #define	syscallarg(x)							\
18 	union {								\
19 		register_t pad;						\
20 		struct { x datum; } le;					\
21 		struct { /* LINTED zero array dimension */		\
22 			int8_t pad[  /* CONSTCOND */			\
23 				(sizeof (register_t) < sizeof (x))	\
24 				? 0					\
25 				: sizeof (register_t) - sizeof (x)];	\
26 			x datum;					\
27 		} be;							\
28 	}
29 
30 struct linux_sys_open_args {
31 	syscallarg(const char *) path;
32 	syscallarg(int) flags;
33 	syscallarg(int) mode;
34 };
35 
36 struct linux_sys_waitpid_args {
37 	syscallarg(int) pid;
38 	syscallarg(int *) status;
39 	syscallarg(int) options;
40 };
41 
42 struct linux_sys_creat_args {
43 	syscallarg(const char *) path;
44 	syscallarg(int) mode;
45 };
46 
47 struct linux_sys_link_args {
48 	syscallarg(const char *) path;
49 	syscallarg(const char *) link;
50 };
51 
52 struct linux_sys_unlink_args {
53 	syscallarg(const char *) path;
54 };
55 
56 struct linux_sys_execve_args {
57 	syscallarg(const char *) path;
58 	syscallarg(char **) argp;
59 	syscallarg(char **) envp;
60 };
61 
62 struct linux_sys_chdir_args {
63 	syscallarg(const char *) path;
64 };
65 
66 struct linux_sys_time_args {
67 	syscallarg(linux_time_t *) t;
68 };
69 
70 struct linux_sys_mknod_args {
71 	syscallarg(const char *) path;
72 	syscallarg(int) mode;
73 	syscallarg(int) dev;
74 };
75 
76 struct linux_sys_chmod_args {
77 	syscallarg(const char *) path;
78 	syscallarg(int) mode;
79 };
80 
81 struct linux_sys_chown16_args {
82 	syscallarg(const char *) path;
83 	syscallarg(int) uid;
84 	syscallarg(int) gid;
85 };
86 #if !defined(_KERNEL) || defined(COMPAT_43)
87 #else
88 #endif
89 
90 struct linux_sys_stime_args {
91 	syscallarg(linux_time_t *) t;
92 };
93 
94 struct linux_sys_ptrace_args {
95 	syscallarg(int) request;
96 	syscallarg(int) pid;
97 	syscallarg(int) addr;
98 	syscallarg(int) data;
99 };
100 
101 struct linux_sys_alarm_args {
102 	syscallarg(unsigned int) secs;
103 };
104 
105 struct linux_sys_utime_args {
106 	syscallarg(const char *) path;
107 	syscallarg(struct linux_utimbuf *) times;
108 };
109 
110 struct linux_sys_access_args {
111 	syscallarg(const char *) path;
112 	syscallarg(int) flags;
113 };
114 
115 struct linux_sys_nice_args {
116 	syscallarg(int) incr;
117 };
118 
119 struct linux_sys_kill_args {
120 	syscallarg(int) pid;
121 	syscallarg(int) signum;
122 };
123 
124 struct linux_sys_rename_args {
125 	syscallarg(const char *) from;
126 	syscallarg(const char *) to;
127 };
128 
129 struct linux_sys_mkdir_args {
130 	syscallarg(const char *) path;
131 	syscallarg(int) mode;
132 };
133 
134 struct linux_sys_rmdir_args {
135 	syscallarg(const char *) path;
136 };
137 
138 struct linux_sys_pipe_args {
139 	syscallarg(int *) pfds;
140 };
141 
142 struct linux_sys_times_args {
143 	syscallarg(struct times *) tms;
144 };
145 
146 struct linux_sys_brk_args {
147 	syscallarg(char *) nsize;
148 };
149 
150 struct linux_sys_signal_args {
151 	syscallarg(int) signum;
152 	syscallarg(linux_handler_t) handler;
153 };
154 
155 struct linux_sys_ioctl_args {
156 	syscallarg(int) fd;
157 	syscallarg(u_long) com;
158 	syscallarg(caddr_t) data;
159 };
160 
161 struct linux_sys_fcntl_args {
162 	syscallarg(int) fd;
163 	syscallarg(int) cmd;
164 	syscallarg(void *) arg;
165 };
166 
167 struct linux_sys_sigaction_args {
168 	syscallarg(int) signum;
169 	syscallarg(const struct linux_old_sigaction *) nsa;
170 	syscallarg(struct linux_old_sigaction *) osa;
171 };
172 
173 struct linux_sys_sigsetmask_args {
174 	syscallarg(linux_old_sigset_t) mask;
175 };
176 
177 struct linux_sys_setreuid16_args {
178 	syscallarg(int) ruid;
179 	syscallarg(int) euid;
180 };
181 
182 struct linux_sys_setregid16_args {
183 	syscallarg(int) rgid;
184 	syscallarg(int) egid;
185 };
186 
187 struct linux_sys_sigsuspend_args {
188 	syscallarg(caddr_t) restart;
189 	syscallarg(int) oldmask;
190 	syscallarg(int) mask;
191 };
192 
193 struct linux_sys_sigpending_args {
194 	syscallarg(linux_old_sigset_t *) set;
195 };
196 #if !defined(_KERNEL) || defined(COMPAT_43)
197 #else
198 #endif
199 
200 struct linux_sys_setrlimit_args {
201 	syscallarg(u_int) which;
202 	syscallarg(struct orlimit *) rlp;
203 };
204 
205 struct linux_sys_getrlimit_args {
206 	syscallarg(u_int) which;
207 	syscallarg(struct orlimit *) rlp;
208 };
209 
210 struct linux_sys_gettimeofday_args {
211 	syscallarg(struct timeval *) tp;
212 	syscallarg(struct timezone *) tzp;
213 };
214 
215 struct linux_sys_settimeofday_args {
216 	syscallarg(struct timeval *) tp;
217 	syscallarg(struct timezone *) tzp;
218 };
219 
220 struct linux_sys_getgroups16_args {
221 	syscallarg(u_int) gidsetsize;
222 	syscallarg(linux_gid_t *) gidset;
223 };
224 
225 struct linux_sys_setgroups16_args {
226 	syscallarg(u_int) gidsetsize;
227 	syscallarg(linux_gid_t *) gidset;
228 };
229 
230 struct linux_sys_oldselect_args {
231 	syscallarg(struct linux_oldselect *) lsp;
232 };
233 
234 struct linux_sys_symlink_args {
235 	syscallarg(const char *) path;
236 	syscallarg(const char *) to;
237 };
238 #if !defined(_KERNEL) || defined(COMPAT_43)
239 #else
240 #endif
241 
242 struct linux_sys_readlink_args {
243 	syscallarg(const char *) name;
244 	syscallarg(char *) buf;
245 	syscallarg(int) count;
246 };
247 #ifdef EXEC_AOUT
248 
249 struct linux_sys_uselib_args {
250 	syscallarg(const char *) path;
251 };
252 #else
253 #endif
254 
255 struct linux_sys_swapon_args {
256 	syscallarg(char *) name;
257 };
258 
259 struct linux_sys_reboot_args {
260 	syscallarg(int) magic1;
261 	syscallarg(int) magic2;
262 	syscallarg(int) cmd;
263 	syscallarg(void *) arg;
264 };
265 
266 struct linux_sys_readdir_args {
267 	syscallarg(int) fd;
268 	syscallarg(caddr_t) dent;
269 	syscallarg(unsigned int) count;
270 };
271 
272 struct linux_sys_old_mmap_args {
273 	syscallarg(struct linux_oldmmap *) lmp;
274 };
275 
276 struct linux_sys_truncate_args {
277 	syscallarg(const char *) path;
278 	syscallarg(long) length;
279 };
280 #if !defined(_KERNEL) || defined(COMPAT_43)
281 #else
282 #endif
283 
284 struct linux_sys_fchown16_args {
285 	syscallarg(int) fd;
286 	syscallarg(int) uid;
287 	syscallarg(int) gid;
288 };
289 
290 struct linux_sys_getpriority_args {
291 	syscallarg(int) which;
292 	syscallarg(int) who;
293 };
294 
295 struct linux_sys_statfs_args {
296 	syscallarg(const char *) path;
297 	syscallarg(struct linux_statfs *) sp;
298 };
299 
300 struct linux_sys_fstatfs_args {
301 	syscallarg(int) fd;
302 	syscallarg(struct linux_statfs *) sp;
303 };
304 
305 struct linux_sys_socketcall_args {
306 	syscallarg(int) what;
307 	syscallarg(void *) args;
308 };
309 
310 struct linux_sys_stat_args {
311 	syscallarg(const char *) path;
312 	syscallarg(struct linux_stat *) sp;
313 };
314 
315 struct linux_sys_lstat_args {
316 	syscallarg(const char *) path;
317 	syscallarg(struct linux_stat *) sp;
318 };
319 
320 struct linux_sys_fstat_args {
321 	syscallarg(int) fd;
322 	syscallarg(struct linux_stat *) sp;
323 };
324 
325 struct linux_sys_wait4_args {
326 	syscallarg(int) pid;
327 	syscallarg(int *) status;
328 	syscallarg(int) options;
329 	syscallarg(struct rusage *) rusage;
330 };
331 
332 struct linux_sys_swapoff_args {
333 	syscallarg(const char *) path;
334 };
335 
336 struct linux_sys_sysinfo_args {
337 	syscallarg(struct linux_sysinfo *) arg;
338 };
339 
340 struct linux_sys_ipc_args {
341 	syscallarg(int) what;
342 	syscallarg(int) a1;
343 	syscallarg(int) a2;
344 	syscallarg(int) a3;
345 	syscallarg(caddr_t) ptr;
346 };
347 
348 struct linux_sys_clone_args {
349 	syscallarg(int) flags;
350 	syscallarg(void *) stack;
351 };
352 
353 struct linux_sys_setdomainname_args {
354 	syscallarg(char *) domainname;
355 	syscallarg(int) len;
356 };
357 
358 struct linux_sys_uname_args {
359 	syscallarg(struct linux_utsname *) up;
360 };
361 
362 struct linux_sys_cacheflush_args {
363 	syscallarg(unsigned long) addr;
364 	syscallarg(int) scope;
365 	syscallarg(int) cache;
366 	syscallarg(unsigned long) len;
367 };
368 
369 struct linux_sys_mprotect_args {
370 	syscallarg(const void *) start;
371 	syscallarg(unsigned long) len;
372 	syscallarg(int) prot;
373 };
374 
375 struct linux_sys_sigprocmask_args {
376 	syscallarg(int) how;
377 	syscallarg(const linux_old_sigset_t *) set;
378 	syscallarg(linux_old_sigset_t *) oset;
379 };
380 
381 struct linux_sys_getpgid_args {
382 	syscallarg(int) pid;
383 };
384 
385 struct linux_sys_personality_args {
386 	syscallarg(int) per;
387 };
388 
389 struct linux_sys_llseek_args {
390 	syscallarg(int) fd;
391 	syscallarg(u_int32_t) ohigh;
392 	syscallarg(u_int32_t) olow;
393 	syscallarg(caddr_t) res;
394 	syscallarg(int) whence;
395 };
396 
397 struct linux_sys_getdents_args {
398 	syscallarg(int) fd;
399 	syscallarg(struct linux_dirent *) dent;
400 	syscallarg(unsigned int) count;
401 };
402 
403 struct linux_sys_select_args {
404 	syscallarg(int) nfds;
405 	syscallarg(fd_set *) readfds;
406 	syscallarg(fd_set *) writefds;
407 	syscallarg(fd_set *) exceptfds;
408 	syscallarg(struct timeval *) timeout;
409 };
410 
411 struct linux_sys_msync_args {
412 	syscallarg(caddr_t) addr;
413 	syscallarg(int) len;
414 	syscallarg(int) fl;
415 };
416 
417 struct linux_sys_fdatasync_args {
418 	syscallarg(int) fd;
419 };
420 
421 struct linux_sys___sysctl_args {
422 	syscallarg(struct linux___sysctl *) lsp;
423 };
424 
425 struct linux_sys_sched_setparam_args {
426 	syscallarg(pid_t) pid;
427 	syscallarg(const struct linux_sched_param *) sp;
428 };
429 
430 struct linux_sys_sched_getparam_args {
431 	syscallarg(pid_t) pid;
432 	syscallarg(struct linux_sched_param *) sp;
433 };
434 
435 struct linux_sys_sched_setscheduler_args {
436 	syscallarg(pid_t) pid;
437 	syscallarg(int) policy;
438 	syscallarg(const struct linux_sched_param *) sp;
439 };
440 
441 struct linux_sys_sched_getscheduler_args {
442 	syscallarg(pid_t) pid;
443 };
444 
445 struct linux_sys_sched_get_priority_max_args {
446 	syscallarg(int) policy;
447 };
448 
449 struct linux_sys_sched_get_priority_min_args {
450 	syscallarg(int) policy;
451 };
452 
453 struct linux_sys_mremap_args {
454 	syscallarg(void *) old_address;
455 	syscallarg(size_t) old_size;
456 	syscallarg(size_t) new_size;
457 	syscallarg(u_long) flags;
458 };
459 
460 struct linux_sys_setresuid16_args {
461 	syscallarg(uid_t) ruid;
462 	syscallarg(uid_t) euid;
463 	syscallarg(uid_t) suid;
464 };
465 
466 struct linux_sys_setresgid16_args {
467 	syscallarg(gid_t) rgid;
468 	syscallarg(gid_t) egid;
469 	syscallarg(gid_t) sgid;
470 };
471 
472 struct linux_sys_rt_sigaction_args {
473 	syscallarg(int) signum;
474 	syscallarg(const struct linux_sigaction *) nsa;
475 	syscallarg(struct linux_sigaction *) osa;
476 	syscallarg(size_t) sigsetsize;
477 };
478 
479 struct linux_sys_rt_sigprocmask_args {
480 	syscallarg(int) how;
481 	syscallarg(const linux_sigset_t *) set;
482 	syscallarg(linux_sigset_t *) oset;
483 	syscallarg(size_t) sigsetsize;
484 };
485 
486 struct linux_sys_rt_sigpending_args {
487 	syscallarg(linux_sigset_t *) set;
488 	syscallarg(size_t) sigsetsize;
489 };
490 
491 struct linux_sys_rt_queueinfo_args {
492 	syscallarg(int) pid;
493 	syscallarg(int) signum;
494 	syscallarg(void *) uinfo;
495 };
496 
497 struct linux_sys_rt_sigsuspend_args {
498 	syscallarg(linux_sigset_t *) unewset;
499 	syscallarg(size_t) sigsetsize;
500 };
501 
502 struct linux_sys_pread_args {
503 	syscallarg(int) fd;
504 	syscallarg(char *) buf;
505 	syscallarg(size_t) nbyte;
506 	syscallarg(linux_off_t) offset;
507 };
508 
509 struct linux_sys_pwrite_args {
510 	syscallarg(int) fd;
511 	syscallarg(char *) buf;
512 	syscallarg(size_t) nbyte;
513 	syscallarg(linux_off_t) offset;
514 };
515 
516 struct linux_sys_lchown16_args {
517 	syscallarg(const char *) path;
518 	syscallarg(int) uid;
519 	syscallarg(int) gid;
520 };
521 
522 struct linux_sys_sigaltstack_args {
523 	syscallarg(const struct linux_sigaltstack *) ss;
524 	syscallarg(struct linux_sigaltstack *) oss;
525 };
526 
527 struct linux_sys_ugetrlimit_args {
528 	syscallarg(int) which;
529 	syscallarg(struct orlimit *) rlp;
530 };
531 
532 struct linux_sys_truncate64_args {
533 	syscallarg(const char *) path;
534 	syscallarg(off_t) length;
535 };
536 
537 struct linux_sys_ftruncate64_args {
538 	syscallarg(unsigned int) fd;
539 	syscallarg(off_t) length;
540 };
541 
542 struct linux_sys_stat64_args {
543 	syscallarg(const char *) path;
544 	syscallarg(struct linux_stat64 *) sp;
545 };
546 
547 struct linux_sys_lstat64_args {
548 	syscallarg(const char *) path;
549 	syscallarg(struct linux_stat64 *) sp;
550 };
551 
552 struct linux_sys_fstat64_args {
553 	syscallarg(int) fd;
554 	syscallarg(struct linux_stat64 *) sp;
555 };
556 
557 struct linux_sys_chown_args {
558 	syscallarg(const char *) path;
559 	syscallarg(uid_t) uid;
560 	syscallarg(gid_t) gid;
561 };
562 
563 struct linux_sys_setresuid_args {
564 	syscallarg(uid_t) ruid;
565 	syscallarg(uid_t) euid;
566 	syscallarg(uid_t) suid;
567 };
568 
569 struct linux_sys_getresuid_args {
570 	syscallarg(uid_t *) ruid;
571 	syscallarg(uid_t *) euid;
572 	syscallarg(uid_t *) suid;
573 };
574 
575 struct linux_sys_setresgid_args {
576 	syscallarg(gid_t) rgid;
577 	syscallarg(gid_t) egid;
578 	syscallarg(gid_t) sgid;
579 };
580 
581 struct linux_sys_getresgid_args {
582 	syscallarg(gid_t *) rgid;
583 	syscallarg(gid_t *) egid;
584 	syscallarg(gid_t *) sgid;
585 };
586 
587 struct linux_sys_lchown_args {
588 	syscallarg(const char *) path;
589 	syscallarg(uid_t) uid;
590 	syscallarg(gid_t) gid;
591 };
592 
593 struct linux_sys_setfsuid_args {
594 	syscallarg(uid_t) uid;
595 };
596 
597 struct linux_sys_getdents64_args {
598 	syscallarg(int) fd;
599 	syscallarg(struct linux_dirent64 *) dent;
600 	syscallarg(unsigned int) count;
601 };
602 
603 struct linux_sys_setxattr_args {
604 	syscallarg(char *) path;
605 	syscallarg(char *) name;
606 	syscallarg(void *) value;
607 	syscallarg(size_t) size;
608 	syscallarg(int) flags;
609 };
610 
611 struct linux_sys_lsetxattr_args {
612 	syscallarg(char *) path;
613 	syscallarg(char *) name;
614 	syscallarg(void *) value;
615 	syscallarg(size_t) size;
616 	syscallarg(int) flags;
617 };
618 
619 struct linux_sys_fsetxattr_args {
620 	syscallarg(int) fd;
621 	syscallarg(char *) name;
622 	syscallarg(void *) value;
623 	syscallarg(size_t) size;
624 	syscallarg(int) flags;
625 };
626 
627 struct linux_sys_getxattr_args {
628 	syscallarg(char *) path;
629 	syscallarg(char *) name;
630 	syscallarg(void *) value;
631 	syscallarg(size_t) size;
632 };
633 
634 struct linux_sys_lgetxattr_args {
635 	syscallarg(char *) path;
636 	syscallarg(char *) name;
637 	syscallarg(void *) value;
638 	syscallarg(size_t) size;
639 };
640 
641 struct linux_sys_fgetxattr_args {
642 	syscallarg(int) fd;
643 	syscallarg(char *) name;
644 	syscallarg(void *) value;
645 	syscallarg(size_t) size;
646 };
647 
648 struct linux_sys_listxattr_args {
649 	syscallarg(char *) path;
650 	syscallarg(char *) list;
651 	syscallarg(size_t) size;
652 };
653 
654 struct linux_sys_llistxattr_args {
655 	syscallarg(char *) path;
656 	syscallarg(char *) list;
657 	syscallarg(size_t) size;
658 };
659 
660 struct linux_sys_flistxattr_args {
661 	syscallarg(int) fd;
662 	syscallarg(char *) list;
663 	syscallarg(size_t) size;
664 };
665 
666 struct linux_sys_removexattr_args {
667 	syscallarg(char *) path;
668 	syscallarg(char *) name;
669 };
670 
671 struct linux_sys_lremovexattr_args {
672 	syscallarg(char *) path;
673 	syscallarg(char *) name;
674 };
675 
676 struct linux_sys_fremovexattr_args {
677 	syscallarg(int) fd;
678 	syscallarg(char *) name;
679 };
680 
681 struct linux_sys_clock_settime_args {
682 	syscallarg(clockid_t) which;
683 	syscallarg(struct linux_timespec *) tp;
684 };
685 
686 struct linux_sys_clock_gettime_args {
687 	syscallarg(clockid_t) which;
688 	syscallarg(struct linux_timespec *) tp;
689 };
690 
691 struct linux_sys_clock_getres_args {
692 	syscallarg(clockid_t) which;
693 	syscallarg(struct linux_timespec *) tp;
694 };
695 
696 struct linux_sys_clock_nanosleep_args {
697 	syscallarg(clockid_t) which;
698 	syscallarg(int) flags;
699 	syscallarg(struct linux_timespec *) rqtp;
700 	syscallarg(struct linux_timespec *) rmtp;
701 };
702 
703 /*
704  * System call prototypes.
705  */
706 
707 int	linux_sys_nosys(struct lwp *, void *, register_t *);
708 
709 int	sys_exit(struct lwp *, void *, register_t *);
710 
711 int	sys_fork(struct lwp *, void *, register_t *);
712 
713 int	sys_read(struct lwp *, void *, register_t *);
714 
715 int	sys_write(struct lwp *, void *, register_t *);
716 
717 int	linux_sys_open(struct lwp *, void *, register_t *);
718 
719 int	sys_close(struct lwp *, void *, register_t *);
720 
721 int	linux_sys_waitpid(struct lwp *, void *, register_t *);
722 
723 int	linux_sys_creat(struct lwp *, void *, register_t *);
724 
725 int	linux_sys_link(struct lwp *, void *, register_t *);
726 
727 int	linux_sys_unlink(struct lwp *, void *, register_t *);
728 
729 int	linux_sys_execve(struct lwp *, void *, register_t *);
730 
731 int	linux_sys_chdir(struct lwp *, void *, register_t *);
732 
733 int	linux_sys_time(struct lwp *, void *, register_t *);
734 
735 int	linux_sys_mknod(struct lwp *, void *, register_t *);
736 
737 int	linux_sys_chmod(struct lwp *, void *, register_t *);
738 
739 int	linux_sys_chown16(struct lwp *, void *, register_t *);
740 
741 #if !defined(_KERNEL) || defined(COMPAT_43)
742 int	compat_43_sys_lseek(struct lwp *, void *, register_t *);
743 
744 #else
745 #endif
746 int	sys_getpid(struct lwp *, void *, register_t *);
747 
748 int	sys_setuid(struct lwp *, void *, register_t *);
749 
750 int	sys_getuid(struct lwp *, void *, register_t *);
751 
752 int	linux_sys_stime(struct lwp *, void *, register_t *);
753 
754 int	linux_sys_ptrace(struct lwp *, void *, register_t *);
755 
756 int	linux_sys_alarm(struct lwp *, void *, register_t *);
757 
758 int	linux_sys_pause(struct lwp *, void *, register_t *);
759 
760 int	linux_sys_utime(struct lwp *, void *, register_t *);
761 
762 int	linux_sys_access(struct lwp *, void *, register_t *);
763 
764 int	linux_sys_nice(struct lwp *, void *, register_t *);
765 
766 int	sys_sync(struct lwp *, void *, register_t *);
767 
768 int	linux_sys_kill(struct lwp *, void *, register_t *);
769 
770 int	linux_sys_rename(struct lwp *, void *, register_t *);
771 
772 int	linux_sys_mkdir(struct lwp *, void *, register_t *);
773 
774 int	linux_sys_rmdir(struct lwp *, void *, register_t *);
775 
776 int	sys_dup(struct lwp *, void *, register_t *);
777 
778 int	linux_sys_pipe(struct lwp *, void *, register_t *);
779 
780 int	linux_sys_times(struct lwp *, void *, register_t *);
781 
782 int	linux_sys_brk(struct lwp *, void *, register_t *);
783 
784 int	sys_setgid(struct lwp *, void *, register_t *);
785 
786 int	sys_getgid(struct lwp *, void *, register_t *);
787 
788 int	linux_sys_signal(struct lwp *, void *, register_t *);
789 
790 int	sys_geteuid(struct lwp *, void *, register_t *);
791 
792 int	sys_getegid(struct lwp *, void *, register_t *);
793 
794 int	sys_acct(struct lwp *, void *, register_t *);
795 
796 int	linux_sys_ioctl(struct lwp *, void *, register_t *);
797 
798 int	linux_sys_fcntl(struct lwp *, void *, register_t *);
799 
800 int	sys_setpgid(struct lwp *, void *, register_t *);
801 
802 int	sys_umask(struct lwp *, void *, register_t *);
803 
804 int	sys_chroot(struct lwp *, void *, register_t *);
805 
806 int	sys_dup2(struct lwp *, void *, register_t *);
807 
808 int	sys_getppid(struct lwp *, void *, register_t *);
809 
810 int	sys_getpgrp(struct lwp *, void *, register_t *);
811 
812 int	sys_setsid(struct lwp *, void *, register_t *);
813 
814 int	linux_sys_sigaction(struct lwp *, void *, register_t *);
815 
816 int	linux_sys_siggetmask(struct lwp *, void *, register_t *);
817 
818 int	linux_sys_sigsetmask(struct lwp *, void *, register_t *);
819 
820 int	linux_sys_setreuid16(struct lwp *, void *, register_t *);
821 
822 int	linux_sys_setregid16(struct lwp *, void *, register_t *);
823 
824 int	linux_sys_sigsuspend(struct lwp *, void *, register_t *);
825 
826 int	linux_sys_sigpending(struct lwp *, void *, register_t *);
827 
828 #if !defined(_KERNEL) || defined(COMPAT_43)
829 int	compat_43_sys_sethostname(struct lwp *, void *, register_t *);
830 
831 #else
832 #endif
833 int	linux_sys_setrlimit(struct lwp *, void *, register_t *);
834 
835 int	linux_sys_getrlimit(struct lwp *, void *, register_t *);
836 
837 int	sys_getrusage(struct lwp *, void *, register_t *);
838 
839 int	linux_sys_gettimeofday(struct lwp *, void *, register_t *);
840 
841 int	linux_sys_settimeofday(struct lwp *, void *, register_t *);
842 
843 int	linux_sys_getgroups16(struct lwp *, void *, register_t *);
844 
845 int	linux_sys_setgroups16(struct lwp *, void *, register_t *);
846 
847 int	linux_sys_oldselect(struct lwp *, void *, register_t *);
848 
849 int	linux_sys_symlink(struct lwp *, void *, register_t *);
850 
851 #if !defined(_KERNEL) || defined(COMPAT_43)
852 int	compat_43_sys_lstat(struct lwp *, void *, register_t *);
853 
854 #else
855 #endif
856 int	linux_sys_readlink(struct lwp *, void *, register_t *);
857 
858 #ifdef EXEC_AOUT
859 int	linux_sys_uselib(struct lwp *, void *, register_t *);
860 
861 #else
862 #endif
863 int	linux_sys_swapon(struct lwp *, void *, register_t *);
864 
865 int	linux_sys_reboot(struct lwp *, void *, register_t *);
866 
867 int	linux_sys_readdir(struct lwp *, void *, register_t *);
868 
869 int	linux_sys_old_mmap(struct lwp *, void *, register_t *);
870 
871 int	sys_munmap(struct lwp *, void *, register_t *);
872 
873 int	linux_sys_truncate(struct lwp *, void *, register_t *);
874 
875 #if !defined(_KERNEL) || defined(COMPAT_43)
876 int	compat_43_sys_ftruncate(struct lwp *, void *, register_t *);
877 
878 #else
879 #endif
880 int	sys_fchmod(struct lwp *, void *, register_t *);
881 
882 int	linux_sys_fchown16(struct lwp *, void *, register_t *);
883 
884 int	linux_sys_getpriority(struct lwp *, void *, register_t *);
885 
886 int	sys_setpriority(struct lwp *, void *, register_t *);
887 
888 int	sys_profil(struct lwp *, void *, register_t *);
889 
890 int	linux_sys_statfs(struct lwp *, void *, register_t *);
891 
892 int	linux_sys_fstatfs(struct lwp *, void *, register_t *);
893 
894 int	linux_sys_socketcall(struct lwp *, void *, register_t *);
895 
896 int	sys_setitimer(struct lwp *, void *, register_t *);
897 
898 int	sys_getitimer(struct lwp *, void *, register_t *);
899 
900 int	linux_sys_stat(struct lwp *, void *, register_t *);
901 
902 int	linux_sys_lstat(struct lwp *, void *, register_t *);
903 
904 int	linux_sys_fstat(struct lwp *, void *, register_t *);
905 
906 int	linux_sys_wait4(struct lwp *, void *, register_t *);
907 
908 int	linux_sys_swapoff(struct lwp *, void *, register_t *);
909 
910 int	linux_sys_sysinfo(struct lwp *, void *, register_t *);
911 
912 int	linux_sys_ipc(struct lwp *, void *, register_t *);
913 
914 int	sys_fsync(struct lwp *, void *, register_t *);
915 
916 int	linux_sys_sigreturn(struct lwp *, void *, register_t *);
917 
918 int	linux_sys_clone(struct lwp *, void *, register_t *);
919 
920 int	linux_sys_setdomainname(struct lwp *, void *, register_t *);
921 
922 int	linux_sys_uname(struct lwp *, void *, register_t *);
923 
924 int	linux_sys_cacheflush(struct lwp *, void *, register_t *);
925 
926 int	linux_sys_mprotect(struct lwp *, void *, register_t *);
927 
928 int	linux_sys_sigprocmask(struct lwp *, void *, register_t *);
929 
930 int	linux_sys_getpgid(struct lwp *, void *, register_t *);
931 
932 int	sys_fchdir(struct lwp *, void *, register_t *);
933 
934 int	linux_sys_personality(struct lwp *, void *, register_t *);
935 
936 int	linux_sys_setfsuid(struct lwp *, void *, register_t *);
937 
938 int	linux_sys_getfsuid(struct lwp *, void *, register_t *);
939 
940 int	linux_sys_llseek(struct lwp *, void *, register_t *);
941 
942 int	linux_sys_getdents(struct lwp *, void *, register_t *);
943 
944 int	linux_sys_select(struct lwp *, void *, register_t *);
945 
946 int	sys_flock(struct lwp *, void *, register_t *);
947 
948 int	linux_sys_msync(struct lwp *, void *, register_t *);
949 
950 int	sys_readv(struct lwp *, void *, register_t *);
951 
952 int	sys_writev(struct lwp *, void *, register_t *);
953 
954 int	sys_getsid(struct lwp *, void *, register_t *);
955 
956 int	linux_sys_fdatasync(struct lwp *, void *, register_t *);
957 
958 int	linux_sys___sysctl(struct lwp *, void *, register_t *);
959 
960 int	sys_mlock(struct lwp *, void *, register_t *);
961 
962 int	sys_munlock(struct lwp *, void *, register_t *);
963 
964 int	sys_mlockall(struct lwp *, void *, register_t *);
965 
966 int	sys_munlockall(struct lwp *, void *, register_t *);
967 
968 int	linux_sys_sched_setparam(struct lwp *, void *, register_t *);
969 
970 int	linux_sys_sched_getparam(struct lwp *, void *, register_t *);
971 
972 int	linux_sys_sched_setscheduler(struct lwp *, void *, register_t *);
973 
974 int	linux_sys_sched_getscheduler(struct lwp *, void *, register_t *);
975 
976 int	linux_sys_sched_yield(struct lwp *, void *, register_t *);
977 
978 int	linux_sys_sched_get_priority_max(struct lwp *, void *, register_t *);
979 
980 int	linux_sys_sched_get_priority_min(struct lwp *, void *, register_t *);
981 
982 int	sys_nanosleep(struct lwp *, void *, register_t *);
983 
984 int	linux_sys_mremap(struct lwp *, void *, register_t *);
985 
986 int	linux_sys_setresuid16(struct lwp *, void *, register_t *);
987 
988 int	linux_sys_getresuid(struct lwp *, void *, register_t *);
989 
990 int	sys_poll(struct lwp *, void *, register_t *);
991 
992 int	linux_sys_setresgid16(struct lwp *, void *, register_t *);
993 
994 int	linux_sys_getresgid(struct lwp *, void *, register_t *);
995 
996 int	linux_sys_rt_sigreturn(struct lwp *, void *, register_t *);
997 
998 int	linux_sys_rt_sigaction(struct lwp *, void *, register_t *);
999 
1000 int	linux_sys_rt_sigprocmask(struct lwp *, void *, register_t *);
1001 
1002 int	linux_sys_rt_sigpending(struct lwp *, void *, register_t *);
1003 
1004 int	linux_sys_rt_queueinfo(struct lwp *, void *, register_t *);
1005 
1006 int	linux_sys_rt_sigsuspend(struct lwp *, void *, register_t *);
1007 
1008 int	linux_sys_pread(struct lwp *, void *, register_t *);
1009 
1010 int	linux_sys_pwrite(struct lwp *, void *, register_t *);
1011 
1012 int	linux_sys_lchown16(struct lwp *, void *, register_t *);
1013 
1014 int	sys___getcwd(struct lwp *, void *, register_t *);
1015 
1016 int	linux_sys_sigaltstack(struct lwp *, void *, register_t *);
1017 
1018 int	sys___vfork14(struct lwp *, void *, register_t *);
1019 
1020 int	linux_sys_ugetrlimit(struct lwp *, void *, register_t *);
1021 
1022 int	linux_sys_mmap2(struct lwp *, void *, register_t *);
1023 
1024 int	linux_sys_truncate64(struct lwp *, void *, register_t *);
1025 
1026 int	linux_sys_ftruncate64(struct lwp *, void *, register_t *);
1027 
1028 int	linux_sys_stat64(struct lwp *, void *, register_t *);
1029 
1030 int	linux_sys_lstat64(struct lwp *, void *, register_t *);
1031 
1032 int	linux_sys_fstat64(struct lwp *, void *, register_t *);
1033 
1034 int	linux_sys_chown(struct lwp *, void *, register_t *);
1035 
1036 int	sys_setreuid(struct lwp *, void *, register_t *);
1037 
1038 int	sys_setregid(struct lwp *, void *, register_t *);
1039 
1040 int	sys_getgroups(struct lwp *, void *, register_t *);
1041 
1042 int	sys_setgroups(struct lwp *, void *, register_t *);
1043 
1044 int	sys___posix_fchown(struct lwp *, void *, register_t *);
1045 
1046 int	linux_sys_setresuid(struct lwp *, void *, register_t *);
1047 
1048 int	linux_sys_setresgid(struct lwp *, void *, register_t *);
1049 
1050 int	linux_sys_lchown(struct lwp *, void *, register_t *);
1051 
1052 int	linux_sys_getdents64(struct lwp *, void *, register_t *);
1053 
1054 int	linux_sys_setxattr(struct lwp *, void *, register_t *);
1055 
1056 int	linux_sys_lsetxattr(struct lwp *, void *, register_t *);
1057 
1058 int	linux_sys_fsetxattr(struct lwp *, void *, register_t *);
1059 
1060 int	linux_sys_getxattr(struct lwp *, void *, register_t *);
1061 
1062 int	linux_sys_lgetxattr(struct lwp *, void *, register_t *);
1063 
1064 int	linux_sys_fgetxattr(struct lwp *, void *, register_t *);
1065 
1066 int	linux_sys_listxattr(struct lwp *, void *, register_t *);
1067 
1068 int	linux_sys_llistxattr(struct lwp *, void *, register_t *);
1069 
1070 int	linux_sys_flistxattr(struct lwp *, void *, register_t *);
1071 
1072 int	linux_sys_removexattr(struct lwp *, void *, register_t *);
1073 
1074 int	linux_sys_lremovexattr(struct lwp *, void *, register_t *);
1075 
1076 int	linux_sys_fremovexattr(struct lwp *, void *, register_t *);
1077 
1078 int	linux_sys_clock_settime(struct lwp *, void *, register_t *);
1079 
1080 int	linux_sys_clock_gettime(struct lwp *, void *, register_t *);
1081 
1082 int	linux_sys_clock_getres(struct lwp *, void *, register_t *);
1083 
1084 int	linux_sys_clock_nanosleep(struct lwp *, void *, register_t *);
1085 
1086 #endif /* _LINUX_SYS__SYSCALLARGS_H_ */
1087