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