linux_syscallargs.h revision 1.6 1 /* $NetBSD: linux_syscallargs.h,v 1.6 2005/10/18 19:08:51 joerg 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.6 2005/10/18 18:37:44 joerg 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
125 struct linux_sys_alarm_args {
126 syscallarg(unsigned int) secs;
127 };
128
129 struct linux_sys_socket_args {
130 syscallarg(int) domain;
131 syscallarg(int) type;
132 syscallarg(int) protocol;
133 };
134
135 struct linux_sys_connect_args {
136 syscallarg(int) s;
137 syscallarg(const struct osockaddr *) name;
138 syscallarg(unsigned int) namelen;
139 };
140
141 struct linux_sys_accept_args {
142 syscallarg(int) s;
143 syscallarg(struct osockaddr *) name;
144 syscallarg(int *) anamelen;
145 };
146
147 struct linux_sys_sendto_args {
148 syscallarg(int) s;
149 syscallarg(void *) msg;
150 syscallarg(int) len;
151 syscallarg(int) flags;
152 syscallarg(struct osockaddr *) to;
153 syscallarg(int) tolen;
154 };
155
156 struct linux_sys_recvfrom_args {
157 syscallarg(int) s;
158 syscallarg(void *) buf;
159 syscallarg(size_t) len;
160 syscallarg(int) flags;
161 syscallarg(struct osockaddr *) from;
162 syscallarg(unsigned int *) fromlenaddr;
163 };
164
165 struct linux_sys_sendmsg_args {
166 syscallarg(int) s;
167 syscallarg(const struct msghdr *) msg;
168 syscallarg(int) flags;
169 };
170
171 struct linux_sys_recvmsg_args {
172 syscallarg(int) s;
173 syscallarg(struct msghdr *) msg;
174 syscallarg(int) flags;
175 };
176
177 struct linux_sys_bind_args {
178 syscallarg(int) s;
179 syscallarg(const struct osockaddr *) name;
180 syscallarg(unsigned int) namelen;
181 };
182
183 struct linux_sys_getsockname_args {
184 syscallarg(int) fdec;
185 syscallarg(caddr_t) asa;
186 syscallarg(int *) alen;
187 };
188
189 struct linux_sys_getpeername_args {
190 syscallarg(int) fdes;
191 syscallarg(struct sockaddr *) asa;
192 syscallarg(unsigned int *) alen;
193 };
194
195 struct linux_sys_socketpair_args {
196 syscallarg(int) domain;
197 syscallarg(int) type;
198 syscallarg(int) protocol;
199 syscallarg(int *) rsv;
200 };
201
202 struct linux_sys_setsockopt_args {
203 syscallarg(int) s;
204 syscallarg(int) level;
205 syscallarg(int) optname;
206 syscallarg(void *) optval;
207 syscallarg(int) optlen;
208 };
209
210 struct linux_sys_getsockopt_args {
211 syscallarg(int) s;
212 syscallarg(int) level;
213 syscallarg(int) optname;
214 syscallarg(void *) optval;
215 syscallarg(int *) optlen;
216 };
217
218 struct linux_sys_clone_args {
219 syscallarg(int) flags;
220 syscallarg(void *) stack;
221 syscallarg(void *) parent_tidptr;
222 syscallarg(void *) child_tidptr;
223 };
224
225 struct linux_sys_execve_args {
226 syscallarg(const char *) path;
227 syscallarg(char **) argp;
228 syscallarg(char **) envp;
229 };
230
231 struct linux_sys_wait4_args {
232 syscallarg(int) pid;
233 syscallarg(int *) status;
234 syscallarg(int) options;
235 syscallarg(struct rusage *) rusage;
236 };
237
238 struct linux_sys_kill_args {
239 syscallarg(int) pid;
240 syscallarg(int) signum;
241 };
242
243 struct linux_sys_uname_args {
244 syscallarg(struct linux_utsname *) up;
245 };
246
247 struct linux_sys_fcntl_args {
248 syscallarg(int) fd;
249 syscallarg(int) cmd;
250 syscallarg(void *) arg;
251 };
252
253 struct linux_sys_fdatasync_args {
254 syscallarg(int) fd;
255 };
256
257 struct linux_sys_truncate64_args {
258 syscallarg(const char *) path;
259 syscallarg(off_t) length;
260 };
261
262 struct linux_sys_ftruncate64_args {
263 syscallarg(unsigned int) fd;
264 syscallarg(off_t) length;
265 };
266
267 struct linux_sys_getdents_args {
268 syscallarg(int) fd;
269 syscallarg(struct linux_dirent *) dent;
270 syscallarg(unsigned int) count;
271 };
272
273 struct linux_sys_chdir_args {
274 syscallarg(const char *) path;
275 };
276
277 struct linux_sys_rename_args {
278 syscallarg(const char *) from;
279 syscallarg(const char *) to;
280 };
281
282 struct linux_sys_mkdir_args {
283 syscallarg(const char *) path;
284 syscallarg(int) mode;
285 };
286
287 struct linux_sys_rmdir_args {
288 syscallarg(const char *) path;
289 };
290
291 struct linux_sys_creat_args {
292 syscallarg(const char *) path;
293 syscallarg(int) mode;
294 };
295
296 struct linux_sys_link_args {
297 syscallarg(const char *) path;
298 syscallarg(const char *) link;
299 };
300
301 struct linux_sys_unlink_args {
302 syscallarg(const char *) path;
303 };
304
305 struct linux_sys_symlink_args {
306 syscallarg(const char *) path;
307 syscallarg(const char *) to;
308 };
309
310 struct linux_sys_readlink_args {
311 syscallarg(const char *) name;
312 syscallarg(char *) buf;
313 syscallarg(int) count;
314 };
315
316 struct linux_sys_chmod_args {
317 syscallarg(const char *) path;
318 syscallarg(int) mode;
319 };
320
321 struct linux_sys_chown_args {
322 syscallarg(const char *) path;
323 syscallarg(uid_t) uid;
324 syscallarg(gid_t) gid;
325 };
326
327 struct linux_sys_lchown_args {
328 syscallarg(const char *) path;
329 syscallarg(uid_t) uid;
330 syscallarg(gid_t) gid;
331 };
332
333 struct linux_sys_gettimeofday_args {
334 syscallarg(struct timeval *) tp;
335 syscallarg(struct timezone *) tzp;
336 };
337
338 struct linux_sys_getrlimit_args {
339 syscallarg(int) which;
340 syscallarg(struct orlimit *) rlp;
341 };
342
343 struct linux_sys_sysinfo_args {
344 syscallarg(struct linux_sysinfo *) arg;
345 };
346
347 struct linux_sys_times_args {
348 syscallarg(struct times *) tms;
349 };
350
351 struct linux_sys_ptrace_args {
352 syscallarg(long) request;
353 syscallarg(long) pid;
354 syscallarg(long) addr;
355 syscallarg(long) data;
356 };
357
358 struct linux_sys_setresuid_args {
359 syscallarg(uid_t) ruid;
360 syscallarg(uid_t) euid;
361 syscallarg(uid_t) suid;
362 };
363
364 struct linux_sys_getresuid_args {
365 syscallarg(uid_t *) ruid;
366 syscallarg(uid_t *) euid;
367 syscallarg(uid_t *) suid;
368 };
369
370 struct linux_sys_setresgid_args {
371 syscallarg(gid_t) rgid;
372 syscallarg(gid_t) egid;
373 syscallarg(gid_t) sgid;
374 };
375
376 struct linux_sys_getresgid_args {
377 syscallarg(gid_t *) rgid;
378 syscallarg(gid_t *) egid;
379 syscallarg(gid_t *) sgid;
380 };
381
382 struct linux_sys_getpgid_args {
383 syscallarg(int) pid;
384 };
385
386 struct linux_sys_setfsuid_args {
387 syscallarg(uid_t) uid;
388 };
389
390 struct linux_sys_rt_sigpending_args {
391 syscallarg(linux_sigset_t *) set;
392 syscallarg(size_t) sigsetsize;
393 };
394
395 struct linux_sys_rt_queueinfo_args {
396 syscallarg(int) pid;
397 syscallarg(int) signum;
398 syscallarg(siginfo_t *) uinfo;
399 };
400
401 struct linux_sys_rt_sigsuspend_args {
402 syscallarg(linux_sigset_t *) unewset;
403 syscallarg(size_t) sigsetsize;
404 };
405
406 struct linux_sys_sigaltstack_args {
407 syscallarg(const struct linux_sigaltstack *) ss;
408 syscallarg(struct linux_sigaltstack *) oss;
409 };
410
411 struct linux_sys_utime_args {
412 syscallarg(const char *) path;
413 syscallarg(struct linux_utimbuf *) times;
414 };
415
416 struct linux_sys_mknod_args {
417 syscallarg(const char *) path;
418 syscallarg(int) mode;
419 syscallarg(int) dev;
420 };
421 #ifdef EXEC_AOUT
422
423 struct linux_sys_uselib_args {
424 syscallarg(const char *) path;
425 };
426 #else
427 #endif
428
429 struct linux_sys_personality_args {
430 syscallarg(int) per;
431 };
432
433 struct linux_sys_statfs64_args {
434 syscallarg(const char *) path;
435 syscallarg(size_t) sz;
436 syscallarg(struct linux_statfs64 *) sp;
437 };
438
439 struct linux_sys_fstatfs64_args {
440 syscallarg(int) fd;
441 syscallarg(size_t) sz;
442 syscallarg(struct linux_statfs64 *) sp;
443 };
444
445 struct linux_sys_sched_setparam_args {
446 syscallarg(pid_t) pid;
447 syscallarg(const struct linux_sched_param *) sp;
448 };
449
450 struct linux_sys_sched_getparam_args {
451 syscallarg(pid_t) pid;
452 syscallarg(struct linux_sched_param *) sp;
453 };
454
455 struct linux_sys_sched_setscheduler_args {
456 syscallarg(pid_t) pid;
457 syscallarg(int) policy;
458 syscallarg(const struct linux_sched_param *) sp;
459 };
460
461 struct linux_sys_sched_getscheduler_args {
462 syscallarg(pid_t) pid;
463 };
464
465 struct linux_sys_sched_get_priority_max_args {
466 syscallarg(int) policy;
467 };
468
469 struct linux_sys_sched_get_priority_min_args {
470 syscallarg(int) policy;
471 };
472
473 struct linux_sys_modify_ldt_args {
474 syscallarg(int) func;
475 syscallarg(void *) ptr;
476 syscallarg(size_t) bytecount;
477 };
478
479 struct linux_sys___sysctl_args {
480 syscallarg(struct linux___sysctl *) lsp;
481 };
482
483 struct linux_sys_arch_prctl_args {
484 syscallarg(int) code;
485 syscallarg(unsigned long) addr;
486 };
487
488 struct linux_sys_setrlimit_args {
489 syscallarg(u_int) which;
490 syscallarg(struct orlimit *) rlp;
491 };
492
493 struct linux_sys_settimeofday_args {
494 syscallarg(struct timeval *) tp;
495 syscallarg(struct timezone *) tzp;
496 };
497
498 struct linux_sys_swapon_args {
499 syscallarg(char *) name;
500 };
501
502 struct linux_sys_swapoff_args {
503 syscallarg(const char *) path;
504 };
505
506 struct linux_sys_reboot_args {
507 syscallarg(int) magic1;
508 syscallarg(int) magic2;
509 syscallarg(int) cmd;
510 syscallarg(void *) arg;
511 };
512
513 struct linux_sys_setdomainname_args {
514 syscallarg(char *) domainname;
515 syscallarg(int) len;
516 };
517
518 struct linux_sys_iopl_args {
519 syscallarg(int) level;
520 };
521
522 struct linux_sys_ioperm_args {
523 syscallarg(unsigned int) lo;
524 syscallarg(unsigned int) hi;
525 syscallarg(int) val;
526 };
527
528 struct linux_sys_setxattr_args {
529 syscallarg(char *) path;
530 syscallarg(char *) name;
531 syscallarg(void *) value;
532 syscallarg(size_t) size;
533 syscallarg(int) flags;
534 };
535
536 struct linux_sys_lsetxattr_args {
537 syscallarg(char *) path;
538 syscallarg(char *) name;
539 syscallarg(void *) value;
540 syscallarg(size_t) size;
541 syscallarg(int) flags;
542 };
543
544 struct linux_sys_fsetxattr_args {
545 syscallarg(int) fd;
546 syscallarg(char *) name;
547 syscallarg(void *) value;
548 syscallarg(size_t) size;
549 syscallarg(int) flags;
550 };
551
552 struct linux_sys_getxattr_args {
553 syscallarg(char *) path;
554 syscallarg(char *) name;
555 syscallarg(void *) value;
556 syscallarg(size_t) size;
557 };
558
559 struct linux_sys_lgetxattr_args {
560 syscallarg(char *) path;
561 syscallarg(char *) name;
562 syscallarg(void *) value;
563 syscallarg(size_t) size;
564 };
565
566 struct linux_sys_fgetxattr_args {
567 syscallarg(int) fd;
568 syscallarg(char *) name;
569 syscallarg(void *) value;
570 syscallarg(size_t) size;
571 };
572
573 struct linux_sys_listxattr_args {
574 syscallarg(char *) path;
575 syscallarg(char *) list;
576 syscallarg(size_t) size;
577 };
578
579 struct linux_sys_llistxattr_args {
580 syscallarg(char *) path;
581 syscallarg(char *) list;
582 syscallarg(size_t) size;
583 };
584
585 struct linux_sys_flistxattr_args {
586 syscallarg(int) fd;
587 syscallarg(char *) list;
588 syscallarg(size_t) size;
589 };
590
591 struct linux_sys_removexattr_args {
592 syscallarg(char *) path;
593 syscallarg(char *) name;
594 };
595
596 struct linux_sys_lremovexattr_args {
597 syscallarg(char *) path;
598 syscallarg(char *) name;
599 };
600
601 struct linux_sys_fremovexattr_args {
602 syscallarg(int) fd;
603 syscallarg(char *) name;
604 };
605
606 struct linux_sys_time_args {
607 syscallarg(linux_time_t *) t;
608 };
609
610 struct linux_sys_getdents64_args {
611 syscallarg(int) fd;
612 syscallarg(struct linux_dirent64 *) dent;
613 syscallarg(unsigned int) count;
614 };
615
616 struct linux_sys_set_tid_address_args {
617 syscallarg(int *) tid;
618 };
619
620 struct linux_sys_clock_settime_args {
621 syscallarg(clockid_t) which;
622 syscallarg(struct linux_timespec *) tp;
623 };
624
625 struct linux_sys_clock_gettime_args {
626 syscallarg(clockid_t) which;
627 syscallarg(struct linux_timespec *) tp;
628 };
629
630 struct linux_sys_clock_getres_args {
631 syscallarg(clockid_t) which;
632 syscallarg(struct linux_timespec *) tp;
633 };
634
635 struct linux_sys_clock_nanosleep_args {
636 syscallarg(clockid_t) which;
637 syscallarg(int) flags;
638 syscallarg(struct linux_timespec *) rqtp;
639 syscallarg(struct linux_timespec *) rmtp;
640 };
641
642 struct linux_sys_exit_group_args {
643 syscallarg(int) error_code;
644 };
645
646 /*
647 * System call prototypes.
648 */
649
650 int sys_read(struct lwp *, void *, register_t *);
651
652 int sys_write(struct lwp *, void *, register_t *);
653
654 int linux_sys_open(struct lwp *, void *, register_t *);
655
656 int sys_close(struct lwp *, void *, register_t *);
657
658 int linux_sys_stat64(struct lwp *, void *, register_t *);
659
660 int linux_sys_fstat64(struct lwp *, void *, register_t *);
661
662 int linux_sys_lstat64(struct lwp *, void *, register_t *);
663
664 int sys_poll(struct lwp *, void *, register_t *);
665
666 int compat_43_sys_lseek(struct lwp *, void *, register_t *);
667
668 int linux_sys_mmap(struct lwp *, void *, register_t *);
669
670 int linux_sys_mprotect(struct lwp *, void *, register_t *);
671
672 int sys_munmap(struct lwp *, void *, register_t *);
673
674 int linux_sys_brk(struct lwp *, void *, register_t *);
675
676 int linux_sys_rt_sigaction(struct lwp *, void *, register_t *);
677
678 int linux_sys_rt_sigprocmask(struct lwp *, void *, register_t *);
679
680 int linux_sys_rt_sigreturn(struct lwp *, void *, register_t *);
681
682 int linux_sys_ioctl(struct lwp *, void *, register_t *);
683
684 int linux_sys_pread(struct lwp *, void *, register_t *);
685
686 int linux_sys_pwrite(struct lwp *, void *, register_t *);
687
688 int sys_readv(struct lwp *, void *, register_t *);
689
690 int sys_writev(struct lwp *, void *, register_t *);
691
692 int linux_sys_access(struct lwp *, void *, register_t *);
693
694 int linux_sys_pipe(struct lwp *, void *, register_t *);
695
696 int linux_sys_select(struct lwp *, void *, register_t *);
697
698 int linux_sys_sched_yield(struct lwp *, void *, register_t *);
699
700 int linux_sys_mremap(struct lwp *, void *, register_t *);
701
702 int linux_sys_msync(struct lwp *, void *, register_t *);
703
704 int sys_mincore(struct lwp *, void *, register_t *);
705
706 int sys_madvise(struct lwp *, void *, register_t *);
707
708 int sys_dup(struct lwp *, void *, register_t *);
709
710 int sys_dup2(struct lwp *, void *, register_t *);
711
712 int linux_sys_pause(struct lwp *, void *, register_t *);
713
714 int sys_nanosleep(struct lwp *, void *, register_t *);
715
716 int sys_getitimer(struct lwp *, void *, register_t *);
717
718 int linux_sys_alarm(struct lwp *, void *, register_t *);
719
720 int sys_setitimer(struct lwp *, void *, register_t *);
721
722 int sys_getpid(struct lwp *, void *, register_t *);
723
724 int linux_sys_socket(struct lwp *, void *, register_t *);
725
726 int linux_sys_connect(struct lwp *, void *, register_t *);
727
728 int linux_sys_accept(struct lwp *, void *, register_t *);
729
730 int linux_sys_sendto(struct lwp *, void *, register_t *);
731
732 int linux_sys_recvfrom(struct lwp *, void *, register_t *);
733
734 int linux_sys_sendmsg(struct lwp *, void *, register_t *);
735
736 int linux_sys_recvmsg(struct lwp *, void *, register_t *);
737
738 int sys_shutdown(struct lwp *, void *, register_t *);
739
740 int linux_sys_bind(struct lwp *, void *, register_t *);
741
742 int sys_listen(struct lwp *, void *, register_t *);
743
744 int linux_sys_getsockname(struct lwp *, void *, register_t *);
745
746 int linux_sys_getpeername(struct lwp *, void *, register_t *);
747
748 int linux_sys_socketpair(struct lwp *, void *, register_t *);
749
750 int linux_sys_setsockopt(struct lwp *, void *, register_t *);
751
752 int linux_sys_getsockopt(struct lwp *, void *, register_t *);
753
754 int linux_sys_clone(struct lwp *, void *, register_t *);
755
756 int sys_fork(struct lwp *, void *, register_t *);
757
758 int sys___vfork14(struct lwp *, void *, register_t *);
759
760 int linux_sys_execve(struct lwp *, void *, register_t *);
761
762 int sys_exit(struct lwp *, void *, register_t *);
763
764 int linux_sys_wait4(struct lwp *, void *, register_t *);
765
766 int linux_sys_kill(struct lwp *, void *, register_t *);
767
768 int linux_sys_uname(struct lwp *, void *, register_t *);
769
770 int linux_sys_fcntl(struct lwp *, void *, register_t *);
771
772 int sys_flock(struct lwp *, void *, register_t *);
773
774 int sys_fsync(struct lwp *, void *, register_t *);
775
776 int linux_sys_fdatasync(struct lwp *, void *, register_t *);
777
778 int linux_sys_truncate64(struct lwp *, void *, register_t *);
779
780 int linux_sys_ftruncate64(struct lwp *, void *, register_t *);
781
782 int linux_sys_getdents(struct lwp *, void *, register_t *);
783
784 int sys___getcwd(struct lwp *, void *, register_t *);
785
786 int linux_sys_chdir(struct lwp *, void *, register_t *);
787
788 int sys_fchdir(struct lwp *, void *, register_t *);
789
790 int linux_sys_rename(struct lwp *, void *, register_t *);
791
792 int linux_sys_mkdir(struct lwp *, void *, register_t *);
793
794 int linux_sys_rmdir(struct lwp *, void *, register_t *);
795
796 int linux_sys_creat(struct lwp *, void *, register_t *);
797
798 int linux_sys_link(struct lwp *, void *, register_t *);
799
800 int linux_sys_unlink(struct lwp *, void *, register_t *);
801
802 int linux_sys_symlink(struct lwp *, void *, register_t *);
803
804 int linux_sys_readlink(struct lwp *, void *, register_t *);
805
806 int linux_sys_chmod(struct lwp *, void *, register_t *);
807
808 int sys_fchmod(struct lwp *, void *, register_t *);
809
810 int linux_sys_chown(struct lwp *, void *, register_t *);
811
812 int sys___posix_fchown(struct lwp *, void *, register_t *);
813
814 int linux_sys_lchown(struct lwp *, void *, register_t *);
815
816 int sys_umask(struct lwp *, void *, register_t *);
817
818 int linux_sys_gettimeofday(struct lwp *, void *, register_t *);
819
820 int linux_sys_getrlimit(struct lwp *, void *, register_t *);
821
822 int sys_getrusage(struct lwp *, void *, register_t *);
823
824 int linux_sys_sysinfo(struct lwp *, void *, register_t *);
825
826 int linux_sys_times(struct lwp *, void *, register_t *);
827
828 int linux_sys_ptrace(struct lwp *, void *, register_t *);
829
830 int sys_getuid(struct lwp *, void *, register_t *);
831
832 int sys_getgid(struct lwp *, void *, register_t *);
833
834 int sys_setuid(struct lwp *, void *, register_t *);
835
836 int sys_setgid(struct lwp *, void *, register_t *);
837
838 int sys_geteuid(struct lwp *, void *, register_t *);
839
840 int sys_getegid(struct lwp *, void *, register_t *);
841
842 int sys_setpgid(struct lwp *, void *, register_t *);
843
844 int sys_getppid(struct lwp *, void *, register_t *);
845
846 int sys_getpgrp(struct lwp *, void *, register_t *);
847
848 int sys_setsid(struct lwp *, void *, register_t *);
849
850 int sys_setreuid(struct lwp *, void *, register_t *);
851
852 int sys_setregid(struct lwp *, void *, register_t *);
853
854 int sys_getgroups(struct lwp *, void *, register_t *);
855
856 int sys_setgroups(struct lwp *, void *, register_t *);
857
858 int linux_sys_setresuid(struct lwp *, void *, register_t *);
859
860 int linux_sys_getresuid(struct lwp *, void *, register_t *);
861
862 int linux_sys_setresgid(struct lwp *, void *, register_t *);
863
864 int linux_sys_getresgid(struct lwp *, void *, register_t *);
865
866 int linux_sys_getpgid(struct lwp *, void *, register_t *);
867
868 int linux_sys_setfsuid(struct lwp *, void *, register_t *);
869
870 int linux_sys_getfsuid(struct lwp *, void *, register_t *);
871
872 int sys_getsid(struct lwp *, void *, register_t *);
873
874 int linux_sys_rt_sigpending(struct lwp *, void *, register_t *);
875
876 int linux_sys_rt_queueinfo(struct lwp *, void *, register_t *);
877
878 int linux_sys_rt_sigsuspend(struct lwp *, void *, register_t *);
879
880 int linux_sys_sigaltstack(struct lwp *, void *, register_t *);
881
882 int linux_sys_utime(struct lwp *, void *, register_t *);
883
884 int linux_sys_mknod(struct lwp *, void *, register_t *);
885
886 #ifdef EXEC_AOUT
887 int linux_sys_uselib(struct lwp *, void *, register_t *);
888
889 #else
890 #endif
891 int linux_sys_personality(struct lwp *, void *, register_t *);
892
893 int linux_sys_statfs64(struct lwp *, void *, register_t *);
894
895 int linux_sys_fstatfs64(struct lwp *, void *, register_t *);
896
897 int sys_getpriority(struct lwp *, void *, register_t *);
898
899 int sys_setpriority(struct lwp *, void *, register_t *);
900
901 int linux_sys_sched_setparam(struct lwp *, void *, register_t *);
902
903 int linux_sys_sched_getparam(struct lwp *, void *, register_t *);
904
905 int linux_sys_sched_setscheduler(struct lwp *, void *, register_t *);
906
907 int linux_sys_sched_getscheduler(struct lwp *, void *, register_t *);
908
909 int linux_sys_sched_get_priority_max(struct lwp *, void *, register_t *);
910
911 int linux_sys_sched_get_priority_min(struct lwp *, void *, register_t *);
912
913 int sys_mlock(struct lwp *, void *, register_t *);
914
915 int sys_munlock(struct lwp *, void *, register_t *);
916
917 int sys_mlockall(struct lwp *, void *, register_t *);
918
919 int sys_munlockall(struct lwp *, void *, register_t *);
920
921 int linux_sys_modify_ldt(struct lwp *, void *, register_t *);
922
923 int linux_sys___sysctl(struct lwp *, void *, register_t *);
924
925 int linux_sys_arch_prctl(struct lwp *, void *, register_t *);
926
927 int linux_sys_setrlimit(struct lwp *, void *, register_t *);
928
929 int sys_chroot(struct lwp *, void *, register_t *);
930
931 int sys_sync(struct lwp *, void *, register_t *);
932
933 int sys_acct(struct lwp *, void *, register_t *);
934
935 int linux_sys_settimeofday(struct lwp *, void *, register_t *);
936
937 int linux_sys_swapon(struct lwp *, void *, register_t *);
938
939 int linux_sys_swapoff(struct lwp *, void *, register_t *);
940
941 int linux_sys_reboot(struct lwp *, void *, register_t *);
942
943 int compat_43_sys_sethostname(struct lwp *, void *, register_t *);
944
945 int linux_sys_setdomainname(struct lwp *, void *, register_t *);
946
947 int linux_sys_iopl(struct lwp *, void *, register_t *);
948
949 int linux_sys_ioperm(struct lwp *, void *, register_t *);
950
951 int linux_sys_setxattr(struct lwp *, void *, register_t *);
952
953 int linux_sys_lsetxattr(struct lwp *, void *, register_t *);
954
955 int linux_sys_fsetxattr(struct lwp *, void *, register_t *);
956
957 int linux_sys_getxattr(struct lwp *, void *, register_t *);
958
959 int linux_sys_lgetxattr(struct lwp *, void *, register_t *);
960
961 int linux_sys_fgetxattr(struct lwp *, void *, register_t *);
962
963 int linux_sys_listxattr(struct lwp *, void *, register_t *);
964
965 int linux_sys_llistxattr(struct lwp *, void *, register_t *);
966
967 int linux_sys_flistxattr(struct lwp *, void *, register_t *);
968
969 int linux_sys_removexattr(struct lwp *, void *, register_t *);
970
971 int linux_sys_lremovexattr(struct lwp *, void *, register_t *);
972
973 int linux_sys_fremovexattr(struct lwp *, void *, register_t *);
974
975 int linux_sys_time(struct lwp *, void *, register_t *);
976
977 int linux_sys_getdents64(struct lwp *, void *, register_t *);
978
979 int linux_sys_set_tid_address(struct lwp *, void *, register_t *);
980
981 int linux_sys_clock_settime(struct lwp *, void *, register_t *);
982
983 int linux_sys_clock_gettime(struct lwp *, void *, register_t *);
984
985 int linux_sys_clock_getres(struct lwp *, void *, register_t *);
986
987 int linux_sys_clock_nanosleep(struct lwp *, void *, register_t *);
988
989 int linux_sys_exit_group(struct lwp *, void *, register_t *);
990
991 int linux_sys_nosys(struct lwp *, void *, register_t *);
992
993 #endif /* _LINUX_SYS__SYSCALLARGS_H_ */
994