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