xref: /netbsd-src/sys/compat/linux/arch/m68k/linux_syscallargs.h (revision 1ca5c1b28139779176bd5c13ad7c5f25c0bcd5f8)
1 /* $NetBSD: linux_syscallargs.h,v 1.37 2001/11/13 02:08:42 lukem 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.34 2001/05/30 11:37:27 mrg 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 
87 struct linux_sys_stime_args {
88 	syscallarg(linux_time_t *) t;
89 };
90 
91 struct linux_sys_ptrace_args {
92 	syscallarg(int) request;
93 	syscallarg(int) pid;
94 	syscallarg(int) addr;
95 	syscallarg(int) data;
96 };
97 
98 struct linux_sys_alarm_args {
99 	syscallarg(unsigned int) secs;
100 };
101 
102 struct linux_sys_utime_args {
103 	syscallarg(const char *) path;
104 	syscallarg(struct linux_utimbuf *) times;
105 };
106 
107 struct linux_sys_access_args {
108 	syscallarg(const char *) path;
109 	syscallarg(int) flags;
110 };
111 
112 struct linux_sys_nice_args {
113 	syscallarg(int) incr;
114 };
115 
116 struct linux_sys_kill_args {
117 	syscallarg(int) pid;
118 	syscallarg(int) signum;
119 };
120 
121 struct linux_sys_rename_args {
122 	syscallarg(const char *) from;
123 	syscallarg(const char *) to;
124 };
125 
126 struct linux_sys_mkdir_args {
127 	syscallarg(const char *) path;
128 	syscallarg(int) mode;
129 };
130 
131 struct linux_sys_rmdir_args {
132 	syscallarg(const char *) path;
133 };
134 
135 struct linux_sys_pipe_args {
136 	syscallarg(int *) pfds;
137 };
138 
139 struct linux_sys_times_args {
140 	syscallarg(struct times *) tms;
141 };
142 
143 struct linux_sys_brk_args {
144 	syscallarg(char *) nsize;
145 };
146 
147 struct linux_sys_signal_args {
148 	syscallarg(int) signum;
149 	syscallarg(linux_handler_t) handler;
150 };
151 
152 struct linux_sys_ioctl_args {
153 	syscallarg(int) fd;
154 	syscallarg(u_long) com;
155 	syscallarg(caddr_t) data;
156 };
157 
158 struct linux_sys_fcntl_args {
159 	syscallarg(int) fd;
160 	syscallarg(int) cmd;
161 	syscallarg(void *) arg;
162 };
163 
164 struct linux_sys_sigaction_args {
165 	syscallarg(int) signum;
166 	syscallarg(const struct linux_old_sigaction *) nsa;
167 	syscallarg(struct linux_old_sigaction *) osa;
168 };
169 
170 struct linux_sys_sigsetmask_args {
171 	syscallarg(linux_old_sigset_t) mask;
172 };
173 
174 struct linux_sys_setreuid16_args {
175 	syscallarg(int) ruid;
176 	syscallarg(int) euid;
177 };
178 
179 struct linux_sys_setregid16_args {
180 	syscallarg(int) rgid;
181 	syscallarg(int) egid;
182 };
183 
184 struct linux_sys_sigsuspend_args {
185 	syscallarg(caddr_t) restart;
186 	syscallarg(int) oldmask;
187 	syscallarg(int) mask;
188 };
189 
190 struct linux_sys_sigpending_args {
191 	syscallarg(linux_old_sigset_t *) set;
192 };
193 
194 struct linux_sys_gettimeofday_args {
195 	syscallarg(struct timeval *) tp;
196 	syscallarg(struct timezone *) tzp;
197 };
198 
199 struct linux_sys_settimeofday_args {
200 	syscallarg(struct timeval *) tp;
201 	syscallarg(struct timezone *) tzp;
202 };
203 
204 struct linux_sys_getgroups16_args {
205 	syscallarg(u_int) gidsetsize;
206 	syscallarg(linux_gid_t *) gidset;
207 };
208 
209 struct linux_sys_setgroups16_args {
210 	syscallarg(u_int) gidsetsize;
211 	syscallarg(linux_gid_t *) gidset;
212 };
213 
214 struct linux_sys_oldselect_args {
215 	syscallarg(struct linux_oldselect *) lsp;
216 };
217 
218 struct linux_sys_symlink_args {
219 	syscallarg(const char *) path;
220 	syscallarg(const char *) to;
221 };
222 
223 struct linux_sys_readlink_args {
224 	syscallarg(const char *) name;
225 	syscallarg(char *) buf;
226 	syscallarg(int) count;
227 };
228 
229 struct linux_sys_uselib_args {
230 	syscallarg(const char *) path;
231 };
232 
233 struct linux_sys_swapon_args {
234 	syscallarg(char *) name;
235 };
236 
237 struct linux_sys_reboot_args {
238 	syscallarg(int) magic1;
239 	syscallarg(int) magic2;
240 	syscallarg(int) cmd;
241 	syscallarg(void *) arg;
242 };
243 
244 struct linux_sys_readdir_args {
245 	syscallarg(int) fd;
246 	syscallarg(caddr_t) dent;
247 	syscallarg(unsigned int) count;
248 };
249 
250 struct linux_sys_old_mmap_args {
251 	syscallarg(struct linux_oldmmap *) lmp;
252 };
253 
254 struct linux_sys_truncate_args {
255 	syscallarg(const char *) path;
256 	syscallarg(long) length;
257 };
258 
259 struct linux_sys_fchown16_args {
260 	syscallarg(int) fd;
261 	syscallarg(int) uid;
262 	syscallarg(int) gid;
263 };
264 
265 struct linux_sys_statfs_args {
266 	syscallarg(const char *) path;
267 	syscallarg(struct linux_statfs *) sp;
268 };
269 
270 struct linux_sys_fstatfs_args {
271 	syscallarg(int) fd;
272 	syscallarg(struct linux_statfs *) sp;
273 };
274 
275 struct linux_sys_socketcall_args {
276 	syscallarg(int) what;
277 	syscallarg(void *) args;
278 };
279 
280 struct linux_sys_stat_args {
281 	syscallarg(const char *) path;
282 	syscallarg(struct linux_stat *) sp;
283 };
284 
285 struct linux_sys_lstat_args {
286 	syscallarg(const char *) path;
287 	syscallarg(struct linux_stat *) sp;
288 };
289 
290 struct linux_sys_fstat_args {
291 	syscallarg(int) fd;
292 	syscallarg(struct linux_stat *) sp;
293 };
294 
295 struct linux_sys_wait4_args {
296 	syscallarg(int) pid;
297 	syscallarg(int *) status;
298 	syscallarg(int) options;
299 	syscallarg(struct rusage *) rusage;
300 };
301 
302 struct linux_sys_swapoff_args {
303 	syscallarg(const char *) path;
304 };
305 
306 struct linux_sys_sysinfo_args {
307 	syscallarg(struct linux_sysinfo *) arg;
308 };
309 
310 struct linux_sys_ipc_args {
311 	syscallarg(int) what;
312 	syscallarg(int) a1;
313 	syscallarg(int) a2;
314 	syscallarg(int) a3;
315 	syscallarg(caddr_t) ptr;
316 };
317 
318 struct linux_sys_clone_args {
319 	syscallarg(int) flags;
320 	syscallarg(void *) stack;
321 };
322 
323 struct linux_sys_setdomainname_args {
324 	syscallarg(char *) domainname;
325 	syscallarg(int) len;
326 };
327 
328 struct linux_sys_uname_args {
329 	syscallarg(struct linux_utsname *) up;
330 };
331 
332 struct linux_sys_cacheflush_args {
333 	syscallarg(unsigned long) addr;
334 	syscallarg(int) scope;
335 	syscallarg(int) cache;
336 	syscallarg(unsigned long) len;
337 };
338 
339 struct linux_sys_sigprocmask_args {
340 	syscallarg(int) how;
341 	syscallarg(const linux_old_sigset_t *) set;
342 	syscallarg(linux_old_sigset_t *) oset;
343 };
344 
345 struct linux_sys_getpgid_args {
346 	syscallarg(int) pid;
347 };
348 
349 struct linux_sys_personality_args {
350 	syscallarg(int) per;
351 };
352 
353 struct linux_sys_llseek_args {
354 	syscallarg(int) fd;
355 	syscallarg(u_int32_t) ohigh;
356 	syscallarg(u_int32_t) olow;
357 	syscallarg(caddr_t) res;
358 	syscallarg(int) whence;
359 };
360 
361 struct linux_sys_getdents_args {
362 	syscallarg(int) fd;
363 	syscallarg(struct linux_dirent *) dent;
364 	syscallarg(unsigned int) count;
365 };
366 
367 struct linux_sys_select_args {
368 	syscallarg(int) nfds;
369 	syscallarg(fd_set *) readfds;
370 	syscallarg(fd_set *) writefds;
371 	syscallarg(fd_set *) exceptfds;
372 	syscallarg(struct timeval *) timeout;
373 };
374 
375 struct linux_sys_msync_args {
376 	syscallarg(caddr_t) addr;
377 	syscallarg(int) len;
378 	syscallarg(int) fl;
379 };
380 
381 struct linux_sys_fdatasync_args {
382 	syscallarg(int) fd;
383 };
384 
385 struct linux_sys___sysctl_args {
386 	syscallarg(struct linux___sysctl *) lsp;
387 };
388 
389 struct linux_sys_sched_setparam_args {
390 	syscallarg(pid_t) pid;
391 	syscallarg(const struct linux_sched_param *) sp;
392 };
393 
394 struct linux_sys_sched_getparam_args {
395 	syscallarg(pid_t) pid;
396 	syscallarg(struct linux_sched_param *) sp;
397 };
398 
399 struct linux_sys_sched_setscheduler_args {
400 	syscallarg(pid_t) pid;
401 	syscallarg(int) policy;
402 	syscallarg(const struct linux_sched_param *) sp;
403 };
404 
405 struct linux_sys_sched_getscheduler_args {
406 	syscallarg(pid_t) pid;
407 };
408 
409 struct linux_sys_sched_get_priority_max_args {
410 	syscallarg(int) policy;
411 };
412 
413 struct linux_sys_sched_get_priority_min_args {
414 	syscallarg(int) policy;
415 };
416 
417 struct linux_sys_mremap_args {
418 	syscallarg(void *) old_address;
419 	syscallarg(size_t) old_size;
420 	syscallarg(size_t) new_size;
421 	syscallarg(u_long) flags;
422 };
423 
424 struct linux_sys_setresuid16_args {
425 	syscallarg(uid_t) ruid;
426 	syscallarg(uid_t) euid;
427 	syscallarg(uid_t) suid;
428 };
429 
430 struct linux_sys_setresgid16_args {
431 	syscallarg(gid_t) rgid;
432 	syscallarg(gid_t) egid;
433 	syscallarg(gid_t) sgid;
434 };
435 
436 struct linux_sys_rt_sigaction_args {
437 	syscallarg(int) signum;
438 	syscallarg(const struct linux_sigaction *) nsa;
439 	syscallarg(struct linux_sigaction *) osa;
440 	syscallarg(size_t) sigsetsize;
441 };
442 
443 struct linux_sys_rt_sigprocmask_args {
444 	syscallarg(int) how;
445 	syscallarg(const linux_sigset_t *) set;
446 	syscallarg(linux_sigset_t *) oset;
447 	syscallarg(size_t) sigsetsize;
448 };
449 
450 struct linux_sys_rt_sigpending_args {
451 	syscallarg(linux_sigset_t *) set;
452 	syscallarg(size_t) sigsetsize;
453 };
454 
455 struct linux_sys_rt_queueinfo_args {
456 	syscallarg(int) pid;
457 	syscallarg(int) signum;
458 	syscallarg(void *) uinfo;
459 };
460 
461 struct linux_sys_rt_sigsuspend_args {
462 	syscallarg(linux_sigset_t *) unewset;
463 	syscallarg(size_t) sigsetsize;
464 };
465 
466 struct linux_sys_pread_args {
467 	syscallarg(int) fd;
468 	syscallarg(char *) buf;
469 	syscallarg(size_t) nbyte;
470 	syscallarg(linux_off_t) offset;
471 };
472 
473 struct linux_sys_pwrite_args {
474 	syscallarg(int) fd;
475 	syscallarg(char *) buf;
476 	syscallarg(size_t) nbyte;
477 	syscallarg(linux_off_t) offset;
478 };
479 
480 struct linux_sys_lchown16_args {
481 	syscallarg(const char *) path;
482 	syscallarg(int) uid;
483 	syscallarg(int) gid;
484 };
485 
486 struct linux_sys_sigaltstack_args {
487 	syscallarg(const struct linux_sigaltstack *) ss;
488 	syscallarg(struct linux_sigaltstack *) oss;
489 };
490 
491 struct linux_sys_truncate64_args {
492 	syscallarg(const char *) path;
493 	syscallarg(off_t) length;
494 };
495 
496 struct linux_sys_stat64_args {
497 	syscallarg(const char *) path;
498 	syscallarg(struct linux_stat64 *) sp;
499 };
500 
501 struct linux_sys_lstat64_args {
502 	syscallarg(const char *) path;
503 	syscallarg(struct linux_stat64 *) sp;
504 };
505 
506 struct linux_sys_fstat64_args {
507 	syscallarg(int) fd;
508 	syscallarg(struct linux_stat64 *) sp;
509 };
510 
511 struct linux_sys_chown_args {
512 	syscallarg(const char *) path;
513 	syscallarg(uid_t) uid;
514 	syscallarg(gid_t) gid;
515 };
516 
517 struct linux_sys_setresuid_args {
518 	syscallarg(uid_t) ruid;
519 	syscallarg(uid_t) euid;
520 	syscallarg(uid_t) suid;
521 };
522 
523 struct linux_sys_getresuid_args {
524 	syscallarg(uid_t *) ruid;
525 	syscallarg(uid_t *) euid;
526 	syscallarg(uid_t *) suid;
527 };
528 
529 struct linux_sys_setresgid_args {
530 	syscallarg(gid_t) rgid;
531 	syscallarg(gid_t) egid;
532 	syscallarg(gid_t) sgid;
533 };
534 
535 struct linux_sys_getresgid_args {
536 	syscallarg(gid_t *) rgid;
537 	syscallarg(gid_t *) egid;
538 	syscallarg(gid_t *) sgid;
539 };
540 
541 struct linux_sys_lchown_args {
542 	syscallarg(const char *) path;
543 	syscallarg(uid_t) uid;
544 	syscallarg(gid_t) gid;
545 };
546 
547 struct linux_sys_setfsuid_args {
548 	syscallarg(uid_t) uid;
549 };
550 
551 /*
552  * System call prototypes.
553  */
554 
555 int	linux_sys_nosys(struct proc *, void *, register_t *);
556 int	sys_exit(struct proc *, void *, register_t *);
557 int	sys_fork(struct proc *, void *, register_t *);
558 int	sys_read(struct proc *, void *, register_t *);
559 int	sys_write(struct proc *, void *, register_t *);
560 int	linux_sys_open(struct proc *, void *, register_t *);
561 int	sys_close(struct proc *, void *, register_t *);
562 int	linux_sys_waitpid(struct proc *, void *, register_t *);
563 int	linux_sys_creat(struct proc *, void *, register_t *);
564 int	linux_sys_link(struct proc *, void *, register_t *);
565 int	linux_sys_unlink(struct proc *, void *, register_t *);
566 int	linux_sys_execve(struct proc *, void *, register_t *);
567 int	linux_sys_chdir(struct proc *, void *, register_t *);
568 int	linux_sys_time(struct proc *, void *, register_t *);
569 int	linux_sys_mknod(struct proc *, void *, register_t *);
570 int	linux_sys_chmod(struct proc *, void *, register_t *);
571 int	linux_sys_chown16(struct proc *, void *, register_t *);
572 #if !defined(_KERNEL) || defined(COMPAT_43)
573 int	compat_43_sys_lseek(struct proc *, void *, register_t *);
574 #else
575 #endif
576 int	sys_getpid(struct proc *, void *, register_t *);
577 int	sys_setuid(struct proc *, void *, register_t *);
578 int	sys_getuid(struct proc *, void *, register_t *);
579 int	linux_sys_stime(struct proc *, void *, register_t *);
580 int	linux_sys_ptrace(struct proc *, void *, register_t *);
581 int	linux_sys_alarm(struct proc *, void *, register_t *);
582 int	linux_sys_pause(struct proc *, void *, register_t *);
583 int	linux_sys_utime(struct proc *, void *, register_t *);
584 int	linux_sys_access(struct proc *, void *, register_t *);
585 int	linux_sys_nice(struct proc *, void *, register_t *);
586 int	sys_sync(struct proc *, void *, register_t *);
587 int	linux_sys_kill(struct proc *, void *, register_t *);
588 int	linux_sys_rename(struct proc *, void *, register_t *);
589 int	linux_sys_mkdir(struct proc *, void *, register_t *);
590 int	linux_sys_rmdir(struct proc *, void *, register_t *);
591 int	sys_dup(struct proc *, void *, register_t *);
592 int	linux_sys_pipe(struct proc *, void *, register_t *);
593 int	linux_sys_times(struct proc *, void *, register_t *);
594 int	linux_sys_brk(struct proc *, void *, register_t *);
595 int	sys_setgid(struct proc *, void *, register_t *);
596 int	sys_getgid(struct proc *, void *, register_t *);
597 int	linux_sys_signal(struct proc *, void *, register_t *);
598 int	sys_geteuid(struct proc *, void *, register_t *);
599 int	sys_getegid(struct proc *, void *, register_t *);
600 int	sys_acct(struct proc *, void *, register_t *);
601 int	linux_sys_ioctl(struct proc *, void *, register_t *);
602 int	linux_sys_fcntl(struct proc *, void *, register_t *);
603 int	sys_setpgid(struct proc *, void *, register_t *);
604 int	sys_umask(struct proc *, void *, register_t *);
605 int	sys_chroot(struct proc *, void *, register_t *);
606 int	sys_dup2(struct proc *, void *, register_t *);
607 int	sys_getppid(struct proc *, void *, register_t *);
608 int	sys_getpgrp(struct proc *, void *, register_t *);
609 int	sys_setsid(struct proc *, void *, register_t *);
610 int	linux_sys_sigaction(struct proc *, void *, register_t *);
611 int	linux_sys_siggetmask(struct proc *, void *, register_t *);
612 int	linux_sys_sigsetmask(struct proc *, void *, register_t *);
613 int	linux_sys_setreuid16(struct proc *, void *, register_t *);
614 int	linux_sys_setregid16(struct proc *, void *, register_t *);
615 int	linux_sys_sigsuspend(struct proc *, void *, register_t *);
616 int	linux_sys_sigpending(struct proc *, void *, register_t *);
617 #if !defined(_KERNEL) || defined(COMPAT_43)
618 int	compat_43_sys_sethostname(struct proc *, void *, register_t *);
619 int	compat_43_sys_setrlimit(struct proc *, void *, register_t *);
620 int	compat_43_sys_getrlimit(struct proc *, void *, register_t *);
621 #else
622 #endif
623 int	sys_getrusage(struct proc *, void *, register_t *);
624 int	linux_sys_gettimeofday(struct proc *, void *, register_t *);
625 int	linux_sys_settimeofday(struct proc *, void *, register_t *);
626 int	linux_sys_getgroups16(struct proc *, void *, register_t *);
627 int	linux_sys_setgroups16(struct proc *, void *, register_t *);
628 int	linux_sys_oldselect(struct proc *, void *, register_t *);
629 int	linux_sys_symlink(struct proc *, void *, register_t *);
630 #if !defined(_KERNEL) || defined(COMPAT_43)
631 int	compat_43_sys_lstat(struct proc *, void *, register_t *);
632 #else
633 #endif
634 int	linux_sys_readlink(struct proc *, void *, register_t *);
635 int	linux_sys_uselib(struct proc *, void *, register_t *);
636 int	linux_sys_swapon(struct proc *, void *, register_t *);
637 int	linux_sys_reboot(struct proc *, void *, register_t *);
638 int	linux_sys_readdir(struct proc *, void *, register_t *);
639 int	linux_sys_old_mmap(struct proc *, void *, register_t *);
640 int	sys_munmap(struct proc *, void *, register_t *);
641 int	linux_sys_truncate(struct proc *, void *, register_t *);
642 #if !defined(_KERNEL) || defined(COMPAT_43)
643 int	compat_43_sys_ftruncate(struct proc *, void *, register_t *);
644 #else
645 #endif
646 int	sys_fchmod(struct proc *, void *, register_t *);
647 int	linux_sys_fchown16(struct proc *, void *, register_t *);
648 int	sys_getpriority(struct proc *, void *, register_t *);
649 int	sys_setpriority(struct proc *, void *, register_t *);
650 int	sys_profil(struct proc *, void *, register_t *);
651 int	linux_sys_statfs(struct proc *, void *, register_t *);
652 int	linux_sys_fstatfs(struct proc *, void *, register_t *);
653 int	linux_sys_socketcall(struct proc *, void *, register_t *);
654 int	sys_setitimer(struct proc *, void *, register_t *);
655 int	sys_getitimer(struct proc *, void *, register_t *);
656 int	linux_sys_stat(struct proc *, void *, register_t *);
657 int	linux_sys_lstat(struct proc *, void *, register_t *);
658 int	linux_sys_fstat(struct proc *, void *, register_t *);
659 int	linux_sys_wait4(struct proc *, void *, register_t *);
660 int	linux_sys_swapoff(struct proc *, void *, register_t *);
661 int	linux_sys_sysinfo(struct proc *, void *, register_t *);
662 int	linux_sys_ipc(struct proc *, void *, register_t *);
663 int	sys_fsync(struct proc *, void *, register_t *);
664 int	linux_sys_sigreturn(struct proc *, void *, register_t *);
665 int	linux_sys_clone(struct proc *, void *, register_t *);
666 int	linux_sys_setdomainname(struct proc *, void *, register_t *);
667 int	linux_sys_uname(struct proc *, void *, register_t *);
668 int	linux_sys_cacheflush(struct proc *, void *, register_t *);
669 int	sys_mprotect(struct proc *, void *, register_t *);
670 int	linux_sys_sigprocmask(struct proc *, void *, register_t *);
671 int	linux_sys_getpgid(struct proc *, void *, register_t *);
672 int	sys_fchdir(struct proc *, void *, register_t *);
673 int	linux_sys_personality(struct proc *, void *, register_t *);
674 int	linux_sys_setfsuid(struct proc *, void *, register_t *);
675 int	linux_sys_getfsuid(struct proc *, void *, register_t *);
676 int	linux_sys_llseek(struct proc *, void *, register_t *);
677 int	linux_sys_getdents(struct proc *, void *, register_t *);
678 int	linux_sys_select(struct proc *, void *, register_t *);
679 int	sys_flock(struct proc *, void *, register_t *);
680 int	linux_sys_msync(struct proc *, void *, register_t *);
681 int	sys_readv(struct proc *, void *, register_t *);
682 int	sys_writev(struct proc *, void *, register_t *);
683 int	sys_getsid(struct proc *, void *, register_t *);
684 int	linux_sys_fdatasync(struct proc *, void *, register_t *);
685 int	linux_sys___sysctl(struct proc *, void *, register_t *);
686 int	sys_mlock(struct proc *, void *, register_t *);
687 int	sys_munlock(struct proc *, void *, register_t *);
688 int	sys_mlockall(struct proc *, void *, register_t *);
689 int	sys_munlockall(struct proc *, void *, register_t *);
690 int	linux_sys_sched_setparam(struct proc *, void *, register_t *);
691 int	linux_sys_sched_getparam(struct proc *, void *, register_t *);
692 int	linux_sys_sched_setscheduler(struct proc *, void *, register_t *);
693 int	linux_sys_sched_getscheduler(struct proc *, void *, register_t *);
694 int	linux_sys_sched_yield(struct proc *, void *, register_t *);
695 int	linux_sys_sched_get_priority_max(struct proc *, void *, register_t *);
696 int	linux_sys_sched_get_priority_min(struct proc *, void *, register_t *);
697 int	sys_nanosleep(struct proc *, void *, register_t *);
698 int	linux_sys_mremap(struct proc *, void *, register_t *);
699 int	linux_sys_setresuid16(struct proc *, void *, register_t *);
700 int	linux_sys_getresuid(struct proc *, void *, register_t *);
701 int	sys_poll(struct proc *, void *, register_t *);
702 int	linux_sys_setresgid16(struct proc *, void *, register_t *);
703 int	linux_sys_getresgid(struct proc *, void *, register_t *);
704 int	linux_sys_rt_sigreturn(struct proc *, void *, register_t *);
705 int	linux_sys_rt_sigaction(struct proc *, void *, register_t *);
706 int	linux_sys_rt_sigprocmask(struct proc *, void *, register_t *);
707 int	linux_sys_rt_sigpending(struct proc *, void *, register_t *);
708 int	linux_sys_rt_queueinfo(struct proc *, void *, register_t *);
709 int	linux_sys_rt_sigsuspend(struct proc *, void *, register_t *);
710 int	linux_sys_pread(struct proc *, void *, register_t *);
711 int	linux_sys_pwrite(struct proc *, void *, register_t *);
712 int	linux_sys_lchown16(struct proc *, void *, register_t *);
713 int	sys___getcwd(struct proc *, void *, register_t *);
714 int	linux_sys_sigaltstack(struct proc *, void *, register_t *);
715 int	sys___vfork14(struct proc *, void *, register_t *);
716 int	linux_sys_truncate64(struct proc *, void *, register_t *);
717 int	sys_ftruncate(struct proc *, void *, register_t *);
718 int	linux_sys_stat64(struct proc *, void *, register_t *);
719 int	linux_sys_lstat64(struct proc *, void *, register_t *);
720 int	linux_sys_fstat64(struct proc *, void *, register_t *);
721 int	linux_sys_chown(struct proc *, void *, register_t *);
722 int	sys_getuid(struct proc *, void *, register_t *);
723 int	sys_getgid(struct proc *, void *, register_t *);
724 int	sys_geteuid(struct proc *, void *, register_t *);
725 int	sys_getegid(struct proc *, void *, register_t *);
726 int	sys_setreuid(struct proc *, void *, register_t *);
727 int	sys_setregid(struct proc *, void *, register_t *);
728 int	sys_getgroups(struct proc *, void *, register_t *);
729 int	sys_setgroups(struct proc *, void *, register_t *);
730 int	sys___posix_fchown(struct proc *, void *, register_t *);
731 int	linux_sys_setresuid(struct proc *, void *, register_t *);
732 int	linux_sys_getresuid(struct proc *, void *, register_t *);
733 int	linux_sys_setresgid(struct proc *, void *, register_t *);
734 int	linux_sys_getresgid(struct proc *, void *, register_t *);
735 int	linux_sys_lchown(struct proc *, void *, register_t *);
736 int	sys_setuid(struct proc *, void *, register_t *);
737 int	sys_setgid(struct proc *, void *, register_t *);
738 int	linux_sys_setfsuid(struct proc *, void *, register_t *);
739 int	linux_sys_getfsuid(struct proc *, void *, register_t *);
740 #endif /* _LINUX_SYS__SYSCALLARGS_H_ */
741