4 * DO NOT EDIT-- this file is automatically generated.
5 * $DragonFly: src/sys/kern/syscalls.c,v 1.33 2005/11/16 02:24:30 dillon Exp $
6 * created from DragonFly: src/sys/kern/syscalls.master,v 1.27 2005/08/27 20:23:05 joerg Exp
9 char *syscallnames
[] = {
12 "syscall", /* 0 = syscall */
13 "exit", /* 1 = exit */
14 "fork", /* 2 = fork */
15 "read", /* 3 = read */
16 "write", /* 4 = write */
17 "open", /* 5 = open */
18 "close", /* 6 = close */
19 "wait4", /* 7 = wait4 */
20 "old.creat", /* 8 = old creat */
21 "link", /* 9 = link */
22 "unlink", /* 10 = unlink */
23 "obs_execv", /* 11 = obsolete execv */
24 "chdir", /* 12 = chdir */
25 "fchdir", /* 13 = fchdir */
26 "mknod", /* 14 = mknod */
27 "chmod", /* 15 = chmod */
28 "chown", /* 16 = chown */
29 "break", /* 17 = break */
30 "getfsstat", /* 18 = getfsstat */
31 "old.lseek", /* 19 = old lseek */
32 "getpid", /* 20 = getpid */
33 "mount", /* 21 = mount */
34 "unmount", /* 22 = unmount */
35 "setuid", /* 23 = setuid */
36 "getuid", /* 24 = getuid */
37 "geteuid", /* 25 = geteuid */
38 "ptrace", /* 26 = ptrace */
39 "recvmsg", /* 27 = recvmsg */
40 "sendmsg", /* 28 = sendmsg */
41 "recvfrom", /* 29 = recvfrom */
42 "accept", /* 30 = accept */
43 "getpeername", /* 31 = getpeername */
44 "getsockname", /* 32 = getsockname */
45 "access", /* 33 = access */
46 "chflags", /* 34 = chflags */
47 "fchflags", /* 35 = fchflags */
48 "sync", /* 36 = sync */
49 "kill", /* 37 = kill */
50 "old.stat", /* 38 = old stat */
51 "getppid", /* 39 = getppid */
52 "old.lstat", /* 40 = old lstat */
54 "pipe", /* 42 = pipe */
55 "getegid", /* 43 = getegid */
56 "profil", /* 44 = profil */
57 "ktrace", /* 45 = ktrace */
58 "obs_freebsd3_sigaction", /* 46 = obsolete freebsd3_sigaction */
59 "getgid", /* 47 = getgid */
60 "obs_freebsd3_sigprocmask", /* 48 = obsolete freebsd3_sigprocmask */
61 "getlogin", /* 49 = getlogin */
62 "setlogin", /* 50 = setlogin */
63 "acct", /* 51 = acct */
64 "obs_freebsd3_sigpending", /* 52 = obsolete freebsd3_sigpending */
65 "sigaltstack", /* 53 = sigaltstack */
66 "ioctl", /* 54 = ioctl */
67 "reboot", /* 55 = reboot */
68 "revoke", /* 56 = revoke */
69 "symlink", /* 57 = symlink */
70 "readlink", /* 58 = readlink */
71 "execve", /* 59 = execve */
72 "umask", /* 60 = umask */
73 "chroot", /* 61 = chroot */
74 "old.fstat", /* 62 = old fstat */
75 "old.getkerninfo", /* 63 = old getkerninfo */
76 "old.getpagesize", /* 64 = old getpagesize */
77 "msync", /* 65 = msync */
78 "vfork", /* 66 = vfork */
79 "obs_vread", /* 67 = obsolete vread */
80 "obs_vwrite", /* 68 = obsolete vwrite */
81 "sbrk", /* 69 = sbrk */
82 "sstk", /* 70 = sstk */
83 "old.mmap", /* 71 = old mmap */
84 "vadvise", /* 72 = vadvise */
85 "munmap", /* 73 = munmap */
86 "mprotect", /* 74 = mprotect */
87 "madvise", /* 75 = madvise */
88 "obs_vhangup", /* 76 = obsolete vhangup */
89 "obs_vlimit", /* 77 = obsolete vlimit */
90 "mincore", /* 78 = mincore */
91 "getgroups", /* 79 = getgroups */
92 "setgroups", /* 80 = setgroups */
93 "getpgrp", /* 81 = getpgrp */
94 "setpgid", /* 82 = setpgid */
95 "setitimer", /* 83 = setitimer */
96 "old.wait", /* 84 = old wait */
97 "swapon", /* 85 = swapon */
98 "getitimer", /* 86 = getitimer */
99 "old.gethostname", /* 87 = old gethostname */
100 "old.sethostname", /* 88 = old sethostname */
101 "getdtablesize", /* 89 = getdtablesize */
102 "dup2", /* 90 = dup2 */
103 "#91", /* 91 = getdopt */
104 "fcntl", /* 92 = fcntl */
105 "select", /* 93 = select */
106 "#94", /* 94 = setdopt */
107 "fsync", /* 95 = fsync */
108 "setpriority", /* 96 = setpriority */
109 "socket", /* 97 = socket */
110 "connect", /* 98 = connect */
111 "old.accept", /* 99 = old accept */
112 "getpriority", /* 100 = getpriority */
113 "old.send", /* 101 = old send */
114 "old.recv", /* 102 = old recv */
115 "obs_freebsd3_sigreturn", /* 103 = obsolete freebsd3_sigreturn */
116 "bind", /* 104 = bind */
117 "setsockopt", /* 105 = setsockopt */
118 "listen", /* 106 = listen */
119 "obs_vtimes", /* 107 = obsolete vtimes */
120 "old.sigvec", /* 108 = old sigvec */
121 "old.sigblock", /* 109 = old sigblock */
122 "old.sigsetmask", /* 110 = old sigsetmask */
123 "obs_freebsd3_sigsuspend", /* 111 = obsolete freebsd3_sigsuspend */
124 "old.sigstack", /* 112 = old sigstack */
125 "old.recvmsg", /* 113 = old recvmsg */
126 "old.sendmsg", /* 114 = old sendmsg */
127 "obs_vtrace", /* 115 = obsolete vtrace */
128 "gettimeofday", /* 116 = gettimeofday */
129 "getrusage", /* 117 = getrusage */
130 "getsockopt", /* 118 = getsockopt */
131 "#119", /* 119 = resuba */
132 "readv", /* 120 = readv */
133 "writev", /* 121 = writev */
134 "settimeofday", /* 122 = settimeofday */
135 "fchown", /* 123 = fchown */
136 "fchmod", /* 124 = fchmod */
137 "old.recvfrom", /* 125 = old recvfrom */
138 "setreuid", /* 126 = setreuid */
139 "setregid", /* 127 = setregid */
140 "rename", /* 128 = rename */
141 "old.truncate", /* 129 = old truncate */
142 "old.ftruncate", /* 130 = old ftruncate */
143 "flock", /* 131 = flock */
144 "mkfifo", /* 132 = mkfifo */
145 "sendto", /* 133 = sendto */
146 "shutdown", /* 134 = shutdown */
147 "socketpair", /* 135 = socketpair */
148 "mkdir", /* 136 = mkdir */
149 "rmdir", /* 137 = rmdir */
150 "utimes", /* 138 = utimes */
151 "obs_4.2", /* 139 = obsolete 4.2 sigreturn */
152 "adjtime", /* 140 = adjtime */
153 "old.getpeername", /* 141 = old getpeername */
154 "old.gethostid", /* 142 = old gethostid */
155 "old.sethostid", /* 143 = old sethostid */
156 "old.getrlimit", /* 144 = old getrlimit */
157 "old.setrlimit", /* 145 = old setrlimit */
158 "old.killpg", /* 146 = old killpg */
159 "setsid", /* 147 = setsid */
160 "quotactl", /* 148 = quotactl */
161 "old.quota", /* 149 = old quota */
162 "old.getsockname", /* 150 = old getsockname */
163 "#151", /* 151 = sem_lock */
164 "#152", /* 152 = sem_wakeup */
165 "#153", /* 153 = asyncdaemon */
166 "#154", /* 154 = nosys */
167 "nfssvc", /* 155 = nfssvc */
168 "old.getdirentries", /* 156 = old getdirentries */
169 "statfs", /* 157 = statfs */
170 "fstatfs", /* 158 = fstatfs */
171 "#159", /* 159 = nosys */
172 "#160", /* 160 = nosys */
173 "getfh", /* 161 = getfh */
174 "getdomainname", /* 162 = getdomainname */
175 "setdomainname", /* 163 = setdomainname */
176 "uname", /* 164 = uname */
177 "sysarch", /* 165 = sysarch */
178 "rtprio", /* 166 = rtprio */
179 "#167", /* 167 = nosys */
180 "#168", /* 168 = nosys */
181 "semsys", /* 169 = semsys */
182 "msgsys", /* 170 = msgsys */
183 "shmsys", /* 171 = shmsys */
184 "#172", /* 172 = nosys */
185 "pread", /* 173 = pread */
186 "pwrite", /* 174 = pwrite */
187 "#175", /* 175 = nosys */
188 "ntp_adjtime", /* 176 = ntp_adjtime */
189 "#177", /* 177 = sfork */
190 "#178", /* 178 = getdescriptor */
191 "#179", /* 179 = setdescriptor */
192 "#180", /* 180 = nosys */
193 "setgid", /* 181 = setgid */
194 "setegid", /* 182 = setegid */
195 "seteuid", /* 183 = seteuid */
196 "#184", /* 184 = lfs_bmapv */
197 "#185", /* 185 = lfs_markv */
198 "#186", /* 186 = lfs_segclean */
199 "#187", /* 187 = lfs_segwait */
200 "old.stat", /* 188 = old stat */
201 "old.fstat", /* 189 = old fstat */
202 "old.lstat", /* 190 = old lstat */
203 "pathconf", /* 191 = pathconf */
204 "fpathconf", /* 192 = fpathconf */
205 "#193", /* 193 = nosys */
206 "getrlimit", /* 194 = getrlimit */
207 "setrlimit", /* 195 = setrlimit */
208 "old.getdirentries", /* 196 = old getdirentries */
209 "mmap", /* 197 = mmap */
210 "__syscall", /* 198 = __syscall */
211 "lseek", /* 199 = lseek */
212 "truncate", /* 200 = truncate */
213 "ftruncate", /* 201 = ftruncate */
214 "__sysctl", /* 202 = __sysctl */
215 "mlock", /* 203 = mlock */
216 "munlock", /* 204 = munlock */
217 "undelete", /* 205 = undelete */
218 "futimes", /* 206 = futimes */
219 "getpgid", /* 207 = getpgid */
220 "#208", /* 208 = newreboot */
221 "poll", /* 209 = poll */
222 "lkmnosys", /* 210 = lkmnosys */
223 "lkmnosys", /* 211 = lkmnosys */
224 "lkmnosys", /* 212 = lkmnosys */
225 "lkmnosys", /* 213 = lkmnosys */
226 "lkmnosys", /* 214 = lkmnosys */
227 "lkmnosys", /* 215 = lkmnosys */
228 "lkmnosys", /* 216 = lkmnosys */
229 "lkmnosys", /* 217 = lkmnosys */
230 "lkmnosys", /* 218 = lkmnosys */
231 "lkmnosys", /* 219 = lkmnosys */
232 "__semctl", /* 220 = __semctl */
233 "semget", /* 221 = semget */
234 "semop", /* 222 = semop */
235 "#223", /* 223 = semconfig */
236 "msgctl", /* 224 = msgctl */
237 "msgget", /* 225 = msgget */
238 "msgsnd", /* 226 = msgsnd */
239 "msgrcv", /* 227 = msgrcv */
240 "shmat", /* 228 = shmat */
241 "shmctl", /* 229 = shmctl */
242 "shmdt", /* 230 = shmdt */
243 "shmget", /* 231 = shmget */
244 "clock_gettime", /* 232 = clock_gettime */
245 "clock_settime", /* 233 = clock_settime */
246 "clock_getres", /* 234 = clock_getres */
247 "#235", /* 235 = timer_create */
248 "#236", /* 236 = timer_delete */
249 "#237", /* 237 = timer_settime */
250 "#238", /* 238 = timer_gettime */
251 "#239", /* 239 = timer_getoverrun */
252 "nanosleep", /* 240 = nanosleep */
253 "#241", /* 241 = nosys */
254 "#242", /* 242 = nosys */
255 "#243", /* 243 = nosys */
256 "#244", /* 244 = nosys */
257 "#245", /* 245 = nosys */
258 "#246", /* 246 = nosys */
259 "#247", /* 247 = nosys */
260 "#248", /* 248 = nosys */
261 "#249", /* 249 = nosys */
262 "minherit", /* 250 = minherit */
263 "rfork", /* 251 = rfork */
264 "openbsd_poll", /* 252 = openbsd_poll */
265 "issetugid", /* 253 = issetugid */
266 "lchown", /* 254 = lchown */
267 "#255", /* 255 = nosys */
268 "#256", /* 256 = nosys */
269 "#257", /* 257 = nosys */
270 "#258", /* 258 = nosys */
271 "#259", /* 259 = nosys */
272 "#260", /* 260 = nosys */
273 "#261", /* 261 = nosys */
274 "#262", /* 262 = nosys */
275 "#263", /* 263 = nosys */
276 "#264", /* 264 = nosys */
277 "#265", /* 265 = nosys */
278 "#266", /* 266 = nosys */
279 "#267", /* 267 = nosys */
280 "#268", /* 268 = nosys */
281 "#269", /* 269 = nosys */
282 "#270", /* 270 = nosys */
283 "#271", /* 271 = nosys */
284 "old.getdents", /* 272 = old getdents */
285 "#273", /* 273 = nosys */
286 "lchmod", /* 274 = lchmod */
287 "netbsd_lchown", /* 275 = netbsd_lchown */
288 "lutimes", /* 276 = lutimes */
289 "netbsd_msync", /* 277 = netbsd_msync */
290 "obs_{", /* 278 = obsolete { */
291 "obs_{", /* 279 = obsolete { */
292 "obs_{", /* 280 = obsolete { */
293 "#281", /* 281 = nosys */
294 "#282", /* 282 = nosys */
295 "#283", /* 283 = nosys */
296 "#284", /* 284 = nosys */
297 "#285", /* 285 = nosys */
298 "#286", /* 286 = nosys */
299 "#287", /* 287 = nosys */
300 "#288", /* 288 = nosys */
301 "#289", /* 289 = nosys */
302 "#290", /* 290 = nosys */
303 "#291", /* 291 = nosys */
304 "#292", /* 292 = nosys */
305 "#293", /* 293 = nosys */
306 "#294", /* 294 = nosys */
307 "#295", /* 295 = nosys */
308 "#296", /* 296 = nosys */
309 "fhstatfs", /* 297 = fhstatfs */
310 "fhopen", /* 298 = fhopen */
311 "old.fhstat", /* 299 = old fhstat */
312 "modnext", /* 300 = modnext */
313 "modstat", /* 301 = modstat */
314 "modfnext", /* 302 = modfnext */
315 "modfind", /* 303 = modfind */
316 "kldload", /* 304 = kldload */
317 "kldunload", /* 305 = kldunload */
318 "kldfind", /* 306 = kldfind */
319 "kldnext", /* 307 = kldnext */
320 "kldstat", /* 308 = kldstat */
321 "kldfirstmod", /* 309 = kldfirstmod */
322 "getsid", /* 310 = getsid */
323 "setresuid", /* 311 = setresuid */
324 "setresgid", /* 312 = setresgid */
325 "obs_signanosleep", /* 313 = obsolete signanosleep */
326 "aio_return", /* 314 = aio_return */
327 "aio_suspend", /* 315 = aio_suspend */
328 "aio_cancel", /* 316 = aio_cancel */
329 "aio_error", /* 317 = aio_error */
330 "aio_read", /* 318 = aio_read */
331 "aio_write", /* 319 = aio_write */
332 "lio_listio", /* 320 = lio_listio */
333 "yield", /* 321 = yield */
334 "thr_sleep", /* 322 = thr_sleep */
335 "thr_wakeup", /* 323 = thr_wakeup */
336 "mlockall", /* 324 = mlockall */
337 "munlockall", /* 325 = munlockall */
338 "__getcwd", /* 326 = __getcwd */
339 "sched_setparam", /* 327 = sched_setparam */
340 "sched_getparam", /* 328 = sched_getparam */
341 "sched_setscheduler", /* 329 = sched_setscheduler */
342 "sched_getscheduler", /* 330 = sched_getscheduler */
343 "sched_yield", /* 331 = sched_yield */
344 "sched_get_priority_max", /* 332 = sched_get_priority_max */
345 "sched_get_priority_min", /* 333 = sched_get_priority_min */
346 "sched_rr_get_interval", /* 334 = sched_rr_get_interval */
347 "utrace", /* 335 = utrace */
348 "obs_freebsd4_sendfile", /* 336 = obsolete freebsd4_sendfile */
349 "kldsym", /* 337 = kldsym */
350 "jail", /* 338 = jail */
351 "#339", /* 339 = pioctl */
352 "sigprocmask", /* 340 = sigprocmask */
353 "sigsuspend", /* 341 = sigsuspend */
354 "sigaction", /* 342 = sigaction */
355 "sigpending", /* 343 = sigpending */
356 "sigreturn", /* 344 = sigreturn */
357 "sigtimedwait", /* 345 = sigtimedwait */
358 "sigwaitinfo", /* 346 = sigwaitinfo */
359 "__acl_get_file", /* 347 = __acl_get_file */
360 "__acl_set_file", /* 348 = __acl_set_file */
361 "__acl_get_fd", /* 349 = __acl_get_fd */
362 "__acl_set_fd", /* 350 = __acl_set_fd */
363 "__acl_delete_file", /* 351 = __acl_delete_file */
364 "__acl_delete_fd", /* 352 = __acl_delete_fd */
365 "__acl_aclcheck_file", /* 353 = __acl_aclcheck_file */
366 "__acl_aclcheck_fd", /* 354 = __acl_aclcheck_fd */
367 "extattrctl", /* 355 = extattrctl */
368 "extattr_set_file", /* 356 = extattr_set_file */
369 "extattr_get_file", /* 357 = extattr_get_file */
370 "extattr_delete_file", /* 358 = extattr_delete_file */
371 "aio_waitcomplete", /* 359 = aio_waitcomplete */
372 "getresuid", /* 360 = getresuid */
373 "getresgid", /* 361 = getresgid */
374 "kqueue", /* 362 = kqueue */
375 "kevent", /* 363 = kevent */
376 "sctp_peeloff", /* 364 = sctp_peeloff */
377 "#365", /* 365 = nosys */
378 "#366", /* 366 = nosys */
379 "#367", /* 367 = nosys */
380 "#368", /* 368 = nosys */
381 "#369", /* 369 = nosys */
382 "#370", /* 370 = nosys */
383 "#371", /* 371 = nosys */
384 "#372", /* 372 = nosys */
385 "#373", /* 373 = nosys */
386 "#374", /* 374 = nosys */
387 "#375", /* 375 = nosys */
388 "#376", /* 376 = nosys */
389 "#377", /* 377 = nosys */
390 "#378", /* 378 = nosys */
391 "#379", /* 379 = nosys */
392 "#380", /* 380 = nosys */
393 "#381", /* 381 = nosys */
394 "#382", /* 382 = nosys */
395 "#383", /* 383 = nosys */
396 "#384", /* 384 = nosys */
397 "#385", /* 385 = nosys */
398 "#386", /* 386 = nosys */
399 "#387", /* 387 = nosys */
400 "#388", /* 388 = nosys */
401 "#389", /* 389 = nosys */
402 "#390", /* 390 = nosys */
403 "#391", /* 391 = nosys */
404 "#392", /* 392 = nosys */
405 "sendfile", /* 393 = sendfile */
406 "#394", /* 394 = nosys */
407 "#395", /* 395 = nosys */
408 "#396", /* 396 = nosys */
409 "#397", /* 397 = nosys */
410 "#398", /* 398 = nosys */
411 "#399", /* 399 = nosys */
412 "#400", /* 400 = nosys */
413 "#401", /* 401 = nosys */
414 "#402", /* 402 = nosys */
415 "#403", /* 403 = nosys */
416 "#404", /* 404 = nosys */
417 "#405", /* 405 = nosys */
418 "#406", /* 406 = nosys */
419 "#407", /* 407 = nosys */
420 "#408", /* 408 = nosys */
421 "#409", /* 409 = nosys */
422 "#410", /* 410 = nosys */
423 "#411", /* 411 = nosys */
424 "#412", /* 412 = nosys */
425 "#413", /* 413 = nosys */
426 "#414", /* 414 = nosys */
427 "#415", /* 415 = nosys */
428 "#416", /* 416 = nosys */
429 "#417", /* 417 = nosys */
430 "#418", /* 418 = nosys */
431 "#419", /* 419 = nosys */
432 "#420", /* 420 = nosys */
433 "#421", /* 421 = nosys */
434 "#422", /* 422 = nosys */
435 "#423", /* 423 = nosys */
436 "#424", /* 424 = nosys */
437 "#425", /* 425 = nosys */
438 "#426", /* 426 = nosys */
439 "#427", /* 427 = nosys */
440 "#428", /* 428 = nosys */
441 "#429", /* 429 = nosys */
442 "#430", /* 430 = nosys */
443 "#431", /* 431 = nosys */
444 "#432", /* 432 = nosys */
445 "#433", /* 433 = nosys */
446 "#434", /* 434 = nosys */
447 "#435", /* 435 = nosys */
448 "#436", /* 436 = nosys */
449 "#437", /* 437 = nosys */
450 "#438", /* 438 = nosys */
451 "#439", /* 439 = nosys */
452 "#440", /* 440 = nosys */
453 "#441", /* 441 = nosys */
454 "#442", /* 442 = nosys */
455 "#443", /* 443 = nosys */
456 "#444", /* 444 = nosys */
457 "#445", /* 445 = nosys */
458 "#446", /* 446 = nosys */
459 "#447", /* 447 = nosys */
460 "#448", /* 448 = nosys */
461 "#449", /* 449 = nosys */
462 "varsym_set", /* 450 = varsym_set */
463 "varsym_get", /* 451 = varsym_get */
464 "varsym_list", /* 452 = varsym_list */
465 "upc_register", /* 453 = upc_register */
466 "upc_control", /* 454 = upc_control */
467 "caps_sys_service", /* 455 = caps_sys_service */
468 "caps_sys_client", /* 456 = caps_sys_client */
469 "caps_sys_close", /* 457 = caps_sys_close */
470 "caps_sys_put", /* 458 = caps_sys_put */
471 "caps_sys_reply", /* 459 = caps_sys_reply */
472 "caps_sys_get", /* 460 = caps_sys_get */
473 "caps_sys_wait", /* 461 = caps_sys_wait */
474 "caps_sys_abort", /* 462 = caps_sys_abort */
475 "caps_sys_getgen", /* 463 = caps_sys_getgen */
476 "caps_sys_setgen", /* 464 = caps_sys_setgen */
477 "exec_sys_register", /* 465 = exec_sys_register */
478 "exec_sys_unregister", /* 466 = exec_sys_unregister */
479 "sys_checkpoint", /* 467 = sys_checkpoint */
480 "mountctl", /* 468 = mountctl */
481 "umtx_sleep", /* 469 = umtx_sleep */
482 "umtx_wakeup", /* 470 = umtx_wakeup */
483 "jail_attach", /* 471 = jail_attach */
484 "sys_set_tls_area", /* 472 = sys_set_tls_area */
485 "sys_get_tls_area", /* 473 = sys_get_tls_area */
486 "closefrom", /* 474 = closefrom */
487 "stat", /* 475 = stat */
488 "fstat", /* 476 = fstat */
489 "lstat", /* 477 = lstat */
490 "fhstat", /* 478 = fhstat */
491 "getdirentries", /* 479 = getdirentries */
492 "getdents", /* 480 = getdents */
493 "usched_set", /* 481 = usched_set */