linux_syscallargs.h revision 1.15 1 /* $NetBSD: linux_syscallargs.h,v 1.15 2006/08/30 11:19:23 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.14 2006/08/30 11:14:39 matt 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 #ifdef PTRACE
388
389 struct linux_sys_ptrace_args {
390 syscallarg(long) request;
391 syscallarg(long) pid;
392 syscallarg(long) addr;
393 syscallarg(long) data;
394 };
395 #else
396 #endif
397
398 struct linux_sys_setresuid_args {
399 syscallarg(uid_t) ruid;
400 syscallarg(uid_t) euid;
401 syscallarg(uid_t) suid;
402 };
403
404 struct linux_sys_getresuid_args {
405 syscallarg(uid_t *) ruid;
406 syscallarg(uid_t *) euid;
407 syscallarg(uid_t *) suid;
408 };
409
410 struct linux_sys_setresgid_args {
411 syscallarg(gid_t) rgid;
412 syscallarg(gid_t) egid;
413 syscallarg(gid_t) sgid;
414 };
415
416 struct linux_sys_getresgid_args {
417 syscallarg(gid_t *) rgid;
418 syscallarg(gid_t *) egid;
419 syscallarg(gid_t *) sgid;
420 };
421
422 struct linux_sys_getpgid_args {
423 syscallarg(int) pid;
424 };
425
426 struct linux_sys_setfsuid_args {
427 syscallarg(uid_t) uid;
428 };
429
430 struct linux_sys_rt_sigpending_args {
431 syscallarg(linux_sigset_t *) set;
432 syscallarg(size_t) sigsetsize;
433 };
434
435 struct linux_sys_rt_queueinfo_args {
436 syscallarg(int) pid;
437 syscallarg(int) signum;
438 syscallarg(siginfo_t *) uinfo;
439 };
440
441 struct linux_sys_rt_sigsuspend_args {
442 syscallarg(linux_sigset_t *) unewset;
443 syscallarg(size_t) sigsetsize;
444 };
445
446 struct linux_sys_sigaltstack_args {
447 syscallarg(const struct linux_sigaltstack *) ss;
448 syscallarg(struct linux_sigaltstack *) oss;
449 };
450
451 struct linux_sys_utime_args {
452 syscallarg(const char *) path;
453 syscallarg(struct linux_utimbuf *) times;
454 };
455
456 struct linux_sys_mknod_args {
457 syscallarg(const char *) path;
458 syscallarg(int) mode;
459 syscallarg(int) dev;
460 };
461 #ifdef EXEC_AOUT
462
463 struct linux_sys_uselib_args {
464 syscallarg(const char *) path;
465 };
466 #else
467 #endif
468
469 struct linux_sys_personality_args {
470 syscallarg(int) per;
471 };
472
473 struct linux_sys_statfs64_args {
474 syscallarg(const char *) path;
475 syscallarg(size_t) sz;
476 syscallarg(struct linux_statfs64 *) sp;
477 };
478
479 struct linux_sys_fstatfs64_args {
480 syscallarg(int) fd;
481 syscallarg(size_t) sz;
482 syscallarg(struct linux_statfs64 *) sp;
483 };
484
485 struct linux_sys_getpriority_args {
486 syscallarg(int) which;
487 syscallarg(int) who;
488 };
489
490 struct linux_sys_sched_setparam_args {
491 syscallarg(pid_t) pid;
492 syscallarg(const struct linux_sched_param *) sp;
493 };
494
495 struct linux_sys_sched_getparam_args {
496 syscallarg(pid_t) pid;
497 syscallarg(struct linux_sched_param *) sp;
498 };
499
500 struct linux_sys_sched_setscheduler_args {
501 syscallarg(pid_t) pid;
502 syscallarg(int) policy;
503 syscallarg(const struct linux_sched_param *) sp;
504 };
505
506 struct linux_sys_sched_getscheduler_args {
507 syscallarg(pid_t) pid;
508 };
509
510 struct linux_sys_sched_get_priority_max_args {
511 syscallarg(int) policy;
512 };
513
514 struct linux_sys_sched_get_priority_min_args {
515 syscallarg(int) policy;
516 };
517
518 struct linux_sys_modify_ldt_args {
519 syscallarg(int) func;
520 syscallarg(void *) ptr;
521 syscallarg(size_t) bytecount;
522 };
523
524 struct linux_sys___sysctl_args {
525 syscallarg(struct linux___sysctl *) lsp;
526 };
527
528 struct linux_sys_arch_prctl_args {
529 syscallarg(int) code;
530 syscallarg(unsigned long) addr;
531 };
532
533 struct linux_sys_setrlimit_args {
534 syscallarg(u_int) which;
535 syscallarg(struct rlimit *) rlp;
536 };
537
538 struct linux_sys_settimeofday_args {
539 syscallarg(struct timeval *) tp;
540 syscallarg(struct timezone *) tzp;
541 };
542
543 struct linux_sys_swapon_args {
544 syscallarg(char *) name;
545 };
546
547 struct linux_sys_swapoff_args {
548 syscallarg(const char *) path;
549 };
550
551 struct linux_sys_reboot_args {
552 syscallarg(int) magic1;
553 syscallarg(int) magic2;
554 syscallarg(int) cmd;
555 syscallarg(void *) arg;
556 };
557
558 struct linux_sys_setdomainname_args {
559 syscallarg(char *) domainname;
560 syscallarg(int) len;
561 };
562
563 struct linux_sys_iopl_args {
564 syscallarg(int) level;
565 };
566
567 struct linux_sys_ioperm_args {
568 syscallarg(unsigned int) lo;
569 syscallarg(unsigned int) hi;
570 syscallarg(int) val;
571 };
572
573 struct linux_sys_setxattr_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_lsetxattr_args {
582 syscallarg(char *) path;
583 syscallarg(char *) name;
584 syscallarg(void *) value;
585 syscallarg(size_t) size;
586 syscallarg(int) flags;
587 };
588
589 struct linux_sys_fsetxattr_args {
590 syscallarg(int) fd;
591 syscallarg(char *) name;
592 syscallarg(void *) value;
593 syscallarg(size_t) size;
594 syscallarg(int) flags;
595 };
596
597 struct linux_sys_getxattr_args {
598 syscallarg(char *) path;
599 syscallarg(char *) name;
600 syscallarg(void *) value;
601 syscallarg(size_t) size;
602 };
603
604 struct linux_sys_lgetxattr_args {
605 syscallarg(char *) path;
606 syscallarg(char *) name;
607 syscallarg(void *) value;
608 syscallarg(size_t) size;
609 };
610
611 struct linux_sys_fgetxattr_args {
612 syscallarg(int) fd;
613 syscallarg(char *) name;
614 syscallarg(void *) value;
615 syscallarg(size_t) size;
616 };
617
618 struct linux_sys_listxattr_args {
619 syscallarg(char *) path;
620 syscallarg(char *) list;
621 syscallarg(size_t) size;
622 };
623
624 struct linux_sys_llistxattr_args {
625 syscallarg(char *) path;
626 syscallarg(char *) list;
627 syscallarg(size_t) size;
628 };
629
630 struct linux_sys_flistxattr_args {
631 syscallarg(int) fd;
632 syscallarg(char *) list;
633 syscallarg(size_t) size;
634 };
635
636 struct linux_sys_removexattr_args {
637 syscallarg(char *) path;
638 syscallarg(char *) name;
639 };
640
641 struct linux_sys_lremovexattr_args {
642 syscallarg(char *) path;
643 syscallarg(char *) name;
644 };
645
646 struct linux_sys_fremovexattr_args {
647 syscallarg(int) fd;
648 syscallarg(char *) name;
649 };
650
651 struct linux_sys_tkill_args {
652 syscallarg(int) tid;
653 syscallarg(int) sig;
654 };
655
656 struct linux_sys_time_args {
657 syscallarg(linux_time_t *) t;
658 };
659
660 struct linux_sys_futex_args {
661 syscallarg(int *) uaddr;
662 syscallarg(int) op;
663 syscallarg(int) val;
664 syscallarg(const struct timespec *) timeout;
665 syscallarg(int *) uaddr2;
666 syscallarg(int) val3;
667 };
668
669 struct linux_sys_sched_setaffinity_args {
670 syscallarg(pid_t) pid;
671 syscallarg(unsigned int) len;
672 syscallarg(unsigned long *) mask;
673 };
674
675 struct linux_sys_sched_getaffinity_args {
676 syscallarg(pid_t) pid;
677 syscallarg(unsigned int) len;
678 syscallarg(unsigned long *) mask;
679 };
680
681 struct linux_sys_getdents64_args {
682 syscallarg(int) fd;
683 syscallarg(struct linux_dirent64 *) dent;
684 syscallarg(unsigned int) count;
685 };
686
687 struct linux_sys_set_tid_address_args {
688 syscallarg(int *) tid;
689 };
690
691 struct linux_sys_clock_settime_args {
692 syscallarg(clockid_t) which;
693 syscallarg(struct linux_timespec *) tp;
694 };
695
696 struct linux_sys_clock_gettime_args {
697 syscallarg(clockid_t) which;
698 syscallarg(struct linux_timespec *) tp;
699 };
700
701 struct linux_sys_clock_getres_args {
702 syscallarg(clockid_t) which;
703 syscallarg(struct linux_timespec *) tp;
704 };
705
706 struct linux_sys_clock_nanosleep_args {
707 syscallarg(clockid_t) which;
708 syscallarg(int) flags;
709 syscallarg(struct linux_timespec *) rqtp;
710 syscallarg(struct linux_timespec *) rmtp;
711 };
712
713 struct linux_sys_exit_group_args {
714 syscallarg(int) error_code;
715 };
716
717 struct linux_sys_tgkill_args {
718 syscallarg(int) tgid;
719 syscallarg(int) tid;
720 syscallarg(int) sig;
721 };
722
723 /*
724 * System call prototypes.
725 */
726
727 int sys_read(struct lwp *, void *, register_t *);
728
729 int sys_write(struct lwp *, void *, register_t *);
730
731 int linux_sys_open(struct lwp *, void *, register_t *);
732
733 int sys_close(struct lwp *, void *, register_t *);
734
735 int linux_sys_stat64(struct lwp *, void *, register_t *);
736
737 int linux_sys_fstat64(struct lwp *, void *, register_t *);
738
739 int linux_sys_lstat64(struct lwp *, void *, register_t *);
740
741 int sys_poll(struct lwp *, void *, register_t *);
742
743 int compat_43_sys_lseek(struct lwp *, void *, register_t *);
744
745 int linux_sys_mmap(struct lwp *, void *, register_t *);
746
747 int linux_sys_mprotect(struct lwp *, void *, register_t *);
748
749 int sys_munmap(struct lwp *, void *, register_t *);
750
751 int linux_sys_brk(struct lwp *, void *, register_t *);
752
753 int linux_sys_rt_sigaction(struct lwp *, void *, register_t *);
754
755 int linux_sys_rt_sigprocmask(struct lwp *, void *, register_t *);
756
757 int linux_sys_rt_sigreturn(struct lwp *, void *, register_t *);
758
759 int linux_sys_ioctl(struct lwp *, void *, register_t *);
760
761 int linux_sys_pread(struct lwp *, void *, register_t *);
762
763 int linux_sys_pwrite(struct lwp *, void *, register_t *);
764
765 int sys_readv(struct lwp *, void *, register_t *);
766
767 int sys_writev(struct lwp *, void *, register_t *);
768
769 int linux_sys_access(struct lwp *, void *, register_t *);
770
771 int linux_sys_pipe(struct lwp *, void *, register_t *);
772
773 int linux_sys_select(struct lwp *, void *, register_t *);
774
775 int linux_sys_sched_yield(struct lwp *, void *, register_t *);
776
777 int linux_sys_mremap(struct lwp *, void *, register_t *);
778
779 int linux_sys_msync(struct lwp *, void *, register_t *);
780
781 int sys_mincore(struct lwp *, void *, register_t *);
782
783 int sys_madvise(struct lwp *, void *, register_t *);
784
785 #ifdef SYSVSHM
786 int linux_sys_shmget(struct lwp *, void *, register_t *);
787
788 int sys_shmat(struct lwp *, void *, register_t *);
789
790 int linux_sys_shmctl(struct lwp *, void *, register_t *);
791
792 #else
793 #endif
794 int sys_dup(struct lwp *, void *, register_t *);
795
796 int sys_dup2(struct lwp *, void *, register_t *);
797
798 int linux_sys_pause(struct lwp *, void *, register_t *);
799
800 int sys_nanosleep(struct lwp *, void *, register_t *);
801
802 int sys_getitimer(struct lwp *, void *, register_t *);
803
804 int linux_sys_alarm(struct lwp *, void *, register_t *);
805
806 int sys_setitimer(struct lwp *, void *, register_t *);
807
808 int linux_sys_getpid(struct lwp *, void *, register_t *);
809
810 int linux_sys_socket(struct lwp *, void *, register_t *);
811
812 int linux_sys_connect(struct lwp *, void *, register_t *);
813
814 int linux_sys_accept(struct lwp *, void *, register_t *);
815
816 int linux_sys_sendto(struct lwp *, void *, register_t *);
817
818 int linux_sys_recvfrom(struct lwp *, void *, register_t *);
819
820 int linux_sys_sendmsg(struct lwp *, void *, register_t *);
821
822 int linux_sys_recvmsg(struct lwp *, void *, register_t *);
823
824 int sys_shutdown(struct lwp *, void *, register_t *);
825
826 int linux_sys_bind(struct lwp *, void *, register_t *);
827
828 int sys_listen(struct lwp *, void *, register_t *);
829
830 int linux_sys_getsockname(struct lwp *, void *, register_t *);
831
832 int linux_sys_getpeername(struct lwp *, void *, register_t *);
833
834 int linux_sys_socketpair(struct lwp *, void *, register_t *);
835
836 int linux_sys_setsockopt(struct lwp *, void *, register_t *);
837
838 int linux_sys_getsockopt(struct lwp *, void *, register_t *);
839
840 int linux_sys_clone(struct lwp *, void *, register_t *);
841
842 int sys_fork(struct lwp *, void *, register_t *);
843
844 int sys___vfork14(struct lwp *, void *, register_t *);
845
846 int linux_sys_execve(struct lwp *, void *, register_t *);
847
848 int sys_exit(struct lwp *, void *, register_t *);
849
850 int linux_sys_wait4(struct lwp *, void *, register_t *);
851
852 int linux_sys_kill(struct lwp *, void *, register_t *);
853
854 int linux_sys_uname(struct lwp *, void *, register_t *);
855
856 #ifdef SYSVSEM
857 int sys_semget(struct lwp *, void *, register_t *);
858
859 int sys_semop(struct lwp *, void *, register_t *);
860
861 int linux_sys_semctl(struct lwp *, void *, register_t *);
862
863 #else
864 #endif
865 #ifdef SYSVSHM
866 int sys_shmdt(struct lwp *, void *, register_t *);
867
868 #else
869 #endif
870 #ifdef SYSVMSG
871 int sys_msgget(struct lwp *, void *, register_t *);
872
873 int sys_msgsnd(struct lwp *, void *, register_t *);
874
875 int sys_msgrcv(struct lwp *, void *, register_t *);
876
877 int linux_sys_msgctl(struct lwp *, void *, register_t *);
878
879 #else
880 #endif
881 int linux_sys_fcntl(struct lwp *, void *, register_t *);
882
883 int sys_flock(struct lwp *, void *, register_t *);
884
885 int sys_fsync(struct lwp *, void *, register_t *);
886
887 int linux_sys_fdatasync(struct lwp *, void *, register_t *);
888
889 int linux_sys_truncate64(struct lwp *, void *, register_t *);
890
891 int linux_sys_ftruncate64(struct lwp *, void *, register_t *);
892
893 int linux_sys_getdents(struct lwp *, void *, register_t *);
894
895 int sys___getcwd(struct lwp *, void *, register_t *);
896
897 int linux_sys_chdir(struct lwp *, void *, register_t *);
898
899 int sys_fchdir(struct lwp *, void *, register_t *);
900
901 int linux_sys_rename(struct lwp *, void *, register_t *);
902
903 int linux_sys_mkdir(struct lwp *, void *, register_t *);
904
905 int linux_sys_rmdir(struct lwp *, void *, register_t *);
906
907 int linux_sys_creat(struct lwp *, void *, register_t *);
908
909 int linux_sys_link(struct lwp *, void *, register_t *);
910
911 int linux_sys_unlink(struct lwp *, void *, register_t *);
912
913 int linux_sys_symlink(struct lwp *, void *, register_t *);
914
915 int linux_sys_readlink(struct lwp *, void *, register_t *);
916
917 int linux_sys_chmod(struct lwp *, void *, register_t *);
918
919 int sys_fchmod(struct lwp *, void *, register_t *);
920
921 int linux_sys_chown(struct lwp *, void *, register_t *);
922
923 int sys___posix_fchown(struct lwp *, void *, register_t *);
924
925 int linux_sys_lchown(struct lwp *, void *, register_t *);
926
927 int sys_umask(struct lwp *, void *, register_t *);
928
929 int linux_sys_gettimeofday(struct lwp *, void *, register_t *);
930
931 int linux_sys_getrlimit(struct lwp *, void *, register_t *);
932
933 int sys_getrusage(struct lwp *, void *, register_t *);
934
935 int linux_sys_sysinfo(struct lwp *, void *, register_t *);
936
937 int linux_sys_times(struct lwp *, void *, register_t *);
938
939 #ifdef PTRACE
940 int linux_sys_ptrace(struct lwp *, void *, register_t *);
941
942 #else
943 #endif
944 int sys_getuid(struct lwp *, void *, register_t *);
945
946 int sys_getgid(struct lwp *, void *, register_t *);
947
948 int sys_setuid(struct lwp *, void *, register_t *);
949
950 int sys_setgid(struct lwp *, void *, register_t *);
951
952 int sys_geteuid(struct lwp *, void *, register_t *);
953
954 int sys_getegid(struct lwp *, void *, register_t *);
955
956 int sys_setpgid(struct lwp *, void *, register_t *);
957
958 int linux_sys_getppid(struct lwp *, void *, register_t *);
959
960 int sys_getpgrp(struct lwp *, void *, register_t *);
961
962 int sys_setsid(struct lwp *, void *, register_t *);
963
964 int sys_setreuid(struct lwp *, void *, register_t *);
965
966 int sys_setregid(struct lwp *, void *, register_t *);
967
968 int sys_getgroups(struct lwp *, void *, register_t *);
969
970 int sys_setgroups(struct lwp *, void *, register_t *);
971
972 int linux_sys_setresuid(struct lwp *, void *, register_t *);
973
974 int linux_sys_getresuid(struct lwp *, void *, register_t *);
975
976 int linux_sys_setresgid(struct lwp *, void *, register_t *);
977
978 int linux_sys_getresgid(struct lwp *, void *, register_t *);
979
980 int linux_sys_getpgid(struct lwp *, void *, register_t *);
981
982 int linux_sys_setfsuid(struct lwp *, void *, register_t *);
983
984 int linux_sys_getfsuid(struct lwp *, void *, register_t *);
985
986 int sys_getsid(struct lwp *, void *, register_t *);
987
988 int linux_sys_rt_sigpending(struct lwp *, void *, register_t *);
989
990 int linux_sys_rt_queueinfo(struct lwp *, void *, register_t *);
991
992 int linux_sys_rt_sigsuspend(struct lwp *, void *, register_t *);
993
994 int linux_sys_sigaltstack(struct lwp *, void *, register_t *);
995
996 int linux_sys_utime(struct lwp *, void *, register_t *);
997
998 int linux_sys_mknod(struct lwp *, void *, register_t *);
999
1000 #ifdef EXEC_AOUT
1001 int linux_sys_uselib(struct lwp *, void *, register_t *);
1002
1003 #else
1004 #endif
1005 int linux_sys_personality(struct lwp *, void *, register_t *);
1006
1007 int linux_sys_statfs64(struct lwp *, void *, register_t *);
1008
1009 int linux_sys_fstatfs64(struct lwp *, void *, register_t *);
1010
1011 int linux_sys_getpriority(struct lwp *, void *, register_t *);
1012
1013 int sys_setpriority(struct lwp *, void *, register_t *);
1014
1015 int linux_sys_sched_setparam(struct lwp *, void *, register_t *);
1016
1017 int linux_sys_sched_getparam(struct lwp *, void *, register_t *);
1018
1019 int linux_sys_sched_setscheduler(struct lwp *, void *, register_t *);
1020
1021 int linux_sys_sched_getscheduler(struct lwp *, void *, register_t *);
1022
1023 int linux_sys_sched_get_priority_max(struct lwp *, void *, register_t *);
1024
1025 int linux_sys_sched_get_priority_min(struct lwp *, void *, register_t *);
1026
1027 int sys_mlock(struct lwp *, void *, register_t *);
1028
1029 int sys_munlock(struct lwp *, void *, register_t *);
1030
1031 int sys_mlockall(struct lwp *, void *, register_t *);
1032
1033 int sys_munlockall(struct lwp *, void *, register_t *);
1034
1035 int linux_sys_modify_ldt(struct lwp *, void *, register_t *);
1036
1037 int linux_sys___sysctl(struct lwp *, void *, register_t *);
1038
1039 int linux_sys_arch_prctl(struct lwp *, void *, register_t *);
1040
1041 int linux_sys_setrlimit(struct lwp *, void *, register_t *);
1042
1043 int sys_chroot(struct lwp *, void *, register_t *);
1044
1045 int sys_sync(struct lwp *, void *, register_t *);
1046
1047 int sys_acct(struct lwp *, void *, register_t *);
1048
1049 int linux_sys_settimeofday(struct lwp *, void *, register_t *);
1050
1051 int linux_sys_swapon(struct lwp *, void *, register_t *);
1052
1053 int linux_sys_swapoff(struct lwp *, void *, register_t *);
1054
1055 int linux_sys_reboot(struct lwp *, void *, register_t *);
1056
1057 int compat_43_sys_sethostname(struct lwp *, void *, register_t *);
1058
1059 int linux_sys_setdomainname(struct lwp *, void *, register_t *);
1060
1061 int linux_sys_iopl(struct lwp *, void *, register_t *);
1062
1063 int linux_sys_ioperm(struct lwp *, void *, register_t *);
1064
1065 int linux_sys_gettid(struct lwp *, void *, register_t *);
1066
1067 int linux_sys_setxattr(struct lwp *, void *, register_t *);
1068
1069 int linux_sys_lsetxattr(struct lwp *, void *, register_t *);
1070
1071 int linux_sys_fsetxattr(struct lwp *, void *, register_t *);
1072
1073 int linux_sys_getxattr(struct lwp *, void *, register_t *);
1074
1075 int linux_sys_lgetxattr(struct lwp *, void *, register_t *);
1076
1077 int linux_sys_fgetxattr(struct lwp *, void *, register_t *);
1078
1079 int linux_sys_listxattr(struct lwp *, void *, register_t *);
1080
1081 int linux_sys_llistxattr(struct lwp *, void *, register_t *);
1082
1083 int linux_sys_flistxattr(struct lwp *, void *, register_t *);
1084
1085 int linux_sys_removexattr(struct lwp *, void *, register_t *);
1086
1087 int linux_sys_lremovexattr(struct lwp *, void *, register_t *);
1088
1089 int linux_sys_fremovexattr(struct lwp *, void *, register_t *);
1090
1091 int linux_sys_tkill(struct lwp *, void *, register_t *);
1092
1093 int linux_sys_time(struct lwp *, void *, register_t *);
1094
1095 int linux_sys_futex(struct lwp *, void *, register_t *);
1096
1097 int linux_sys_sched_setaffinity(struct lwp *, void *, register_t *);
1098
1099 int linux_sys_sched_getaffinity(struct lwp *, void *, register_t *);
1100
1101 int linux_sys_getdents64(struct lwp *, void *, register_t *);
1102
1103 int linux_sys_set_tid_address(struct lwp *, void *, register_t *);
1104
1105 int linux_sys_clock_settime(struct lwp *, void *, register_t *);
1106
1107 int linux_sys_clock_gettime(struct lwp *, void *, register_t *);
1108
1109 int linux_sys_clock_getres(struct lwp *, void *, register_t *);
1110
1111 int linux_sys_clock_nanosleep(struct lwp *, void *, register_t *);
1112
1113 int linux_sys_exit_group(struct lwp *, void *, register_t *);
1114
1115 int linux_sys_tgkill(struct lwp *, void *, register_t *);
1116
1117 int linux_sys_nosys(struct lwp *, void *, register_t *);
1118
1119 #endif /* _LINUX_SYS_SYSCALLARGS_H_ */
1120