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