Home | History | Annotate | Line # | Download | only in sunos
sunos_syscallargs.h revision 1.80.4.1
      1  1.80.4.1  christos /* $NetBSD: sunos_syscallargs.h,v 1.80.4.1 2019/06/10 22:07:02 christos 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.4.1  christos  * created from	NetBSD: syscalls.master,v 1.80.2.2 2018/09/29 02:29:42 pgoyette 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.80.4.1  christos #ifdef COMPAT_09
    373       1.1   deraadt 
    374      1.62       dsl struct compat_09_sys_getdomainname_args;
    375      1.62       dsl 
    376      1.62       dsl struct compat_09_sys_setdomainname_args;
    377  1.80.4.1  christos #else
    378  1.80.4.1  christos #endif
    379      1.62       dsl 
    380      1.16   mycroft struct sunos_sys_quotactl_args {
    381       1.1   deraadt 	syscallarg(int) cmd;
    382       1.1   deraadt 	syscallarg(char *) special;
    383       1.1   deraadt 	syscallarg(int) uid;
    384      1.61  christos 	syscallarg(void *) addr;
    385       1.1   deraadt };
    386      1.62       dsl check_syscall_args(sunos_sys_quotactl)
    387       1.1   deraadt 
    388      1.16   mycroft struct sunos_sys_exportfs_args {
    389       1.1   deraadt 	syscallarg(char *) path;
    390       1.1   deraadt 	syscallarg(char *) ex;
    391       1.1   deraadt };
    392      1.62       dsl check_syscall_args(sunos_sys_exportfs)
    393       1.1   deraadt 
    394      1.16   mycroft struct sunos_sys_mount_args {
    395       1.1   deraadt 	syscallarg(char *) type;
    396       1.1   deraadt 	syscallarg(char *) dir;
    397       1.1   deraadt 	syscallarg(int) flags;
    398      1.61  christos 	syscallarg(void *) data;
    399       1.1   deraadt };
    400      1.62       dsl check_syscall_args(sunos_sys_mount)
    401       1.1   deraadt 
    402      1.16   mycroft struct sunos_sys_ustat_args {
    403       1.1   deraadt 	syscallarg(int) dev;
    404       1.1   deraadt 	syscallarg(struct sunos_ustat *) buf;
    405       1.1   deraadt };
    406      1.62       dsl check_syscall_args(sunos_sys_ustat)
    407  1.80.4.1  christos #if defined(SYSVSEM) && defined(COMPAT_10)
    408      1.62       dsl 
    409      1.62       dsl struct compat_10_sys_semsys_args;
    410      1.55     perry #else
    411      1.55     perry #endif
    412  1.80.4.1  christos #if defined(SYSVMSG) && defined(COMPAT_10)
    413      1.62       dsl 
    414      1.62       dsl struct compat_10_sys_msgsys_args;
    415      1.55     perry #else
    416      1.55     perry #endif
    417  1.80.4.1  christos #if defined(SYSVSHM) && defined(COMPAT_10)
    418      1.62       dsl 
    419      1.62       dsl struct compat_10_sys_shmsys_args;
    420      1.55     perry #else
    421      1.55     perry #endif
    422       1.1   deraadt 
    423      1.16   mycroft struct sunos_sys_auditsys_args {
    424       1.1   deraadt 	syscallarg(char *) record;
    425       1.1   deraadt };
    426      1.62       dsl check_syscall_args(sunos_sys_auditsys)
    427       1.1   deraadt 
    428      1.16   mycroft struct sunos_sys_getdents_args {
    429       1.1   deraadt 	syscallarg(int) fd;
    430       1.1   deraadt 	syscallarg(char *) buf;
    431       1.1   deraadt 	syscallarg(int) nbytes;
    432       1.1   deraadt };
    433      1.62       dsl check_syscall_args(sunos_sys_getdents)
    434      1.62       dsl 
    435      1.62       dsl struct sys_fchdir_args;
    436      1.62       dsl 
    437      1.62       dsl struct sys_fchroot_args;
    438       1.1   deraadt 
    439      1.16   mycroft struct sunos_sys_sigpending_args {
    440       1.1   deraadt 	syscallarg(int *) mask;
    441       1.1   deraadt };
    442      1.62       dsl check_syscall_args(sunos_sys_sigpending)
    443      1.62       dsl 
    444      1.62       dsl struct sys_setpgid_args;
    445      1.62       dsl 
    446      1.62       dsl struct sys_pathconf_args;
    447      1.62       dsl 
    448      1.62       dsl struct sys_fpathconf_args;
    449       1.1   deraadt 
    450      1.16   mycroft struct sunos_sys_sysconf_args {
    451       1.1   deraadt 	syscallarg(int) name;
    452       1.1   deraadt };
    453      1.62       dsl check_syscall_args(sunos_sys_sysconf)
    454       1.1   deraadt 
    455      1.16   mycroft struct sunos_sys_uname_args {
    456       1.1   deraadt 	syscallarg(struct sunos_utsname *) name;
    457       1.1   deraadt };
    458      1.62       dsl check_syscall_args(sunos_sys_uname)
    459       1.1   deraadt 
    460      1.15   thorpej /*
    461      1.15   thorpej  * System call prototypes.
    462      1.15   thorpej  */
    463      1.15   thorpej 
    464      1.62       dsl int	sys_nosys(struct lwp *, const void *, register_t *);
    465      1.55     perry 
    466      1.62       dsl int	sys_exit(struct lwp *, const struct sys_exit_args *, register_t *);
    467      1.55     perry 
    468      1.62       dsl int	sys_fork(struct lwp *, const void *, register_t *);
    469      1.55     perry 
    470      1.62       dsl int	sys_read(struct lwp *, const struct sys_read_args *, register_t *);
    471      1.55     perry 
    472      1.62       dsl int	sys_write(struct lwp *, const struct sys_write_args *, register_t *);
    473      1.55     perry 
    474      1.62       dsl int	sunos_sys_open(struct lwp *, const struct sunos_sys_open_args *, register_t *);
    475      1.55     perry 
    476      1.62       dsl int	sys_close(struct lwp *, const struct sys_close_args *, register_t *);
    477      1.55     perry 
    478      1.62       dsl int	sunos_sys_wait4(struct lwp *, const struct sunos_sys_wait4_args *, register_t *);
    479      1.55     perry 
    480      1.62       dsl int	sunos_sys_creat(struct lwp *, const struct sunos_sys_creat_args *, register_t *);
    481      1.55     perry 
    482      1.62       dsl int	sys_link(struct lwp *, const struct sys_link_args *, register_t *);
    483      1.55     perry 
    484      1.62       dsl int	sys_unlink(struct lwp *, const struct sys_unlink_args *, register_t *);
    485      1.55     perry 
    486      1.62       dsl int	sunos_sys_execv(struct lwp *, const struct sunos_sys_execv_args *, register_t *);
    487      1.55     perry 
    488      1.62       dsl int	sys_chdir(struct lwp *, const struct sys_chdir_args *, register_t *);
    489      1.55     perry 
    490      1.62       dsl int	sunos_sys_mknod(struct lwp *, const struct sunos_sys_mknod_args *, register_t *);
    491      1.55     perry 
    492      1.62       dsl int	sys_chmod(struct lwp *, const struct sys_chmod_args *, register_t *);
    493      1.55     perry 
    494      1.62       dsl int	sys_chown(struct lwp *, const struct sys_chown_args *, register_t *);
    495      1.55     perry 
    496      1.62       dsl int	sys_obreak(struct lwp *, const struct sys_obreak_args *, register_t *);
    497      1.55     perry 
    498      1.62       dsl int	compat_43_sys_lseek(struct lwp *, const struct compat_43_sys_lseek_args *, register_t *);
    499      1.55     perry 
    500      1.62       dsl int	sys_getpid_with_ppid(struct lwp *, const void *, register_t *);
    501      1.55     perry 
    502      1.62       dsl int	sys_setuid(struct lwp *, const struct sys_setuid_args *, register_t *);
    503      1.55     perry 
    504      1.62       dsl int	sys_getuid_with_euid(struct lwp *, const void *, register_t *);
    505      1.55     perry 
    506      1.62       dsl int	sunos_sys_stime(struct lwp *, const struct sunos_sys_stime_args *, register_t *);
    507      1.55     perry 
    508      1.62       dsl int	sunos_sys_ptrace(struct lwp *, const struct sunos_sys_ptrace_args *, register_t *);
    509      1.55     perry 
    510      1.62       dsl int	sys_access(struct lwp *, const struct sys_access_args *, register_t *);
    511      1.55     perry 
    512      1.62       dsl int	sys_sync(struct lwp *, const void *, register_t *);
    513      1.55     perry 
    514      1.62       dsl int	sys_kill(struct lwp *, const struct sys_kill_args *, register_t *);
    515      1.55     perry 
    516      1.62       dsl int	compat_43_sys_stat(struct lwp *, const struct compat_43_sys_stat_args *, register_t *);
    517      1.55     perry 
    518      1.62       dsl int	compat_43_sys_lstat(struct lwp *, const struct compat_43_sys_lstat_args *, register_t *);
    519      1.55     perry 
    520      1.62       dsl int	sys_dup(struct lwp *, const struct sys_dup_args *, register_t *);
    521      1.55     perry 
    522      1.62       dsl int	sys_pipe(struct lwp *, const void *, register_t *);
    523      1.55     perry 
    524      1.62       dsl int	sys_profil(struct lwp *, const struct sys_profil_args *, register_t *);
    525      1.55     perry 
    526      1.62       dsl int	sys_setgid(struct lwp *, const struct sys_setgid_args *, register_t *);
    527      1.55     perry 
    528      1.62       dsl int	sys_getgid_with_egid(struct lwp *, const void *, register_t *);
    529      1.55     perry 
    530      1.62       dsl int	sys_acct(struct lwp *, const struct sys_acct_args *, register_t *);
    531      1.55     perry 
    532      1.62       dsl int	sunos_sys_mctl(struct lwp *, const struct sunos_sys_mctl_args *, register_t *);
    533      1.55     perry 
    534      1.62       dsl int	sunos_sys_ioctl(struct lwp *, const struct sunos_sys_ioctl_args *, register_t *);
    535      1.55     perry 
    536      1.62       dsl int	sunos_sys_reboot(struct lwp *, const struct sunos_sys_reboot_args *, register_t *);
    537      1.55     perry 
    538      1.62       dsl int	sys_symlink(struct lwp *, const struct sys_symlink_args *, register_t *);
    539      1.55     perry 
    540      1.62       dsl int	sys_readlink(struct lwp *, const struct sys_readlink_args *, register_t *);
    541      1.55     perry 
    542      1.62       dsl int	sunos_sys_execve(struct lwp *, const struct sunos_sys_execve_args *, register_t *);
    543      1.55     perry 
    544      1.62       dsl int	sys_umask(struct lwp *, const struct sys_umask_args *, register_t *);
    545      1.55     perry 
    546      1.62       dsl int	sys_chroot(struct lwp *, const struct sys_chroot_args *, register_t *);
    547      1.55     perry 
    548      1.62       dsl int	compat_43_sys_fstat(struct lwp *, const struct compat_43_sys_fstat_args *, register_t *);
    549      1.55     perry 
    550      1.62       dsl int	compat_43_sys_getpagesize(struct lwp *, const void *, register_t *);
    551      1.55     perry 
    552      1.62       dsl int	sunos_sys_omsync(struct lwp *, const struct sunos_sys_omsync_args *, register_t *);
    553      1.55     perry 
    554      1.62       dsl int	sys_vfork(struct lwp *, const void *, register_t *);
    555      1.55     perry 
    556      1.62       dsl int	sunos_sys_mmap(struct lwp *, const struct sunos_sys_mmap_args *, register_t *);
    557      1.55     perry 
    558      1.80     kamil int	sys_ovadvise(struct lwp *, const struct sys_ovadvise_args *, register_t *);
    559      1.80     kamil 
    560      1.62       dsl int	sys_munmap(struct lwp *, const struct sys_munmap_args *, register_t *);
    561      1.55     perry 
    562      1.62       dsl int	sys_mprotect(struct lwp *, const struct sys_mprotect_args *, register_t *);
    563      1.55     perry 
    564      1.62       dsl int	sys_madvise(struct lwp *, const struct sys_madvise_args *, register_t *);
    565      1.55     perry 
    566      1.62       dsl int	sunos_sys_vhangup(struct lwp *, const void *, register_t *);
    567      1.55     perry 
    568      1.62       dsl int	sys_mincore(struct lwp *, const struct sys_mincore_args *, register_t *);
    569      1.55     perry 
    570      1.62       dsl int	sys_getgroups(struct lwp *, const struct sys_getgroups_args *, register_t *);
    571      1.55     perry 
    572      1.62       dsl int	sys_setgroups(struct lwp *, const struct sys_setgroups_args *, register_t *);
    573      1.55     perry 
    574      1.62       dsl int	sys_getpgrp(struct lwp *, const void *, register_t *);
    575      1.55     perry 
    576      1.62       dsl int	sunos_sys_setpgrp(struct lwp *, const struct sunos_sys_setpgrp_args *, register_t *);
    577      1.55     perry 
    578      1.66   tsutsui int	compat_50_sys_setitimer(struct lwp *, const struct compat_50_sys_setitimer_args *, register_t *);
    579      1.55     perry 
    580      1.62       dsl int	compat_12_sys_swapon(struct lwp *, const struct compat_12_sys_swapon_args *, register_t *);
    581      1.55     perry 
    582      1.66   tsutsui int	compat_50_sys_getitimer(struct lwp *, const struct compat_50_sys_getitimer_args *, register_t *);
    583      1.55     perry 
    584      1.62       dsl int	compat_43_sys_gethostname(struct lwp *, const struct compat_43_sys_gethostname_args *, register_t *);
    585      1.55     perry 
    586      1.62       dsl int	compat_43_sys_sethostname(struct lwp *, const struct compat_43_sys_sethostname_args *, register_t *);
    587      1.55     perry 
    588      1.62       dsl int	compat_43_sys_getdtablesize(struct lwp *, const void *, register_t *);
    589      1.55     perry 
    590      1.62       dsl int	sys_dup2(struct lwp *, const struct sys_dup2_args *, register_t *);
    591      1.55     perry 
    592      1.62       dsl int	sunos_sys_fcntl(struct lwp *, const struct sunos_sys_fcntl_args *, register_t *);
    593      1.55     perry 
    594      1.66   tsutsui int	compat_50_sys_select(struct lwp *, const struct compat_50_sys_select_args *, register_t *);
    595      1.55     perry 
    596      1.62       dsl int	sys_fsync(struct lwp *, const struct sys_fsync_args *, register_t *);
    597      1.55     perry 
    598      1.62       dsl int	sys_setpriority(struct lwp *, const struct sys_setpriority_args *, register_t *);
    599      1.55     perry 
    600      1.62       dsl int	sunos_sys_socket(struct lwp *, const struct sunos_sys_socket_args *, register_t *);
    601      1.55     perry 
    602      1.62       dsl int	sys_connect(struct lwp *, const struct sys_connect_args *, register_t *);
    603      1.55     perry 
    604      1.62       dsl int	compat_43_sys_accept(struct lwp *, const struct compat_43_sys_accept_args *, register_t *);
    605      1.55     perry 
    606      1.62       dsl int	sys_getpriority(struct lwp *, const struct sys_getpriority_args *, register_t *);
    607      1.55     perry 
    608      1.62       dsl int	compat_43_sys_send(struct lwp *, const struct compat_43_sys_send_args *, register_t *);
    609      1.55     perry 
    610      1.62       dsl int	compat_43_sys_recv(struct lwp *, const struct compat_43_sys_recv_args *, register_t *);
    611      1.55     perry 
    612      1.62       dsl int	sys_bind(struct lwp *, const struct sys_bind_args *, register_t *);
    613      1.55     perry 
    614      1.62       dsl int	sunos_sys_setsockopt(struct lwp *, const struct sunos_sys_setsockopt_args *, register_t *);
    615      1.55     perry 
    616      1.62       dsl int	sys_listen(struct lwp *, const struct sys_listen_args *, register_t *);
    617      1.55     perry 
    618      1.62       dsl int	sunos_sys_sigvec(struct lwp *, const struct sunos_sys_sigvec_args *, register_t *);
    619      1.55     perry 
    620      1.62       dsl int	compat_43_sys_sigblock(struct lwp *, const struct compat_43_sys_sigblock_args *, register_t *);
    621      1.55     perry 
    622      1.62       dsl int	compat_43_sys_sigsetmask(struct lwp *, const struct compat_43_sys_sigsetmask_args *, register_t *);
    623      1.55     perry 
    624      1.62       dsl int	sunos_sys_sigsuspend(struct lwp *, const struct sunos_sys_sigsuspend_args *, register_t *);
    625      1.55     perry 
    626      1.62       dsl int	compat_43_sys_sigstack(struct lwp *, const struct compat_43_sys_sigstack_args *, register_t *);
    627      1.55     perry 
    628      1.62       dsl int	compat_43_sys_recvmsg(struct lwp *, const struct compat_43_sys_recvmsg_args *, register_t *);
    629      1.55     perry 
    630      1.62       dsl int	compat_43_sys_sendmsg(struct lwp *, const struct compat_43_sys_sendmsg_args *, register_t *);
    631      1.55     perry 
    632      1.66   tsutsui int	compat_50_sys_gettimeofday(struct lwp *, const struct compat_50_sys_gettimeofday_args *, register_t *);
    633      1.55     perry 
    634      1.66   tsutsui int	compat_50_sys_getrusage(struct lwp *, const struct compat_50_sys_getrusage_args *, register_t *);
    635      1.55     perry 
    636      1.62       dsl int	sys_getsockopt(struct lwp *, const struct sys_getsockopt_args *, register_t *);
    637      1.55     perry 
    638      1.62       dsl int	sys_readv(struct lwp *, const struct sys_readv_args *, register_t *);
    639      1.55     perry 
    640      1.62       dsl int	sys_writev(struct lwp *, const struct sys_writev_args *, register_t *);
    641      1.55     perry 
    642      1.66   tsutsui int	compat_50_sys_settimeofday(struct lwp *, const struct compat_50_sys_settimeofday_args *, register_t *);
    643      1.55     perry 
    644      1.62       dsl int	sys_fchown(struct lwp *, const struct sys_fchown_args *, register_t *);
    645      1.55     perry 
    646      1.62       dsl int	sys_fchmod(struct lwp *, const struct sys_fchmod_args *, register_t *);
    647      1.55     perry 
    648      1.62       dsl int	compat_43_sys_recvfrom(struct lwp *, const struct compat_43_sys_recvfrom_args *, register_t *);
    649      1.55     perry 
    650      1.62       dsl int	sys_setreuid(struct lwp *, const struct sys_setreuid_args *, register_t *);
    651      1.55     perry 
    652      1.62       dsl int	sys_setregid(struct lwp *, const struct sys_setregid_args *, register_t *);
    653      1.55     perry 
    654      1.62       dsl int	sys_rename(struct lwp *, const struct sys_rename_args *, register_t *);
    655      1.55     perry 
    656      1.62       dsl int	compat_43_sys_truncate(struct lwp *, const struct compat_43_sys_truncate_args *, register_t *);
    657      1.55     perry 
    658      1.62       dsl int	compat_43_sys_ftruncate(struct lwp *, const struct compat_43_sys_ftruncate_args *, register_t *);
    659      1.55     perry 
    660      1.62       dsl int	sys_flock(struct lwp *, const struct sys_flock_args *, register_t *);
    661      1.55     perry 
    662      1.62       dsl int	sys_sendto(struct lwp *, const struct sys_sendto_args *, register_t *);
    663      1.55     perry 
    664      1.62       dsl int	sys_shutdown(struct lwp *, const struct sys_shutdown_args *, register_t *);
    665      1.55     perry 
    666      1.62       dsl int	sunos_sys_socketpair(struct lwp *, const struct sunos_sys_socketpair_args *, register_t *);
    667      1.55     perry 
    668      1.62       dsl int	sys_mkdir(struct lwp *, const struct sys_mkdir_args *, register_t *);
    669      1.55     perry 
    670      1.62       dsl int	sys_rmdir(struct lwp *, const struct sys_rmdir_args *, register_t *);
    671      1.55     perry 
    672      1.66   tsutsui int	compat_50_sys_utimes(struct lwp *, const struct compat_50_sys_utimes_args *, register_t *);
    673      1.55     perry 
    674      1.62       dsl int	sunos_sys_sigreturn(struct lwp *, const struct sunos_sys_sigreturn_args *, register_t *);
    675      1.55     perry 
    676      1.66   tsutsui int	compat_50_sys_adjtime(struct lwp *, const struct compat_50_sys_adjtime_args *, register_t *);
    677      1.55     perry 
    678      1.62       dsl int	compat_43_sys_getpeername(struct lwp *, const struct compat_43_sys_getpeername_args *, register_t *);
    679      1.55     perry 
    680      1.62       dsl int	compat_43_sys_gethostid(struct lwp *, const void *, register_t *);
    681      1.55     perry 
    682      1.62       dsl int	sunos_sys_getrlimit(struct lwp *, const struct sunos_sys_getrlimit_args *, register_t *);
    683      1.55     perry 
    684      1.62       dsl int	sunos_sys_setrlimit(struct lwp *, const struct sunos_sys_setrlimit_args *, register_t *);
    685      1.55     perry 
    686      1.62       dsl int	compat_43_sys_killpg(struct lwp *, const struct compat_43_sys_killpg_args *, register_t *);
    687      1.55     perry 
    688      1.62       dsl int	compat_43_sys_getsockname(struct lwp *, const struct compat_43_sys_getsockname_args *, register_t *);
    689      1.55     perry 
    690      1.62       dsl int	sys_poll(struct lwp *, const struct sys_poll_args *, register_t *);
    691      1.55     perry 
    692      1.62       dsl int	compat_12_sys_getdirentries(struct lwp *, const struct compat_12_sys_getdirentries_args *, register_t *);
    693      1.55     perry 
    694      1.62       dsl int	sunos_sys_statfs(struct lwp *, const struct sunos_sys_statfs_args *, register_t *);
    695      1.55     perry 
    696      1.62       dsl int	sunos_sys_fstatfs(struct lwp *, const struct sunos_sys_fstatfs_args *, register_t *);
    697      1.55     perry 
    698      1.62       dsl int	sunos_sys_unmount(struct lwp *, const struct sunos_sys_unmount_args *, register_t *);
    699      1.55     perry 
    700      1.62       dsl int	async_daemon(struct lwp *, const void *, register_t *);
    701      1.55     perry 
    702      1.62       dsl int	compat_30_sys_getfh(struct lwp *, const struct compat_30_sys_getfh_args *, register_t *);
    703      1.55     perry 
    704  1.80.4.1  christos #ifdef COMPAT_09
    705      1.62       dsl int	compat_09_sys_getdomainname(struct lwp *, const struct compat_09_sys_getdomainname_args *, register_t *);
    706      1.55     perry 
    707      1.62       dsl int	compat_09_sys_setdomainname(struct lwp *, const struct compat_09_sys_setdomainname_args *, register_t *);
    708      1.55     perry 
    709  1.80.4.1  christos #else
    710  1.80.4.1  christos #endif
    711      1.62       dsl int	sunos_sys_quotactl(struct lwp *, const struct sunos_sys_quotactl_args *, register_t *);
    712      1.55     perry 
    713      1.62       dsl int	sunos_sys_exportfs(struct lwp *, const struct sunos_sys_exportfs_args *, register_t *);
    714      1.55     perry 
    715      1.62       dsl int	sunos_sys_mount(struct lwp *, const struct sunos_sys_mount_args *, register_t *);
    716      1.55     perry 
    717      1.62       dsl int	sunos_sys_ustat(struct lwp *, const struct sunos_sys_ustat_args *, register_t *);
    718      1.55     perry 
    719  1.80.4.1  christos #if defined(SYSVSEM) && defined(COMPAT_10)
    720      1.62       dsl int	compat_10_sys_semsys(struct lwp *, const struct compat_10_sys_semsys_args *, register_t *);
    721      1.55     perry 
    722      1.15   thorpej #else
    723      1.15   thorpej #endif
    724  1.80.4.1  christos #if defined(SYSVMSG) && defined(COMPAT_10)
    725      1.62       dsl int	compat_10_sys_msgsys(struct lwp *, const struct compat_10_sys_msgsys_args *, register_t *);
    726      1.55     perry 
    727      1.15   thorpej #else
    728      1.15   thorpej #endif
    729  1.80.4.1  christos #if defined(SYSVSHM) && defined(COMPAT_10)
    730      1.62       dsl int	compat_10_sys_shmsys(struct lwp *, const struct compat_10_sys_shmsys_args *, register_t *);
    731      1.55     perry 
    732      1.15   thorpej #else
    733      1.15   thorpej #endif
    734      1.62       dsl int	sunos_sys_auditsys(struct lwp *, const struct sunos_sys_auditsys_args *, register_t *);
    735      1.55     perry 
    736      1.62       dsl int	sunos_sys_getdents(struct lwp *, const struct sunos_sys_getdents_args *, register_t *);
    737      1.55     perry 
    738      1.62       dsl int	sys_setsid(struct lwp *, const void *, register_t *);
    739      1.55     perry 
    740      1.62       dsl int	sys_fchdir(struct lwp *, const struct sys_fchdir_args *, register_t *);
    741      1.55     perry 
    742      1.62       dsl int	sys_fchroot(struct lwp *, const struct sys_fchroot_args *, register_t *);
    743      1.55     perry 
    744      1.62       dsl int	sunos_sys_sigpending(struct lwp *, const struct sunos_sys_sigpending_args *, register_t *);
    745      1.55     perry 
    746      1.62       dsl int	sys_setpgid(struct lwp *, const struct sys_setpgid_args *, register_t *);
    747      1.55     perry 
    748      1.62       dsl int	sys_pathconf(struct lwp *, const struct sys_pathconf_args *, register_t *);
    749      1.55     perry 
    750      1.62       dsl int	sys_fpathconf(struct lwp *, const struct sys_fpathconf_args *, register_t *);
    751      1.55     perry 
    752      1.62       dsl int	sunos_sys_sysconf(struct lwp *, const struct sunos_sys_sysconf_args *, register_t *);
    753      1.55     perry 
    754      1.62       dsl int	sunos_sys_uname(struct lwp *, const struct sunos_sys_uname_args *, register_t *);
    755      1.55     perry 
    756      1.58     pavel #endif /* _SUNOS_SYS_SYSCALLARGS_H_ */
    757