Home | History | Annotate | Line # | Download | only in arm
linux_syscallargs.h revision 1.1
      1  1.1  bjh21 /* $NetBSD: linux_syscallargs.h,v 1.1 2002/01/14 23:17:16 bjh21 Exp $ */
      2  1.1  bjh21 
      3  1.1  bjh21 /*
      4  1.1  bjh21  * System call argument lists.
      5  1.1  bjh21  *
      6  1.1  bjh21  * DO NOT EDIT-- this file is automatically generated.
      7  1.1  bjh21  * created from	NetBSD: syscalls.master,v 1.1 2002/01/14 23:14:41 bjh21 Exp
      8  1.1  bjh21  */
      9  1.1  bjh21 
     10  1.1  bjh21 #ifndef _LINUX_SYS__SYSCALLARGS_H_
     11  1.1  bjh21 #define	_LINUX_SYS__SYSCALLARGS_H_
     12  1.1  bjh21 
     13  1.1  bjh21 #ifdef	syscallarg
     14  1.1  bjh21 #undef	syscallarg
     15  1.1  bjh21 #endif
     16  1.1  bjh21 
     17  1.1  bjh21 #define	syscallarg(x)							\
     18  1.1  bjh21 	union {								\
     19  1.1  bjh21 		register_t pad;						\
     20  1.1  bjh21 		struct { x datum; } le;					\
     21  1.1  bjh21 		struct { /* LINTED zero array dimension */		\
     22  1.1  bjh21 			int8_t pad[  /* CONSTCOND */			\
     23  1.1  bjh21 				(sizeof (register_t) < sizeof (x))	\
     24  1.1  bjh21 				? 0					\
     25  1.1  bjh21 				: sizeof (register_t) - sizeof (x)];	\
     26  1.1  bjh21 			x datum;					\
     27  1.1  bjh21 		} be;							\
     28  1.1  bjh21 	}
     29  1.1  bjh21 
     30  1.1  bjh21 struct linux_sys_open_args {
     31  1.1  bjh21 	syscallarg(const char *) path;
     32  1.1  bjh21 	syscallarg(int) flags;
     33  1.1  bjh21 	syscallarg(int) mode;
     34  1.1  bjh21 };
     35  1.1  bjh21 
     36  1.1  bjh21 struct linux_sys_waitpid_args {
     37  1.1  bjh21 	syscallarg(int) pid;
     38  1.1  bjh21 	syscallarg(int *) status;
     39  1.1  bjh21 	syscallarg(int) options;
     40  1.1  bjh21 };
     41  1.1  bjh21 
     42  1.1  bjh21 struct linux_sys_creat_args {
     43  1.1  bjh21 	syscallarg(const char *) path;
     44  1.1  bjh21 	syscallarg(int) mode;
     45  1.1  bjh21 };
     46  1.1  bjh21 
     47  1.1  bjh21 struct linux_sys_link_args {
     48  1.1  bjh21 	syscallarg(const char *) path;
     49  1.1  bjh21 	syscallarg(const char *) link;
     50  1.1  bjh21 };
     51  1.1  bjh21 
     52  1.1  bjh21 struct linux_sys_unlink_args {
     53  1.1  bjh21 	syscallarg(const char *) path;
     54  1.1  bjh21 };
     55  1.1  bjh21 
     56  1.1  bjh21 struct linux_sys_execve_args {
     57  1.1  bjh21 	syscallarg(const char *) path;
     58  1.1  bjh21 	syscallarg(char **) argp;
     59  1.1  bjh21 	syscallarg(char **) envp;
     60  1.1  bjh21 };
     61  1.1  bjh21 
     62  1.1  bjh21 struct linux_sys_chdir_args {
     63  1.1  bjh21 	syscallarg(const char *) path;
     64  1.1  bjh21 };
     65  1.1  bjh21 
     66  1.1  bjh21 struct linux_sys_time_args {
     67  1.1  bjh21 	syscallarg(linux_time_t *) t;
     68  1.1  bjh21 };
     69  1.1  bjh21 
     70  1.1  bjh21 struct linux_sys_mknod_args {
     71  1.1  bjh21 	syscallarg(const char *) path;
     72  1.1  bjh21 	syscallarg(int) mode;
     73  1.1  bjh21 	syscallarg(int) dev;
     74  1.1  bjh21 };
     75  1.1  bjh21 
     76  1.1  bjh21 struct linux_sys_chmod_args {
     77  1.1  bjh21 	syscallarg(const char *) path;
     78  1.1  bjh21 	syscallarg(int) mode;
     79  1.1  bjh21 };
     80  1.1  bjh21 
     81  1.1  bjh21 struct linux_sys_lchown16_args {
     82  1.1  bjh21 	syscallarg(const char *) path;
     83  1.1  bjh21 	syscallarg(int) uid;
     84  1.1  bjh21 	syscallarg(int) gid;
     85  1.1  bjh21 };
     86  1.1  bjh21 
     87  1.1  bjh21 struct linux_sys_stime_args {
     88  1.1  bjh21 	syscallarg(linux_time_t *) t;
     89  1.1  bjh21 };
     90  1.1  bjh21 
     91  1.1  bjh21 struct linux_sys_ptrace_args {
     92  1.1  bjh21 	syscallarg(int) request;
     93  1.1  bjh21 	syscallarg(int) pid;
     94  1.1  bjh21 	syscallarg(int) addr;
     95  1.1  bjh21 	syscallarg(int) data;
     96  1.1  bjh21 };
     97  1.1  bjh21 
     98  1.1  bjh21 struct linux_sys_alarm_args {
     99  1.1  bjh21 	syscallarg(unsigned int) secs;
    100  1.1  bjh21 };
    101  1.1  bjh21 
    102  1.1  bjh21 struct linux_sys_utime_args {
    103  1.1  bjh21 	syscallarg(const char *) path;
    104  1.1  bjh21 	syscallarg(struct linux_utimbuf *) times;
    105  1.1  bjh21 };
    106  1.1  bjh21 
    107  1.1  bjh21 struct linux_sys_access_args {
    108  1.1  bjh21 	syscallarg(const char *) path;
    109  1.1  bjh21 	syscallarg(int) flags;
    110  1.1  bjh21 };
    111  1.1  bjh21 
    112  1.1  bjh21 struct linux_sys_nice_args {
    113  1.1  bjh21 	syscallarg(int) incr;
    114  1.1  bjh21 };
    115  1.1  bjh21 
    116  1.1  bjh21 struct linux_sys_kill_args {
    117  1.1  bjh21 	syscallarg(int) pid;
    118  1.1  bjh21 	syscallarg(int) signum;
    119  1.1  bjh21 };
    120  1.1  bjh21 
    121  1.1  bjh21 struct linux_sys_rename_args {
    122  1.1  bjh21 	syscallarg(const char *) from;
    123  1.1  bjh21 	syscallarg(const char *) to;
    124  1.1  bjh21 };
    125  1.1  bjh21 
    126  1.1  bjh21 struct linux_sys_mkdir_args {
    127  1.1  bjh21 	syscallarg(const char *) path;
    128  1.1  bjh21 	syscallarg(int) mode;
    129  1.1  bjh21 };
    130  1.1  bjh21 
    131  1.1  bjh21 struct linux_sys_rmdir_args {
    132  1.1  bjh21 	syscallarg(const char *) path;
    133  1.1  bjh21 };
    134  1.1  bjh21 
    135  1.1  bjh21 struct linux_sys_pipe_args {
    136  1.1  bjh21 	syscallarg(int *) pfds;
    137  1.1  bjh21 };
    138  1.1  bjh21 
    139  1.1  bjh21 struct linux_sys_times_args {
    140  1.1  bjh21 	syscallarg(struct times *) tms;
    141  1.1  bjh21 };
    142  1.1  bjh21 
    143  1.1  bjh21 struct linux_sys_brk_args {
    144  1.1  bjh21 	syscallarg(char *) nsize;
    145  1.1  bjh21 };
    146  1.1  bjh21 
    147  1.1  bjh21 struct linux_sys_signal_args {
    148  1.1  bjh21 	syscallarg(int) signum;
    149  1.1  bjh21 	syscallarg(linux_handler_t) handler;
    150  1.1  bjh21 };
    151  1.1  bjh21 
    152  1.1  bjh21 struct linux_sys_ioctl_args {
    153  1.1  bjh21 	syscallarg(int) fd;
    154  1.1  bjh21 	syscallarg(u_long) com;
    155  1.1  bjh21 	syscallarg(caddr_t) data;
    156  1.1  bjh21 };
    157  1.1  bjh21 
    158  1.1  bjh21 struct linux_sys_fcntl_args {
    159  1.1  bjh21 	syscallarg(int) fd;
    160  1.1  bjh21 	syscallarg(int) cmd;
    161  1.1  bjh21 	syscallarg(void *) arg;
    162  1.1  bjh21 };
    163  1.1  bjh21 
    164  1.1  bjh21 struct linux_sys_olduname_args {
    165  1.1  bjh21 	syscallarg(struct linux_old_utsname *) up;
    166  1.1  bjh21 };
    167  1.1  bjh21 
    168  1.1  bjh21 struct linux_sys_sigaction_args {
    169  1.1  bjh21 	syscallarg(int) signum;
    170  1.1  bjh21 	syscallarg(const struct linux_old_sigaction *) nsa;
    171  1.1  bjh21 	syscallarg(struct linux_old_sigaction *) osa;
    172  1.1  bjh21 };
    173  1.1  bjh21 
    174  1.1  bjh21 struct linux_sys_sigsetmask_args {
    175  1.1  bjh21 	syscallarg(linux_old_sigset_t) mask;
    176  1.1  bjh21 };
    177  1.1  bjh21 
    178  1.1  bjh21 struct linux_sys_sigsuspend_args {
    179  1.1  bjh21 	syscallarg(caddr_t) restart;
    180  1.1  bjh21 	syscallarg(int) oldmask;
    181  1.1  bjh21 	syscallarg(int) mask;
    182  1.1  bjh21 };
    183  1.1  bjh21 
    184  1.1  bjh21 struct linux_sys_sigpending_args {
    185  1.1  bjh21 	syscallarg(linux_old_sigset_t *) set;
    186  1.1  bjh21 };
    187  1.1  bjh21 
    188  1.1  bjh21 struct linux_sys_gettimeofday_args {
    189  1.1  bjh21 	syscallarg(struct timeval *) tp;
    190  1.1  bjh21 	syscallarg(struct timezone *) tzp;
    191  1.1  bjh21 };
    192  1.1  bjh21 
    193  1.1  bjh21 struct linux_sys_settimeofday_args {
    194  1.1  bjh21 	syscallarg(struct timeval *) tp;
    195  1.1  bjh21 	syscallarg(struct timezone *) tzp;
    196  1.1  bjh21 };
    197  1.1  bjh21 
    198  1.1  bjh21 struct linux_sys_oldselect_args {
    199  1.1  bjh21 	syscallarg(struct linux_oldselect *) lsp;
    200  1.1  bjh21 };
    201  1.1  bjh21 
    202  1.1  bjh21 struct linux_sys_symlink_args {
    203  1.1  bjh21 	syscallarg(const char *) path;
    204  1.1  bjh21 	syscallarg(const char *) to;
    205  1.1  bjh21 };
    206  1.1  bjh21 
    207  1.1  bjh21 struct linux_sys_readlink_args {
    208  1.1  bjh21 	syscallarg(const char *) name;
    209  1.1  bjh21 	syscallarg(char *) buf;
    210  1.1  bjh21 	syscallarg(int) count;
    211  1.1  bjh21 };
    212  1.1  bjh21 
    213  1.1  bjh21 struct linux_sys_uselib_args {
    214  1.1  bjh21 	syscallarg(const char *) path;
    215  1.1  bjh21 };
    216  1.1  bjh21 
    217  1.1  bjh21 struct linux_sys_swapon_args {
    218  1.1  bjh21 	syscallarg(char *) name;
    219  1.1  bjh21 };
    220  1.1  bjh21 
    221  1.1  bjh21 struct linux_sys_reboot_args {
    222  1.1  bjh21 	syscallarg(int) magic1;
    223  1.1  bjh21 	syscallarg(int) magic2;
    224  1.1  bjh21 	syscallarg(int) cmd;
    225  1.1  bjh21 	syscallarg(void *) arg;
    226  1.1  bjh21 };
    227  1.1  bjh21 
    228  1.1  bjh21 struct linux_sys_readdir_args {
    229  1.1  bjh21 	syscallarg(int) fd;
    230  1.1  bjh21 	syscallarg(caddr_t) dent;
    231  1.1  bjh21 	syscallarg(unsigned int) count;
    232  1.1  bjh21 };
    233  1.1  bjh21 
    234  1.1  bjh21 struct linux_sys_old_mmap_args {
    235  1.1  bjh21 	syscallarg(struct linux_oldmmap *) lmp;
    236  1.1  bjh21 };
    237  1.1  bjh21 
    238  1.1  bjh21 struct linux_sys_truncate_args {
    239  1.1  bjh21 	syscallarg(const char *) path;
    240  1.1  bjh21 	syscallarg(long) length;
    241  1.1  bjh21 };
    242  1.1  bjh21 
    243  1.1  bjh21 struct linux_sys_fchown16_args {
    244  1.1  bjh21 	syscallarg(int) fd;
    245  1.1  bjh21 	syscallarg(int) uid;
    246  1.1  bjh21 	syscallarg(int) gid;
    247  1.1  bjh21 };
    248  1.1  bjh21 
    249  1.1  bjh21 struct linux_sys_statfs_args {
    250  1.1  bjh21 	syscallarg(const char *) path;
    251  1.1  bjh21 	syscallarg(struct linux_statfs *) sp;
    252  1.1  bjh21 };
    253  1.1  bjh21 
    254  1.1  bjh21 struct linux_sys_fstatfs_args {
    255  1.1  bjh21 	syscallarg(int) fd;
    256  1.1  bjh21 	syscallarg(struct linux_statfs *) sp;
    257  1.1  bjh21 };
    258  1.1  bjh21 
    259  1.1  bjh21 struct linux_sys_socketcall_args {
    260  1.1  bjh21 	syscallarg(int) what;
    261  1.1  bjh21 	syscallarg(void *) args;
    262  1.1  bjh21 };
    263  1.1  bjh21 
    264  1.1  bjh21 struct linux_sys_stat_args {
    265  1.1  bjh21 	syscallarg(const char *) path;
    266  1.1  bjh21 	syscallarg(struct linux_stat *) sp;
    267  1.1  bjh21 };
    268  1.1  bjh21 
    269  1.1  bjh21 struct linux_sys_lstat_args {
    270  1.1  bjh21 	syscallarg(const char *) path;
    271  1.1  bjh21 	syscallarg(struct linux_stat *) sp;
    272  1.1  bjh21 };
    273  1.1  bjh21 
    274  1.1  bjh21 struct linux_sys_fstat_args {
    275  1.1  bjh21 	syscallarg(int) fd;
    276  1.1  bjh21 	syscallarg(struct linux_stat *) sp;
    277  1.1  bjh21 };
    278  1.1  bjh21 
    279  1.1  bjh21 struct linux_sys_uname_args {
    280  1.1  bjh21 	syscallarg(struct linux_utsname *) up;
    281  1.1  bjh21 };
    282  1.1  bjh21 
    283  1.1  bjh21 struct linux_sys_wait4_args {
    284  1.1  bjh21 	syscallarg(int) pid;
    285  1.1  bjh21 	syscallarg(int *) status;
    286  1.1  bjh21 	syscallarg(int) options;
    287  1.1  bjh21 	syscallarg(struct rusage *) rusage;
    288  1.1  bjh21 };
    289  1.1  bjh21 
    290  1.1  bjh21 struct linux_sys_swapoff_args {
    291  1.1  bjh21 	syscallarg(const char *) path;
    292  1.1  bjh21 };
    293  1.1  bjh21 
    294  1.1  bjh21 struct linux_sys_sysinfo_args {
    295  1.1  bjh21 	syscallarg(struct linux_sysinfo *) arg;
    296  1.1  bjh21 };
    297  1.1  bjh21 
    298  1.1  bjh21 struct linux_sys_ipc_args {
    299  1.1  bjh21 	syscallarg(int) what;
    300  1.1  bjh21 	syscallarg(int) a1;
    301  1.1  bjh21 	syscallarg(int) a2;
    302  1.1  bjh21 	syscallarg(int) a3;
    303  1.1  bjh21 	syscallarg(caddr_t) ptr;
    304  1.1  bjh21 };
    305  1.1  bjh21 
    306  1.1  bjh21 struct linux_sys_sigreturn_args {
    307  1.1  bjh21 	syscallarg(struct linux_sigcontext *) scp;
    308  1.1  bjh21 };
    309  1.1  bjh21 
    310  1.1  bjh21 struct linux_sys_clone_args {
    311  1.1  bjh21 	syscallarg(int) flags;
    312  1.1  bjh21 	syscallarg(void *) stack;
    313  1.1  bjh21 };
    314  1.1  bjh21 
    315  1.1  bjh21 struct linux_sys_setdomainname_args {
    316  1.1  bjh21 	syscallarg(char *) domainname;
    317  1.1  bjh21 	syscallarg(int) len;
    318  1.1  bjh21 };
    319  1.1  bjh21 
    320  1.1  bjh21 struct linux_sys_sigprocmask_args {
    321  1.1  bjh21 	syscallarg(int) how;
    322  1.1  bjh21 	syscallarg(const linux_old_sigset_t *) set;
    323  1.1  bjh21 	syscallarg(linux_old_sigset_t *) oset;
    324  1.1  bjh21 };
    325  1.1  bjh21 
    326  1.1  bjh21 struct linux_sys_getpgid_args {
    327  1.1  bjh21 	syscallarg(int) pid;
    328  1.1  bjh21 };
    329  1.1  bjh21 
    330  1.1  bjh21 struct linux_sys_personality_args {
    331  1.1  bjh21 	syscallarg(int) per;
    332  1.1  bjh21 };
    333  1.1  bjh21 
    334  1.1  bjh21 struct linux_sys_setfsuid_args {
    335  1.1  bjh21 	syscallarg(uid_t) uid;
    336  1.1  bjh21 };
    337  1.1  bjh21 
    338  1.1  bjh21 struct linux_sys_llseek_args {
    339  1.1  bjh21 	syscallarg(int) fd;
    340  1.1  bjh21 	syscallarg(u_int32_t) ohigh;
    341  1.1  bjh21 	syscallarg(u_int32_t) olow;
    342  1.1  bjh21 	syscallarg(caddr_t) res;
    343  1.1  bjh21 	syscallarg(int) whence;
    344  1.1  bjh21 };
    345  1.1  bjh21 
    346  1.1  bjh21 struct linux_sys_getdents_args {
    347  1.1  bjh21 	syscallarg(int) fd;
    348  1.1  bjh21 	syscallarg(struct linux_dirent *) dent;
    349  1.1  bjh21 	syscallarg(unsigned int) count;
    350  1.1  bjh21 };
    351  1.1  bjh21 
    352  1.1  bjh21 struct linux_sys_select_args {
    353  1.1  bjh21 	syscallarg(int) nfds;
    354  1.1  bjh21 	syscallarg(fd_set *) readfds;
    355  1.1  bjh21 	syscallarg(fd_set *) writefds;
    356  1.1  bjh21 	syscallarg(fd_set *) exceptfds;
    357  1.1  bjh21 	syscallarg(struct timeval *) timeout;
    358  1.1  bjh21 };
    359  1.1  bjh21 
    360  1.1  bjh21 struct linux_sys_msync_args {
    361  1.1  bjh21 	syscallarg(caddr_t) addr;
    362  1.1  bjh21 	syscallarg(int) len;
    363  1.1  bjh21 	syscallarg(int) fl;
    364  1.1  bjh21 };
    365  1.1  bjh21 
    366  1.1  bjh21 struct linux_sys_fdatasync_args {
    367  1.1  bjh21 	syscallarg(int) fd;
    368  1.1  bjh21 };
    369  1.1  bjh21 
    370  1.1  bjh21 struct linux_sys___sysctl_args {
    371  1.1  bjh21 	syscallarg(struct linux___sysctl *) lsp;
    372  1.1  bjh21 };
    373  1.1  bjh21 
    374  1.1  bjh21 struct linux_sys_sched_setparam_args {
    375  1.1  bjh21 	syscallarg(pid_t) pid;
    376  1.1  bjh21 	syscallarg(const struct linux_sched_param *) sp;
    377  1.1  bjh21 };
    378  1.1  bjh21 
    379  1.1  bjh21 struct linux_sys_sched_getparam_args {
    380  1.1  bjh21 	syscallarg(pid_t) pid;
    381  1.1  bjh21 	syscallarg(struct linux_sched_param *) sp;
    382  1.1  bjh21 };
    383  1.1  bjh21 
    384  1.1  bjh21 struct linux_sys_sched_setscheduler_args {
    385  1.1  bjh21 	syscallarg(pid_t) pid;
    386  1.1  bjh21 	syscallarg(int) policy;
    387  1.1  bjh21 	syscallarg(const struct linux_sched_param *) sp;
    388  1.1  bjh21 };
    389  1.1  bjh21 
    390  1.1  bjh21 struct linux_sys_sched_getscheduler_args {
    391  1.1  bjh21 	syscallarg(pid_t) pid;
    392  1.1  bjh21 };
    393  1.1  bjh21 
    394  1.1  bjh21 struct linux_sys_sched_get_priority_max_args {
    395  1.1  bjh21 	syscallarg(int) policy;
    396  1.1  bjh21 };
    397  1.1  bjh21 
    398  1.1  bjh21 struct linux_sys_sched_get_priority_min_args {
    399  1.1  bjh21 	syscallarg(int) policy;
    400  1.1  bjh21 };
    401  1.1  bjh21 
    402  1.1  bjh21 struct linux_sys_mremap_args {
    403  1.1  bjh21 	syscallarg(void *) old_address;
    404  1.1  bjh21 	syscallarg(size_t) old_size;
    405  1.1  bjh21 	syscallarg(size_t) new_size;
    406  1.1  bjh21 	syscallarg(u_long) flags;
    407  1.1  bjh21 };
    408  1.1  bjh21 
    409  1.1  bjh21 struct linux_sys_setresuid_args {
    410  1.1  bjh21 	syscallarg(uid_t) ruid;
    411  1.1  bjh21 	syscallarg(uid_t) euid;
    412  1.1  bjh21 	syscallarg(uid_t) suid;
    413  1.1  bjh21 };
    414  1.1  bjh21 
    415  1.1  bjh21 struct linux_sys_getresuid_args {
    416  1.1  bjh21 	syscallarg(uid_t *) ruid;
    417  1.1  bjh21 	syscallarg(uid_t *) euid;
    418  1.1  bjh21 	syscallarg(uid_t *) suid;
    419  1.1  bjh21 };
    420  1.1  bjh21 
    421  1.1  bjh21 struct linux_sys_setresgid_args {
    422  1.1  bjh21 	syscallarg(gid_t) rgid;
    423  1.1  bjh21 	syscallarg(gid_t) egid;
    424  1.1  bjh21 	syscallarg(gid_t) sgid;
    425  1.1  bjh21 };
    426  1.1  bjh21 
    427  1.1  bjh21 struct linux_sys_getresgid_args {
    428  1.1  bjh21 	syscallarg(gid_t *) rgid;
    429  1.1  bjh21 	syscallarg(gid_t *) egid;
    430  1.1  bjh21 	syscallarg(gid_t *) sgid;
    431  1.1  bjh21 };
    432  1.1  bjh21 
    433  1.1  bjh21 struct linux_sys_rt_sigaction_args {
    434  1.1  bjh21 	syscallarg(int) signum;
    435  1.1  bjh21 	syscallarg(const struct linux_sigaction *) nsa;
    436  1.1  bjh21 	syscallarg(struct linux_sigaction *) osa;
    437  1.1  bjh21 	syscallarg(size_t) sigsetsize;
    438  1.1  bjh21 };
    439  1.1  bjh21 
    440  1.1  bjh21 struct linux_sys_rt_sigprocmask_args {
    441  1.1  bjh21 	syscallarg(int) how;
    442  1.1  bjh21 	syscallarg(const linux_sigset_t *) set;
    443  1.1  bjh21 	syscallarg(linux_sigset_t *) oset;
    444  1.1  bjh21 	syscallarg(size_t) sigsetsize;
    445  1.1  bjh21 };
    446  1.1  bjh21 
    447  1.1  bjh21 struct linux_sys_rt_sigpending_args {
    448  1.1  bjh21 	syscallarg(linux_sigset_t *) set;
    449  1.1  bjh21 	syscallarg(size_t) sigsetsize;
    450  1.1  bjh21 };
    451  1.1  bjh21 
    452  1.1  bjh21 struct linux_sys_rt_queueinfo_args {
    453  1.1  bjh21 	syscallarg(int) pid;
    454  1.1  bjh21 	syscallarg(int) signum;
    455  1.1  bjh21 	syscallarg(void *) uinfo;
    456  1.1  bjh21 };
    457  1.1  bjh21 
    458  1.1  bjh21 struct linux_sys_rt_sigsuspend_args {
    459  1.1  bjh21 	syscallarg(linux_sigset_t *) unewset;
    460  1.1  bjh21 	syscallarg(size_t) sigsetsize;
    461  1.1  bjh21 };
    462  1.1  bjh21 
    463  1.1  bjh21 struct linux_sys_pread_args {
    464  1.1  bjh21 	syscallarg(int) fd;
    465  1.1  bjh21 	syscallarg(char *) buf;
    466  1.1  bjh21 	syscallarg(size_t) nbyte;
    467  1.1  bjh21 	syscallarg(linux_off_t) offset;
    468  1.1  bjh21 };
    469  1.1  bjh21 
    470  1.1  bjh21 struct linux_sys_pwrite_args {
    471  1.1  bjh21 	syscallarg(int) fd;
    472  1.1  bjh21 	syscallarg(char *) buf;
    473  1.1  bjh21 	syscallarg(size_t) nbyte;
    474  1.1  bjh21 	syscallarg(linux_off_t) offset;
    475  1.1  bjh21 };
    476  1.1  bjh21 
    477  1.1  bjh21 struct linux_sys_chown16_args {
    478  1.1  bjh21 	syscallarg(const char *) path;
    479  1.1  bjh21 	syscallarg(int) uid;
    480  1.1  bjh21 	syscallarg(int) gid;
    481  1.1  bjh21 };
    482  1.1  bjh21 
    483  1.1  bjh21 struct linux_sys_sigaltstack_args {
    484  1.1  bjh21 	syscallarg(const struct linux_sigaltstack *) ss;
    485  1.1  bjh21 	syscallarg(struct linux_sigaltstack *) oss;
    486  1.1  bjh21 };
    487  1.1  bjh21 
    488  1.1  bjh21 struct linux_sys_truncate64_args {
    489  1.1  bjh21 	syscallarg(const char *) path;
    490  1.1  bjh21 	syscallarg(off_t) length;
    491  1.1  bjh21 };
    492  1.1  bjh21 
    493  1.1  bjh21 struct linux_sys_stat64_args {
    494  1.1  bjh21 	syscallarg(const char *) path;
    495  1.1  bjh21 	syscallarg(struct linux_stat64 *) sp;
    496  1.1  bjh21 };
    497  1.1  bjh21 
    498  1.1  bjh21 struct linux_sys_lstat64_args {
    499  1.1  bjh21 	syscallarg(const char *) path;
    500  1.1  bjh21 	syscallarg(struct linux_stat64 *) sp;
    501  1.1  bjh21 };
    502  1.1  bjh21 
    503  1.1  bjh21 struct linux_sys_fstat64_args {
    504  1.1  bjh21 	syscallarg(int) fd;
    505  1.1  bjh21 	syscallarg(struct linux_stat64 *) sp;
    506  1.1  bjh21 };
    507  1.1  bjh21 
    508  1.1  bjh21 struct linux_sys_lchown_args {
    509  1.1  bjh21 	syscallarg(const char *) path;
    510  1.1  bjh21 	syscallarg(uid_t) uid;
    511  1.1  bjh21 	syscallarg(gid_t) gid;
    512  1.1  bjh21 };
    513  1.1  bjh21 
    514  1.1  bjh21 struct linux_sys_chown_args {
    515  1.1  bjh21 	syscallarg(const char *) path;
    516  1.1  bjh21 	syscallarg(uid_t) uid;
    517  1.1  bjh21 	syscallarg(gid_t) gid;
    518  1.1  bjh21 };
    519  1.1  bjh21 
    520  1.1  bjh21 /*
    521  1.1  bjh21  * System call prototypes.
    522  1.1  bjh21  */
    523  1.1  bjh21 
    524  1.1  bjh21 int	linux_sys_nosys(struct proc *, void *, register_t *);
    525  1.1  bjh21 int	sys_exit(struct proc *, void *, register_t *);
    526  1.1  bjh21 int	sys_fork(struct proc *, void *, register_t *);
    527  1.1  bjh21 int	sys_read(struct proc *, void *, register_t *);
    528  1.1  bjh21 int	sys_write(struct proc *, void *, register_t *);
    529  1.1  bjh21 int	linux_sys_open(struct proc *, void *, register_t *);
    530  1.1  bjh21 int	sys_close(struct proc *, void *, register_t *);
    531  1.1  bjh21 int	linux_sys_waitpid(struct proc *, void *, register_t *);
    532  1.1  bjh21 int	linux_sys_creat(struct proc *, void *, register_t *);
    533  1.1  bjh21 int	linux_sys_link(struct proc *, void *, register_t *);
    534  1.1  bjh21 int	linux_sys_unlink(struct proc *, void *, register_t *);
    535  1.1  bjh21 int	linux_sys_execve(struct proc *, void *, register_t *);
    536  1.1  bjh21 int	linux_sys_chdir(struct proc *, void *, register_t *);
    537  1.1  bjh21 int	linux_sys_time(struct proc *, void *, register_t *);
    538  1.1  bjh21 int	linux_sys_mknod(struct proc *, void *, register_t *);
    539  1.1  bjh21 int	linux_sys_chmod(struct proc *, void *, register_t *);
    540  1.1  bjh21 int	linux_sys_lchown16(struct proc *, void *, register_t *);
    541  1.1  bjh21 int	compat_43_sys_lseek(struct proc *, void *, register_t *);
    542  1.1  bjh21 int	sys_getpid(struct proc *, void *, register_t *);
    543  1.1  bjh21 int	sys_setuid(struct proc *, void *, register_t *);
    544  1.1  bjh21 int	sys_getuid(struct proc *, void *, register_t *);
    545  1.1  bjh21 int	linux_sys_stime(struct proc *, void *, register_t *);
    546  1.1  bjh21 int	linux_sys_ptrace(struct proc *, void *, register_t *);
    547  1.1  bjh21 int	linux_sys_alarm(struct proc *, void *, register_t *);
    548  1.1  bjh21 int	linux_sys_pause(struct proc *, void *, register_t *);
    549  1.1  bjh21 int	linux_sys_utime(struct proc *, void *, register_t *);
    550  1.1  bjh21 int	linux_sys_access(struct proc *, void *, register_t *);
    551  1.1  bjh21 int	linux_sys_nice(struct proc *, void *, register_t *);
    552  1.1  bjh21 int	sys_sync(struct proc *, void *, register_t *);
    553  1.1  bjh21 int	linux_sys_kill(struct proc *, void *, register_t *);
    554  1.1  bjh21 int	linux_sys_rename(struct proc *, void *, register_t *);
    555  1.1  bjh21 int	linux_sys_mkdir(struct proc *, void *, register_t *);
    556  1.1  bjh21 int	linux_sys_rmdir(struct proc *, void *, register_t *);
    557  1.1  bjh21 int	sys_dup(struct proc *, void *, register_t *);
    558  1.1  bjh21 int	linux_sys_pipe(struct proc *, void *, register_t *);
    559  1.1  bjh21 int	linux_sys_times(struct proc *, void *, register_t *);
    560  1.1  bjh21 int	linux_sys_brk(struct proc *, void *, register_t *);
    561  1.1  bjh21 int	sys_setgid(struct proc *, void *, register_t *);
    562  1.1  bjh21 int	sys_getgid(struct proc *, void *, register_t *);
    563  1.1  bjh21 int	linux_sys_signal(struct proc *, void *, register_t *);
    564  1.1  bjh21 int	sys_geteuid(struct proc *, void *, register_t *);
    565  1.1  bjh21 int	sys_getegid(struct proc *, void *, register_t *);
    566  1.1  bjh21 int	sys_acct(struct proc *, void *, register_t *);
    567  1.1  bjh21 int	linux_sys_ioctl(struct proc *, void *, register_t *);
    568  1.1  bjh21 int	linux_sys_fcntl(struct proc *, void *, register_t *);
    569  1.1  bjh21 int	sys_setpgid(struct proc *, void *, register_t *);
    570  1.1  bjh21 int	linux_sys_olduname(struct proc *, void *, register_t *);
    571  1.1  bjh21 int	sys_umask(struct proc *, void *, register_t *);
    572  1.1  bjh21 int	sys_chroot(struct proc *, void *, register_t *);
    573  1.1  bjh21 int	sys_dup2(struct proc *, void *, register_t *);
    574  1.1  bjh21 int	sys_getppid(struct proc *, void *, register_t *);
    575  1.1  bjh21 int	sys_getpgrp(struct proc *, void *, register_t *);
    576  1.1  bjh21 int	sys_setsid(struct proc *, void *, register_t *);
    577  1.1  bjh21 int	linux_sys_sigaction(struct proc *, void *, register_t *);
    578  1.1  bjh21 int	linux_sys_siggetmask(struct proc *, void *, register_t *);
    579  1.1  bjh21 int	linux_sys_sigsetmask(struct proc *, void *, register_t *);
    580  1.1  bjh21 int	sys_setreuid(struct proc *, void *, register_t *);
    581  1.1  bjh21 int	sys_setregid(struct proc *, void *, register_t *);
    582  1.1  bjh21 int	linux_sys_sigsuspend(struct proc *, void *, register_t *);
    583  1.1  bjh21 int	linux_sys_sigpending(struct proc *, void *, register_t *);
    584  1.1  bjh21 int	compat_43_sys_sethostname(struct proc *, void *, register_t *);
    585  1.1  bjh21 int	compat_43_sys_setrlimit(struct proc *, void *, register_t *);
    586  1.1  bjh21 int	compat_43_sys_getrlimit(struct proc *, void *, register_t *);
    587  1.1  bjh21 int	sys_getrusage(struct proc *, void *, register_t *);
    588  1.1  bjh21 int	linux_sys_gettimeofday(struct proc *, void *, register_t *);
    589  1.1  bjh21 int	linux_sys_settimeofday(struct proc *, void *, register_t *);
    590  1.1  bjh21 int	sys_getgroups(struct proc *, void *, register_t *);
    591  1.1  bjh21 int	sys_setgroups(struct proc *, void *, register_t *);
    592  1.1  bjh21 int	linux_sys_oldselect(struct proc *, void *, register_t *);
    593  1.1  bjh21 int	linux_sys_symlink(struct proc *, void *, register_t *);
    594  1.1  bjh21 int	compat_43_sys_lstat(struct proc *, void *, register_t *);
    595  1.1  bjh21 int	linux_sys_readlink(struct proc *, void *, register_t *);
    596  1.1  bjh21 #ifdef EXEC_AOUT
    597  1.1  bjh21 int	linux_sys_uselib(struct proc *, void *, register_t *);
    598  1.1  bjh21 #else
    599  1.1  bjh21 #endif
    600  1.1  bjh21 int	linux_sys_swapon(struct proc *, void *, register_t *);
    601  1.1  bjh21 int	linux_sys_reboot(struct proc *, void *, register_t *);
    602  1.1  bjh21 int	linux_sys_readdir(struct proc *, void *, register_t *);
    603  1.1  bjh21 int	linux_sys_old_mmap(struct proc *, void *, register_t *);
    604  1.1  bjh21 int	sys_munmap(struct proc *, void *, register_t *);
    605  1.1  bjh21 int	linux_sys_truncate(struct proc *, void *, register_t *);
    606  1.1  bjh21 int	compat_43_sys_ftruncate(struct proc *, void *, register_t *);
    607  1.1  bjh21 int	sys_fchmod(struct proc *, void *, register_t *);
    608  1.1  bjh21 int	linux_sys_fchown16(struct proc *, void *, register_t *);
    609  1.1  bjh21 int	sys_getpriority(struct proc *, void *, register_t *);
    610  1.1  bjh21 int	sys_setpriority(struct proc *, void *, register_t *);
    611  1.1  bjh21 int	sys_profil(struct proc *, void *, register_t *);
    612  1.1  bjh21 int	linux_sys_statfs(struct proc *, void *, register_t *);
    613  1.1  bjh21 int	linux_sys_fstatfs(struct proc *, void *, register_t *);
    614  1.1  bjh21 int	linux_sys_socketcall(struct proc *, void *, register_t *);
    615  1.1  bjh21 int	sys_setitimer(struct proc *, void *, register_t *);
    616  1.1  bjh21 int	sys_getitimer(struct proc *, void *, register_t *);
    617  1.1  bjh21 int	linux_sys_stat(struct proc *, void *, register_t *);
    618  1.1  bjh21 int	linux_sys_lstat(struct proc *, void *, register_t *);
    619  1.1  bjh21 int	linux_sys_fstat(struct proc *, void *, register_t *);
    620  1.1  bjh21 int	linux_sys_uname(struct proc *, void *, register_t *);
    621  1.1  bjh21 int	linux_sys_wait4(struct proc *, void *, register_t *);
    622  1.1  bjh21 int	linux_sys_swapoff(struct proc *, void *, register_t *);
    623  1.1  bjh21 int	linux_sys_sysinfo(struct proc *, void *, register_t *);
    624  1.1  bjh21 int	linux_sys_ipc(struct proc *, void *, register_t *);
    625  1.1  bjh21 int	sys_fsync(struct proc *, void *, register_t *);
    626  1.1  bjh21 int	linux_sys_sigreturn(struct proc *, void *, register_t *);
    627  1.1  bjh21 int	linux_sys_clone(struct proc *, void *, register_t *);
    628  1.1  bjh21 int	linux_sys_setdomainname(struct proc *, void *, register_t *);
    629  1.1  bjh21 int	sys_mprotect(struct proc *, void *, register_t *);
    630  1.1  bjh21 int	linux_sys_sigprocmask(struct proc *, void *, register_t *);
    631  1.1  bjh21 int	linux_sys_getpgid(struct proc *, void *, register_t *);
    632  1.1  bjh21 int	sys_fchdir(struct proc *, void *, register_t *);
    633  1.1  bjh21 int	linux_sys_personality(struct proc *, void *, register_t *);
    634  1.1  bjh21 int	linux_sys_setfsuid(struct proc *, void *, register_t *);
    635  1.1  bjh21 int	linux_sys_getfsuid(struct proc *, void *, register_t *);
    636  1.1  bjh21 int	linux_sys_llseek(struct proc *, void *, register_t *);
    637  1.1  bjh21 int	linux_sys_getdents(struct proc *, void *, register_t *);
    638  1.1  bjh21 int	linux_sys_select(struct proc *, void *, register_t *);
    639  1.1  bjh21 int	sys_flock(struct proc *, void *, register_t *);
    640  1.1  bjh21 int	linux_sys_msync(struct proc *, void *, register_t *);
    641  1.1  bjh21 int	sys_readv(struct proc *, void *, register_t *);
    642  1.1  bjh21 int	sys_writev(struct proc *, void *, register_t *);
    643  1.1  bjh21 int	sys_getsid(struct proc *, void *, register_t *);
    644  1.1  bjh21 int	linux_sys_fdatasync(struct proc *, void *, register_t *);
    645  1.1  bjh21 int	linux_sys___sysctl(struct proc *, void *, register_t *);
    646  1.1  bjh21 int	sys_mlock(struct proc *, void *, register_t *);
    647  1.1  bjh21 int	sys_munlock(struct proc *, void *, register_t *);
    648  1.1  bjh21 int	sys_mlockall(struct proc *, void *, register_t *);
    649  1.1  bjh21 int	sys_munlockall(struct proc *, void *, register_t *);
    650  1.1  bjh21 int	linux_sys_sched_setparam(struct proc *, void *, register_t *);
    651  1.1  bjh21 int	linux_sys_sched_getparam(struct proc *, void *, register_t *);
    652  1.1  bjh21 int	linux_sys_sched_setscheduler(struct proc *, void *, register_t *);
    653  1.1  bjh21 int	linux_sys_sched_getscheduler(struct proc *, void *, register_t *);
    654  1.1  bjh21 int	linux_sys_sched_yield(struct proc *, void *, register_t *);
    655  1.1  bjh21 int	linux_sys_sched_get_priority_max(struct proc *, void *, register_t *);
    656  1.1  bjh21 int	linux_sys_sched_get_priority_min(struct proc *, void *, register_t *);
    657  1.1  bjh21 int	sys_nanosleep(struct proc *, void *, register_t *);
    658  1.1  bjh21 int	linux_sys_mremap(struct proc *, void *, register_t *);
    659  1.1  bjh21 int	linux_sys_setresuid(struct proc *, void *, register_t *);
    660  1.1  bjh21 int	linux_sys_getresuid(struct proc *, void *, register_t *);
    661  1.1  bjh21 int	sys_poll(struct proc *, void *, register_t *);
    662  1.1  bjh21 int	linux_sys_setresgid(struct proc *, void *, register_t *);
    663  1.1  bjh21 int	linux_sys_getresgid(struct proc *, void *, register_t *);
    664  1.1  bjh21 int	linux_sys_rt_sigaction(struct proc *, void *, register_t *);
    665  1.1  bjh21 int	linux_sys_rt_sigprocmask(struct proc *, void *, register_t *);
    666  1.1  bjh21 int	linux_sys_rt_sigpending(struct proc *, void *, register_t *);
    667  1.1  bjh21 int	linux_sys_rt_queueinfo(struct proc *, void *, register_t *);
    668  1.1  bjh21 int	linux_sys_rt_sigsuspend(struct proc *, void *, register_t *);
    669  1.1  bjh21 int	linux_sys_pread(struct proc *, void *, register_t *);
    670  1.1  bjh21 int	linux_sys_pwrite(struct proc *, void *, register_t *);
    671  1.1  bjh21 int	linux_sys_chown16(struct proc *, void *, register_t *);
    672  1.1  bjh21 int	sys___getcwd(struct proc *, void *, register_t *);
    673  1.1  bjh21 int	linux_sys_sigaltstack(struct proc *, void *, register_t *);
    674  1.1  bjh21 int	sys___vfork14(struct proc *, void *, register_t *);
    675  1.1  bjh21 int	linux_sys_truncate64(struct proc *, void *, register_t *);
    676  1.1  bjh21 int	sys_ftruncate(struct proc *, void *, register_t *);
    677  1.1  bjh21 int	linux_sys_stat64(struct proc *, void *, register_t *);
    678  1.1  bjh21 int	linux_sys_lstat64(struct proc *, void *, register_t *);
    679  1.1  bjh21 int	linux_sys_fstat64(struct proc *, void *, register_t *);
    680  1.1  bjh21 int	linux_sys_lchown(struct proc *, void *, register_t *);
    681  1.1  bjh21 int	sys_getuid(struct proc *, void *, register_t *);
    682  1.1  bjh21 int	sys_getgid(struct proc *, void *, register_t *);
    683  1.1  bjh21 int	sys_geteuid(struct proc *, void *, register_t *);
    684  1.1  bjh21 int	sys_getegid(struct proc *, void *, register_t *);
    685  1.1  bjh21 int	sys_setreuid(struct proc *, void *, register_t *);
    686  1.1  bjh21 int	sys_setregid(struct proc *, void *, register_t *);
    687  1.1  bjh21 int	sys_getgroups(struct proc *, void *, register_t *);
    688  1.1  bjh21 int	sys_setgroups(struct proc *, void *, register_t *);
    689  1.1  bjh21 int	sys___posix_fchown(struct proc *, void *, register_t *);
    690  1.1  bjh21 int	linux_sys_setresuid(struct proc *, void *, register_t *);
    691  1.1  bjh21 int	linux_sys_getresuid(struct proc *, void *, register_t *);
    692  1.1  bjh21 int	linux_sys_setresgid(struct proc *, void *, register_t *);
    693  1.1  bjh21 int	linux_sys_getresgid(struct proc *, void *, register_t *);
    694  1.1  bjh21 int	linux_sys_chown(struct proc *, void *, register_t *);
    695  1.1  bjh21 int	sys_setuid(struct proc *, void *, register_t *);
    696  1.1  bjh21 int	sys_setgid(struct proc *, void *, register_t *);
    697  1.1  bjh21 int	linux_sys_setfsuid(struct proc *, void *, register_t *);
    698  1.1  bjh21 int	linux_sys_getfsuid(struct proc *, void *, register_t *);
    699  1.1  bjh21 #endif /* _LINUX_SYS__SYSCALLARGS_H_ */
    700