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