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