Home | History | Annotate | Line # | Download | only in sunos32
syscalls.master revision 1.13
      1  1.13    pavel ;	$NetBSD: syscalls.master,v 1.13 2006/07/13 23:38:57 pavel Exp $
      2   1.1      mrg 
      3  1.10    perry ;	from :NetBSD: syscalls.master,v 1.57 2000/12/09 07:10:36 mycroft Exp
      4   1.1      mrg 
      5   1.1      mrg ; NetBSD COMPAT_SUNOS, 32 bit mode for sparc64 system call name/number "master" file.
      6   1.1      mrg ; (See syscalls32.conf to see what it is processed into.)
      7   1.1      mrg ;
      8   1.1      mrg ; Fields: number type [type-dependent ...]
      9   1.1      mrg ;	number	system call number, must be in order
     10   1.1      mrg ;	type	one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of
     11   1.1      mrg ;		the compatibility options defined in syscalls.conf.
     12   1.1      mrg ;
     13   1.1      mrg ; types:
     14   1.1      mrg ;	STD	always included
     15   1.1      mrg ;	OBSOL	obsolete, not included in system
     16   1.1      mrg ;	UNIMPL	unimplemented, not included in system
     17   1.1      mrg ;	NODEF	included, but don't define the syscall number
     18   1.1      mrg ;	NOARGS	included, but don't define the syscall args structure
     19   1.1      mrg ;
     20   1.1      mrg ; The compat options are defined in the syscalls.conf file, and the
     21   1.1      mrg ; compat option name is prefixed to the syscall name.  Other than
     22   1.1      mrg ; that, they're like NODEF (for 'compat' options), or STD (for
     23   1.1      mrg ; 'libcompat' options).
     24   1.1      mrg ;
     25   1.1      mrg ; The type-dependent arguments are as follows:
     26   1.1      mrg ; For STD, NODEF, NOARGS, and compat syscalls:
     27   1.1      mrg ;	{ pseudo-proto } [alias]
     28   1.1      mrg ; For other syscalls:
     29   1.1      mrg ;	[comment]
     30   1.1      mrg ;
     31   1.1      mrg ; #ifdef's, etc. may be included, and are copied to the output files.
     32   1.1      mrg ; #include's are copied to the syscall names and switch definition files only.
     33   1.1      mrg 
     34   1.5      mrg #if defined(_KERNEL_OPT)
     35   1.1      mrg #include "opt_nfsserver.h"
     36   1.1      mrg #include "opt_sysv.h"
     37  1.11      chs #include "opt_compat_sunos.h"
     38   1.1      mrg 
     39   1.1      mrg #include "fs_nfs.h"
     40   1.1      mrg #endif
     41   1.1      mrg 
     42   1.1      mrg #include <sys/param.h>
     43   1.1      mrg #include <sys/systm.h>
     44   1.1      mrg #include <sys/signal.h>
     45   1.1      mrg #include <sys/mount.h>
     46   1.1      mrg #include <sys/poll.h>
     47   1.9  thorpej #include <sys/sa.h>
     48   1.1      mrg #include <sys/syscallargs.h>
     49   1.1      mrg 
     50   1.1      mrg #include <compat/sunos/sunos.h>
     51   1.1      mrg #include <compat/sunos/sunos_syscallargs.h>
     52   1.1      mrg 
     53   1.1      mrg #include <compat/netbsd32/netbsd32.h>
     54   1.1      mrg #include <compat/netbsd32/netbsd32_syscallargs.h>
     55   1.1      mrg 
     56   1.1      mrg #include <compat/sunos32/sunos32.h>
     57   1.1      mrg #include <compat/sunos32/sunos32_syscallargs.h>
     58   1.1      mrg 
     59   1.1      mrg %%
     60   1.1      mrg 
     61   1.1      mrg 0	NOARGS		{ int sys_nosys(void); } syscall
     62   1.1      mrg 1	NOARGS		{ int netbsd32_exit(int rval); }
     63   1.1      mrg 2	NOARGS		{ int sys_fork(void); }
     64   1.1      mrg 3	NOARGS		{ netbsd32_ssize_t netbsd32_read(int fd, netbsd32_voidp buf, netbsd32_size_t nbyte); }
     65   1.1      mrg 4	NOARGS		{ netbsd32_ssize_t netbsd32_write(int fd, const netbsd32_voidp buf, netbsd32_size_t nbyte); }
     66   1.1      mrg 5	STD		{ int sunos32_sys_open(const netbsd32_charp path, int flags, \
     67   1.1      mrg 			    int mode); }
     68   1.1      mrg 6	NOARGS		{ int netbsd32_close(int fd); }
     69   1.1      mrg 7	STD		{ int sunos32_sys_wait4(int pid, netbsd32_intp status, \
     70   1.1      mrg 			    int options, netbsd32_rusagep_t rusage); }
     71   1.1      mrg 8	STD		{ int sunos32_sys_creat(const netbsd32_charp path, int mode); }
     72   1.1      mrg 9	NOARGS		{ int netbsd32_link(netbsd32_charp path, netbsd32_charp link); }
     73   1.1      mrg 10	NOARGS		{ int netbsd32_unlink(netbsd32_charp path); }
     74   1.1      mrg 11	STD		{ int sunos32_sys_execv(const netbsd32_charp path, netbsd32_charpp argp); }
     75   1.1      mrg 12	NOARGS		{ int netbsd32_chdir(netbsd32_charp path); }
     76   1.1      mrg 13	OBSOL		old_time
     77   1.1      mrg 14	STD		{ int sunos32_sys_mknod(const netbsd32_charp path, int mode, \
     78   1.1      mrg 			    int dev); }
     79   1.1      mrg 15	NOARGS		{ int netbsd32_chmod(netbsd32_charp path, int mode); }
     80   1.1      mrg 16	NOARGS		{ int netbsd32_chown(netbsd32_charp path, int uid, int gid); }
     81   1.1      mrg 17	NOARGS		{ int netbsd32_break(netbsd32_charp nsize); }
     82   1.1      mrg 18	OBSOL		old_stat
     83   1.1      mrg 19	NOARGS		{ netbsd32_long compat_43_netbsd32_olseek(int fd, netbsd32_long offset, int whence); }
     84   1.1      mrg 20	NOARGS		{ pid_t sys_getpid_with_ppid(void); }
     85   1.1      mrg 21	OBSOL		sunos_old_mount
     86   1.1      mrg 22	UNIMPL		System V umount
     87   1.1      mrg 23	NOARGS		{ int netbsd32_setuid(uid_t uid); }
     88   1.1      mrg 24	NOARGS		{ uid_t sys_getuid_with_euid(void); }
     89   1.1      mrg 25	STD		{ int sunos32_sys_stime(sunos32_time_tp tp); }
     90   1.1      mrg 26	STD		{ netbsd32_long sunos32_sys_ptrace(int req, pid_t pid, \
     91   1.1      mrg 			    netbsd32_caddr_t addr, int data, netbsd32_charp addr2); }
     92   1.1      mrg 27	UNIMPL		old_sunos_alarm
     93   1.1      mrg 28	UNIMPL		old_sunos_fstat
     94   1.1      mrg 29	UNIMPL		old_sunos_pause
     95   1.1      mrg 30	UNIMPL		old_sunos_utime
     96   1.1      mrg 31	UNIMPL		old_sunos_stty
     97   1.1      mrg 32	UNIMPL		old_sunos_gtty
     98   1.1      mrg 33	STD		{ int sunos32_sys_access(const netbsd32_charp path, int flags); }
     99   1.1      mrg 34	UNIMPL		old_sunos_nice
    100   1.1      mrg 35	UNIMPL		old_sunos_ftime
    101   1.1      mrg 36	NOARGS		{ int sys_sync(void); }
    102   1.1      mrg 37	NOARGS		{ int netbsd32_kill(int pid, int signum); }
    103   1.1      mrg 38	STD		{ int sunos32_sys_stat(const netbsd32_charp path, \
    104   1.1      mrg 			    netbsd32_stat43p_t ub); }
    105   1.1      mrg 39	UNIMPL		sunos_setpgrp
    106   1.1      mrg 40	STD		{ int sunos32_sys_lstat(const netbsd32_charp path, \
    107   1.1      mrg 			    netbsd32_stat43p_t ub); }
    108   1.1      mrg 41	NOARGS		{ int netbsd32_dup(u_int fd); }
    109   1.1      mrg 42	NOARGS		{ int sys_pipe(void); }
    110   1.1      mrg 43	UNIMPL		sunos_times
    111   1.1      mrg 44	NOARGS		{ int netbsd32_profil(netbsd32_caddr_t samples, u_int size, \
    112   1.1      mrg 			    u_int offset, u_int scale); }
    113  1.10    perry 45	UNIMPL
    114   1.1      mrg 46	NOARGS		{ int netbsd32_setgid(uid_t gid); }
    115   1.1      mrg 47	NOARGS		{ gid_t sys_getgid_with_egid(void); }
    116   1.1      mrg 48	UNIMPL		sunos_ssig
    117   1.1      mrg 49	UNIMPL		reserved for USG
    118   1.1      mrg 50	UNIMPL		reserved for USG
    119   1.1      mrg 51	NOARGS		{ int netbsd32_acct(netbsd32_charp path); }
    120  1.10    perry 52	UNIMPL
    121   1.1      mrg 53	STD		{ int sunos32_sys_mctl(netbsd32_voidp addr, int len, int func, \
    122   1.1      mrg 			    netbsd32_voidp arg); }
    123   1.1      mrg 54	STD		{ int sunos32_sys_ioctl(int fd, netbsd32_u_long com, \
    124   1.1      mrg 			    netbsd32_caddr_t data); }
    125   1.1      mrg 55	STD		{ int sunos32_sys_reboot(int howto, netbsd32_charp bootstr); }
    126   1.1      mrg 56	OBSOL		sunos_owait3
    127   1.1      mrg 57	NOARGS		{ int netbsd32_symlink(netbsd32_charp path, netbsd32_charp link); }
    128   1.1      mrg 58	NOARGS		{ int netbsd32_readlink(netbsd32_charp path, netbsd32_charp buf, int count); }
    129   1.1      mrg 59	STD		{ int sunos32_sys_execve(const netbsd32_charp path, netbsd32_charpp argp, \
    130   1.1      mrg 			    netbsd32_charpp envp); }
    131   1.1      mrg 60	NOARGS		{ int netbsd32_umask(int newmask); }
    132   1.1      mrg 61	NOARGS		{ int netbsd32_chroot(netbsd32_charp path); }
    133   1.1      mrg 62	NOARGS		{ int compat_43_netbsd32_fstat43(int fd, netbsd32_stat43p_t sb); }
    134  1.10    perry 63	UNIMPL
    135   1.1      mrg 64	NOARGS		{ int compat_43_sys_getpagesize(void); } ogetpagesize
    136   1.1      mrg 65	STD		{ int sunos32_sys_omsync(netbsd32_caddr_t addr, netbsd32_size_t len, \
    137   1.1      mrg 			    int flags); }
    138   1.1      mrg 66	NOARGS		{ int sys_vfork(void); }
    139   1.1      mrg 67	OBSOL		vread
    140   1.1      mrg 68	OBSOL		vwrite
    141   1.1      mrg 69	NOARGS		{ int netbsd32_sbrk(netbsd32_intptr_t incr); }
    142   1.1      mrg 70	NOARGS		{ int netbsd32_sstk(int incr); }
    143   1.1      mrg 71	STD		{ netbsd32_voidp sunos32_sys_mmap(netbsd32_voidp addr, netbsd32_size_t len, \
    144   1.2      mrg 			    int prot, int flags, int fd, netbsd32_long pos); }
    145   1.1      mrg 72	NOARGS		{ int netbsd32_ovadvise(int anom); } vadvise
    146   1.1      mrg 73	NOARGS		{ int netbsd32_munmap(netbsd32_voidp addr, netbsd32_size_t len); }
    147   1.1      mrg 74	NOARGS		{ int netbsd32_mprotect(netbsd32_voidp addr, netbsd32_size_t len, \
    148   1.1      mrg 			    int prot); }
    149   1.1      mrg 75	NOARGS		{ int netbsd32_madvise(netbsd32_voidp addr, netbsd32_size_t len, \
    150   1.1      mrg 			    int behav); }
    151   1.1      mrg 76	STD		{ int sunos32_sys_vhangup(void); }
    152   1.1      mrg 77	UNIMPL		vlimit
    153   1.1      mrg 78	NOARGS		{ int netbsd32_mincore(netbsd32_caddr_t addr, netbsd32_size_t len, netbsd32_charp vec); }
    154   1.1      mrg 79	NOARGS		{ int netbsd32_getgroups(u_int gidsetsize, netbsd32_gid_tp gidset); }
    155   1.1      mrg 80	NOARGS		{ int netbsd32_setgroups(u_int gidsetsize, netbsd32_gid_tp gidset); }
    156   1.1      mrg 81	NOARGS		{ int sys_getpgrp(void); }
    157   1.1      mrg 82	STD		{ int sunos32_sys_setpgrp(int pid, int pgid); }
    158   1.1      mrg 83	NOARGS		{ int netbsd32_setitimer(u_int which, netbsd32_itimervalp_t itv, netbsd32_itimervalp_t oitv); }
    159   1.1      mrg 84	UNIMPL		{ int sunos32_sys_wait(void); }
    160   1.1      mrg 85	NOARGS		{ int compat_12_netbsd32_oswapon(netbsd32_charp name); }
    161   1.1      mrg 86	NOARGS		{ int netbsd32_getitimer(u_int which, netbsd32_itimervalp_t itv); }
    162   1.1      mrg 87	NOARGS		{ int compat_43_netbsd32_ogethostname(netbsd32_charp hostname, u_int len); }
    163   1.1      mrg 88	NOARGS		{ int compat_43_netbsd32_osethostname(netbsd32_charp hostname, u_int len); }
    164   1.1      mrg 89	NOARGS		{ int compat_43_sys_getdtablesize(void); } ogetdtablesize
    165   1.1      mrg 90	NOARGS		{ int netbsd32_dup2(u_int from, u_int to); }
    166   1.1      mrg 91	UNIMPL		getdopt
    167   1.1      mrg 92	STD		{ int sunos32_sys_fcntl(int fd, int cmd, netbsd32_voidp arg); }
    168   1.4      mrg 93	NOARGS		{ int netbsd32_select(u_int nd, netbsd32_fd_setp_t in, netbsd32_fd_setp_t ou, \
    169   1.1      mrg 			    netbsd32_fd_setp_t ex, netbsd32_timevalp_t tv); }
    170   1.1      mrg 94	UNIMPL		setdopt
    171   1.1      mrg 95	NOARGS		{ int netbsd32_fsync(int fd); }
    172   1.1      mrg 96	NOARGS		{ int netbsd32_setpriority(int which, int who, int prio); }
    173   1.7      mrg 97	STD		{ int sunos32_sys_socket(int domain, int type, int protocol); }
    174   1.1      mrg 98	NOARGS		{ int netbsd32_connect(int s, netbsd32_caddr_t name, int namelen); }
    175   1.1      mrg 99	NOARGS		{ int compat_43_netbsd32_oaccept(int s, netbsd32_caddr_t name, netbsd32_intp anamelen); }
    176   1.1      mrg 100	NOARGS		{ int netbsd32_getpriority(int which, int who); }
    177   1.1      mrg 101	NOARGS		{ int compat_43_netbsd32_osend(int s, netbsd32_caddr_t buf, int len, \
    178   1.1      mrg 			    int flags); }
    179   1.1      mrg 102	NOARGS		{ int compat_43_netbsd32_orecv(int s, netbsd32_caddr_t buf, int len, \
    180   1.1      mrg 			    int flags); }
    181   1.1      mrg 103	UNIMPL		old socketaddr
    182   1.1      mrg 104	NOARGS		{ int netbsd32_bind(int s, netbsd32_caddr_t name, int namelen); }
    183   1.1      mrg 105	STD		{ int sunos32_sys_setsockopt(int s, int level, int name, \
    184   1.1      mrg 			    netbsd32_caddr_t val, int valsize); }
    185   1.1      mrg 106	NOARGS		{ int netbsd32_listen(int s, int backlog); }
    186   1.1      mrg 107	UNIMPL		vtimes
    187   1.1      mrg 108	STD		{ int sunos32_sys_sigvec(int signum, netbsd32_sigvecp_t nsv, \
    188   1.1      mrg 			    netbsd32_sigvecp_t osv); }
    189   1.1      mrg 109	NOARGS		{ int compat_43_netbsd32_sigblock(int mask); }
    190   1.1      mrg 110	NOARGS		{ int compat_43_netbsd32_sigsetmask(int mask); }
    191   1.1      mrg 111	STD		{ int sunos32_sys_sigsuspend(int mask); }
    192   1.1      mrg 112	NOARGS		{ int compat_43_netbsd32_osigstack(netbsd32_sigstackp_t nss, \
    193   1.1      mrg 			    netbsd32_sigstackp_t oss); }
    194   1.1      mrg 113	NOARGS		{ int compat_43_netbsd32_orecvmsg(int s, \
    195   1.1      mrg 			    netbsd32_omsghdrp_t msg, int flags); }
    196   1.1      mrg 114	NOARGS		{ int compat_43_netbsd32_osendmsg(int s, netbsd32_caddr_t msg, \
    197   1.1      mrg 			    int flags); }
    198   1.1      mrg 115	OBSOL		vtrace
    199   1.1      mrg 116	NOARGS		{ int netbsd32_gettimeofday(netbsd32_timevalp_t tp, \
    200   1.1      mrg 			    netbsd32_timezonep_t tzp); }
    201   1.1      mrg 117	NOARGS		{ int netbsd32_getrusage(int who, netbsd32_rusagep_t rusage); }
    202   1.1      mrg 118	NOARGS		{ int netbsd32_getsockopt(int s, int level, int name, \
    203   1.1      mrg 			    netbsd32_caddr_t val, netbsd32_intp avalsize); }
    204  1.10    perry 119	UNIMPL
    205   1.1      mrg 120	NOARGS		{ int netbsd32_readv(int fd, netbsd32_iovecp_t iovp, \
    206   1.1      mrg 			    u_int iovcnt); }
    207   1.1      mrg 121	NOARGS		{ int netbsd32_writev(int fd, netbsd32_iovecp_t iovp, \
    208   1.1      mrg 			    u_int iovcnt); }
    209   1.1      mrg 122	NOARGS		{ int netbsd32_settimeofday(netbsd32_timevalp_t tv, \
    210   1.1      mrg 			    netbsd32_timezonep_t tzp); }
    211   1.1      mrg 123	NOARGS		{ int netbsd32_fchown(int fd, int uid, int gid); }
    212   1.1      mrg 124	NOARGS		{ int netbsd32_fchmod(int fd, int mode); }
    213   1.1      mrg 125	NOARGS		{ int compat_43_netbsd32_orecvfrom(int s, netbsd32_caddr_t buf, \
    214   1.1      mrg 			    netbsd32_size_t len, int flags, netbsd32_caddr_t from, \
    215   1.1      mrg 			    netbsd32_intp fromlenaddr); }
    216   1.1      mrg 126	NOARGS		{ int netbsd32_setreuid(int ruid, int euid); }
    217   1.1      mrg 127	NOARGS		{ int netbsd32_setregid(int rgid, int egid); }
    218   1.1      mrg 128	NOARGS		{ int netbsd32_rename(netbsd32_charp from, netbsd32_charp to); }
    219   1.1      mrg 129	NOARGS		{ int compat_43_netbsd32_otruncate(netbsd32_charp path, netbsd32_long length); }
    220   1.1      mrg 130	NOARGS		{ int compat_43_netbsd32_oftruncate(int fd, netbsd32_long length); }
    221   1.1      mrg 131	NOARGS		{ int netbsd32_flock(int fd, int how); }
    222  1.10    perry 132	UNIMPL
    223   1.1      mrg 133	NOARGS		{ int netbsd32_sendto(int s, netbsd32_caddr_t buf, netbsd32_size_t len, \
    224   1.1      mrg 			    int flags, netbsd32_caddr_t to, int tolen); }
    225   1.1      mrg 134	NOARGS		{ int netbsd32_shutdown(int s, int how); }
    226   1.7      mrg 135	STD		{ int sunos32_sys_socketpair(int domain, int type, \
    227   1.1      mrg 			    int protocol, netbsd32_intp rsv); }
    228   1.1      mrg 136	NOARGS		{ int netbsd32_mkdir(netbsd32_charp path, int mode); }
    229   1.1      mrg 137	NOARGS		{ int netbsd32_rmdir(netbsd32_charp path); }
    230   1.1      mrg 138	NOARGS		{ int netbsd32_utimes(netbsd32_charp path, netbsd32_timevalp_t tptr); }
    231   1.3      mrg 139	STD		{ int sunos32_sys_sigreturn(netbsd32_sigcontextp_t sigcntxp); }
    232   1.1      mrg 140	NOARGS		{ int netbsd32_adjtime(netbsd32_timevalp_t delta, \
    233   1.1      mrg 			    netbsd32_timevalp_t olddelta); }
    234   1.1      mrg 141	NOARGS		{ int compat_43_netbsd32_ogetpeername(int fdes, netbsd32_caddr_t asa, \
    235   1.1      mrg 			    netbsd32_intp alen); }
    236   1.1      mrg 142	NOARGS		{ int compat_43_sys_gethostid(void); }
    237   1.1      mrg 143	UNIMPL		old sethostid
    238   1.1      mrg 144	STD		{ int sunos32_sys_getrlimit(u_int which, \
    239   1.1      mrg 			    netbsd32_orlimitp_t rlp); }
    240   1.1      mrg 145	STD		{ int sunos32_sys_setrlimit(u_int which, \
    241   1.1      mrg 			    netbsd32_orlimitp_t rlp); }
    242   1.1      mrg 146	NOARGS		{ int compat_43_netbsd32_killpg(int pgid, int signum); }
    243  1.10    perry 147	UNIMPL
    244  1.10    perry 148	UNIMPL
    245  1.10    perry 149	UNIMPL
    246   1.1      mrg 150	NOARGS		{ int compat_43_netbsd32_ogetsockname(int fdes, netbsd32_caddr_t asa, \
    247   1.1      mrg 			    netbsd32_intp alen); }
    248   1.1      mrg 151	UNIMPL		getmsg
    249   1.1      mrg 152	UNIMPL		putmsg
    250   1.1      mrg 153	NOARGS		{ int netbsd32_poll(netbsd32_pollfdp_t fds, u_int nfds, \
    251   1.1      mrg 			    int timeout); }
    252  1.10    perry 154	UNIMPL
    253   1.1      mrg #ifdef NFSSERVER
    254   1.1      mrg 155	STD		{ int sunos32_sys_nfssvc(int fd); }
    255   1.1      mrg #else
    256  1.10    perry 155	UNIMPL
    257   1.1      mrg #endif
    258   1.1      mrg 156	NOARGS		{ int compat_43_netbsd32_ogetdirentries(int fd, netbsd32_charp buf, \
    259   1.1      mrg 			    u_int count, netbsd32_longp basep); }
    260   1.1      mrg 157	STD		{ int sunos32_sys_statfs(const netbsd32_charp path, \
    261   1.1      mrg 			    sunos32_statfsp_t buf); }
    262   1.1      mrg 158	STD		{ int sunos32_sys_fstatfs(int fd, \
    263   1.1      mrg 			    sunos32_statfsp_t buf); }
    264   1.1      mrg 159	STD		{ int sunos32_sys_unmount(netbsd32_charp path); }
    265   1.1      mrg #ifdef NFS
    266   1.1      mrg 160	NOARGS		{ int async_daemon(void); }
    267  1.13    pavel 161	NOARGS		{ int compat_30_sys_getfh(netbsd32_charp fname, netbsd32_fhandlep_t fhp); }
    268   1.1      mrg #else
    269  1.10    perry 160	UNIMPL
    270  1.10    perry 161	UNIMPL
    271   1.1      mrg #endif
    272   1.1      mrg 162	NOARGS		{ int compat_09_netbsd32_ogetdomainname(netbsd32_charp domainname, \
    273   1.1      mrg 			    int len); }
    274   1.1      mrg 163	NOARGS		{ int compat_09_netbsd32_osetdomainname(netbsd32_charp domainname, \
    275   1.1      mrg 			    int len); }
    276   1.1      mrg 164	UNIMPL		rtschedule
    277   1.1      mrg 165	STD		{ int sunos32_sys_quotactl(int cmd, netbsd32_charp special, \
    278   1.1      mrg 			    int uid, netbsd32_caddr_t addr); }
    279   1.1      mrg 166	STD		{ int sunos32_sys_exportfs(netbsd32_charp path, netbsd32_charp ex); }
    280   1.1      mrg 167	STD		{ int sunos32_sys_mount(netbsd32_charp type, netbsd32_charp path, \
    281   1.1      mrg 			    int flags, netbsd32_caddr_t data); }
    282   1.1      mrg 168	STD		{ int sunos32_sys_ustat(int dev, \
    283   1.1      mrg 			    sunos32_ustatp_t buf); }
    284   1.1      mrg #ifdef SYSVSEM
    285   1.8      mrg 169	NOARGS		{ int compat_10_netbsd32_sys_semsys(int which, int a2, int a3, \
    286   1.1      mrg 			    int a4, int a5); } osemsys
    287   1.1      mrg #else
    288   1.1      mrg 169	UNIMPL		semsys
    289   1.1      mrg #endif
    290   1.1      mrg #ifdef SYSVMSG
    291   1.8      mrg 170	NOARGS		{ int compat_10_netbsd32_sys_msgsys(int which, int a2, int a3, \
    292   1.1      mrg 			    int a4, int a5, int a6); } omsgsys
    293   1.1      mrg #else
    294   1.1      mrg 170	UNIMPL		msgsys
    295   1.1      mrg #endif
    296   1.1      mrg #ifdef SYSVSHM
    297   1.8      mrg 171	NOARGS		{ int compat_10_netbsd32_sys_shmsys(int which, int a2, int a3, \
    298   1.1      mrg 			    int a4); } oshmsys
    299   1.1      mrg #else
    300   1.1      mrg 171	UNIMPL		shmsys
    301   1.1      mrg #endif
    302   1.1      mrg 172	STD		{ int sunos32_sys_auditsys(netbsd32_charp record); }
    303   1.1      mrg 173	UNIMPL		rfssys
    304   1.1      mrg 174	STD		{ int sunos32_sys_getdents(int fd, netbsd32_charp buf, \
    305   1.1      mrg 			    int nbytes); }
    306   1.1      mrg 175	NOARGS		{ int sys_setsid(void); }
    307   1.1      mrg 176	NOARGS		{ int netbsd32_fchdir(int fd); }
    308   1.1      mrg 177	NOARGS		{ int netbsd32_fchroot(int fd); }
    309   1.1      mrg 178	UNIMPL		vpixsys
    310   1.1      mrg 179	UNIMPL		aioread
    311   1.1      mrg 180	UNIMPL		aiowrite
    312   1.1      mrg 181	UNIMPL		aiowait
    313   1.1      mrg 182	UNIMPL		aiocancel
    314   1.1      mrg 183	STD		{ int sunos32_sys_sigpending(netbsd32_intp mask); }
    315  1.10    perry 184	UNIMPL
    316   1.1      mrg 185	NOARGS		{ int netbsd32_setpgid(int pid, int pgid); }
    317   1.1      mrg 186	NOARGS		{ netbsd32_long netbsd32_pathconf(netbsd32_charp path, int name); }
    318   1.1      mrg 187	NOARGS		{ netbsd32_long netbsd32_fpathconf(int fd, int name); }
    319   1.1      mrg 188	STD		{ int sunos32_sys_sysconf(int name); }
    320   1.1      mrg 189	STD		{ int sunos32_sys_uname(sunos32_utsnamep_t name); }
    321