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