linux_syscallargs.h revision 1.33 1 /* $NetBSD: linux_syscallargs.h,v 1.33 2006/08/30 11:19:24 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.27 2006/06/10 21:15:33 christos 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 #ifdef PTRACE
91
92 struct linux_sys_ptrace_args {
93 syscallarg(int) request;
94 syscallarg(int) pid;
95 syscallarg(int) addr;
96 syscallarg(int) data;
97 };
98 #else
99 #endif
100
101 struct linux_sys_alarm_args {
102 syscallarg(unsigned int) secs;
103 };
104
105 struct linux_sys_utime_args {
106 syscallarg(const char *) path;
107 syscallarg(struct linux_utimbuf *) times;
108 };
109
110 struct linux_sys_access_args {
111 syscallarg(const char *) path;
112 syscallarg(int) flags;
113 };
114
115 struct linux_sys_nice_args {
116 syscallarg(int) incr;
117 };
118
119 struct linux_sys_kill_args {
120 syscallarg(int) pid;
121 syscallarg(int) signum;
122 };
123
124 struct linux_sys_rename_args {
125 syscallarg(const char *) from;
126 syscallarg(const char *) to;
127 };
128
129 struct linux_sys_mkdir_args {
130 syscallarg(const char *) path;
131 syscallarg(int) mode;
132 };
133
134 struct linux_sys_rmdir_args {
135 syscallarg(const char *) path;
136 };
137
138 struct linux_sys_pipe_args {
139 syscallarg(int *) pfds;
140 };
141
142 struct linux_sys_times_args {
143 syscallarg(struct times *) tms;
144 };
145
146 struct linux_sys_brk_args {
147 syscallarg(char *) nsize;
148 };
149
150 struct linux_sys_signal_args {
151 syscallarg(int) signum;
152 syscallarg(linux_handler_t) handler;
153 };
154
155 struct linux_sys_ioctl_args {
156 syscallarg(int) fd;
157 syscallarg(u_long) com;
158 syscallarg(caddr_t) data;
159 };
160
161 struct linux_sys_fcntl_args {
162 syscallarg(int) fd;
163 syscallarg(int) cmd;
164 syscallarg(void *) arg;
165 };
166
167 struct linux_sys_olduname_args {
168 syscallarg(struct linux_old_utsname *) up;
169 };
170
171 struct linux_sys_sigaction_args {
172 syscallarg(int) signum;
173 syscallarg(const struct linux_old_sigaction *) nsa;
174 syscallarg(struct linux_old_sigaction *) osa;
175 };
176
177 struct linux_sys_sigsetmask_args {
178 syscallarg(linux_old_sigset_t) mask;
179 };
180
181 struct linux_sys_sigsuspend_args {
182 syscallarg(caddr_t) restart;
183 syscallarg(int) oldmask;
184 syscallarg(int) mask;
185 };
186
187 struct linux_sys_sigpending_args {
188 syscallarg(linux_old_sigset_t *) set;
189 };
190
191 struct linux_sys_setrlimit_args {
192 syscallarg(u_int) which;
193 syscallarg(struct orlimit *) rlp;
194 };
195
196 struct linux_sys_getrlimit_args {
197 syscallarg(u_int) which;
198 syscallarg(struct orlimit *) rlp;
199 };
200
201 struct linux_sys_gettimeofday_args {
202 syscallarg(struct timeval *) tp;
203 syscallarg(struct timezone *) tzp;
204 };
205
206 struct linux_sys_settimeofday_args {
207 syscallarg(struct timeval *) tp;
208 syscallarg(struct timezone *) tzp;
209 };
210
211 struct linux_sys_select_args {
212 syscallarg(int) nfds;
213 syscallarg(fd_set *) readfds;
214 syscallarg(fd_set *) writefds;
215 syscallarg(fd_set *) exceptfds;
216 syscallarg(struct timeval *) timeout;
217 };
218
219 struct linux_sys_symlink_args {
220 syscallarg(const char *) path;
221 syscallarg(const char *) to;
222 };
223
224 struct linux_sys_readlink_args {
225 syscallarg(const char *) name;
226 syscallarg(char *) buf;
227 syscallarg(int) count;
228 };
229 #ifdef EXEC_AOUT
230
231 struct linux_sys_uselib_args {
232 syscallarg(const char *) path;
233 };
234 #else
235 #endif
236
237 struct linux_sys_swapon_args {
238 syscallarg(char *) name;
239 };
240
241 struct linux_sys_reboot_args {
242 syscallarg(int) magic1;
243 syscallarg(int) magic2;
244 syscallarg(int) cmd;
245 syscallarg(void *) arg;
246 };
247
248 struct linux_sys_readdir_args {
249 syscallarg(int) fd;
250 syscallarg(caddr_t) dent;
251 syscallarg(unsigned int) count;
252 };
253
254 struct linux_sys_truncate_args {
255 syscallarg(const char *) path;
256 syscallarg(long) length;
257 };
258
259 struct linux_sys_getpriority_args {
260 syscallarg(int) which;
261 syscallarg(int) who;
262 };
263
264 struct linux_sys_statfs_args {
265 syscallarg(const char *) path;
266 syscallarg(struct linux_statfs *) sp;
267 };
268
269 struct linux_sys_fstatfs_args {
270 syscallarg(int) fd;
271 syscallarg(struct linux_statfs *) sp;
272 };
273
274 struct linux_sys_ioperm_args {
275 syscallarg(unsigned int) lo;
276 syscallarg(unsigned int) hi;
277 syscallarg(int) val;
278 };
279
280 struct linux_sys_socketcall_args {
281 syscallarg(int) what;
282 syscallarg(void *) args;
283 };
284
285 struct linux_sys_stat_args {
286 syscallarg(const char *) path;
287 syscallarg(struct linux_stat *) sp;
288 };
289
290 struct linux_sys_lstat_args {
291 syscallarg(const char *) path;
292 syscallarg(struct linux_stat *) sp;
293 };
294
295 struct linux_sys_fstat_args {
296 syscallarg(int) fd;
297 syscallarg(struct linux_stat *) sp;
298 };
299
300 struct linux_sys_uname_args {
301 syscallarg(struct linux_utsname *) up;
302 };
303
304 struct linux_sys_wait4_args {
305 syscallarg(int) pid;
306 syscallarg(int *) status;
307 syscallarg(int) options;
308 syscallarg(struct rusage *) rusage;
309 };
310
311 struct linux_sys_swapoff_args {
312 syscallarg(const char *) path;
313 };
314
315 struct linux_sys_sysinfo_args {
316 syscallarg(struct linux_sysinfo *) arg;
317 };
318
319 struct linux_sys_ipc_args {
320 syscallarg(int) what;
321 syscallarg(int) a1;
322 syscallarg(int) a2;
323 syscallarg(int) a3;
324 syscallarg(caddr_t) ptr;
325 };
326
327 struct linux_sys_sigreturn_args {
328 syscallarg(struct linux_sigcontext *) scp;
329 };
330
331 struct linux_sys_clone_args {
332 syscallarg(int) flags;
333 syscallarg(void *) stack;
334 };
335
336 struct linux_sys_setdomainname_args {
337 syscallarg(char *) domainname;
338 syscallarg(int) len;
339 };
340
341 struct linux_sys_new_uname_args {
342 syscallarg(struct linux_utsname *) up;
343 };
344
345 struct linux_sys_mprotect_args {
346 syscallarg(const void *) start;
347 syscallarg(unsigned long) len;
348 syscallarg(int) prot;
349 };
350
351 struct linux_sys_sigprocmask_args {
352 syscallarg(int) how;
353 syscallarg(const linux_old_sigset_t *) set;
354 syscallarg(linux_old_sigset_t *) oset;
355 };
356
357 struct linux_sys_getpgid_args {
358 syscallarg(int) pid;
359 };
360
361 struct linux_sys_personality_args {
362 syscallarg(int) per;
363 };
364
365 struct linux_sys_setfsuid_args {
366 syscallarg(uid_t) uid;
367 };
368
369 struct linux_sys_llseek_args {
370 syscallarg(int) fd;
371 syscallarg(u_int32_t) ohigh;
372 syscallarg(u_int32_t) olow;
373 syscallarg(caddr_t) res;
374 syscallarg(int) whence;
375 };
376
377 struct linux_sys_getdents_args {
378 syscallarg(int) fd;
379 syscallarg(struct linux_dirent *) dent;
380 syscallarg(unsigned int) count;
381 };
382
383 struct linux_sys_new_select_args {
384 syscallarg(int) nfds;
385 syscallarg(fd_set *) readfds;
386 syscallarg(fd_set *) writefds;
387 syscallarg(fd_set *) exceptfds;
388 syscallarg(struct timeval *) timeout;
389 };
390
391 struct linux_sys_msync_args {
392 syscallarg(caddr_t) addr;
393 syscallarg(int) len;
394 syscallarg(int) fl;
395 };
396
397 struct linux_sys_fdatasync_args {
398 syscallarg(int) fd;
399 };
400
401 struct linux_sys___sysctl_args {
402 syscallarg(struct linux___sysctl *) lsp;
403 };
404
405 struct linux_sys_sched_setparam_args {
406 syscallarg(pid_t) pid;
407 syscallarg(const struct linux_sched_param *) sp;
408 };
409
410 struct linux_sys_sched_getparam_args {
411 syscallarg(pid_t) pid;
412 syscallarg(struct linux_sched_param *) sp;
413 };
414
415 struct linux_sys_sched_setscheduler_args {
416 syscallarg(pid_t) pid;
417 syscallarg(int) policy;
418 syscallarg(const struct linux_sched_param *) sp;
419 };
420
421 struct linux_sys_sched_getscheduler_args {
422 syscallarg(pid_t) pid;
423 };
424
425 struct linux_sys_sched_get_priority_max_args {
426 syscallarg(int) policy;
427 };
428
429 struct linux_sys_sched_get_priority_min_args {
430 syscallarg(int) policy;
431 };
432
433 struct linux_sys_mremap_args {
434 syscallarg(void *) old_address;
435 syscallarg(size_t) old_size;
436 syscallarg(size_t) new_size;
437 syscallarg(u_long) flags;
438 };
439
440 struct linux_sys_setresuid_args {
441 syscallarg(uid_t) ruid;
442 syscallarg(uid_t) euid;
443 syscallarg(uid_t) suid;
444 };
445
446 struct linux_sys_getresuid_args {
447 syscallarg(uid_t *) ruid;
448 syscallarg(uid_t *) euid;
449 syscallarg(uid_t *) suid;
450 };
451
452 struct linux_sys_setresgid_args {
453 syscallarg(gid_t) rgid;
454 syscallarg(gid_t) egid;
455 syscallarg(gid_t) sgid;
456 };
457
458 struct linux_sys_getresgid_args {
459 syscallarg(gid_t *) rgid;
460 syscallarg(gid_t *) egid;
461 syscallarg(gid_t *) sgid;
462 };
463
464 struct linux_sys_rt_sigreturn_args {
465 syscallarg(struct linux_rt_sigframe *) sfp;
466 };
467
468 struct linux_sys_rt_sigaction_args {
469 syscallarg(int) signum;
470 syscallarg(const struct linux_sigaction *) nsa;
471 syscallarg(struct linux_sigaction *) osa;
472 syscallarg(size_t) sigsetsize;
473 };
474
475 struct linux_sys_rt_sigprocmask_args {
476 syscallarg(int) how;
477 syscallarg(const linux_sigset_t *) set;
478 syscallarg(linux_sigset_t *) oset;
479 syscallarg(size_t) sigsetsize;
480 };
481
482 struct linux_sys_rt_sigpending_args {
483 syscallarg(linux_sigset_t *) set;
484 syscallarg(size_t) sigsetsize;
485 };
486
487 struct linux_sys_rt_queueinfo_args {
488 syscallarg(int) pid;
489 syscallarg(int) signum;
490 syscallarg(void *) uinfo;
491 };
492
493 struct linux_sys_rt_sigsuspend_args {
494 syscallarg(linux_sigset_t *) unewset;
495 syscallarg(size_t) sigsetsize;
496 };
497
498 struct linux_sys_pread_args {
499 syscallarg(int) fd;
500 syscallarg(char *) buf;
501 syscallarg(size_t) nbyte;
502 syscallarg(linux_off_t) offset;
503 };
504
505 struct linux_sys_pwrite_args {
506 syscallarg(int) fd;
507 syscallarg(char *) buf;
508 syscallarg(size_t) nbyte;
509 syscallarg(linux_off_t) offset;
510 };
511
512 struct linux_sys_chown_args {
513 syscallarg(const char *) path;
514 syscallarg(int) uid;
515 syscallarg(int) gid;
516 };
517
518 struct linux_sys_sigaltstack_args {
519 syscallarg(const struct linux_sigaltstack *) ss;
520 syscallarg(struct linux_sigaltstack *) oss;
521 };
522
523 struct linux_sys_ugetrlimit_args {
524 syscallarg(int) which;
525 syscallarg(struct rlimit *) rlp;
526 };
527
528 struct linux_sys_truncate64_args {
529 syscallarg(const char *) path;
530 syscallarg(off_t) length;
531 };
532
533 struct linux_sys_ftruncate64_args {
534 syscallarg(unsigned int) fd;
535 syscallarg(off_t) length;
536 };
537
538 struct linux_sys_stat64_args {
539 syscallarg(const char *) path;
540 syscallarg(struct linux_stat64 *) sp;
541 };
542
543 struct linux_sys_lstat64_args {
544 syscallarg(const char *) path;
545 syscallarg(struct linux_stat64 *) sp;
546 };
547
548 struct linux_sys_fstat64_args {
549 syscallarg(int) fd;
550 syscallarg(struct linux_stat64 *) sp;
551 };
552
553 struct linux_sys_getdents64_args {
554 syscallarg(int) fd;
555 syscallarg(struct linux_dirent64 *) dent;
556 syscallarg(unsigned int) count;
557 };
558
559 struct linux_sys_fcntl64_args {
560 syscallarg(int) fd;
561 syscallarg(int) cmd;
562 syscallarg(void *) arg;
563 };
564
565 struct linux_sys_setxattr_args {
566 syscallarg(char *) path;
567 syscallarg(char *) name;
568 syscallarg(void *) value;
569 syscallarg(size_t) size;
570 syscallarg(int) flags;
571 };
572
573 struct linux_sys_lsetxattr_args {
574 syscallarg(char *) path;
575 syscallarg(char *) name;
576 syscallarg(void *) value;
577 syscallarg(size_t) size;
578 syscallarg(int) flags;
579 };
580
581 struct linux_sys_fsetxattr_args {
582 syscallarg(int) fd;
583 syscallarg(char *) name;
584 syscallarg(void *) value;
585 syscallarg(size_t) size;
586 syscallarg(int) flags;
587 };
588
589 struct linux_sys_getxattr_args {
590 syscallarg(char *) path;
591 syscallarg(char *) name;
592 syscallarg(void *) value;
593 syscallarg(size_t) size;
594 };
595
596 struct linux_sys_lgetxattr_args {
597 syscallarg(char *) path;
598 syscallarg(char *) name;
599 syscallarg(void *) value;
600 syscallarg(size_t) size;
601 };
602
603 struct linux_sys_fgetxattr_args {
604 syscallarg(int) fd;
605 syscallarg(char *) name;
606 syscallarg(void *) value;
607 syscallarg(size_t) size;
608 };
609
610 struct linux_sys_listxattr_args {
611 syscallarg(char *) path;
612 syscallarg(char *) list;
613 syscallarg(size_t) size;
614 };
615
616 struct linux_sys_llistxattr_args {
617 syscallarg(char *) path;
618 syscallarg(char *) list;
619 syscallarg(size_t) size;
620 };
621
622 struct linux_sys_flistxattr_args {
623 syscallarg(int) fd;
624 syscallarg(char *) list;
625 syscallarg(size_t) size;
626 };
627
628 struct linux_sys_removexattr_args {
629 syscallarg(char *) path;
630 syscallarg(char *) name;
631 };
632
633 struct linux_sys_lremovexattr_args {
634 syscallarg(char *) path;
635 syscallarg(char *) name;
636 };
637
638 struct linux_sys_fremovexattr_args {
639 syscallarg(int) fd;
640 syscallarg(char *) name;
641 };
642
643 struct linux_sys_exit_group_args {
644 syscallarg(int) error_code;
645 };
646
647 struct linux_sys_clock_settime_args {
648 syscallarg(clockid_t) which;
649 syscallarg(struct linux_timespec *) tp;
650 };
651
652 struct linux_sys_clock_gettime_args {
653 syscallarg(clockid_t) which;
654 syscallarg(struct linux_timespec *) tp;
655 };
656
657 struct linux_sys_clock_getres_args {
658 syscallarg(clockid_t) which;
659 syscallarg(struct linux_timespec *) tp;
660 };
661
662 struct linux_sys_clock_nanosleep_args {
663 syscallarg(clockid_t) which;
664 syscallarg(int) flags;
665 syscallarg(struct linux_timespec *) rqtp;
666 syscallarg(struct linux_timespec *) rmtp;
667 };
668
669 struct linux_sys_statfs64_args {
670 syscallarg(const char *) path;
671 syscallarg(size_t) sz;
672 syscallarg(struct linux_statfs64 *) sp;
673 };
674
675 struct linux_sys_fstatfs64_args {
676 syscallarg(int) fd;
677 syscallarg(size_t) sz;
678 syscallarg(struct linux_statfs64 *) sp;
679 };
680
681 /*
682 * System call prototypes.
683 */
684
685 int linux_sys_nosys(struct lwp *, void *, register_t *);
686
687 int sys_exit(struct lwp *, void *, register_t *);
688
689 int sys_fork(struct lwp *, void *, register_t *);
690
691 int sys_read(struct lwp *, void *, register_t *);
692
693 int sys_write(struct lwp *, void *, register_t *);
694
695 int linux_sys_open(struct lwp *, void *, register_t *);
696
697 int sys_close(struct lwp *, void *, register_t *);
698
699 int linux_sys_waitpid(struct lwp *, void *, register_t *);
700
701 int linux_sys_creat(struct lwp *, void *, register_t *);
702
703 int linux_sys_link(struct lwp *, void *, register_t *);
704
705 int linux_sys_unlink(struct lwp *, void *, register_t *);
706
707 int linux_sys_execve(struct lwp *, void *, register_t *);
708
709 int linux_sys_chdir(struct lwp *, void *, register_t *);
710
711 int linux_sys_time(struct lwp *, void *, register_t *);
712
713 int linux_sys_mknod(struct lwp *, void *, register_t *);
714
715 int linux_sys_chmod(struct lwp *, void *, register_t *);
716
717 int linux_sys_lchown(struct lwp *, void *, register_t *);
718
719 int compat_43_sys_lseek(struct lwp *, void *, register_t *);
720
721 int sys_getpid(struct lwp *, void *, register_t *);
722
723 int sys_setuid(struct lwp *, void *, register_t *);
724
725 int sys_getuid(struct lwp *, void *, register_t *);
726
727 int linux_sys_stime(struct lwp *, void *, register_t *);
728
729 #ifdef PTRACE
730 int linux_sys_ptrace(struct lwp *, void *, register_t *);
731
732 #else
733 #endif
734 int linux_sys_alarm(struct lwp *, void *, register_t *);
735
736 int linux_sys_pause(struct lwp *, void *, register_t *);
737
738 int linux_sys_utime(struct lwp *, void *, register_t *);
739
740 int linux_sys_access(struct lwp *, void *, register_t *);
741
742 int linux_sys_nice(struct lwp *, void *, register_t *);
743
744 int sys_sync(struct lwp *, void *, register_t *);
745
746 int linux_sys_kill(struct lwp *, void *, register_t *);
747
748 int linux_sys_rename(struct lwp *, void *, register_t *);
749
750 int linux_sys_mkdir(struct lwp *, void *, register_t *);
751
752 int linux_sys_rmdir(struct lwp *, void *, register_t *);
753
754 int sys_dup(struct lwp *, void *, register_t *);
755
756 int linux_sys_pipe(struct lwp *, void *, register_t *);
757
758 int linux_sys_times(struct lwp *, void *, register_t *);
759
760 int linux_sys_brk(struct lwp *, void *, register_t *);
761
762 int sys_setgid(struct lwp *, void *, register_t *);
763
764 int sys_getgid(struct lwp *, void *, register_t *);
765
766 int linux_sys_signal(struct lwp *, void *, register_t *);
767
768 int sys_geteuid(struct lwp *, void *, register_t *);
769
770 int sys_getegid(struct lwp *, void *, register_t *);
771
772 int sys_acct(struct lwp *, void *, register_t *);
773
774 int linux_sys_ioctl(struct lwp *, void *, register_t *);
775
776 int linux_sys_fcntl(struct lwp *, void *, register_t *);
777
778 int sys_setpgid(struct lwp *, void *, register_t *);
779
780 int linux_sys_olduname(struct lwp *, void *, register_t *);
781
782 int sys_umask(struct lwp *, void *, register_t *);
783
784 int sys_chroot(struct lwp *, void *, register_t *);
785
786 int sys_dup2(struct lwp *, void *, register_t *);
787
788 int sys_getppid(struct lwp *, void *, register_t *);
789
790 int sys_getpgrp(struct lwp *, void *, register_t *);
791
792 int sys_setsid(struct lwp *, void *, register_t *);
793
794 int linux_sys_sigaction(struct lwp *, void *, register_t *);
795
796 int linux_sys_siggetmask(struct lwp *, void *, register_t *);
797
798 int linux_sys_sigsetmask(struct lwp *, void *, register_t *);
799
800 int sys_setreuid(struct lwp *, void *, register_t *);
801
802 int sys_setregid(struct lwp *, void *, register_t *);
803
804 int linux_sys_sigsuspend(struct lwp *, void *, register_t *);
805
806 int linux_sys_sigpending(struct lwp *, void *, register_t *);
807
808 int compat_43_sys_sethostname(struct lwp *, void *, register_t *);
809
810 int linux_sys_setrlimit(struct lwp *, void *, register_t *);
811
812 int linux_sys_getrlimit(struct lwp *, void *, register_t *);
813
814 int sys_getrusage(struct lwp *, void *, register_t *);
815
816 int linux_sys_gettimeofday(struct lwp *, void *, register_t *);
817
818 int linux_sys_settimeofday(struct lwp *, void *, register_t *);
819
820 int sys_getgroups(struct lwp *, void *, register_t *);
821
822 int sys_setgroups(struct lwp *, void *, register_t *);
823
824 int linux_sys_select(struct lwp *, void *, register_t *);
825
826 int linux_sys_symlink(struct lwp *, void *, register_t *);
827
828 int compat_43_sys_lstat(struct lwp *, void *, register_t *);
829
830 int linux_sys_readlink(struct lwp *, void *, register_t *);
831
832 #ifdef EXEC_AOUT
833 int linux_sys_uselib(struct lwp *, void *, register_t *);
834
835 #else
836 #endif
837 int linux_sys_swapon(struct lwp *, void *, register_t *);
838
839 int linux_sys_reboot(struct lwp *, void *, register_t *);
840
841 int linux_sys_readdir(struct lwp *, void *, register_t *);
842
843 int linux_sys_mmap(struct lwp *, void *, register_t *);
844
845 int sys_munmap(struct lwp *, void *, register_t *);
846
847 int linux_sys_truncate(struct lwp *, void *, register_t *);
848
849 int compat_43_sys_ftruncate(struct lwp *, void *, register_t *);
850
851 int sys_fchmod(struct lwp *, void *, register_t *);
852
853 int sys___posix_fchown(struct lwp *, void *, register_t *);
854
855 int linux_sys_getpriority(struct lwp *, void *, register_t *);
856
857 int sys_setpriority(struct lwp *, void *, register_t *);
858
859 int sys_profil(struct lwp *, void *, register_t *);
860
861 int linux_sys_statfs(struct lwp *, void *, register_t *);
862
863 int linux_sys_fstatfs(struct lwp *, void *, register_t *);
864
865 int linux_sys_ioperm(struct lwp *, void *, register_t *);
866
867 int linux_sys_socketcall(struct lwp *, void *, register_t *);
868
869 int sys_setitimer(struct lwp *, void *, register_t *);
870
871 int sys_getitimer(struct lwp *, void *, register_t *);
872
873 int linux_sys_stat(struct lwp *, void *, register_t *);
874
875 int linux_sys_lstat(struct lwp *, void *, register_t *);
876
877 int linux_sys_fstat(struct lwp *, void *, register_t *);
878
879 int linux_sys_uname(struct lwp *, void *, register_t *);
880
881 int linux_sys_wait4(struct lwp *, void *, register_t *);
882
883 int linux_sys_swapoff(struct lwp *, void *, register_t *);
884
885 int linux_sys_sysinfo(struct lwp *, void *, register_t *);
886
887 int linux_sys_ipc(struct lwp *, void *, register_t *);
888
889 int sys_fsync(struct lwp *, void *, register_t *);
890
891 int linux_sys_sigreturn(struct lwp *, void *, register_t *);
892
893 int linux_sys_clone(struct lwp *, void *, register_t *);
894
895 int linux_sys_setdomainname(struct lwp *, void *, register_t *);
896
897 int linux_sys_new_uname(struct lwp *, void *, register_t *);
898
899 int linux_sys_mprotect(struct lwp *, void *, register_t *);
900
901 int linux_sys_sigprocmask(struct lwp *, void *, register_t *);
902
903 int linux_sys_getpgid(struct lwp *, void *, register_t *);
904
905 int sys_fchdir(struct lwp *, void *, register_t *);
906
907 int linux_sys_personality(struct lwp *, void *, register_t *);
908
909 int linux_sys_setfsuid(struct lwp *, void *, register_t *);
910
911 int linux_sys_getfsuid(struct lwp *, void *, register_t *);
912
913 int linux_sys_llseek(struct lwp *, void *, register_t *);
914
915 int linux_sys_getdents(struct lwp *, void *, register_t *);
916
917 int linux_sys_new_select(struct lwp *, void *, register_t *);
918
919 int sys_flock(struct lwp *, void *, register_t *);
920
921 int linux_sys_msync(struct lwp *, void *, register_t *);
922
923 int sys_readv(struct lwp *, void *, register_t *);
924
925 int sys_writev(struct lwp *, void *, register_t *);
926
927 int sys_getsid(struct lwp *, void *, register_t *);
928
929 int linux_sys_fdatasync(struct lwp *, void *, register_t *);
930
931 int linux_sys___sysctl(struct lwp *, void *, register_t *);
932
933 int sys_mlock(struct lwp *, void *, register_t *);
934
935 int sys_munlock(struct lwp *, void *, register_t *);
936
937 int sys_mlockall(struct lwp *, void *, register_t *);
938
939 int sys_munlockall(struct lwp *, void *, register_t *);
940
941 int linux_sys_sched_setparam(struct lwp *, void *, register_t *);
942
943 int linux_sys_sched_getparam(struct lwp *, void *, register_t *);
944
945 int linux_sys_sched_setscheduler(struct lwp *, void *, register_t *);
946
947 int linux_sys_sched_getscheduler(struct lwp *, void *, register_t *);
948
949 int linux_sys_sched_yield(struct lwp *, void *, register_t *);
950
951 int linux_sys_sched_get_priority_max(struct lwp *, void *, register_t *);
952
953 int linux_sys_sched_get_priority_min(struct lwp *, void *, register_t *);
954
955 int sys_nanosleep(struct lwp *, void *, register_t *);
956
957 int linux_sys_mremap(struct lwp *, void *, register_t *);
958
959 int linux_sys_setresuid(struct lwp *, void *, register_t *);
960
961 int linux_sys_getresuid(struct lwp *, void *, register_t *);
962
963 int sys_poll(struct lwp *, void *, register_t *);
964
965 int linux_sys_setresgid(struct lwp *, void *, register_t *);
966
967 int linux_sys_getresgid(struct lwp *, void *, register_t *);
968
969 int linux_sys_rt_sigreturn(struct lwp *, void *, register_t *);
970
971 int linux_sys_rt_sigaction(struct lwp *, void *, register_t *);
972
973 int linux_sys_rt_sigprocmask(struct lwp *, void *, register_t *);
974
975 int linux_sys_rt_sigpending(struct lwp *, void *, register_t *);
976
977 int linux_sys_rt_queueinfo(struct lwp *, void *, register_t *);
978
979 int linux_sys_rt_sigsuspend(struct lwp *, void *, register_t *);
980
981 int linux_sys_pread(struct lwp *, void *, register_t *);
982
983 int linux_sys_pwrite(struct lwp *, void *, register_t *);
984
985 int linux_sys_chown(struct lwp *, void *, register_t *);
986
987 int sys___getcwd(struct lwp *, void *, register_t *);
988
989 int linux_sys_sigaltstack(struct lwp *, void *, register_t *);
990
991 int sys___vfork14(struct lwp *, void *, register_t *);
992
993 int linux_sys_ugetrlimit(struct lwp *, void *, register_t *);
994
995 int linux_sys_mmap2(struct lwp *, void *, register_t *);
996
997 int linux_sys_truncate64(struct lwp *, void *, register_t *);
998
999 int linux_sys_ftruncate64(struct lwp *, void *, register_t *);
1000
1001 int linux_sys_stat64(struct lwp *, void *, register_t *);
1002
1003 int linux_sys_lstat64(struct lwp *, void *, register_t *);
1004
1005 int linux_sys_fstat64(struct lwp *, void *, register_t *);
1006
1007 int linux_sys_getdents64(struct lwp *, void *, register_t *);
1008
1009 int linux_sys_fcntl64(struct lwp *, void *, register_t *);
1010
1011 int sys_mincore(struct lwp *, void *, register_t *);
1012
1013 int sys_madvise(struct lwp *, void *, register_t *);
1014
1015 int linux_sys_setxattr(struct lwp *, void *, register_t *);
1016
1017 int linux_sys_lsetxattr(struct lwp *, void *, register_t *);
1018
1019 int linux_sys_fsetxattr(struct lwp *, void *, register_t *);
1020
1021 int linux_sys_getxattr(struct lwp *, void *, register_t *);
1022
1023 int linux_sys_lgetxattr(struct lwp *, void *, register_t *);
1024
1025 int linux_sys_fgetxattr(struct lwp *, void *, register_t *);
1026
1027 int linux_sys_listxattr(struct lwp *, void *, register_t *);
1028
1029 int linux_sys_llistxattr(struct lwp *, void *, register_t *);
1030
1031 int linux_sys_flistxattr(struct lwp *, void *, register_t *);
1032
1033 int linux_sys_removexattr(struct lwp *, void *, register_t *);
1034
1035 int linux_sys_lremovexattr(struct lwp *, void *, register_t *);
1036
1037 int linux_sys_fremovexattr(struct lwp *, void *, register_t *);
1038
1039 int linux_sys_exit_group(struct lwp *, void *, register_t *);
1040
1041 int linux_sys_clock_settime(struct lwp *, void *, register_t *);
1042
1043 int linux_sys_clock_gettime(struct lwp *, void *, register_t *);
1044
1045 int linux_sys_clock_getres(struct lwp *, void *, register_t *);
1046
1047 int linux_sys_clock_nanosleep(struct lwp *, void *, register_t *);
1048
1049 int linux_sys_statfs64(struct lwp *, void *, register_t *);
1050
1051 int linux_sys_fstatfs64(struct lwp *, void *, register_t *);
1052
1053 #endif /* _LINUX_SYS_SYSCALLARGS_H_ */
1054