xref: /netbsd-src/sys/compat/linux/arch/alpha/linux_syscallargs.h (revision 796c32c94f6e154afc9de0f63da35c91bb739b45)
1 /* $NetBSD: linux_syscallargs.h,v 1.105 2017/05/10 06:19:48 riastradh 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.94 2017/02/03 16:17:08 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 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 osf1_sys_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(osf1_sys_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 osf1_sys_mount_args {
92 	syscallarg(int) type;
93 	syscallarg(const char *) path;
94 	syscallarg(int) flags;
95 	syscallarg(void *) data;
96 };
97 check_syscall_args(osf1_sys_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 osf1_sys_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(osf1_sys_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 osf1_sys_setitimer_args {
192 	syscallarg(int) which;
193 	syscallarg(struct osf1_itimerval *) itv;
194 	syscallarg(struct osf1_itimerval *) oitv;
195 };
196 check_syscall_args(osf1_sys_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 osf1_sys_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(osf1_sys_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 osf1_sys_gettimeofday_args {
322 	syscallarg(struct osf1_timeval *) tv;
323 	syscallarg(struct osf1_timezone *) tzp;
324 };
325 check_syscall_args(osf1_sys_gettimeofday)
326 
327 struct osf1_sys_getrusage_args {
328 	syscallarg(int) who;
329 	syscallarg(struct osf1_rusage *) rusage;
330 };
331 check_syscall_args(osf1_sys_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 osf1_sys_settimeofday_args {
347 	syscallarg(struct osf1_timeval *) tv;
348 	syscallarg(struct osf1_timezone *) tzp;
349 };
350 check_syscall_args(osf1_sys_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 osf1_sys_utimes_args {
405 	syscallarg(const char *) path;
406 	syscallarg(const struct osf1_timeval *) tptr;
407 };
408 check_syscall_args(osf1_sys_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 osf1_sys_statfs_args {
446 	syscallarg(const char *) path;
447 	syscallarg(struct osf1_statfs *) buf;
448 	syscallarg(int) len;
449 };
450 check_syscall_args(osf1_sys_statfs)
451 
452 struct osf1_sys_fstatfs_args {
453 	syscallarg(int) fd;
454 	syscallarg(struct osf1_statfs *) buf;
455 	syscallarg(int) len;
456 };
457 check_syscall_args(osf1_sys_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 osf1_sys_sysinfo_args {
518 	syscallarg(int) cmd;
519 	syscallarg(char) buf;
520 	syscallarg(long) len;
521 };
522 check_syscall_args(osf1_sys_sysinfo)
523 
524 struct osf1_sys_usleep_thread_args {
525 	syscallarg(struct osf1_timeval *) sleep;
526 	syscallarg(struct osf1_timeval *) slept;
527 };
528 check_syscall_args(osf1_sys_usleep_thread)
529 
530 struct osf1_sys_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(osf1_sys_getsysinfo)
538 
539 struct osf1_sys_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(osf1_sys_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_clock_settime_args {
960 	syscallarg(clockid_t) which;
961 	syscallarg(struct linux_timespec *) tp;
962 };
963 check_syscall_args(linux_sys_clock_settime)
964 
965 struct linux_sys_clock_gettime_args {
966 	syscallarg(clockid_t) which;
967 	syscallarg(struct linux_timespec *) tp;
968 };
969 check_syscall_args(linux_sys_clock_gettime)
970 
971 struct linux_sys_clock_getres_args {
972 	syscallarg(clockid_t) which;
973 	syscallarg(struct linux_timespec *) tp;
974 };
975 check_syscall_args(linux_sys_clock_getres)
976 
977 struct linux_sys_clock_nanosleep_args {
978 	syscallarg(clockid_t) which;
979 	syscallarg(int) flags;
980 	syscallarg(struct linux_timespec *) rqtp;
981 	syscallarg(struct linux_timespec *) rmtp;
982 };
983 check_syscall_args(linux_sys_clock_nanosleep)
984 
985 struct linux_sys_tgkill_args {
986 	syscallarg(int) tgid;
987 	syscallarg(int) tid;
988 	syscallarg(int) sig;
989 };
990 check_syscall_args(linux_sys_tgkill)
991 
992 struct linux_sys_stat64_args {
993 	syscallarg(const char *) path;
994 	syscallarg(struct linux_stat64 *) sp;
995 };
996 check_syscall_args(linux_sys_stat64)
997 
998 struct linux_sys_lstat64_args {
999 	syscallarg(const char *) path;
1000 	syscallarg(struct linux_stat64 *) sp;
1001 };
1002 check_syscall_args(linux_sys_lstat64)
1003 
1004 struct linux_sys_fstat64_args {
1005 	syscallarg(int) fd;
1006 	syscallarg(struct linux_stat64 *) sp;
1007 };
1008 check_syscall_args(linux_sys_fstat64)
1009 
1010 struct linux_sys_openat_args {
1011 	syscallarg(int) fd;
1012 	syscallarg(const char *) path;
1013 	syscallarg(int) flags;
1014 	syscallarg(linux_umode_t) mode;
1015 };
1016 check_syscall_args(linux_sys_openat)
1017 
1018 struct sys_mkdirat_args;
1019 
1020 struct linux_sys_mknodat_args {
1021 	syscallarg(int) fd;
1022 	syscallarg(const char *) path;
1023 	syscallarg(linux_umode_t) mode;
1024 	syscallarg(unsigned) dev;
1025 };
1026 check_syscall_args(linux_sys_mknodat)
1027 
1028 struct linux_sys_fchownat_args {
1029 	syscallarg(int) fd;
1030 	syscallarg(const char *) path;
1031 	syscallarg(uid_t) owner;
1032 	syscallarg(gid_t) group;
1033 	syscallarg(int) flag;
1034 };
1035 check_syscall_args(linux_sys_fchownat)
1036 
1037 struct linux_sys_fstatat64_args {
1038 	syscallarg(int) fd;
1039 	syscallarg(const char *) path;
1040 	syscallarg(struct linux_stat64 *) sp;
1041 	syscallarg(int) flag;
1042 };
1043 check_syscall_args(linux_sys_fstatat64)
1044 
1045 struct linux_sys_unlinkat_args {
1046 	syscallarg(int) fd;
1047 	syscallarg(const char *) path;
1048 	syscallarg(int) flag;
1049 };
1050 check_syscall_args(linux_sys_unlinkat)
1051 
1052 struct sys_renameat_args;
1053 
1054 struct linux_sys_linkat_args {
1055 	syscallarg(int) fd1;
1056 	syscallarg(const char *) name1;
1057 	syscallarg(int) fd2;
1058 	syscallarg(const char *) name2;
1059 	syscallarg(int) flags;
1060 };
1061 check_syscall_args(linux_sys_linkat)
1062 
1063 struct sys_symlinkat_args;
1064 
1065 struct sys_readlinkat_args;
1066 
1067 struct linux_sys_fchmodat_args {
1068 	syscallarg(int) fd;
1069 	syscallarg(const char *) path;
1070 	syscallarg(linux_umode_t) mode;
1071 };
1072 check_syscall_args(linux_sys_fchmodat)
1073 
1074 struct linux_sys_faccessat_args {
1075 	syscallarg(int) fd;
1076 	syscallarg(const char *) path;
1077 	syscallarg(int) amode;
1078 };
1079 check_syscall_args(linux_sys_faccessat)
1080 
1081 struct linux_sys_pselect6_args {
1082 	syscallarg(int) nfds;
1083 	syscallarg(fd_set *) readfds;
1084 	syscallarg(fd_set *) writefds;
1085 	syscallarg(fd_set *) exceptfds;
1086 	syscallarg(struct linux_timespec *) timeout;
1087 	syscallarg(linux_sized_sigset_t *) ss;
1088 };
1089 check_syscall_args(linux_sys_pselect6)
1090 
1091 struct linux_sys_ppoll_args {
1092 	syscallarg(struct pollfd *) fds;
1093 	syscallarg(u_int) nfds;
1094 	syscallarg(struct linux_timespec *) timeout;
1095 	syscallarg(linux_sigset_t *) sigset;
1096 };
1097 check_syscall_args(linux_sys_ppoll)
1098 
1099 struct linux_sys_set_robust_list_args {
1100 	syscallarg(struct linux_robust_list_head *) head;
1101 	syscallarg(size_t) len;
1102 };
1103 check_syscall_args(linux_sys_set_robust_list)
1104 
1105 struct linux_sys_get_robust_list_args {
1106 	syscallarg(int) pid;
1107 	syscallarg(struct linux_robust_list_head **) head;
1108 	syscallarg(size_t *) len;
1109 };
1110 check_syscall_args(linux_sys_get_robust_list)
1111 
1112 struct linux_sys_utimensat_args {
1113 	syscallarg(int) fd;
1114 	syscallarg(const char *) path;
1115 	syscallarg(struct linux_timespec *) times;
1116 	syscallarg(int) flag;
1117 };
1118 check_syscall_args(linux_sys_utimensat)
1119 
1120 struct linux_sys_recvmmsg_args {
1121 	syscallarg(int) s;
1122 	syscallarg(struct linux_mmsghdr *) msgvec;
1123 	syscallarg(unsigned int) vlen;
1124 	syscallarg(unsigned int) flags;
1125 	syscallarg(struct timespec *) timeout;
1126 };
1127 check_syscall_args(linux_sys_recvmmsg)
1128 
1129 struct linux_sys_dup3_args {
1130 	syscallarg(int) from;
1131 	syscallarg(int) to;
1132 	syscallarg(int) flags;
1133 };
1134 check_syscall_args(linux_sys_dup3)
1135 
1136 struct linux_sys_pipe2_args {
1137 	syscallarg(int *) pfds;
1138 	syscallarg(int) flags;
1139 };
1140 check_syscall_args(linux_sys_pipe2)
1141 
1142 struct linux_sys_accept4_args {
1143 	syscallarg(int) s;
1144 	syscallarg(struct osockaddr *) name;
1145 	syscallarg(int *) anamelen;
1146 	syscallarg(int) flags;
1147 };
1148 check_syscall_args(linux_sys_accept4)
1149 
1150 struct linux_sys_sendmmsg_args {
1151 	syscallarg(int) s;
1152 	syscallarg(struct linux_mmsghdr *) msgvec;
1153 	syscallarg(unsigned int) vlen;
1154 	syscallarg(unsigned int) flags;
1155 };
1156 check_syscall_args(linux_sys_sendmmsg)
1157 
1158 /*
1159  * System call prototypes.
1160  */
1161 
1162 int	linux_sys_nosys(struct lwp *, const void *, register_t *);
1163 
1164 int	linux_sys_exit(struct lwp *, const struct linux_sys_exit_args *, register_t *);
1165 
1166 int	sys_fork(struct lwp *, const void *, register_t *);
1167 
1168 int	sys_read(struct lwp *, const struct sys_read_args *, register_t *);
1169 
1170 int	sys_write(struct lwp *, const struct sys_write_args *, register_t *);
1171 
1172 int	sys_close(struct lwp *, const struct sys_close_args *, register_t *);
1173 
1174 int	osf1_sys_wait4(struct lwp *, const struct osf1_sys_wait4_args *, register_t *);
1175 
1176 int	linux_sys_creat(struct lwp *, const struct linux_sys_creat_args *, register_t *);
1177 
1178 int	sys_link(struct lwp *, const struct sys_link_args *, register_t *);
1179 
1180 int	linux_sys_unlink(struct lwp *, const struct linux_sys_unlink_args *, register_t *);
1181 
1182 int	sys_chdir(struct lwp *, const struct sys_chdir_args *, register_t *);
1183 
1184 int	sys_fchdir(struct lwp *, const struct sys_fchdir_args *, register_t *);
1185 
1186 int	linux_sys_mknod(struct lwp *, const struct linux_sys_mknod_args *, register_t *);
1187 
1188 int	sys_chmod(struct lwp *, const struct sys_chmod_args *, register_t *);
1189 
1190 int	sys___posix_chown(struct lwp *, const struct sys___posix_chown_args *, register_t *);
1191 
1192 int	linux_sys_brk(struct lwp *, const struct linux_sys_brk_args *, register_t *);
1193 
1194 int	compat_43_sys_lseek(struct lwp *, const struct compat_43_sys_lseek_args *, register_t *);
1195 
1196 int	sys_getpid_with_ppid(struct lwp *, const void *, register_t *);
1197 
1198 int	osf1_sys_mount(struct lwp *, const struct osf1_sys_mount_args *, register_t *);
1199 
1200 int	sys_setuid(struct lwp *, const struct sys_setuid_args *, register_t *);
1201 
1202 int	sys_getuid_with_euid(struct lwp *, const void *, register_t *);
1203 
1204 int	linux_sys_ptrace(struct lwp *, const struct linux_sys_ptrace_args *, register_t *);
1205 
1206 int	sys_access(struct lwp *, const struct sys_access_args *, register_t *);
1207 
1208 int	sys_sync(struct lwp *, const void *, register_t *);
1209 
1210 int	linux_sys_kill(struct lwp *, const struct linux_sys_kill_args *, register_t *);
1211 
1212 int	sys_setpgid(struct lwp *, const struct sys_setpgid_args *, register_t *);
1213 
1214 int	sys_dup(struct lwp *, const struct sys_dup_args *, register_t *);
1215 
1216 int	linux_sys_pipe(struct lwp *, const void *, register_t *);
1217 
1218 int	osf1_sys_set_program_attributes(struct lwp *, const struct osf1_sys_set_program_attributes_args *, register_t *);
1219 
1220 int	linux_sys_open(struct lwp *, const struct linux_sys_open_args *, register_t *);
1221 
1222 int	sys_getgid_with_egid(struct lwp *, const void *, register_t *);
1223 
1224 int	compat_13_sys_sigprocmask(struct lwp *, const struct compat_13_sys_sigprocmask_args *, register_t *);
1225 
1226 int	sys_acct(struct lwp *, const struct sys_acct_args *, register_t *);
1227 
1228 int	linux_sys_sigpending(struct lwp *, const struct linux_sys_sigpending_args *, register_t *);
1229 
1230 int	linux_sys_ioctl(struct lwp *, const struct linux_sys_ioctl_args *, register_t *);
1231 
1232 int	sys_symlink(struct lwp *, const struct sys_symlink_args *, register_t *);
1233 
1234 int	sys_readlink(struct lwp *, const struct sys_readlink_args *, register_t *);
1235 
1236 int	sys_execve(struct lwp *, const struct sys_execve_args *, register_t *);
1237 
1238 int	sys_umask(struct lwp *, const struct sys_umask_args *, register_t *);
1239 
1240 int	sys_chroot(struct lwp *, const struct sys_chroot_args *, register_t *);
1241 
1242 int	sys_getpgrp(struct lwp *, const void *, register_t *);
1243 
1244 int	compat_43_sys_getpagesize(struct lwp *, const void *, register_t *);
1245 
1246 int	sys___vfork14(struct lwp *, const void *, register_t *);
1247 
1248 int	linux_sys_stat(struct lwp *, const struct linux_sys_stat_args *, register_t *);
1249 
1250 int	linux_sys_lstat(struct lwp *, const struct linux_sys_lstat_args *, register_t *);
1251 
1252 int	linux_sys_mmap(struct lwp *, const struct linux_sys_mmap_args *, register_t *);
1253 
1254 int	sys_munmap(struct lwp *, const struct sys_munmap_args *, register_t *);
1255 
1256 int	linux_sys_mprotect(struct lwp *, const struct linux_sys_mprotect_args *, register_t *);
1257 
1258 int	sys_madvise(struct lwp *, const struct sys_madvise_args *, register_t *);
1259 
1260 int	sys_getgroups(struct lwp *, const struct sys_getgroups_args *, register_t *);
1261 
1262 int	sys_setgroups(struct lwp *, const struct sys_setgroups_args *, register_t *);
1263 
1264 int	osf1_sys_setitimer(struct lwp *, const struct osf1_sys_setitimer_args *, register_t *);
1265 
1266 int	compat_43_sys_gethostname(struct lwp *, const struct compat_43_sys_gethostname_args *, register_t *);
1267 
1268 int	compat_43_sys_sethostname(struct lwp *, const struct compat_43_sys_sethostname_args *, register_t *);
1269 
1270 int	sys_dup2(struct lwp *, const struct sys_dup2_args *, register_t *);
1271 
1272 int	linux_sys_fstat(struct lwp *, const struct linux_sys_fstat_args *, register_t *);
1273 
1274 int	linux_sys_fcntl(struct lwp *, const struct linux_sys_fcntl_args *, register_t *);
1275 
1276 int	osf1_sys_select(struct lwp *, const struct osf1_sys_select_args *, register_t *);
1277 
1278 int	sys_poll(struct lwp *, const struct sys_poll_args *, register_t *);
1279 
1280 int	sys_fsync(struct lwp *, const struct sys_fsync_args *, register_t *);
1281 
1282 int	sys_setpriority(struct lwp *, const struct sys_setpriority_args *, register_t *);
1283 
1284 int	linux_sys_socket(struct lwp *, const struct linux_sys_socket_args *, register_t *);
1285 
1286 int	linux_sys_connect(struct lwp *, const struct linux_sys_connect_args *, register_t *);
1287 
1288 int	linux_sys_accept(struct lwp *, const struct linux_sys_accept_args *, register_t *);
1289 
1290 int	linux_sys_getpriority(struct lwp *, const struct linux_sys_getpriority_args *, register_t *);
1291 
1292 int	linux_sys_send(struct lwp *, const struct linux_sys_send_args *, register_t *);
1293 
1294 int	linux_sys_recv(struct lwp *, const struct linux_sys_recv_args *, register_t *);
1295 
1296 int	linux_sys_sigreturn(struct lwp *, const struct linux_sys_sigreturn_args *, register_t *);
1297 
1298 int	linux_sys_bind(struct lwp *, const struct linux_sys_bind_args *, register_t *);
1299 
1300 int	linux_sys_setsockopt(struct lwp *, const struct linux_sys_setsockopt_args *, register_t *);
1301 
1302 int	sys_listen(struct lwp *, const struct sys_listen_args *, register_t *);
1303 
1304 int	linux_sys_sigsuspend(struct lwp *, const struct linux_sys_sigsuspend_args *, register_t *);
1305 
1306 int	compat_43_sys_sigstack(struct lwp *, const struct compat_43_sys_sigstack_args *, register_t *);
1307 
1308 int	linux_sys_recvmsg(struct lwp *, const struct linux_sys_recvmsg_args *, register_t *);
1309 
1310 int	linux_sys_sendmsg(struct lwp *, const struct linux_sys_sendmsg_args *, register_t *);
1311 
1312 int	osf1_sys_gettimeofday(struct lwp *, const struct osf1_sys_gettimeofday_args *, register_t *);
1313 
1314 int	osf1_sys_getrusage(struct lwp *, const struct osf1_sys_getrusage_args *, register_t *);
1315 
1316 int	linux_sys_getsockopt(struct lwp *, const struct linux_sys_getsockopt_args *, register_t *);
1317 
1318 int	sys_readv(struct lwp *, const struct sys_readv_args *, register_t *);
1319 
1320 int	sys_writev(struct lwp *, const struct sys_writev_args *, register_t *);
1321 
1322 int	osf1_sys_settimeofday(struct lwp *, const struct osf1_sys_settimeofday_args *, register_t *);
1323 
1324 int	sys___posix_fchown(struct lwp *, const struct sys___posix_fchown_args *, register_t *);
1325 
1326 int	sys_fchmod(struct lwp *, const struct sys_fchmod_args *, register_t *);
1327 
1328 int	linux_sys_recvfrom(struct lwp *, const struct linux_sys_recvfrom_args *, register_t *);
1329 
1330 int	sys_setreuid(struct lwp *, const struct sys_setreuid_args *, register_t *);
1331 
1332 int	sys_setregid(struct lwp *, const struct sys_setregid_args *, register_t *);
1333 
1334 int	sys___posix_rename(struct lwp *, const struct sys___posix_rename_args *, register_t *);
1335 
1336 int	compat_43_sys_truncate(struct lwp *, const struct compat_43_sys_truncate_args *, register_t *);
1337 
1338 int	compat_43_sys_ftruncate(struct lwp *, const struct compat_43_sys_ftruncate_args *, register_t *);
1339 
1340 int	sys_flock(struct lwp *, const struct sys_flock_args *, register_t *);
1341 
1342 int	sys_setgid(struct lwp *, const struct sys_setgid_args *, register_t *);
1343 
1344 int	linux_sys_sendto(struct lwp *, const struct linux_sys_sendto_args *, register_t *);
1345 
1346 int	sys_shutdown(struct lwp *, const struct sys_shutdown_args *, register_t *);
1347 
1348 int	linux_sys_socketpair(struct lwp *, const struct linux_sys_socketpair_args *, register_t *);
1349 
1350 int	sys_mkdir(struct lwp *, const struct sys_mkdir_args *, register_t *);
1351 
1352 int	sys_rmdir(struct lwp *, const struct sys_rmdir_args *, register_t *);
1353 
1354 int	osf1_sys_utimes(struct lwp *, const struct osf1_sys_utimes_args *, register_t *);
1355 
1356 int	linux_sys_getpeername(struct lwp *, const struct linux_sys_getpeername_args *, register_t *);
1357 
1358 int	linux_sys_getrlimit(struct lwp *, const struct linux_sys_getrlimit_args *, register_t *);
1359 
1360 int	linux_sys_setrlimit(struct lwp *, const struct linux_sys_setrlimit_args *, register_t *);
1361 
1362 int	sys_setsid(struct lwp *, const void *, register_t *);
1363 
1364 int	linux_sys_getsockname(struct lwp *, const struct linux_sys_getsockname_args *, register_t *);
1365 
1366 int	linux_sys_sigaction(struct lwp *, const struct linux_sys_sigaction_args *, register_t *);
1367 
1368 int	compat_43_sys_getdirentries(struct lwp *, const struct compat_43_sys_getdirentries_args *, register_t *);
1369 
1370 int	osf1_sys_statfs(struct lwp *, const struct osf1_sys_statfs_args *, register_t *);
1371 
1372 int	osf1_sys_fstatfs(struct lwp *, const struct osf1_sys_fstatfs_args *, register_t *);
1373 
1374 int	compat_09_sys_getdomainname(struct lwp *, const struct compat_09_sys_getdomainname_args *, register_t *);
1375 
1376 int	linux_sys_setdomainname(struct lwp *, const struct linux_sys_setdomainname_args *, register_t *);
1377 
1378 int	linux_sys_ugetrlimit(struct lwp *, const struct linux_sys_ugetrlimit_args *, register_t *);
1379 
1380 #ifdef SYSVMSG
1381 int	linux_sys_msgctl(struct lwp *, const struct linux_sys_msgctl_args *, register_t *);
1382 
1383 int	sys_msgget(struct lwp *, const struct sys_msgget_args *, register_t *);
1384 
1385 int	sys_msgrcv(struct lwp *, const struct sys_msgrcv_args *, register_t *);
1386 
1387 int	sys_msgsnd(struct lwp *, const struct sys_msgsnd_args *, register_t *);
1388 
1389 #else
1390 #endif
1391 #ifdef SYSVSEM
1392 int	linux_sys_semctl(struct lwp *, const struct linux_sys_semctl_args *, register_t *);
1393 
1394 int	sys_semget(struct lwp *, const struct sys_semget_args *, register_t *);
1395 
1396 int	sys_semop(struct lwp *, const struct sys_semop_args *, register_t *);
1397 
1398 #else
1399 #endif
1400 int	linux_sys_olduname(struct lwp *, const struct linux_sys_olduname_args *, register_t *);
1401 
1402 int	sys___posix_lchown(struct lwp *, const struct sys___posix_lchown_args *, register_t *);
1403 
1404 #ifdef SYSVSHM
1405 int	linux_sys_shmat(struct lwp *, const struct linux_sys_shmat_args *, register_t *);
1406 
1407 int	linux_sys_shmctl(struct lwp *, const struct linux_sys_shmctl_args *, register_t *);
1408 
1409 int	sys_shmdt(struct lwp *, const struct sys_shmdt_args *, register_t *);
1410 
1411 int	linux_sys_shmget(struct lwp *, const struct linux_sys_shmget_args *, register_t *);
1412 
1413 #else
1414 #endif
1415 int	sys___msync13(struct lwp *, const struct sys___msync13_args *, register_t *);
1416 
1417 int	sys_getpgid(struct lwp *, const struct sys_getpgid_args *, register_t *);
1418 
1419 int	sys_getsid(struct lwp *, const struct sys_getsid_args *, register_t *);
1420 
1421 int	osf1_sys_sysinfo(struct lwp *, const struct osf1_sys_sysinfo_args *, register_t *);
1422 
1423 int	osf1_sys_usleep_thread(struct lwp *, const struct osf1_sys_usleep_thread_args *, register_t *);
1424 
1425 int	osf1_sys_getsysinfo(struct lwp *, const struct osf1_sys_getsysinfo_args *, register_t *);
1426 
1427 int	osf1_sys_setsysinfo(struct lwp *, const struct osf1_sys_setsysinfo_args *, register_t *);
1428 
1429 int	linux_sys_fdatasync(struct lwp *, const struct linux_sys_fdatasync_args *, register_t *);
1430 
1431 int	linux_sys_swapoff(struct lwp *, const struct linux_sys_swapoff_args *, register_t *);
1432 
1433 int	linux_sys_getdents(struct lwp *, const struct linux_sys_getdents_args *, register_t *);
1434 
1435 int	linux_sys_reboot(struct lwp *, const struct linux_sys_reboot_args *, register_t *);
1436 
1437 int	linux_sys_clone(struct lwp *, const struct linux_sys_clone_args *, register_t *);
1438 
1439 #ifdef EXEC_AOUT
1440 int	linux_sys_uselib(struct lwp *, const struct linux_sys_uselib_args *, register_t *);
1441 
1442 #else
1443 #endif
1444 int	sys_mlock(struct lwp *, const struct sys_mlock_args *, register_t *);
1445 
1446 int	sys_munlock(struct lwp *, const struct sys_munlock_args *, register_t *);
1447 
1448 int	sys_mlockall(struct lwp *, const struct sys_mlockall_args *, register_t *);
1449 
1450 int	sys_munlockall(struct lwp *, const void *, register_t *);
1451 
1452 int	linux_sys_sysinfo(struct lwp *, const struct linux_sys_sysinfo_args *, register_t *);
1453 
1454 int	linux_sys___sysctl(struct lwp *, const struct linux_sys___sysctl_args *, register_t *);
1455 
1456 int	linux_sys_swapon(struct lwp *, const struct linux_sys_swapon_args *, register_t *);
1457 
1458 int	linux_sys_times(struct lwp *, const struct linux_sys_times_args *, register_t *);
1459 
1460 int	linux_sys_personality(struct lwp *, const struct linux_sys_personality_args *, register_t *);
1461 
1462 int	linux_sys_setfsuid(struct lwp *, const struct linux_sys_setfsuid_args *, register_t *);
1463 
1464 int	linux_sys_setfsgid(struct lwp *, const struct linux_sys_setfsgid_args *, register_t *);
1465 
1466 int	linux_sys_statfs(struct lwp *, const struct linux_sys_statfs_args *, register_t *);
1467 
1468 int	linux_sys_fstatfs(struct lwp *, const struct linux_sys_fstatfs_args *, register_t *);
1469 
1470 int	linux_sys_sched_setparam(struct lwp *, const struct linux_sys_sched_setparam_args *, register_t *);
1471 
1472 int	linux_sys_sched_getparam(struct lwp *, const struct linux_sys_sched_getparam_args *, register_t *);
1473 
1474 int	linux_sys_sched_setscheduler(struct lwp *, const struct linux_sys_sched_setscheduler_args *, register_t *);
1475 
1476 int	linux_sys_sched_getscheduler(struct lwp *, const struct linux_sys_sched_getscheduler_args *, register_t *);
1477 
1478 int	linux_sys_sched_yield(struct lwp *, const void *, register_t *);
1479 
1480 int	linux_sys_sched_get_priority_max(struct lwp *, const struct linux_sys_sched_get_priority_max_args *, register_t *);
1481 
1482 int	linux_sys_sched_get_priority_min(struct lwp *, const struct linux_sys_sched_get_priority_min_args *, register_t *);
1483 
1484 int	linux_sys_uname(struct lwp *, const struct linux_sys_uname_args *, register_t *);
1485 
1486 int	linux_sys_nanosleep(struct lwp *, const struct linux_sys_nanosleep_args *, register_t *);
1487 
1488 int	linux_sys_mremap(struct lwp *, const struct linux_sys_mremap_args *, register_t *);
1489 
1490 int	linux_sys_setresuid(struct lwp *, const struct linux_sys_setresuid_args *, register_t *);
1491 
1492 int	linux_sys_getresuid(struct lwp *, const struct linux_sys_getresuid_args *, register_t *);
1493 
1494 int	linux_sys_pread(struct lwp *, const struct linux_sys_pread_args *, register_t *);
1495 
1496 int	linux_sys_pwrite(struct lwp *, const struct linux_sys_pwrite_args *, register_t *);
1497 
1498 int	linux_sys_rt_sigreturn(struct lwp *, const struct linux_sys_rt_sigreturn_args *, register_t *);
1499 
1500 int	linux_sys_rt_sigaction(struct lwp *, const struct linux_sys_rt_sigaction_args *, register_t *);
1501 
1502 int	linux_sys_rt_sigprocmask(struct lwp *, const struct linux_sys_rt_sigprocmask_args *, register_t *);
1503 
1504 int	linux_sys_rt_sigpending(struct lwp *, const struct linux_sys_rt_sigpending_args *, register_t *);
1505 
1506 int	linux_sys_rt_sigtimedwait(struct lwp *, const struct linux_sys_rt_sigtimedwait_args *, register_t *);
1507 
1508 int	linux_sys_rt_queueinfo(struct lwp *, const struct linux_sys_rt_queueinfo_args *, register_t *);
1509 
1510 int	linux_sys_rt_sigsuspend(struct lwp *, const struct linux_sys_rt_sigsuspend_args *, register_t *);
1511 
1512 int	linux_sys_select(struct lwp *, const struct linux_sys_select_args *, register_t *);
1513 
1514 int	linux_sys_gettimeofday(struct lwp *, const struct linux_sys_gettimeofday_args *, register_t *);
1515 
1516 int	linux_sys_settimeofday(struct lwp *, const struct linux_sys_settimeofday_args *, register_t *);
1517 
1518 int	compat_50_sys_getitimer(struct lwp *, const struct compat_50_sys_getitimer_args *, register_t *);
1519 
1520 int	compat_50_sys_setitimer(struct lwp *, const struct compat_50_sys_setitimer_args *, register_t *);
1521 
1522 int	compat_50_sys_utimes(struct lwp *, const struct compat_50_sys_utimes_args *, register_t *);
1523 
1524 int	compat_50_sys_getrusage(struct lwp *, const struct compat_50_sys_getrusage_args *, register_t *);
1525 
1526 int	linux_sys_wait4(struct lwp *, const struct linux_sys_wait4_args *, register_t *);
1527 
1528 int	sys___getcwd(struct lwp *, const struct sys___getcwd_args *, register_t *);
1529 
1530 int	sys_mincore(struct lwp *, const struct sys_mincore_args *, register_t *);
1531 
1532 int	linux_sys_getdents64(struct lwp *, const struct linux_sys_getdents64_args *, register_t *);
1533 
1534 int	linux_sys_gettid(struct lwp *, const void *, register_t *);
1535 
1536 int	linux_sys_tkill(struct lwp *, const struct linux_sys_tkill_args *, register_t *);
1537 
1538 int	linux_sys_setxattr(struct lwp *, const struct linux_sys_setxattr_args *, register_t *);
1539 
1540 int	linux_sys_lsetxattr(struct lwp *, const struct linux_sys_lsetxattr_args *, register_t *);
1541 
1542 int	linux_sys_fsetxattr(struct lwp *, const struct linux_sys_fsetxattr_args *, register_t *);
1543 
1544 int	linux_sys_getxattr(struct lwp *, const struct linux_sys_getxattr_args *, register_t *);
1545 
1546 int	linux_sys_lgetxattr(struct lwp *, const struct linux_sys_lgetxattr_args *, register_t *);
1547 
1548 int	linux_sys_fgetxattr(struct lwp *, const struct linux_sys_fgetxattr_args *, register_t *);
1549 
1550 int	linux_sys_listxattr(struct lwp *, const struct linux_sys_listxattr_args *, register_t *);
1551 
1552 int	linux_sys_llistxattr(struct lwp *, const struct linux_sys_llistxattr_args *, register_t *);
1553 
1554 int	linux_sys_flistxattr(struct lwp *, const struct linux_sys_flistxattr_args *, register_t *);
1555 
1556 int	linux_sys_removexattr(struct lwp *, const struct linux_sys_removexattr_args *, register_t *);
1557 
1558 int	linux_sys_lremovexattr(struct lwp *, const struct linux_sys_lremovexattr_args *, register_t *);
1559 
1560 int	linux_sys_fremovexattr(struct lwp *, const struct linux_sys_fremovexattr_args *, register_t *);
1561 
1562 int	linux_sys_futex(struct lwp *, const struct linux_sys_futex_args *, register_t *);
1563 
1564 int	linux_sys_sched_setaffinity(struct lwp *, const struct linux_sys_sched_setaffinity_args *, register_t *);
1565 
1566 int	linux_sys_sched_getaffinity(struct lwp *, const struct linux_sys_sched_getaffinity_args *, register_t *);
1567 
1568 int	linux_sys_exit_group(struct lwp *, const struct linux_sys_exit_group_args *, register_t *);
1569 
1570 int	linux_sys_set_tid_address(struct lwp *, const struct linux_sys_set_tid_address_args *, register_t *);
1571 
1572 int	linux_sys_fadvise64(struct lwp *, const struct linux_sys_fadvise64_args *, register_t *);
1573 
1574 int	linux_sys_clock_settime(struct lwp *, const struct linux_sys_clock_settime_args *, register_t *);
1575 
1576 int	linux_sys_clock_gettime(struct lwp *, const struct linux_sys_clock_gettime_args *, register_t *);
1577 
1578 int	linux_sys_clock_getres(struct lwp *, const struct linux_sys_clock_getres_args *, register_t *);
1579 
1580 int	linux_sys_clock_nanosleep(struct lwp *, const struct linux_sys_clock_nanosleep_args *, register_t *);
1581 
1582 int	linux_sys_tgkill(struct lwp *, const struct linux_sys_tgkill_args *, register_t *);
1583 
1584 int	linux_sys_stat64(struct lwp *, const struct linux_sys_stat64_args *, register_t *);
1585 
1586 int	linux_sys_lstat64(struct lwp *, const struct linux_sys_lstat64_args *, register_t *);
1587 
1588 int	linux_sys_fstat64(struct lwp *, const struct linux_sys_fstat64_args *, register_t *);
1589 
1590 int	linux_sys_openat(struct lwp *, const struct linux_sys_openat_args *, register_t *);
1591 
1592 int	sys_mkdirat(struct lwp *, const struct sys_mkdirat_args *, register_t *);
1593 
1594 int	linux_sys_mknodat(struct lwp *, const struct linux_sys_mknodat_args *, register_t *);
1595 
1596 int	linux_sys_fchownat(struct lwp *, const struct linux_sys_fchownat_args *, register_t *);
1597 
1598 int	linux_sys_fstatat64(struct lwp *, const struct linux_sys_fstatat64_args *, register_t *);
1599 
1600 int	linux_sys_unlinkat(struct lwp *, const struct linux_sys_unlinkat_args *, register_t *);
1601 
1602 int	sys_renameat(struct lwp *, const struct sys_renameat_args *, register_t *);
1603 
1604 int	linux_sys_linkat(struct lwp *, const struct linux_sys_linkat_args *, register_t *);
1605 
1606 int	sys_symlinkat(struct lwp *, const struct sys_symlinkat_args *, register_t *);
1607 
1608 int	sys_readlinkat(struct lwp *, const struct sys_readlinkat_args *, register_t *);
1609 
1610 int	linux_sys_fchmodat(struct lwp *, const struct linux_sys_fchmodat_args *, register_t *);
1611 
1612 int	linux_sys_faccessat(struct lwp *, const struct linux_sys_faccessat_args *, register_t *);
1613 
1614 int	linux_sys_pselect6(struct lwp *, const struct linux_sys_pselect6_args *, register_t *);
1615 
1616 int	linux_sys_ppoll(struct lwp *, const struct linux_sys_ppoll_args *, register_t *);
1617 
1618 int	linux_sys_set_robust_list(struct lwp *, const struct linux_sys_set_robust_list_args *, register_t *);
1619 
1620 int	linux_sys_get_robust_list(struct lwp *, const struct linux_sys_get_robust_list_args *, register_t *);
1621 
1622 int	linux_sys_utimensat(struct lwp *, const struct linux_sys_utimensat_args *, register_t *);
1623 
1624 int	linux_sys_recvmmsg(struct lwp *, const struct linux_sys_recvmmsg_args *, register_t *);
1625 
1626 int	linux_sys_dup3(struct lwp *, const struct linux_sys_dup3_args *, register_t *);
1627 
1628 int	linux_sys_pipe2(struct lwp *, const struct linux_sys_pipe2_args *, register_t *);
1629 
1630 int	linux_sys_accept4(struct lwp *, const struct linux_sys_accept4_args *, register_t *);
1631 
1632 int	linux_sys_sendmmsg(struct lwp *, const struct linux_sys_sendmmsg_args *, register_t *);
1633 
1634 #endif /* _LINUX_SYS_SYSCALLARGS_H_ */
1635