linux_syscallargs.h revision 1.51 1 /* $NetBSD: linux_syscallargs.h,v 1.51 2004/09/28 19:05:58 jdolecek Exp $ */
2
3 /*
4 * System call argument lists.
5 *
6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD: syscalls.master,v 1.47 2004/09/28 19:05:19 jdolecek Exp
8 */
9
10 #ifndef _LINUX_SYS__SYSCALLARGS_H_
11 #define _LINUX_SYS__SYSCALLARGS_H_
12
13 #ifdef syscallarg
14 #undef syscallarg
15 #endif
16
17 #define syscallarg(x) \
18 union { \
19 register_t pad; \
20 struct { x datum; } le; \
21 struct { /* LINTED zero array dimension */ \
22 int8_t pad[ /* CONSTCOND */ \
23 (sizeof (register_t) < sizeof (x)) \
24 ? 0 \
25 : sizeof (register_t) - sizeof (x)]; \
26 x datum; \
27 } be; \
28 }
29
30 struct 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
77 struct linux_sys_ptrace_args {
78 syscallarg(long) request;
79 syscallarg(long) pid;
80 syscallarg(long) addr;
81 syscallarg(long) data;
82 };
83
84 struct linux_sys_access_args {
85 syscallarg(const char *) path;
86 syscallarg(int) flags;
87 };
88
89 struct linux_sys_kill_args {
90 syscallarg(int) pid;
91 syscallarg(int) signum;
92 };
93
94 struct osf1_sys_set_program_attributes_args {
95 syscallarg(caddr_t) taddr;
96 syscallarg(unsigned long) tsize;
97 syscallarg(caddr_t) daddr;
98 syscallarg(unsigned long) dsize;
99 };
100
101 struct linux_sys_open_args {
102 syscallarg(const char *) path;
103 syscallarg(int) flags;
104 syscallarg(int) mode;
105 };
106
107 struct linux_sys_sigpending_args {
108 syscallarg(linux_old_sigset_t *) set;
109 };
110
111 struct linux_sys_ioctl_args {
112 syscallarg(int) fd;
113 syscallarg(u_long) com;
114 syscallarg(caddr_t) data;
115 };
116
117 struct linux_sys_symlink_args {
118 syscallarg(const char *) path;
119 syscallarg(const char *) to;
120 };
121
122 struct linux_sys_readlink_args {
123 syscallarg(const char *) name;
124 syscallarg(char *) buf;
125 syscallarg(int) count;
126 };
127
128 struct linux_sys_execve_args {
129 syscallarg(const char *) path;
130 syscallarg(char **) argp;
131 syscallarg(char **) envp;
132 };
133
134 struct linux_sys_stat_args {
135 syscallarg(const char *) path;
136 syscallarg(struct linux_stat *) sp;
137 };
138
139 struct linux_sys_lstat_args {
140 syscallarg(const char *) path;
141 syscallarg(struct linux_stat *) sp;
142 };
143
144 struct linux_sys_mprotect_args {
145 syscallarg(const void *) start;
146 syscallarg(unsigned long) len;
147 syscallarg(int) prot;
148 };
149
150 struct osf1_sys_setitimer_args {
151 syscallarg(u_int) which;
152 syscallarg(struct osf1_itimerval *) itv;
153 syscallarg(struct osf1_itimerval *) oitv;
154 };
155
156 struct linux_sys_fstat_args {
157 syscallarg(int) fd;
158 syscallarg(struct linux_stat *) sp;
159 };
160
161 struct linux_sys_fcntl_args {
162 syscallarg(int) fd;
163 syscallarg(int) cmd;
164 syscallarg(void *) arg;
165 };
166
167 struct osf1_sys_select_args {
168 syscallarg(u_int) nd;
169 syscallarg(fd_set *) in;
170 syscallarg(fd_set *) ou;
171 syscallarg(fd_set *) ex;
172 syscallarg(struct osf1_timeval *) tv;
173 };
174
175 struct linux_sys_socket_args {
176 syscallarg(int) domain;
177 syscallarg(int) type;
178 syscallarg(int) protocol;
179 };
180
181 struct linux_sys_connect_args {
182 syscallarg(int) s;
183 syscallarg(const struct osockaddr *) name;
184 syscallarg(unsigned int) namelen;
185 };
186
187 struct linux_sys_accept_args {
188 syscallarg(int) s;
189 syscallarg(struct osockaddr *) name;
190 syscallarg(int *) anamelen;
191 };
192
193 struct linux_sys_send_args {
194 syscallarg(int) s;
195 syscallarg(caddr_t) buf;
196 syscallarg(int) len;
197 syscallarg(int) flags;
198 };
199
200 struct linux_sys_recv_args {
201 syscallarg(int) s;
202 syscallarg(caddr_t) buf;
203 syscallarg(int) len;
204 syscallarg(int) flags;
205 };
206
207 struct linux_sys_sigreturn_args {
208 syscallarg(struct linux_sigframe *) sfp;
209 };
210
211 struct linux_sys_bind_args {
212 syscallarg(int) s;
213 syscallarg(const struct osockaddr *) name;
214 syscallarg(unsigned int) namelen;
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_sigsuspend_args {
226 syscallarg(caddr_t) restart;
227 syscallarg(int) oldmask;
228 syscallarg(int) mask;
229 };
230
231 struct linux_sys_recvmsg_args {
232 syscallarg(int) s;
233 syscallarg(struct msghdr *) msg;
234 syscallarg(int) flags;
235 };
236
237 struct linux_sys_sendmsg_args {
238 syscallarg(int) s;
239 syscallarg(const struct msghdr *) msg;
240 syscallarg(int) flags;
241 };
242
243 struct osf1_sys_gettimeofday_args {
244 syscallarg(struct osf1_timeval *) tv;
245 syscallarg(struct osf1_timezone *) tzp;
246 };
247
248 struct osf1_sys_getrusage_args {
249 syscallarg(int) who;
250 syscallarg(struct osf1_rusage *) rusage;
251 };
252
253 struct linux_sys_getsockopt_args {
254 syscallarg(int) s;
255 syscallarg(int) level;
256 syscallarg(int) optname;
257 syscallarg(void *) optval;
258 syscallarg(int *) optlen;
259 };
260
261 struct osf1_sys_settimeofday_args {
262 syscallarg(struct osf1_timeval *) tv;
263 syscallarg(struct osf1_timezone *) tzp;
264 };
265
266 struct linux_sys_recvfrom_args {
267 syscallarg(int) s;
268 syscallarg(void *) buf;
269 syscallarg(int) len;
270 syscallarg(int) flags;
271 syscallarg(struct osockaddr *) from;
272 syscallarg(int *) fromlenaddr;
273 };
274
275 struct linux_sys_rename_args {
276 syscallarg(const char *) from;
277 syscallarg(const char *) to;
278 };
279
280 struct linux_sys_truncate_args {
281 syscallarg(const char *) path;
282 syscallarg(long) length;
283 };
284
285 struct linux_sys_sendto_args {
286 syscallarg(int) s;
287 syscallarg(void *) msg;
288 syscallarg(int) len;
289 syscallarg(int) flags;
290 syscallarg(struct osockaddr *) to;
291 syscallarg(int) tolen;
292 };
293
294 struct linux_sys_socketpair_args {
295 syscallarg(int) domain;
296 syscallarg(int) type;
297 syscallarg(int) protocol;
298 syscallarg(int *) rsv;
299 };
300
301 struct linux_sys_mkdir_args {
302 syscallarg(const char *) path;
303 syscallarg(int) mode;
304 };
305
306 struct linux_sys_rmdir_args {
307 syscallarg(const char *) path;
308 };
309
310 struct osf1_sys_utimes_args {
311 syscallarg(const char *) path;
312 syscallarg(const struct osf1_timeval *) tptr;
313 };
314
315 struct linux_sys_getpeername_args {
316 syscallarg(int) fdes;
317 syscallarg(caddr_t) asa;
318 syscallarg(int *) alen;
319 };
320
321 struct linux_sys_getrlimit_args {
322 syscallarg(int) which;
323 syscallarg(struct orlimit *) rlp;
324 };
325
326 struct linux_sys_setrlimit_args {
327 syscallarg(int) which;
328 syscallarg(const struct orlimit *) rlp;
329 };
330
331 struct linux_sys_getsockname_args {
332 syscallarg(int) fdec;
333 syscallarg(caddr_t) asa;
334 syscallarg(int *) alen;
335 };
336
337 struct linux_sys_sigaction_args {
338 syscallarg(int) signum;
339 syscallarg(const struct linux_old_sigaction *) nsa;
340 syscallarg(struct linux_old_sigaction *) osa;
341 };
342
343 struct osf1_sys_statfs_args {
344 syscallarg(const char *) path;
345 syscallarg(struct osf1_statfs *) buf;
346 syscallarg(int) len;
347 };
348
349 struct osf1_sys_fstatfs_args {
350 syscallarg(int) fd;
351 syscallarg(struct osf1_statfs *) buf;
352 syscallarg(int) len;
353 };
354
355 struct linux_sys_setdomainname_args {
356 syscallarg(char *) domainname;
357 syscallarg(int) len;
358 };
359
360 struct linux_sys_ugetrlimit_args {
361 syscallarg(int) which;
362 syscallarg(struct rlimit *) rlp;
363 };
364 #ifdef SYSVMSG
365 #else
366 #endif
367 #ifdef SYSVSEM
368 #else
369 #endif
370
371 struct linux_sys_olduname_args {
372 syscallarg(struct linux_old_utsname *) up;
373 };
374 #ifdef SYSVSHM
375 #else
376 #endif
377
378 struct linux_sys_msync_args {
379 syscallarg(caddr_t) addr;
380 syscallarg(int) len;
381 syscallarg(int) fl;
382 };
383
384 struct linux_sys_getpgid_args {
385 syscallarg(int) pid;
386 };
387
388 struct osf1_sys_sysinfo_args {
389 syscallarg(int) cmd;
390 syscallarg(char) buf;
391 syscallarg(long) len;
392 };
393
394 struct osf1_sys_usleep_thread_args {
395 syscallarg(struct osf1_timeval *) sleep;
396 syscallarg(struct osf1_timeval *) slept;
397 };
398
399 struct osf1_sys_getsysinfo_args {
400 syscallarg(u_long) op;
401 syscallarg(caddr_t) buffer;
402 syscallarg(u_long) nbytes;
403 syscallarg(caddr_t) arg;
404 syscallarg(u_long) flag;
405 };
406
407 struct osf1_sys_setsysinfo_args {
408 syscallarg(u_long) op;
409 syscallarg(caddr_t) buffer;
410 syscallarg(u_long) nbytes;
411 syscallarg(caddr_t) arg;
412 syscallarg(u_long) flag;
413 };
414
415 struct linux_sys_fdatasync_args {
416 syscallarg(int) fd;
417 };
418
419 struct linux_sys_swapoff_args {
420 syscallarg(const char *) path;
421 };
422
423 struct linux_sys_getdents_args {
424 syscallarg(int) fd;
425 syscallarg(struct linux_dirent *) dent;
426 syscallarg(unsigned int) count;
427 };
428
429 struct linux_sys_reboot_args {
430 syscallarg(int) magic1;
431 syscallarg(int) magic2;
432 syscallarg(int) cmd;
433 syscallarg(void *) arg;
434 };
435
436 struct linux_sys_clone_args {
437 syscallarg(int) flags;
438 syscallarg(void *) stack;
439 };
440 #ifdef EXEC_AOUT
441
442 struct linux_sys_uselib_args {
443 syscallarg(const char *) path;
444 };
445 #else
446 #endif
447
448 struct linux_sys_sysinfo_args {
449 syscallarg(struct linux_sysinfo *) arg;
450 };
451
452 struct linux_sys___sysctl_args {
453 syscallarg(struct linux___sysctl *) lsp;
454 };
455
456 struct linux_sys_swapon_args {
457 syscallarg(const char *) name;
458 };
459
460 struct linux_sys_times_args {
461 syscallarg(struct times *) tms;
462 };
463
464 struct linux_sys_personality_args {
465 syscallarg(int) per;
466 };
467
468 struct linux_sys_setfsuid_args {
469 syscallarg(uid_t) uid;
470 };
471
472 struct linux_sys_statfs_args {
473 syscallarg(const char *) path;
474 syscallarg(struct linux_statfs *) sp;
475 };
476
477 struct linux_sys_fstatfs_args {
478 syscallarg(int) fd;
479 syscallarg(struct linux_statfs *) sp;
480 };
481
482 struct linux_sys_sched_setparam_args {
483 syscallarg(pid_t) pid;
484 syscallarg(const struct linux_sched_param *) sp;
485 };
486
487 struct linux_sys_sched_getparam_args {
488 syscallarg(pid_t) pid;
489 syscallarg(struct linux_sched_param *) sp;
490 };
491
492 struct linux_sys_sched_setscheduler_args {
493 syscallarg(pid_t) pid;
494 syscallarg(int) policy;
495 syscallarg(const struct linux_sched_param *) sp;
496 };
497
498 struct linux_sys_sched_getscheduler_args {
499 syscallarg(pid_t) pid;
500 };
501
502 struct linux_sys_sched_get_priority_max_args {
503 syscallarg(int) policy;
504 };
505
506 struct linux_sys_sched_get_priority_min_args {
507 syscallarg(int) policy;
508 };
509
510 struct linux_sys_uname_args {
511 syscallarg(struct linux_utsname *) up;
512 };
513
514 struct linux_sys_mremap_args {
515 syscallarg(void *) old_address;
516 syscallarg(size_t) old_size;
517 syscallarg(size_t) new_size;
518 syscallarg(u_long) flags;
519 };
520
521 struct linux_sys_setresuid_args {
522 syscallarg(uid_t) ruid;
523 syscallarg(uid_t) euid;
524 syscallarg(uid_t) suid;
525 };
526
527 struct linux_sys_getresuid_args {
528 syscallarg(uid_t *) ruid;
529 syscallarg(uid_t *) euid;
530 syscallarg(uid_t *) suid;
531 };
532
533 struct linux_sys_pread_args {
534 syscallarg(int) fd;
535 syscallarg(char *) buf;
536 syscallarg(size_t) nbyte;
537 syscallarg(linux_off_t) offset;
538 };
539
540 struct linux_sys_pwrite_args {
541 syscallarg(int) fd;
542 syscallarg(char *) buf;
543 syscallarg(size_t) nbyte;
544 syscallarg(linux_off_t) offset;
545 };
546
547 struct linux_sys_rt_sigreturn_args {
548 syscallarg(struct linux_rt_sigframe *) sfp;
549 };
550
551 struct linux_sys_rt_sigaction_args {
552 syscallarg(int) signum;
553 syscallarg(const struct linux_sigaction *) nsa;
554 syscallarg(struct linux_sigaction *) osa;
555 syscallarg(size_t) sigsetsize;
556 };
557
558 struct linux_sys_rt_sigprocmask_args {
559 syscallarg(int) how;
560 syscallarg(const linux_sigset_t *) set;
561 syscallarg(linux_sigset_t *) oset;
562 syscallarg(size_t) sigsetsize;
563 };
564
565 struct linux_sys_rt_sigpending_args {
566 syscallarg(linux_sigset_t *) set;
567 syscallarg(size_t) sigsetsize;
568 };
569
570 struct linux_sys_rt_queueinfo_args {
571 syscallarg(int) pid;
572 syscallarg(int) signum;
573 syscallarg(linux_siginfo_t *) uinfo;
574 };
575
576 struct linux_sys_rt_sigsuspend_args {
577 syscallarg(linux_sigset_t *) unewset;
578 syscallarg(size_t) sigsetsize;
579 };
580
581 struct linux_sys_select_args {
582 syscallarg(int) nfds;
583 syscallarg(fd_set *) readfds;
584 syscallarg(fd_set *) writefds;
585 syscallarg(fd_set *) exceptfds;
586 syscallarg(struct timeval *) timeout;
587 };
588
589 struct linux_sys_wait4_args {
590 syscallarg(int) pid;
591 syscallarg(int *) status;
592 syscallarg(int) options;
593 syscallarg(struct rusage *) rusage;
594 };
595
596 struct linux_sys_getdents64_args {
597 syscallarg(int) fd;
598 syscallarg(struct linux_dirent64 *) dent;
599 syscallarg(unsigned int) count;
600 };
601
602 struct linux_sys_exit_group_args {
603 syscallarg(int) error_code;
604 };
605
606 /*
607 * System call prototypes.
608 */
609
610 int linux_sys_nosys(struct lwp *, void *, register_t *);
611
612 int sys_exit(struct lwp *, void *, register_t *);
613
614 int sys_fork(struct lwp *, void *, register_t *);
615
616 int sys_read(struct lwp *, void *, register_t *);
617
618 int sys_write(struct lwp *, void *, register_t *);
619
620 int sys_close(struct lwp *, void *, register_t *);
621
622 int osf1_sys_wait4(struct lwp *, void *, register_t *);
623
624 int linux_sys_creat(struct lwp *, void *, register_t *);
625
626 int linux_sys_link(struct lwp *, void *, register_t *);
627
628 int linux_sys_unlink(struct lwp *, void *, register_t *);
629
630 int linux_sys_chdir(struct lwp *, void *, register_t *);
631
632 int sys_fchdir(struct lwp *, void *, register_t *);
633
634 int linux_sys_mknod(struct lwp *, void *, register_t *);
635
636 int linux_sys_chmod(struct lwp *, void *, register_t *);
637
638 int sys___posix_chown(struct lwp *, void *, register_t *);
639
640 int linux_sys_brk(struct lwp *, void *, register_t *);
641
642 int compat_43_sys_lseek(struct lwp *, void *, register_t *);
643
644 int sys_getpid_with_ppid(struct lwp *, void *, register_t *);
645
646 int osf1_sys_mount(struct lwp *, void *, register_t *);
647
648 int sys_setuid(struct lwp *, void *, register_t *);
649
650 int sys_getuid_with_euid(struct lwp *, void *, register_t *);
651
652 int linux_sys_ptrace(struct lwp *, void *, register_t *);
653
654 int linux_sys_access(struct lwp *, void *, register_t *);
655
656 int sys_sync(struct lwp *, void *, register_t *);
657
658 int linux_sys_kill(struct lwp *, void *, register_t *);
659
660 int sys_setpgid(struct lwp *, void *, register_t *);
661
662 int sys_dup(struct lwp *, void *, register_t *);
663
664 int linux_sys_pipe(struct lwp *, void *, register_t *);
665
666 int osf1_sys_set_program_attributes(struct lwp *, void *, register_t *);
667
668 int linux_sys_open(struct lwp *, void *, register_t *);
669
670 int sys_getgid_with_egid(struct lwp *, void *, register_t *);
671
672 int compat_13_sys_sigprocmask(struct lwp *, void *, register_t *);
673
674 int sys_acct(struct lwp *, void *, register_t *);
675
676 int linux_sys_sigpending(struct lwp *, void *, register_t *);
677
678 int linux_sys_ioctl(struct lwp *, void *, register_t *);
679
680 int linux_sys_symlink(struct lwp *, void *, register_t *);
681
682 int linux_sys_readlink(struct lwp *, void *, register_t *);
683
684 int linux_sys_execve(struct lwp *, void *, register_t *);
685
686 int sys_umask(struct lwp *, void *, register_t *);
687
688 int sys_chroot(struct lwp *, void *, register_t *);
689
690 int sys_getpgrp(struct lwp *, void *, register_t *);
691
692 int compat_43_sys_getpagesize(struct lwp *, void *, register_t *);
693
694 int sys___vfork14(struct lwp *, void *, register_t *);
695
696 int linux_sys_stat(struct lwp *, void *, register_t *);
697
698 int linux_sys_lstat(struct lwp *, void *, register_t *);
699
700 int linux_sys_mmap(struct lwp *, void *, register_t *);
701
702 int sys_munmap(struct lwp *, void *, register_t *);
703
704 int linux_sys_mprotect(struct lwp *, void *, register_t *);
705
706 int sys_madvise(struct lwp *, void *, register_t *);
707
708 int sys_getgroups(struct lwp *, void *, register_t *);
709
710 int sys_setgroups(struct lwp *, void *, register_t *);
711
712 int osf1_sys_setitimer(struct lwp *, void *, register_t *);
713
714 int compat_43_sys_gethostname(struct lwp *, void *, register_t *);
715
716 int compat_43_sys_sethostname(struct lwp *, void *, register_t *);
717
718 int sys_dup2(struct lwp *, void *, register_t *);
719
720 int linux_sys_fstat(struct lwp *, void *, register_t *);
721
722 int linux_sys_fcntl(struct lwp *, void *, register_t *);
723
724 int osf1_sys_select(struct lwp *, void *, register_t *);
725
726 int sys_poll(struct lwp *, void *, register_t *);
727
728 int sys_fsync(struct lwp *, void *, register_t *);
729
730 int sys_setpriority(struct lwp *, void *, register_t *);
731
732 int linux_sys_socket(struct lwp *, void *, register_t *);
733
734 int linux_sys_connect(struct lwp *, void *, register_t *);
735
736 int linux_sys_accept(struct lwp *, void *, register_t *);
737
738 int sys_getpriority(struct lwp *, void *, register_t *);
739
740 int linux_sys_send(struct lwp *, void *, register_t *);
741
742 int linux_sys_recv(struct lwp *, void *, register_t *);
743
744 int linux_sys_sigreturn(struct lwp *, void *, register_t *);
745
746 int linux_sys_bind(struct lwp *, void *, register_t *);
747
748 int linux_sys_setsockopt(struct lwp *, void *, register_t *);
749
750 int sys_listen(struct lwp *, void *, register_t *);
751
752 int linux_sys_sigsuspend(struct lwp *, void *, register_t *);
753
754 int compat_43_sys_sigstack(struct lwp *, void *, register_t *);
755
756 int linux_sys_recvmsg(struct lwp *, void *, register_t *);
757
758 int linux_sys_sendmsg(struct lwp *, void *, register_t *);
759
760 int osf1_sys_gettimeofday(struct lwp *, void *, register_t *);
761
762 int osf1_sys_getrusage(struct lwp *, void *, register_t *);
763
764 int linux_sys_getsockopt(struct lwp *, void *, register_t *);
765
766 int sys_readv(struct lwp *, void *, register_t *);
767
768 int sys_writev(struct lwp *, void *, register_t *);
769
770 int osf1_sys_settimeofday(struct lwp *, void *, register_t *);
771
772 int sys___posix_fchown(struct lwp *, void *, register_t *);
773
774 int sys_fchmod(struct lwp *, void *, register_t *);
775
776 int linux_sys_recvfrom(struct lwp *, void *, register_t *);
777
778 int sys_setreuid(struct lwp *, void *, register_t *);
779
780 int sys_setregid(struct lwp *, void *, register_t *);
781
782 int linux_sys_rename(struct lwp *, void *, register_t *);
783
784 int linux_sys_truncate(struct lwp *, void *, register_t *);
785
786 int compat_43_sys_ftruncate(struct lwp *, void *, register_t *);
787
788 int sys_flock(struct lwp *, void *, register_t *);
789
790 int sys_setgid(struct lwp *, void *, register_t *);
791
792 int linux_sys_sendto(struct lwp *, void *, register_t *);
793
794 int sys_shutdown(struct lwp *, void *, register_t *);
795
796 int linux_sys_socketpair(struct lwp *, void *, register_t *);
797
798 int linux_sys_mkdir(struct lwp *, void *, register_t *);
799
800 int linux_sys_rmdir(struct lwp *, void *, register_t *);
801
802 int osf1_sys_utimes(struct lwp *, void *, register_t *);
803
804 int linux_sys_getpeername(struct lwp *, void *, register_t *);
805
806 int linux_sys_getrlimit(struct lwp *, void *, register_t *);
807
808 int linux_sys_setrlimit(struct lwp *, void *, register_t *);
809
810 int sys_setsid(struct lwp *, void *, register_t *);
811
812 int linux_sys_getsockname(struct lwp *, void *, register_t *);
813
814 int linux_sys_sigaction(struct lwp *, void *, register_t *);
815
816 int compat_43_sys_getdirentries(struct lwp *, void *, register_t *);
817
818 int osf1_sys_statfs(struct lwp *, void *, register_t *);
819
820 int osf1_sys_fstatfs(struct lwp *, void *, register_t *);
821
822 int compat_09_sys_getdomainname(struct lwp *, void *, register_t *);
823
824 int linux_sys_setdomainname(struct lwp *, void *, register_t *);
825
826 int linux_sys_ugetrlimit(struct lwp *, void *, register_t *);
827
828 #ifdef SYSVMSG
829 int linux_sys_msgctl(struct lwp *, void *, register_t *);
830
831 int sys_msgget(struct lwp *, void *, register_t *);
832
833 int sys_msgrcv(struct lwp *, void *, register_t *);
834
835 int sys_msgsnd(struct lwp *, void *, register_t *);
836
837 #else
838 #endif
839 #ifdef SYSVSEM
840 int linux_sys_semctl(struct lwp *, void *, register_t *);
841
842 int sys_semget(struct lwp *, void *, register_t *);
843
844 int sys_semop(struct lwp *, void *, register_t *);
845
846 #else
847 #endif
848 int linux_sys_olduname(struct lwp *, void *, register_t *);
849
850 int sys___posix_lchown(struct lwp *, void *, register_t *);
851
852 #ifdef SYSVSHM
853 int linux_sys_shmat(struct lwp *, void *, register_t *);
854
855 int linux_sys_shmctl(struct lwp *, void *, register_t *);
856
857 int sys_shmdt(struct lwp *, void *, register_t *);
858
859 int linux_sys_shmget(struct lwp *, void *, register_t *);
860
861 #else
862 #endif
863 int linux_sys_msync(struct lwp *, void *, register_t *);
864
865 int linux_sys_getpgid(struct lwp *, void *, register_t *);
866
867 int sys_getsid(struct lwp *, void *, register_t *);
868
869 int osf1_sys_sysinfo(struct lwp *, void *, register_t *);
870
871 int osf1_sys_usleep_thread(struct lwp *, void *, register_t *);
872
873 int osf1_sys_getsysinfo(struct lwp *, void *, register_t *);
874
875 int osf1_sys_setsysinfo(struct lwp *, void *, register_t *);
876
877 int linux_sys_fdatasync(struct lwp *, void *, register_t *);
878
879 int linux_sys_swapoff(struct lwp *, void *, register_t *);
880
881 int linux_sys_getdents(struct lwp *, void *, register_t *);
882
883 int linux_sys_reboot(struct lwp *, void *, register_t *);
884
885 int linux_sys_clone(struct lwp *, void *, register_t *);
886
887 #ifdef EXEC_AOUT
888 int linux_sys_uselib(struct lwp *, void *, register_t *);
889
890 #else
891 #endif
892 int sys_mlock(struct lwp *, void *, register_t *);
893
894 int sys_munlock(struct lwp *, void *, register_t *);
895
896 int sys_mlockall(struct lwp *, void *, register_t *);
897
898 int sys_munlockall(struct lwp *, void *, register_t *);
899
900 int linux_sys_sysinfo(struct lwp *, void *, register_t *);
901
902 int linux_sys___sysctl(struct lwp *, void *, register_t *);
903
904 int linux_sys_swapon(struct lwp *, void *, register_t *);
905
906 int linux_sys_times(struct lwp *, void *, register_t *);
907
908 int linux_sys_personality(struct lwp *, void *, register_t *);
909
910 int linux_sys_setfsuid(struct lwp *, void *, register_t *);
911
912 int linux_sys_statfs(struct lwp *, void *, register_t *);
913
914 int linux_sys_fstatfs(struct lwp *, void *, register_t *);
915
916 int linux_sys_sched_setparam(struct lwp *, void *, register_t *);
917
918 int linux_sys_sched_getparam(struct lwp *, void *, register_t *);
919
920 int linux_sys_sched_setscheduler(struct lwp *, void *, register_t *);
921
922 int linux_sys_sched_getscheduler(struct lwp *, void *, register_t *);
923
924 int linux_sys_sched_yield(struct lwp *, void *, register_t *);
925
926 int linux_sys_sched_get_priority_max(struct lwp *, void *, register_t *);
927
928 int linux_sys_sched_get_priority_min(struct lwp *, void *, register_t *);
929
930 int linux_sys_uname(struct lwp *, void *, register_t *);
931
932 int sys_nanosleep(struct lwp *, void *, register_t *);
933
934 int linux_sys_mremap(struct lwp *, void *, register_t *);
935
936 int linux_sys_setresuid(struct lwp *, void *, register_t *);
937
938 int linux_sys_getresuid(struct lwp *, void *, register_t *);
939
940 int linux_sys_pread(struct lwp *, void *, register_t *);
941
942 int linux_sys_pwrite(struct lwp *, void *, register_t *);
943
944 int linux_sys_rt_sigreturn(struct lwp *, void *, register_t *);
945
946 int linux_sys_rt_sigaction(struct lwp *, void *, register_t *);
947
948 int linux_sys_rt_sigprocmask(struct lwp *, void *, register_t *);
949
950 int linux_sys_rt_sigpending(struct lwp *, void *, register_t *);
951
952 int linux_sys_rt_queueinfo(struct lwp *, void *, register_t *);
953
954 int linux_sys_rt_sigsuspend(struct lwp *, void *, register_t *);
955
956 int linux_sys_select(struct lwp *, void *, register_t *);
957
958 int sys_gettimeofday(struct lwp *, void *, register_t *);
959
960 int sys_settimeofday(struct lwp *, void *, register_t *);
961
962 int sys_getitimer(struct lwp *, void *, register_t *);
963
964 int sys_setitimer(struct lwp *, void *, register_t *);
965
966 int sys_utimes(struct lwp *, void *, register_t *);
967
968 int sys_getrusage(struct lwp *, void *, register_t *);
969
970 int linux_sys_wait4(struct lwp *, void *, register_t *);
971
972 int sys___getcwd(struct lwp *, void *, register_t *);
973
974 int sys_mincore(struct lwp *, void *, register_t *);
975
976 int linux_sys_getdents64(struct lwp *, void *, register_t *);
977
978 int linux_sys_exit_group(struct lwp *, void *, register_t *);
979
980 #endif /* _LINUX_SYS__SYSCALLARGS_H_ */
981