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