No empty .Rs/.Re
[netbsd-mini2440.git] / sys / compat / ibcs2 / ibcs2_syscalls.c
blobd820f1393ec3097e6a82989bbfbd2fd2153cde05
1 /* $NetBSD$ */
3 /*
4 * System call names.
6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD: syscalls.master,v 1.37 2009/01/13 22:27:43 pooka Exp
8 */
10 #include <sys/cdefs.h>
11 __KERNEL_RCSID(0, "$NetBSD$");
13 #if defined(_KERNEL_OPT)
14 #if defined(_KERNEL_OPT)
15 #include "opt_sysv.h"
16 #endif
17 #include <sys/param.h>
18 #include <sys/systm.h>
19 #include <sys/signal.h>
20 #include <sys/mount.h>
21 #include <sys/sched.h>
22 #include <sys/syscallargs.h>
23 #include <compat/sys/time.h>
24 #include <compat/ibcs2/ibcs2_types.h>
25 #include <compat/ibcs2/ibcs2_signal.h>
26 #include <compat/ibcs2/ibcs2_syscallargs.h>
27 #include <compat/ibcs2/ibcs2_statfs.h>
28 #endif /* _KERNEL_OPT */
30 const char *const ibcs2_syscallnames[] = {
31 /* 0 */ "syscall",
32 /* 1 */ "exit",
33 /* 2 */ "fork",
34 /* 3 */ "read",
35 /* 4 */ "write",
36 /* 5 */ "open",
37 /* 6 */ "close",
38 /* 7 */ "waitsys",
39 /* 8 */ "creat",
40 /* 9 */ "link",
41 /* 10 */ "unlink",
42 /* 11 */ "execv",
43 /* 12 */ "chdir",
44 /* 13 */ "time",
45 /* 14 */ "mknod",
46 /* 15 */ "chmod",
47 /* 16 */ "__posix_chown",
48 /* 17 */ "obreak",
49 /* 18 */ "stat",
50 /* 19 */ "lseek",
51 /* 20 */ "getpid_with_ppid",
52 /* 21 */ "mount",
53 /* 22 */ "umount",
54 /* 23 */ "setuid",
55 /* 24 */ "getuid_with_euid",
56 /* 25 */ "stime",
57 /* 26 */ "#26 (unimplemented ibcs2_ptrace)",
58 /* 27 */ "alarm",
59 /* 28 */ "fstat",
60 /* 29 */ "pause",
61 /* 30 */ "utime",
62 /* 31 */ "#31 (unimplemented was stty)",
63 /* 32 */ "gtty",
64 /* 33 */ "access",
65 /* 34 */ "nice",
66 /* 35 */ "statfs",
67 /* 36 */ "sync",
68 /* 37 */ "kill",
69 /* 38 */ "fstatfs",
70 /* 39 */ "pgrpsys",
71 /* 40 */ "#40 (unimplemented ibcs2_xenix)",
72 /* 41 */ "dup",
73 /* 42 */ "pipe",
74 /* 43 */ "times",
75 /* 44 */ "#44 (unimplemented profil)",
76 /* 45 */ "plock",
77 /* 46 */ "setgid",
78 /* 47 */ "getgid_with_egid",
79 /* 48 */ "sigsys",
80 #ifdef SYSVMSG
81 /* 49 */ "msgsys",
82 #else
83 /* 49 */ "#49 (unimplemented msgsys)",
84 #endif
85 /* 50 */ "sysmachine",
86 /* 51 */ "#51 (unimplemented ibcs2_acct)",
87 #ifdef SYSVSHM
88 /* 52 */ "shmsys",
89 #else
90 /* 52 */ "#52 (unimplemented shmsys)",
91 #endif
92 #ifdef SYSVSEM
93 /* 53 */ "semsys",
94 #else
95 /* 53 */ "#53 (unimplemented semsys)",
96 #endif
97 /* 54 */ "ioctl",
98 /* 55 */ "uadmin",
99 /* 56 */ "#56 (unimplemented)",
100 /* 57 */ "utssys",
101 /* 58 */ "fsync",
102 /* 59 */ "execve",
103 /* 60 */ "umask",
104 /* 61 */ "chroot",
105 /* 62 */ "fcntl",
106 /* 63 */ "ulimit",
107 /* 64 */ "#64 (unimplemented reserved for unix/pc)",
108 /* 65 */ "#65 (unimplemented reserved for unix/pc)",
109 /* 66 */ "#66 (unimplemented reserved for unix/pc)",
110 /* 67 */ "#67 (unimplemented reserved for unix/pc)",
111 /* 68 */ "#68 (unimplemented reserved for unix/pc)",
112 /* 69 */ "#69 (unimplemented reserved for unix/pc)",
113 /* 70 */ "#70 (obsolete rfs_advfs)",
114 /* 71 */ "#71 (obsolete rfs_unadvfs)",
115 /* 72 */ "#72 (obsolete rfs_rmount)",
116 /* 73 */ "#73 (obsolete rfs_rumount)",
117 /* 74 */ "#74 (obsolete rfs_rfstart)",
118 /* 75 */ "#75 (obsolete rfs_sigret)",
119 /* 76 */ "#76 (obsolete rfs_rdebug)",
120 /* 77 */ "#77 (obsolete rfs_rfstop)",
121 /* 78 */ "#78 (unimplemented rfs_rfsys)",
122 /* 79 */ "rmdir",
123 /* 80 */ "mkdir",
124 /* 81 */ "getdents",
125 /* 82 */ "#82 (unimplemented)",
126 /* 83 */ "#83 (unimplemented)",
127 /* 84 */ "sysfs",
128 /* 85 */ "getmsg",
129 /* 86 */ "putmsg",
130 /* 87 */ "poll",
131 /* 88 */ "#88 (unimplemented)",
132 /* 89 */ "#89 (unimplemented)",
133 /* 90 */ "symlink",
134 /* 91 */ "lstat",
135 /* 92 */ "readlink",
136 /* 93 */ "fchmod",
137 /* 94 */ "fchown",
138 /* 95 */ "#95 (unimplemented)",
139 /* 96 */ "sigreturn",
140 /* 97 */ "sigaltstack",
141 /* 98 */ "#98 (unimplemented)",
142 /* 99 */ "#99 (unimplemented)",
143 /* 100 */ "#100 (unimplemented getcontext/setcontext/sigsetjmp)",
144 /* 101 */ "#101 (unimplemented)",
145 /* 102 */ "#102 (unimplemented)",
146 /* 103 */ "statvfs",
147 /* 104 */ "fstatvfs",
148 /* 105 */ "#105 (unimplemented)",
149 /* 106 */ "#106 (unimplemented)",
150 /* 107 */ "#107 (unimplemented waitid)",
151 /* 108 */ "#108 (unimplemented sigsendset)",
152 /* 109 */ "#109 (unimplemented)",
153 /* 110 */ "#110 (unimplemented)",
154 /* 111 */ "#111 (unimplemented)",
155 /* 112 */ "#112 (unimplemented priocntl)",
156 /* 113 */ "#113 (unimplemented)",
157 /* 114 */ "#114 (unimplemented)",
158 /* 115 */ "mmap",
159 /* 116 */ "mprotect",
160 /* 117 */ "munmap",
161 /* 118 */ "#118 (unimplemented)",
162 /* 119 */ "#119 (unimplemented vfork)",
163 /* 120 */ "fchdir",
164 /* 121 */ "readv",
165 /* 122 */ "writev",
166 /* 123 */ "#123 (unimplemented xstat)",
167 /* 124 */ "#124 (unimplemented lxstat)",
168 /* 125 */ "#125 (unimplemented fxstat)",
169 /* 126 */ "#126 (unimplemented)",
170 /* 127 */ "#127 (unimplemented)",
171 /* 128 */ "#128 (unimplemented setrlimit)",
172 /* 129 */ "#129 (unimplemented getrlimit)",
173 /* 130 */ "#130 (unimplemented lchown)",
174 /* 131 */ "memcntl",
175 /* 132 */ "#132 (unimplemented getpmsg)",
176 /* 133 */ "#133 (unimplemented putpmsg)",
177 /* 134 */ "#134 (unimplemented)",
178 /* 135 */ "#135 (unimplemented)",
179 /* 136 */ "#136 (unimplemented setegid)",
180 /* 137 */ "#137 (unimplemented)",
181 /* 138 */ "#138 (unimplemented adjtime)",
182 /* 139 */ "#139 (unimplemented)",
183 /* 140 */ "#140 (unimplemented)",
184 /* 141 */ "#141 (unimplemented seteuid)",
185 /* 142 */ "#142 (unimplemented)",
186 /* 143 */ "#143 (unimplemented)",
187 /* 144 */ "#144 (unimplemented)",
188 /* 145 */ "#145 (unimplemented)",
189 /* 146 */ "#146 (unimplemented)",
190 /* 147 */ "#147 (unimplemented)",
191 /* 148 */ "#148 (unimplemented)",
192 /* 149 */ "#149 (unimplemented)",
193 /* 150 */ "#150 (unimplemented)",
194 /* 151 */ "#151 (unimplemented)",
195 /* 152 */ "#152 (unimplemented)",
196 /* 153 */ "#153 (unimplemented)",
197 /* 154 */ "#154 (unimplemented)",
198 /* 155 */ "#155 (unimplemented)",
199 /* 156 */ "#156 (unimplemented)",
200 /* 157 */ "#157 (unimplemented)",
201 /* 158 */ "#158 (unimplemented)",
202 /* 159 */ "#159 (unimplemented)",
203 /* 160 */ "#160 (unimplemented)",
204 /* 161 */ "#161 (unimplemented)",
205 /* 162 */ "#162 (unimplemented)",
206 /* 163 */ "#163 (unimplemented)",
207 /* 164 */ "#164 (unimplemented)",
208 /* 165 */ "#165 (unimplemented)",
209 /* 166 */ "#166 (unimplemented)",
210 /* 167 */ "#167 (unimplemented)",
211 /* 168 */ "#168 (unimplemented)",
212 /* 169 */ "#169 (unimplemented)",
213 /* 170 */ "#170 (unimplemented)",
214 /* 171 */ "gettimeofday",
215 /* 172 */ "settimeofday",
216 /* 173 */ "#173 (unimplemented)",
217 /* 174 */ "#174 (unimplemented)",
218 /* 175 */ "#175 (unimplemented)",
219 /* 176 */ "#176 (unimplemented)",
220 /* 177 */ "#177 (unimplemented)",
221 /* 178 */ "#178 (unimplemented)",
222 /* 179 */ "#179 (unimplemented)",
223 /* 180 */ "#180 (unimplemented)",
224 /* 181 */ "#181 (unimplemented)",
225 /* 182 */ "#182 (unimplemented)",
226 /* 183 */ "#183 (unimplemented)",
227 /* 184 */ "#184 (unimplemented)",
228 /* 185 */ "#185 (unimplemented)",
229 /* 186 */ "#186 (unimplemented)",
230 /* 187 */ "#187 (unimplemented)",
231 /* 188 */ "#188 (unimplemented)",
232 /* 189 */ "#189 (unimplemented)",
233 /* 190 */ "#190 (unimplemented)",
234 /* 191 */ "truncate",
235 /* 192 */ "ftruncate",
236 /* 193 */ "#193 (unimplemented)",
237 /* 194 */ "#194 (unimplemented)",
238 /* 195 */ "#195 (unimplemented)",
239 /* 196 */ "#196 (unimplemented)",
240 /* 197 */ "#197 (unimplemented)",
241 /* 198 */ "#198 (unimplemented)",
242 /* 199 */ "#199 (unimplemented)",
243 /* 200 */ "#200 (unimplemented)",
244 /* 201 */ "locking",
245 /* 202 */ "#202 (unimplemented xenix_creatsem)",
246 /* 203 */ "#203 (unimplemented xenix_opensem)",
247 /* 204 */ "#204 (unimplemented xenix_sigsem)",
248 /* 205 */ "#205 (unimplemented xenix_waitsem)",
249 /* 206 */ "#206 (unimplemented xenix_nbwaitsem)",
250 /* 207 */ "rdchk",
251 /* 208 */ "#208 (unimplemented)",
252 /* 209 */ "#209 (unimplemented)",
253 /* 210 */ "chsize",
254 /* 211 */ "ftime",
255 /* 212 */ "nap",
256 /* 213 */ "#213 (unimplemented xenix_sdget)",
257 /* 214 */ "#214 (unimplemented xenix_sdfree)",
258 /* 215 */ "#215 (unimplemented xenix_sdenter)",
259 /* 216 */ "#216 (unimplemented xenix_sdleave)",
260 /* 217 */ "#217 (unimplemented xenix_sdgetv)",
261 /* 218 */ "#218 (unimplemented xenix_sdwaitv)",
262 /* 219 */ "#219 (unimplemented)",
263 /* 220 */ "#220 (unimplemented)",
264 /* 221 */ "#221 (unimplemented)",
265 /* 222 */ "#222 (unimplemented)",
266 /* 223 */ "#223 (unimplemented)",
267 /* 224 */ "#224 (unimplemented)",
268 /* 225 */ "#225 (unimplemented)",
269 /* 226 */ "#226 (unimplemented)",
270 /* 227 */ "#227 (unimplemented)",
271 /* 228 */ "#228 (unimplemented)",
272 /* 229 */ "#229 (unimplemented)",
273 /* 230 */ "#230 (unimplemented)",
274 /* 231 */ "#231 (unimplemented)",
275 /* 232 */ "#232 (unimplemented xenix_proctl)",
276 /* 233 */ "#233 (unimplemented xenix_execseg)",
277 /* 234 */ "#234 (unimplemented xenix_unexecseg)",
278 /* 235 */ "#235 (unimplemented)",
279 /* 236 */ "select",
280 /* 237 */ "eaccess",
281 /* 238 */ "#238 (unimplemented xenix_paccess)",
282 /* 239 */ "sigaction",
283 /* 240 */ "sigprocmask",
284 /* 241 */ "sigpending",
285 /* 242 */ "sigsuspend",
286 /* 243 */ "getgroups",
287 /* 244 */ "setgroups",
288 /* 245 */ "sysconf",
289 /* 246 */ "pathconf",
290 /* 247 */ "fpathconf",
291 /* 248 */ "__posix_rename",
292 /* 249 */ "#249 (unimplemented)",
293 /* 250 */ "scoinfo",
294 /* 251 */ "#251 (unimplemented)",
295 /* 252 */ "#252 (unimplemented)",
296 /* 253 */ "#253 (unimplemented)",
297 /* 254 */ "#254 (unimplemented)",
298 /* 255 */ "#255 (unimplemented getitimer)",
299 /* 256 */ "#256 (unimplemented setitimer)",
300 /* 257 */ "#257 (unimplemented)",
301 /* 258 */ "#258 (unimplemented setreuid)",
302 /* 259 */ "#259 (unimplemented setregid)",