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