sunos32_syscalls.c revision 1.1 1 1.1 mrg /* $NetBSD: sunos32_syscalls.c,v 1.1 2001/02/02 07:29:42 mrg Exp $ */
2 1.1 mrg
3 1.1 mrg /*
4 1.1 mrg * System call names.
5 1.1 mrg *
6 1.1 mrg * DO NOT EDIT-- this file is automatically generated.
7 1.1 mrg * created from; NetBSD: syscalls.master,v 1.1 2001/02/02 07:28:54 mrg Exp
8 1.1 mrg */
9 1.1 mrg
10 1.1 mrg #if defined(_KERNEL) && !defined(_LKM)
11 1.1 mrg #if defined(_KERNEL) && !defined(_LKM)
12 1.1 mrg #include "opt_nfsserver.h"
13 1.1 mrg #include "opt_sysv.h"
14 1.1 mrg #include "fs_nfs.h"
15 1.1 mrg #endif
16 1.1 mrg #include <sys/param.h>
17 1.1 mrg #include <sys/systm.h>
18 1.1 mrg #include <sys/signal.h>
19 1.1 mrg #include <sys/mount.h>
20 1.1 mrg #include <sys/poll.h>
21 1.1 mrg #include <sys/syscallargs.h>
22 1.1 mrg #include <compat/sunos/sunos.h>
23 1.1 mrg #include <compat/sunos/sunos_syscallargs.h>
24 1.1 mrg #include <compat/netbsd32/netbsd32.h>
25 1.1 mrg #include <compat/netbsd32/netbsd32_syscallargs.h>
26 1.1 mrg #include <compat/sunos32/sunos32.h>
27 1.1 mrg #include <compat/sunos32/sunos32_syscallargs.h>
28 1.1 mrg #endif /* _KERNEL && ! _LKM */
29 1.1 mrg
30 1.1 mrg const char *const sunos32_syscallnames[] = {
31 1.1 mrg "syscall", /* 0 = syscall */
32 1.1 mrg "netbsd32_exit", /* 1 = netbsd32_exit */
33 1.1 mrg "fork", /* 2 = fork */
34 1.1 mrg "netbsd32_read", /* 3 = netbsd32_read */
35 1.1 mrg "netbsd32_write", /* 4 = netbsd32_write */
36 1.1 mrg "open", /* 5 = open */
37 1.1 mrg "netbsd32_close", /* 6 = netbsd32_close */
38 1.1 mrg "wait4", /* 7 = wait4 */
39 1.1 mrg "creat", /* 8 = creat */
40 1.1 mrg "netbsd32_link", /* 9 = netbsd32_link */
41 1.1 mrg "netbsd32_unlink", /* 10 = netbsd32_unlink */
42 1.1 mrg "execv", /* 11 = execv */
43 1.1 mrg "netbsd32_chdir", /* 12 = netbsd32_chdir */
44 1.1 mrg "#13 (obsolete old_time)", /* 13 = obsolete old_time */
45 1.1 mrg "mknod", /* 14 = mknod */
46 1.1 mrg "netbsd32_chmod", /* 15 = netbsd32_chmod */
47 1.1 mrg "netbsd32_chown", /* 16 = netbsd32_chown */
48 1.1 mrg "netbsd32_break", /* 17 = netbsd32_break */
49 1.1 mrg "#18 (obsolete old_stat)", /* 18 = obsolete old_stat */
50 1.1 mrg "compat_43_netbsd32_olseek", /* 19 = compat_43_netbsd32_olseek */
51 1.1 mrg "getpid_with_ppid", /* 20 = getpid_with_ppid */
52 1.1 mrg "#21 (obsolete sunos_old_mount)", /* 21 = obsolete sunos_old_mount */
53 1.1 mrg "#22 (unimplemented System V umount)", /* 22 = unimplemented System V umount */
54 1.1 mrg "netbsd32_setuid", /* 23 = netbsd32_setuid */
55 1.1 mrg "getuid_with_euid", /* 24 = getuid_with_euid */
56 1.1 mrg "stime", /* 25 = stime */
57 1.1 mrg "ptrace", /* 26 = ptrace */
58 1.1 mrg "#27 (unimplemented old_sunos_alarm)", /* 27 = unimplemented old_sunos_alarm */
59 1.1 mrg "#28 (unimplemented old_sunos_fstat)", /* 28 = unimplemented old_sunos_fstat */
60 1.1 mrg "#29 (unimplemented old_sunos_pause)", /* 29 = unimplemented old_sunos_pause */
61 1.1 mrg "#30 (unimplemented old_sunos_utime)", /* 30 = unimplemented old_sunos_utime */
62 1.1 mrg "#31 (unimplemented old_sunos_stty)", /* 31 = unimplemented old_sunos_stty */
63 1.1 mrg "#32 (unimplemented old_sunos_gtty)", /* 32 = unimplemented old_sunos_gtty */
64 1.1 mrg "access", /* 33 = access */
65 1.1 mrg "#34 (unimplemented old_sunos_nice)", /* 34 = unimplemented old_sunos_nice */
66 1.1 mrg "#35 (unimplemented old_sunos_ftime)", /* 35 = unimplemented old_sunos_ftime */
67 1.1 mrg "sync", /* 36 = sync */
68 1.1 mrg "netbsd32_kill", /* 37 = netbsd32_kill */
69 1.1 mrg "stat", /* 38 = stat */
70 1.1 mrg "#39 (unimplemented sunos_setpgrp)", /* 39 = unimplemented sunos_setpgrp */
71 1.1 mrg "lstat", /* 40 = lstat */
72 1.1 mrg "netbsd32_dup", /* 41 = netbsd32_dup */
73 1.1 mrg "pipe", /* 42 = pipe */
74 1.1 mrg "#43 (unimplemented sunos_times)", /* 43 = unimplemented sunos_times */
75 1.1 mrg "netbsd32_profil", /* 44 = netbsd32_profil */
76 1.1 mrg "#45 (unimplemented)", /* 45 = unimplemented */
77 1.1 mrg "netbsd32_setgid", /* 46 = netbsd32_setgid */
78 1.1 mrg "getgid_with_egid", /* 47 = getgid_with_egid */
79 1.1 mrg "#48 (unimplemented sunos_ssig)", /* 48 = unimplemented sunos_ssig */
80 1.1 mrg "#49 (unimplemented reserved for USG)", /* 49 = unimplemented reserved for USG */
81 1.1 mrg "#50 (unimplemented reserved for USG)", /* 50 = unimplemented reserved for USG */
82 1.1 mrg "netbsd32_acct", /* 51 = netbsd32_acct */
83 1.1 mrg "#52 (unimplemented)", /* 52 = unimplemented */
84 1.1 mrg "mctl", /* 53 = mctl */
85 1.1 mrg "ioctl", /* 54 = ioctl */
86 1.1 mrg "reboot", /* 55 = reboot */
87 1.1 mrg "#56 (obsolete sunos_owait3)", /* 56 = obsolete sunos_owait3 */
88 1.1 mrg "netbsd32_symlink", /* 57 = netbsd32_symlink */
89 1.1 mrg "netbsd32_readlink", /* 58 = netbsd32_readlink */
90 1.1 mrg "execve", /* 59 = execve */
91 1.1 mrg "netbsd32_umask", /* 60 = netbsd32_umask */
92 1.1 mrg "netbsd32_chroot", /* 61 = netbsd32_chroot */
93 1.1 mrg "compat_43_netbsd32_fstat43", /* 62 = compat_43_netbsd32_fstat43 */
94 1.1 mrg "#63 (unimplemented)", /* 63 = unimplemented */
95 1.1 mrg "ogetpagesize", /* 64 = ogetpagesize */
96 1.1 mrg "omsync", /* 65 = omsync */
97 1.1 mrg "vfork", /* 66 = vfork */
98 1.1 mrg "#67 (obsolete vread)", /* 67 = obsolete vread */
99 1.1 mrg "#68 (obsolete vwrite)", /* 68 = obsolete vwrite */
100 1.1 mrg "netbsd32_sbrk", /* 69 = netbsd32_sbrk */
101 1.1 mrg "netbsd32_sstk", /* 70 = netbsd32_sstk */
102 1.1 mrg "mmap", /* 71 = mmap */
103 1.1 mrg "vadvise", /* 72 = vadvise */
104 1.1 mrg "netbsd32_munmap", /* 73 = netbsd32_munmap */
105 1.1 mrg "netbsd32_mprotect", /* 74 = netbsd32_mprotect */
106 1.1 mrg "netbsd32_madvise", /* 75 = netbsd32_madvise */
107 1.1 mrg "vhangup", /* 76 = vhangup */
108 1.1 mrg "#77 (unimplemented vlimit)", /* 77 = unimplemented vlimit */
109 1.1 mrg "netbsd32_mincore", /* 78 = netbsd32_mincore */
110 1.1 mrg "netbsd32_getgroups", /* 79 = netbsd32_getgroups */
111 1.1 mrg "netbsd32_setgroups", /* 80 = netbsd32_setgroups */
112 1.1 mrg "getpgrp", /* 81 = getpgrp */
113 1.1 mrg "setpgrp", /* 82 = setpgrp */
114 1.1 mrg "netbsd32_setitimer", /* 83 = netbsd32_setitimer */
115 1.1 mrg "#84 (unimplemented { int sunos32_sys_wait ( void ) ; })", /* 84 = unimplemented { int sunos32_sys_wait ( void ) ; } */
116 1.1 mrg "compat_12_netbsd32_oswapon", /* 85 = compat_12_netbsd32_oswapon */
117 1.1 mrg "netbsd32_getitimer", /* 86 = netbsd32_getitimer */
118 1.1 mrg "compat_43_netbsd32_ogethostname", /* 87 = compat_43_netbsd32_ogethostname */
119 1.1 mrg "compat_43_netbsd32_osethostname", /* 88 = compat_43_netbsd32_osethostname */
120 1.1 mrg "ogetdtablesize", /* 89 = ogetdtablesize */
121 1.1 mrg "netbsd32_dup2", /* 90 = netbsd32_dup2 */
122 1.1 mrg "#91 (unimplemented getdopt)", /* 91 = unimplemented getdopt */
123 1.1 mrg "fcntl", /* 92 = fcntl */
124 1.1 mrg "select", /* 93 = select */
125 1.1 mrg "#94 (unimplemented setdopt)", /* 94 = unimplemented setdopt */
126 1.1 mrg "netbsd32_fsync", /* 95 = netbsd32_fsync */
127 1.1 mrg "netbsd32_setpriority", /* 96 = netbsd32_setpriority */
128 1.1 mrg "netbsd32_socket", /* 97 = netbsd32_socket */
129 1.1 mrg "netbsd32_connect", /* 98 = netbsd32_connect */
130 1.1 mrg "compat_43_netbsd32_oaccept", /* 99 = compat_43_netbsd32_oaccept */
131 1.1 mrg "netbsd32_getpriority", /* 100 = netbsd32_getpriority */
132 1.1 mrg "compat_43_netbsd32_osend", /* 101 = compat_43_netbsd32_osend */
133 1.1 mrg "compat_43_netbsd32_orecv", /* 102 = compat_43_netbsd32_orecv */
134 1.1 mrg "#103 (unimplemented old socketaddr)", /* 103 = unimplemented old socketaddr */
135 1.1 mrg "netbsd32_bind", /* 104 = netbsd32_bind */
136 1.1 mrg "setsockopt", /* 105 = setsockopt */
137 1.1 mrg "netbsd32_listen", /* 106 = netbsd32_listen */
138 1.1 mrg "#107 (unimplemented vtimes)", /* 107 = unimplemented vtimes */
139 1.1 mrg "sigvec", /* 108 = sigvec */
140 1.1 mrg "compat_43_netbsd32_sigblock", /* 109 = compat_43_netbsd32_sigblock */
141 1.1 mrg "compat_43_netbsd32_sigsetmask", /* 110 = compat_43_netbsd32_sigsetmask */
142 1.1 mrg "sigsuspend", /* 111 = sigsuspend */
143 1.1 mrg "compat_43_netbsd32_osigstack", /* 112 = compat_43_netbsd32_osigstack */
144 1.1 mrg "compat_43_netbsd32_orecvmsg", /* 113 = compat_43_netbsd32_orecvmsg */
145 1.1 mrg "compat_43_netbsd32_osendmsg", /* 114 = compat_43_netbsd32_osendmsg */
146 1.1 mrg "#115 (obsolete vtrace)", /* 115 = obsolete vtrace */
147 1.1 mrg "netbsd32_gettimeofday", /* 116 = netbsd32_gettimeofday */
148 1.1 mrg "netbsd32_getrusage", /* 117 = netbsd32_getrusage */
149 1.1 mrg "netbsd32_getsockopt", /* 118 = netbsd32_getsockopt */
150 1.1 mrg "#119 (unimplemented)", /* 119 = unimplemented */
151 1.1 mrg "netbsd32_readv", /* 120 = netbsd32_readv */
152 1.1 mrg "netbsd32_writev", /* 121 = netbsd32_writev */
153 1.1 mrg "netbsd32_settimeofday", /* 122 = netbsd32_settimeofday */
154 1.1 mrg "netbsd32_fchown", /* 123 = netbsd32_fchown */
155 1.1 mrg "netbsd32_fchmod", /* 124 = netbsd32_fchmod */
156 1.1 mrg "compat_43_netbsd32_orecvfrom", /* 125 = compat_43_netbsd32_orecvfrom */
157 1.1 mrg "netbsd32_setreuid", /* 126 = netbsd32_setreuid */
158 1.1 mrg "netbsd32_setregid", /* 127 = netbsd32_setregid */
159 1.1 mrg "netbsd32_rename", /* 128 = netbsd32_rename */
160 1.1 mrg "compat_43_netbsd32_otruncate", /* 129 = compat_43_netbsd32_otruncate */
161 1.1 mrg "compat_43_netbsd32_oftruncate", /* 130 = compat_43_netbsd32_oftruncate */
162 1.1 mrg "netbsd32_flock", /* 131 = netbsd32_flock */
163 1.1 mrg "#132 (unimplemented)", /* 132 = unimplemented */
164 1.1 mrg "netbsd32_sendto", /* 133 = netbsd32_sendto */
165 1.1 mrg "netbsd32_shutdown", /* 134 = netbsd32_shutdown */
166 1.1 mrg "netbsd32_socketpair", /* 135 = netbsd32_socketpair */
167 1.1 mrg "netbsd32_mkdir", /* 136 = netbsd32_mkdir */
168 1.1 mrg "netbsd32_rmdir", /* 137 = netbsd32_rmdir */
169 1.1 mrg "netbsd32_utimes", /* 138 = netbsd32_utimes */
170 1.1 mrg "sigreturn", /* 139 = sigreturn */
171 1.1 mrg "netbsd32_adjtime", /* 140 = netbsd32_adjtime */
172 1.1 mrg "compat_43_netbsd32_ogetpeername", /* 141 = compat_43_netbsd32_ogetpeername */
173 1.1 mrg "gethostid", /* 142 = gethostid */
174 1.1 mrg "#143 (unimplemented old sethostid)", /* 143 = unimplemented old sethostid */
175 1.1 mrg "getrlimit", /* 144 = getrlimit */
176 1.1 mrg "setrlimit", /* 145 = setrlimit */
177 1.1 mrg "compat_43_netbsd32_killpg", /* 146 = compat_43_netbsd32_killpg */
178 1.1 mrg "#147 (unimplemented)", /* 147 = unimplemented */
179 1.1 mrg "#148 (unimplemented)", /* 148 = unimplemented */
180 1.1 mrg "#149 (unimplemented)", /* 149 = unimplemented */
181 1.1 mrg "compat_43_netbsd32_ogetsockname", /* 150 = compat_43_netbsd32_ogetsockname */
182 1.1 mrg "#151 (unimplemented getmsg)", /* 151 = unimplemented getmsg */
183 1.1 mrg "#152 (unimplemented putmsg)", /* 152 = unimplemented putmsg */
184 1.1 mrg "netbsd32_poll", /* 153 = netbsd32_poll */
185 1.1 mrg "#154 (unimplemented)", /* 154 = unimplemented */
186 1.1 mrg #ifdef NFSSERVER
187 1.1 mrg "nfssvc", /* 155 = nfssvc */
188 1.1 mrg #else
189 1.1 mrg "#155 (unimplemented)", /* 155 = unimplemented */
190 1.1 mrg #endif
191 1.1 mrg "compat_43_netbsd32_ogetdirentries", /* 156 = compat_43_netbsd32_ogetdirentries */
192 1.1 mrg "statfs", /* 157 = statfs */
193 1.1 mrg "fstatfs", /* 158 = fstatfs */
194 1.1 mrg "unmount", /* 159 = unmount */
195 1.1 mrg #ifdef NFS
196 1.1 mrg "async_daemon", /* 160 = async_daemon */
197 1.1 mrg "getfh", /* 161 = getfh */
198 1.1 mrg #else
199 1.1 mrg "#160 (unimplemented)", /* 160 = unimplemented */
200 1.1 mrg "#161 (unimplemented)", /* 161 = unimplemented */
201 1.1 mrg #endif
202 1.1 mrg "compat_09_netbsd32_ogetdomainname", /* 162 = compat_09_netbsd32_ogetdomainname */
203 1.1 mrg "compat_09_netbsd32_osetdomainname", /* 163 = compat_09_netbsd32_osetdomainname */
204 1.1 mrg "#164 (unimplemented rtschedule)", /* 164 = unimplemented rtschedule */
205 1.1 mrg "quotactl", /* 165 = quotactl */
206 1.1 mrg "exportfs", /* 166 = exportfs */
207 1.1 mrg "mount", /* 167 = mount */
208 1.1 mrg "ustat", /* 168 = ustat */
209 1.1 mrg #ifdef SYSVSEM
210 1.1 mrg "osemsys", /* 169 = osemsys */
211 1.1 mrg #else
212 1.1 mrg "#169 (unimplemented semsys)", /* 169 = unimplemented semsys */
213 1.1 mrg #endif
214 1.1 mrg #ifdef SYSVMSG
215 1.1 mrg "omsgsys", /* 170 = omsgsys */
216 1.1 mrg #else
217 1.1 mrg "#170 (unimplemented msgsys)", /* 170 = unimplemented msgsys */
218 1.1 mrg #endif
219 1.1 mrg #ifdef SYSVSHM
220 1.1 mrg "oshmsys", /* 171 = oshmsys */
221 1.1 mrg #else
222 1.1 mrg "#171 (unimplemented shmsys)", /* 171 = unimplemented shmsys */
223 1.1 mrg #endif
224 1.1 mrg "auditsys", /* 172 = auditsys */
225 1.1 mrg "#173 (unimplemented rfssys)", /* 173 = unimplemented rfssys */
226 1.1 mrg "getdents", /* 174 = getdents */
227 1.1 mrg "setsid", /* 175 = setsid */
228 1.1 mrg "netbsd32_fchdir", /* 176 = netbsd32_fchdir */
229 1.1 mrg "netbsd32_fchroot", /* 177 = netbsd32_fchroot */
230 1.1 mrg "#178 (unimplemented vpixsys)", /* 178 = unimplemented vpixsys */
231 1.1 mrg "#179 (unimplemented aioread)", /* 179 = unimplemented aioread */
232 1.1 mrg "#180 (unimplemented aiowrite)", /* 180 = unimplemented aiowrite */
233 1.1 mrg "#181 (unimplemented aiowait)", /* 181 = unimplemented aiowait */
234 1.1 mrg "#182 (unimplemented aiocancel)", /* 182 = unimplemented aiocancel */
235 1.1 mrg "sigpending", /* 183 = sigpending */
236 1.1 mrg "#184 (unimplemented)", /* 184 = unimplemented */
237 1.1 mrg "netbsd32_setpgid", /* 185 = netbsd32_setpgid */
238 1.1 mrg "netbsd32_pathconf", /* 186 = netbsd32_pathconf */
239 1.1 mrg "netbsd32_fpathconf", /* 187 = netbsd32_fpathconf */
240 1.1 mrg "sysconf", /* 188 = sysconf */
241 1.1 mrg "uname", /* 189 = uname */
242 1.1 mrg };
243