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