Home | History | Annotate | Line # | Download | only in sunos
sunos_syscallargs.h revision 1.14
      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.14        pk  * created from	NetBSD: syscalls.master,v 1.30 1995/06/25 14:58:22 briggs 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.10        pk struct sunos_access_args {
     48  1.10        pk 	syscallarg(char *) path;
     49  1.10        pk 	syscallarg(int) flags;
     50  1.10        pk };
     51  1.10        pk 
     52  1.10        pk struct sunos_stat_args {
     53  1.10        pk 	syscallarg(char *) path;
     54  1.10        pk 	syscallarg(struct ostat *) ub;
     55  1.10        pk };
     56  1.10        pk 
     57  1.10        pk struct sunos_lstat_args {
     58  1.10        pk 	syscallarg(char *) path;
     59  1.10        pk 	syscallarg(struct ostat *) ub;
     60  1.10        pk };
     61  1.10        pk 
     62   1.1   deraadt struct sunos_mctl_args {
     63   1.1   deraadt 	syscallarg(caddr_t) addr;
     64   1.1   deraadt 	syscallarg(int) len;
     65   1.1   deraadt 	syscallarg(int) func;
     66   1.1   deraadt 	syscallarg(void *) arg;
     67   1.1   deraadt };
     68   1.1   deraadt 
     69   1.1   deraadt struct sunos_ioctl_args {
     70   1.1   deraadt 	syscallarg(int) fd;
     71   1.1   deraadt 	syscallarg(u_long) com;
     72   1.1   deraadt 	syscallarg(caddr_t) data;
     73   1.9  christos };
     74   1.9  christos 
     75   1.9  christos struct sunos_reboot_args {
     76   1.9  christos 	syscallarg(int) howto;
     77   1.9  christos 	syscallarg(char *) bootstr;
     78   1.1   deraadt };
     79   1.1   deraadt 
     80   1.1   deraadt struct sunos_omsync_args {
     81   1.1   deraadt 	syscallarg(caddr_t) addr;
     82   1.1   deraadt 	syscallarg(int) len;
     83   1.1   deraadt 	syscallarg(int) flags;
     84   1.1   deraadt };
     85   1.1   deraadt 
     86   1.1   deraadt struct sunos_mmap_args {
     87   1.1   deraadt 	syscallarg(caddr_t) addr;
     88   1.1   deraadt 	syscallarg(int) len;
     89   1.1   deraadt 	syscallarg(int) prot;
     90   1.4   deraadt 	syscallarg(u_int) flags;
     91   1.1   deraadt 	syscallarg(int) fd;
     92   1.1   deraadt 	syscallarg(long) pos;
     93   1.1   deraadt };
     94   1.1   deraadt 
     95   1.1   deraadt struct sunos_setpgid_args {
     96   1.1   deraadt 	syscallarg(int) pid;
     97   1.1   deraadt 	syscallarg(int) pgid;
     98   1.1   deraadt };
     99   1.1   deraadt 
    100   1.1   deraadt struct sunos_setsockopt_args {
    101   1.1   deraadt 	syscallarg(int) s;
    102   1.1   deraadt 	syscallarg(int) level;
    103   1.1   deraadt 	syscallarg(int) name;
    104   1.1   deraadt 	syscallarg(caddr_t) val;
    105   1.1   deraadt 	syscallarg(int) valsize;
    106  1.14        pk };
    107  1.14        pk 
    108  1.14        pk struct sunos_sigvec_args {
    109  1.14        pk 	syscallarg(int) signum;
    110  1.14        pk 	syscallarg(struct sigvec *) nsv;
    111  1.14        pk 	syscallarg(struct sigvec *) osv;
    112   1.1   deraadt };
    113   1.1   deraadt 
    114   1.8  christos struct sunos_sigreturn_args {
    115   1.8  christos 	syscallarg(struct sigcontext *) sigcntxp;
    116   1.8  christos };
    117   1.8  christos 
    118   1.1   deraadt struct sunos_getrlimit_args {
    119   1.1   deraadt 	syscallarg(u_int) which;
    120   1.1   deraadt 	syscallarg(struct orlimit *) rlp;
    121   1.1   deraadt };
    122   1.1   deraadt 
    123   1.1   deraadt struct sunos_setrlimit_args {
    124   1.1   deraadt 	syscallarg(u_int) which;
    125   1.1   deraadt 	syscallarg(struct orlimit *) rlp;
    126   1.5   deraadt };
    127   1.5   deraadt 
    128   1.5   deraadt struct sunos_poll_args {
    129   1.5   deraadt 	syscallarg(struct sunos_pollfd *) fds;
    130   1.5   deraadt 	syscallarg(long) nfds;
    131   1.5   deraadt 	syscallarg(int) timeout;
    132   1.1   deraadt };
    133   1.1   deraadt 
    134   1.1   deraadt struct sunos_nfssvc_args {
    135   1.1   deraadt 	syscallarg(int) fd;
    136   1.1   deraadt };
    137   1.1   deraadt 
    138   1.1   deraadt struct sunos_statfs_args {
    139   1.1   deraadt 	syscallarg(char *) path;
    140   1.1   deraadt 	syscallarg(struct sunos_statfs *) buf;
    141   1.1   deraadt };
    142   1.1   deraadt 
    143   1.1   deraadt struct sunos_fstatfs_args {
    144   1.1   deraadt 	syscallarg(int) fd;
    145   1.1   deraadt 	syscallarg(struct sunos_statfs *) buf;
    146   1.1   deraadt };
    147   1.1   deraadt 
    148   1.1   deraadt struct sunos_unmount_args {
    149   1.1   deraadt 	syscallarg(char *) path;
    150   1.1   deraadt 	syscallarg(int) flags;
    151   1.1   deraadt };
    152   1.1   deraadt 
    153   1.1   deraadt struct sunos_quotactl_args {
    154   1.1   deraadt 	syscallarg(int) cmd;
    155   1.1   deraadt 	syscallarg(char *) special;
    156   1.1   deraadt 	syscallarg(int) uid;
    157   1.1   deraadt 	syscallarg(caddr_t) addr;
    158   1.1   deraadt };
    159   1.1   deraadt 
    160   1.1   deraadt struct sunos_exportfs_args {
    161   1.1   deraadt 	syscallarg(char *) path;
    162   1.1   deraadt 	syscallarg(char *) ex;
    163   1.1   deraadt };
    164   1.1   deraadt 
    165   1.1   deraadt struct sunos_mount_args {
    166   1.1   deraadt 	syscallarg(char *) type;
    167   1.1   deraadt 	syscallarg(char *) dir;
    168   1.1   deraadt 	syscallarg(int) flags;
    169   1.1   deraadt 	syscallarg(caddr_t) data;
    170   1.1   deraadt };
    171   1.1   deraadt 
    172   1.1   deraadt struct sunos_ustat_args {
    173   1.1   deraadt 	syscallarg(int) dev;
    174   1.1   deraadt 	syscallarg(struct sunos_ustat *) buf;
    175   1.1   deraadt };
    176   1.1   deraadt 
    177   1.1   deraadt struct sunos_auditsys_args {
    178   1.1   deraadt 	syscallarg(char *) record;
    179   1.1   deraadt };
    180   1.1   deraadt 
    181   1.1   deraadt struct sunos_getdents_args {
    182   1.1   deraadt 	syscallarg(int) fd;
    183   1.1   deraadt 	syscallarg(char *) buf;
    184   1.1   deraadt 	syscallarg(int) nbytes;
    185   1.1   deraadt };
    186   1.1   deraadt 
    187   1.1   deraadt struct sunos_fchroot_args {
    188   1.1   deraadt 	syscallarg(int) fd;
    189   1.1   deraadt };
    190   1.1   deraadt 
    191   1.1   deraadt struct sunos_sigpending_args {
    192   1.1   deraadt 	syscallarg(int *) mask;
    193   1.1   deraadt };
    194   1.1   deraadt 
    195   1.1   deraadt struct sunos_sysconf_args {
    196   1.1   deraadt 	syscallarg(int) name;
    197   1.1   deraadt };
    198   1.1   deraadt 
    199   1.1   deraadt struct sunos_uname_args {
    200   1.1   deraadt 	syscallarg(struct sunos_utsname *) name;
    201   1.1   deraadt };
    202   1.1   deraadt 
    203   1.1   deraadt #undef	syscallarg
    204