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