linux_syscallargs.h revision 1.1 1 /* $NetBSD: linux_syscallargs.h,v 1.1 2021/09/23 06:56:27 ryo Exp $ */
2
3 /*
4 * System call argument lists.
5 *
6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD
8 */
9
10 #ifndef _LINUX_SYS_SYSCALLARGS_H_
11 #define _LINUX_SYS_SYSCALLARGS_H_
12
13 /* Forward declaration */
14 struct lwp;
15
16 #define LINUX_SYS_MAXSYSARGS 8
17
18 #undef syscallarg
19 #define syscallarg(x) \
20 union { \
21 register_t pad; \
22 struct { x datum; } le; \
23 struct { /* LINTED zero array dimension */ \
24 int8_t pad[ /* CONSTCOND */ \
25 (sizeof (register_t) < sizeof (x)) \
26 ? 0 \
27 : sizeof (register_t) - sizeof (x)]; \
28 x datum; \
29 } be; \
30 }
31
32 #undef check_syscall_args
33 #define check_syscall_args(call) /*LINTED*/ \
34 typedef char call##_check_args[sizeof (struct call##_args) \
35 <= LINUX_SYS_MAXSYSARGS * sizeof (register_t) ? 1 : -1];
36
37 struct linux_sys_setxattr_args {
38 syscallarg(char *) path;
39 syscallarg(char *) name;
40 syscallarg(void *) value;
41 syscallarg(size_t) size;
42 syscallarg(int) flags;
43 };
44 check_syscall_args(linux_sys_setxattr)
45
46 struct linux_sys_lsetxattr_args {
47 syscallarg(char *) path;
48 syscallarg(char *) name;
49 syscallarg(void *) value;
50 syscallarg(size_t) size;
51 syscallarg(int) flags;
52 };
53 check_syscall_args(linux_sys_lsetxattr)
54
55 struct linux_sys_fsetxattr_args {
56 syscallarg(int) fd;
57 syscallarg(char *) name;
58 syscallarg(void *) value;
59 syscallarg(size_t) size;
60 syscallarg(int) flags;
61 };
62 check_syscall_args(linux_sys_fsetxattr)
63
64 struct linux_sys_getxattr_args {
65 syscallarg(char *) path;
66 syscallarg(char *) name;
67 syscallarg(void *) value;
68 syscallarg(size_t) size;
69 };
70 check_syscall_args(linux_sys_getxattr)
71
72 struct linux_sys_lgetxattr_args {
73 syscallarg(char *) path;
74 syscallarg(char *) name;
75 syscallarg(void *) value;
76 syscallarg(size_t) size;
77 };
78 check_syscall_args(linux_sys_lgetxattr)
79
80 struct linux_sys_fgetxattr_args {
81 syscallarg(int) fd;
82 syscallarg(char *) name;
83 syscallarg(void *) value;
84 syscallarg(size_t) size;
85 };
86 check_syscall_args(linux_sys_fgetxattr)
87
88 struct linux_sys_listxattr_args {
89 syscallarg(char *) path;
90 syscallarg(char *) list;
91 syscallarg(size_t) size;
92 };
93 check_syscall_args(linux_sys_listxattr)
94
95 struct linux_sys_llistxattr_args {
96 syscallarg(char *) path;
97 syscallarg(char *) list;
98 syscallarg(size_t) size;
99 };
100 check_syscall_args(linux_sys_llistxattr)
101
102 struct linux_sys_flistxattr_args {
103 syscallarg(int) fd;
104 syscallarg(char *) list;
105 syscallarg(size_t) size;
106 };
107 check_syscall_args(linux_sys_flistxattr)
108
109 struct linux_sys_removexattr_args {
110 syscallarg(char *) path;
111 syscallarg(char *) name;
112 };
113 check_syscall_args(linux_sys_removexattr)
114
115 struct linux_sys_lremovexattr_args {
116 syscallarg(char *) path;
117 syscallarg(char *) name;
118 };
119 check_syscall_args(linux_sys_lremovexattr)
120
121 struct linux_sys_fremovexattr_args {
122 syscallarg(int) fd;
123 syscallarg(char *) name;
124 };
125 check_syscall_args(linux_sys_fremovexattr)
126
127 struct sys___getcwd_args;
128
129 struct linux_sys_eventfd2_args {
130 syscallarg(unsigned int) initval;
131 syscallarg(int) flags;
132 };
133 check_syscall_args(linux_sys_eventfd2)
134
135 struct sys_dup_args;
136
137 struct linux_sys_dup3_args {
138 syscallarg(int) from;
139 syscallarg(int) to;
140 syscallarg(int) flags;
141 };
142 check_syscall_args(linux_sys_dup3)
143
144 struct linux_sys_fcntl_args {
145 syscallarg(int) fd;
146 syscallarg(int) cmd;
147 syscallarg(void *) arg;
148 };
149 check_syscall_args(linux_sys_fcntl)
150
151 struct linux_sys_ioctl_args {
152 syscallarg(int) fd;
153 syscallarg(u_long) com;
154 syscallarg(void *) data;
155 };
156 check_syscall_args(linux_sys_ioctl)
157
158 struct sys_flock_args;
159
160 struct linux_sys_mknodat_args {
161 syscallarg(int) fd;
162 syscallarg(const char *) path;
163 syscallarg(linux_umode_t) mode;
164 syscallarg(unsigned) dev;
165 };
166 check_syscall_args(linux_sys_mknodat)
167
168 struct sys_mkdirat_args;
169
170 struct linux_sys_unlinkat_args {
171 syscallarg(int) fd;
172 syscallarg(const char *) path;
173 syscallarg(int) flag;
174 };
175 check_syscall_args(linux_sys_unlinkat)
176
177 struct sys_symlinkat_args;
178
179 struct linux_sys_linkat_args {
180 syscallarg(int) fd1;
181 syscallarg(const char *) name1;
182 syscallarg(int) fd2;
183 syscallarg(const char *) name2;
184 syscallarg(int) flags;
185 };
186 check_syscall_args(linux_sys_linkat)
187
188 struct sys_renameat_args;
189
190 struct linux_sys_statfs_args {
191 syscallarg(const char *) path;
192 syscallarg(struct linux_statfs *) sp;
193 };
194 check_syscall_args(linux_sys_statfs)
195
196 struct linux_sys_fstatfs_args {
197 syscallarg(int) fd;
198 syscallarg(struct linux_statfs *) sp;
199 };
200 check_syscall_args(linux_sys_fstatfs)
201
202 struct linux_sys_truncate64_args {
203 syscallarg(const char *) path;
204 syscallarg(off_t) length;
205 };
206 check_syscall_args(linux_sys_truncate64)
207
208 struct linux_sys_ftruncate64_args {
209 syscallarg(unsigned int) fd;
210 syscallarg(off_t) length;
211 };
212 check_syscall_args(linux_sys_ftruncate64)
213
214 struct linux_sys_fallocate_args {
215 syscallarg(int) fd;
216 syscallarg(int) mode;
217 syscallarg(off_t) offset;
218 syscallarg(off_t) len;
219 };
220 check_syscall_args(linux_sys_fallocate)
221
222 struct linux_sys_faccessat_args {
223 syscallarg(int) fd;
224 syscallarg(const char *) path;
225 syscallarg(int) amode;
226 };
227 check_syscall_args(linux_sys_faccessat)
228
229 struct sys_chdir_args;
230
231 struct sys_fchdir_args;
232
233 struct sys_chroot_args;
234
235 struct sys_fchmod_args;
236
237 struct linux_sys_fchmodat_args {
238 syscallarg(int) fd;
239 syscallarg(const char *) path;
240 syscallarg(linux_umode_t) mode;
241 };
242 check_syscall_args(linux_sys_fchmodat)
243
244 struct linux_sys_fchownat_args {
245 syscallarg(int) fd;
246 syscallarg(const char *) path;
247 syscallarg(uid_t) owner;
248 syscallarg(gid_t) group;
249 syscallarg(int) flag;
250 };
251 check_syscall_args(linux_sys_fchownat)
252
253 struct sys___posix_fchown_args;
254
255 struct linux_sys_openat_args {
256 syscallarg(int) fd;
257 syscallarg(const char *) path;
258 syscallarg(int) flags;
259 syscallarg(linux_umode_t) mode;
260 };
261 check_syscall_args(linux_sys_openat)
262
263 struct sys_close_args;
264
265 struct linux_sys_pipe2_args {
266 syscallarg(int *) pfds;
267 syscallarg(int) flags;
268 };
269 check_syscall_args(linux_sys_pipe2)
270
271 struct linux_sys_getdents64_args {
272 syscallarg(int) fd;
273 syscallarg(struct linux_dirent64 *) dent;
274 syscallarg(unsigned int) count;
275 };
276 check_syscall_args(linux_sys_getdents64)
277
278 struct compat_43_sys_lseek_args;
279
280 struct sys_read_args;
281
282 struct sys_write_args;
283
284 struct sys_readv_args;
285
286 struct sys_writev_args;
287
288 struct linux_sys_pread_args {
289 syscallarg(int) fd;
290 syscallarg(char *) buf;
291 syscallarg(size_t) nbyte;
292 syscallarg(off_t) offset;
293 };
294 check_syscall_args(linux_sys_pread)
295
296 struct linux_sys_pwrite_args {
297 syscallarg(int) fd;
298 syscallarg(char *) buf;
299 syscallarg(size_t) nbyte;
300 syscallarg(off_t) offset;
301 };
302 check_syscall_args(linux_sys_pwrite)
303
304 struct linux_sys_preadv_args {
305 syscallarg(int) fd;
306 syscallarg(const struct iovec *) iovp;
307 syscallarg(int) iovcnt;
308 syscallarg(unsigned long) off_lo;
309 syscallarg(unsigned long) off_hi;
310 };
311 check_syscall_args(linux_sys_preadv)
312
313 struct linux_sys_pwritev_args {
314 syscallarg(int) fd;
315 syscallarg(const struct iovcnt *) iovp;
316 syscallarg(int) iovcnt;
317 syscallarg(unsigned long) off_lo;
318 syscallarg(unsigned long) off_hi;
319 };
320 check_syscall_args(linux_sys_pwritev)
321
322 struct linux_sys_pselect6_args {
323 syscallarg(int) nfds;
324 syscallarg(fd_set *) readfds;
325 syscallarg(fd_set *) writefds;
326 syscallarg(fd_set *) exceptfds;
327 syscallarg(struct linux_timespec *) timeout;
328 syscallarg(linux_sized_sigset_t *) ss;
329 };
330 check_syscall_args(linux_sys_pselect6)
331
332 struct linux_sys_ppoll_args {
333 syscallarg(struct pollfd *) fds;
334 syscallarg(u_int) nfds;
335 syscallarg(struct linux_timespec *) timeout;
336 syscallarg(linux_sigset_t *) sigset;
337 };
338 check_syscall_args(linux_sys_ppoll)
339
340 struct sys_readlinkat_args;
341
342 struct linux_sys_fstatat64_args {
343 syscallarg(int) fd;
344 syscallarg(const char *) path;
345 syscallarg(struct linux_stat *) sp;
346 syscallarg(int) flag;
347 };
348 check_syscall_args(linux_sys_fstatat64)
349
350 struct linux_sys_fstat64_args {
351 syscallarg(int) fd;
352 syscallarg(struct linux_stat *) sp;
353 };
354 check_syscall_args(linux_sys_fstat64)
355
356 struct sys_fsync_args;
357
358 struct linux_sys_fdatasync_args {
359 syscallarg(int) fd;
360 };
361 check_syscall_args(linux_sys_fdatasync)
362
363 struct linux_sys_timerfd_create_args {
364 syscallarg(clockid_t) clock_id;
365 syscallarg(int) flags;
366 };
367 check_syscall_args(linux_sys_timerfd_create)
368
369 struct linux_sys_timerfd_settime_args {
370 syscallarg(int) fd;
371 syscallarg(int) flags;
372 syscallarg(const struct linux_itimerspec *) tim;
373 syscallarg(struct linux_itimerspec *) otim;
374 };
375 check_syscall_args(linux_sys_timerfd_settime)
376
377 struct linux_sys_timerfd_gettime_args {
378 syscallarg(int) fd;
379 syscallarg(struct linux_itimerspec *) tim;
380 };
381 check_syscall_args(linux_sys_timerfd_gettime)
382
383 struct linux_sys_utimensat_args {
384 syscallarg(int) fd;
385 syscallarg(const char *) path;
386 syscallarg(struct linux_timespec *) times;
387 syscallarg(int) flag;
388 };
389 check_syscall_args(linux_sys_utimensat)
390
391 struct sys_acct_args;
392
393 struct linux_sys_personality_args {
394 syscallarg(unsigned long) per;
395 };
396 check_syscall_args(linux_sys_personality)
397
398 struct linux_sys_exit_args {
399 syscallarg(int) rval;
400 };
401 check_syscall_args(linux_sys_exit)
402
403 struct linux_sys_exit_group_args {
404 syscallarg(int) error_code;
405 };
406 check_syscall_args(linux_sys_exit_group)
407
408 struct linux_sys_set_tid_address_args {
409 syscallarg(int *) tid;
410 };
411 check_syscall_args(linux_sys_set_tid_address)
412
413 struct linux_sys_futex_args {
414 syscallarg(int *) uaddr;
415 syscallarg(int) op;
416 syscallarg(int) val;
417 syscallarg(const struct linux_timespec *) timeout;
418 syscallarg(int *) uaddr2;
419 syscallarg(int) val3;
420 };
421 check_syscall_args(linux_sys_futex)
422
423 struct sys___futex_set_robust_list_args;
424
425 struct sys___futex_get_robust_list_args;
426
427 struct linux_sys_nanosleep_args {
428 syscallarg(const struct linux_timespec *) rqtp;
429 syscallarg(struct linux_timespec *) rmtp;
430 };
431 check_syscall_args(linux_sys_nanosleep)
432
433 struct compat_50_sys_getitimer_args;
434
435 struct compat_50_sys_setitimer_args;
436
437 struct linux_sys_timer_create_args {
438 syscallarg(clockid_t) clockid;
439 syscallarg(struct linux_sigevent *) evp;
440 syscallarg(timer_t *) timerid;
441 };
442 check_syscall_args(linux_sys_timer_create)
443
444 struct linux_sys_timer_gettime_args {
445 syscallarg(timer_t) timerid;
446 syscallarg(struct linux_itimerspec *) tim;
447 };
448 check_syscall_args(linux_sys_timer_gettime)
449
450 struct sys_timer_getoverrun_args;
451
452 struct linux_sys_timer_settime_args {
453 syscallarg(timer_t) timerid;
454 syscallarg(int) flags;
455 syscallarg(const struct linux_itimerspec *) tim;
456 syscallarg(struct linux_itimerspec *) otim;
457 };
458 check_syscall_args(linux_sys_timer_settime)
459
460 struct sys_timer_delete_args;
461
462 struct linux_sys_clock_settime_args {
463 syscallarg(clockid_t) which;
464 syscallarg(struct linux_timespec *) tp;
465 };
466 check_syscall_args(linux_sys_clock_settime)
467
468 struct linux_sys_clock_gettime_args {
469 syscallarg(clockid_t) which;
470 syscallarg(struct linux_timespec *) tp;
471 };
472 check_syscall_args(linux_sys_clock_gettime)
473
474 struct linux_sys_clock_getres_args {
475 syscallarg(clockid_t) which;
476 syscallarg(struct linux_timespec *) tp;
477 };
478 check_syscall_args(linux_sys_clock_getres)
479
480 struct linux_sys_clock_nanosleep_args {
481 syscallarg(clockid_t) which;
482 syscallarg(int) flags;
483 syscallarg(struct linux_timespec *) rqtp;
484 syscallarg(struct linux_timespec *) rmtp;
485 };
486 check_syscall_args(linux_sys_clock_nanosleep)
487
488 struct linux_sys_ptrace_args {
489 syscallarg(long) request;
490 syscallarg(long) pid;
491 syscallarg(long) addr;
492 syscallarg(long) data;
493 };
494 check_syscall_args(linux_sys_ptrace)
495
496 struct linux_sys_sched_setparam_args {
497 syscallarg(pid_t) pid;
498 syscallarg(const struct linux_sched_param *) sp;
499 };
500 check_syscall_args(linux_sys_sched_setparam)
501
502 struct linux_sys_sched_setscheduler_args {
503 syscallarg(pid_t) pid;
504 syscallarg(int) policy;
505 syscallarg(const struct linux_sched_param *) sp;
506 };
507 check_syscall_args(linux_sys_sched_setscheduler)
508
509 struct linux_sys_sched_getscheduler_args {
510 syscallarg(pid_t) pid;
511 };
512 check_syscall_args(linux_sys_sched_getscheduler)
513
514 struct linux_sys_sched_getparam_args {
515 syscallarg(pid_t) pid;
516 syscallarg(struct linux_sched_param *) sp;
517 };
518 check_syscall_args(linux_sys_sched_getparam)
519
520 struct linux_sys_sched_setaffinity_args {
521 syscallarg(pid_t) pid;
522 syscallarg(unsigned int) len;
523 syscallarg(unsigned long *) mask;
524 };
525 check_syscall_args(linux_sys_sched_setaffinity)
526
527 struct linux_sys_sched_getaffinity_args {
528 syscallarg(pid_t) pid;
529 syscallarg(unsigned int) len;
530 syscallarg(unsigned long *) mask;
531 };
532 check_syscall_args(linux_sys_sched_getaffinity)
533
534 struct linux_sys_sched_get_priority_max_args {
535 syscallarg(int) policy;
536 };
537 check_syscall_args(linux_sys_sched_get_priority_max)
538
539 struct linux_sys_sched_get_priority_min_args {
540 syscallarg(int) policy;
541 };
542 check_syscall_args(linux_sys_sched_get_priority_min)
543
544 struct linux_sys_kill_args {
545 syscallarg(int) pid;
546 syscallarg(int) signum;
547 };
548 check_syscall_args(linux_sys_kill)
549
550 struct linux_sys_tkill_args {
551 syscallarg(int) tid;
552 syscallarg(int) sig;
553 };
554 check_syscall_args(linux_sys_tkill)
555
556 struct linux_sys_tgkill_args {
557 syscallarg(int) tgid;
558 syscallarg(int) tid;
559 syscallarg(int) sig;
560 };
561 check_syscall_args(linux_sys_tgkill)
562
563 struct linux_sys_sigaltstack_args {
564 syscallarg(const struct linux_sigaltstack *) ss;
565 syscallarg(struct linux_sigaltstack *) oss;
566 };
567 check_syscall_args(linux_sys_sigaltstack)
568
569 struct linux_sys_rt_sigsuspend_args {
570 syscallarg(linux_sigset_t *) unewset;
571 syscallarg(size_t) sigsetsize;
572 };
573 check_syscall_args(linux_sys_rt_sigsuspend)
574
575 struct linux_sys_rt_sigaction_args {
576 syscallarg(int) signum;
577 syscallarg(const struct linux_sigaction *) nsa;
578 syscallarg(struct linux_sigaction *) osa;
579 syscallarg(size_t) sigsetsize;
580 };
581 check_syscall_args(linux_sys_rt_sigaction)
582
583 struct linux_sys_rt_sigprocmask_args {
584 syscallarg(int) how;
585 syscallarg(const linux_sigset_t *) set;
586 syscallarg(linux_sigset_t *) oset;
587 syscallarg(size_t) sigsetsize;
588 };
589 check_syscall_args(linux_sys_rt_sigprocmask)
590
591 struct linux_sys_rt_sigpending_args {
592 syscallarg(linux_sigset_t *) set;
593 syscallarg(size_t) sigsetsize;
594 };
595 check_syscall_args(linux_sys_rt_sigpending)
596
597 struct linux_sys_rt_sigtimedwait_args {
598 syscallarg(const linux_sigset_t *) set;
599 syscallarg(linux_siginfo_t *) info;
600 syscallarg(const struct linux_timespec *) timeout;
601 };
602 check_syscall_args(linux_sys_rt_sigtimedwait)
603
604 struct sys_setpriority_args;
605
606 struct linux_sys_getpriority_args {
607 syscallarg(int) which;
608 syscallarg(int) who;
609 };
610 check_syscall_args(linux_sys_getpriority)
611
612 struct linux_sys_reboot_args {
613 syscallarg(int) magic1;
614 syscallarg(int) magic2;
615 syscallarg(int) cmd;
616 syscallarg(void *) arg;
617 };
618 check_syscall_args(linux_sys_reboot)
619
620 struct sys_setregid_args;
621
622 struct sys_setgid_args;
623
624 struct sys_setreuid_args;
625
626 struct sys_setuid_args;
627
628 struct linux_sys_setresuid_args {
629 syscallarg(uid_t) ruid;
630 syscallarg(uid_t) euid;
631 syscallarg(uid_t) suid;
632 };
633 check_syscall_args(linux_sys_setresuid)
634
635 struct linux_sys_getresuid_args {
636 syscallarg(uid_t *) ruid;
637 syscallarg(uid_t *) euid;
638 syscallarg(uid_t *) suid;
639 };
640 check_syscall_args(linux_sys_getresuid)
641
642 struct linux_sys_setresgid_args {
643 syscallarg(gid_t) rgid;
644 syscallarg(gid_t) egid;
645 syscallarg(gid_t) sgid;
646 };
647 check_syscall_args(linux_sys_setresgid)
648
649 struct linux_sys_getresgid_args {
650 syscallarg(gid_t *) rgid;
651 syscallarg(gid_t *) egid;
652 syscallarg(gid_t *) sgid;
653 };
654 check_syscall_args(linux_sys_getresgid)
655
656 struct linux_sys_setfsuid_args {
657 syscallarg(uid_t) uid;
658 };
659 check_syscall_args(linux_sys_setfsuid)
660
661 struct linux_sys_setfsgid_args {
662 syscallarg(gid_t) gid;
663 };
664 check_syscall_args(linux_sys_setfsgid)
665
666 struct linux_sys_times_args {
667 syscallarg(struct times *) tms;
668 };
669 check_syscall_args(linux_sys_times)
670
671 struct sys_setpgid_args;
672
673 struct sys_getpgid_args;
674
675 struct sys_getsid_args;
676
677 struct sys_getgroups_args;
678
679 struct sys_setgroups_args;
680
681 struct linux_sys_uname_args {
682 syscallarg(struct linux_utsname *) up;
683 };
684 check_syscall_args(linux_sys_uname)
685
686 struct compat_43_sys_sethostname_args;
687
688 struct linux_sys_setdomainname_args {
689 syscallarg(char *) domainname;
690 syscallarg(int) len;
691 };
692 check_syscall_args(linux_sys_setdomainname)
693
694 struct linux_sys_getrlimit_args {
695 syscallarg(int) which;
696 syscallarg(struct rlimit *) rlp;
697 };
698 check_syscall_args(linux_sys_getrlimit)
699
700 struct linux_sys_setrlimit_args {
701 syscallarg(u_int) which;
702 syscallarg(struct rlimit *) rlp;
703 };
704 check_syscall_args(linux_sys_setrlimit)
705
706 struct compat_50_sys_getrusage_args;
707
708 struct sys_umask_args;
709
710 struct linux_sys_gettimeofday_args {
711 syscallarg(struct timeval50 *) tp;
712 syscallarg(struct timezone *) tzp;
713 };
714 check_syscall_args(linux_sys_gettimeofday)
715
716 struct linux_sys_settimeofday_args {
717 syscallarg(struct timeval50 *) tp;
718 syscallarg(struct timezone *) tzp;
719 };
720 check_syscall_args(linux_sys_settimeofday)
721
722 struct linux_sys_sysinfo_args {
723 syscallarg(struct linux_sysinfo *) arg;
724 };
725 check_syscall_args(linux_sys_sysinfo)
726 #ifdef SYSVMSG
727
728 struct sys_msgget_args;
729
730 struct linux_sys_msgctl_args;
731
732 struct sys_msgrcv_args;
733
734 struct sys_msgsnd_args;
735 #else
736 #endif
737 #ifdef SYSVSEM
738
739 struct sys_semget_args;
740
741 struct linux_sys_semctl_args {
742 syscallarg(int) semid;
743 syscallarg(int) semnum;
744 syscallarg(int) cmd;
745 syscallarg(union linux_semun) arg;
746 };
747 check_syscall_args(linux_sys_semctl)
748
749 struct sys_semop_args;
750 #else
751 #endif
752 #ifdef SYSVSEM
753
754 struct linux_sys_shmget_args;
755
756 struct linux_sys_shmctl_args;
757
758 struct sys_shmat_args;
759
760 struct sys_shmdt_args;
761 #else
762 #endif
763
764 struct linux_sys_socket_args {
765 syscallarg(int) domain;
766 syscallarg(int) type;
767 syscallarg(int) protocol;
768 };
769 check_syscall_args(linux_sys_socket)
770
771 struct linux_sys_socketpair_args {
772 syscallarg(int) domain;
773 syscallarg(int) type;
774 syscallarg(int) protocol;
775 syscallarg(int *) rsv;
776 };
777 check_syscall_args(linux_sys_socketpair)
778
779 struct linux_sys_bind_args {
780 syscallarg(int) s;
781 syscallarg(const struct osockaddr *) name;
782 syscallarg(unsigned int) namelen;
783 };
784 check_syscall_args(linux_sys_bind)
785
786 struct sys_listen_args;
787
788 struct linux_sys_accept_args {
789 syscallarg(int) s;
790 syscallarg(struct osockaddr *) name;
791 syscallarg(int *) anamelen;
792 };
793 check_syscall_args(linux_sys_accept)
794
795 struct linux_sys_connect_args {
796 syscallarg(int) s;
797 syscallarg(const struct osockaddr *) name;
798 syscallarg(unsigned int) namelen;
799 };
800 check_syscall_args(linux_sys_connect)
801
802 struct linux_sys_getsockname_args {
803 syscallarg(int) fdec;
804 syscallarg(void *) asa;
805 syscallarg(int *) alen;
806 };
807 check_syscall_args(linux_sys_getsockname)
808
809 struct linux_sys_getpeername_args {
810 syscallarg(int) fdes;
811 syscallarg(struct sockaddr *) asa;
812 syscallarg(unsigned int *) alen;
813 };
814 check_syscall_args(linux_sys_getpeername)
815
816 struct linux_sys_sendto_args {
817 syscallarg(int) s;
818 syscallarg(void *) msg;
819 syscallarg(int) len;
820 syscallarg(int) flags;
821 syscallarg(struct osockaddr *) to;
822 syscallarg(int) tolen;
823 };
824 check_syscall_args(linux_sys_sendto)
825
826 struct linux_sys_recvfrom_args {
827 syscallarg(int) s;
828 syscallarg(void *) buf;
829 syscallarg(size_t) len;
830 syscallarg(int) flags;
831 syscallarg(struct osockaddr *) from;
832 syscallarg(unsigned int *) fromlenaddr;
833 };
834 check_syscall_args(linux_sys_recvfrom)
835
836 struct linux_sys_setsockopt_args {
837 syscallarg(int) s;
838 syscallarg(int) level;
839 syscallarg(int) optname;
840 syscallarg(void *) optval;
841 syscallarg(int) optlen;
842 };
843 check_syscall_args(linux_sys_setsockopt)
844
845 struct linux_sys_getsockopt_args {
846 syscallarg(int) s;
847 syscallarg(int) level;
848 syscallarg(int) optname;
849 syscallarg(void *) optval;
850 syscallarg(int *) optlen;
851 };
852 check_syscall_args(linux_sys_getsockopt)
853
854 struct sys_shutdown_args;
855
856 struct linux_sys_sendmsg_args {
857 syscallarg(int) s;
858 syscallarg(const struct linux_msghdr *) msg;
859 syscallarg(int) flags;
860 };
861 check_syscall_args(linux_sys_sendmsg)
862
863 struct linux_sys_recvmsg_args {
864 syscallarg(int) s;
865 syscallarg(struct linux_msghdr *) msg;
866 syscallarg(int) flags;
867 };
868 check_syscall_args(linux_sys_recvmsg)
869
870 struct linux_sys_brk_args {
871 syscallarg(char *) nsize;
872 };
873 check_syscall_args(linux_sys_brk)
874
875 struct sys_munmap_args;
876
877 struct linux_sys_mremap_args {
878 syscallarg(void *) old_address;
879 syscallarg(size_t) old_size;
880 syscallarg(size_t) new_size;
881 syscallarg(u_long) flags;
882 };
883 check_syscall_args(linux_sys_mremap)
884
885 struct linux_sys_clone_args {
886 syscallarg(int) flags;
887 syscallarg(void *) stack;
888 syscallarg(void *) parent_tidptr;
889 syscallarg(void *) child_tidptr;
890 syscallarg(void *) tls;
891 };
892 check_syscall_args(linux_sys_clone)
893
894 struct sys_execve_args;
895
896 struct linux_sys_mmap_args;
897
898 struct linux_sys_fadvise64_args {
899 syscallarg(int) fd;
900 syscallarg(off_t) offset;
901 syscallarg(size_t) len;
902 syscallarg(int) advice;
903 };
904 check_syscall_args(linux_sys_fadvise64)
905
906 struct linux_sys_swapon_args {
907 syscallarg(char *) name;
908 };
909 check_syscall_args(linux_sys_swapon)
910
911 struct linux_sys_swapoff_args {
912 syscallarg(const char *) path;
913 };
914 check_syscall_args(linux_sys_swapoff)
915
916 struct linux_sys_mprotect_args {
917 syscallarg(const void *) start;
918 syscallarg(unsigned long) len;
919 syscallarg(int) prot;
920 };
921 check_syscall_args(linux_sys_mprotect)
922
923 struct sys___msync13_args;
924
925 struct sys_mlock_args;
926
927 struct sys_munlock_args;
928
929 struct sys_mlockall_args;
930
931 struct sys_mincore_args;
932
933 struct sys_madvise_args;
934
935 struct linux_sys_accept4_args {
936 syscallarg(int) s;
937 syscallarg(struct osockaddr *) name;
938 syscallarg(int *) anamelen;
939 syscallarg(int) flags;
940 };
941 check_syscall_args(linux_sys_accept4)
942
943 struct linux_sys_recvmmsg_args {
944 syscallarg(int) s;
945 syscallarg(struct linux_mmsghdr *) msgvec;
946 syscallarg(unsigned int) vlen;
947 syscallarg(unsigned int) flags;
948 syscallarg(struct timespec *) timeout;
949 };
950 check_syscall_args(linux_sys_recvmmsg)
951
952 struct linux_sys_wait4_args {
953 syscallarg(int) pid;
954 syscallarg(int *) status;
955 syscallarg(int) options;
956 syscallarg(struct rusage50 *) rusage;
957 };
958 check_syscall_args(linux_sys_wait4)
959
960 struct linux_sys_sendmmsg_args {
961 syscallarg(int) s;
962 syscallarg(struct linux_mmsghdr *) msgvec;
963 syscallarg(unsigned int) vlen;
964 syscallarg(unsigned int) flags;
965 };
966 check_syscall_args(linux_sys_sendmmsg)
967
968 /*
969 * System call prototypes.
970 */
971
972 int linux_sys_setxattr(struct lwp *, const struct linux_sys_setxattr_args *, register_t *);
973
974 int linux_sys_lsetxattr(struct lwp *, const struct linux_sys_lsetxattr_args *, register_t *);
975
976 int linux_sys_fsetxattr(struct lwp *, const struct linux_sys_fsetxattr_args *, register_t *);
977
978 int linux_sys_getxattr(struct lwp *, const struct linux_sys_getxattr_args *, register_t *);
979
980 int linux_sys_lgetxattr(struct lwp *, const struct linux_sys_lgetxattr_args *, register_t *);
981
982 int linux_sys_fgetxattr(struct lwp *, const struct linux_sys_fgetxattr_args *, register_t *);
983
984 int linux_sys_listxattr(struct lwp *, const struct linux_sys_listxattr_args *, register_t *);
985
986 int linux_sys_llistxattr(struct lwp *, const struct linux_sys_llistxattr_args *, register_t *);
987
988 int linux_sys_flistxattr(struct lwp *, const struct linux_sys_flistxattr_args *, register_t *);
989
990 int linux_sys_removexattr(struct lwp *, const struct linux_sys_removexattr_args *, register_t *);
991
992 int linux_sys_lremovexattr(struct lwp *, const struct linux_sys_lremovexattr_args *, register_t *);
993
994 int linux_sys_fremovexattr(struct lwp *, const struct linux_sys_fremovexattr_args *, register_t *);
995
996 int sys___getcwd(struct lwp *, const struct sys___getcwd_args *, register_t *);
997
998 int linux_sys_eventfd2(struct lwp *, const struct linux_sys_eventfd2_args *, register_t *);
999
1000 int sys_dup(struct lwp *, const struct sys_dup_args *, register_t *);
1001
1002 int linux_sys_dup3(struct lwp *, const struct linux_sys_dup3_args *, register_t *);
1003
1004 int linux_sys_fcntl(struct lwp *, const struct linux_sys_fcntl_args *, register_t *);
1005
1006 int linux_sys_ioctl(struct lwp *, const struct linux_sys_ioctl_args *, register_t *);
1007
1008 int sys_flock(struct lwp *, const struct sys_flock_args *, register_t *);
1009
1010 int linux_sys_mknodat(struct lwp *, const struct linux_sys_mknodat_args *, register_t *);
1011
1012 int sys_mkdirat(struct lwp *, const struct sys_mkdirat_args *, register_t *);
1013
1014 int linux_sys_unlinkat(struct lwp *, const struct linux_sys_unlinkat_args *, register_t *);
1015
1016 int sys_symlinkat(struct lwp *, const struct sys_symlinkat_args *, register_t *);
1017
1018 int linux_sys_linkat(struct lwp *, const struct linux_sys_linkat_args *, register_t *);
1019
1020 int sys_renameat(struct lwp *, const struct sys_renameat_args *, register_t *);
1021
1022 int linux_sys_statfs(struct lwp *, const struct linux_sys_statfs_args *, register_t *);
1023
1024 int linux_sys_fstatfs(struct lwp *, const struct linux_sys_fstatfs_args *, register_t *);
1025
1026 int linux_sys_truncate64(struct lwp *, const struct linux_sys_truncate64_args *, register_t *);
1027
1028 int linux_sys_ftruncate64(struct lwp *, const struct linux_sys_ftruncate64_args *, register_t *);
1029
1030 int linux_sys_fallocate(struct lwp *, const struct linux_sys_fallocate_args *, register_t *);
1031
1032 int linux_sys_faccessat(struct lwp *, const struct linux_sys_faccessat_args *, register_t *);
1033
1034 int sys_chdir(struct lwp *, const struct sys_chdir_args *, register_t *);
1035
1036 int sys_fchdir(struct lwp *, const struct sys_fchdir_args *, register_t *);
1037
1038 int sys_chroot(struct lwp *, const struct sys_chroot_args *, register_t *);
1039
1040 int sys_fchmod(struct lwp *, const struct sys_fchmod_args *, register_t *);
1041
1042 int linux_sys_fchmodat(struct lwp *, const struct linux_sys_fchmodat_args *, register_t *);
1043
1044 int linux_sys_fchownat(struct lwp *, const struct linux_sys_fchownat_args *, register_t *);
1045
1046 int sys___posix_fchown(struct lwp *, const struct sys___posix_fchown_args *, register_t *);
1047
1048 int linux_sys_openat(struct lwp *, const struct linux_sys_openat_args *, register_t *);
1049
1050 int sys_close(struct lwp *, const struct sys_close_args *, register_t *);
1051
1052 int linux_sys_pipe2(struct lwp *, const struct linux_sys_pipe2_args *, register_t *);
1053
1054 int linux_sys_getdents64(struct lwp *, const struct linux_sys_getdents64_args *, register_t *);
1055
1056 int compat_43_sys_lseek(struct lwp *, const struct compat_43_sys_lseek_args *, register_t *);
1057
1058 int sys_read(struct lwp *, const struct sys_read_args *, register_t *);
1059
1060 int sys_write(struct lwp *, const struct sys_write_args *, register_t *);
1061
1062 int sys_readv(struct lwp *, const struct sys_readv_args *, register_t *);
1063
1064 int sys_writev(struct lwp *, const struct sys_writev_args *, register_t *);
1065
1066 int linux_sys_pread(struct lwp *, const struct linux_sys_pread_args *, register_t *);
1067
1068 int linux_sys_pwrite(struct lwp *, const struct linux_sys_pwrite_args *, register_t *);
1069
1070 int linux_sys_preadv(struct lwp *, const struct linux_sys_preadv_args *, register_t *);
1071
1072 int linux_sys_pwritev(struct lwp *, const struct linux_sys_pwritev_args *, register_t *);
1073
1074 int linux_sys_pselect6(struct lwp *, const struct linux_sys_pselect6_args *, register_t *);
1075
1076 int linux_sys_ppoll(struct lwp *, const struct linux_sys_ppoll_args *, register_t *);
1077
1078 int sys_readlinkat(struct lwp *, const struct sys_readlinkat_args *, register_t *);
1079
1080 int linux_sys_fstatat64(struct lwp *, const struct linux_sys_fstatat64_args *, register_t *);
1081
1082 int linux_sys_fstat64(struct lwp *, const struct linux_sys_fstat64_args *, register_t *);
1083
1084 int sys_sync(struct lwp *, const void *, register_t *);
1085
1086 int sys_fsync(struct lwp *, const struct sys_fsync_args *, register_t *);
1087
1088 int linux_sys_fdatasync(struct lwp *, const struct linux_sys_fdatasync_args *, register_t *);
1089
1090 int linux_sys_timerfd_create(struct lwp *, const struct linux_sys_timerfd_create_args *, register_t *);
1091
1092 int linux_sys_timerfd_settime(struct lwp *, const struct linux_sys_timerfd_settime_args *, register_t *);
1093
1094 int linux_sys_timerfd_gettime(struct lwp *, const struct linux_sys_timerfd_gettime_args *, register_t *);
1095
1096 int linux_sys_utimensat(struct lwp *, const struct linux_sys_utimensat_args *, register_t *);
1097
1098 int sys_acct(struct lwp *, const struct sys_acct_args *, register_t *);
1099
1100 int linux_sys_personality(struct lwp *, const struct linux_sys_personality_args *, register_t *);
1101
1102 int linux_sys_exit(struct lwp *, const struct linux_sys_exit_args *, register_t *);
1103
1104 int linux_sys_exit_group(struct lwp *, const struct linux_sys_exit_group_args *, register_t *);
1105
1106 int linux_sys_set_tid_address(struct lwp *, const struct linux_sys_set_tid_address_args *, register_t *);
1107
1108 int linux_sys_futex(struct lwp *, const struct linux_sys_futex_args *, register_t *);
1109
1110 int sys___futex_set_robust_list(struct lwp *, const struct sys___futex_set_robust_list_args *, register_t *);
1111
1112 int sys___futex_get_robust_list(struct lwp *, const struct sys___futex_get_robust_list_args *, register_t *);
1113
1114 int linux_sys_nanosleep(struct lwp *, const struct linux_sys_nanosleep_args *, register_t *);
1115
1116 int compat_50_sys_getitimer(struct lwp *, const struct compat_50_sys_getitimer_args *, register_t *);
1117
1118 int compat_50_sys_setitimer(struct lwp *, const struct compat_50_sys_setitimer_args *, register_t *);
1119
1120 int linux_sys_timer_create(struct lwp *, const struct linux_sys_timer_create_args *, register_t *);
1121
1122 int linux_sys_timer_gettime(struct lwp *, const struct linux_sys_timer_gettime_args *, register_t *);
1123
1124 int sys_timer_getoverrun(struct lwp *, const struct sys_timer_getoverrun_args *, register_t *);
1125
1126 int linux_sys_timer_settime(struct lwp *, const struct linux_sys_timer_settime_args *, register_t *);
1127
1128 int sys_timer_delete(struct lwp *, const struct sys_timer_delete_args *, register_t *);
1129
1130 int linux_sys_clock_settime(struct lwp *, const struct linux_sys_clock_settime_args *, register_t *);
1131
1132 int linux_sys_clock_gettime(struct lwp *, const struct linux_sys_clock_gettime_args *, register_t *);
1133
1134 int linux_sys_clock_getres(struct lwp *, const struct linux_sys_clock_getres_args *, register_t *);
1135
1136 int linux_sys_clock_nanosleep(struct lwp *, const struct linux_sys_clock_nanosleep_args *, register_t *);
1137
1138 int linux_sys_ptrace(struct lwp *, const struct linux_sys_ptrace_args *, register_t *);
1139
1140 int linux_sys_sched_setparam(struct lwp *, const struct linux_sys_sched_setparam_args *, register_t *);
1141
1142 int linux_sys_sched_setscheduler(struct lwp *, const struct linux_sys_sched_setscheduler_args *, register_t *);
1143
1144 int linux_sys_sched_getscheduler(struct lwp *, const struct linux_sys_sched_getscheduler_args *, register_t *);
1145
1146 int linux_sys_sched_getparam(struct lwp *, const struct linux_sys_sched_getparam_args *, register_t *);
1147
1148 int linux_sys_sched_setaffinity(struct lwp *, const struct linux_sys_sched_setaffinity_args *, register_t *);
1149
1150 int linux_sys_sched_getaffinity(struct lwp *, const struct linux_sys_sched_getaffinity_args *, register_t *);
1151
1152 int linux_sys_sched_yield(struct lwp *, const void *, register_t *);
1153
1154 int linux_sys_sched_get_priority_max(struct lwp *, const struct linux_sys_sched_get_priority_max_args *, register_t *);
1155
1156 int linux_sys_sched_get_priority_min(struct lwp *, const struct linux_sys_sched_get_priority_min_args *, register_t *);
1157
1158 int linux_sys_kill(struct lwp *, const struct linux_sys_kill_args *, register_t *);
1159
1160 int linux_sys_tkill(struct lwp *, const struct linux_sys_tkill_args *, register_t *);
1161
1162 int linux_sys_tgkill(struct lwp *, const struct linux_sys_tgkill_args *, register_t *);
1163
1164 int linux_sys_sigaltstack(struct lwp *, const struct linux_sys_sigaltstack_args *, register_t *);
1165
1166 int linux_sys_rt_sigsuspend(struct lwp *, const struct linux_sys_rt_sigsuspend_args *, register_t *);
1167
1168 int linux_sys_rt_sigaction(struct lwp *, const struct linux_sys_rt_sigaction_args *, register_t *);
1169
1170 int linux_sys_rt_sigprocmask(struct lwp *, const struct linux_sys_rt_sigprocmask_args *, register_t *);
1171
1172 int linux_sys_rt_sigpending(struct lwp *, const struct linux_sys_rt_sigpending_args *, register_t *);
1173
1174 int linux_sys_rt_sigtimedwait(struct lwp *, const struct linux_sys_rt_sigtimedwait_args *, register_t *);
1175
1176 int linux_sys_rt_sigreturn(struct lwp *, const void *, register_t *);
1177
1178 int sys_setpriority(struct lwp *, const struct sys_setpriority_args *, register_t *);
1179
1180 int linux_sys_getpriority(struct lwp *, const struct linux_sys_getpriority_args *, register_t *);
1181
1182 int linux_sys_reboot(struct lwp *, const struct linux_sys_reboot_args *, register_t *);
1183
1184 int sys_setregid(struct lwp *, const struct sys_setregid_args *, register_t *);
1185
1186 int sys_setgid(struct lwp *, const struct sys_setgid_args *, register_t *);
1187
1188 int sys_setreuid(struct lwp *, const struct sys_setreuid_args *, register_t *);
1189
1190 int sys_setuid(struct lwp *, const struct sys_setuid_args *, register_t *);
1191
1192 int linux_sys_setresuid(struct lwp *, const struct linux_sys_setresuid_args *, register_t *);
1193
1194 int linux_sys_getresuid(struct lwp *, const struct linux_sys_getresuid_args *, register_t *);
1195
1196 int linux_sys_setresgid(struct lwp *, const struct linux_sys_setresgid_args *, register_t *);
1197
1198 int linux_sys_getresgid(struct lwp *, const struct linux_sys_getresgid_args *, register_t *);
1199
1200 int linux_sys_setfsuid(struct lwp *, const struct linux_sys_setfsuid_args *, register_t *);
1201
1202 int linux_sys_setfsgid(struct lwp *, const struct linux_sys_setfsgid_args *, register_t *);
1203
1204 int linux_sys_times(struct lwp *, const struct linux_sys_times_args *, register_t *);
1205
1206 int sys_setpgid(struct lwp *, const struct sys_setpgid_args *, register_t *);
1207
1208 int sys_getpgid(struct lwp *, const struct sys_getpgid_args *, register_t *);
1209
1210 int sys_getsid(struct lwp *, const struct sys_getsid_args *, register_t *);
1211
1212 int sys_setsid(struct lwp *, const void *, register_t *);
1213
1214 int sys_getgroups(struct lwp *, const struct sys_getgroups_args *, register_t *);
1215
1216 int sys_setgroups(struct lwp *, const struct sys_setgroups_args *, register_t *);
1217
1218 int linux_sys_uname(struct lwp *, const struct linux_sys_uname_args *, register_t *);
1219
1220 int compat_43_sys_sethostname(struct lwp *, const struct compat_43_sys_sethostname_args *, register_t *);
1221
1222 int linux_sys_setdomainname(struct lwp *, const struct linux_sys_setdomainname_args *, register_t *);
1223
1224 int linux_sys_getrlimit(struct lwp *, const struct linux_sys_getrlimit_args *, register_t *);
1225
1226 int linux_sys_setrlimit(struct lwp *, const struct linux_sys_setrlimit_args *, register_t *);
1227
1228 int compat_50_sys_getrusage(struct lwp *, const struct compat_50_sys_getrusage_args *, register_t *);
1229
1230 int sys_umask(struct lwp *, const struct sys_umask_args *, register_t *);
1231
1232 int linux_sys_gettimeofday(struct lwp *, const struct linux_sys_gettimeofday_args *, register_t *);
1233
1234 int linux_sys_settimeofday(struct lwp *, const struct linux_sys_settimeofday_args *, register_t *);
1235
1236 int sys_getpid(struct lwp *, const void *, register_t *);
1237
1238 int sys_getppid(struct lwp *, const void *, register_t *);
1239
1240 int sys_getuid(struct lwp *, const void *, register_t *);
1241
1242 int sys_geteuid(struct lwp *, const void *, register_t *);
1243
1244 int sys_getgid(struct lwp *, const void *, register_t *);
1245
1246 int sys_getegid(struct lwp *, const void *, register_t *);
1247
1248 int linux_sys_gettid(struct lwp *, const void *, register_t *);
1249
1250 int linux_sys_sysinfo(struct lwp *, const struct linux_sys_sysinfo_args *, register_t *);
1251
1252 #ifdef SYSVMSG
1253 int sys_msgget(struct lwp *, const struct sys_msgget_args *, register_t *);
1254
1255 int linux_sys_msgctl(struct lwp *, const struct linux_sys_msgctl_args *, register_t *);
1256
1257 int sys_msgrcv(struct lwp *, const struct sys_msgrcv_args *, register_t *);
1258
1259 int sys_msgsnd(struct lwp *, const struct sys_msgsnd_args *, register_t *);
1260
1261 #else
1262 #endif
1263 #ifdef SYSVSEM
1264 int sys_semget(struct lwp *, const struct sys_semget_args *, register_t *);
1265
1266 int linux_sys_semctl(struct lwp *, const struct linux_sys_semctl_args *, register_t *);
1267
1268 int sys_semop(struct lwp *, const struct sys_semop_args *, register_t *);
1269
1270 #else
1271 #endif
1272 #ifdef SYSVSEM
1273 int linux_sys_shmget(struct lwp *, const struct linux_sys_shmget_args *, register_t *);
1274
1275 int linux_sys_shmctl(struct lwp *, const struct linux_sys_shmctl_args *, register_t *);
1276
1277 int sys_shmat(struct lwp *, const struct sys_shmat_args *, register_t *);
1278
1279 int sys_shmdt(struct lwp *, const struct sys_shmdt_args *, register_t *);
1280
1281 #else
1282 #endif
1283 int linux_sys_socket(struct lwp *, const struct linux_sys_socket_args *, register_t *);
1284
1285 int linux_sys_socketpair(struct lwp *, const struct linux_sys_socketpair_args *, register_t *);
1286
1287 int linux_sys_bind(struct lwp *, const struct linux_sys_bind_args *, register_t *);
1288
1289 int sys_listen(struct lwp *, const struct sys_listen_args *, register_t *);
1290
1291 int linux_sys_accept(struct lwp *, const struct linux_sys_accept_args *, register_t *);
1292
1293 int linux_sys_connect(struct lwp *, const struct linux_sys_connect_args *, register_t *);
1294
1295 int linux_sys_getsockname(struct lwp *, const struct linux_sys_getsockname_args *, register_t *);
1296
1297 int linux_sys_getpeername(struct lwp *, const struct linux_sys_getpeername_args *, register_t *);
1298
1299 int linux_sys_sendto(struct lwp *, const struct linux_sys_sendto_args *, register_t *);
1300
1301 int linux_sys_recvfrom(struct lwp *, const struct linux_sys_recvfrom_args *, register_t *);
1302
1303 int linux_sys_setsockopt(struct lwp *, const struct linux_sys_setsockopt_args *, register_t *);
1304
1305 int linux_sys_getsockopt(struct lwp *, const struct linux_sys_getsockopt_args *, register_t *);
1306
1307 int sys_shutdown(struct lwp *, const struct sys_shutdown_args *, register_t *);
1308
1309 int linux_sys_sendmsg(struct lwp *, const struct linux_sys_sendmsg_args *, register_t *);
1310
1311 int linux_sys_recvmsg(struct lwp *, const struct linux_sys_recvmsg_args *, register_t *);
1312
1313 int linux_sys_brk(struct lwp *, const struct linux_sys_brk_args *, register_t *);
1314
1315 int sys_munmap(struct lwp *, const struct sys_munmap_args *, register_t *);
1316
1317 int linux_sys_mremap(struct lwp *, const struct linux_sys_mremap_args *, register_t *);
1318
1319 int linux_sys_clone(struct lwp *, const struct linux_sys_clone_args *, register_t *);
1320
1321 int sys_execve(struct lwp *, const struct sys_execve_args *, register_t *);
1322
1323 int linux_sys_mmap(struct lwp *, const struct linux_sys_mmap_args *, register_t *);
1324
1325 int linux_sys_fadvise64(struct lwp *, const struct linux_sys_fadvise64_args *, register_t *);
1326
1327 int linux_sys_swapon(struct lwp *, const struct linux_sys_swapon_args *, register_t *);
1328
1329 int linux_sys_swapoff(struct lwp *, const struct linux_sys_swapoff_args *, register_t *);
1330
1331 int linux_sys_mprotect(struct lwp *, const struct linux_sys_mprotect_args *, register_t *);
1332
1333 int sys___msync13(struct lwp *, const struct sys___msync13_args *, register_t *);
1334
1335 int sys_mlock(struct lwp *, const struct sys_mlock_args *, register_t *);
1336
1337 int sys_munlock(struct lwp *, const struct sys_munlock_args *, register_t *);
1338
1339 int sys_mlockall(struct lwp *, const struct sys_mlockall_args *, register_t *);
1340
1341 int sys_munlockall(struct lwp *, const void *, register_t *);
1342
1343 int sys_mincore(struct lwp *, const struct sys_mincore_args *, register_t *);
1344
1345 int sys_madvise(struct lwp *, const struct sys_madvise_args *, register_t *);
1346
1347 int linux_sys_accept4(struct lwp *, const struct linux_sys_accept4_args *, register_t *);
1348
1349 int linux_sys_recvmmsg(struct lwp *, const struct linux_sys_recvmmsg_args *, register_t *);
1350
1351 int linux_sys_wait4(struct lwp *, const struct linux_sys_wait4_args *, register_t *);
1352
1353 int linux_sys_sendmmsg(struct lwp *, const struct linux_sys_sendmmsg_args *, register_t *);
1354
1355 int linux_sys_nosys(struct lwp *, const void *, register_t *);
1356
1357 #endif /* _LINUX_SYS_SYSCALLARGS_H_ */
1358