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