freebsd_syscalls.c revision 1.16 1 1.16 thorpej /* $NetBSD: freebsd_syscalls.c,v 1.16 1998/01/09 06:10:57 thorpej Exp $ */
2 1.16 thorpej
3 1.1 mycroft /*
4 1.1 mycroft * System call names.
5 1.1 mycroft *
6 1.1 mycroft * DO NOT EDIT-- this file is automatically generated.
7 1.13 veego * created from NetBSD: syscalls.master,v 1.13 1997/11/30 18:06:39 veego Exp
8 1.1 mycroft */
9 1.1 mycroft
10 1.1 mycroft char *freebsd_syscallnames[] = {
11 1.1 mycroft "syscall", /* 0 = syscall */
12 1.1 mycroft "exit", /* 1 = exit */
13 1.1 mycroft "fork", /* 2 = fork */
14 1.1 mycroft "read", /* 3 = read */
15 1.1 mycroft "write", /* 4 = write */
16 1.1 mycroft "open", /* 5 = open */
17 1.1 mycroft "close", /* 6 = close */
18 1.1 mycroft "wait4", /* 7 = wait4 */
19 1.1 mycroft "ocreat", /* 8 = ocreat */
20 1.1 mycroft "link", /* 9 = link */
21 1.1 mycroft "unlink", /* 10 = unlink */
22 1.1 mycroft "#11 (obsolete execv)", /* 11 = obsolete execv */
23 1.1 mycroft "chdir", /* 12 = chdir */
24 1.1 mycroft "fchdir", /* 13 = fchdir */
25 1.1 mycroft "mknod", /* 14 = mknod */
26 1.1 mycroft "chmod", /* 15 = chmod */
27 1.1 mycroft "chown", /* 16 = chown */
28 1.1 mycroft "break", /* 17 = break */
29 1.1 mycroft "getfsstat", /* 18 = getfsstat */
30 1.1 mycroft "olseek", /* 19 = olseek */
31 1.1 mycroft "getpid", /* 20 = getpid */
32 1.1 mycroft "mount", /* 21 = mount */
33 1.1 mycroft "unmount", /* 22 = unmount */
34 1.1 mycroft "setuid", /* 23 = setuid */
35 1.1 mycroft "getuid", /* 24 = getuid */
36 1.1 mycroft "geteuid", /* 25 = geteuid */
37 1.1 mycroft "ptrace", /* 26 = ptrace */
38 1.1 mycroft "recvmsg", /* 27 = recvmsg */
39 1.1 mycroft "sendmsg", /* 28 = sendmsg */
40 1.1 mycroft "recvfrom", /* 29 = recvfrom */
41 1.1 mycroft "accept", /* 30 = accept */
42 1.1 mycroft "getpeername", /* 31 = getpeername */
43 1.1 mycroft "getsockname", /* 32 = getsockname */
44 1.1 mycroft "access", /* 33 = access */
45 1.1 mycroft "chflags", /* 34 = chflags */
46 1.1 mycroft "fchflags", /* 35 = fchflags */
47 1.1 mycroft "sync", /* 36 = sync */
48 1.1 mycroft "kill", /* 37 = kill */
49 1.11 christos "stat43", /* 38 = stat43 */
50 1.1 mycroft "getppid", /* 39 = getppid */
51 1.11 christos "lstat43", /* 40 = lstat43 */
52 1.1 mycroft "dup", /* 41 = dup */
53 1.1 mycroft "pipe", /* 42 = pipe */
54 1.1 mycroft "getegid", /* 43 = getegid */
55 1.1 mycroft "profil", /* 44 = profil */
56 1.1 mycroft #ifdef KTRACE
57 1.1 mycroft "ktrace", /* 45 = ktrace */
58 1.1 mycroft #else
59 1.1 mycroft "#45 (unimplemented ktrace)", /* 45 = unimplemented ktrace */
60 1.1 mycroft #endif
61 1.1 mycroft "sigaction", /* 46 = sigaction */
62 1.1 mycroft "getgid", /* 47 = getgid */
63 1.1 mycroft "sigprocmask", /* 48 = sigprocmask */
64 1.5 christos "__getlogin", /* 49 = __getlogin */
65 1.1 mycroft "setlogin", /* 50 = setlogin */
66 1.1 mycroft "acct", /* 51 = acct */
67 1.1 mycroft "sigpending", /* 52 = sigpending */
68 1.1 mycroft "sigaltstack", /* 53 = sigaltstack */
69 1.1 mycroft "ioctl", /* 54 = ioctl */
70 1.1 mycroft "reboot", /* 55 = reboot */
71 1.1 mycroft "revoke", /* 56 = revoke */
72 1.1 mycroft "symlink", /* 57 = symlink */
73 1.1 mycroft "readlink", /* 58 = readlink */
74 1.1 mycroft "execve", /* 59 = execve */
75 1.1 mycroft "umask", /* 60 = umask */
76 1.1 mycroft "chroot", /* 61 = chroot */
77 1.11 christos "fstat43", /* 62 = fstat43 */
78 1.1 mycroft "ogetkerninfo", /* 63 = ogetkerninfo */
79 1.1 mycroft "ogetpagesize", /* 64 = ogetpagesize */
80 1.1 mycroft "msync", /* 65 = msync */
81 1.1 mycroft "vfork", /* 66 = vfork */
82 1.1 mycroft "#67 (obsolete vread)", /* 67 = obsolete vread */
83 1.1 mycroft "#68 (obsolete vwrite)", /* 68 = obsolete vwrite */
84 1.1 mycroft "sbrk", /* 69 = sbrk */
85 1.1 mycroft "sstk", /* 70 = sstk */
86 1.1 mycroft "ommap", /* 71 = ommap */
87 1.1 mycroft "vadvise", /* 72 = vadvise */
88 1.1 mycroft "munmap", /* 73 = munmap */
89 1.1 mycroft "mprotect", /* 74 = mprotect */
90 1.1 mycroft "madvise", /* 75 = madvise */
91 1.1 mycroft "#76 (obsolete vhangup)", /* 76 = obsolete vhangup */
92 1.1 mycroft "#77 (obsolete vlimit)", /* 77 = obsolete vlimit */
93 1.1 mycroft "mincore", /* 78 = mincore */
94 1.1 mycroft "getgroups", /* 79 = getgroups */
95 1.1 mycroft "setgroups", /* 80 = setgroups */
96 1.1 mycroft "getpgrp", /* 81 = getpgrp */
97 1.1 mycroft "setpgid", /* 82 = setpgid */
98 1.1 mycroft "setitimer", /* 83 = setitimer */
99 1.1 mycroft "owait", /* 84 = owait */
100 1.1 mycroft "swapon", /* 85 = swapon */
101 1.1 mycroft "getitimer", /* 86 = getitimer */
102 1.1 mycroft "ogethostname", /* 87 = ogethostname */
103 1.1 mycroft "osethostname", /* 88 = osethostname */
104 1.1 mycroft "ogetdtablesize", /* 89 = ogetdtablesize */
105 1.1 mycroft "dup2", /* 90 = dup2 */
106 1.1 mycroft "#91 (unimplemented getdopt)", /* 91 = unimplemented getdopt */
107 1.1 mycroft "fcntl", /* 92 = fcntl */
108 1.1 mycroft "select", /* 93 = select */
109 1.1 mycroft "#94 (unimplemented setdopt)", /* 94 = unimplemented setdopt */
110 1.1 mycroft "fsync", /* 95 = fsync */
111 1.1 mycroft "setpriority", /* 96 = setpriority */
112 1.1 mycroft "socket", /* 97 = socket */
113 1.1 mycroft "connect", /* 98 = connect */
114 1.1 mycroft "oaccept", /* 99 = oaccept */
115 1.1 mycroft "getpriority", /* 100 = getpriority */
116 1.1 mycroft "osend", /* 101 = osend */
117 1.1 mycroft "orecv", /* 102 = orecv */
118 1.1 mycroft "sigreturn", /* 103 = sigreturn */
119 1.1 mycroft "bind", /* 104 = bind */
120 1.1 mycroft "setsockopt", /* 105 = setsockopt */
121 1.1 mycroft "listen", /* 106 = listen */
122 1.1 mycroft "#107 (obsolete vtimes)", /* 107 = obsolete vtimes */
123 1.1 mycroft "osigvec", /* 108 = osigvec */
124 1.1 mycroft "osigblock", /* 109 = osigblock */
125 1.1 mycroft "osigsetmask", /* 110 = osigsetmask */
126 1.1 mycroft "sigsuspend", /* 111 = sigsuspend */
127 1.1 mycroft "osigstack", /* 112 = osigstack */
128 1.1 mycroft "orecvmsg", /* 113 = orecvmsg */
129 1.1 mycroft "osendmsg", /* 114 = osendmsg */
130 1.1 mycroft #ifdef TRACE
131 1.1 mycroft "vtrace", /* 115 = vtrace */
132 1.1 mycroft #else
133 1.1 mycroft "#115 (obsolete vtrace)", /* 115 = obsolete vtrace */
134 1.1 mycroft #endif
135 1.1 mycroft "gettimeofday", /* 116 = gettimeofday */
136 1.1 mycroft "getrusage", /* 117 = getrusage */
137 1.1 mycroft "getsockopt", /* 118 = getsockopt */
138 1.1 mycroft "#119 (obsolete resuba)", /* 119 = obsolete resuba */
139 1.1 mycroft "readv", /* 120 = readv */
140 1.1 mycroft "writev", /* 121 = writev */
141 1.1 mycroft "settimeofday", /* 122 = settimeofday */
142 1.1 mycroft "fchown", /* 123 = fchown */
143 1.1 mycroft "fchmod", /* 124 = fchmod */
144 1.1 mycroft "orecvfrom", /* 125 = orecvfrom */
145 1.4 mycroft "setreuid", /* 126 = setreuid */
146 1.4 mycroft "setregid", /* 127 = setregid */
147 1.1 mycroft "rename", /* 128 = rename */
148 1.1 mycroft "otruncate", /* 129 = otruncate */
149 1.2 mycroft "oftruncate", /* 130 = oftruncate */
150 1.2 mycroft "flock", /* 131 = flock */
151 1.1 mycroft "mkfifo", /* 132 = mkfifo */
152 1.1 mycroft "sendto", /* 133 = sendto */
153 1.1 mycroft "shutdown", /* 134 = shutdown */
154 1.1 mycroft "socketpair", /* 135 = socketpair */
155 1.1 mycroft "mkdir", /* 136 = mkdir */
156 1.1 mycroft "rmdir", /* 137 = rmdir */
157 1.1 mycroft "utimes", /* 138 = utimes */
158 1.1 mycroft "#139 (obsolete 4.2 sigreturn)", /* 139 = obsolete 4.2 sigreturn */
159 1.1 mycroft "adjtime", /* 140 = adjtime */
160 1.1 mycroft "ogetpeername", /* 141 = ogetpeername */
161 1.1 mycroft "ogethostid", /* 142 = ogethostid */
162 1.1 mycroft "osethostid", /* 143 = osethostid */
163 1.1 mycroft "ogetrlimit", /* 144 = ogetrlimit */
164 1.1 mycroft "osetrlimit", /* 145 = osetrlimit */
165 1.1 mycroft "okillpg", /* 146 = okillpg */
166 1.1 mycroft "setsid", /* 147 = setsid */
167 1.1 mycroft "quotactl", /* 148 = quotactl */
168 1.1 mycroft "oquota", /* 149 = oquota */
169 1.1 mycroft "ogetsockname", /* 150 = ogetsockname */
170 1.1 mycroft "#151 (unimplemented)", /* 151 = unimplemented */
171 1.1 mycroft "#152 (unimplemented)", /* 152 = unimplemented */
172 1.1 mycroft "#153 (unimplemented)", /* 153 = unimplemented */
173 1.1 mycroft "#154 (unimplemented)", /* 154 = unimplemented */
174 1.6 thorpej #if defined(NFS) || defined(NFSSERVER)
175 1.1 mycroft "nfssvc", /* 155 = nfssvc */
176 1.1 mycroft #else
177 1.1 mycroft "#155 (unimplemented)", /* 155 = unimplemented */
178 1.1 mycroft #endif
179 1.1 mycroft "ogetdirentries", /* 156 = ogetdirentries */
180 1.1 mycroft "statfs", /* 157 = statfs */
181 1.1 mycroft "fstatfs", /* 158 = fstatfs */
182 1.1 mycroft "#159 (unimplemented)", /* 159 = unimplemented */
183 1.1 mycroft "#160 (unimplemented)", /* 160 = unimplemented */
184 1.6 thorpej #ifdef NFS
185 1.1 mycroft "getfh", /* 161 = getfh */
186 1.1 mycroft #else
187 1.1 mycroft "#161 (unimplemented getfh)", /* 161 = unimplemented getfh */
188 1.1 mycroft #endif
189 1.1 mycroft "getdomainname", /* 162 = getdomainname */
190 1.1 mycroft "setdomainname", /* 163 = setdomainname */
191 1.1 mycroft "uname", /* 164 = uname */
192 1.1 mycroft "sysarch", /* 165 = sysarch */
193 1.1 mycroft "rtprio", /* 166 = rtprio */
194 1.1 mycroft "#167 (unimplemented)", /* 167 = unimplemented */
195 1.1 mycroft "#168 (unimplemented)", /* 168 = unimplemented */
196 1.1 mycroft #if defined(SYSVSEM) && !defined(alpha)
197 1.1 mycroft "semsys", /* 169 = semsys */
198 1.1 mycroft #else
199 1.1 mycroft "#169 (unimplemented 1.0 semsys)", /* 169 = unimplemented 1.0 semsys */
200 1.1 mycroft #endif
201 1.1 mycroft #if defined(SYSVMSG) && !defined(alpha)
202 1.1 mycroft "msgsys", /* 170 = msgsys */
203 1.1 mycroft #else
204 1.1 mycroft "#170 (unimplemented 1.0 msgsys)", /* 170 = unimplemented 1.0 msgsys */
205 1.1 mycroft #endif
206 1.1 mycroft #if defined(SYSVSHM) && !defined(alpha)
207 1.1 mycroft "shmsys", /* 171 = shmsys */
208 1.1 mycroft #else
209 1.1 mycroft "#171 (unimplemented 1.0 shmsys)", /* 171 = unimplemented 1.0 shmsys */
210 1.1 mycroft #endif
211 1.1 mycroft "#172 (unimplemented)", /* 172 = unimplemented */
212 1.1 mycroft "#173 (unimplemented)", /* 173 = unimplemented */
213 1.1 mycroft "#174 (unimplemented)", /* 174 = unimplemented */
214 1.1 mycroft "#175 (unimplemented)", /* 175 = unimplemented */
215 1.1 mycroft "freebsd_ntp_adjtime", /* 176 = freebsd_ntp_adjtime */
216 1.1 mycroft "#177 (unimplemented)", /* 177 = unimplemented */
217 1.1 mycroft "#178 (unimplemented)", /* 178 = unimplemented */
218 1.1 mycroft "#179 (unimplemented)", /* 179 = unimplemented */
219 1.1 mycroft "#180 (unimplemented)", /* 180 = unimplemented */
220 1.1 mycroft "setgid", /* 181 = setgid */
221 1.1 mycroft "setegid", /* 182 = setegid */
222 1.1 mycroft "seteuid", /* 183 = seteuid */
223 1.1 mycroft #ifdef LFS
224 1.1 mycroft "lfs_bmapv", /* 184 = lfs_bmapv */
225 1.1 mycroft "lfs_markv", /* 185 = lfs_markv */
226 1.1 mycroft "lfs_segclean", /* 186 = lfs_segclean */
227 1.1 mycroft "lfs_segwait", /* 187 = lfs_segwait */
228 1.1 mycroft #else
229 1.1 mycroft "#184 (unimplemented)", /* 184 = unimplemented */
230 1.1 mycroft "#185 (unimplemented)", /* 185 = unimplemented */
231 1.1 mycroft "#186 (unimplemented)", /* 186 = unimplemented */
232 1.1 mycroft "#187 (unimplemented)", /* 187 = unimplemented */
233 1.1 mycroft #endif
234 1.1 mycroft "stat", /* 188 = stat */
235 1.1 mycroft "fstat", /* 189 = fstat */
236 1.1 mycroft "lstat", /* 190 = lstat */
237 1.1 mycroft "pathconf", /* 191 = pathconf */
238 1.1 mycroft "fpathconf", /* 192 = fpathconf */
239 1.1 mycroft "#193 (unimplemented)", /* 193 = unimplemented */
240 1.1 mycroft "getrlimit", /* 194 = getrlimit */
241 1.1 mycroft "setrlimit", /* 195 = setrlimit */
242 1.1 mycroft "getdirentries", /* 196 = getdirentries */
243 1.1 mycroft "mmap", /* 197 = mmap */
244 1.1 mycroft "__syscall", /* 198 = __syscall */
245 1.1 mycroft "lseek", /* 199 = lseek */
246 1.1 mycroft "truncate", /* 200 = truncate */
247 1.1 mycroft "ftruncate", /* 201 = ftruncate */
248 1.1 mycroft "__sysctl", /* 202 = __sysctl */
249 1.1 mycroft "mlock", /* 203 = mlock */
250 1.1 mycroft "munlock", /* 204 = munlock */
251 1.1 mycroft #ifdef FREEBSD_BASED_ON_44LITE_R2
252 1.1 mycroft "undelete", /* 205 = undelete */
253 1.1 mycroft #else
254 1.1 mycroft "#205 (unimplemented)", /* 205 = unimplemented */
255 1.1 mycroft #endif
256 1.1 mycroft "#206 (unimplemented)", /* 206 = unimplemented */
257 1.1 mycroft "#207 (unimplemented)", /* 207 = unimplemented */
258 1.1 mycroft "#208 (unimplemented)", /* 208 = unimplemented */
259 1.1 mycroft "#209 (unimplemented)", /* 209 = unimplemented */
260 1.1 mycroft "#210 (unimplemented)", /* 210 = unimplemented */
261 1.1 mycroft "#211 (unimplemented)", /* 211 = unimplemented */
262 1.1 mycroft "#212 (unimplemented)", /* 212 = unimplemented */
263 1.1 mycroft "#213 (unimplemented)", /* 213 = unimplemented */
264 1.1 mycroft "#214 (unimplemented)", /* 214 = unimplemented */
265 1.1 mycroft "#215 (unimplemented)", /* 215 = unimplemented */
266 1.1 mycroft "#216 (unimplemented)", /* 216 = unimplemented */
267 1.1 mycroft "#217 (unimplemented)", /* 217 = unimplemented */
268 1.1 mycroft "#218 (unimplemented)", /* 218 = unimplemented */
269 1.1 mycroft "#219 (unimplemented)", /* 219 = unimplemented */
270 1.9 enami "#220 (unimplemented)", /* 220 = unimplemented */
271 1.9 enami "#221 (unimplemented)", /* 221 = unimplemented */
272 1.9 enami "#222 (unimplemented)", /* 222 = unimplemented */
273 1.9 enami "#223 (unimplemented)", /* 223 = unimplemented */
274 1.9 enami "#224 (unimplemented)", /* 224 = unimplemented */
275 1.9 enami "#225 (unimplemented)", /* 225 = unimplemented */
276 1.9 enami "#226 (unimplemented)", /* 226 = unimplemented */
277 1.9 enami "#227 (unimplemented)", /* 227 = unimplemented */
278 1.9 enami "#228 (unimplemented)", /* 228 = unimplemented */
279 1.9 enami "#229 (unimplemented)", /* 229 = unimplemented */
280 1.9 enami "#230 (unimplemented)", /* 230 = unimplemented */
281 1.9 enami "#231 (unimplemented)", /* 231 = unimplemented */
282 1.9 enami "#232 (unimplemented)", /* 232 = unimplemented */
283 1.9 enami "#233 (unimplemented)", /* 233 = unimplemented */
284 1.9 enami "#234 (unimplemented)", /* 234 = unimplemented */
285 1.9 enami "#235 (unimplemented)", /* 235 = unimplemented */
286 1.9 enami "#236 (unimplemented)", /* 236 = unimplemented */
287 1.9 enami "#237 (unimplemented)", /* 237 = unimplemented */
288 1.9 enami "#238 (unimplemented)", /* 238 = unimplemented */
289 1.9 enami "#239 (unimplemented)", /* 239 = unimplemented */
290 1.9 enami "#240 (unimplemented)", /* 240 = unimplemented */
291 1.9 enami "#241 (unimplemented)", /* 241 = unimplemented */
292 1.9 enami "#242 (unimplemented)", /* 242 = unimplemented */
293 1.9 enami "#243 (unimplemented)", /* 243 = unimplemented */
294 1.9 enami "#244 (unimplemented)", /* 244 = unimplemented */
295 1.9 enami "#245 (unimplemented)", /* 245 = unimplemented */
296 1.9 enami "#246 (unimplemented)", /* 246 = unimplemented */
297 1.9 enami "#247 (unimplemented)", /* 247 = unimplemented */
298 1.9 enami "#248 (unimplemented)", /* 248 = unimplemented */
299 1.9 enami "#249 (unimplemented)", /* 249 = unimplemented */
300 1.9 enami "#250 (unimplemented)", /* 250 = unimplemented */
301 1.9 enami "#251 (unimplemented)", /* 251 = unimplemented */
302 1.9 enami "#252 (unimplemented)", /* 252 = unimplemented */
303 1.9 enami "#253 (unimplemented)", /* 253 = unimplemented */
304 1.9 enami "lchown", /* 254 = lchown */
305 1.1 mycroft };
306