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