Home | History | Annotate | Line # | Download | only in sunos32
syscalls.master revision 1.20
      1  1.20     pooka ;	$NetBSD: syscalls.master,v 1.20 2009/01/13 22:27:44 pooka 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_sysv.h"
     36  1.11       chs #include "opt_compat_sunos.h"
     37   1.1       mrg 
     38   1.1       mrg #include "fs_nfs.h"
     39   1.1       mrg #endif
     40   1.1       mrg 
     41   1.1       mrg #include <sys/param.h>
     42   1.1       mrg #include <sys/systm.h>
     43   1.1       mrg #include <sys/signal.h>
     44   1.1       mrg #include <sys/mount.h>
     45   1.1       mrg #include <sys/poll.h>
     46   1.1       mrg #include <sys/syscallargs.h>
     47   1.1       mrg 
     48   1.1       mrg #include <compat/sunos/sunos.h>
     49   1.1       mrg #include <compat/sunos/sunos_syscallargs.h>
     50   1.1       mrg 
     51   1.1       mrg #include <compat/netbsd32/netbsd32.h>
     52   1.1       mrg #include <compat/netbsd32/netbsd32_syscallargs.h>
     53   1.1       mrg 
     54   1.1       mrg #include <compat/sunos32/sunos32.h>
     55   1.1       mrg #include <compat/sunos32/sunos32_syscallargs.h>
     56   1.1       mrg 
     57   1.1       mrg %%
     58   1.1       mrg 
     59  1.20     pooka 0	NOARGS		{ int|sys||nosys(void); } syscall
     60  1.20     pooka 1	NOARGS		{ int|netbsd32||exit(int rval); }
     61  1.20     pooka 2	NOARGS		{ int|sys||fork(void); }
     62  1.20     pooka 3	NOARGS		{ netbsd32_ssize_t|netbsd32||read(int fd, netbsd32_voidp buf, netbsd32_size_t nbyte); }
     63  1.20     pooka 4	NOARGS		{ netbsd32_ssize_t|netbsd32||write(int fd, const netbsd32_voidp buf, netbsd32_size_t nbyte); }
     64  1.20     pooka 5	STD		{ int|sunos32_sys||open(const netbsd32_charp path, int flags, \
     65   1.1       mrg 			    int mode); }
     66  1.20     pooka 6	NOARGS		{ int|netbsd32||close(int fd); }
     67  1.20     pooka 7	STD		{ int|sunos32_sys||wait4(int pid, netbsd32_intp status, \
     68   1.1       mrg 			    int options, netbsd32_rusagep_t rusage); }
     69  1.20     pooka 8	STD		{ int|sunos32_sys||creat(const netbsd32_charp path, int mode); }
     70  1.20     pooka 9	NOARGS		{ int|netbsd32||link(netbsd32_charp path, netbsd32_charp link); }
     71  1.20     pooka 10	NOARGS		{ int|netbsd32||unlink(netbsd32_charp path); }
     72  1.20     pooka 11	STD		{ int|sunos32_sys||execv(const netbsd32_charp path, netbsd32_charpp argp); }
     73  1.20     pooka 12	NOARGS		{ int|netbsd32||chdir(netbsd32_charp path); }
     74   1.1       mrg 13	OBSOL		old_time
     75  1.20     pooka 14	STD		{ int|sunos32_sys||mknod(const netbsd32_charp path, int mode, \
     76   1.1       mrg 			    int dev); }
     77  1.20     pooka 15	NOARGS		{ int|netbsd32||chmod(netbsd32_charp path, int mode); }
     78  1.20     pooka 16	NOARGS		{ int|netbsd32||chown(netbsd32_charp path, int uid, int gid); }
     79  1.20     pooka 17	NOARGS		{ int|netbsd32||break(netbsd32_charp nsize); }
     80   1.1       mrg 18	OBSOL		old_stat
     81  1.20     pooka 19	NOARGS		{ netbsd32_long|compat_43_netbsd32||olseek(int fd, netbsd32_long offset, int whence); }
     82  1.20     pooka 20	NOARGS		{ pid_t|sys||getpid_with_ppid(void); }
     83   1.1       mrg 21	OBSOL		sunos_old_mount
     84   1.1       mrg 22	UNIMPL		System V umount
     85  1.20     pooka 23	NOARGS		{ int|netbsd32||setuid(uid_t uid); }
     86  1.20     pooka 24	NOARGS		{ uid_t|sys||getuid_with_euid(void); }
     87  1.20     pooka 25	STD		{ int|sunos32_sys||stime(sunos32_time_tp tp); }
     88  1.20     pooka 26	STD		{ netbsd32_long|sunos32_sys||ptrace(int req, pid_t pid, \
     89  1.16  christos 			    netbsd32_caddr_t addr, int data, netbsd32_charp addr2); }
     90   1.1       mrg 27	UNIMPL		old_sunos_alarm
     91   1.1       mrg 28	UNIMPL		old_sunos_fstat
     92   1.1       mrg 29	UNIMPL		old_sunos_pause
     93   1.1       mrg 30	UNIMPL		old_sunos_utime
     94   1.1       mrg 31	UNIMPL		old_sunos_stty
     95   1.1       mrg 32	UNIMPL		old_sunos_gtty
     96  1.20     pooka 33	STD		{ int|sunos32_sys||access(const netbsd32_charp path, int flags); }
     97   1.1       mrg 34	UNIMPL		old_sunos_nice
     98   1.1       mrg 35	UNIMPL		old_sunos_ftime
     99  1.20     pooka 36	NOARGS		{ int|sys||sync(void); }
    100  1.20     pooka 37	NOARGS		{ int|netbsd32||kill(int pid, int signum); }
    101  1.20     pooka 38	STD		{ int|sunos32_sys||stat(const netbsd32_charp path, \
    102   1.1       mrg 			    netbsd32_stat43p_t ub); }
    103   1.1       mrg 39	UNIMPL		sunos_setpgrp
    104  1.20     pooka 40	STD		{ int|sunos32_sys||lstat(const netbsd32_charp path, \
    105   1.1       mrg 			    netbsd32_stat43p_t ub); }
    106  1.20     pooka 41	NOARGS		{ int|netbsd32||dup(u_int fd); }
    107  1.20     pooka 42	NOARGS		{ int|sys||pipe(void); }
    108   1.1       mrg 43	UNIMPL		sunos_times
    109  1.20     pooka 44	NOARGS		{ int|netbsd32||profil(netbsd32_caddr_t samples, u_int size, \
    110   1.1       mrg 			    u_int offset, u_int scale); }
    111  1.10     perry 45	UNIMPL
    112  1.20     pooka 46	NOARGS		{ int|netbsd32||setgid(uid_t gid); }
    113  1.20     pooka 47	NOARGS		{ gid_t|sys||getgid_with_egid(void); }
    114   1.1       mrg 48	UNIMPL		sunos_ssig
    115   1.1       mrg 49	UNIMPL		reserved for USG
    116   1.1       mrg 50	UNIMPL		reserved for USG
    117  1.20     pooka 51	NOARGS		{ int|netbsd32||acct(netbsd32_charp path); }
    118  1.10     perry 52	UNIMPL
    119  1.20     pooka 53	STD		{ int|sunos32_sys||mctl(netbsd32_voidp addr, int len, int func, \
    120   1.1       mrg 			    netbsd32_voidp arg); }
    121  1.20     pooka 54	STD		{ int|sunos32_sys||ioctl(int fd, netbsd32_u_long com, \
    122  1.16  christos 			    netbsd32_caddr_t data); }
    123  1.20     pooka 55	STD		{ int|sunos32_sys||reboot(int howto, netbsd32_charp bootstr); }
    124   1.1       mrg 56	OBSOL		sunos_owait3
    125  1.20     pooka 57	NOARGS		{ int|netbsd32||symlink(netbsd32_charp path, netbsd32_charp link); }
    126  1.20     pooka 58	NOARGS		{ int|netbsd32||readlink(netbsd32_charp path, netbsd32_charp buf, int count); }
    127  1.20     pooka 59	STD		{ int|sunos32_sys||execve(const netbsd32_charp path, netbsd32_charpp argp, \
    128   1.1       mrg 			    netbsd32_charpp envp); }
    129  1.20     pooka 60	NOARGS		{ int|netbsd32||umask(int newmask); }
    130  1.20     pooka 61	NOARGS		{ int|netbsd32||chroot(netbsd32_charp path); }
    131  1.20     pooka 62	NOARGS		{ int|compat_43_netbsd32||fstat43(int fd, netbsd32_stat43p_t sb); }
    132  1.10     perry 63	UNIMPL
    133  1.20     pooka 64	NOARGS		{ int|compat_43_sys||getpagesize(void); } ogetpagesize
    134  1.20     pooka 65	STD		{ int|sunos32_sys||omsync(netbsd32_caddr_t addr, netbsd32_size_t len, \
    135   1.1       mrg 			    int flags); }
    136  1.20     pooka 66	NOARGS		{ int|sys||vfork(void); }
    137   1.1       mrg 67	OBSOL		vread
    138   1.1       mrg 68	OBSOL		vwrite
    139  1.20     pooka 69	NOARGS		{ int|netbsd32||sbrk(netbsd32_intptr_t incr); }
    140  1.20     pooka 70	NOARGS		{ int|netbsd32||sstk(int incr); }
    141  1.20     pooka 71	STD		{ netbsd32_voidp|sunos32_sys||mmap(netbsd32_voidp addr, netbsd32_size_t len, \
    142   1.2       mrg 			    int prot, int flags, int fd, netbsd32_long pos); }
    143  1.20     pooka 72	NOARGS		{ int|netbsd32||ovadvise(int anom); } vadvise
    144  1.20     pooka 73	NOARGS		{ int|netbsd32||munmap(netbsd32_voidp addr, netbsd32_size_t len); }
    145  1.20     pooka 74	NOARGS		{ int|netbsd32||mprotect(netbsd32_voidp addr, netbsd32_size_t len, \
    146   1.1       mrg 			    int prot); }
    147  1.20     pooka 75	NOARGS		{ int|netbsd32||madvise(netbsd32_voidp addr, netbsd32_size_t len, \
    148   1.1       mrg 			    int behav); }
    149  1.20     pooka 76	STD		{ int|sunos32_sys||vhangup(void); }
    150   1.1       mrg 77	UNIMPL		vlimit
    151  1.20     pooka 78	NOARGS		{ int|netbsd32||mincore(netbsd32_caddr_t addr, netbsd32_size_t len, netbsd32_charp vec); }
    152  1.20     pooka 79	NOARGS		{ int|netbsd32||getgroups(u_int gidsetsize, netbsd32_gid_tp gidset); }
    153  1.20     pooka 80	NOARGS		{ int|netbsd32||setgroups(u_int gidsetsize, netbsd32_gid_tp gidset); }
    154  1.20     pooka 81	NOARGS		{ int|sys||getpgrp(void); }
    155  1.20     pooka 82	STD		{ int|sunos32_sys||setpgrp(int pid, int pgid); }
    156  1.20     pooka 83	NOARGS		{ int|compat_50_netbsd32||setitimer(u_int which, netbsd32_itimervalp_t itv, netbsd32_itimervalp_t oitv); }
    157  1.19     pooka 84	UNIMPL		sunos32_sys_wait
    158  1.20     pooka 85	NOARGS		{ int|compat_12_netbsd32||oswapon(netbsd32_charp name); }
    159  1.20     pooka 86	NOARGS		{ int|compat_50_netbsd32||getitimer(u_int which, netbsd32_itimervalp_t itv); }
    160  1.20     pooka 87	NOARGS		{ int|compat_43_netbsd32||ogethostname(netbsd32_charp hostname, u_int len); }
    161  1.20     pooka 88	NOARGS		{ int|compat_43_netbsd32||osethostname(netbsd32_charp hostname, u_int len); }
    162  1.20     pooka 89	NOARGS		{ int|compat_43_sys||getdtablesize(void); } ogetdtablesize
    163  1.20     pooka 90	NOARGS		{ int|netbsd32||dup2(u_int from, u_int to); }
    164   1.1       mrg 91	UNIMPL		getdopt
    165  1.20     pooka 92	STD		{ int|sunos32_sys||fcntl(int fd, int cmd, netbsd32_voidp arg); }
    166  1.20     pooka 93	NOARGS		{ int|compat_50_netbsd32||select(u_int nd, netbsd32_fd_setp_t in, netbsd32_fd_setp_t ou, \
    167   1.1       mrg 			    netbsd32_fd_setp_t ex, netbsd32_timevalp_t tv); }
    168   1.1       mrg 94	UNIMPL		setdopt
    169  1.20     pooka 95	NOARGS		{ int|netbsd32||fsync(int fd); }
    170  1.20     pooka 96	NOARGS		{ int|netbsd32||setpriority(int which, int who, int prio); }
    171  1.20     pooka 97	STD		{ int|sunos32_sys||socket(int domain, int type, int protocol); }
    172  1.20     pooka 98	NOARGS		{ int|netbsd32||connect(int s, netbsd32_caddr_t name, int namelen); }
    173  1.20     pooka 99	NOARGS		{ int|compat_43_netbsd32||oaccept(int s, netbsd32_caddr_t name, netbsd32_intp anamelen); }
    174  1.20     pooka 100	NOARGS		{ int|netbsd32||getpriority(int which, int who); }
    175  1.20     pooka 101	NOARGS		{ int|compat_43_netbsd32||osend(int s, netbsd32_caddr_t buf, int len, \
    176   1.1       mrg 			    int flags); }
    177  1.20     pooka 102	NOARGS		{ int|compat_43_netbsd32||orecv(int s, netbsd32_caddr_t buf, int len, \
    178   1.1       mrg 			    int flags); }
    179   1.1       mrg 103	UNIMPL		old socketaddr
    180  1.20     pooka 104	NOARGS		{ int|netbsd32||bind(int s, netbsd32_caddr_t name, int namelen); }
    181  1.20     pooka 105	STD		{ int|sunos32_sys||setsockopt(int s, int level, int name, \
    182  1.16  christos 			    netbsd32_caddr_t val, int valsize); }
    183  1.20     pooka 106	NOARGS		{ int|netbsd32||listen(int s, int backlog); }
    184   1.1       mrg 107	UNIMPL		vtimes
    185  1.20     pooka 108	STD		{ int|sunos32_sys||sigvec(int signum, netbsd32_sigvecp_t nsv, \
    186   1.1       mrg 			    netbsd32_sigvecp_t osv); }
    187  1.20     pooka 109	NOARGS		{ int|compat_43_netbsd32||sigblock(int mask); }
    188  1.20     pooka 110	NOARGS		{ int|compat_43_netbsd32||sigsetmask(int mask); }
    189  1.20     pooka 111	STD		{ int|sunos32_sys||sigsuspend(int mask); }
    190  1.20     pooka 112	NOARGS		{ int|compat_43_netbsd32||osigstack(netbsd32_sigstackp_t nss, \
    191   1.1       mrg 			    netbsd32_sigstackp_t oss); }
    192  1.20     pooka 113	NOARGS		{ int|compat_43_netbsd32||orecvmsg(int s, \
    193   1.1       mrg 			    netbsd32_omsghdrp_t msg, int flags); }
    194  1.20     pooka 114	NOARGS		{ int|compat_43_netbsd32||osendmsg(int s, netbsd32_caddr_t msg, \
    195   1.1       mrg 			    int flags); }
    196   1.1       mrg 115	OBSOL		vtrace
    197  1.20     pooka 116	NOARGS		{ int|compat_50_netbsd32||gettimeofday(netbsd32_timevalp_t tp, \
    198   1.1       mrg 			    netbsd32_timezonep_t tzp); }
    199  1.20     pooka 117	NOARGS		{ int|compat_50_netbsd32||getrusage(int who, netbsd32_rusagep_t rusage); }
    200  1.20     pooka 118	NOARGS		{ int|netbsd32||getsockopt(int s, int level, int name, \
    201  1.16  christos 			    netbsd32_caddr_t val, netbsd32_intp avalsize); }
    202  1.10     perry 119	UNIMPL
    203  1.20     pooka 120	NOARGS		{ int|netbsd32||readv(int fd, netbsd32_iovecp_t iovp, \
    204   1.1       mrg 			    u_int iovcnt); }
    205  1.20     pooka 121	NOARGS		{ int|netbsd32||writev(int fd, netbsd32_iovecp_t iovp, \
    206   1.1       mrg 			    u_int iovcnt); }
    207  1.20     pooka 122	NOARGS		{ int|compat_50_netbsd32||settimeofday(netbsd32_timevalp_t tv, \
    208   1.1       mrg 			    netbsd32_timezonep_t tzp); }
    209  1.20     pooka 123	NOARGS		{ int|netbsd32||fchown(int fd, int uid, int gid); }
    210  1.20     pooka 124	NOARGS		{ int|netbsd32||fchmod(int fd, int mode); }
    211  1.20     pooka 125	NOARGS		{ int|compat_43_netbsd32||orecvfrom(int s, netbsd32_caddr_t buf, \
    212  1.16  christos 			    netbsd32_size_t len, int flags, netbsd32_caddr_t from, \
    213   1.1       mrg 			    netbsd32_intp fromlenaddr); }
    214  1.20     pooka 126	NOARGS		{ int|netbsd32||setreuid(int ruid, int euid); }
    215  1.20     pooka 127	NOARGS		{ int|netbsd32||setregid(int rgid, int egid); }
    216  1.20     pooka 128	NOARGS		{ int|netbsd32||rename(netbsd32_charp from, netbsd32_charp to); }
    217  1.20     pooka 129	NOARGS		{ int|compat_43_netbsd32||otruncate(netbsd32_charp path, netbsd32_long length); }
    218  1.20     pooka 130	NOARGS		{ int|compat_43_netbsd32||oftruncate(int fd, netbsd32_long length); }
    219  1.20     pooka 131	NOARGS		{ int|netbsd32||flock(int fd, int how); }
    220  1.10     perry 132	UNIMPL
    221  1.20     pooka 133	NOARGS		{ int|netbsd32||sendto(int s, netbsd32_caddr_t buf, netbsd32_size_t len, \
    222  1.16  christos 			    int flags, netbsd32_caddr_t to, int tolen); }
    223  1.20     pooka 134	NOARGS		{ int|netbsd32||shutdown(int s, int how); }
    224  1.20     pooka 135	STD		{ int|sunos32_sys||socketpair(int domain, int type, \
    225   1.1       mrg 			    int protocol, netbsd32_intp rsv); }
    226  1.20     pooka 136	NOARGS		{ int|netbsd32||mkdir(netbsd32_charp path, int mode); }
    227  1.20     pooka 137	NOARGS		{ int|netbsd32||rmdir(netbsd32_charp path); }
    228  1.20     pooka 138	NOARGS		{ int|compat_50_netbsd32||utimes(netbsd32_charp path, netbsd32_timevalp_t tptr); }
    229  1.20     pooka 139	STD		{ int|sunos32_sys||sigreturn(netbsd32_sigcontextp_t sigcntxp); }
    230  1.20     pooka 140	NOARGS		{ int|compat_50_netbsd32||adjtime(netbsd32_timevalp_t delta, \
    231   1.1       mrg 			    netbsd32_timevalp_t olddelta); }
    232  1.20     pooka 141	NOARGS		{ int|compat_43_netbsd32||ogetpeername(int fdes, netbsd32_caddr_t asa, \
    233   1.1       mrg 			    netbsd32_intp alen); }
    234  1.20     pooka 142	NOARGS		{ int|compat_43_sys||gethostid(void); }
    235   1.1       mrg 143	UNIMPL		old sethostid
    236  1.20     pooka 144	STD		{ int|sunos32_sys||getrlimit(u_int which, \
    237   1.1       mrg 			    netbsd32_orlimitp_t rlp); }
    238  1.20     pooka 145	STD		{ int|sunos32_sys||setrlimit(u_int which, \
    239   1.1       mrg 			    netbsd32_orlimitp_t rlp); }
    240  1.20     pooka 146	NOARGS		{ int|compat_43_netbsd32||killpg(int pgid, int signum); }
    241  1.10     perry 147	UNIMPL
    242  1.10     perry 148	UNIMPL
    243  1.10     perry 149	UNIMPL
    244  1.20     pooka 150	NOARGS		{ int|compat_43_netbsd32||ogetsockname(int fdes, netbsd32_caddr_t asa, \
    245   1.1       mrg 			    netbsd32_intp alen); }
    246   1.1       mrg 151	UNIMPL		getmsg
    247   1.1       mrg 152	UNIMPL		putmsg
    248  1.20     pooka 153	NOARGS		{ int|netbsd32||poll(netbsd32_pollfdp_t fds, u_int nfds, \
    249   1.1       mrg 			    int timeout); }
    250  1.10     perry 154	UNIMPL
    251  1.20     pooka 155	STD		{ int|sunos32_sys||nfssvc(int fd); }
    252  1.20     pooka 156	NOARGS		{ int|compat_43_netbsd32||ogetdirentries(int fd, netbsd32_charp buf, \
    253   1.1       mrg 			    u_int count, netbsd32_longp basep); }
    254  1.20     pooka 157	STD		{ int|sunos32_sys||statfs(const netbsd32_charp path, \
    255   1.1       mrg 			    sunos32_statfsp_t buf); }
    256  1.20     pooka 158	STD		{ int|sunos32_sys||fstatfs(int fd, \
    257   1.1       mrg 			    sunos32_statfsp_t buf); }
    258  1.20     pooka 159	STD		{ int|sunos32_sys||unmount(netbsd32_charp path); }
    259   1.1       mrg #ifdef NFS
    260  1.20     pooka 160	NOARGS		{ int|async||daemon(void); }
    261  1.20     pooka 161	NOARGS		{ int|compat_30_sys||getfh(netbsd32_charp fname, netbsd32_fhandlep_t fhp); }
    262   1.1       mrg #else
    263  1.10     perry 160	UNIMPL
    264  1.10     perry 161	UNIMPL
    265   1.1       mrg #endif
    266  1.20     pooka 162	NOARGS		{ int|compat_09_netbsd32||ogetdomainname(netbsd32_charp domainname, \
    267   1.1       mrg 			    int len); }
    268  1.20     pooka 163	NOARGS		{ int|compat_09_netbsd32||osetdomainname(netbsd32_charp domainname, \
    269   1.1       mrg 			    int len); }
    270   1.1       mrg 164	UNIMPL		rtschedule
    271  1.20     pooka 165	STD		{ int|sunos32_sys||quotactl(int cmd, netbsd32_charp special, \
    272  1.16  christos 			    int uid, netbsd32_caddr_t addr); }
    273  1.20     pooka 166	STD		{ int|sunos32_sys||exportfs(netbsd32_charp path, netbsd32_charp ex); }
    274  1.20     pooka 167	STD		{ int|sunos32_sys||mount(netbsd32_charp type, netbsd32_charp path, \
    275  1.16  christos 			    int flags, netbsd32_caddr_t data); }
    276  1.20     pooka 168	STD		{ int|sunos32_sys||ustat(int dev, \
    277   1.1       mrg 			    sunos32_ustatp_t buf); }
    278   1.1       mrg #ifdef SYSVSEM
    279  1.20     pooka 169	NOARGS		{ int|compat_10_netbsd32||semsys(int which, int a2, int a3, \
    280   1.1       mrg 			    int a4, int a5); } osemsys
    281   1.1       mrg #else
    282   1.1       mrg 169	UNIMPL		semsys
    283   1.1       mrg #endif
    284   1.1       mrg #ifdef SYSVMSG
    285  1.20     pooka 170	NOARGS		{ int|compat_10_netbsd32||msgsys(int which, int a2, int a3, \
    286   1.1       mrg 			    int a4, int a5, int a6); } omsgsys
    287   1.1       mrg #else
    288   1.1       mrg 170	UNIMPL		msgsys
    289   1.1       mrg #endif
    290   1.1       mrg #ifdef SYSVSHM
    291  1.20     pooka 171	NOARGS		{ int|compat_10_netbsd32||shmsys(int which, int a2, int a3, \
    292   1.1       mrg 			    int a4); } oshmsys
    293   1.1       mrg #else
    294   1.1       mrg 171	UNIMPL		shmsys
    295   1.1       mrg #endif
    296  1.20     pooka 172	STD		{ int|sunos32_sys||auditsys(netbsd32_charp record); }
    297   1.1       mrg 173	UNIMPL		rfssys
    298  1.20     pooka 174	STD		{ int|sunos32_sys||getdents(int fd, netbsd32_charp buf, \
    299   1.1       mrg 			    int nbytes); }
    300  1.20     pooka 175	NOARGS		{ int|sys||setsid(void); }
    301  1.20     pooka 176	NOARGS		{ int|netbsd32||fchdir(int fd); }
    302  1.20     pooka 177	NOARGS		{ int|netbsd32||fchroot(int fd); }
    303   1.1       mrg 178	UNIMPL		vpixsys
    304   1.1       mrg 179	UNIMPL		aioread
    305   1.1       mrg 180	UNIMPL		aiowrite
    306   1.1       mrg 181	UNIMPL		aiowait
    307   1.1       mrg 182	UNIMPL		aiocancel
    308  1.20     pooka 183	STD		{ int|sunos32_sys||sigpending(netbsd32_intp mask); }
    309  1.10     perry 184	UNIMPL
    310  1.20     pooka 185	NOARGS		{ int|netbsd32||setpgid(int pid, int pgid); }
    311  1.20     pooka 186	NOARGS		{ netbsd32_long|netbsd32||pathconf(netbsd32_charp path, int name); }
    312  1.20     pooka 187	NOARGS		{ netbsd32_long|netbsd32||fpathconf(int fd, int name); }
    313  1.20     pooka 188	STD		{ int|sunos32_sys||sysconf(int name); }
    314  1.20     pooka 189	STD		{ int|sunos32_sys||uname(sunos32_utsnamep_t name); }
    315