6 * DO NOT EDIT-- this file is automatically generated.
7 * created from; NetBSD: syscalls.master,v 1.20 2009/01/13 22:27:44 pooka Exp
10 #include <sys/cdefs.h>
11 __KERNEL_RCSID(0, "$NetBSD$");
13 #if defined(_KERNEL_OPT)
14 #if defined(_KERNEL_OPT)
16 #include "opt_compat_sunos.h"
19 #include <sys/param.h>
20 #include <sys/systm.h>
21 #include <sys/signal.h>
22 #include <sys/mount.h>
24 #include <sys/syscallargs.h>
25 #include <compat/sunos/sunos.h>
26 #include <compat/sunos/sunos_syscallargs.h>
27 #include <compat/netbsd32/netbsd32.h>
28 #include <compat/netbsd32/netbsd32_syscallargs.h>
29 #include <compat/sunos32/sunos32.h>
30 #include <compat/sunos32/sunos32_syscallargs.h>
31 #endif /* _KERNEL_OPT */
33 const char *const sunos32_syscallnames
[] = {
35 /* 1 */ "netbsd32_exit",
37 /* 3 */ "netbsd32_read",
38 /* 4 */ "netbsd32_write",
40 /* 6 */ "netbsd32_close",
43 /* 9 */ "netbsd32_link",
44 /* 10 */ "netbsd32_unlink",
46 /* 12 */ "netbsd32_chdir",
47 /* 13 */ "#13 (obsolete old_time)",
49 /* 15 */ "netbsd32_chmod",
50 /* 16 */ "netbsd32_chown",
51 /* 17 */ "netbsd32_break",
52 /* 18 */ "#18 (obsolete old_stat)",
53 /* 19 */ "compat_43_netbsd32_olseek",
54 /* 20 */ "getpid_with_ppid",
55 /* 21 */ "#21 (obsolete sunos_old_mount)",
56 /* 22 */ "#22 (unimplemented System V umount)",
57 /* 23 */ "netbsd32_setuid",
58 /* 24 */ "getuid_with_euid",
61 /* 27 */ "#27 (unimplemented old_sunos_alarm)",
62 /* 28 */ "#28 (unimplemented old_sunos_fstat)",
63 /* 29 */ "#29 (unimplemented old_sunos_pause)",
64 /* 30 */ "#30 (unimplemented old_sunos_utime)",
65 /* 31 */ "#31 (unimplemented old_sunos_stty)",
66 /* 32 */ "#32 (unimplemented old_sunos_gtty)",
68 /* 34 */ "#34 (unimplemented old_sunos_nice)",
69 /* 35 */ "#35 (unimplemented old_sunos_ftime)",
71 /* 37 */ "netbsd32_kill",
73 /* 39 */ "#39 (unimplemented sunos_setpgrp)",
75 /* 41 */ "netbsd32_dup",
77 /* 43 */ "#43 (unimplemented sunos_times)",
78 /* 44 */ "netbsd32_profil",
79 /* 45 */ "#45 (unimplemented)",
80 /* 46 */ "netbsd32_setgid",
81 /* 47 */ "getgid_with_egid",
82 /* 48 */ "#48 (unimplemented sunos_ssig)",
83 /* 49 */ "#49 (unimplemented reserved for USG)",
84 /* 50 */ "#50 (unimplemented reserved for USG)",
85 /* 51 */ "netbsd32_acct",
86 /* 52 */ "#52 (unimplemented)",
90 /* 56 */ "#56 (obsolete sunos_owait3)",
91 /* 57 */ "netbsd32_symlink",
92 /* 58 */ "netbsd32_readlink",
94 /* 60 */ "netbsd32_umask",
95 /* 61 */ "netbsd32_chroot",
96 /* 62 */ "compat_43_netbsd32_fstat43",
97 /* 63 */ "#63 (unimplemented)",
98 /* 64 */ "ogetpagesize",
101 /* 67 */ "#67 (obsolete vread)",
102 /* 68 */ "#68 (obsolete vwrite)",
103 /* 69 */ "netbsd32_sbrk",
104 /* 70 */ "netbsd32_sstk",
107 /* 73 */ "netbsd32_munmap",
108 /* 74 */ "netbsd32_mprotect",
109 /* 75 */ "netbsd32_madvise",
111 /* 77 */ "#77 (unimplemented vlimit)",
112 /* 78 */ "netbsd32_mincore",
113 /* 79 */ "netbsd32_getgroups",
114 /* 80 */ "netbsd32_setgroups",
117 /* 83 */ "compat_50_netbsd32_setitimer",
118 /* 84 */ "#84 (unimplemented sunos32_sys_wait)",
119 /* 85 */ "compat_12_netbsd32_oswapon",
120 /* 86 */ "compat_50_netbsd32_getitimer",
121 /* 87 */ "compat_43_netbsd32_ogethostname",
122 /* 88 */ "compat_43_netbsd32_osethostname",
123 /* 89 */ "ogetdtablesize",
124 /* 90 */ "netbsd32_dup2",
125 /* 91 */ "#91 (unimplemented getdopt)",
127 /* 93 */ "compat_50_netbsd32_select",
128 /* 94 */ "#94 (unimplemented setdopt)",
129 /* 95 */ "netbsd32_fsync",
130 /* 96 */ "netbsd32_setpriority",
132 /* 98 */ "netbsd32_connect",
133 /* 99 */ "compat_43_netbsd32_oaccept",
134 /* 100 */ "netbsd32_getpriority",
135 /* 101 */ "compat_43_netbsd32_osend",
136 /* 102 */ "compat_43_netbsd32_orecv",
137 /* 103 */ "#103 (unimplemented old socketaddr)",
138 /* 104 */ "netbsd32_bind",
139 /* 105 */ "setsockopt",
140 /* 106 */ "netbsd32_listen",
141 /* 107 */ "#107 (unimplemented vtimes)",
143 /* 109 */ "compat_43_netbsd32_sigblock",
144 /* 110 */ "compat_43_netbsd32_sigsetmask",
145 /* 111 */ "sigsuspend",
146 /* 112 */ "compat_43_netbsd32_osigstack",
147 /* 113 */ "compat_43_netbsd32_orecvmsg",
148 /* 114 */ "compat_43_netbsd32_osendmsg",
149 /* 115 */ "#115 (obsolete vtrace)",
150 /* 116 */ "compat_50_netbsd32_gettimeofday",
151 /* 117 */ "compat_50_netbsd32_getrusage",
152 /* 118 */ "netbsd32_getsockopt",
153 /* 119 */ "#119 (unimplemented)",
154 /* 120 */ "netbsd32_readv",
155 /* 121 */ "netbsd32_writev",
156 /* 122 */ "compat_50_netbsd32_settimeofday",
157 /* 123 */ "netbsd32_fchown",
158 /* 124 */ "netbsd32_fchmod",
159 /* 125 */ "compat_43_netbsd32_orecvfrom",
160 /* 126 */ "netbsd32_setreuid",
161 /* 127 */ "netbsd32_setregid",
162 /* 128 */ "netbsd32_rename",
163 /* 129 */ "compat_43_netbsd32_otruncate",
164 /* 130 */ "compat_43_netbsd32_oftruncate",
165 /* 131 */ "netbsd32_flock",
166 /* 132 */ "#132 (unimplemented)",
167 /* 133 */ "netbsd32_sendto",
168 /* 134 */ "netbsd32_shutdown",
169 /* 135 */ "socketpair",
170 /* 136 */ "netbsd32_mkdir",
171 /* 137 */ "netbsd32_rmdir",
172 /* 138 */ "compat_50_netbsd32_utimes",
173 /* 139 */ "sigreturn",
174 /* 140 */ "compat_50_netbsd32_adjtime",
175 /* 141 */ "compat_43_netbsd32_ogetpeername",
176 /* 142 */ "gethostid",
177 /* 143 */ "#143 (unimplemented old sethostid)",
178 /* 144 */ "getrlimit",
179 /* 145 */ "setrlimit",
180 /* 146 */ "compat_43_netbsd32_killpg",
181 /* 147 */ "#147 (unimplemented)",
182 /* 148 */ "#148 (unimplemented)",
183 /* 149 */ "#149 (unimplemented)",
184 /* 150 */ "compat_43_netbsd32_ogetsockname",
185 /* 151 */ "#151 (unimplemented getmsg)",
186 /* 152 */ "#152 (unimplemented putmsg)",
187 /* 153 */ "netbsd32_poll",
188 /* 154 */ "#154 (unimplemented)",
190 /* 156 */ "compat_43_netbsd32_ogetdirentries",
195 /* 160 */ "async_daemon",
198 /* 160 */ "#160 (unimplemented)",
199 /* 161 */ "#161 (unimplemented)",
201 /* 162 */ "compat_09_netbsd32_ogetdomainname",
202 /* 163 */ "compat_09_netbsd32_osetdomainname",
203 /* 164 */ "#164 (unimplemented rtschedule)",
204 /* 165 */ "quotactl",
205 /* 166 */ "exportfs",
211 /* 169 */ "#169 (unimplemented semsys)",
216 /* 170 */ "#170 (unimplemented msgsys)",
221 /* 171 */ "#171 (unimplemented shmsys)",
223 /* 172 */ "auditsys",
224 /* 173 */ "#173 (unimplemented rfssys)",
225 /* 174 */ "getdents",
227 /* 176 */ "netbsd32_fchdir",
228 /* 177 */ "netbsd32_fchroot",
229 /* 178 */ "#178 (unimplemented vpixsys)",
230 /* 179 */ "#179 (unimplemented aioread)",
231 /* 180 */ "#180 (unimplemented aiowrite)",
232 /* 181 */ "#181 (unimplemented aiowait)",
233 /* 182 */ "#182 (unimplemented aiocancel)",
234 /* 183 */ "sigpending",
235 /* 184 */ "#184 (unimplemented)",
236 /* 185 */ "netbsd32_setpgid",
237 /* 186 */ "netbsd32_pathconf",
238 /* 187 */ "netbsd32_fpathconf",