Home | History | Annotate | Line # | Download | only in sunos
sunos_syscallargs.h revision 1.7
      1  1.1  deraadt /*
      2  1.1  deraadt  * System call argument lists.
      3  1.1  deraadt  *
      4  1.1  deraadt  * DO NOT EDIT-- this file is automatically generated.
      5  1.7  deraadt  * created from	NetBSD: syscalls.master,v 1.24 1994/12/06 00:17:06 deraadt Exp
      6  1.1  deraadt  */
      7  1.1  deraadt 
      8  1.1  deraadt #define	syscallarg(x)	union { x datum; register_t pad; }
      9  1.1  deraadt 
     10  1.1  deraadt struct sunos_open_args {
     11  1.1  deraadt 	syscallarg(char *) path;
     12  1.1  deraadt 	syscallarg(int) flags;
     13  1.1  deraadt 	syscallarg(int) mode;
     14  1.1  deraadt };
     15  1.1  deraadt 
     16  1.1  deraadt struct sunos_wait4_args {
     17  1.1  deraadt 	syscallarg(int) pid;
     18  1.1  deraadt 	syscallarg(int *) status;
     19  1.1  deraadt 	syscallarg(int) options;
     20  1.1  deraadt 	syscallarg(struct rusage *) rusage;
     21  1.1  deraadt };
     22  1.1  deraadt 
     23  1.1  deraadt struct sunos_creat_args {
     24  1.1  deraadt 	syscallarg(char *) path;
     25  1.1  deraadt 	syscallarg(int) mode;
     26  1.1  deraadt };
     27  1.1  deraadt 
     28  1.1  deraadt struct sunos_execv_args {
     29  1.1  deraadt 	syscallarg(char *) path;
     30  1.4  deraadt 	syscallarg(char **) argp;
     31  1.1  deraadt };
     32  1.1  deraadt 
     33  1.1  deraadt struct sunos_mknod_args {
     34  1.1  deraadt 	syscallarg(char *) path;
     35  1.1  deraadt 	syscallarg(int) mode;
     36  1.1  deraadt 	syscallarg(int) dev;
     37  1.1  deraadt };
     38  1.1  deraadt 
     39  1.5  deraadt struct sunos_ptrace_args {
     40  1.5  deraadt 	syscallarg(int) req;
     41  1.5  deraadt 	syscallarg(int) pid;
     42  1.5  deraadt 	syscallarg(char *) addr;
     43  1.5  deraadt 	syscallarg(int) data;
     44  1.5  deraadt 	syscallarg(char *) addr2;
     45  1.5  deraadt };
     46  1.5  deraadt 
     47  1.1  deraadt struct sunos_mctl_args {
     48  1.1  deraadt 	syscallarg(caddr_t) addr;
     49  1.1  deraadt 	syscallarg(int) len;
     50  1.1  deraadt 	syscallarg(int) func;
     51  1.1  deraadt 	syscallarg(void *) arg;
     52  1.1  deraadt };
     53  1.1  deraadt 
     54  1.1  deraadt struct sunos_ioctl_args {
     55  1.1  deraadt 	syscallarg(int) fd;
     56  1.1  deraadt 	syscallarg(u_long) com;
     57  1.1  deraadt 	syscallarg(caddr_t) data;
     58  1.1  deraadt };
     59  1.1  deraadt 
     60  1.1  deraadt struct sunos_omsync_args {
     61  1.1  deraadt 	syscallarg(caddr_t) addr;
     62  1.1  deraadt 	syscallarg(int) len;
     63  1.1  deraadt 	syscallarg(int) flags;
     64  1.1  deraadt };
     65  1.1  deraadt 
     66  1.1  deraadt struct sunos_mmap_args {
     67  1.1  deraadt 	syscallarg(caddr_t) addr;
     68  1.1  deraadt 	syscallarg(int) len;
     69  1.1  deraadt 	syscallarg(int) prot;
     70  1.4  deraadt 	syscallarg(u_int) flags;
     71  1.1  deraadt 	syscallarg(int) fd;
     72  1.1  deraadt 	syscallarg(long) pos;
     73  1.1  deraadt };
     74  1.1  deraadt 
     75  1.1  deraadt struct sunos_setpgid_args {
     76  1.1  deraadt 	syscallarg(int) pid;
     77  1.1  deraadt 	syscallarg(int) pgid;
     78  1.1  deraadt };
     79  1.1  deraadt 
     80  1.1  deraadt struct sunos_setsockopt_args {
     81  1.1  deraadt 	syscallarg(int) s;
     82  1.1  deraadt 	syscallarg(int) level;
     83  1.1  deraadt 	syscallarg(int) name;
     84  1.1  deraadt 	syscallarg(caddr_t) val;
     85  1.1  deraadt 	syscallarg(int) valsize;
     86  1.1  deraadt };
     87  1.1  deraadt 
     88  1.1  deraadt struct sunos_getrlimit_args {
     89  1.1  deraadt 	syscallarg(u_int) which;
     90  1.1  deraadt 	syscallarg(struct orlimit *) rlp;
     91  1.1  deraadt };
     92  1.1  deraadt 
     93  1.1  deraadt struct sunos_setrlimit_args {
     94  1.1  deraadt 	syscallarg(u_int) which;
     95  1.1  deraadt 	syscallarg(struct orlimit *) rlp;
     96  1.5  deraadt };
     97  1.5  deraadt 
     98  1.5  deraadt struct sunos_poll_args {
     99  1.5  deraadt 	syscallarg(struct sunos_pollfd *) fds;
    100  1.5  deraadt 	syscallarg(long) nfds;
    101  1.5  deraadt 	syscallarg(int) timeout;
    102  1.1  deraadt };
    103  1.1  deraadt 
    104  1.1  deraadt struct sunos_nfssvc_args {
    105  1.1  deraadt 	syscallarg(int) fd;
    106  1.1  deraadt };
    107  1.1  deraadt 
    108  1.1  deraadt struct sunos_statfs_args {
    109  1.1  deraadt 	syscallarg(char *) path;
    110  1.1  deraadt 	syscallarg(struct sunos_statfs *) buf;
    111  1.1  deraadt };
    112  1.1  deraadt 
    113  1.1  deraadt struct sunos_fstatfs_args {
    114  1.1  deraadt 	syscallarg(int) fd;
    115  1.1  deraadt 	syscallarg(struct sunos_statfs *) buf;
    116  1.1  deraadt };
    117  1.1  deraadt 
    118  1.1  deraadt struct sunos_unmount_args {
    119  1.1  deraadt 	syscallarg(char *) path;
    120  1.1  deraadt 	syscallarg(int) flags;
    121  1.1  deraadt };
    122  1.1  deraadt 
    123  1.1  deraadt struct sunos_quotactl_args {
    124  1.1  deraadt 	syscallarg(int) cmd;
    125  1.1  deraadt 	syscallarg(char *) special;
    126  1.1  deraadt 	syscallarg(int) uid;
    127  1.1  deraadt 	syscallarg(caddr_t) addr;
    128  1.1  deraadt };
    129  1.1  deraadt 
    130  1.1  deraadt struct sunos_exportfs_args {
    131  1.1  deraadt 	syscallarg(char *) path;
    132  1.1  deraadt 	syscallarg(char *) ex;
    133  1.1  deraadt };
    134  1.1  deraadt 
    135  1.1  deraadt struct sunos_mount_args {
    136  1.1  deraadt 	syscallarg(char *) type;
    137  1.1  deraadt 	syscallarg(char *) dir;
    138  1.1  deraadt 	syscallarg(int) flags;
    139  1.1  deraadt 	syscallarg(caddr_t) data;
    140  1.1  deraadt };
    141  1.1  deraadt 
    142  1.1  deraadt struct sunos_ustat_args {
    143  1.1  deraadt 	syscallarg(int) dev;
    144  1.1  deraadt 	syscallarg(struct sunos_ustat *) buf;
    145  1.1  deraadt };
    146  1.1  deraadt 
    147  1.1  deraadt struct sunos_auditsys_args {
    148  1.1  deraadt 	syscallarg(char *) record;
    149  1.1  deraadt };
    150  1.1  deraadt 
    151  1.1  deraadt struct sunos_getdents_args {
    152  1.1  deraadt 	syscallarg(int) fd;
    153  1.1  deraadt 	syscallarg(char *) buf;
    154  1.1  deraadt 	syscallarg(int) nbytes;
    155  1.1  deraadt };
    156  1.1  deraadt 
    157  1.1  deraadt struct sunos_fchroot_args {
    158  1.1  deraadt 	syscallarg(int) fd;
    159  1.1  deraadt };
    160  1.1  deraadt 
    161  1.1  deraadt struct sunos_sigpending_args {
    162  1.1  deraadt 	syscallarg(int *) mask;
    163  1.1  deraadt };
    164  1.1  deraadt 
    165  1.1  deraadt struct sunos_sysconf_args {
    166  1.1  deraadt 	syscallarg(int) name;
    167  1.1  deraadt };
    168  1.1  deraadt 
    169  1.1  deraadt struct sunos_uname_args {
    170  1.1  deraadt 	syscallarg(struct sunos_utsname *) name;
    171  1.1  deraadt };
    172  1.1  deraadt 
    173  1.1  deraadt #undef	syscallarg
    174