xref: /netbsd-src/sys/compat/linux/arch/amd64/linux_syscallargs.h (revision f905d8d65a219cefc3d70bbe4b4489f134576709)
1 /* $NetBSD: linux_syscallargs.h,v 1.84 2024/09/28 19:36:19 christos 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.75 2024/09/28 19:35:55 christos Exp
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 sys_read_args;
38 
39 struct sys_write_args;
40 
41 struct linux_sys_open_args {
42 	syscallarg(const char *) path;
43 	syscallarg(int) flags;
44 	syscallarg(linux_umode_t) mode;
45 };
46 check_syscall_args(linux_sys_open)
47 
48 struct sys_close_args;
49 
50 struct linux_sys_stat64_args {
51 	syscallarg(const char *) path;
52 	syscallarg(struct linux_stat64 *) sp;
53 };
54 check_syscall_args(linux_sys_stat64)
55 
56 struct linux_sys_fstat64_args {
57 	syscallarg(int) fd;
58 	syscallarg(struct linux_stat64 *) sp;
59 };
60 check_syscall_args(linux_sys_fstat64)
61 
62 struct linux_sys_lstat64_args {
63 	syscallarg(const char *) path;
64 	syscallarg(struct linux_stat64 *) sp;
65 };
66 check_syscall_args(linux_sys_lstat64)
67 
68 struct sys_poll_args;
69 
70 struct compat_43_sys_lseek_args;
71 
72 struct linux_sys_mmap_args;
73 
74 struct linux_sys_mprotect_args {
75 	syscallarg(const void *) start;
76 	syscallarg(unsigned long) len;
77 	syscallarg(int) prot;
78 };
79 check_syscall_args(linux_sys_mprotect)
80 
81 struct sys_munmap_args;
82 
83 struct linux_sys_brk_args {
84 	syscallarg(char *) nsize;
85 };
86 check_syscall_args(linux_sys_brk)
87 
88 struct linux_sys_rt_sigaction_args {
89 	syscallarg(int) signum;
90 	syscallarg(const struct linux_sigaction *) nsa;
91 	syscallarg(struct linux_sigaction *) osa;
92 	syscallarg(size_t) sigsetsize;
93 };
94 check_syscall_args(linux_sys_rt_sigaction)
95 
96 struct linux_sys_rt_sigprocmask_args {
97 	syscallarg(int) how;
98 	syscallarg(const linux_sigset_t *) set;
99 	syscallarg(linux_sigset_t *) oset;
100 	syscallarg(size_t) sigsetsize;
101 };
102 check_syscall_args(linux_sys_rt_sigprocmask)
103 
104 struct linux_sys_ioctl_args {
105 	syscallarg(int) fd;
106 	syscallarg(u_long) com;
107 	syscallarg(void *) data;
108 };
109 check_syscall_args(linux_sys_ioctl)
110 
111 struct linux_sys_pread_args {
112 	syscallarg(int) fd;
113 	syscallarg(char *) buf;
114 	syscallarg(size_t) nbyte;
115 	syscallarg(off_t) offset;
116 };
117 check_syscall_args(linux_sys_pread)
118 
119 struct linux_sys_pwrite_args {
120 	syscallarg(int) fd;
121 	syscallarg(char *) buf;
122 	syscallarg(size_t) nbyte;
123 	syscallarg(off_t) offset;
124 };
125 check_syscall_args(linux_sys_pwrite)
126 
127 struct sys_readv_args;
128 
129 struct sys_writev_args;
130 
131 struct sys_access_args;
132 
133 struct linux_sys_pipe_args {
134 	syscallarg(int *) pfds;
135 };
136 check_syscall_args(linux_sys_pipe)
137 
138 struct linux_sys_select_args {
139 	syscallarg(int) nfds;
140 	syscallarg(fd_set *) readfds;
141 	syscallarg(fd_set *) writefds;
142 	syscallarg(fd_set *) exceptfds;
143 	syscallarg(struct timeval50 *) timeout;
144 };
145 check_syscall_args(linux_sys_select)
146 
147 struct linux_sys_mremap_args {
148 	syscallarg(void *) old_address;
149 	syscallarg(size_t) old_size;
150 	syscallarg(size_t) new_size;
151 	syscallarg(u_long) flags;
152 };
153 check_syscall_args(linux_sys_mremap)
154 
155 struct sys___msync13_args;
156 
157 struct sys_mincore_args;
158 
159 struct sys_madvise_args;
160 #ifdef SYSVSHM
161 
162 struct linux_sys_shmget_args;
163 
164 struct sys_shmat_args;
165 
166 struct linux_sys_shmctl_args;
167 #else
168 #endif
169 
170 struct sys_dup_args;
171 
172 struct sys_dup2_args;
173 
174 struct linux_sys_nanosleep_args {
175 	syscallarg(const struct linux_timespec *) rqtp;
176 	syscallarg(struct linux_timespec *) rmtp;
177 };
178 check_syscall_args(linux_sys_nanosleep)
179 
180 struct compat_50_sys_getitimer_args;
181 
182 struct linux_sys_alarm_args {
183 	syscallarg(unsigned int) secs;
184 };
185 check_syscall_args(linux_sys_alarm)
186 
187 struct compat_50_sys_setitimer_args;
188 
189 struct linux_sys_socket_args {
190 	syscallarg(int) domain;
191 	syscallarg(int) type;
192 	syscallarg(int) protocol;
193 };
194 check_syscall_args(linux_sys_socket)
195 
196 struct linux_sys_connect_args {
197 	syscallarg(int) s;
198 	syscallarg(const struct osockaddr *) name;
199 	syscallarg(unsigned int) namelen;
200 };
201 check_syscall_args(linux_sys_connect)
202 
203 struct linux_sys_accept_args {
204 	syscallarg(int) s;
205 	syscallarg(struct osockaddr *) name;
206 	syscallarg(int *) anamelen;
207 };
208 check_syscall_args(linux_sys_accept)
209 
210 struct linux_sys_sendto_args {
211 	syscallarg(int) s;
212 	syscallarg(void *) msg;
213 	syscallarg(int) len;
214 	syscallarg(int) flags;
215 	syscallarg(struct osockaddr *) to;
216 	syscallarg(int) tolen;
217 };
218 check_syscall_args(linux_sys_sendto)
219 
220 struct linux_sys_recvfrom_args {
221 	syscallarg(int) s;
222 	syscallarg(void *) buf;
223 	syscallarg(size_t) len;
224 	syscallarg(int) flags;
225 	syscallarg(struct osockaddr *) from;
226 	syscallarg(unsigned int *) fromlenaddr;
227 };
228 check_syscall_args(linux_sys_recvfrom)
229 
230 struct linux_sys_sendmsg_args {
231 	syscallarg(int) s;
232 	syscallarg(const struct linux_msghdr *) msg;
233 	syscallarg(int) flags;
234 };
235 check_syscall_args(linux_sys_sendmsg)
236 
237 struct linux_sys_recvmsg_args {
238 	syscallarg(int) s;
239 	syscallarg(struct linux_msghdr *) msg;
240 	syscallarg(int) flags;
241 };
242 check_syscall_args(linux_sys_recvmsg)
243 
244 struct sys_shutdown_args;
245 
246 struct linux_sys_bind_args {
247 	syscallarg(int) s;
248 	syscallarg(const struct osockaddr *) name;
249 	syscallarg(unsigned int) namelen;
250 };
251 check_syscall_args(linux_sys_bind)
252 
253 struct sys_listen_args;
254 
255 struct linux_sys_getsockname_args {
256 	syscallarg(int) fdec;
257 	syscallarg(void *) asa;
258 	syscallarg(int *) alen;
259 };
260 check_syscall_args(linux_sys_getsockname)
261 
262 struct linux_sys_getpeername_args {
263 	syscallarg(int) fdes;
264 	syscallarg(struct sockaddr *) asa;
265 	syscallarg(unsigned int *) alen;
266 };
267 check_syscall_args(linux_sys_getpeername)
268 
269 struct linux_sys_socketpair_args {
270 	syscallarg(int) domain;
271 	syscallarg(int) type;
272 	syscallarg(int) protocol;
273 	syscallarg(int *) rsv;
274 };
275 check_syscall_args(linux_sys_socketpair)
276 
277 struct linux_sys_setsockopt_args {
278 	syscallarg(int) s;
279 	syscallarg(int) level;
280 	syscallarg(int) optname;
281 	syscallarg(void *) optval;
282 	syscallarg(int) optlen;
283 };
284 check_syscall_args(linux_sys_setsockopt)
285 
286 struct linux_sys_getsockopt_args {
287 	syscallarg(int) s;
288 	syscallarg(int) level;
289 	syscallarg(int) optname;
290 	syscallarg(void *) optval;
291 	syscallarg(int *) optlen;
292 };
293 check_syscall_args(linux_sys_getsockopt)
294 
295 struct linux_sys_clone_args {
296 	syscallarg(int) flags;
297 	syscallarg(void *) stack;
298 	syscallarg(void *) parent_tidptr;
299 	syscallarg(void *) child_tidptr;
300 	syscallarg(void *) tls;
301 };
302 check_syscall_args(linux_sys_clone)
303 
304 struct sys_execve_args;
305 
306 struct linux_sys_exit_args {
307 	syscallarg(int) rval;
308 };
309 check_syscall_args(linux_sys_exit)
310 
311 struct linux_sys_wait4_args {
312 	syscallarg(int) pid;
313 	syscallarg(int *) status;
314 	syscallarg(int) options;
315 	syscallarg(struct rusage50 *) rusage;
316 };
317 check_syscall_args(linux_sys_wait4)
318 
319 struct linux_sys_kill_args {
320 	syscallarg(int) pid;
321 	syscallarg(int) signum;
322 };
323 check_syscall_args(linux_sys_kill)
324 
325 struct linux_sys_uname_args {
326 	syscallarg(struct linux_utsname *) up;
327 };
328 check_syscall_args(linux_sys_uname)
329 #ifdef SYSVSEM
330 
331 struct sys_semget_args;
332 
333 struct sys_semop_args;
334 
335 struct linux_sys_semctl_args {
336 	syscallarg(int) semid;
337 	syscallarg(int) semnum;
338 	syscallarg(int) cmd;
339 	syscallarg(union linux_semun) arg;
340 };
341 check_syscall_args(linux_sys_semctl)
342 #else
343 #endif
344 #ifdef SYSVSHM
345 
346 struct sys_shmdt_args;
347 #else
348 #endif
349 #ifdef SYSVMSG
350 
351 struct sys_msgget_args;
352 
353 struct sys_msgsnd_args;
354 
355 struct sys_msgrcv_args;
356 
357 struct linux_sys_msgctl_args;
358 #else
359 #endif
360 
361 struct linux_sys_fcntl_args {
362 	syscallarg(int) fd;
363 	syscallarg(int) cmd;
364 	syscallarg(void *) arg;
365 };
366 check_syscall_args(linux_sys_fcntl)
367 
368 struct sys_flock_args;
369 
370 struct sys_fsync_args;
371 
372 struct linux_sys_fdatasync_args {
373 	syscallarg(int) fd;
374 };
375 check_syscall_args(linux_sys_fdatasync)
376 
377 struct linux_sys_truncate64_args {
378 	syscallarg(const char *) path;
379 	syscallarg(off_t) length;
380 };
381 check_syscall_args(linux_sys_truncate64)
382 
383 struct linux_sys_ftruncate64_args {
384 	syscallarg(unsigned int) fd;
385 	syscallarg(off_t) length;
386 };
387 check_syscall_args(linux_sys_ftruncate64)
388 
389 struct linux_sys_getdents_args {
390 	syscallarg(int) fd;
391 	syscallarg(struct linux_dirent *) dent;
392 	syscallarg(unsigned int) count;
393 };
394 check_syscall_args(linux_sys_getdents)
395 
396 struct sys___getcwd_args;
397 
398 struct sys_chdir_args;
399 
400 struct sys_fchdir_args;
401 
402 struct sys___posix_rename_args;
403 
404 struct sys_mkdir_args;
405 
406 struct sys_rmdir_args;
407 
408 struct linux_sys_creat_args {
409 	syscallarg(const char *) path;
410 	syscallarg(linux_umode_t) mode;
411 };
412 check_syscall_args(linux_sys_creat)
413 
414 struct sys_link_args;
415 
416 struct linux_sys_unlink_args {
417 	syscallarg(const char *) path;
418 };
419 check_syscall_args(linux_sys_unlink)
420 
421 struct sys_symlink_args;
422 
423 struct sys_readlink_args;
424 
425 struct sys_chmod_args;
426 
427 struct sys_fchmod_args;
428 
429 struct sys___posix_chown_args;
430 
431 struct sys___posix_fchown_args;
432 
433 struct sys___posix_lchown_args;
434 
435 struct sys_umask_args;
436 
437 struct linux_sys_gettimeofday_args {
438 	syscallarg(struct timeval50 *) tp;
439 	syscallarg(struct timezone *) tzp;
440 };
441 check_syscall_args(linux_sys_gettimeofday)
442 
443 struct linux_sys_getrlimit_args {
444 	syscallarg(int) which;
445 	syscallarg(struct rlimit *) rlp;
446 };
447 check_syscall_args(linux_sys_getrlimit)
448 
449 struct compat_50_sys_getrusage_args;
450 
451 struct linux_sys_sysinfo_args {
452 	syscallarg(struct linux_sysinfo *) arg;
453 };
454 check_syscall_args(linux_sys_sysinfo)
455 
456 struct linux_sys_times_args {
457 	syscallarg(struct times *) tms;
458 };
459 check_syscall_args(linux_sys_times)
460 
461 struct linux_sys_ptrace_args {
462 	syscallarg(long) request;
463 	syscallarg(long) pid;
464 	syscallarg(long) addr;
465 	syscallarg(long) data;
466 };
467 check_syscall_args(linux_sys_ptrace)
468 
469 struct sys_setuid_args;
470 
471 struct sys_setgid_args;
472 
473 struct sys_setpgid_args;
474 
475 struct sys_setreuid_args;
476 
477 struct sys_setregid_args;
478 
479 struct sys_getgroups_args;
480 
481 struct sys_setgroups_args;
482 
483 struct linux_sys_setresuid_args {
484 	syscallarg(uid_t) ruid;
485 	syscallarg(uid_t) euid;
486 	syscallarg(uid_t) suid;
487 };
488 check_syscall_args(linux_sys_setresuid)
489 
490 struct linux_sys_getresuid_args {
491 	syscallarg(uid_t *) ruid;
492 	syscallarg(uid_t *) euid;
493 	syscallarg(uid_t *) suid;
494 };
495 check_syscall_args(linux_sys_getresuid)
496 
497 struct linux_sys_setresgid_args {
498 	syscallarg(gid_t) rgid;
499 	syscallarg(gid_t) egid;
500 	syscallarg(gid_t) sgid;
501 };
502 check_syscall_args(linux_sys_setresgid)
503 
504 struct linux_sys_getresgid_args {
505 	syscallarg(gid_t *) rgid;
506 	syscallarg(gid_t *) egid;
507 	syscallarg(gid_t *) sgid;
508 };
509 check_syscall_args(linux_sys_getresgid)
510 
511 struct sys_getpgid_args;
512 
513 struct linux_sys_setfsuid_args {
514 	syscallarg(uid_t) uid;
515 };
516 check_syscall_args(linux_sys_setfsuid)
517 
518 struct linux_sys_setfsgid_args {
519 	syscallarg(gid_t) gid;
520 };
521 check_syscall_args(linux_sys_setfsgid)
522 
523 struct sys_getsid_args;
524 
525 struct linux_sys_rt_sigpending_args {
526 	syscallarg(linux_sigset_t *) set;
527 	syscallarg(size_t) sigsetsize;
528 };
529 check_syscall_args(linux_sys_rt_sigpending)
530 
531 struct linux_sys_rt_sigtimedwait_args {
532 	syscallarg(const linux_sigset_t *) set;
533 	syscallarg(linux_siginfo_t *) info;
534 	syscallarg(const struct linux_timespec *) timeout;
535 };
536 check_syscall_args(linux_sys_rt_sigtimedwait)
537 
538 struct linux_sys_rt_queueinfo_args {
539 	syscallarg(int) pid;
540 	syscallarg(int) signum;
541 	syscallarg(linux_siginfo_t *) uinfo;
542 };
543 check_syscall_args(linux_sys_rt_queueinfo)
544 
545 struct linux_sys_rt_sigsuspend_args {
546 	syscallarg(linux_sigset_t *) unewset;
547 	syscallarg(size_t) sigsetsize;
548 };
549 check_syscall_args(linux_sys_rt_sigsuspend)
550 
551 struct linux_sys_sigaltstack_args {
552 	syscallarg(const struct linux_sigaltstack *) ss;
553 	syscallarg(struct linux_sigaltstack *) oss;
554 };
555 check_syscall_args(linux_sys_sigaltstack)
556 
557 struct linux_sys_utime_args {
558 	syscallarg(const char *) path;
559 	syscallarg(struct linux_utimbuf *) times;
560 };
561 check_syscall_args(linux_sys_utime)
562 
563 struct linux_sys_mknod_args {
564 	syscallarg(const char *) path;
565 	syscallarg(linux_umode_t) mode;
566 	syscallarg(unsigned) dev;
567 };
568 check_syscall_args(linux_sys_mknod)
569 #ifdef EXEC_AOUT
570 
571 struct linux_sys_uselib_args {
572 	syscallarg(const char *) path;
573 };
574 check_syscall_args(linux_sys_uselib)
575 #else
576 #endif
577 
578 struct linux_sys_personality_args {
579 	syscallarg(unsigned long) per;
580 };
581 check_syscall_args(linux_sys_personality)
582 
583 struct linux_sys_statfs_args {
584 	syscallarg(const char *) path;
585 	syscallarg(struct linux_statfs *) sp;
586 };
587 check_syscall_args(linux_sys_statfs)
588 
589 struct linux_sys_fstatfs_args {
590 	syscallarg(int) fd;
591 	syscallarg(struct linux_statfs *) sp;
592 };
593 check_syscall_args(linux_sys_fstatfs)
594 
595 struct linux_sys_getpriority_args {
596 	syscallarg(int) which;
597 	syscallarg(int) who;
598 };
599 check_syscall_args(linux_sys_getpriority)
600 
601 struct sys_setpriority_args;
602 
603 struct linux_sys_sched_setparam_args {
604 	syscallarg(pid_t) pid;
605 	syscallarg(const struct linux_sched_param *) sp;
606 };
607 check_syscall_args(linux_sys_sched_setparam)
608 
609 struct linux_sys_sched_getparam_args {
610 	syscallarg(pid_t) pid;
611 	syscallarg(struct linux_sched_param *) sp;
612 };
613 check_syscall_args(linux_sys_sched_getparam)
614 
615 struct linux_sys_sched_setscheduler_args {
616 	syscallarg(pid_t) pid;
617 	syscallarg(int) policy;
618 	syscallarg(const struct linux_sched_param *) sp;
619 };
620 check_syscall_args(linux_sys_sched_setscheduler)
621 
622 struct linux_sys_sched_getscheduler_args {
623 	syscallarg(pid_t) pid;
624 };
625 check_syscall_args(linux_sys_sched_getscheduler)
626 
627 struct linux_sys_sched_get_priority_max_args {
628 	syscallarg(int) policy;
629 };
630 check_syscall_args(linux_sys_sched_get_priority_max)
631 
632 struct linux_sys_sched_get_priority_min_args {
633 	syscallarg(int) policy;
634 };
635 check_syscall_args(linux_sys_sched_get_priority_min)
636 
637 struct sys_mlock_args;
638 
639 struct sys_munlock_args;
640 
641 struct sys_mlockall_args;
642 
643 struct linux_sys_modify_ldt_args {
644 	syscallarg(int) func;
645 	syscallarg(void *) ptr;
646 	syscallarg(size_t) bytecount;
647 };
648 check_syscall_args(linux_sys_modify_ldt)
649 
650 struct linux_sys___sysctl_args {
651 	syscallarg(struct linux___sysctl *) lsp;
652 };
653 check_syscall_args(linux_sys___sysctl)
654 
655 struct linux_sys_arch_prctl_args {
656 	syscallarg(int) code;
657 	syscallarg(unsigned long) addr;
658 };
659 check_syscall_args(linux_sys_arch_prctl)
660 
661 struct linux_sys_setrlimit_args {
662 	syscallarg(u_int) which;
663 	syscallarg(struct rlimit *) rlp;
664 };
665 check_syscall_args(linux_sys_setrlimit)
666 
667 struct sys_chroot_args;
668 
669 struct sys_acct_args;
670 
671 struct linux_sys_settimeofday_args {
672 	syscallarg(struct timeval50 *) tp;
673 	syscallarg(struct timezone *) tzp;
674 };
675 check_syscall_args(linux_sys_settimeofday)
676 
677 struct linux_sys_swapon_args {
678 	syscallarg(char *) name;
679 };
680 check_syscall_args(linux_sys_swapon)
681 
682 struct linux_sys_swapoff_args {
683 	syscallarg(const char *) path;
684 };
685 check_syscall_args(linux_sys_swapoff)
686 
687 struct linux_sys_reboot_args {
688 	syscallarg(int) magic1;
689 	syscallarg(int) magic2;
690 	syscallarg(int) cmd;
691 	syscallarg(void *) arg;
692 };
693 check_syscall_args(linux_sys_reboot)
694 
695 struct compat_43_sys_sethostname_args;
696 
697 struct linux_sys_setdomainname_args {
698 	syscallarg(char *) domainname;
699 	syscallarg(int) len;
700 };
701 check_syscall_args(linux_sys_setdomainname)
702 
703 struct linux_sys_iopl_args {
704 	syscallarg(int) level;
705 };
706 check_syscall_args(linux_sys_iopl)
707 
708 struct linux_sys_ioperm_args {
709 	syscallarg(unsigned int) lo;
710 	syscallarg(unsigned int) hi;
711 	syscallarg(int) val;
712 };
713 check_syscall_args(linux_sys_ioperm)
714 
715 struct linux_sys_readahead_args {
716 	syscallarg(int) fd;
717 	syscallarg(off_t) offset;
718 	syscallarg(size_t) count;
719 };
720 check_syscall_args(linux_sys_readahead)
721 
722 struct linux_sys_setxattr_args {
723 	syscallarg(char *) path;
724 	syscallarg(char *) name;
725 	syscallarg(void *) value;
726 	syscallarg(size_t) size;
727 	syscallarg(int) flags;
728 };
729 check_syscall_args(linux_sys_setxattr)
730 
731 struct linux_sys_lsetxattr_args {
732 	syscallarg(char *) path;
733 	syscallarg(char *) name;
734 	syscallarg(void *) value;
735 	syscallarg(size_t) size;
736 	syscallarg(int) flags;
737 };
738 check_syscall_args(linux_sys_lsetxattr)
739 
740 struct linux_sys_fsetxattr_args {
741 	syscallarg(int) fd;
742 	syscallarg(char *) name;
743 	syscallarg(void *) value;
744 	syscallarg(size_t) size;
745 	syscallarg(int) flags;
746 };
747 check_syscall_args(linux_sys_fsetxattr)
748 
749 struct linux_sys_getxattr_args {
750 	syscallarg(char *) path;
751 	syscallarg(char *) name;
752 	syscallarg(void *) value;
753 	syscallarg(size_t) size;
754 };
755 check_syscall_args(linux_sys_getxattr)
756 
757 struct linux_sys_lgetxattr_args {
758 	syscallarg(char *) path;
759 	syscallarg(char *) name;
760 	syscallarg(void *) value;
761 	syscallarg(size_t) size;
762 };
763 check_syscall_args(linux_sys_lgetxattr)
764 
765 struct linux_sys_fgetxattr_args {
766 	syscallarg(int) fd;
767 	syscallarg(char *) name;
768 	syscallarg(void *) value;
769 	syscallarg(size_t) size;
770 };
771 check_syscall_args(linux_sys_fgetxattr)
772 
773 struct linux_sys_listxattr_args {
774 	syscallarg(char *) path;
775 	syscallarg(char *) list;
776 	syscallarg(size_t) size;
777 };
778 check_syscall_args(linux_sys_listxattr)
779 
780 struct linux_sys_llistxattr_args {
781 	syscallarg(char *) path;
782 	syscallarg(char *) list;
783 	syscallarg(size_t) size;
784 };
785 check_syscall_args(linux_sys_llistxattr)
786 
787 struct linux_sys_flistxattr_args {
788 	syscallarg(int) fd;
789 	syscallarg(char *) list;
790 	syscallarg(size_t) size;
791 };
792 check_syscall_args(linux_sys_flistxattr)
793 
794 struct linux_sys_removexattr_args {
795 	syscallarg(char *) path;
796 	syscallarg(char *) name;
797 };
798 check_syscall_args(linux_sys_removexattr)
799 
800 struct linux_sys_lremovexattr_args {
801 	syscallarg(char *) path;
802 	syscallarg(char *) name;
803 };
804 check_syscall_args(linux_sys_lremovexattr)
805 
806 struct linux_sys_fremovexattr_args {
807 	syscallarg(int) fd;
808 	syscallarg(char *) name;
809 };
810 check_syscall_args(linux_sys_fremovexattr)
811 
812 struct linux_sys_tkill_args {
813 	syscallarg(int) tid;
814 	syscallarg(int) sig;
815 };
816 check_syscall_args(linux_sys_tkill)
817 
818 struct linux_sys_time_args {
819 	syscallarg(linux_time_t *) t;
820 };
821 check_syscall_args(linux_sys_time)
822 
823 struct linux_sys_futex_args {
824 	syscallarg(int *) uaddr;
825 	syscallarg(int) op;
826 	syscallarg(int) val;
827 	syscallarg(const struct linux_timespec *) timeout;
828 	syscallarg(int *) uaddr2;
829 	syscallarg(int) val3;
830 };
831 check_syscall_args(linux_sys_futex)
832 
833 struct linux_sys_sched_setaffinity_args {
834 	syscallarg(pid_t) pid;
835 	syscallarg(unsigned int) len;
836 	syscallarg(unsigned long *) mask;
837 };
838 check_syscall_args(linux_sys_sched_setaffinity)
839 
840 struct linux_sys_sched_getaffinity_args {
841 	syscallarg(pid_t) pid;
842 	syscallarg(unsigned int) len;
843 	syscallarg(unsigned long *) mask;
844 };
845 check_syscall_args(linux_sys_sched_getaffinity)
846 
847 struct linux_sys_epoll_create_args {
848 	syscallarg(int) size;
849 };
850 check_syscall_args(linux_sys_epoll_create)
851 
852 struct linux_sys_getdents64_args {
853 	syscallarg(int) fd;
854 	syscallarg(struct linux_dirent64 *) dent;
855 	syscallarg(unsigned int) count;
856 };
857 check_syscall_args(linux_sys_getdents64)
858 
859 struct linux_sys_set_tid_address_args {
860 	syscallarg(int *) tid;
861 };
862 check_syscall_args(linux_sys_set_tid_address)
863 
864 struct linux_sys_fadvise64_args {
865 	syscallarg(int) fd;
866 	syscallarg(off_t) offset;
867 	syscallarg(size_t) len;
868 	syscallarg(int) advice;
869 };
870 check_syscall_args(linux_sys_fadvise64)
871 
872 struct linux_sys_timer_create_args {
873 	syscallarg(clockid_t) clockid;
874 	syscallarg(struct linux_sigevent *) evp;
875 	syscallarg(timer_t *) timerid;
876 };
877 check_syscall_args(linux_sys_timer_create)
878 
879 struct linux_sys_timer_settime_args {
880 	syscallarg(timer_t) timerid;
881 	syscallarg(int) flags;
882 	syscallarg(const struct linux_itimerspec *) tim;
883 	syscallarg(struct linux_itimerspec *) otim;
884 };
885 check_syscall_args(linux_sys_timer_settime)
886 
887 struct linux_sys_timer_gettime_args {
888 	syscallarg(timer_t) timerid;
889 	syscallarg(struct linux_itimerspec *) tim;
890 };
891 check_syscall_args(linux_sys_timer_gettime)
892 
893 struct sys_timer_getoverrun_args;
894 
895 struct sys_timer_delete_args;
896 
897 struct linux_sys_clock_settime_args {
898 	syscallarg(clockid_t) which;
899 	syscallarg(struct linux_timespec *) tp;
900 };
901 check_syscall_args(linux_sys_clock_settime)
902 
903 struct linux_sys_clock_gettime_args {
904 	syscallarg(clockid_t) which;
905 	syscallarg(struct linux_timespec *) tp;
906 };
907 check_syscall_args(linux_sys_clock_gettime)
908 
909 struct linux_sys_clock_getres_args {
910 	syscallarg(clockid_t) which;
911 	syscallarg(struct linux_timespec *) tp;
912 };
913 check_syscall_args(linux_sys_clock_getres)
914 
915 struct linux_sys_clock_nanosleep_args {
916 	syscallarg(clockid_t) which;
917 	syscallarg(int) flags;
918 	syscallarg(struct linux_timespec *) rqtp;
919 	syscallarg(struct linux_timespec *) rmtp;
920 };
921 check_syscall_args(linux_sys_clock_nanosleep)
922 
923 struct linux_sys_exit_group_args {
924 	syscallarg(int) error_code;
925 };
926 check_syscall_args(linux_sys_exit_group)
927 
928 struct linux_sys_epoll_wait_args {
929 	syscallarg(int) epfd;
930 	syscallarg(struct linux_epoll_event *) events;
931 	syscallarg(int) maxevents;
932 	syscallarg(int) timeout;
933 };
934 check_syscall_args(linux_sys_epoll_wait)
935 
936 struct linux_sys_epoll_ctl_args {
937 	syscallarg(int) epfd;
938 	syscallarg(int) op;
939 	syscallarg(int) fd;
940 	syscallarg(struct linux_epoll_event *) event;
941 };
942 check_syscall_args(linux_sys_epoll_ctl)
943 
944 struct linux_sys_tgkill_args {
945 	syscallarg(int) tgid;
946 	syscallarg(int) tid;
947 	syscallarg(int) sig;
948 };
949 check_syscall_args(linux_sys_tgkill)
950 
951 struct compat_50_sys_utimes_args;
952 
953 struct linux_sys_mq_open_args {
954 	syscallarg(const char *) name;
955 	syscallarg(int) oflag;
956 	syscallarg(linux_umode_t) mode;
957 	syscallarg(struct linux_mq_attr *) attr;
958 };
959 check_syscall_args(linux_sys_mq_open)
960 
961 struct linux_sys_mq_unlink_args {
962 	syscallarg(const char *) name;
963 };
964 check_syscall_args(linux_sys_mq_unlink)
965 
966 struct linux_sys_mq_timedsend_args {
967 	syscallarg(linux_mqd_t) mqdes;
968 	syscallarg(const char *) msg_ptr;
969 	syscallarg(size_t) msg_len;
970 	syscallarg(unsigned int) msg_prio;
971 	syscallarg(const struct linux_timespec *) abs_timeout;
972 };
973 check_syscall_args(linux_sys_mq_timedsend)
974 
975 struct linux_sys_mq_timedreceive_args {
976 	syscallarg(linux_mqd_t) mqdes;
977 	syscallarg(char *) msg_ptr;
978 	syscallarg(size_t) msg_len;
979 	syscallarg(unsigned int *) msg_prio;
980 	syscallarg(const struct linux_timespec *) abs_timeout;
981 };
982 check_syscall_args(linux_sys_mq_timedreceive)
983 
984 struct linux_sys_mq_notify_args {
985 	syscallarg(linux_mqd_t) mqdes;
986 	syscallarg(const struct linux_sigevent *) sevp;
987 };
988 check_syscall_args(linux_sys_mq_notify)
989 
990 struct linux_sys_mq_getsetattr_args {
991 	syscallarg(linux_mqd_t) mqdes;
992 	syscallarg(const struct linux_mq_attr *) newattr;
993 	syscallarg(struct linux_mq_attr *) oldattr;
994 };
995 check_syscall_args(linux_sys_mq_getsetattr)
996 
997 struct linux_sys_waitid_args {
998 	syscallarg(int) idtype;
999 	syscallarg(id_t) id;
1000 	syscallarg(linux_siginfo_t *) infop;
1001 	syscallarg(int) options;
1002 	syscallarg(struct rusage50 *) rusage;
1003 };
1004 check_syscall_args(linux_sys_waitid)
1005 
1006 struct linux_sys_inotify_add_watch_args {
1007 	syscallarg(int) fd;
1008 	syscallarg(const char *) pathname;
1009 	syscallarg(uint32_t) mask;
1010 };
1011 check_syscall_args(linux_sys_inotify_add_watch)
1012 
1013 struct linux_sys_inotify_rm_watch_args {
1014 	syscallarg(int) fd;
1015 	syscallarg(int) wd;
1016 };
1017 check_syscall_args(linux_sys_inotify_rm_watch)
1018 
1019 struct linux_sys_openat_args {
1020 	syscallarg(int) fd;
1021 	syscallarg(const char *) path;
1022 	syscallarg(int) flags;
1023 	syscallarg(linux_umode_t) mode;
1024 };
1025 check_syscall_args(linux_sys_openat)
1026 
1027 struct sys_mkdirat_args;
1028 
1029 struct linux_sys_mknodat_args {
1030 	syscallarg(int) fd;
1031 	syscallarg(const char *) path;
1032 	syscallarg(linux_umode_t) mode;
1033 	syscallarg(unsigned) dev;
1034 };
1035 check_syscall_args(linux_sys_mknodat)
1036 
1037 struct linux_sys_fchownat_args {
1038 	syscallarg(int) fd;
1039 	syscallarg(const char *) path;
1040 	syscallarg(uid_t) owner;
1041 	syscallarg(gid_t) group;
1042 	syscallarg(int) flag;
1043 };
1044 check_syscall_args(linux_sys_fchownat)
1045 
1046 struct linux_sys_fstatat64_args {
1047 	syscallarg(int) fd;
1048 	syscallarg(const char *) path;
1049 	syscallarg(struct linux_stat *) sp;
1050 	syscallarg(int) flag;
1051 };
1052 check_syscall_args(linux_sys_fstatat64)
1053 
1054 struct linux_sys_unlinkat_args {
1055 	syscallarg(int) fd;
1056 	syscallarg(const char *) path;
1057 	syscallarg(int) flag;
1058 };
1059 check_syscall_args(linux_sys_unlinkat)
1060 
1061 struct sys_renameat_args;
1062 
1063 struct linux_sys_linkat_args {
1064 	syscallarg(int) fd1;
1065 	syscallarg(const char *) name1;
1066 	syscallarg(int) fd2;
1067 	syscallarg(const char *) name2;
1068 	syscallarg(int) flags;
1069 };
1070 check_syscall_args(linux_sys_linkat)
1071 
1072 struct sys_symlinkat_args;
1073 
1074 struct sys_readlinkat_args;
1075 
1076 struct linux_sys_fchmodat_args {
1077 	syscallarg(int) fd;
1078 	syscallarg(const char *) path;
1079 	syscallarg(linux_umode_t) mode;
1080 };
1081 check_syscall_args(linux_sys_fchmodat)
1082 
1083 struct linux_sys_faccessat_args {
1084 	syscallarg(int) fd;
1085 	syscallarg(const char *) path;
1086 	syscallarg(int) amode;
1087 };
1088 check_syscall_args(linux_sys_faccessat)
1089 
1090 struct linux_sys_pselect6_args {
1091 	syscallarg(int) nfds;
1092 	syscallarg(fd_set *) readfds;
1093 	syscallarg(fd_set *) writefds;
1094 	syscallarg(fd_set *) exceptfds;
1095 	syscallarg(struct linux_timespec *) timeout;
1096 	syscallarg(linux_sized_sigset_t *) ss;
1097 };
1098 check_syscall_args(linux_sys_pselect6)
1099 
1100 struct linux_sys_ppoll_args {
1101 	syscallarg(struct pollfd *) fds;
1102 	syscallarg(u_int) nfds;
1103 	syscallarg(struct linux_timespec *) timeout;
1104 	syscallarg(linux_sigset_t *) sigset;
1105 };
1106 check_syscall_args(linux_sys_ppoll)
1107 
1108 struct sys___futex_set_robust_list_args;
1109 
1110 struct sys___futex_get_robust_list_args;
1111 
1112 struct linux_sys_sync_file_range_args {
1113 	syscallarg(int) fd;
1114 	syscallarg(off_t) offset;
1115 	syscallarg(off_t) nbytes;
1116 	syscallarg(unsigned int) flags;
1117 };
1118 check_syscall_args(linux_sys_sync_file_range)
1119 
1120 struct linux_sys_utimensat_args {
1121 	syscallarg(int) fd;
1122 	syscallarg(const char *) path;
1123 	syscallarg(struct linux_timespec *) times;
1124 	syscallarg(int) flag;
1125 };
1126 check_syscall_args(linux_sys_utimensat)
1127 
1128 struct linux_sys_epoll_pwait_args {
1129 	syscallarg(int) epfd;
1130 	syscallarg(struct linux_epoll_event *) events;
1131 	syscallarg(int) maxevents;
1132 	syscallarg(int) timeout;
1133 	syscallarg(const linux_sigset_t *) sigmask;
1134 };
1135 check_syscall_args(linux_sys_epoll_pwait)
1136 
1137 struct linux_sys_timerfd_create_args {
1138 	syscallarg(clockid_t) clock_id;
1139 	syscallarg(int) flags;
1140 };
1141 check_syscall_args(linux_sys_timerfd_create)
1142 
1143 struct linux_sys_eventfd_args {
1144 	syscallarg(unsigned int) initval;
1145 };
1146 check_syscall_args(linux_sys_eventfd)
1147 
1148 struct linux_sys_fallocate_args {
1149 	syscallarg(int) fd;
1150 	syscallarg(int) mode;
1151 	syscallarg(off_t) offset;
1152 	syscallarg(off_t) len;
1153 };
1154 check_syscall_args(linux_sys_fallocate)
1155 
1156 struct linux_sys_timerfd_settime_args {
1157 	syscallarg(int) fd;
1158 	syscallarg(int) flags;
1159 	syscallarg(const struct linux_itimerspec *) tim;
1160 	syscallarg(struct linux_itimerspec *) otim;
1161 };
1162 check_syscall_args(linux_sys_timerfd_settime)
1163 
1164 struct linux_sys_timerfd_gettime_args {
1165 	syscallarg(int) fd;
1166 	syscallarg(struct linux_itimerspec *) tim;
1167 };
1168 check_syscall_args(linux_sys_timerfd_gettime)
1169 
1170 struct linux_sys_accept4_args {
1171 	syscallarg(int) s;
1172 	syscallarg(struct osockaddr *) name;
1173 	syscallarg(int *) anamelen;
1174 	syscallarg(int) flags;
1175 };
1176 check_syscall_args(linux_sys_accept4)
1177 
1178 struct linux_sys_eventfd2_args {
1179 	syscallarg(unsigned int) initval;
1180 	syscallarg(int) flags;
1181 };
1182 check_syscall_args(linux_sys_eventfd2)
1183 
1184 struct linux_sys_epoll_create1_args {
1185 	syscallarg(int) flags;
1186 };
1187 check_syscall_args(linux_sys_epoll_create1)
1188 
1189 struct linux_sys_dup3_args {
1190 	syscallarg(int) from;
1191 	syscallarg(int) to;
1192 	syscallarg(int) flags;
1193 };
1194 check_syscall_args(linux_sys_dup3)
1195 
1196 struct linux_sys_pipe2_args {
1197 	syscallarg(int *) pfds;
1198 	syscallarg(int) flags;
1199 };
1200 check_syscall_args(linux_sys_pipe2)
1201 
1202 struct linux_sys_inotify_init1_args {
1203 	syscallarg(int) flags;
1204 };
1205 check_syscall_args(linux_sys_inotify_init1)
1206 
1207 struct linux_sys_preadv_args {
1208 	syscallarg(int) fd;
1209 	syscallarg(const struct iovec *) iovp;
1210 	syscallarg(int) iovcnt;
1211 	syscallarg(unsigned long) off_lo;
1212 	syscallarg(unsigned long) off_hi;
1213 };
1214 check_syscall_args(linux_sys_preadv)
1215 
1216 struct linux_sys_pwritev_args {
1217 	syscallarg(int) fd;
1218 	syscallarg(const struct iovcnt *) iovp;
1219 	syscallarg(int) iovcnt;
1220 	syscallarg(unsigned long) off_lo;
1221 	syscallarg(unsigned long) off_hi;
1222 };
1223 check_syscall_args(linux_sys_pwritev)
1224 
1225 struct linux_sys_recvmmsg_args {
1226 	syscallarg(int) s;
1227 	syscallarg(struct linux_mmsghdr *) msgvec;
1228 	syscallarg(unsigned int) vlen;
1229 	syscallarg(unsigned int) flags;
1230 	syscallarg(struct timespec *) timeout;
1231 };
1232 check_syscall_args(linux_sys_recvmmsg)
1233 
1234 struct linux_sys_prlimit64_args {
1235 	syscallarg(pid_t) pid;
1236 	syscallarg(int) which;
1237 	syscallarg(struct rlimit *) new_rlp;
1238 	syscallarg(struct rlimit *) old_rlp;
1239 };
1240 check_syscall_args(linux_sys_prlimit64)
1241 
1242 struct linux_sys_syncfs_args {
1243 	syscallarg(int) fd;
1244 };
1245 check_syscall_args(linux_sys_syncfs)
1246 
1247 struct linux_sys_sendmmsg_args {
1248 	syscallarg(int) s;
1249 	syscallarg(struct linux_mmsghdr *) msgvec;
1250 	syscallarg(unsigned int) vlen;
1251 	syscallarg(unsigned int) flags;
1252 };
1253 check_syscall_args(linux_sys_sendmmsg)
1254 
1255 struct linux_sys_getcpu_args {
1256 	syscallarg(unsigned int *) cpu;
1257 	syscallarg(unsigned int *) node;
1258 	syscallarg(struct linux_getcpu_cache *) tcache;
1259 };
1260 check_syscall_args(linux_sys_getcpu)
1261 
1262 struct linux_sys_renameat2_args {
1263 	syscallarg(int) fromfd;
1264 	syscallarg(const char *) from;
1265 	syscallarg(int) tofd;
1266 	syscallarg(const char *) to;
1267 	syscallarg(unsigned int) flags;
1268 };
1269 check_syscall_args(linux_sys_renameat2)
1270 
1271 struct sys_getrandom_args;
1272 
1273 struct linux_sys_memfd_create_args {
1274 	syscallarg(const char *) name;
1275 	syscallarg(unsigned int) flags;
1276 };
1277 check_syscall_args(linux_sys_memfd_create)
1278 
1279 struct linux_sys_copy_file_range_args {
1280 	syscallarg(int) fd_in;
1281 	syscallarg(off_t *) off_in;
1282 	syscallarg(int) fd_out;
1283 	syscallarg(off_t *) off_out;
1284 	syscallarg(size_t) len;
1285 	syscallarg(unsigned int) flags;
1286 };
1287 check_syscall_args(linux_sys_copy_file_range)
1288 
1289 struct linux_sys_statx_args {
1290 	syscallarg(int) fd;
1291 	syscallarg(const char *) path;
1292 	syscallarg(int) flag;
1293 	syscallarg(unsigned int) mask;
1294 	syscallarg(struct linux_statx *) sp;
1295 };
1296 check_syscall_args(linux_sys_statx)
1297 
1298 struct linux_sys_clone3_args {
1299 	syscallarg(struct linux_user_clone3_args *) cl_args;
1300 	syscallarg(size_t) size;
1301 };
1302 check_syscall_args(linux_sys_clone3)
1303 
1304 struct linux_sys_close_range_args {
1305 	syscallarg(unsigned int) first;
1306 	syscallarg(unsigned int) last;
1307 	syscallarg(unsigned int) flags;
1308 };
1309 check_syscall_args(linux_sys_close_range)
1310 
1311 struct linux_sys_faccessat2_args {
1312 	syscallarg(int) fd;
1313 	syscallarg(const char *) path;
1314 	syscallarg(int) amode;
1315 	syscallarg(int) flags;
1316 };
1317 check_syscall_args(linux_sys_faccessat2)
1318 
1319 struct linux_sys_epoll_pwait2_args {
1320 	syscallarg(int) epfd;
1321 	syscallarg(struct linux_epoll_event *) events;
1322 	syscallarg(int) maxevents;
1323 	syscallarg(const struct linux_timespec *) timeout;
1324 	syscallarg(const linux_sigset_t *) sigmask;
1325 };
1326 check_syscall_args(linux_sys_epoll_pwait2)
1327 
1328 /*
1329  * System call prototypes.
1330  */
1331 
1332 int	sys_read(struct lwp *, const struct sys_read_args *, register_t *);
1333 
1334 int	sys_write(struct lwp *, const struct sys_write_args *, register_t *);
1335 
1336 int	linux_sys_open(struct lwp *, const struct linux_sys_open_args *, register_t *);
1337 
1338 int	sys_close(struct lwp *, const struct sys_close_args *, register_t *);
1339 
1340 int	linux_sys_stat64(struct lwp *, const struct linux_sys_stat64_args *, register_t *);
1341 
1342 int	linux_sys_fstat64(struct lwp *, const struct linux_sys_fstat64_args *, register_t *);
1343 
1344 int	linux_sys_lstat64(struct lwp *, const struct linux_sys_lstat64_args *, register_t *);
1345 
1346 int	sys_poll(struct lwp *, const struct sys_poll_args *, register_t *);
1347 
1348 int	compat_43_sys_lseek(struct lwp *, const struct compat_43_sys_lseek_args *, register_t *);
1349 
1350 int	linux_sys_mmap(struct lwp *, const struct linux_sys_mmap_args *, register_t *);
1351 
1352 int	linux_sys_mprotect(struct lwp *, const struct linux_sys_mprotect_args *, register_t *);
1353 
1354 int	sys_munmap(struct lwp *, const struct sys_munmap_args *, register_t *);
1355 
1356 int	linux_sys_brk(struct lwp *, const struct linux_sys_brk_args *, register_t *);
1357 
1358 int	linux_sys_rt_sigaction(struct lwp *, const struct linux_sys_rt_sigaction_args *, register_t *);
1359 
1360 int	linux_sys_rt_sigprocmask(struct lwp *, const struct linux_sys_rt_sigprocmask_args *, register_t *);
1361 
1362 int	linux_sys_rt_sigreturn(struct lwp *, const void *, register_t *);
1363 
1364 int	linux_sys_ioctl(struct lwp *, const struct linux_sys_ioctl_args *, register_t *);
1365 
1366 int	linux_sys_pread(struct lwp *, const struct linux_sys_pread_args *, register_t *);
1367 
1368 int	linux_sys_pwrite(struct lwp *, const struct linux_sys_pwrite_args *, register_t *);
1369 
1370 int	sys_readv(struct lwp *, const struct sys_readv_args *, register_t *);
1371 
1372 int	sys_writev(struct lwp *, const struct sys_writev_args *, register_t *);
1373 
1374 int	sys_access(struct lwp *, const struct sys_access_args *, register_t *);
1375 
1376 int	linux_sys_pipe(struct lwp *, const struct linux_sys_pipe_args *, register_t *);
1377 
1378 int	linux_sys_select(struct lwp *, const struct linux_sys_select_args *, register_t *);
1379 
1380 int	linux_sys_sched_yield(struct lwp *, const void *, register_t *);
1381 
1382 int	linux_sys_mremap(struct lwp *, const struct linux_sys_mremap_args *, register_t *);
1383 
1384 int	sys___msync13(struct lwp *, const struct sys___msync13_args *, register_t *);
1385 
1386 int	sys_mincore(struct lwp *, const struct sys_mincore_args *, register_t *);
1387 
1388 int	sys_madvise(struct lwp *, const struct sys_madvise_args *, register_t *);
1389 
1390 #ifdef SYSVSHM
1391 int	linux_sys_shmget(struct lwp *, const struct linux_sys_shmget_args *, register_t *);
1392 
1393 int	sys_shmat(struct lwp *, const struct sys_shmat_args *, register_t *);
1394 
1395 int	linux_sys_shmctl(struct lwp *, const struct linux_sys_shmctl_args *, register_t *);
1396 
1397 #else
1398 #endif
1399 int	sys_dup(struct lwp *, const struct sys_dup_args *, register_t *);
1400 
1401 int	sys_dup2(struct lwp *, const struct sys_dup2_args *, register_t *);
1402 
1403 int	linux_sys_pause(struct lwp *, const void *, register_t *);
1404 
1405 int	linux_sys_nanosleep(struct lwp *, const struct linux_sys_nanosleep_args *, register_t *);
1406 
1407 int	compat_50_sys_getitimer(struct lwp *, const struct compat_50_sys_getitimer_args *, register_t *);
1408 
1409 int	linux_sys_alarm(struct lwp *, const struct linux_sys_alarm_args *, register_t *);
1410 
1411 int	compat_50_sys_setitimer(struct lwp *, const struct compat_50_sys_setitimer_args *, register_t *);
1412 
1413 int	sys_getpid(struct lwp *, const void *, register_t *);
1414 
1415 int	linux_sys_socket(struct lwp *, const struct linux_sys_socket_args *, register_t *);
1416 
1417 int	linux_sys_connect(struct lwp *, const struct linux_sys_connect_args *, register_t *);
1418 
1419 int	linux_sys_accept(struct lwp *, const struct linux_sys_accept_args *, register_t *);
1420 
1421 int	linux_sys_sendto(struct lwp *, const struct linux_sys_sendto_args *, register_t *);
1422 
1423 int	linux_sys_recvfrom(struct lwp *, const struct linux_sys_recvfrom_args *, register_t *);
1424 
1425 int	linux_sys_sendmsg(struct lwp *, const struct linux_sys_sendmsg_args *, register_t *);
1426 
1427 int	linux_sys_recvmsg(struct lwp *, const struct linux_sys_recvmsg_args *, register_t *);
1428 
1429 int	sys_shutdown(struct lwp *, const struct sys_shutdown_args *, register_t *);
1430 
1431 int	linux_sys_bind(struct lwp *, const struct linux_sys_bind_args *, register_t *);
1432 
1433 int	sys_listen(struct lwp *, const struct sys_listen_args *, register_t *);
1434 
1435 int	linux_sys_getsockname(struct lwp *, const struct linux_sys_getsockname_args *, register_t *);
1436 
1437 int	linux_sys_getpeername(struct lwp *, const struct linux_sys_getpeername_args *, register_t *);
1438 
1439 int	linux_sys_socketpair(struct lwp *, const struct linux_sys_socketpair_args *, register_t *);
1440 
1441 int	linux_sys_setsockopt(struct lwp *, const struct linux_sys_setsockopt_args *, register_t *);
1442 
1443 int	linux_sys_getsockopt(struct lwp *, const struct linux_sys_getsockopt_args *, register_t *);
1444 
1445 int	linux_sys_clone(struct lwp *, const struct linux_sys_clone_args *, register_t *);
1446 
1447 int	sys_fork(struct lwp *, const void *, register_t *);
1448 
1449 int	sys___vfork14(struct lwp *, const void *, register_t *);
1450 
1451 int	sys_execve(struct lwp *, const struct sys_execve_args *, register_t *);
1452 
1453 int	linux_sys_exit(struct lwp *, const struct linux_sys_exit_args *, register_t *);
1454 
1455 int	linux_sys_wait4(struct lwp *, const struct linux_sys_wait4_args *, register_t *);
1456 
1457 int	linux_sys_kill(struct lwp *, const struct linux_sys_kill_args *, register_t *);
1458 
1459 int	linux_sys_uname(struct lwp *, const struct linux_sys_uname_args *, register_t *);
1460 
1461 #ifdef SYSVSEM
1462 int	sys_semget(struct lwp *, const struct sys_semget_args *, register_t *);
1463 
1464 int	sys_semop(struct lwp *, const struct sys_semop_args *, register_t *);
1465 
1466 int	linux_sys_semctl(struct lwp *, const struct linux_sys_semctl_args *, register_t *);
1467 
1468 #else
1469 #endif
1470 #ifdef SYSVSHM
1471 int	sys_shmdt(struct lwp *, const struct sys_shmdt_args *, register_t *);
1472 
1473 #else
1474 #endif
1475 #ifdef SYSVMSG
1476 int	sys_msgget(struct lwp *, const struct sys_msgget_args *, register_t *);
1477 
1478 int	sys_msgsnd(struct lwp *, const struct sys_msgsnd_args *, register_t *);
1479 
1480 int	sys_msgrcv(struct lwp *, const struct sys_msgrcv_args *, register_t *);
1481 
1482 int	linux_sys_msgctl(struct lwp *, const struct linux_sys_msgctl_args *, register_t *);
1483 
1484 #else
1485 #endif
1486 int	linux_sys_fcntl(struct lwp *, const struct linux_sys_fcntl_args *, register_t *);
1487 
1488 int	sys_flock(struct lwp *, const struct sys_flock_args *, register_t *);
1489 
1490 int	sys_fsync(struct lwp *, const struct sys_fsync_args *, register_t *);
1491 
1492 int	linux_sys_fdatasync(struct lwp *, const struct linux_sys_fdatasync_args *, register_t *);
1493 
1494 int	linux_sys_truncate64(struct lwp *, const struct linux_sys_truncate64_args *, register_t *);
1495 
1496 int	linux_sys_ftruncate64(struct lwp *, const struct linux_sys_ftruncate64_args *, register_t *);
1497 
1498 int	linux_sys_getdents(struct lwp *, const struct linux_sys_getdents_args *, register_t *);
1499 
1500 int	sys___getcwd(struct lwp *, const struct sys___getcwd_args *, register_t *);
1501 
1502 int	sys_chdir(struct lwp *, const struct sys_chdir_args *, register_t *);
1503 
1504 int	sys_fchdir(struct lwp *, const struct sys_fchdir_args *, register_t *);
1505 
1506 int	sys___posix_rename(struct lwp *, const struct sys___posix_rename_args *, register_t *);
1507 
1508 int	sys_mkdir(struct lwp *, const struct sys_mkdir_args *, register_t *);
1509 
1510 int	sys_rmdir(struct lwp *, const struct sys_rmdir_args *, register_t *);
1511 
1512 int	linux_sys_creat(struct lwp *, const struct linux_sys_creat_args *, register_t *);
1513 
1514 int	sys_link(struct lwp *, const struct sys_link_args *, register_t *);
1515 
1516 int	linux_sys_unlink(struct lwp *, const struct linux_sys_unlink_args *, register_t *);
1517 
1518 int	sys_symlink(struct lwp *, const struct sys_symlink_args *, register_t *);
1519 
1520 int	sys_readlink(struct lwp *, const struct sys_readlink_args *, register_t *);
1521 
1522 int	sys_chmod(struct lwp *, const struct sys_chmod_args *, register_t *);
1523 
1524 int	sys_fchmod(struct lwp *, const struct sys_fchmod_args *, register_t *);
1525 
1526 int	sys___posix_chown(struct lwp *, const struct sys___posix_chown_args *, register_t *);
1527 
1528 int	sys___posix_fchown(struct lwp *, const struct sys___posix_fchown_args *, register_t *);
1529 
1530 int	sys___posix_lchown(struct lwp *, const struct sys___posix_lchown_args *, register_t *);
1531 
1532 int	sys_umask(struct lwp *, const struct sys_umask_args *, register_t *);
1533 
1534 int	linux_sys_gettimeofday(struct lwp *, const struct linux_sys_gettimeofday_args *, register_t *);
1535 
1536 int	linux_sys_getrlimit(struct lwp *, const struct linux_sys_getrlimit_args *, register_t *);
1537 
1538 int	compat_50_sys_getrusage(struct lwp *, const struct compat_50_sys_getrusage_args *, register_t *);
1539 
1540 int	linux_sys_sysinfo(struct lwp *, const struct linux_sys_sysinfo_args *, register_t *);
1541 
1542 int	linux_sys_times(struct lwp *, const struct linux_sys_times_args *, register_t *);
1543 
1544 int	linux_sys_ptrace(struct lwp *, const struct linux_sys_ptrace_args *, register_t *);
1545 
1546 int	sys_getuid(struct lwp *, const void *, register_t *);
1547 
1548 int	sys_getgid(struct lwp *, const void *, register_t *);
1549 
1550 int	sys_setuid(struct lwp *, const struct sys_setuid_args *, register_t *);
1551 
1552 int	sys_setgid(struct lwp *, const struct sys_setgid_args *, register_t *);
1553 
1554 int	sys_geteuid(struct lwp *, const void *, register_t *);
1555 
1556 int	sys_getegid(struct lwp *, const void *, register_t *);
1557 
1558 int	sys_setpgid(struct lwp *, const struct sys_setpgid_args *, register_t *);
1559 
1560 int	sys_getppid(struct lwp *, const void *, register_t *);
1561 
1562 int	sys_getpgrp(struct lwp *, const void *, register_t *);
1563 
1564 int	sys_setsid(struct lwp *, const void *, register_t *);
1565 
1566 int	sys_setreuid(struct lwp *, const struct sys_setreuid_args *, register_t *);
1567 
1568 int	sys_setregid(struct lwp *, const struct sys_setregid_args *, register_t *);
1569 
1570 int	sys_getgroups(struct lwp *, const struct sys_getgroups_args *, register_t *);
1571 
1572 int	sys_setgroups(struct lwp *, const struct sys_setgroups_args *, register_t *);
1573 
1574 int	linux_sys_setresuid(struct lwp *, const struct linux_sys_setresuid_args *, register_t *);
1575 
1576 int	linux_sys_getresuid(struct lwp *, const struct linux_sys_getresuid_args *, register_t *);
1577 
1578 int	linux_sys_setresgid(struct lwp *, const struct linux_sys_setresgid_args *, register_t *);
1579 
1580 int	linux_sys_getresgid(struct lwp *, const struct linux_sys_getresgid_args *, register_t *);
1581 
1582 int	sys_getpgid(struct lwp *, const struct sys_getpgid_args *, register_t *);
1583 
1584 int	linux_sys_setfsuid(struct lwp *, const struct linux_sys_setfsuid_args *, register_t *);
1585 
1586 int	linux_sys_setfsgid(struct lwp *, const struct linux_sys_setfsgid_args *, register_t *);
1587 
1588 int	sys_getsid(struct lwp *, const struct sys_getsid_args *, register_t *);
1589 
1590 int	linux_sys_rt_sigpending(struct lwp *, const struct linux_sys_rt_sigpending_args *, register_t *);
1591 
1592 int	linux_sys_rt_sigtimedwait(struct lwp *, const struct linux_sys_rt_sigtimedwait_args *, register_t *);
1593 
1594 int	linux_sys_rt_queueinfo(struct lwp *, const struct linux_sys_rt_queueinfo_args *, register_t *);
1595 
1596 int	linux_sys_rt_sigsuspend(struct lwp *, const struct linux_sys_rt_sigsuspend_args *, register_t *);
1597 
1598 int	linux_sys_sigaltstack(struct lwp *, const struct linux_sys_sigaltstack_args *, register_t *);
1599 
1600 int	linux_sys_utime(struct lwp *, const struct linux_sys_utime_args *, register_t *);
1601 
1602 int	linux_sys_mknod(struct lwp *, const struct linux_sys_mknod_args *, register_t *);
1603 
1604 #ifdef EXEC_AOUT
1605 int	linux_sys_uselib(struct lwp *, const struct linux_sys_uselib_args *, register_t *);
1606 
1607 #else
1608 #endif
1609 int	linux_sys_personality(struct lwp *, const struct linux_sys_personality_args *, register_t *);
1610 
1611 int	linux_sys_statfs(struct lwp *, const struct linux_sys_statfs_args *, register_t *);
1612 
1613 int	linux_sys_fstatfs(struct lwp *, const struct linux_sys_fstatfs_args *, register_t *);
1614 
1615 int	linux_sys_getpriority(struct lwp *, const struct linux_sys_getpriority_args *, register_t *);
1616 
1617 int	sys_setpriority(struct lwp *, const struct sys_setpriority_args *, register_t *);
1618 
1619 int	linux_sys_sched_setparam(struct lwp *, const struct linux_sys_sched_setparam_args *, register_t *);
1620 
1621 int	linux_sys_sched_getparam(struct lwp *, const struct linux_sys_sched_getparam_args *, register_t *);
1622 
1623 int	linux_sys_sched_setscheduler(struct lwp *, const struct linux_sys_sched_setscheduler_args *, register_t *);
1624 
1625 int	linux_sys_sched_getscheduler(struct lwp *, const struct linux_sys_sched_getscheduler_args *, register_t *);
1626 
1627 int	linux_sys_sched_get_priority_max(struct lwp *, const struct linux_sys_sched_get_priority_max_args *, register_t *);
1628 
1629 int	linux_sys_sched_get_priority_min(struct lwp *, const struct linux_sys_sched_get_priority_min_args *, register_t *);
1630 
1631 int	sys_mlock(struct lwp *, const struct sys_mlock_args *, register_t *);
1632 
1633 int	sys_munlock(struct lwp *, const struct sys_munlock_args *, register_t *);
1634 
1635 int	sys_mlockall(struct lwp *, const struct sys_mlockall_args *, register_t *);
1636 
1637 int	sys_munlockall(struct lwp *, const void *, register_t *);
1638 
1639 int	linux_sys_modify_ldt(struct lwp *, const struct linux_sys_modify_ldt_args *, register_t *);
1640 
1641 int	linux_sys___sysctl(struct lwp *, const struct linux_sys___sysctl_args *, register_t *);
1642 
1643 int	linux_sys_arch_prctl(struct lwp *, const struct linux_sys_arch_prctl_args *, register_t *);
1644 
1645 int	linux_sys_setrlimit(struct lwp *, const struct linux_sys_setrlimit_args *, register_t *);
1646 
1647 int	sys_chroot(struct lwp *, const struct sys_chroot_args *, register_t *);
1648 
1649 int	sys_sync(struct lwp *, const void *, register_t *);
1650 
1651 int	sys_acct(struct lwp *, const struct sys_acct_args *, register_t *);
1652 
1653 int	linux_sys_settimeofday(struct lwp *, const struct linux_sys_settimeofday_args *, register_t *);
1654 
1655 int	linux_sys_swapon(struct lwp *, const struct linux_sys_swapon_args *, register_t *);
1656 
1657 int	linux_sys_swapoff(struct lwp *, const struct linux_sys_swapoff_args *, register_t *);
1658 
1659 int	linux_sys_reboot(struct lwp *, const struct linux_sys_reboot_args *, register_t *);
1660 
1661 int	compat_43_sys_sethostname(struct lwp *, const struct compat_43_sys_sethostname_args *, register_t *);
1662 
1663 int	linux_sys_setdomainname(struct lwp *, const struct linux_sys_setdomainname_args *, register_t *);
1664 
1665 int	linux_sys_iopl(struct lwp *, const struct linux_sys_iopl_args *, register_t *);
1666 
1667 int	linux_sys_ioperm(struct lwp *, const struct linux_sys_ioperm_args *, register_t *);
1668 
1669 int	linux_sys_gettid(struct lwp *, const void *, register_t *);
1670 
1671 int	linux_sys_readahead(struct lwp *, const struct linux_sys_readahead_args *, register_t *);
1672 
1673 int	linux_sys_setxattr(struct lwp *, const struct linux_sys_setxattr_args *, register_t *);
1674 
1675 int	linux_sys_lsetxattr(struct lwp *, const struct linux_sys_lsetxattr_args *, register_t *);
1676 
1677 int	linux_sys_fsetxattr(struct lwp *, const struct linux_sys_fsetxattr_args *, register_t *);
1678 
1679 int	linux_sys_getxattr(struct lwp *, const struct linux_sys_getxattr_args *, register_t *);
1680 
1681 int	linux_sys_lgetxattr(struct lwp *, const struct linux_sys_lgetxattr_args *, register_t *);
1682 
1683 int	linux_sys_fgetxattr(struct lwp *, const struct linux_sys_fgetxattr_args *, register_t *);
1684 
1685 int	linux_sys_listxattr(struct lwp *, const struct linux_sys_listxattr_args *, register_t *);
1686 
1687 int	linux_sys_llistxattr(struct lwp *, const struct linux_sys_llistxattr_args *, register_t *);
1688 
1689 int	linux_sys_flistxattr(struct lwp *, const struct linux_sys_flistxattr_args *, register_t *);
1690 
1691 int	linux_sys_removexattr(struct lwp *, const struct linux_sys_removexattr_args *, register_t *);
1692 
1693 int	linux_sys_lremovexattr(struct lwp *, const struct linux_sys_lremovexattr_args *, register_t *);
1694 
1695 int	linux_sys_fremovexattr(struct lwp *, const struct linux_sys_fremovexattr_args *, register_t *);
1696 
1697 int	linux_sys_tkill(struct lwp *, const struct linux_sys_tkill_args *, register_t *);
1698 
1699 int	linux_sys_time(struct lwp *, const struct linux_sys_time_args *, register_t *);
1700 
1701 int	linux_sys_futex(struct lwp *, const struct linux_sys_futex_args *, register_t *);
1702 
1703 int	linux_sys_sched_setaffinity(struct lwp *, const struct linux_sys_sched_setaffinity_args *, register_t *);
1704 
1705 int	linux_sys_sched_getaffinity(struct lwp *, const struct linux_sys_sched_getaffinity_args *, register_t *);
1706 
1707 int	linux_sys_epoll_create(struct lwp *, const struct linux_sys_epoll_create_args *, register_t *);
1708 
1709 int	linux_sys_getdents64(struct lwp *, const struct linux_sys_getdents64_args *, register_t *);
1710 
1711 int	linux_sys_set_tid_address(struct lwp *, const struct linux_sys_set_tid_address_args *, register_t *);
1712 
1713 int	linux_sys_fadvise64(struct lwp *, const struct linux_sys_fadvise64_args *, register_t *);
1714 
1715 int	linux_sys_timer_create(struct lwp *, const struct linux_sys_timer_create_args *, register_t *);
1716 
1717 int	linux_sys_timer_settime(struct lwp *, const struct linux_sys_timer_settime_args *, register_t *);
1718 
1719 int	linux_sys_timer_gettime(struct lwp *, const struct linux_sys_timer_gettime_args *, register_t *);
1720 
1721 int	sys_timer_getoverrun(struct lwp *, const struct sys_timer_getoverrun_args *, register_t *);
1722 
1723 int	sys_timer_delete(struct lwp *, const struct sys_timer_delete_args *, register_t *);
1724 
1725 int	linux_sys_clock_settime(struct lwp *, const struct linux_sys_clock_settime_args *, register_t *);
1726 
1727 int	linux_sys_clock_gettime(struct lwp *, const struct linux_sys_clock_gettime_args *, register_t *);
1728 
1729 int	linux_sys_clock_getres(struct lwp *, const struct linux_sys_clock_getres_args *, register_t *);
1730 
1731 int	linux_sys_clock_nanosleep(struct lwp *, const struct linux_sys_clock_nanosleep_args *, register_t *);
1732 
1733 int	linux_sys_exit_group(struct lwp *, const struct linux_sys_exit_group_args *, register_t *);
1734 
1735 int	linux_sys_epoll_wait(struct lwp *, const struct linux_sys_epoll_wait_args *, register_t *);
1736 
1737 int	linux_sys_epoll_ctl(struct lwp *, const struct linux_sys_epoll_ctl_args *, register_t *);
1738 
1739 int	linux_sys_tgkill(struct lwp *, const struct linux_sys_tgkill_args *, register_t *);
1740 
1741 int	compat_50_sys_utimes(struct lwp *, const struct compat_50_sys_utimes_args *, register_t *);
1742 
1743 int	linux_sys_mq_open(struct lwp *, const struct linux_sys_mq_open_args *, register_t *);
1744 
1745 int	linux_sys_mq_unlink(struct lwp *, const struct linux_sys_mq_unlink_args *, register_t *);
1746 
1747 int	linux_sys_mq_timedsend(struct lwp *, const struct linux_sys_mq_timedsend_args *, register_t *);
1748 
1749 int	linux_sys_mq_timedreceive(struct lwp *, const struct linux_sys_mq_timedreceive_args *, register_t *);
1750 
1751 int	linux_sys_mq_notify(struct lwp *, const struct linux_sys_mq_notify_args *, register_t *);
1752 
1753 int	linux_sys_mq_getsetattr(struct lwp *, const struct linux_sys_mq_getsetattr_args *, register_t *);
1754 
1755 int	linux_sys_waitid(struct lwp *, const struct linux_sys_waitid_args *, register_t *);
1756 
1757 int	linux_sys_inotify_init(struct lwp *, const void *, register_t *);
1758 
1759 int	linux_sys_inotify_add_watch(struct lwp *, const struct linux_sys_inotify_add_watch_args *, register_t *);
1760 
1761 int	linux_sys_inotify_rm_watch(struct lwp *, const struct linux_sys_inotify_rm_watch_args *, register_t *);
1762 
1763 int	linux_sys_openat(struct lwp *, const struct linux_sys_openat_args *, register_t *);
1764 
1765 int	sys_mkdirat(struct lwp *, const struct sys_mkdirat_args *, register_t *);
1766 
1767 int	linux_sys_mknodat(struct lwp *, const struct linux_sys_mknodat_args *, register_t *);
1768 
1769 int	linux_sys_fchownat(struct lwp *, const struct linux_sys_fchownat_args *, register_t *);
1770 
1771 int	linux_sys_fstatat64(struct lwp *, const struct linux_sys_fstatat64_args *, register_t *);
1772 
1773 int	linux_sys_unlinkat(struct lwp *, const struct linux_sys_unlinkat_args *, register_t *);
1774 
1775 int	sys_renameat(struct lwp *, const struct sys_renameat_args *, register_t *);
1776 
1777 int	linux_sys_linkat(struct lwp *, const struct linux_sys_linkat_args *, register_t *);
1778 
1779 int	sys_symlinkat(struct lwp *, const struct sys_symlinkat_args *, register_t *);
1780 
1781 int	sys_readlinkat(struct lwp *, const struct sys_readlinkat_args *, register_t *);
1782 
1783 int	linux_sys_fchmodat(struct lwp *, const struct linux_sys_fchmodat_args *, register_t *);
1784 
1785 int	linux_sys_faccessat(struct lwp *, const struct linux_sys_faccessat_args *, register_t *);
1786 
1787 int	linux_sys_pselect6(struct lwp *, const struct linux_sys_pselect6_args *, register_t *);
1788 
1789 int	linux_sys_ppoll(struct lwp *, const struct linux_sys_ppoll_args *, register_t *);
1790 
1791 int	sys___futex_set_robust_list(struct lwp *, const struct sys___futex_set_robust_list_args *, register_t *);
1792 
1793 int	sys___futex_get_robust_list(struct lwp *, const struct sys___futex_get_robust_list_args *, register_t *);
1794 
1795 int	linux_sys_sync_file_range(struct lwp *, const struct linux_sys_sync_file_range_args *, register_t *);
1796 
1797 int	linux_sys_utimensat(struct lwp *, const struct linux_sys_utimensat_args *, register_t *);
1798 
1799 int	linux_sys_epoll_pwait(struct lwp *, const struct linux_sys_epoll_pwait_args *, register_t *);
1800 
1801 int	linux_sys_timerfd_create(struct lwp *, const struct linux_sys_timerfd_create_args *, register_t *);
1802 
1803 int	linux_sys_eventfd(struct lwp *, const struct linux_sys_eventfd_args *, register_t *);
1804 
1805 int	linux_sys_fallocate(struct lwp *, const struct linux_sys_fallocate_args *, register_t *);
1806 
1807 int	linux_sys_timerfd_settime(struct lwp *, const struct linux_sys_timerfd_settime_args *, register_t *);
1808 
1809 int	linux_sys_timerfd_gettime(struct lwp *, const struct linux_sys_timerfd_gettime_args *, register_t *);
1810 
1811 int	linux_sys_accept4(struct lwp *, const struct linux_sys_accept4_args *, register_t *);
1812 
1813 int	linux_sys_eventfd2(struct lwp *, const struct linux_sys_eventfd2_args *, register_t *);
1814 
1815 int	linux_sys_epoll_create1(struct lwp *, const struct linux_sys_epoll_create1_args *, register_t *);
1816 
1817 int	linux_sys_dup3(struct lwp *, const struct linux_sys_dup3_args *, register_t *);
1818 
1819 int	linux_sys_pipe2(struct lwp *, const struct linux_sys_pipe2_args *, register_t *);
1820 
1821 int	linux_sys_inotify_init1(struct lwp *, const struct linux_sys_inotify_init1_args *, register_t *);
1822 
1823 int	linux_sys_preadv(struct lwp *, const struct linux_sys_preadv_args *, register_t *);
1824 
1825 int	linux_sys_pwritev(struct lwp *, const struct linux_sys_pwritev_args *, register_t *);
1826 
1827 int	linux_sys_recvmmsg(struct lwp *, const struct linux_sys_recvmmsg_args *, register_t *);
1828 
1829 int	linux_sys_prlimit64(struct lwp *, const struct linux_sys_prlimit64_args *, register_t *);
1830 
1831 int	linux_sys_syncfs(struct lwp *, const struct linux_sys_syncfs_args *, register_t *);
1832 
1833 int	linux_sys_sendmmsg(struct lwp *, const struct linux_sys_sendmmsg_args *, register_t *);
1834 
1835 int	linux_sys_getcpu(struct lwp *, const struct linux_sys_getcpu_args *, register_t *);
1836 
1837 int	linux_sys_renameat2(struct lwp *, const struct linux_sys_renameat2_args *, register_t *);
1838 
1839 int	sys_getrandom(struct lwp *, const struct sys_getrandom_args *, register_t *);
1840 
1841 int	linux_sys_memfd_create(struct lwp *, const struct linux_sys_memfd_create_args *, register_t *);
1842 
1843 int	linux_sys_copy_file_range(struct lwp *, const struct linux_sys_copy_file_range_args *, register_t *);
1844 
1845 int	linux_sys_statx(struct lwp *, const struct linux_sys_statx_args *, register_t *);
1846 
1847 int	linux_sys_clone3(struct lwp *, const struct linux_sys_clone3_args *, register_t *);
1848 
1849 int	linux_sys_close_range(struct lwp *, const struct linux_sys_close_range_args *, register_t *);
1850 
1851 int	linux_sys_faccessat2(struct lwp *, const struct linux_sys_faccessat2_args *, register_t *);
1852 
1853 int	linux_sys_epoll_pwait2(struct lwp *, const struct linux_sys_epoll_pwait2_args *, register_t *);
1854 
1855 int	linux_sys_nosys(struct lwp *, const void *, register_t *);
1856 
1857 #endif /* _LINUX_SYS_SYSCALLARGS_H_ */
1858