xref: /netbsd-src/sys/compat/linux/arch/m68k/linux_syscallargs.h (revision 23c8222edbfb0f0932d88a8351d3a0cf817dfb9e)
1 /* $NetBSD: linux_syscallargs.h,v 1.48 2004/08/01 15:38:10 jdolecek 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.44 2004/08/01 15:34:22 jdolecek 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 
248 struct linux_sys_uselib_args {
249 	syscallarg(const char *) path;
250 };
251 
252 struct linux_sys_swapon_args {
253 	syscallarg(char *) name;
254 };
255 
256 struct linux_sys_reboot_args {
257 	syscallarg(int) magic1;
258 	syscallarg(int) magic2;
259 	syscallarg(int) cmd;
260 	syscallarg(void *) arg;
261 };
262 
263 struct linux_sys_readdir_args {
264 	syscallarg(int) fd;
265 	syscallarg(caddr_t) dent;
266 	syscallarg(unsigned int) count;
267 };
268 
269 struct linux_sys_old_mmap_args {
270 	syscallarg(struct linux_oldmmap *) lmp;
271 };
272 
273 struct linux_sys_truncate_args {
274 	syscallarg(const char *) path;
275 	syscallarg(long) length;
276 };
277 #if !defined(_KERNEL) || defined(COMPAT_43)
278 #else
279 #endif
280 
281 struct linux_sys_fchown16_args {
282 	syscallarg(int) fd;
283 	syscallarg(int) uid;
284 	syscallarg(int) gid;
285 };
286 
287 struct linux_sys_statfs_args {
288 	syscallarg(const char *) path;
289 	syscallarg(struct linux_statfs *) sp;
290 };
291 
292 struct linux_sys_fstatfs_args {
293 	syscallarg(int) fd;
294 	syscallarg(struct linux_statfs *) sp;
295 };
296 
297 struct linux_sys_socketcall_args {
298 	syscallarg(int) what;
299 	syscallarg(void *) args;
300 };
301 
302 struct linux_sys_stat_args {
303 	syscallarg(const char *) path;
304 	syscallarg(struct linux_stat *) sp;
305 };
306 
307 struct linux_sys_lstat_args {
308 	syscallarg(const char *) path;
309 	syscallarg(struct linux_stat *) sp;
310 };
311 
312 struct linux_sys_fstat_args {
313 	syscallarg(int) fd;
314 	syscallarg(struct linux_stat *) sp;
315 };
316 
317 struct linux_sys_wait4_args {
318 	syscallarg(int) pid;
319 	syscallarg(int *) status;
320 	syscallarg(int) options;
321 	syscallarg(struct rusage *) rusage;
322 };
323 
324 struct linux_sys_swapoff_args {
325 	syscallarg(const char *) path;
326 };
327 
328 struct linux_sys_sysinfo_args {
329 	syscallarg(struct linux_sysinfo *) arg;
330 };
331 
332 struct linux_sys_ipc_args {
333 	syscallarg(int) what;
334 	syscallarg(int) a1;
335 	syscallarg(int) a2;
336 	syscallarg(int) a3;
337 	syscallarg(caddr_t) ptr;
338 };
339 
340 struct linux_sys_clone_args {
341 	syscallarg(int) flags;
342 	syscallarg(void *) stack;
343 };
344 
345 struct linux_sys_setdomainname_args {
346 	syscallarg(char *) domainname;
347 	syscallarg(int) len;
348 };
349 
350 struct linux_sys_uname_args {
351 	syscallarg(struct linux_utsname *) up;
352 };
353 
354 struct linux_sys_cacheflush_args {
355 	syscallarg(unsigned long) addr;
356 	syscallarg(int) scope;
357 	syscallarg(int) cache;
358 	syscallarg(unsigned long) len;
359 };
360 
361 struct linux_sys_mprotect_args {
362 	syscallarg(const void *) start;
363 	syscallarg(unsigned long) len;
364 	syscallarg(int) prot;
365 };
366 
367 struct linux_sys_sigprocmask_args {
368 	syscallarg(int) how;
369 	syscallarg(const linux_old_sigset_t *) set;
370 	syscallarg(linux_old_sigset_t *) oset;
371 };
372 
373 struct linux_sys_getpgid_args {
374 	syscallarg(int) pid;
375 };
376 
377 struct linux_sys_personality_args {
378 	syscallarg(int) per;
379 };
380 
381 struct linux_sys_llseek_args {
382 	syscallarg(int) fd;
383 	syscallarg(u_int32_t) ohigh;
384 	syscallarg(u_int32_t) olow;
385 	syscallarg(caddr_t) res;
386 	syscallarg(int) whence;
387 };
388 
389 struct linux_sys_getdents_args {
390 	syscallarg(int) fd;
391 	syscallarg(struct linux_dirent *) dent;
392 	syscallarg(unsigned int) count;
393 };
394 
395 struct linux_sys_select_args {
396 	syscallarg(int) nfds;
397 	syscallarg(fd_set *) readfds;
398 	syscallarg(fd_set *) writefds;
399 	syscallarg(fd_set *) exceptfds;
400 	syscallarg(struct timeval *) timeout;
401 };
402 
403 struct linux_sys_msync_args {
404 	syscallarg(caddr_t) addr;
405 	syscallarg(int) len;
406 	syscallarg(int) fl;
407 };
408 
409 struct linux_sys_fdatasync_args {
410 	syscallarg(int) fd;
411 };
412 
413 struct linux_sys___sysctl_args {
414 	syscallarg(struct linux___sysctl *) lsp;
415 };
416 
417 struct linux_sys_sched_setparam_args {
418 	syscallarg(pid_t) pid;
419 	syscallarg(const struct linux_sched_param *) sp;
420 };
421 
422 struct linux_sys_sched_getparam_args {
423 	syscallarg(pid_t) pid;
424 	syscallarg(struct linux_sched_param *) sp;
425 };
426 
427 struct linux_sys_sched_setscheduler_args {
428 	syscallarg(pid_t) pid;
429 	syscallarg(int) policy;
430 	syscallarg(const struct linux_sched_param *) sp;
431 };
432 
433 struct linux_sys_sched_getscheduler_args {
434 	syscallarg(pid_t) pid;
435 };
436 
437 struct linux_sys_sched_get_priority_max_args {
438 	syscallarg(int) policy;
439 };
440 
441 struct linux_sys_sched_get_priority_min_args {
442 	syscallarg(int) policy;
443 };
444 
445 struct linux_sys_mremap_args {
446 	syscallarg(void *) old_address;
447 	syscallarg(size_t) old_size;
448 	syscallarg(size_t) new_size;
449 	syscallarg(u_long) flags;
450 };
451 
452 struct linux_sys_setresuid16_args {
453 	syscallarg(uid_t) ruid;
454 	syscallarg(uid_t) euid;
455 	syscallarg(uid_t) suid;
456 };
457 
458 struct linux_sys_setresgid16_args {
459 	syscallarg(gid_t) rgid;
460 	syscallarg(gid_t) egid;
461 	syscallarg(gid_t) sgid;
462 };
463 
464 struct linux_sys_rt_sigaction_args {
465 	syscallarg(int) signum;
466 	syscallarg(const struct linux_sigaction *) nsa;
467 	syscallarg(struct linux_sigaction *) osa;
468 	syscallarg(size_t) sigsetsize;
469 };
470 
471 struct linux_sys_rt_sigprocmask_args {
472 	syscallarg(int) how;
473 	syscallarg(const linux_sigset_t *) set;
474 	syscallarg(linux_sigset_t *) oset;
475 	syscallarg(size_t) sigsetsize;
476 };
477 
478 struct linux_sys_rt_sigpending_args {
479 	syscallarg(linux_sigset_t *) set;
480 	syscallarg(size_t) sigsetsize;
481 };
482 
483 struct linux_sys_rt_queueinfo_args {
484 	syscallarg(int) pid;
485 	syscallarg(int) signum;
486 	syscallarg(void *) uinfo;
487 };
488 
489 struct linux_sys_rt_sigsuspend_args {
490 	syscallarg(linux_sigset_t *) unewset;
491 	syscallarg(size_t) sigsetsize;
492 };
493 
494 struct linux_sys_pread_args {
495 	syscallarg(int) fd;
496 	syscallarg(char *) buf;
497 	syscallarg(size_t) nbyte;
498 	syscallarg(linux_off_t) offset;
499 };
500 
501 struct linux_sys_pwrite_args {
502 	syscallarg(int) fd;
503 	syscallarg(char *) buf;
504 	syscallarg(size_t) nbyte;
505 	syscallarg(linux_off_t) offset;
506 };
507 
508 struct linux_sys_lchown16_args {
509 	syscallarg(const char *) path;
510 	syscallarg(int) uid;
511 	syscallarg(int) gid;
512 };
513 
514 struct linux_sys_sigaltstack_args {
515 	syscallarg(const struct linux_sigaltstack *) ss;
516 	syscallarg(struct linux_sigaltstack *) oss;
517 };
518 
519 struct linux_sys_ugetrlimit_args {
520 	syscallarg(int) which;
521 	syscallarg(struct orlimit *) rlp;
522 };
523 
524 struct linux_sys_truncate64_args {
525 	syscallarg(const char *) path;
526 	syscallarg(off_t) length;
527 };
528 
529 struct linux_sys_ftruncate64_args {
530 	syscallarg(unsigned int) fd;
531 	syscallarg(off_t) length;
532 };
533 
534 struct linux_sys_stat64_args {
535 	syscallarg(const char *) path;
536 	syscallarg(struct linux_stat64 *) sp;
537 };
538 
539 struct linux_sys_lstat64_args {
540 	syscallarg(const char *) path;
541 	syscallarg(struct linux_stat64 *) sp;
542 };
543 
544 struct linux_sys_fstat64_args {
545 	syscallarg(int) fd;
546 	syscallarg(struct linux_stat64 *) sp;
547 };
548 
549 struct linux_sys_chown_args {
550 	syscallarg(const char *) path;
551 	syscallarg(uid_t) uid;
552 	syscallarg(gid_t) gid;
553 };
554 
555 struct linux_sys_setresuid_args {
556 	syscallarg(uid_t) ruid;
557 	syscallarg(uid_t) euid;
558 	syscallarg(uid_t) suid;
559 };
560 
561 struct linux_sys_getresuid_args {
562 	syscallarg(uid_t *) ruid;
563 	syscallarg(uid_t *) euid;
564 	syscallarg(uid_t *) suid;
565 };
566 
567 struct linux_sys_setresgid_args {
568 	syscallarg(gid_t) rgid;
569 	syscallarg(gid_t) egid;
570 	syscallarg(gid_t) sgid;
571 };
572 
573 struct linux_sys_getresgid_args {
574 	syscallarg(gid_t *) rgid;
575 	syscallarg(gid_t *) egid;
576 	syscallarg(gid_t *) sgid;
577 };
578 
579 struct linux_sys_lchown_args {
580 	syscallarg(const char *) path;
581 	syscallarg(uid_t) uid;
582 	syscallarg(gid_t) gid;
583 };
584 
585 struct linux_sys_setfsuid_args {
586 	syscallarg(uid_t) uid;
587 };
588 
589 struct linux_sys_getdents64_args {
590 	syscallarg(int) fd;
591 	syscallarg(struct linux_dirent64 *) dent;
592 	syscallarg(unsigned int) count;
593 };
594 
595 /*
596  * System call prototypes.
597  */
598 
599 int	linux_sys_nosys(struct lwp *, void *, register_t *);
600 
601 int	sys_exit(struct lwp *, void *, register_t *);
602 
603 int	sys_fork(struct lwp *, void *, register_t *);
604 
605 int	sys_read(struct lwp *, void *, register_t *);
606 
607 int	sys_write(struct lwp *, void *, register_t *);
608 
609 int	linux_sys_open(struct lwp *, void *, register_t *);
610 
611 int	sys_close(struct lwp *, void *, register_t *);
612 
613 int	linux_sys_waitpid(struct lwp *, void *, register_t *);
614 
615 int	linux_sys_creat(struct lwp *, void *, register_t *);
616 
617 int	linux_sys_link(struct lwp *, void *, register_t *);
618 
619 int	linux_sys_unlink(struct lwp *, void *, register_t *);
620 
621 int	linux_sys_execve(struct lwp *, void *, register_t *);
622 
623 int	linux_sys_chdir(struct lwp *, void *, register_t *);
624 
625 int	linux_sys_time(struct lwp *, void *, register_t *);
626 
627 int	linux_sys_mknod(struct lwp *, void *, register_t *);
628 
629 int	linux_sys_chmod(struct lwp *, void *, register_t *);
630 
631 int	linux_sys_chown16(struct lwp *, void *, register_t *);
632 
633 #if !defined(_KERNEL) || defined(COMPAT_43)
634 int	compat_43_sys_lseek(struct lwp *, void *, register_t *);
635 
636 #else
637 #endif
638 int	sys_getpid(struct lwp *, void *, register_t *);
639 
640 int	sys_setuid(struct lwp *, void *, register_t *);
641 
642 int	sys_getuid(struct lwp *, void *, register_t *);
643 
644 int	linux_sys_stime(struct lwp *, void *, register_t *);
645 
646 int	linux_sys_ptrace(struct lwp *, void *, register_t *);
647 
648 int	linux_sys_alarm(struct lwp *, void *, register_t *);
649 
650 int	linux_sys_pause(struct lwp *, void *, register_t *);
651 
652 int	linux_sys_utime(struct lwp *, void *, register_t *);
653 
654 int	linux_sys_access(struct lwp *, void *, register_t *);
655 
656 int	linux_sys_nice(struct lwp *, void *, register_t *);
657 
658 int	sys_sync(struct lwp *, void *, register_t *);
659 
660 int	linux_sys_kill(struct lwp *, void *, register_t *);
661 
662 int	linux_sys_rename(struct lwp *, void *, register_t *);
663 
664 int	linux_sys_mkdir(struct lwp *, void *, register_t *);
665 
666 int	linux_sys_rmdir(struct lwp *, void *, register_t *);
667 
668 int	sys_dup(struct lwp *, void *, register_t *);
669 
670 int	linux_sys_pipe(struct lwp *, void *, register_t *);
671 
672 int	linux_sys_times(struct lwp *, void *, register_t *);
673 
674 int	linux_sys_brk(struct lwp *, void *, register_t *);
675 
676 int	sys_setgid(struct lwp *, void *, register_t *);
677 
678 int	sys_getgid(struct lwp *, void *, register_t *);
679 
680 int	linux_sys_signal(struct lwp *, void *, register_t *);
681 
682 int	sys_geteuid(struct lwp *, void *, register_t *);
683 
684 int	sys_getegid(struct lwp *, void *, register_t *);
685 
686 int	sys_acct(struct lwp *, void *, register_t *);
687 
688 int	linux_sys_ioctl(struct lwp *, void *, register_t *);
689 
690 int	linux_sys_fcntl(struct lwp *, void *, register_t *);
691 
692 int	sys_setpgid(struct lwp *, void *, register_t *);
693 
694 int	sys_umask(struct lwp *, void *, register_t *);
695 
696 int	sys_chroot(struct lwp *, void *, register_t *);
697 
698 int	sys_dup2(struct lwp *, void *, register_t *);
699 
700 int	sys_getppid(struct lwp *, void *, register_t *);
701 
702 int	sys_getpgrp(struct lwp *, void *, register_t *);
703 
704 int	sys_setsid(struct lwp *, void *, register_t *);
705 
706 int	linux_sys_sigaction(struct lwp *, void *, register_t *);
707 
708 int	linux_sys_siggetmask(struct lwp *, void *, register_t *);
709 
710 int	linux_sys_sigsetmask(struct lwp *, void *, register_t *);
711 
712 int	linux_sys_setreuid16(struct lwp *, void *, register_t *);
713 
714 int	linux_sys_setregid16(struct lwp *, void *, register_t *);
715 
716 int	linux_sys_sigsuspend(struct lwp *, void *, register_t *);
717 
718 int	linux_sys_sigpending(struct lwp *, void *, register_t *);
719 
720 #if !defined(_KERNEL) || defined(COMPAT_43)
721 int	compat_43_sys_sethostname(struct lwp *, void *, register_t *);
722 
723 #else
724 #endif
725 int	linux_sys_setrlimit(struct lwp *, void *, register_t *);
726 
727 int	linux_sys_getrlimit(struct lwp *, void *, register_t *);
728 
729 int	sys_getrusage(struct lwp *, void *, register_t *);
730 
731 int	linux_sys_gettimeofday(struct lwp *, void *, register_t *);
732 
733 int	linux_sys_settimeofday(struct lwp *, void *, register_t *);
734 
735 int	linux_sys_getgroups16(struct lwp *, void *, register_t *);
736 
737 int	linux_sys_setgroups16(struct lwp *, void *, register_t *);
738 
739 int	linux_sys_oldselect(struct lwp *, void *, register_t *);
740 
741 int	linux_sys_symlink(struct lwp *, void *, register_t *);
742 
743 #if !defined(_KERNEL) || defined(COMPAT_43)
744 int	compat_43_sys_lstat(struct lwp *, void *, register_t *);
745 
746 #else
747 #endif
748 int	linux_sys_readlink(struct lwp *, void *, register_t *);
749 
750 int	linux_sys_uselib(struct lwp *, void *, register_t *);
751 
752 int	linux_sys_swapon(struct lwp *, void *, register_t *);
753 
754 int	linux_sys_reboot(struct lwp *, void *, register_t *);
755 
756 int	linux_sys_readdir(struct lwp *, void *, register_t *);
757 
758 int	linux_sys_old_mmap(struct lwp *, void *, register_t *);
759 
760 int	sys_munmap(struct lwp *, void *, register_t *);
761 
762 int	linux_sys_truncate(struct lwp *, void *, register_t *);
763 
764 #if !defined(_KERNEL) || defined(COMPAT_43)
765 int	compat_43_sys_ftruncate(struct lwp *, void *, register_t *);
766 
767 #else
768 #endif
769 int	sys_fchmod(struct lwp *, void *, register_t *);
770 
771 int	linux_sys_fchown16(struct lwp *, void *, register_t *);
772 
773 int	sys_getpriority(struct lwp *, void *, register_t *);
774 
775 int	sys_setpriority(struct lwp *, void *, register_t *);
776 
777 int	sys_profil(struct lwp *, void *, register_t *);
778 
779 int	linux_sys_statfs(struct lwp *, void *, register_t *);
780 
781 int	linux_sys_fstatfs(struct lwp *, void *, register_t *);
782 
783 int	linux_sys_socketcall(struct lwp *, void *, register_t *);
784 
785 int	sys_setitimer(struct lwp *, void *, register_t *);
786 
787 int	sys_getitimer(struct lwp *, void *, register_t *);
788 
789 int	linux_sys_stat(struct lwp *, void *, register_t *);
790 
791 int	linux_sys_lstat(struct lwp *, void *, register_t *);
792 
793 int	linux_sys_fstat(struct lwp *, void *, register_t *);
794 
795 int	linux_sys_wait4(struct lwp *, void *, register_t *);
796 
797 int	linux_sys_swapoff(struct lwp *, void *, register_t *);
798 
799 int	linux_sys_sysinfo(struct lwp *, void *, register_t *);
800 
801 int	linux_sys_ipc(struct lwp *, void *, register_t *);
802 
803 int	sys_fsync(struct lwp *, void *, register_t *);
804 
805 int	linux_sys_sigreturn(struct lwp *, void *, register_t *);
806 
807 int	linux_sys_clone(struct lwp *, void *, register_t *);
808 
809 int	linux_sys_setdomainname(struct lwp *, void *, register_t *);
810 
811 int	linux_sys_uname(struct lwp *, void *, register_t *);
812 
813 int	linux_sys_cacheflush(struct lwp *, void *, register_t *);
814 
815 int	linux_sys_mprotect(struct lwp *, void *, register_t *);
816 
817 int	linux_sys_sigprocmask(struct lwp *, void *, register_t *);
818 
819 int	linux_sys_getpgid(struct lwp *, void *, register_t *);
820 
821 int	sys_fchdir(struct lwp *, void *, register_t *);
822 
823 int	linux_sys_personality(struct lwp *, void *, register_t *);
824 
825 int	linux_sys_setfsuid(struct lwp *, void *, register_t *);
826 
827 int	linux_sys_getfsuid(struct lwp *, void *, register_t *);
828 
829 int	linux_sys_llseek(struct lwp *, void *, register_t *);
830 
831 int	linux_sys_getdents(struct lwp *, void *, register_t *);
832 
833 int	linux_sys_select(struct lwp *, void *, register_t *);
834 
835 int	sys_flock(struct lwp *, void *, register_t *);
836 
837 int	linux_sys_msync(struct lwp *, void *, register_t *);
838 
839 int	sys_readv(struct lwp *, void *, register_t *);
840 
841 int	sys_writev(struct lwp *, void *, register_t *);
842 
843 int	sys_getsid(struct lwp *, void *, register_t *);
844 
845 int	linux_sys_fdatasync(struct lwp *, void *, register_t *);
846 
847 int	linux_sys___sysctl(struct lwp *, void *, register_t *);
848 
849 int	sys_mlock(struct lwp *, void *, register_t *);
850 
851 int	sys_munlock(struct lwp *, void *, register_t *);
852 
853 int	sys_mlockall(struct lwp *, void *, register_t *);
854 
855 int	sys_munlockall(struct lwp *, void *, register_t *);
856 
857 int	linux_sys_sched_setparam(struct lwp *, void *, register_t *);
858 
859 int	linux_sys_sched_getparam(struct lwp *, void *, register_t *);
860 
861 int	linux_sys_sched_setscheduler(struct lwp *, void *, register_t *);
862 
863 int	linux_sys_sched_getscheduler(struct lwp *, void *, register_t *);
864 
865 int	linux_sys_sched_yield(struct lwp *, void *, register_t *);
866 
867 int	linux_sys_sched_get_priority_max(struct lwp *, void *, register_t *);
868 
869 int	linux_sys_sched_get_priority_min(struct lwp *, void *, register_t *);
870 
871 int	sys_nanosleep(struct lwp *, void *, register_t *);
872 
873 int	linux_sys_mremap(struct lwp *, void *, register_t *);
874 
875 int	linux_sys_setresuid16(struct lwp *, void *, register_t *);
876 
877 int	linux_sys_getresuid(struct lwp *, void *, register_t *);
878 
879 int	sys_poll(struct lwp *, void *, register_t *);
880 
881 int	linux_sys_setresgid16(struct lwp *, void *, register_t *);
882 
883 int	linux_sys_getresgid(struct lwp *, void *, register_t *);
884 
885 int	linux_sys_rt_sigreturn(struct lwp *, void *, register_t *);
886 
887 int	linux_sys_rt_sigaction(struct lwp *, void *, register_t *);
888 
889 int	linux_sys_rt_sigprocmask(struct lwp *, void *, register_t *);
890 
891 int	linux_sys_rt_sigpending(struct lwp *, void *, register_t *);
892 
893 int	linux_sys_rt_queueinfo(struct lwp *, void *, register_t *);
894 
895 int	linux_sys_rt_sigsuspend(struct lwp *, void *, register_t *);
896 
897 int	linux_sys_pread(struct lwp *, void *, register_t *);
898 
899 int	linux_sys_pwrite(struct lwp *, void *, register_t *);
900 
901 int	linux_sys_lchown16(struct lwp *, void *, register_t *);
902 
903 int	sys___getcwd(struct lwp *, void *, register_t *);
904 
905 int	linux_sys_sigaltstack(struct lwp *, void *, register_t *);
906 
907 int	sys___vfork14(struct lwp *, void *, register_t *);
908 
909 int	linux_sys_ugetrlimit(struct lwp *, void *, register_t *);
910 
911 int	linux_sys_mmap2(struct lwp *, void *, register_t *);
912 
913 int	linux_sys_truncate64(struct lwp *, void *, register_t *);
914 
915 int	linux_sys_ftruncate64(struct lwp *, void *, register_t *);
916 
917 int	linux_sys_stat64(struct lwp *, void *, register_t *);
918 
919 int	linux_sys_lstat64(struct lwp *, void *, register_t *);
920 
921 int	linux_sys_fstat64(struct lwp *, void *, register_t *);
922 
923 int	linux_sys_chown(struct lwp *, void *, register_t *);
924 
925 int	sys_setreuid(struct lwp *, void *, register_t *);
926 
927 int	sys_setregid(struct lwp *, void *, register_t *);
928 
929 int	sys_getgroups(struct lwp *, void *, register_t *);
930 
931 int	sys_setgroups(struct lwp *, void *, register_t *);
932 
933 int	sys___posix_fchown(struct lwp *, void *, register_t *);
934 
935 int	linux_sys_setresuid(struct lwp *, void *, register_t *);
936 
937 int	linux_sys_setresgid(struct lwp *, void *, register_t *);
938 
939 int	linux_sys_lchown(struct lwp *, void *, register_t *);
940 
941 int	linux_sys_getdents64(struct lwp *, void *, register_t *);
942 
943 #endif /* _LINUX_SYS__SYSCALLARGS_H_ */
944