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