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