Home | History | Annotate | Line # | Download | only in sunos
sunos_syscallargs.h revision 1.80
      1  1.80     kamil /* $NetBSD: sunos_syscallargs.h,v 1.80 2018/01/06 16:41:23 kamil Exp $ */
      2  1.32   thorpej 
      3   1.1   deraadt /*
      4   1.1   deraadt  * System call argument lists.
      5   1.1   deraadt  *
      6   1.1   deraadt  * DO NOT EDIT-- this file is automatically generated.
      7  1.80     kamil  * created from	NetBSD: syscalls.master,v 1.77 2017/12/19 08:25:37 kamil Exp
      8   1.1   deraadt  */
      9  1.38      tron 
     10  1.58     pavel #ifndef _SUNOS_SYS_SYSCALLARGS_H_
     11  1.58     pavel #define	_SUNOS_SYS_SYSCALLARGS_H_
     12  1.41  christos 
     13  1.76  riastrad /* Forward declaration */
     14  1.76  riastrad struct lwp;
     15  1.76  riastrad 
     16  1.62       dsl #define	SUNOS_SYS_MAXSYSARGS	8
     17  1.62       dsl 
     18  1.38      tron #undef	syscallarg
     19  1.44       mrg #define	syscallarg(x)							\
     20  1.44       mrg 	union {								\
     21  1.44       mrg 		register_t pad;						\
     22  1.44       mrg 		struct { x datum; } le;					\
     23  1.51     lukem 		struct { /* LINTED zero array dimension */		\
     24  1.51     lukem 			int8_t pad[  /* CONSTCOND */			\
     25  1.51     lukem 				(sizeof (register_t) < sizeof (x))	\
     26  1.44       mrg 				? 0					\
     27  1.44       mrg 				: sizeof (register_t) - sizeof (x)];	\
     28  1.44       mrg 			x datum;					\
     29  1.44       mrg 		} be;							\
     30  1.44       mrg 	}
     31   1.1   deraadt 
     32  1.62       dsl #undef check_syscall_args
     33  1.71     njoly #define check_syscall_args(call) /*LINTED*/ \
     34  1.62       dsl 	typedef char call##_check_args[sizeof (struct call##_args) \
     35  1.62       dsl 		<= SUNOS_SYS_MAXSYSARGS * sizeof (register_t) ? 1 : -1];
     36  1.62       dsl 
     37  1.62       dsl struct sys_exit_args;
     38  1.62       dsl 
     39  1.62       dsl struct sys_read_args;
     40  1.62       dsl 
     41  1.62       dsl struct sys_write_args;
     42  1.62       dsl 
     43  1.16   mycroft struct sunos_sys_open_args {
     44  1.41  christos 	syscallarg(const char *) path;
     45   1.1   deraadt 	syscallarg(int) flags;
     46   1.1   deraadt 	syscallarg(int) mode;
     47   1.1   deraadt };
     48  1.62       dsl check_syscall_args(sunos_sys_open)
     49  1.62       dsl 
     50  1.62       dsl struct sys_close_args;
     51   1.1   deraadt 
     52  1.16   mycroft struct sunos_sys_wait4_args {
     53   1.1   deraadt 	syscallarg(int) pid;
     54   1.1   deraadt 	syscallarg(int *) status;
     55   1.1   deraadt 	syscallarg(int) options;
     56  1.66   tsutsui 	syscallarg(struct rusage50 *) rusage;
     57   1.1   deraadt };
     58  1.62       dsl check_syscall_args(sunos_sys_wait4)
     59   1.1   deraadt 
     60  1.16   mycroft struct sunos_sys_creat_args {
     61  1.41  christos 	syscallarg(const char *) path;
     62   1.1   deraadt 	syscallarg(int) mode;
     63   1.1   deraadt };
     64  1.62       dsl check_syscall_args(sunos_sys_creat)
     65  1.62       dsl 
     66  1.62       dsl struct sys_link_args;
     67  1.62       dsl 
     68  1.62       dsl struct sys_unlink_args;
     69   1.1   deraadt 
     70  1.16   mycroft struct sunos_sys_execv_args {
     71  1.41  christos 	syscallarg(const char *) path;
     72   1.4   deraadt 	syscallarg(char **) argp;
     73   1.1   deraadt };
     74  1.62       dsl check_syscall_args(sunos_sys_execv)
     75  1.62       dsl 
     76  1.62       dsl struct sys_chdir_args;
     77   1.1   deraadt 
     78  1.16   mycroft struct sunos_sys_mknod_args {
     79  1.41  christos 	syscallarg(const char *) path;
     80   1.1   deraadt 	syscallarg(int) mode;
     81   1.1   deraadt 	syscallarg(int) dev;
     82   1.1   deraadt };
     83  1.62       dsl check_syscall_args(sunos_sys_mknod)
     84  1.62       dsl 
     85  1.62       dsl struct sys_chmod_args;
     86  1.62       dsl 
     87  1.62       dsl struct sys_chown_args;
     88  1.62       dsl 
     89  1.62       dsl struct sys_obreak_args;
     90  1.62       dsl 
     91  1.62       dsl struct compat_43_sys_lseek_args;
     92  1.62       dsl 
     93  1.62       dsl struct sys_setuid_args;
     94   1.1   deraadt 
     95  1.21  christos struct sunos_sys_stime_args {
     96  1.66   tsutsui 	syscallarg(sunos_time_t *) tp;
     97  1.21  christos };
     98  1.62       dsl check_syscall_args(sunos_sys_stime)
     99  1.21  christos 
    100  1.16   mycroft struct sunos_sys_ptrace_args {
    101   1.5   deraadt 	syscallarg(int) req;
    102  1.16   mycroft 	syscallarg(pid_t) pid;
    103  1.61  christos 	syscallarg(void *) addr;
    104   1.5   deraadt 	syscallarg(int) data;
    105   1.5   deraadt 	syscallarg(char *) addr2;
    106   1.5   deraadt };
    107  1.62       dsl check_syscall_args(sunos_sys_ptrace)
    108  1.62       dsl 
    109  1.62       dsl struct sys_access_args;
    110  1.62       dsl 
    111  1.62       dsl struct sys_kill_args;
    112  1.62       dsl 
    113  1.62       dsl struct compat_43_sys_stat_args;
    114   1.5   deraadt 
    115  1.62       dsl struct compat_43_sys_lstat_args;
    116  1.62       dsl 
    117  1.62       dsl struct sys_dup_args;
    118  1.62       dsl 
    119  1.62       dsl struct sys_profil_args;
    120  1.10        pk 
    121  1.62       dsl struct sys_setgid_args;
    122  1.10        pk 
    123  1.62       dsl struct sys_acct_args;
    124  1.10        pk 
    125  1.16   mycroft struct sunos_sys_mctl_args {
    126  1.29  christos 	syscallarg(void *) addr;
    127   1.1   deraadt 	syscallarg(int) len;
    128   1.1   deraadt 	syscallarg(int) func;
    129   1.1   deraadt 	syscallarg(void *) arg;
    130   1.1   deraadt };
    131  1.62       dsl check_syscall_args(sunos_sys_mctl)
    132   1.1   deraadt 
    133  1.16   mycroft struct sunos_sys_ioctl_args {
    134   1.1   deraadt 	syscallarg(int) fd;
    135   1.1   deraadt 	syscallarg(u_long) com;
    136  1.61  christos 	syscallarg(void *) data;
    137   1.9  christos };
    138  1.62       dsl check_syscall_args(sunos_sys_ioctl)
    139   1.9  christos 
    140  1.16   mycroft struct sunos_sys_reboot_args {
    141   1.9  christos 	syscallarg(int) howto;
    142   1.9  christos 	syscallarg(char *) bootstr;
    143   1.1   deraadt };
    144  1.62       dsl check_syscall_args(sunos_sys_reboot)
    145  1.62       dsl 
    146  1.62       dsl struct sys_symlink_args;
    147  1.62       dsl 
    148  1.62       dsl struct sys_readlink_args;
    149   1.1   deraadt 
    150  1.20   thorpej struct sunos_sys_execve_args {
    151  1.41  christos 	syscallarg(const char *) path;
    152  1.20   thorpej 	syscallarg(char **) argp;
    153  1.20   thorpej 	syscallarg(char **) envp;
    154  1.20   thorpej };
    155  1.62       dsl check_syscall_args(sunos_sys_execve)
    156  1.62       dsl 
    157  1.62       dsl struct sys_umask_args;
    158  1.62       dsl 
    159  1.62       dsl struct sys_chroot_args;
    160  1.62       dsl 
    161  1.62       dsl struct compat_43_sys_fstat_args;
    162  1.20   thorpej 
    163  1.16   mycroft struct sunos_sys_omsync_args {
    164  1.61  christos 	syscallarg(void *) addr;
    165  1.16   mycroft 	syscallarg(size_t) len;
    166   1.1   deraadt 	syscallarg(int) flags;
    167   1.1   deraadt };
    168  1.62       dsl check_syscall_args(sunos_sys_omsync)
    169  1.62       dsl 
    170  1.16   mycroft struct sunos_sys_mmap_args {
    171  1.29  christos 	syscallarg(void *) addr;
    172  1.16   mycroft 	syscallarg(size_t) len;
    173   1.1   deraadt 	syscallarg(int) prot;
    174  1.16   mycroft 	syscallarg(int) flags;
    175   1.1   deraadt 	syscallarg(int) fd;
    176   1.1   deraadt 	syscallarg(long) pos;
    177   1.1   deraadt };
    178  1.62       dsl check_syscall_args(sunos_sys_mmap)
    179  1.62       dsl 
    180  1.80     kamil struct sys_ovadvise_args;
    181  1.80     kamil 
    182  1.62       dsl struct sys_munmap_args;
    183  1.62       dsl 
    184  1.62       dsl struct sys_mprotect_args;
    185  1.62       dsl 
    186  1.62       dsl struct sys_madvise_args;
    187  1.62       dsl 
    188  1.62       dsl struct sys_mincore_args;
    189  1.62       dsl 
    190  1.62       dsl struct sys_getgroups_args;
    191  1.62       dsl 
    192  1.62       dsl struct sys_setgroups_args;
    193   1.1   deraadt 
    194  1.16   mycroft struct sunos_sys_setpgrp_args {
    195   1.1   deraadt 	syscallarg(int) pid;
    196   1.1   deraadt 	syscallarg(int) pgid;
    197   1.1   deraadt };
    198  1.62       dsl check_syscall_args(sunos_sys_setpgrp)
    199  1.62       dsl 
    200  1.66   tsutsui struct compat_50_sys_setitimer_args;
    201  1.62       dsl 
    202  1.62       dsl struct compat_12_sys_swapon_args;
    203  1.62       dsl 
    204  1.66   tsutsui struct compat_50_sys_getitimer_args;
    205  1.62       dsl 
    206  1.62       dsl struct compat_43_sys_gethostname_args;
    207  1.62       dsl 
    208  1.62       dsl struct compat_43_sys_sethostname_args;
    209  1.62       dsl 
    210  1.62       dsl struct sys_dup2_args;
    211   1.1   deraadt 
    212  1.17        pk struct sunos_sys_fcntl_args {
    213  1.17        pk 	syscallarg(int) fd;
    214  1.17        pk 	syscallarg(int) cmd;
    215  1.17        pk 	syscallarg(void *) arg;
    216  1.17        pk };
    217  1.62       dsl check_syscall_args(sunos_sys_fcntl)
    218  1.62       dsl 
    219  1.66   tsutsui struct compat_50_sys_select_args;
    220  1.62       dsl 
    221  1.62       dsl struct sys_fsync_args;
    222  1.62       dsl 
    223  1.62       dsl struct sys_setpriority_args;
    224  1.17        pk 
    225  1.52       mrg struct sunos_sys_socket_args {
    226  1.52       mrg 	syscallarg(int) domain;
    227  1.52       mrg 	syscallarg(int) type;
    228  1.52       mrg 	syscallarg(int) protocol;
    229  1.52       mrg };
    230  1.62       dsl check_syscall_args(sunos_sys_socket)
    231  1.62       dsl 
    232  1.62       dsl struct sys_connect_args;
    233  1.62       dsl 
    234  1.62       dsl struct compat_43_sys_accept_args;
    235  1.62       dsl 
    236  1.62       dsl struct sys_getpriority_args;
    237  1.62       dsl 
    238  1.62       dsl struct compat_43_sys_send_args;
    239  1.62       dsl 
    240  1.62       dsl struct compat_43_sys_recv_args;
    241  1.62       dsl 
    242  1.62       dsl struct sys_bind_args;
    243  1.52       mrg 
    244  1.16   mycroft struct sunos_sys_setsockopt_args {
    245   1.1   deraadt 	syscallarg(int) s;
    246   1.1   deraadt 	syscallarg(int) level;
    247   1.1   deraadt 	syscallarg(int) name;
    248  1.61  christos 	syscallarg(void *) val;
    249   1.1   deraadt 	syscallarg(int) valsize;
    250  1.14        pk };
    251  1.62       dsl check_syscall_args(sunos_sys_setsockopt)
    252  1.62       dsl 
    253  1.62       dsl struct sys_listen_args;
    254  1.14        pk 
    255  1.16   mycroft struct sunos_sys_sigvec_args {
    256  1.14        pk 	syscallarg(int) signum;
    257  1.14        pk 	syscallarg(struct sigvec *) nsv;
    258  1.14        pk 	syscallarg(struct sigvec *) osv;
    259   1.1   deraadt };
    260  1.62       dsl check_syscall_args(sunos_sys_sigvec)
    261  1.62       dsl 
    262  1.62       dsl struct compat_43_sys_sigblock_args;
    263  1.62       dsl 
    264  1.62       dsl struct compat_43_sys_sigsetmask_args;
    265   1.1   deraadt 
    266  1.36        pk struct sunos_sys_sigsuspend_args {
    267  1.36        pk 	syscallarg(int) mask;
    268  1.36        pk };
    269  1.62       dsl check_syscall_args(sunos_sys_sigsuspend)
    270  1.62       dsl 
    271  1.62       dsl struct compat_43_sys_sigstack_args;
    272  1.62       dsl 
    273  1.62       dsl struct compat_43_sys_recvmsg_args;
    274  1.62       dsl 
    275  1.62       dsl struct compat_43_sys_sendmsg_args;
    276  1.62       dsl 
    277  1.66   tsutsui struct compat_50_sys_gettimeofday_args;
    278  1.62       dsl 
    279  1.66   tsutsui struct compat_50_sys_getrusage_args;
    280  1.62       dsl 
    281  1.62       dsl struct sys_getsockopt_args;
    282  1.62       dsl 
    283  1.62       dsl struct sys_readv_args;
    284  1.62       dsl 
    285  1.62       dsl struct sys_writev_args;
    286  1.62       dsl 
    287  1.66   tsutsui struct compat_50_sys_settimeofday_args;
    288  1.62       dsl 
    289  1.62       dsl struct sys_fchown_args;
    290  1.62       dsl 
    291  1.62       dsl struct sys_fchmod_args;
    292  1.62       dsl 
    293  1.62       dsl struct compat_43_sys_recvfrom_args;
    294  1.62       dsl 
    295  1.62       dsl struct sys_setreuid_args;
    296  1.62       dsl 
    297  1.62       dsl struct sys_setregid_args;
    298  1.62       dsl 
    299  1.62       dsl struct sys_rename_args;
    300  1.62       dsl 
    301  1.62       dsl struct compat_43_sys_truncate_args;
    302  1.62       dsl 
    303  1.62       dsl struct compat_43_sys_ftruncate_args;
    304  1.62       dsl 
    305  1.62       dsl struct sys_flock_args;
    306  1.62       dsl 
    307  1.62       dsl struct sys_sendto_args;
    308  1.62       dsl 
    309  1.62       dsl struct sys_shutdown_args;
    310  1.36        pk 
    311  1.52       mrg struct sunos_sys_socketpair_args {
    312  1.52       mrg 	syscallarg(int) domain;
    313  1.52       mrg 	syscallarg(int) type;
    314  1.52       mrg 	syscallarg(int) protocol;
    315  1.52       mrg 	syscallarg(int *) rsv;
    316  1.52       mrg };
    317  1.62       dsl check_syscall_args(sunos_sys_socketpair)
    318  1.62       dsl 
    319  1.62       dsl struct sys_mkdir_args;
    320  1.62       dsl 
    321  1.62       dsl struct sys_rmdir_args;
    322  1.62       dsl 
    323  1.66   tsutsui struct compat_50_sys_utimes_args;
    324  1.52       mrg 
    325  1.16   mycroft struct sunos_sys_sigreturn_args {
    326   1.8  christos 	syscallarg(struct sigcontext *) sigcntxp;
    327   1.8  christos };
    328  1.62       dsl check_syscall_args(sunos_sys_sigreturn)
    329  1.62       dsl 
    330  1.66   tsutsui struct compat_50_sys_adjtime_args;
    331  1.62       dsl 
    332  1.62       dsl struct compat_43_sys_getpeername_args;
    333   1.8  christos 
    334  1.16   mycroft struct sunos_sys_getrlimit_args {
    335   1.1   deraadt 	syscallarg(u_int) which;
    336   1.1   deraadt 	syscallarg(struct orlimit *) rlp;
    337   1.1   deraadt };
    338  1.62       dsl check_syscall_args(sunos_sys_getrlimit)
    339   1.1   deraadt 
    340  1.16   mycroft struct sunos_sys_setrlimit_args {
    341   1.1   deraadt 	syscallarg(u_int) which;
    342   1.1   deraadt 	syscallarg(struct orlimit *) rlp;
    343   1.5   deraadt };
    344  1.62       dsl check_syscall_args(sunos_sys_setrlimit)
    345  1.62       dsl 
    346  1.62       dsl struct compat_43_sys_killpg_args;
    347  1.62       dsl 
    348  1.62       dsl struct compat_43_sys_getsockname_args;
    349  1.62       dsl 
    350  1.62       dsl struct sys_poll_args;
    351   1.5   deraadt 
    352  1.62       dsl struct compat_12_sys_getdirentries_args;
    353  1.62       dsl 
    354  1.16   mycroft struct sunos_sys_statfs_args {
    355  1.41  christos 	syscallarg(const char *) path;
    356   1.1   deraadt 	syscallarg(struct sunos_statfs *) buf;
    357   1.1   deraadt };
    358  1.62       dsl check_syscall_args(sunos_sys_statfs)
    359   1.1   deraadt 
    360  1.16   mycroft struct sunos_sys_fstatfs_args {
    361   1.1   deraadt 	syscallarg(int) fd;
    362   1.1   deraadt 	syscallarg(struct sunos_statfs *) buf;
    363   1.1   deraadt };
    364  1.62       dsl check_syscall_args(sunos_sys_fstatfs)
    365   1.1   deraadt 
    366  1.16   mycroft struct sunos_sys_unmount_args {
    367   1.1   deraadt 	syscallarg(char *) path;
    368   1.1   deraadt };
    369  1.62       dsl check_syscall_args(sunos_sys_unmount)
    370  1.62       dsl 
    371  1.62       dsl struct compat_30_sys_getfh_args;
    372   1.1   deraadt 
    373  1.62       dsl struct compat_09_sys_getdomainname_args;
    374  1.62       dsl 
    375  1.62       dsl struct compat_09_sys_setdomainname_args;
    376  1.62       dsl 
    377  1.16   mycroft struct sunos_sys_quotactl_args {
    378   1.1   deraadt 	syscallarg(int) cmd;
    379   1.1   deraadt 	syscallarg(char *) special;
    380   1.1   deraadt 	syscallarg(int) uid;
    381  1.61  christos 	syscallarg(void *) addr;
    382   1.1   deraadt };
    383  1.62       dsl check_syscall_args(sunos_sys_quotactl)
    384   1.1   deraadt 
    385  1.16   mycroft struct sunos_sys_exportfs_args {
    386   1.1   deraadt 	syscallarg(char *) path;
    387   1.1   deraadt 	syscallarg(char *) ex;
    388   1.1   deraadt };
    389  1.62       dsl check_syscall_args(sunos_sys_exportfs)
    390   1.1   deraadt 
    391  1.16   mycroft struct sunos_sys_mount_args {
    392   1.1   deraadt 	syscallarg(char *) type;
    393   1.1   deraadt 	syscallarg(char *) dir;
    394   1.1   deraadt 	syscallarg(int) flags;
    395  1.61  christos 	syscallarg(void *) data;
    396   1.1   deraadt };
    397  1.62       dsl check_syscall_args(sunos_sys_mount)
    398   1.1   deraadt 
    399  1.16   mycroft struct sunos_sys_ustat_args {
    400   1.1   deraadt 	syscallarg(int) dev;
    401   1.1   deraadt 	syscallarg(struct sunos_ustat *) buf;
    402   1.1   deraadt };
    403  1.62       dsl check_syscall_args(sunos_sys_ustat)
    404  1.55     perry #ifdef SYSVSEM
    405  1.62       dsl 
    406  1.62       dsl struct compat_10_sys_semsys_args;
    407  1.55     perry #else
    408  1.55     perry #endif
    409  1.55     perry #ifdef SYSVMSG
    410  1.62       dsl 
    411  1.62       dsl struct compat_10_sys_msgsys_args;
    412  1.55     perry #else
    413  1.55     perry #endif
    414  1.55     perry #ifdef SYSVSHM
    415  1.62       dsl 
    416  1.62       dsl struct compat_10_sys_shmsys_args;
    417  1.55     perry #else
    418  1.55     perry #endif
    419   1.1   deraadt 
    420  1.16   mycroft struct sunos_sys_auditsys_args {
    421   1.1   deraadt 	syscallarg(char *) record;
    422   1.1   deraadt };
    423  1.62       dsl check_syscall_args(sunos_sys_auditsys)
    424   1.1   deraadt 
    425  1.16   mycroft struct sunos_sys_getdents_args {
    426   1.1   deraadt 	syscallarg(int) fd;
    427   1.1   deraadt 	syscallarg(char *) buf;
    428   1.1   deraadt 	syscallarg(int) nbytes;
    429   1.1   deraadt };
    430  1.62       dsl check_syscall_args(sunos_sys_getdents)
    431  1.62       dsl 
    432  1.62       dsl struct sys_fchdir_args;
    433  1.62       dsl 
    434  1.62       dsl struct sys_fchroot_args;
    435   1.1   deraadt 
    436  1.16   mycroft struct sunos_sys_sigpending_args {
    437   1.1   deraadt 	syscallarg(int *) mask;
    438   1.1   deraadt };
    439  1.62       dsl check_syscall_args(sunos_sys_sigpending)
    440  1.62       dsl 
    441  1.62       dsl struct sys_setpgid_args;
    442  1.62       dsl 
    443  1.62       dsl struct sys_pathconf_args;
    444  1.62       dsl 
    445  1.62       dsl struct sys_fpathconf_args;
    446   1.1   deraadt 
    447  1.16   mycroft struct sunos_sys_sysconf_args {
    448   1.1   deraadt 	syscallarg(int) name;
    449   1.1   deraadt };
    450  1.62       dsl check_syscall_args(sunos_sys_sysconf)
    451   1.1   deraadt 
    452  1.16   mycroft struct sunos_sys_uname_args {
    453   1.1   deraadt 	syscallarg(struct sunos_utsname *) name;
    454   1.1   deraadt };
    455  1.62       dsl check_syscall_args(sunos_sys_uname)
    456   1.1   deraadt 
    457  1.15   thorpej /*
    458  1.15   thorpej  * System call prototypes.
    459  1.15   thorpej  */
    460  1.15   thorpej 
    461  1.62       dsl int	sys_nosys(struct lwp *, const void *, register_t *);
    462  1.55     perry 
    463  1.62       dsl int	sys_exit(struct lwp *, const struct sys_exit_args *, register_t *);
    464  1.55     perry 
    465  1.62       dsl int	sys_fork(struct lwp *, const void *, register_t *);
    466  1.55     perry 
    467  1.62       dsl int	sys_read(struct lwp *, const struct sys_read_args *, register_t *);
    468  1.55     perry 
    469  1.62       dsl int	sys_write(struct lwp *, const struct sys_write_args *, register_t *);
    470  1.55     perry 
    471  1.62       dsl int	sunos_sys_open(struct lwp *, const struct sunos_sys_open_args *, register_t *);
    472  1.55     perry 
    473  1.62       dsl int	sys_close(struct lwp *, const struct sys_close_args *, register_t *);
    474  1.55     perry 
    475  1.62       dsl int	sunos_sys_wait4(struct lwp *, const struct sunos_sys_wait4_args *, register_t *);
    476  1.55     perry 
    477  1.62       dsl int	sunos_sys_creat(struct lwp *, const struct sunos_sys_creat_args *, register_t *);
    478  1.55     perry 
    479  1.62       dsl int	sys_link(struct lwp *, const struct sys_link_args *, register_t *);
    480  1.55     perry 
    481  1.62       dsl int	sys_unlink(struct lwp *, const struct sys_unlink_args *, register_t *);
    482  1.55     perry 
    483  1.62       dsl int	sunos_sys_execv(struct lwp *, const struct sunos_sys_execv_args *, register_t *);
    484  1.55     perry 
    485  1.62       dsl int	sys_chdir(struct lwp *, const struct sys_chdir_args *, register_t *);
    486  1.55     perry 
    487  1.62       dsl int	sunos_sys_mknod(struct lwp *, const struct sunos_sys_mknod_args *, register_t *);
    488  1.55     perry 
    489  1.62       dsl int	sys_chmod(struct lwp *, const struct sys_chmod_args *, register_t *);
    490  1.55     perry 
    491  1.62       dsl int	sys_chown(struct lwp *, const struct sys_chown_args *, register_t *);
    492  1.55     perry 
    493  1.62       dsl int	sys_obreak(struct lwp *, const struct sys_obreak_args *, register_t *);
    494  1.55     perry 
    495  1.62       dsl int	compat_43_sys_lseek(struct lwp *, const struct compat_43_sys_lseek_args *, register_t *);
    496  1.55     perry 
    497  1.62       dsl int	sys_getpid_with_ppid(struct lwp *, const void *, register_t *);
    498  1.55     perry 
    499  1.62       dsl int	sys_setuid(struct lwp *, const struct sys_setuid_args *, register_t *);
    500  1.55     perry 
    501  1.62       dsl int	sys_getuid_with_euid(struct lwp *, const void *, register_t *);
    502  1.55     perry 
    503  1.62       dsl int	sunos_sys_stime(struct lwp *, const struct sunos_sys_stime_args *, register_t *);
    504  1.55     perry 
    505  1.62       dsl int	sunos_sys_ptrace(struct lwp *, const struct sunos_sys_ptrace_args *, register_t *);
    506  1.55     perry 
    507  1.62       dsl int	sys_access(struct lwp *, const struct sys_access_args *, register_t *);
    508  1.55     perry 
    509  1.62       dsl int	sys_sync(struct lwp *, const void *, register_t *);
    510  1.55     perry 
    511  1.62       dsl int	sys_kill(struct lwp *, const struct sys_kill_args *, register_t *);
    512  1.55     perry 
    513  1.62       dsl int	compat_43_sys_stat(struct lwp *, const struct compat_43_sys_stat_args *, register_t *);
    514  1.55     perry 
    515  1.62       dsl int	compat_43_sys_lstat(struct lwp *, const struct compat_43_sys_lstat_args *, register_t *);
    516  1.55     perry 
    517  1.62       dsl int	sys_dup(struct lwp *, const struct sys_dup_args *, register_t *);
    518  1.55     perry 
    519  1.62       dsl int	sys_pipe(struct lwp *, const void *, register_t *);
    520  1.55     perry 
    521  1.62       dsl int	sys_profil(struct lwp *, const struct sys_profil_args *, register_t *);
    522  1.55     perry 
    523  1.62       dsl int	sys_setgid(struct lwp *, const struct sys_setgid_args *, register_t *);
    524  1.55     perry 
    525  1.62       dsl int	sys_getgid_with_egid(struct lwp *, const void *, register_t *);
    526  1.55     perry 
    527  1.62       dsl int	sys_acct(struct lwp *, const struct sys_acct_args *, register_t *);
    528  1.55     perry 
    529  1.62       dsl int	sunos_sys_mctl(struct lwp *, const struct sunos_sys_mctl_args *, register_t *);
    530  1.55     perry 
    531  1.62       dsl int	sunos_sys_ioctl(struct lwp *, const struct sunos_sys_ioctl_args *, register_t *);
    532  1.55     perry 
    533  1.62       dsl int	sunos_sys_reboot(struct lwp *, const struct sunos_sys_reboot_args *, register_t *);
    534  1.55     perry 
    535  1.62       dsl int	sys_symlink(struct lwp *, const struct sys_symlink_args *, register_t *);
    536  1.55     perry 
    537  1.62       dsl int	sys_readlink(struct lwp *, const struct sys_readlink_args *, register_t *);
    538  1.55     perry 
    539  1.62       dsl int	sunos_sys_execve(struct lwp *, const struct sunos_sys_execve_args *, register_t *);
    540  1.55     perry 
    541  1.62       dsl int	sys_umask(struct lwp *, const struct sys_umask_args *, register_t *);
    542  1.55     perry 
    543  1.62       dsl int	sys_chroot(struct lwp *, const struct sys_chroot_args *, register_t *);
    544  1.55     perry 
    545  1.62       dsl int	compat_43_sys_fstat(struct lwp *, const struct compat_43_sys_fstat_args *, register_t *);
    546  1.55     perry 
    547  1.62       dsl int	compat_43_sys_getpagesize(struct lwp *, const void *, register_t *);
    548  1.55     perry 
    549  1.62       dsl int	sunos_sys_omsync(struct lwp *, const struct sunos_sys_omsync_args *, register_t *);
    550  1.55     perry 
    551  1.62       dsl int	sys_vfork(struct lwp *, const void *, register_t *);
    552  1.55     perry 
    553  1.62       dsl int	sunos_sys_mmap(struct lwp *, const struct sunos_sys_mmap_args *, register_t *);
    554  1.55     perry 
    555  1.80     kamil int	sys_ovadvise(struct lwp *, const struct sys_ovadvise_args *, register_t *);
    556  1.80     kamil 
    557  1.62       dsl int	sys_munmap(struct lwp *, const struct sys_munmap_args *, register_t *);
    558  1.55     perry 
    559  1.62       dsl int	sys_mprotect(struct lwp *, const struct sys_mprotect_args *, register_t *);
    560  1.55     perry 
    561  1.62       dsl int	sys_madvise(struct lwp *, const struct sys_madvise_args *, register_t *);
    562  1.55     perry 
    563  1.62       dsl int	sunos_sys_vhangup(struct lwp *, const void *, register_t *);
    564  1.55     perry 
    565  1.62       dsl int	sys_mincore(struct lwp *, const struct sys_mincore_args *, register_t *);
    566  1.55     perry 
    567  1.62       dsl int	sys_getgroups(struct lwp *, const struct sys_getgroups_args *, register_t *);
    568  1.55     perry 
    569  1.62       dsl int	sys_setgroups(struct lwp *, const struct sys_setgroups_args *, register_t *);
    570  1.55     perry 
    571  1.62       dsl int	sys_getpgrp(struct lwp *, const void *, register_t *);
    572  1.55     perry 
    573  1.62       dsl int	sunos_sys_setpgrp(struct lwp *, const struct sunos_sys_setpgrp_args *, register_t *);
    574  1.55     perry 
    575  1.66   tsutsui int	compat_50_sys_setitimer(struct lwp *, const struct compat_50_sys_setitimer_args *, register_t *);
    576  1.55     perry 
    577  1.62       dsl int	compat_12_sys_swapon(struct lwp *, const struct compat_12_sys_swapon_args *, register_t *);
    578  1.55     perry 
    579  1.66   tsutsui int	compat_50_sys_getitimer(struct lwp *, const struct compat_50_sys_getitimer_args *, register_t *);
    580  1.55     perry 
    581  1.62       dsl int	compat_43_sys_gethostname(struct lwp *, const struct compat_43_sys_gethostname_args *, register_t *);
    582  1.55     perry 
    583  1.62       dsl int	compat_43_sys_sethostname(struct lwp *, const struct compat_43_sys_sethostname_args *, register_t *);
    584  1.55     perry 
    585  1.62       dsl int	compat_43_sys_getdtablesize(struct lwp *, const void *, register_t *);
    586  1.55     perry 
    587  1.62       dsl int	sys_dup2(struct lwp *, const struct sys_dup2_args *, register_t *);
    588  1.55     perry 
    589  1.62       dsl int	sunos_sys_fcntl(struct lwp *, const struct sunos_sys_fcntl_args *, register_t *);
    590  1.55     perry 
    591  1.66   tsutsui int	compat_50_sys_select(struct lwp *, const struct compat_50_sys_select_args *, register_t *);
    592  1.55     perry 
    593  1.62       dsl int	sys_fsync(struct lwp *, const struct sys_fsync_args *, register_t *);
    594  1.55     perry 
    595  1.62       dsl int	sys_setpriority(struct lwp *, const struct sys_setpriority_args *, register_t *);
    596  1.55     perry 
    597  1.62       dsl int	sunos_sys_socket(struct lwp *, const struct sunos_sys_socket_args *, register_t *);
    598  1.55     perry 
    599  1.62       dsl int	sys_connect(struct lwp *, const struct sys_connect_args *, register_t *);
    600  1.55     perry 
    601  1.62       dsl int	compat_43_sys_accept(struct lwp *, const struct compat_43_sys_accept_args *, register_t *);
    602  1.55     perry 
    603  1.62       dsl int	sys_getpriority(struct lwp *, const struct sys_getpriority_args *, register_t *);
    604  1.55     perry 
    605  1.62       dsl int	compat_43_sys_send(struct lwp *, const struct compat_43_sys_send_args *, register_t *);
    606  1.55     perry 
    607  1.62       dsl int	compat_43_sys_recv(struct lwp *, const struct compat_43_sys_recv_args *, register_t *);
    608  1.55     perry 
    609  1.62       dsl int	sys_bind(struct lwp *, const struct sys_bind_args *, register_t *);
    610  1.55     perry 
    611  1.62       dsl int	sunos_sys_setsockopt(struct lwp *, const struct sunos_sys_setsockopt_args *, register_t *);
    612  1.55     perry 
    613  1.62       dsl int	sys_listen(struct lwp *, const struct sys_listen_args *, register_t *);
    614  1.55     perry 
    615  1.62       dsl int	sunos_sys_sigvec(struct lwp *, const struct sunos_sys_sigvec_args *, register_t *);
    616  1.55     perry 
    617  1.62       dsl int	compat_43_sys_sigblock(struct lwp *, const struct compat_43_sys_sigblock_args *, register_t *);
    618  1.55     perry 
    619  1.62       dsl int	compat_43_sys_sigsetmask(struct lwp *, const struct compat_43_sys_sigsetmask_args *, register_t *);
    620  1.55     perry 
    621  1.62       dsl int	sunos_sys_sigsuspend(struct lwp *, const struct sunos_sys_sigsuspend_args *, register_t *);
    622  1.55     perry 
    623  1.62       dsl int	compat_43_sys_sigstack(struct lwp *, const struct compat_43_sys_sigstack_args *, register_t *);
    624  1.55     perry 
    625  1.62       dsl int	compat_43_sys_recvmsg(struct lwp *, const struct compat_43_sys_recvmsg_args *, register_t *);
    626  1.55     perry 
    627  1.62       dsl int	compat_43_sys_sendmsg(struct lwp *, const struct compat_43_sys_sendmsg_args *, register_t *);
    628  1.55     perry 
    629  1.66   tsutsui int	compat_50_sys_gettimeofday(struct lwp *, const struct compat_50_sys_gettimeofday_args *, register_t *);
    630  1.55     perry 
    631  1.66   tsutsui int	compat_50_sys_getrusage(struct lwp *, const struct compat_50_sys_getrusage_args *, register_t *);
    632  1.55     perry 
    633  1.62       dsl int	sys_getsockopt(struct lwp *, const struct sys_getsockopt_args *, register_t *);
    634  1.55     perry 
    635  1.62       dsl int	sys_readv(struct lwp *, const struct sys_readv_args *, register_t *);
    636  1.55     perry 
    637  1.62       dsl int	sys_writev(struct lwp *, const struct sys_writev_args *, register_t *);
    638  1.55     perry 
    639  1.66   tsutsui int	compat_50_sys_settimeofday(struct lwp *, const struct compat_50_sys_settimeofday_args *, register_t *);
    640  1.55     perry 
    641  1.62       dsl int	sys_fchown(struct lwp *, const struct sys_fchown_args *, register_t *);
    642  1.55     perry 
    643  1.62       dsl int	sys_fchmod(struct lwp *, const struct sys_fchmod_args *, register_t *);
    644  1.55     perry 
    645  1.62       dsl int	compat_43_sys_recvfrom(struct lwp *, const struct compat_43_sys_recvfrom_args *, register_t *);
    646  1.55     perry 
    647  1.62       dsl int	sys_setreuid(struct lwp *, const struct sys_setreuid_args *, register_t *);
    648  1.55     perry 
    649  1.62       dsl int	sys_setregid(struct lwp *, const struct sys_setregid_args *, register_t *);
    650  1.55     perry 
    651  1.62       dsl int	sys_rename(struct lwp *, const struct sys_rename_args *, register_t *);
    652  1.55     perry 
    653  1.62       dsl int	compat_43_sys_truncate(struct lwp *, const struct compat_43_sys_truncate_args *, register_t *);
    654  1.55     perry 
    655  1.62       dsl int	compat_43_sys_ftruncate(struct lwp *, const struct compat_43_sys_ftruncate_args *, register_t *);
    656  1.55     perry 
    657  1.62       dsl int	sys_flock(struct lwp *, const struct sys_flock_args *, register_t *);
    658  1.55     perry 
    659  1.62       dsl int	sys_sendto(struct lwp *, const struct sys_sendto_args *, register_t *);
    660  1.55     perry 
    661  1.62       dsl int	sys_shutdown(struct lwp *, const struct sys_shutdown_args *, register_t *);
    662  1.55     perry 
    663  1.62       dsl int	sunos_sys_socketpair(struct lwp *, const struct sunos_sys_socketpair_args *, register_t *);
    664  1.55     perry 
    665  1.62       dsl int	sys_mkdir(struct lwp *, const struct sys_mkdir_args *, register_t *);
    666  1.55     perry 
    667  1.62       dsl int	sys_rmdir(struct lwp *, const struct sys_rmdir_args *, register_t *);
    668  1.55     perry 
    669  1.66   tsutsui int	compat_50_sys_utimes(struct lwp *, const struct compat_50_sys_utimes_args *, register_t *);
    670  1.55     perry 
    671  1.62       dsl int	sunos_sys_sigreturn(struct lwp *, const struct sunos_sys_sigreturn_args *, register_t *);
    672  1.55     perry 
    673  1.66   tsutsui int	compat_50_sys_adjtime(struct lwp *, const struct compat_50_sys_adjtime_args *, register_t *);
    674  1.55     perry 
    675  1.62       dsl int	compat_43_sys_getpeername(struct lwp *, const struct compat_43_sys_getpeername_args *, register_t *);
    676  1.55     perry 
    677  1.62       dsl int	compat_43_sys_gethostid(struct lwp *, const void *, register_t *);
    678  1.55     perry 
    679  1.62       dsl int	sunos_sys_getrlimit(struct lwp *, const struct sunos_sys_getrlimit_args *, register_t *);
    680  1.55     perry 
    681  1.62       dsl int	sunos_sys_setrlimit(struct lwp *, const struct sunos_sys_setrlimit_args *, register_t *);
    682  1.55     perry 
    683  1.62       dsl int	compat_43_sys_killpg(struct lwp *, const struct compat_43_sys_killpg_args *, register_t *);
    684  1.55     perry 
    685  1.62       dsl int	compat_43_sys_getsockname(struct lwp *, const struct compat_43_sys_getsockname_args *, register_t *);
    686  1.55     perry 
    687  1.62       dsl int	sys_poll(struct lwp *, const struct sys_poll_args *, register_t *);
    688  1.55     perry 
    689  1.62       dsl int	compat_12_sys_getdirentries(struct lwp *, const struct compat_12_sys_getdirentries_args *, register_t *);
    690  1.55     perry 
    691  1.62       dsl int	sunos_sys_statfs(struct lwp *, const struct sunos_sys_statfs_args *, register_t *);
    692  1.55     perry 
    693  1.62       dsl int	sunos_sys_fstatfs(struct lwp *, const struct sunos_sys_fstatfs_args *, register_t *);
    694  1.55     perry 
    695  1.62       dsl int	sunos_sys_unmount(struct lwp *, const struct sunos_sys_unmount_args *, register_t *);
    696  1.55     perry 
    697  1.62       dsl int	async_daemon(struct lwp *, const void *, register_t *);
    698  1.55     perry 
    699  1.62       dsl int	compat_30_sys_getfh(struct lwp *, const struct compat_30_sys_getfh_args *, register_t *);
    700  1.55     perry 
    701  1.62       dsl int	compat_09_sys_getdomainname(struct lwp *, const struct compat_09_sys_getdomainname_args *, register_t *);
    702  1.55     perry 
    703  1.62       dsl int	compat_09_sys_setdomainname(struct lwp *, const struct compat_09_sys_setdomainname_args *, register_t *);
    704  1.55     perry 
    705  1.62       dsl int	sunos_sys_quotactl(struct lwp *, const struct sunos_sys_quotactl_args *, register_t *);
    706  1.55     perry 
    707  1.62       dsl int	sunos_sys_exportfs(struct lwp *, const struct sunos_sys_exportfs_args *, register_t *);
    708  1.55     perry 
    709  1.62       dsl int	sunos_sys_mount(struct lwp *, const struct sunos_sys_mount_args *, register_t *);
    710  1.55     perry 
    711  1.62       dsl int	sunos_sys_ustat(struct lwp *, const struct sunos_sys_ustat_args *, register_t *);
    712  1.55     perry 
    713  1.15   thorpej #ifdef SYSVSEM
    714  1.62       dsl int	compat_10_sys_semsys(struct lwp *, const struct compat_10_sys_semsys_args *, register_t *);
    715  1.55     perry 
    716  1.15   thorpej #else
    717  1.15   thorpej #endif
    718  1.15   thorpej #ifdef SYSVMSG
    719  1.62       dsl int	compat_10_sys_msgsys(struct lwp *, const struct compat_10_sys_msgsys_args *, register_t *);
    720  1.55     perry 
    721  1.15   thorpej #else
    722  1.15   thorpej #endif
    723  1.15   thorpej #ifdef SYSVSHM
    724  1.62       dsl int	compat_10_sys_shmsys(struct lwp *, const struct compat_10_sys_shmsys_args *, register_t *);
    725  1.55     perry 
    726  1.15   thorpej #else
    727  1.15   thorpej #endif
    728  1.62       dsl int	sunos_sys_auditsys(struct lwp *, const struct sunos_sys_auditsys_args *, register_t *);
    729  1.55     perry 
    730  1.62       dsl int	sunos_sys_getdents(struct lwp *, const struct sunos_sys_getdents_args *, register_t *);
    731  1.55     perry 
    732  1.62       dsl int	sys_setsid(struct lwp *, const void *, register_t *);
    733  1.55     perry 
    734  1.62       dsl int	sys_fchdir(struct lwp *, const struct sys_fchdir_args *, register_t *);
    735  1.55     perry 
    736  1.62       dsl int	sys_fchroot(struct lwp *, const struct sys_fchroot_args *, register_t *);
    737  1.55     perry 
    738  1.62       dsl int	sunos_sys_sigpending(struct lwp *, const struct sunos_sys_sigpending_args *, register_t *);
    739  1.55     perry 
    740  1.62       dsl int	sys_setpgid(struct lwp *, const struct sys_setpgid_args *, register_t *);
    741  1.55     perry 
    742  1.62       dsl int	sys_pathconf(struct lwp *, const struct sys_pathconf_args *, register_t *);
    743  1.55     perry 
    744  1.62       dsl int	sys_fpathconf(struct lwp *, const struct sys_fpathconf_args *, register_t *);
    745  1.55     perry 
    746  1.62       dsl int	sunos_sys_sysconf(struct lwp *, const struct sunos_sys_sysconf_args *, register_t *);
    747  1.55     perry 
    748  1.62       dsl int	sunos_sys_uname(struct lwp *, const struct sunos_sys_uname_args *, register_t *);
    749  1.55     perry 
    750  1.58     pavel #endif /* _SUNOS_SYS_SYSCALLARGS_H_ */
    751