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