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