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