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