xref: /netbsd-src/sys/compat/linux/arch/mips/linux_syscallargs.h (revision 1ca5c1b28139779176bd5c13ad7c5f25c0bcd5f8)
1 /* $NetBSD: linux_syscallargs.h,v 1.6 2001/11/20 21:37:51 manu 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.3 2001/10/06 13:32:59 manu 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_lchown_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___sighandler_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_olduname_args {
165 	syscallarg(struct linux_old_utsname *) up;
166 };
167 
168 struct linux_sys_sigaction_args {
169 	syscallarg(int) signum;
170 	syscallarg(const struct linux_old_sigaction *) nsa;
171 	syscallarg(struct linux_old_sigaction *) osa;
172 };
173 
174 struct linux_sys_sigsetmask_args {
175 	syscallarg(linux_old_sigset_t) mask;
176 };
177 
178 struct linux_sys_sigsuspend_args {
179 	syscallarg(caddr_t) restart;
180 	syscallarg(int) oldmask;
181 	syscallarg(int) mask;
182 };
183 
184 struct linux_sys_sigpending_args {
185 	syscallarg(linux_old_sigset_t *) set;
186 };
187 
188 struct linux_sys_gettimeofday_args {
189 	syscallarg(struct timeval *) tp;
190 	syscallarg(struct timezone *) tzp;
191 };
192 
193 struct linux_sys_settimeofday_args {
194 	syscallarg(struct timeval *) tp;
195 	syscallarg(struct timezone *) tzp;
196 };
197 
198 struct linux_sys_symlink_args {
199 	syscallarg(const char *) path;
200 	syscallarg(const char *) to;
201 };
202 
203 struct linux_sys_readlink_args {
204 	syscallarg(const char *) name;
205 	syscallarg(char *) buf;
206 	syscallarg(int) count;
207 };
208 
209 struct linux_sys_swapon_args {
210 	syscallarg(char *) name;
211 };
212 
213 struct linux_sys_reboot_args {
214 	syscallarg(int) magic1;
215 	syscallarg(int) magic2;
216 	syscallarg(int) cmd;
217 	syscallarg(void *) arg;
218 };
219 
220 struct linux_sys_readdir_args {
221 	syscallarg(int) fd;
222 	syscallarg(caddr_t) dent;
223 	syscallarg(unsigned int) count;
224 };
225 
226 struct linux_sys_truncate_args {
227 	syscallarg(const char *) path;
228 	syscallarg(long) length;
229 };
230 
231 struct linux_sys_statfs_args {
232 	syscallarg(const char *) path;
233 	syscallarg(struct linux_statfs *) sp;
234 };
235 
236 struct linux_sys_fstatfs_args {
237 	syscallarg(int) fd;
238 	syscallarg(struct linux_statfs *) sp;
239 };
240 
241 struct linux_sys_ioperm_args {
242 	syscallarg(unsigned int) lo;
243 	syscallarg(unsigned int) hi;
244 	syscallarg(int) val;
245 };
246 
247 struct linux_sys_socketcall_args {
248 	syscallarg(int) what;
249 	syscallarg(void *) args;
250 };
251 
252 struct linux_sys_stat_args {
253 	syscallarg(const char *) path;
254 	syscallarg(struct linux_stat *) sp;
255 };
256 
257 struct linux_sys_lstat_args {
258 	syscallarg(const char *) path;
259 	syscallarg(struct linux_stat *) sp;
260 };
261 
262 struct linux_sys_fstat_args {
263 	syscallarg(int) fd;
264 	syscallarg(struct linux_stat *) sp;
265 };
266 
267 struct linux_sys_uname_args {
268 	syscallarg(struct linux_utsname *) up;
269 };
270 
271 struct linux_sys_wait4_args {
272 	syscallarg(int) pid;
273 	syscallarg(int *) status;
274 	syscallarg(int) options;
275 	syscallarg(struct rusage *) rusage;
276 };
277 
278 struct linux_sys_swapoff_args {
279 	syscallarg(const char *) path;
280 };
281 
282 struct linux_sys_sysinfo_args {
283 	syscallarg(struct linux_sysinfo *) arg;
284 };
285 
286 struct linux_sys_ipc_args {
287 	syscallarg(int) what;
288 	syscallarg(int) a1;
289 	syscallarg(int) a2;
290 	syscallarg(int) a3;
291 	syscallarg(caddr_t) ptr;
292 };
293 
294 struct linux_sys_sigreturn_args {
295 	syscallarg(struct linux_sigframe *) sf;
296 };
297 
298 struct linux_sys_clone_args {
299 	syscallarg(int) flags;
300 	syscallarg(void *) stack;
301 };
302 
303 struct linux_sys_setdomainname_args {
304 	syscallarg(char *) domainname;
305 	syscallarg(int) len;
306 };
307 
308 struct linux_sys_new_uname_args {
309 	syscallarg(struct linux_utsname *) up;
310 };
311 
312 struct linux_sys_sigprocmask_args {
313 	syscallarg(int) how;
314 	syscallarg(const linux_old_sigset_t *) set;
315 	syscallarg(linux_old_sigset_t *) oset;
316 };
317 
318 struct linux_sys_getpgid_args {
319 	syscallarg(int) pid;
320 };
321 
322 struct linux_sys_personality_args {
323 	syscallarg(int) per;
324 };
325 
326 struct linux_sys_setfsuid_args {
327 	syscallarg(uid_t) uid;
328 };
329 
330 struct linux_sys_llseek_args {
331 	syscallarg(int) fd;
332 	syscallarg(u_int32_t) ohigh;
333 	syscallarg(u_int32_t) olow;
334 	syscallarg(caddr_t) res;
335 	syscallarg(int) whence;
336 };
337 
338 struct linux_sys_getdents_args {
339 	syscallarg(int) fd;
340 	syscallarg(struct linux_dirent *) dent;
341 	syscallarg(unsigned int) count;
342 };
343 
344 struct linux_sys_select_args {
345 	syscallarg(int) nfds;
346 	syscallarg(fd_set *) readfds;
347 	syscallarg(fd_set *) writefds;
348 	syscallarg(fd_set *) exceptfds;
349 	syscallarg(struct timeval *) timeout;
350 };
351 
352 struct linux_sys_msync_args {
353 	syscallarg(caddr_t) addr;
354 	syscallarg(int) len;
355 	syscallarg(int) fl;
356 };
357 
358 struct linux_sys_cacheflush_args {
359 	syscallarg(void *) addr;
360 	syscallarg(int) bytes;
361 	syscallarg(int) cache;
362 };
363 
364 struct linux_sys_sysmips_args {
365 	syscallarg(int) cmd;
366 	syscallarg(int) arg1;
367 	syscallarg(int) arg2;
368 	syscallarg(int) arg3;
369 };
370 
371 struct linux_sys_fdatasync_args {
372 	syscallarg(int) fd;
373 };
374 
375 struct linux_sys___sysctl_args {
376 	syscallarg(struct linux___sysctl *) lsp;
377 };
378 
379 struct linux_sys_sched_setparam_args {
380 	syscallarg(pid_t) pid;
381 	syscallarg(const struct linux_sched_param *) sp;
382 };
383 
384 struct linux_sys_sched_getparam_args {
385 	syscallarg(pid_t) pid;
386 	syscallarg(struct linux_sched_param *) sp;
387 };
388 
389 struct linux_sys_sched_setscheduler_args {
390 	syscallarg(pid_t) pid;
391 	syscallarg(int) policy;
392 	syscallarg(const struct linux_sched_param *) sp;
393 };
394 
395 struct linux_sys_sched_getscheduler_args {
396 	syscallarg(pid_t) pid;
397 };
398 
399 struct linux_sys_sched_get_priority_max_args {
400 	syscallarg(int) policy;
401 };
402 
403 struct linux_sys_sched_get_priority_min_args {
404 	syscallarg(int) policy;
405 };
406 
407 struct linux_sys_mremap_args {
408 	syscallarg(void *) old_address;
409 	syscallarg(size_t) old_size;
410 	syscallarg(size_t) new_size;
411 	syscallarg(u_long) flags;
412 };
413 
414 struct linux_sys_setresuid_args {
415 	syscallarg(uid_t) ruid;
416 	syscallarg(uid_t) euid;
417 	syscallarg(uid_t) suid;
418 };
419 
420 struct linux_sys_getresuid_args {
421 	syscallarg(uid_t *) ruid;
422 	syscallarg(uid_t *) euid;
423 	syscallarg(uid_t *) suid;
424 };
425 
426 struct linux_sys_setresgid_args {
427 	syscallarg(gid_t) rgid;
428 	syscallarg(gid_t) egid;
429 	syscallarg(gid_t) sgid;
430 };
431 
432 struct linux_sys_getresgid_args {
433 	syscallarg(gid_t *) rgid;
434 	syscallarg(gid_t *) egid;
435 	syscallarg(gid_t *) sgid;
436 };
437 
438 struct linux_sys_rt_sigreturn_args {
439 	syscallarg(struct linux_pt_regs) regs;
440 };
441 
442 struct linux_sys_rt_sigaction_args {
443 	syscallarg(int) signum;
444 	syscallarg(const struct linux_sigaction *) nsa;
445 	syscallarg(struct linux_sigaction *) osa;
446 	syscallarg(size_t) sigsetsize;
447 };
448 
449 struct linux_sys_rt_sigprocmask_args {
450 	syscallarg(int) how;
451 	syscallarg(const linux_sigset_t *) set;
452 	syscallarg(linux_sigset_t *) oset;
453 	syscallarg(size_t) sigsetsize;
454 };
455 
456 struct linux_sys_rt_sigpending_args {
457 	syscallarg(linux_sigset_t *) set;
458 	syscallarg(size_t) sigsetsize;
459 };
460 
461 struct linux_sys_rt_queueinfo_args {
462 	syscallarg(int) pid;
463 	syscallarg(int) signum;
464 	syscallarg(void *) uinfo;
465 };
466 
467 struct linux_sys_rt_sigsuspend_args {
468 	syscallarg(linux_sigset_t *) unewset;
469 	syscallarg(size_t) sigsetsize;
470 };
471 
472 struct linux_sys_pread_args {
473 	syscallarg(int) fd;
474 	syscallarg(char *) buf;
475 	syscallarg(size_t) nbyte;
476 	syscallarg(linux_off_t) offset;
477 };
478 
479 struct linux_sys_pwrite_args {
480 	syscallarg(int) fd;
481 	syscallarg(char *) buf;
482 	syscallarg(size_t) nbyte;
483 	syscallarg(linux_off_t) offset;
484 };
485 
486 struct linux_sys_chown_args {
487 	syscallarg(const char *) path;
488 	syscallarg(int) uid;
489 	syscallarg(int) gid;
490 };
491 
492 struct linux_sys_sigaltstack_args {
493 	syscallarg(const struct linux_sigaltstack *) ss;
494 	syscallarg(struct linux_sigaltstack *) oss;
495 };
496 
497 struct linux_sys_truncate64_args {
498 	syscallarg(const char *) path;
499 	syscallarg(off_t) length;
500 };
501 
502 struct linux_sys_stat64_args {
503 	syscallarg(const char *) path;
504 	syscallarg(struct linux_stat64 *) sp;
505 };
506 
507 struct linux_sys_lstat64_args {
508 	syscallarg(const char *) path;
509 	syscallarg(struct linux_stat64 *) sp;
510 };
511 
512 struct linux_sys_fstat64_args {
513 	syscallarg(int) fd;
514 	syscallarg(struct linux_stat64 *) sp;
515 };
516 
517 struct linux_sys_fcntl64_args {
518 	syscallarg(unsigned int) fd;
519 	syscallarg(unsigned int) cmd;
520 	syscallarg(unsigned long) arg;
521 };
522 
523 /*
524  * System call prototypes.
525  */
526 
527 int	linux_sys_nosys(struct proc *, void *, register_t *);
528 int	sys_exit(struct proc *, void *, register_t *);
529 int	sys_fork(struct proc *, void *, register_t *);
530 int	sys_read(struct proc *, void *, register_t *);
531 int	sys_write(struct proc *, void *, register_t *);
532 int	linux_sys_open(struct proc *, void *, register_t *);
533 int	sys_close(struct proc *, void *, register_t *);
534 int	linux_sys_waitpid(struct proc *, void *, register_t *);
535 int	linux_sys_creat(struct proc *, void *, register_t *);
536 int	linux_sys_link(struct proc *, void *, register_t *);
537 int	linux_sys_unlink(struct proc *, void *, register_t *);
538 int	linux_sys_execve(struct proc *, void *, register_t *);
539 int	linux_sys_chdir(struct proc *, void *, register_t *);
540 int	linux_sys_time(struct proc *, void *, register_t *);
541 int	linux_sys_mknod(struct proc *, void *, register_t *);
542 int	linux_sys_chmod(struct proc *, void *, register_t *);
543 int	linux_sys_lchown(struct proc *, void *, register_t *);
544 int	compat_43_sys_lseek(struct proc *, void *, register_t *);
545 int	sys_getpid(struct proc *, void *, register_t *);
546 int	sys_setuid(struct proc *, void *, register_t *);
547 int	sys_getuid(struct proc *, void *, register_t *);
548 int	linux_sys_stime(struct proc *, void *, register_t *);
549 int	linux_sys_ptrace(struct proc *, void *, register_t *);
550 int	linux_sys_alarm(struct proc *, void *, register_t *);
551 int	linux_sys_pause(struct proc *, void *, register_t *);
552 int	linux_sys_utime(struct proc *, void *, register_t *);
553 int	linux_sys_access(struct proc *, void *, register_t *);
554 int	linux_sys_nice(struct proc *, void *, register_t *);
555 int	sys_sync(struct proc *, void *, register_t *);
556 int	linux_sys_kill(struct proc *, void *, register_t *);
557 int	linux_sys_rename(struct proc *, void *, register_t *);
558 int	linux_sys_mkdir(struct proc *, void *, register_t *);
559 int	linux_sys_rmdir(struct proc *, void *, register_t *);
560 int	sys_dup(struct proc *, void *, register_t *);
561 int	linux_sys_pipe(struct proc *, void *, register_t *);
562 int	linux_sys_times(struct proc *, void *, register_t *);
563 int	linux_sys_brk(struct proc *, void *, register_t *);
564 int	sys_setgid(struct proc *, void *, register_t *);
565 int	sys_getgid(struct proc *, void *, register_t *);
566 int	linux_sys_signal(struct proc *, void *, register_t *);
567 int	sys_geteuid(struct proc *, void *, register_t *);
568 int	sys_getegid(struct proc *, void *, register_t *);
569 int	sys_acct(struct proc *, void *, register_t *);
570 int	linux_sys_ioctl(struct proc *, void *, register_t *);
571 int	linux_sys_fcntl(struct proc *, void *, register_t *);
572 int	sys_setpgid(struct proc *, void *, register_t *);
573 int	linux_sys_olduname(struct proc *, void *, register_t *);
574 int	sys_umask(struct proc *, void *, register_t *);
575 int	sys_chroot(struct proc *, void *, register_t *);
576 int	sys_dup2(struct proc *, void *, register_t *);
577 int	sys_getppid(struct proc *, void *, register_t *);
578 int	sys_getpgrp(struct proc *, void *, register_t *);
579 int	sys_setsid(struct proc *, void *, register_t *);
580 int	linux_sys_sigaction(struct proc *, void *, register_t *);
581 int	linux_sys_siggetmask(struct proc *, void *, register_t *);
582 int	linux_sys_sigsetmask(struct proc *, void *, register_t *);
583 int	sys_setreuid(struct proc *, void *, register_t *);
584 int	sys_setregid(struct proc *, void *, register_t *);
585 int	linux_sys_sigsuspend(struct proc *, void *, register_t *);
586 int	linux_sys_sigpending(struct proc *, void *, register_t *);
587 int	compat_43_sys_sethostname(struct proc *, void *, register_t *);
588 int	compat_43_sys_setrlimit(struct proc *, void *, register_t *);
589 int	compat_43_sys_getrlimit(struct proc *, void *, register_t *);
590 int	sys_getrusage(struct proc *, void *, register_t *);
591 int	linux_sys_gettimeofday(struct proc *, void *, register_t *);
592 int	linux_sys_settimeofday(struct proc *, void *, register_t *);
593 int	sys_getgroups(struct proc *, void *, register_t *);
594 int	sys_setgroups(struct proc *, void *, register_t *);
595 int	linux_sys_symlink(struct proc *, void *, register_t *);
596 int	compat_43_sys_lstat(struct proc *, void *, register_t *);
597 int	linux_sys_readlink(struct proc *, void *, register_t *);
598 int	linux_sys_swapon(struct proc *, void *, register_t *);
599 int	linux_sys_reboot(struct proc *, void *, register_t *);
600 int	linux_sys_readdir(struct proc *, void *, register_t *);
601 int	linux_sys_mmap(struct proc *, void *, register_t *);
602 int	sys_munmap(struct proc *, void *, register_t *);
603 int	linux_sys_truncate(struct proc *, void *, register_t *);
604 int	compat_43_sys_ftruncate(struct proc *, void *, register_t *);
605 int	sys_fchmod(struct proc *, void *, register_t *);
606 int	sys___posix_fchown(struct proc *, void *, register_t *);
607 int	sys_getpriority(struct proc *, void *, register_t *);
608 int	sys_setpriority(struct proc *, void *, register_t *);
609 int	linux_sys_statfs(struct proc *, void *, register_t *);
610 int	linux_sys_fstatfs(struct proc *, void *, register_t *);
611 int	linux_sys_ioperm(struct proc *, void *, register_t *);
612 int	linux_sys_socketcall(struct proc *, void *, register_t *);
613 int	sys_setitimer(struct proc *, void *, register_t *);
614 int	sys_getitimer(struct proc *, void *, register_t *);
615 int	linux_sys_stat(struct proc *, void *, register_t *);
616 int	linux_sys_lstat(struct proc *, void *, register_t *);
617 int	linux_sys_fstat(struct proc *, void *, register_t *);
618 int	linux_sys_uname(struct proc *, void *, register_t *);
619 int	linux_sys_wait4(struct proc *, void *, register_t *);
620 int	linux_sys_swapoff(struct proc *, void *, register_t *);
621 int	linux_sys_sysinfo(struct proc *, void *, register_t *);
622 int	linux_sys_ipc(struct proc *, void *, register_t *);
623 int	sys_fsync(struct proc *, void *, register_t *);
624 int	linux_sys_sigreturn(struct proc *, void *, register_t *);
625 int	linux_sys_clone(struct proc *, void *, register_t *);
626 int	linux_sys_setdomainname(struct proc *, void *, register_t *);
627 int	linux_sys_new_uname(struct proc *, void *, register_t *);
628 int	sys_mprotect(struct proc *, void *, register_t *);
629 int	linux_sys_sigprocmask(struct proc *, void *, register_t *);
630 int	linux_sys_getpgid(struct proc *, void *, register_t *);
631 int	sys_fchdir(struct proc *, void *, register_t *);
632 int	linux_sys_personality(struct proc *, void *, register_t *);
633 int	linux_sys_setfsuid(struct proc *, void *, register_t *);
634 int	linux_sys_getfsuid(struct proc *, void *, register_t *);
635 int	linux_sys_llseek(struct proc *, void *, register_t *);
636 int	linux_sys_getdents(struct proc *, void *, register_t *);
637 int	linux_sys_select(struct proc *, void *, register_t *);
638 int	sys_flock(struct proc *, void *, register_t *);
639 int	linux_sys_msync(struct proc *, void *, register_t *);
640 int	sys_readv(struct proc *, void *, register_t *);
641 int	sys_writev(struct proc *, void *, register_t *);
642 int	linux_sys_cacheflush(struct proc *, void *, register_t *);
643 int	linux_sys_sysmips(struct proc *, void *, register_t *);
644 int	sys_getsid(struct proc *, void *, register_t *);
645 int	linux_sys_fdatasync(struct proc *, void *, register_t *);
646 int	linux_sys___sysctl(struct proc *, void *, register_t *);
647 int	sys_mlock(struct proc *, void *, register_t *);
648 int	sys_munlock(struct proc *, void *, register_t *);
649 int	sys_mlockall(struct proc *, void *, register_t *);
650 int	sys_munlockall(struct proc *, void *, register_t *);
651 int	linux_sys_sched_setparam(struct proc *, void *, register_t *);
652 int	linux_sys_sched_getparam(struct proc *, void *, register_t *);
653 int	linux_sys_sched_setscheduler(struct proc *, void *, register_t *);
654 int	linux_sys_sched_getscheduler(struct proc *, void *, register_t *);
655 int	linux_sys_sched_yield(struct proc *, void *, register_t *);
656 int	linux_sys_sched_get_priority_max(struct proc *, void *, register_t *);
657 int	linux_sys_sched_get_priority_min(struct proc *, void *, register_t *);
658 int	sys_nanosleep(struct proc *, void *, register_t *);
659 int	linux_sys_mremap(struct proc *, void *, register_t *);
660 int	linux_sys_accept(struct proc *, void *, register_t *);
661 int	linux_sys_bind(struct proc *, void *, register_t *);
662 int	linux_sys_connect(struct proc *, void *, register_t *);
663 int	linux_sys_getpeername(struct proc *, void *, register_t *);
664 int	linux_sys_getsockname(struct proc *, void *, register_t *);
665 int	linux_sys_getsockopt(struct proc *, void *, register_t *);
666 int	sys_listen(struct proc *, void *, register_t *);
667 int	linux_sys_recv(struct proc *, void *, register_t *);
668 int	linux_sys_recvfrom(struct proc *, void *, register_t *);
669 int	linux_sys_recvmsg(struct proc *, void *, register_t *);
670 int	linux_sys_send(struct proc *, void *, register_t *);
671 int	linux_sys_sendmsg(struct proc *, void *, register_t *);
672 int	linux_sys_sendto(struct proc *, void *, register_t *);
673 int	linux_sys_setsockopt(struct proc *, void *, register_t *);
674 int	linux_sys_socket(struct proc *, void *, register_t *);
675 int	linux_sys_socketpair(struct proc *, void *, register_t *);
676 int	linux_sys_setresuid(struct proc *, void *, register_t *);
677 int	linux_sys_getresuid(struct proc *, void *, register_t *);
678 int	sys_poll(struct proc *, void *, register_t *);
679 int	linux_sys_setresgid(struct proc *, void *, register_t *);
680 int	linux_sys_getresgid(struct proc *, void *, register_t *);
681 int	linux_sys_rt_sigreturn(struct proc *, void *, register_t *);
682 int	linux_sys_rt_sigaction(struct proc *, void *, register_t *);
683 int	linux_sys_rt_sigprocmask(struct proc *, void *, register_t *);
684 int	linux_sys_rt_sigpending(struct proc *, void *, register_t *);
685 int	linux_sys_rt_queueinfo(struct proc *, void *, register_t *);
686 int	linux_sys_rt_sigsuspend(struct proc *, void *, register_t *);
687 int	linux_sys_pread(struct proc *, void *, register_t *);
688 int	linux_sys_pwrite(struct proc *, void *, register_t *);
689 int	linux_sys_chown(struct proc *, void *, register_t *);
690 int	sys___getcwd(struct proc *, void *, register_t *);
691 int	linux_sys_sigaltstack(struct proc *, void *, register_t *);
692 int	linux_sys_truncate64(struct proc *, void *, register_t *);
693 int	linux_sys_stat64(struct proc *, void *, register_t *);
694 int	linux_sys_lstat64(struct proc *, void *, register_t *);
695 int	linux_sys_fstat64(struct proc *, void *, register_t *);
696 int	linux_sys_fcntl64(struct proc *, void *, register_t *);
697 #endif /* _LINUX_SYS__SYSCALLARGS_H_ */
698