source: trunk/include/kern_head.h@ 202

Last change on this file since 202 was 92, checked in by rainer, 18 years ago

Move fd closing more towards program start. Fix OpenBSD 4.0 compatibility for kernel check.

File size: 47.1 KB
Line 
1
2
3/* i386 sys_call_table for kernel 2.4.x
4 */
5char * callz_2p4[] = {
6 "sys_ni_syscall", /* 0 - old setup() system call*/
7 "sys_exit",
8 "sys_fork",
9 "sys_read",
10 "sys_write",
11 "sys_open", /* 5 */
12 "sys_close",
13 "sys_waitpid",
14 "sys_creat",
15 "sys_link",
16 "sys_unlink", /* 10 */
17 "sys_execve",
18 "sys_chdir",
19 "sys_time",
20 "sys_mknod",
21 "sys_chmod", /* 15 */
22 "sys_lchown16",
23 "sys_ni_syscall", /* old break syscall holder */
24 "sys_stat",
25 "sys_lseek",
26 "sys_getpid", /* 20 */
27 "sys_mount",
28 "sys_oldumount",
29 "sys_setuid16",
30 "sys_getuid16",
31 "sys_stime", /* 25 */
32 "sys_ptrace",
33 "sys_alarm",
34 "sys_fstat",
35 "sys_pause",
36 "sys_utime", /* 30 */
37 "sys_ni_syscall", /* old stty syscall holder */
38 "sys_ni_syscall", /* old gtty syscall holder */
39 "sys_access",
40 "sys_nice",
41 "sys_ni_syscall", /* 35 */ /* old ftime syscall holder */
42 "sys_sync",
43 "sys_kill",
44 "sys_rename",
45 "sys_mkdir",
46 "sys_rmdir", /* 40 */
47 "sys_dup",
48 "sys_pipe",
49 "sys_times",
50 "sys_ni_syscall", /* old prof syscall holder */
51 "sys_brk", /* 45 */
52 "sys_setgid16",
53 "sys_getgid16",
54 "sys_signal",
55 "sys_geteuid16",
56 "sys_getegid16", /* 50 */
57 "sys_acct",
58 "sys_umount", /* recycled never used phys() */
59 "sys_ni_syscall", /* old lock syscall holder */
60 "sys_ioctl",
61 "sys_fcntl", /* 55 */
62 "sys_ni_syscall", /* old mpx syscall holder */
63 "sys_setpgid",
64 "sys_ni_syscall", /* old ulimit syscall holder */
65 "sys_olduname",
66 "sys_umask", /* 60 */
67 "sys_chroot",
68 "sys_ustat",
69 "sys_dup2",
70 "sys_getppid",
71 "sys_getpgrp", /* 65 */
72 "sys_setsid",
73 "sys_sigaction",
74 "sys_sgetmask",
75 "sys_ssetmask",
76 "sys_setreuid16", /* 70 */
77 "sys_setregid16",
78 "sys_sigsuspend",
79 "sys_sigpending",
80 "sys_sethostname",
81 "sys_setrlimit", /* 75 */
82 "sys_old_getrlimit",
83 "sys_getrusage",
84 "sys_gettimeofday",
85 "sys_settimeofday",
86 "sys_getgroups16", /* 80 */
87 "sys_setgroups16",
88 "old_select",
89 "sys_symlink",
90 "sys_lstat",
91 "sys_readlink", /* 85 */
92 "sys_uselib",
93 "sys_swapon",
94 "sys_reboot",
95 "old_readdir",
96 "old_mmap", /* 90 */
97 "sys_munmap",
98 "sys_truncate",
99 "sys_ftruncate",
100 "sys_fchmod",
101 "sys_fchown16", /* 95 */
102 "sys_getpriority",
103 "sys_setpriority",
104 "sys_ni_syscall", /* old profil syscall holder */
105 "sys_statfs",
106 "sys_fstatfs", /* 100 */
107 "sys_ioperm",
108 "sys_socketcall",
109 "sys_syslog",
110 "sys_setitimer",
111 "sys_getitimer", /* 105 */
112 "sys_newstat",
113 "sys_newlstat",
114 "sys_newfstat",
115 "sys_uname",
116 "sys_iopl", /* 110 */
117 "sys_vhangup",
118 "sys_ni_syscall", /* old idle system call */
119 "sys_vm86old",
120 "sys_wait4",
121 "sys_swapoff", /* 115 */
122 "sys_sysinfo",
123 "sys_ipc",
124 "sys_fsync",
125 "sys_sigreturn",
126 "sys_clone", /* 120 */
127 "sys_setdomainname",
128 "sys_newuname",
129 "sys_modify_ldt",
130 "sys_adjtimex",
131 "sys_mprotect", /* 125 */
132 "sys_sigprocmask",
133 "sys_create_module",
134 "sys_init_module",
135 "sys_delete_module",
136 "sys_get_kernel_syms", /* 130 */
137 "sys_quotactl",
138 "sys_getpgid",
139 "sys_fchdir",
140 "sys_bdflush",
141 "sys_sysfs", /* 135 */
142 "sys_personality",
143 "sys_ni_syscall", /* for afs_syscall */
144 "sys_setfsuid16",
145 "sys_setfsgid16",
146 "sys_llseek", /* 140 */
147 "sys_getdents",
148 "sys_select",
149 "sys_flock",
150 "sys_msync",
151 "sys_readv", /* 145 */
152 "sys_writev",
153 "sys_getsid",
154 "sys_fdatasync",
155 "sys_sysctl",
156 "sys_mlock", /* 150 */
157 "sys_munlock",
158 "sys_mlockall",
159 "sys_munlockall",
160 "sys_sched_setparam",
161 "sys_sched_getparam", /* 155 */
162 "sys_sched_setscheduler",
163 "sys_sched_getscheduler",
164 "sys_sched_yield",
165 "sys_sched_get_priority_max",
166 "sys_sched_get_priority_min", /* 160 */
167 "sys_sched_rr_get_interval",
168 "sys_nanosleep",
169 "sys_mremap",
170 "sys_setresuid16",
171 "sys_getresuid16", /* 165 */
172 "sys_vm86",
173 "sys_query_module",
174 "sys_poll",
175 "sys_nfsservctl",
176 "sys_setresgid16", /* 170 */
177 "sys_getresgid16",
178 "sys_prctl",
179 "sys_rt_sigreturn",
180 "sys_rt_sigaction",
181 "sys_rt_sigprocmask", /* 175 */
182 "sys_rt_sigpending",
183 "sys_rt_sigtimedwait",
184 "sys_rt_sigqueueinfo",
185 "sys_rt_sigsuspend",
186 "sys_pread", /* 180 */
187 "sys_pwrite",
188 "sys_chown16",
189 "sys_getcwd",
190 "sys_capget",
191 "sys_capset", /* 185 */
192 "sys_sigaltstack",
193 "sys_sendfile",
194 "sys_getpmsg", /* streams1 */
195 "sys_putpmsg", /* streams2 */
196 "sys_vfork", /* 190 */
197 "sys_getrlimit",
198 "sys_mmap2",
199 "sys_truncate64",
200 "sys_ftruncate64",
201 "sys_stat64", /* 195 */
202 "sys_lstat64",
203 "sys_fstat64",
204 "sys_lchown",
205 "sys_getuid",
206 "sys_getgid", /* 200 */
207 "sys_geteuid",
208 "sys_getegid",
209 "sys_setreuid",
210 "sys_setregid",
211 "sys_getgroups", /* 205 */
212 "sys_setgroups",
213 "sys_fchown",
214 "sys_setresuid",
215 "sys_getresuid",
216 "sys_setresgid", /* 210 */
217 "sys_getresgid",
218 "sys_chown",
219 "sys_setuid",
220 "sys_setgid",
221 "sys_setfsuid", /* 215 */
222 "sys_setfsgid",
223 "sys_pivot_root",
224 "sys_mincore",
225 "sys_madvise",
226 "sys_getdents64", /* 220 */
227 "sys_fcntl64",
228 "sys_tux", /* reserved for TUX */
229 "sys_security",
230 "sys_gettid",
231 "sys_readahead", /* 225 */
232 "sys_setxattr",
233 "sys_lsetxattr",
234 "sys_fsetxattr",
235 "sys_getxattr",
236 "sys_lgetxattr", /* 230 */
237 "sys_fgetxattr",
238 "sys_listxattr",
239 "sys_llistxattr",
240 "sys_flistxattr",
241 "sys_removexattr", /* 235 */
242 "sys_lremovexattr",
243 "sys_fremovexattr",
244 "sys_tkill",
245 "sys_sendfile64",
246 "sys_futex", /* 240 */
247 "sys_sched_setaffinity",
248 "sys_sched_getaffinity",
249 "sys_set_thread_area",
250 "sys_get_thread_area",
251 "sys_io_setup", /* 245 */
252 "sys_io_destroy",
253 "sys_io_getevents",
254 "sys_io_submit",
255 "sys_io_cancel",
256 "sys_alloc_hugepages", /* 250 */
257 "sys_free_hugepages",
258 "sys_exit_group",
259 "sys_lookup_dcookie", /* 2.6 */
260 "sys_epoll_create",
261 "sys_epoll_ctl", /* 255 */
262 "sys_epoll_wait",
263 "sys_remap_file_pages",
264 "sys_set_tid_address",
265 "sys_timer_create",
266 "sys_timer_settime", /* 260 */
267 "sys_timer_gettime",
268 "sys_timer_getoverrun",
269 "sys_timer_delete",
270 "sys_clock_settime",
271 "sys_clock_gettime", /* 265 */
272 "sys_clock_getres",
273 "sys_clock_nanosleep",
274 "sys_statfs64",
275 "sys_fstatfs64",
276 "sys_tgkill", /* 270 */
277 "sys_utimes",
278 "sys_fadvise64_64",
279 "sys_vserver",
280 NULL
281};
282
283
284
285/* i386 sys_call_table for kernel 2.2.x
286 */
287char * callz_2p2[]={
288 "sys_ni_syscall", /* 0 */
289 "sys_exit",
290 "sys_fork",
291 "sys_read",
292 "sys_write",
293 "sys_open", /* 5 */
294 "sys_close",
295 "sys_waitpid",
296 "sys_creat",
297 "sys_link",
298 "sys_unlink", /* 10 */
299 "sys_execve",
300 "sys_chdir",
301 "sys_time",
302 "sys_mknod",
303 "sys_chmod", /* 15 */
304 "sys_lchown",
305 "sys_ni_syscall",
306 "sys_stat",
307 "sys_lseek",
308 "sys_getpid", /* 20 */
309 "sys_mount",
310 "sys_oldumount",
311 "sys_setuid",
312 "sys_getuid",
313 "sys_stime", /* 25 */
314 "sys_ptrace",
315 "sys_alarm",
316 "sys_fstat",
317 "sys_pause",
318 "sys_utime", /* 30 */
319 "sys_ni_syscall",
320 "sys_ni_syscall",
321 "sys_access",
322 "sys_nice",
323 "sys_ni_syscall", /* 35 */
324 "sys_sync",
325 "sys_kill",
326 "sys_rename",
327 "sys_mkdir",
328 "sys_rmdir", /* 40 */
329 "sys_dup",
330 "sys_pipe",
331 "sys_times",
332 "sys_ni_syscall",
333 "sys_brk", /* 45 */
334 "sys_setgid",
335 "sys_getgid",
336 "sys_signal",
337 "sys_geteuid",
338 "sys_getegid", /* 50 */
339 "sys_acct",
340 "sys_umount",
341 "sys_ni_syscall",
342 "sys_ioctl",
343 "sys_fcntl", /* 55 */
344 "sys_ni_syscall",
345 "sys_setpgid",
346 "sys_ni_syscall",
347 "sys_olduname",
348 "sys_umask", /* 60 */
349 "sys_chroot",
350 "sys_ustat",
351 "sys_dup2",
352 "sys_getppid",
353 "sys_getpgrp", /* 65 */
354 "sys_setsid",
355 "sys_sigaction",
356 "sys_sgetmask",
357 "sys_ssetmask",
358 "sys_setreuid", /* 70 */
359 "sys_setregid",
360 "sys_sigsuspend",
361 "sys_sigpending",
362 "sys_sethostname",
363 "sys_setrlimit", /* 75 */
364 "sys_getrlimit",
365 "sys_getrusage",
366 "sys_gettimeofday",
367 "sys_settimeofday",
368 "sys_getgroups", /* 80 */
369 "sys_setgroups",
370 "old_select",
371 "sys_symlink",
372 "sys_lstat",
373 "sys_readlink", /* 85 */
374 "sys_uselib",
375 "sys_swapon",
376 "sys_reboot",
377 "old_readdir",
378 "old_mmap", /* 90 */
379 "sys_munmap",
380 "sys_truncate",
381 "sys_ftruncate",
382 "sys_fchmod",
383 "sys_fchown", /* 95 */
384 "sys_getpriority",
385 "sys_setpriority",
386 "sys_ni_syscall",
387 "sys_statfs",
388 "sys_fstatfs", /* 100 */
389 "sys_ioperm",
390 "sys_socketcall",
391 "sys_syslog",
392 "sys_setitimer",
393 "sys_getitimer", /* 105 */
394 "sys_newstat",
395 "sys_newlstat",
396 "sys_newfstat",
397 "sys_uname",
398 "sys_iopl", /* 110 */
399 "sys_vhangup",
400 "sys_idle",
401 "sys_vm86old",
402 "sys_wait4",
403 "sys_swapoff", /* 115 */
404 "sys_sysinfo",
405 "sys_ipc",
406 "sys_fsync",
407 "sys_sigreturn",
408 "sys_clone", /* 120 */
409 "sys_setdomainname",
410 "sys_newuname",
411 "sys_modify_ldt",
412 "sys_adjtimex",
413 "sys_mprotect", /* 125 */
414 "sys_sigprocmask",
415 "sys_create_module",
416 "sys_init_module",
417 "sys_delete_module",
418 "sys_get_kernel_syms", /* 130 */
419 "sys_quotactl",
420 "sys_getpgid",
421 "sys_fchdir",
422 "sys_bdflush",
423 "sys_sysfs", /* 135 */
424 "sys_personality",
425 "sys_ni_syscall",
426 "sys_setfsuid",
427 "sys_setfsgid",
428 "sys_llseek", /* 140 */
429 "sys_getdents",
430 "sys_select",
431 "sys_flock",
432 "sys_msync",
433 "sys_readv", /* 145 */
434 "sys_writev",
435 "sys_getsid",
436 "sys_fdatasync",
437 "sys_sysctl",
438 "sys_mlock", /* 150 */
439 "sys_munlock",
440 "sys_mlockall",
441 "sys_munlockall",
442 "sys_sched_setparam",
443 "sys_sched_getparam", /* 155 */
444 "sys_sched_setscheduler",
445 "sys_sched_getscheduler",
446 "sys_sched_yield",
447 "sys_sched_get_priority_max",
448 "sys_sched_get_priority_min", /* 160 */
449 "sys_sched_rr_get_interval",
450 "sys_nanosleep",
451 "sys_mremap",
452 "sys_setresuid",
453 "sys_getresuid", /* 165 */
454 "sys_vm86",
455 "sys_query_module",
456 "sys_poll",
457 "sys_nfsservctl",
458 "sys_setresgid", /* 170 */
459 "sys_getresgid",
460 "sys_prctl",
461 "sys_rt_sigreturn",
462 "sys_rt_sigaction",
463 "sys_rt_sigprocmask", /* 175 */
464 "sys_rt_sigpending",
465 "sys_rt_sigtimedwait",
466 "sys_rt_sigqueueinfo",
467 "sys_rt_sigsuspend",
468 "sys_pread", /* 180 */
469 "sys_pwrite",
470 "sys_chown",
471 "sys_getcwd",
472 "sys_capget",
473 "sys_capset", /* 185 */
474 "sys_sigaltstack",
475 "sys_sendfile",
476 "sys_ni_syscall",
477 "sys_ni_syscall",
478 "sys_vfork", /* 190 */
479 NULL
480};
481
482/* i386 sys_call_table for openbsd
483 */
484char * callz_obsd[]={
485 "_nosys", /* 0 */
486 "_sys_exit",
487 "_sys_fork",
488 "_sys_read",
489 "_sys_write",
490 "_sys_open", /* 5 */
491 "_sys_close",
492 "_sys_wait4",
493 "_compat_43_sys_creat",
494 "_sys_link",
495 "_sys_unlink", /* 10 */
496 "_sys_nosys",
497 "_sys_chdir",
498 "_sys_fchdir",
499 "_sys_mknod",
500 "_sys_chmod", /* 15 */
501 "_sys_chown",
502 "_sys_break",
503 "_nosys",
504 "_compat_43_sys_lseek",
505 "_sys_getpid", /* 20 */
506 "_sys_mount",
507 "_sys_unmount",
508 "_sys_setuid",
509 "_sys_getuid",
510 "_sys_geteuid", /* 25 */
511 "_sys_ptrace",
512 "_sys_recvmsg", /* 27 */
513 "_sys_sendmsg", /* 28 */
514 "_sys_recvfrom", /* 29 */
515 "_sys_accept", /* 30 */
516 "_sys_getpeername", /* 31 */
517 "_sys_getsockname", /* 32 */
518 "_sys_access", /* 33 */
519 "_sys_chflags", /* 34 */
520 "_sys_fchflags", /* 35 */
521 "_sys_sync", /* 36 */
522 "_sys_kill", /* 37 */
523 "_compat_43_sys_stat", /* 38 is old stat */
524 "_sys_getppid", /* 39 */
525 "_compat_43_sys_lstat", /* 40 is old lstat */
526 "_sys_dup", /* 41 */
527 "_sys_opipe", /* 42 */
528 "_sys_getegid", /* 43 */
529 "_sys_profil", /* 44 */
530 "_sys_ktrace", /* 45 */
531 "_sys_sigaction",/* 46 */
532 "_sys_getgid", /* 47 */
533 "_sys_sigprocmask",
534 "_sys_getlogin", /* 49 */
535 "_sys_setlogin", /* 50 */
536 "_sys_acct", /* 51 */
537 "_sys_sigpending",
538 "_sys_osigaltstack", /* 53 */
539 "_sys_ioctl", /* 54 */
540 "_sys_reboot", /* 55 */
541 "_sys_revoke", /* 56 */
542 "_sys_symlink", /* 57 */
543 "_sys_readlink", /* 58 */
544 "_sys_execve", /* 59 */
545 "_sys_umask", /* 60 */
546 "_sys_chroot", /* 61 */
547 "_compat_43_sys_fstat", /* 62 is old fstat */
548 "_compat_43_sys_getkerninfo", /* 63 is old ogetkerninfo */
549 "_compat_43_sys_getpagesize", /* 64 is old ogetpagesize */
550 "_nosys", /* 65 is omsync */
551 "_sys_vfork", /* 66 */
552 "_nosys", /* 67 is obsolete vread */
553 "_nosys", /* 68 is obsolete vwrite */
554 "_sys_sbrk", /* 69 */
555 "_sys_sstk", /* 70 */
556 "_compat_43_sys_mmap", /* 71 is ommap */
557 "_sys_ovadvise", /* 72 */
558 "_sys_munmap", /* 73 */
559 "_sys_mprotect", /* 74 */
560 "_sys_madvise", /* 75 */
561 "_nosys", /* 76 is obsolete vhangup */
562 "_nosys", /* 77 is obsolete vlimit */
563 "_sys_mincore", /* 78 */
564 "_sys_getgroups",/* 79 */
565 "_sys_setgroups",/* 80 */
566 "_sys_getpgrp", /* 81 */
567 "_sys_setpgid", /* 82 */
568 "_sys_setitimer",/* 83 */
569 "_compat_43_sys_wait", /* 84 is owait */
570 "_nosys", /* 85 is swapon */
571 "_sys_getitimer",/* 86 */
572 "_compat_43_sys_gethostname", /* 87 is ogethostname */
573 "_compat_43_sys_sethostname", /* 88 is osethostname */
574 "_compat_43_sys_getdtablesize", /* 89 os ogetdtablesize */
575 "_sys_dup2", /* 90 */
576 "_nosys", /* 91 is ??? */
577 "_sys_fcntl", /* 92 */
578 "_sys_select", /* 93 */
579 "_nosys", /* 94 is ??? */
580 "_sys_fsync", /* 95 */
581 "_sys_setpriority", /* 96 */
582 "_sys_socket", /* 97 */
583 "_sys_connect", /* 98 */
584 "_compat_43_sys_accept", /* 99 is oaccept */
585 "_sys_getpriority", /* 100 */
586 "_compat_43_sys_send", /* 101 is osend */
587 "_compat_43_sys_recv", /* 102 is orecv */
588 "_sys_sigreturn",
589 "_sys_bind", /* 104 */
590 "_sys_setsockopt", /* 105 */
591 "_sys_listen", /* 106 */
592 "_nosys", /* 107 is obsolete vtimes */
593 "_compat_43_sys_sigvec", /* 108 is osigvec */
594 "_compat_43_sys_sigblock", /* 109 is osigblock */
595 "_compat_43_sys_sigsetmask", /* 110 is osigsetmask */
596 "_sys_sigsuspend",
597 "_compat_43_sys_sigstack", /* 112 is osigstack */
598 "_compat_43_sys_recvmsg", /* 113 is orecvmsg */
599 "_compat_43_sys_sendmsg", /* 114 is osendmsg */
600 "_nosys", /* 115 is obsolete vtrace */
601 "_sys_gettimeofday", /* 116 */
602 "_sys_getrusage", /* 117 */
603 "_sys_getsockopt", /* 118 */
604 "_nosys", /* 119 is obsolete resuba */
605 "_sys_readv", /* 120 */
606 "_sys_writev", /* 121 */
607 "_sys_settimeofday", /* 122 */
608 "_sys_fchown", /* 123 */
609 "_sys_fchmod", /* 124 */
610 "_compat_43_sys_recvfrom", /* 125 is orecvfrom */
611 "_sys_setreuid", /* 126 */
612 "_sys_setregid", /* 127 */
613 "_sys_rename", /* 128 */
614 "_compat_43_sys_truncate", /* 129 is old truncate */
615 "_compat_43_sys_ftruncate", /* 130 is old ftruncate */
616 "_sys_flock", /* 131 */
617 "_sys_mkfifo", /* 132 */
618 "_sys_sendto", /* 133 */
619 "_sys_shutdown", /* 134 */
620 "_sys_socketpair", /* 135 */
621 "_sys_mkdir", /* 136 */
622 "_sys_rmdir", /* 137 */
623 "_sys_utimes", /* 138 */
624 "_nosys", /* 139 is obsolete 4.2 sigreturn */
625 "_sys_adjtime", /* 140 */
626 "_compat_43_sys_getpeername", /* 141 is ogetpeername */
627 "_compat_43_sys_gethostid", /* 142 is ogethostid */
628 "_compat_43_sys_sethostid", /* 143 is osethostid */
629 "_compat_43_sys_getrlimit", /* 144 is ogetrlimit */
630 "_compat_43_sys_setrlimit", /* 145 is osetrlimit */
631 "_compat_43_sys_killpg", /* 146 is okillpg */
632 "_sys_setsid", /* 147 */
633 "_sys_quotactl", /* 148 */
634 "_compat_43_sys_quota", /* 149 is oquota */
635 "_compat_43_sys_getsockname", /* 150 is ogetsockname */
636 "_nosys", /* 151 is ??? */
637 "_nosys", /* 152 is ??? */
638 "_nosys", /* 153 is ??? */
639 "_nosys", /* 154 is ??? */
640 "_sys_nfssvc", /* 155 */
641 "_compat_43_sys_getdirentries", /* 156 is ogetdirentries */
642 "_nosys", /* 157 is ostatfs */
643 "_nosys", /* 158 is ofstatfs */
644 "_nosys", /* 159 is ??? */
645 "_nosys", /* 160 is ??? */
646 "_sys_getfh", /* 161 */
647 "_nosys", /* 162 is ogetdomainname */
648 "_nosys", /* 163 is osetdomainname */
649 "_nosys", /* 164 is ouname */
650 "_sys_sysarch", /* 165 */
651 "_nosys",
652 "_nosys", /* 167 is ??? */
653 "_nosys", /* 168 is ??? */
654 "_nosys", /* 169 is compat_10 osemsys */
655 "_nosys", /* 170 is compat_10 omsgsys */
656 "_nosys", /* 171 is compat_10 oshmsys */
657 "_nosys", /* 172 is ??? */
658 "_sys_pread", /* 173 */
659 "_sys_pwrite", /* 174 */
660 "_nosys", /* 175 is ??? */
661 "_nosys", /* 176 is ??? */
662 "_nosys", /* 177 is ??? */
663 "_nosys", /* 178 is ??? */
664 "_nosys", /* 179 is ??? */
665 "_nosys", /* 180 is ??? */
666 "_sys_setgid", /* 181 */
667 "_sys_setegid", /* 182 */
668 "_sys_seteuid", /* 183 */
669 "_sys_bmapv", /* 184 */
670 "_sys_markv", /* 185 */
671 "_sys_segclean", /* 186 */
672 "_sys_segwait", /* 187 */
673 "_compat_35_sys_stat", /* 188 is compat_35 stat35 */
674 "_compat_35_sys_fstat", /* 189 is compat_35 fstat35 */
675 "_compat_35_sys_lstat", /* 190 is compat_35 lstat35 */
676 "_sys_pathconf", /* 191 */
677 "_sys_fpathconf", /* 192 */
678 "_sys_swapctl", /* 193 */
679 "_sys_getrlimit", /* 194 */
680 "_sys_setrlimit", /* 195 */
681 "_sys_getdirentries", /* 196 */
682 "_sys_mmap", /* 197 */
683 "_sys___syscall", /* 198 */
684 "_sys_lseek", /* 199 */
685 "_sys_truncate", /* 200 */
686 "_sys_ftruncate", /* 201 */
687 "_sys___sysctl", /* 202 */
688 "_sys_mlock", /* 203 */
689 "_sys_munlock", /* 204 */
690 "_sys_undelete", /* 205 */
691 "_sys_futimes", /* 206 */
692 "_sys_getpgid", /* 207 */
693 "_sys_xfspioctl", /* 208 */
694 "_nosys", /* 209 is ??? */
695 "_nosys", /* 210 is ??? */
696 "_nosys", /* 211 is ??? */
697 "_nosys", /* 212 is ??? */
698 "_nosys", /* 213 is ??? */
699 "_nosys", /* 214 is ??? */
700 "_nosys", /* 215 is ??? */
701 "_nosys", /* 216 is ??? */
702 "_nosys", /* 217 is ??? */
703 "_nosys", /* 218 is ??? */
704 "_nosys", /* 219 is ??? */
705 "_nosys", /* 220 is ??? */
706 "_sys_semget", /* 221 */
707 "_compat_35_sys_semop", /* 222 is compat_35 semop */
708 "_nosys", /* 223 is obsolete sys_semconfig */
709 "_nosys", /* 224 is compat_23 msgctl23 */
710 "_sys_msgget", /* 225 */
711 "_sys_msgsnd", /* 226 */
712 "_sys_msgrcv", /* 227 */
713 "_sys_shmat", /* 228 */
714 "_nosys", /* 229 is compat_23 shmctl23 */
715 "_sys_shmdt", /* 230 */
716 "_compat_35_sys_shmget", /* 231 is compat_35 shmget */
717 "_sys_clock_gettime", /* 232 */
718 "_sys_clock_settime", /* 233 */
719 "_sys_clock_getres", /* 234 */
720 "_nosys", /* 235 is ??? */
721 "_nosys", /* 236 is ??? */
722 "_nosys", /* 237 is ??? */
723 "_nosys", /* 238 is ??? */
724 "_nosys", /* 239 is ??? */
725 "_sys_nanosleep", /* 240 */
726 "_nosys", /* 241 is ??? */
727 "_nosys", /* 242 is ??? */
728 "_nosys", /* 243 is ??? */
729 "_nosys", /* 244 is ??? */
730 "_nosys", /* 245 is ??? */
731 "_nosys", /* 246 is ??? */
732 "_nosys", /* 247 is ??? */
733 "_nosys", /* 248 is ??? */
734 "_nosys", /* 249 is ??? */
735 "_sys_minherit", /* 250 */
736 "_sys_rfork", /* 251 */
737 "_sys_poll", /* 252 */
738 "_sys_issetugid", /* 253 */
739 "_sys_lchown", /* 254 */
740 "_sys_getsid", /* 255 */
741 "_sys_msync", /* 256 */
742 "_compat_35_sys___semctl", /* 257 is compat_35 semctl35 */
743 "_compat_35_sys_shmctl", /* 258 is is compat_35 shmctl35 */
744 "_compat_35_sys_msgctl", /* 259 is is compat_35 msgctl35 */
745 "_sys_getfsstat", /* 260 */
746 "_sys_statfs", /* 261 */
747 "_sys_fstatfs", /* 262 */
748 "_sys_pipe", /* 263 */
749 "_sys_fhopen", /* 264 */
750 "_compat_35_sys_fhstat", /* 265 is compat_35 fhstat */
751 "_sys_fhstatfs", /* 266 */
752 "_sys_preadv", /* 267 */
753 "_sys_pwritev", /* 268 */
754 "_sys_kqueue", /* 269 */
755 "_sys_kevent", /* 270 */
756 "_sys_mlockall", /* 271 */
757 "_sys_munlockall", /* 272 */
758 "_sys_getpeereid", /* 273 */
759 "_nosys", /* 274 */
760 "_nosys", /* 275 */
761 "_nosys", /* 276 */
762 "_nosys", /* 277 */
763 "_nosys", /* 278 */
764 "_nosys", /* 279 */
765 "_nosys", /* 280 */
766 "_sys_getresuid", /* 281 */
767 "_sys_setresuid", /* 282 */
768 "_sys_getresgid", /* 283 */
769 "_sys_setresgid", /* 284 */
770 "_nosys", /* 285 is ??? */
771 "_sys_mquery", /* 286 */
772 "_sys_closefrom", /* 287 */
773 "_sys_sigaltstack", /* 288 */
774 "_sys_shmget", /* 289 */
775 "_sys_semop", /* 290 */
776 "_sys_stat", /* 291 */
777 "_sys_fstat", /* 292 */
778 "_sys_lstat", /* 293 */
779 "_sys_fhstat", /* 294 */
780 "_sys___semctl", /* 295 */
781 "_sys_shmctl", /* 296 */
782 "_sys_msgctl", /* 297 */
783 "_sys_sched_yield", /* 298 */
784 "_sys_getthrid", /* 299 */
785 "_sys_thrsleep", /* 300 */
786 "_sys_thrwakeup", /* 301 */
787 "_sys_threxit", /* 302 */
788 "_sys_thrsigdivert", /* 303 */
789 "_sys___getcwd", /* 304 */
790 NULL
791};
792
793
794
795/* i386 sys_call_table for freebsd
796 */
797char * callz_fbsd[]={
798 "_syscall", /* 0 */
799 "sys_exit", /* 1 */
800 "_fork", /* 2 */
801 "_read", /* 3 */
802 "_write", /* 4 */
803 "_open", /* 5 */
804 "_close", /* 6 */
805 "_wait4", /* 7 */
806 "_nosys", /* 8 is old creat */
807 "_link", /* 9 */
808 "_unlink", /* 10 */
809 "_nosys", /* 11 is obsolete execv */
810 "_chdir", /* 12 */
811 "_fchdir", /* 13 */
812 "_mknod", /* 14 */
813 "_chmod", /* 15 */
814 "_chown", /* 16 */
815 "_break", /* 17 */
816 "_getfsstat",/* 18 */
817 "_nosys", /* 19 is old lseek */
818 "_getpid", /* 20 */
819 "_mount", /* 21 */
820 "_unmount", /* 22 */
821 "_setuid", /* 23 */
822 "_getuid", /* 24 */
823 "_geteuid", /* 25 */
824 "_ptrace", /* 26 */
825 "_recvmsg", /* 27 */
826 "_sendmsg", /* 28 */
827 "_recvfrom", /* 29 */
828 "_accept", /* 30 */
829 "_getpeername", /* 31 */
830 "_getsockname", /* 32 */
831 "_access", /* 33 */
832 "_chflags", /* 34 */
833 "_fchflags", /* 35 */
834 "_sync", /* 36 */
835 "_kill", /* 37 */
836 "_nosys", /* 38 is old stat */
837 "_getppid", /* 39 */
838 "_nosys", /* 40 is old lstat */
839 "_dup", /* 41 */
840 "_pipe", /* 42 */
841 "_getegid", /* 43 */
842 "_profil", /* 44 */
843 "_ktrace", /* 45 */
844 "_nosys", /* 46 is old sigaction */
845 "_getgid", /* 47 */
846 "_nosys", /* 48 is old sigprocmask */
847 "_getlogin", /* 49 */
848 "_setlogin", /* 50 */
849 "_acct", /* 51 */
850 "_nosys", /* 52 is old sigpending */
851 "_sigaltstack", /* 53 */
852 "_ioctl", /* 54 */
853 "_reboot", /* 55 */
854 "_revoke", /* 56 */
855 "_symlink", /* 57 */
856 "_readlink", /* 58 */
857 "_execve", /* 59 */
858 "_umask", /* 60 */
859 "_chroot", /* 61 */
860 "_nosys", /* 62 is old fstat */
861 "_nosys", /* 63 is old getkerninfo */
862 "_nosys", /* 64 is old getpagesize */
863 "_msync", /* 65 */
864 "_vfork", /* 66 */
865 "_nosys", /* 67 is obsolete vread */
866 "_nosys", /* 68 is obsolete vwrite */
867 "_sbrk", /* 69 */
868 "_sstk", /* 70 */
869 "_nosys", /* 71 is old mmap */
870 "_vadvise", /* 72 */
871 "_munmap", /* 73 */
872 "_mprotect", /* 74 */
873 "_madvise", /* 75 */
874 "_nosys", /* 76 is obsolete vhangup */
875 "_nosys", /* 77 is obsolete vlimit */
876 "_mincore", /* 78 */
877 "_getgroups",/* 79 */
878 "_setgroups",/* 80 */
879 "_getpgrp", /* 81 */
880 "_setpgid", /* 82 */
881 "_setitimer",/* 83 */
882 "_nosys", /* 84 is old wait */
883 "_swapon", /* 85 */
884 "_getitimer",/* 86 */
885 "_nosys", /* 87 is old gethostname */
886 "_nosys", /* 88 is old sethostname */
887 "_getdtablesize", /* 89 */
888 "_dup2", /* 90 */
889 "_nosys", /* 91 is ??? */
890 "_fcntl", /* 92 */
891 "_select", /* 93 */
892 "_nosys", /* 94 is ??? */
893 "_fsync", /* 95 */
894 "_setpriority", /* 96 */
895 "_socket", /* 97 */
896 "_connect", /* 98 */
897 "_nosys", /* 99 is old accept */
898 "_getpriority", /* 100 */
899 "_nosys", /* 101 is old send */
900 "_nosys", /* 102 is old recv */
901 "_nosys", /* 103 is old sigreturn */
902 "_bind", /* 104 */
903 "_setsockopt", /* 105 */
904 "_listen", /* 106 */
905 "_nosys", /* 107 is obsolete vtimes */
906 "_nosys", /* 108 is old sigvec */
907 "_nosys", /* 109 is old sigblock */
908 "_nosys", /* 110 is old sigsetmask */
909 "_nosys", /* 111 is old sigsuspend */
910 "_nosys", /* 112 is old sigstack */
911 "_nosys", /* 113 is old recvmsg */
912 "_nosys", /* 114 is old sendmsg */
913 "_nosys", /* 115 is obsolete vtrace */
914 "_gettimeofday", /* 116 */
915 "_getrusage", /* 117 */
916 "_getsockopt", /* 118 */
917 "_nosys", /* 119 is ??? */
918 "_readv", /* 120 */
919 "_writev", /* 121 */
920 "_settimeofday", /* 122 */
921 "_fchown", /* 123 */
922 "_fchmod", /* 124 */
923 "_nosys", /* 125 is old recvfrom */
924 "_setreuid", /* 126 */
925 "_setregid", /* 127 */
926 "_rename", /* 128 */
927 "_nosys", /* 129 is old truncate */
928 "_nosys", /* 130 is old ftruncate */
929 "_flock", /* 131 */
930 "_mkfifo", /* 132 */
931 "_sendto", /* 133 */
932 "_shutdown", /* 134 */
933 "_socketpair", /* 135 */
934 "_mkdir", /* 136 */
935 "_rmdir", /* 137 */
936 "_utimes", /* 138 */
937 "_nosys", /* 139 is obsolete 4.2 sigreturn */
938 "_adjtime", /* 140 */
939 "_nosys", /* 141 is old getpeername */
940 "_nosys", /* 142 is old gethostid */
941 "_nosys", /* 143 is old sethostid */
942 "_nosys", /* 144 is old getrlimit */
943 "_nosys", /* 145 is old setrlimit */
944 "_nosys", /* 146 is old killpg */
945 "_setsid", /* 147 */
946 "_quotactl", /* 148 */
947 "_nosys", /* 149 is old quota */
948 "_nosys", /* 150 is old getsockname */
949 "_nosys", /* 151 is ??? */
950 "_nosys", /* 152 is ??? */
951 "_nosys", /* 153 is ??? */
952 "_nosys", /* 154 is ??? */
953 "_nfssvc", /* 155 */
954 "_nosys", /* 156 is old getdirentries */
955 "_statfs", /* 157 */
956 "_fstatfs", /* 158 */
957 "_nosys", /* 159 is ??? */
958 "_nosys", /* 160 is ??? */
959 "_getfh", /* 161 */
960 "_getdomainname", /* 162 */
961 "_setdomainname", /* 163 */
962 "_uname", /* 164 */
963 "_sysarch", /* 165 */
964 "_rtprio", /* 166 */
965 "_nosys", /* 167 is ??? */
966 "_nosys", /* 168 is ??? */
967 "_semsys", /* 169 */
968 "_msgsys", /* 170 */
969 "_shmsys", /* 171 */
970 "_nosys", /* 172 is ??? */
971 "_pread", /* 173 */
972 "_pwrite", /* 174 */
973 "_nosys", /* 175 is ??? */
974 "_ntp_adjtime", /* 176 */
975 "_nosys", /* 177 is ??? */
976 "_nosys", /* 178 is ??? */
977 "_nosys", /* 179 is ??? */
978 "_nosys", /* 180 is ??? */
979 "_setgid", /* 181 */
980 "_setegid", /* 182 */
981 "_seteuid", /* 183 */
982 "_nosys", /* 184 is ??? */
983 "_nosys", /* 185 is ??? */
984 "_nosys", /* 186 is ??? */
985 "_nosys", /* 187 is ??? */
986 "_stat", /* 188 */
987 "_fstat", /* 189 */
988 "_lstat", /* 190 */
989 "_pathconf", /* 191 */
990 "_fpathconf", /* 192 */
991 "_nosys", /* 193 is ??? */
992 "_getrlimit", /* 194 */
993 "_setrlimit", /* 195 */
994 "_getdirentries", /* 196 */
995 "_mmap", /* 197 */
996 "___syscall", /* 198 */
997 "_lseek", /* 199 */
998 "_truncate", /* 200 */
999 "_ftruncate", /* 201 */
1000 "___sysctl", /* 202 */
1001 "_mlock", /* 203 */
1002 "_munlock", /* 204 */
1003 "_undelete", /* 205 */
1004 "_futimes", /* 206 */
1005 "_getpgid", /* 207 */
1006 "_nosys", /* 208 is ??? */
1007 "_poll", /* 209 */
1008 "_nosys", /* 210 is ??? */
1009 "_nosys", /* 211 is ??? */
1010 "_nosys", /* 212 is ??? */
1011 "_nosys", /* 213 is ??? */
1012 "_nosys", /* 214 is ??? */
1013 "_nosys", /* 215 is ??? */
1014 "_nosys", /* 216 is ??? */
1015 "_nosys", /* 217 is ??? */
1016 "_nosys", /* 218 is ??? */
1017 "_nosys", /* 219 is ??? */
1018 "___semctl", /* 220 */
1019 "_semget", /* 221 */
1020 "_semop", /* 222 */
1021 "_nosys", /* 223 is ??? */
1022 "_msgctl", /* 224 */
1023 "_msgget", /* 225 */
1024 "_msgsnd", /* 226 */
1025 "_msgrcv", /* 227 */
1026 "_shmat", /* 228 */
1027 "_shmctl", /* 229 */
1028 "_shmdt", /* 230 */
1029 "_shmget", /* 231 */
1030 "_clock_gettime", /* 232 */
1031 "_clock_settime", /* 233 */
1032 "_clock_getres", /* 234 */
1033 "_nosys", /* 235 is ??? */
1034 "_nosys", /* 236 is ??? */
1035 "_nosys", /* 237 is ??? */
1036 "_nosys", /* 238 is ??? */
1037 "_nosys", /* 239 is ??? */
1038 "_nanosleep", /* 240 */
1039 "_nosys", /* 241 is ??? */
1040 "_nosys", /* 242 is ??? */
1041 "_nosys", /* 243 is ??? */
1042 "_nosys", /* 244 is ??? */
1043 "_nosys", /* 245 is ??? */
1044 "_nosys", /* 246 is ??? */
1045 "_nosys", /* 247 is ??? */
1046 "_nosys", /* 248 is ??? */
1047 "_nosys", /* 249 is ??? */
1048 "_minherit", /* 250 */
1049 "_rfork", /* 251 */
1050 "_openbsd_poll", /* 252 */
1051 "_issetugid", /* 253 */
1052 "_lchown", /* 254 */
1053 "_nosys", /* 255 is ??? */
1054 "_nosys", /* 256 is ??? */
1055 "_nosys", /* 257 is ??? */
1056 "_nosys", /* 258 is ??? */
1057 "_nosys", /* 259 is ??? */
1058 "_nosys", /* 260 is ??? */
1059 "_nosys", /* 261 is ??? */
1060 "_nosys", /* 262 is ??? */
1061 "_nosys", /* 263 is ??? */
1062 "_nosys", /* 264 is ??? */
1063 "_nosys", /* 265 is ??? */
1064 "_nosys", /* 266 is ??? */
1065 "_nosys", /* 267 is ??? */
1066 "_nosys", /* 268 is ??? */
1067 "_nosys", /* 269 is ??? */
1068 "_nosys", /* 270 is ??? */
1069 "_nosys", /* 271 is ??? */
1070 "_getdents", /* 272 */
1071 "_nosys", /* 273 is ??? */
1072 "_lchmod", /* 274 */
1073 "_netbsd_lchown", /* 275 */
1074 "_lutimes", /* 276 */
1075 "_netbsd_msync", /* 277 */
1076 "_nstat", /* 278 */
1077 "_nfstat", /* 279 */
1078 "_nlstat", /* 280 */
1079 "_nosys", /* 281 is ??? */
1080 "_nosys", /* 282 is ??? */
1081 "_nosys", /* 283 is ??? */
1082 "_nosys", /* 284 is ??? */
1083 "_nosys", /* 285 is ??? */
1084 "_nosys", /* 286 is ??? */
1085 "_nosys", /* 287 is ??? */
1086 "_nosys", /* 288 is ??? */
1087 "_nosys", /* 289 is ??? */
1088 "_nosys", /* 290 is ??? */
1089 "_nosys", /* 291 is ??? */
1090 "_nosys", /* 292 is ??? */
1091 "_nosys", /* 293 is ??? */
1092 "_nosys", /* 294 is ??? */
1093 "_nosys", /* 295 is ??? */
1094 "_nosys", /* 296 is ??? */
1095 "_fhstatfs", /* 297 */
1096 "_fhopen", /* 298 */
1097 "_fhstat", /* 299 */
1098 "_modnext", /* 300 */
1099 "_modstat", /* 301 */
1100 "_modfnext", /* 302 */
1101 "_modfind", /* 303 */
1102 "_kldload", /* 304 */
1103 "_kldunload", /* 305 */
1104 "_kldfind", /* 306 */
1105 "_kldnext", /* 307 */
1106 "_kldstat", /* 308 */
1107 "_kldfirstmod", /* 309 */
1108 "_getsid", /* 310 */
1109 "_setresuid", /* 311 */
1110 "_setresgid", /* 312 */
1111 "_nosys", /* 313 is obsolete signanosleep */
1112 "_aio_return", /* 314 */
1113 "_aio_suspend", /* 315 */
1114 "_aio_cancel", /* 316 */
1115 "_aio_error", /* 317 */
1116 "_aio_read", /* 318 */
1117 "_aio_write", /* 319 */
1118 "_lio_listio", /* 320 */
1119 "_yield", /* 321 */
1120 "_thr_sleep", /* 322 */
1121 "_thr_wakeup", /* 323 */
1122 "_mlockall", /* 324 */
1123 "_munlockall", /* 325 */
1124 "___getcwd", /* 326 */
1125 "_sched_setparam", /* 327 */
1126 "_sched_getparam", /* 328 */
1127 "_sched_setscheduler", /* 329 */
1128 "_sched_getscheduler", /* 330 */
1129 "_sched_yield", /* 331 */
1130 "_sched_get_priority_max", /* 332 */
1131 "_sched_get_priority_min", /* 333 */
1132 "_sched_rr_get_interval", /* 334 */
1133 "_utrace", /* 335 */
1134 "_sendfile", /* 336 */
1135 "_kldsym", /* 337 */
1136 "_jail", /* 338 */
1137 "_nosys", /* 339 is ??? */
1138 "_sigprocmask", /* 340 */
1139 "_sigsuspend", /* 341 */
1140 "_sigaction", /* 342 */
1141 "_sigpending", /* 343 */
1142 "_sigreturn", /* 344 */
1143 "_nosys", /* 345 is ??? */
1144 "_nosys", /* 346 is ??? */
1145 "___acl_get_file", /* 347 */
1146 "___acl_set_file", /* 348 */
1147 "___acl_get_fd", /* 349 */
1148 "___acl_set_fd", /* 350 */
1149 "___acl_delete_file", /* 351 */
1150 "___acl_delete_fd", /* 352 */
1151 "___acl_aclcheck_file", /* 353 */
1152 "___acl_aclcheck_fd", /* 354 */
1153 "_extattrctl", /* 355 */
1154 "_extattr_set_file", /* 356 */
1155 "_extattr_get_file", /* 357 */
1156 "_extattr_delete_file", /* 358 */
1157 "_aio_waitcomplete", /* 359 */
1158 "_getresuid", /* 360 */
1159 "_getresgid", /* 361 */
1160 "_kqueue", /* 362 */
1161 "_kevent", /* 363 */
1162 "_nosys", /* 364 is ??? */
1163 "_nosys", /* 365 is ??? */
1164 "_nosys", /* 366 is ??? */
1165 "_nosys", /* 367 is ??? */
1166 "_nosys", /* 368 is ??? */
1167 "_nosys", /* 369 is ??? */
1168 "_nosys", /* 370 is ??? */
1169 "_nosys", /* 371 is ??? */
1170 "_nosys", /* 372 is ??? */
1171 "_nosys", /* 373 is ??? */
1172 "_nosys", /* 374 is ??? */
1173 "_nosys", /* 375 is ??? */
1174 "_nosys", /* 376 is ??? */
1175 "_nosys", /* 377 is ??? */
1176 "_nosys", /* 378 is ??? */
1177 "_nosys", /* 379 is ??? */
1178 "_nosys", /* 380 is ??? */
1179 "_nosys", /* 381 is ??? */
1180 "_nosys", /* 382 is ??? */
1181 "_nosys", /* 383 is ??? */
1182 "_nosys", /* 384 is ??? */
1183 "_nosys", /* 385 is ??? */
1184 "_nosys", /* 386 is ??? */
1185 "_nosys", /* 387 is ??? */
1186 "_nosys", /* 388 is ??? */
1187 "_nosys", /* 389 is ??? */
1188 "_nosys", /* 390 is ??? */
1189 "_nosys", /* 391 is ??? */
1190 "_nosys", /* 392 is ??? */
1191 "_sendfile", /* 393 */
1192 NULL
1193};
1194
1195/* i386 sys_call_table for freebsd
1196 */
1197char * callz_fbsd5[]={
1198 "_syscall", /* 0 */
1199 "sys_exit", /* 1 */
1200 "_fork", /* 2 */
1201 "_read", /* 3 */
1202 "_write", /* 4 */
1203 "_open", /* 5 */
1204 "_close", /* 6 */
1205 "_wait4", /* 7 */
1206 "_nosys", /* 8 is old creat */
1207 "_link", /* 9 */
1208 "_unlink", /* 10 */
1209 "_nosys", /* 11 is obsolete execv */
1210 "_chdir", /* 12 */
1211 "_fchdir", /* 13 */
1212 "_mknod", /* 14 */
1213 "_chmod", /* 15 */
1214 "_chown", /* 16 */
1215 "_break", /* 17 */
1216 "_nosys", /* 18 is old getfsstat */
1217 "_nosys", /* 19 is old lseek */
1218 "_getpid", /* 20 */
1219 "_mount", /* 21 */
1220 "_unmount", /* 22 */
1221 "_setuid", /* 23 */
1222 "_getuid", /* 24 */
1223 "_geteuid", /* 25 */
1224 "_ptrace", /* 26 */
1225 "_recvmsg", /* 27 */
1226 "_sendmsg", /* 28 */
1227 "_recvfrom", /* 29 */
1228 "_accept", /* 30 */
1229 "_getpeername", /* 31 */
1230 "_getsockname", /* 32 */
1231 "_access", /* 33 */
1232 "_chflags", /* 34 */
1233 "_fchflags", /* 35 */
1234 "_sync", /* 36 */
1235 "_kill", /* 37 */
1236 "_nosys", /* 38 is old stat */
1237 "_getppid", /* 39 */
1238 "_nosys", /* 40 is old lstat */
1239 "_dup", /* 41 */
1240 "_pipe", /* 42 */
1241 "_getegid", /* 43 */
1242 "_profil", /* 44 */
1243 "_ktrace", /* 45 */
1244 "_nosys", /* 46 is old sigaction */
1245 "_getgid", /* 47 */
1246 "_nosys", /* 48 is old sigprocmask */
1247 "_getlogin", /* 49 */
1248 "_setlogin", /* 50 */
1249 "_acct", /* 51 */
1250 "_nosys", /* 52 is old sigpending */
1251 "_sigaltstack", /* 53 */
1252 "_ioctl", /* 54 */
1253 "_reboot", /* 55 */
1254 "_revoke", /* 56 */
1255 "_symlink", /* 57 */
1256 "_readlink", /* 58 */
1257 "_execve", /* 59 */
1258 "_umask", /* 60 */
1259 "_chroot", /* 61 */
1260 "_nosys", /* 62 is old fstat */
1261 "_nosys", /* 63 is old getkerninfo */
1262 "_nosys", /* 64 is old getpagesize */
1263 "_msync", /* 65 */
1264 "_vfork", /* 66 */
1265 "_nosys", /* 67 is obsolete vread */
1266 "_nosys", /* 68 is obsolete vwrite */
1267 "_sbrk", /* 69 */
1268 "_sstk", /* 70 */
1269 "_nosys", /* 71 is old mmap */
1270 "_vadvise", /* 72 */
1271 "_munmap", /* 73 */
1272 "_mprotect", /* 74 */
1273 "_madvise", /* 75 */
1274 "_nosys", /* 76 is obsolete vhangup */
1275 "_nosys", /* 77 is obsolete vlimit */
1276 "_mincore", /* 78 */
1277 "_getgroups",/* 79 */
1278 "_setgroups",/* 80 */
1279 "_getpgrp", /* 81 */
1280 "_setpgid", /* 82 */
1281 "_setitimer",/* 83 */
1282 "_nosys", /* 84 is old wait */
1283 "_swapon", /* 85 */
1284 "_getitimer",/* 86 */
1285 "_nosys", /* 87 is old gethostname */
1286 "_nosys", /* 88 is old sethostname */
1287 "_getdtablesize", /* 89 */
1288 "_dup2", /* 90 */
1289 "_nosys", /* 91 is ??? */
1290 "_fcntl", /* 92 */
1291 "_select", /* 93 */
1292 "_nosys", /* 94 is ??? */
1293 "_fsync", /* 95 */
1294 "_setpriority", /* 96 */
1295 "_socket", /* 97 */
1296 "_connect", /* 98 */
1297 "_nosys", /* 99 is old accept */
1298 "_getpriority", /* 100 */
1299 "_nosys", /* 101 is old send */
1300 "_nosys", /* 102 is old recv */
1301 "_nosys", /* 103 is old sigreturn */
1302 "_bind", /* 104 */
1303 "_setsockopt", /* 105 */
1304 "_listen", /* 106 */
1305 "_nosys", /* 107 is obsolete vtimes */
1306 "_nosys", /* 108 is old sigvec */
1307 "_nosys", /* 109 is old sigblock */
1308 "_nosys", /* 110 is old sigsetmask */
1309 "_nosys", /* 111 is old sigsuspend */
1310 "_nosys", /* 112 is old sigstack */
1311 "_nosys", /* 113 is old recvmsg */
1312 "_nosys", /* 114 is old sendmsg */
1313 "_nosys", /* 115 is obsolete vtrace */
1314 "_gettimeofday", /* 116 */
1315 "_getrusage", /* 117 */
1316 "_getsockopt", /* 118 */
1317 "_nosys", /* 119 is ??? */
1318 "_readv", /* 120 */
1319 "_writev", /* 121 */
1320 "_settimeofday", /* 122 */
1321 "_fchown", /* 123 */
1322 "_fchmod", /* 124 */
1323 "_nosys", /* 125 is old recvfrom */
1324 "_setreuid", /* 126 */
1325 "_setregid", /* 127 */
1326 "_rename", /* 128 */
1327 "_nosys", /* 129 is old truncate */
1328 "_nosys", /* 130 is old ftruncate */
1329 "_flock", /* 131 */
1330 "_mkfifo", /* 132 */
1331 "_sendto", /* 133 */
1332 "_shutdown", /* 134 */
1333 "_socketpair", /* 135 */
1334 "_mkdir", /* 136 */
1335 "_rmdir", /* 137 */
1336 "_utimes", /* 138 */
1337 "_nosys", /* 139 is obsolete 4.2 sigreturn */
1338 "_adjtime", /* 140 */
1339 "_nosys", /* 141 is old getpeername */
1340 "_nosys", /* 142 is old gethostid */
1341 "_nosys", /* 143 is old sethostid */
1342 "_nosys", /* 144 is old getrlimit */
1343 "_nosys", /* 145 is old setrlimit */
1344 "_nosys", /* 146 is old killpg */
1345 "_setsid", /* 147 */
1346 "_quotactl", /* 148 */
1347 "_nosys", /* 149 is old quota */
1348 "_nosys", /* 150 is old getsockname */
1349 "_nosys", /* 151 is ??? */
1350 "_nosys", /* 152 is ??? */
1351 "_nosys", /* 153 is ??? */
1352 "_nosys", /* 154 is ??? */
1353 "_nfssvc", /* 155 */
1354 "_nosys", /* 156 is old getdirentries */
1355 "_nosys", /* 157 is old statfs */
1356 "_nosys", /* 158 is old fstatfs */
1357 "_nosys", /* 159 is ??? */
1358 "_lgetfh", /* 160 */
1359 "_getfh", /* 161 */
1360 "_getdomainname", /* 162 */
1361 "_setdomainname", /* 163 */
1362 "_uname", /* 164 */
1363 "_sysarch", /* 165 */
1364 "_rtprio", /* 166 */
1365 "_nosys", /* 167 is ??? */
1366 "_nosys", /* 168 is ??? */
1367 "_semsys", /* 169 */
1368 "_msgsys", /* 170 */
1369 "_shmsys", /* 171 */
1370 "_nosys", /* 172 is ??? */
1371 "_pread", /* 173 */
1372 "_pwrite", /* 174 */
1373 "_nosys", /* 175 is ??? */
1374 "_ntp_adjtime", /* 176 */
1375 "_nosys", /* 177 is ??? */
1376 "_nosys", /* 178 is ??? */
1377 "_nosys", /* 179 is ??? */
1378 "_nosys", /* 180 is ??? */
1379 "_setgid", /* 181 */
1380 "_setegid", /* 182 */
1381 "_seteuid", /* 183 */
1382 "_nosys", /* 184 is ??? */
1383 "_nosys", /* 185 is ??? */
1384 "_nosys", /* 186 is ??? */
1385 "_nosys", /* 187 is ??? */
1386 "_stat", /* 188 */
1387 "_fstat", /* 189 */
1388 "_lstat", /* 190 */
1389 "_pathconf", /* 191 */
1390 "_fpathconf", /* 192 */
1391 "_nosys", /* 193 is ??? */
1392 "_getrlimit", /* 194 */
1393 "_setrlimit", /* 195 */
1394 "_getdirentries", /* 196 */
1395 "_mmap", /* 197 */
1396 "___syscall", /* 198 */
1397 "_lseek", /* 199 */
1398 "_truncate", /* 200 */
1399 "_ftruncate", /* 201 */
1400 "___sysctl", /* 202 */
1401 "_mlock", /* 203 */
1402 "_munlock", /* 204 */
1403 "_undelete", /* 205 */
1404 "_futimes", /* 206 */
1405 "_getpgid", /* 207 */
1406 "_nosys", /* 208 is ??? */
1407 "_poll", /* 209 */
1408 "_nosys", /* 210 is ??? */
1409 "_nosys", /* 211 is ??? */
1410 "_nosys", /* 212 is ??? */
1411 "_nosys", /* 213 is ??? */
1412 "_nosys", /* 214 is ??? */
1413 "_nosys", /* 215 is ??? */
1414 "_nosys", /* 216 is ??? */
1415 "_nosys", /* 217 is ??? */
1416 "_nosys", /* 218 is ??? */
1417 "_nosys", /* 219 is ??? */
1418 "___semctl", /* 220 */
1419 "_semget", /* 221 */
1420 "_semop", /* 222 */
1421 "_nosys", /* 223 is ??? */
1422 "_msgctl", /* 224 */
1423 "_msgget", /* 225 */
1424 "_msgsnd", /* 226 */
1425 "_msgrcv", /* 227 */
1426 "_shmat", /* 228 */
1427 "_shmctl", /* 229 */
1428 "_shmdt", /* 230 */
1429 "_shmget", /* 231 */
1430 "_clock_gettime", /* 232 */
1431 "_clock_settime", /* 233 */
1432 "_clock_getres", /* 234 */
1433 "_nosys", /* 235 is ??? */
1434 "_nosys", /* 236 is ??? */
1435 "_nosys", /* 237 is ??? */
1436 "_nosys", /* 238 is ??? */
1437 "_nosys", /* 239 is ??? */
1438 "_nanosleep", /* 240 */
1439 "_nosys", /* 241 is ??? */
1440 "_nosys", /* 242 is ??? */
1441 "_nosys", /* 243 is ??? */
1442 "_nosys", /* 244 is ??? */
1443 "_nosys", /* 245 is ??? */
1444 "_nosys", /* 246 is ??? */
1445 "_nosys", /* 247 is ??? */
1446 "_nosys", /* 248 is ??? */
1447 "_nosys", /* 249 is ??? */
1448 "_minherit", /* 250 */
1449 "_rfork", /* 251 */
1450 "_openbsd_poll", /* 252 */
1451 "_issetugid", /* 253 */
1452 "_lchown", /* 254 */
1453 "_nosys", /* 255 is ??? */
1454 "_nosys", /* 256 is ??? */
1455 "_nosys", /* 257 is ??? */
1456 "_nosys", /* 258 is ??? */
1457 "_nosys", /* 259 is ??? */
1458 "_nosys", /* 260 is ??? */
1459 "_nosys", /* 261 is ??? */
1460 "_nosys", /* 262 is ??? */
1461 "_nosys", /* 263 is ??? */
1462 "_nosys", /* 264 is ??? */
1463 "_nosys", /* 265 is ??? */
1464 "_nosys", /* 266 is ??? */
1465 "_nosys", /* 267 is ??? */
1466 "_nosys", /* 268 is ??? */
1467 "_nosys", /* 269 is ??? */
1468 "_nosys", /* 270 is ??? */
1469 "_nosys", /* 271 is ??? */
1470 "_getdents", /* 272 */
1471 "_nosys", /* 273 is ??? */
1472 "_lchmod", /* 274 */
1473 "_netbsd_lchown", /* 275 */
1474 "_lutimes", /* 276 */
1475 "_netbsd_msync", /* 277 */
1476 "_nstat", /* 278 */
1477 "_nfstat", /* 279 */
1478 "_nlstat", /* 280 */
1479 "_nosys", /* 281 is ??? */
1480 "_nosys", /* 282 is ??? */
1481 "_nosys", /* 283 is ??? */
1482 "_nosys", /* 284 is ??? */
1483 "_nosys", /* 285 is ??? */
1484 "_nosys", /* 286 is ??? */
1485 "_nosys", /* 287 is ??? */
1486 "_nosys", /* 288 is ??? */
1487 "_nosys", /* 289 is ??? */
1488 "_nosys", /* 290 is ??? */
1489 "_nosys", /* 291 is ??? */
1490 "_nosys", /* 292 is ??? */
1491 "_nosys", /* 293 is ??? */
1492 "_nosys", /* 294 is ??? */
1493 "_nosys", /* 295 is ??? */
1494 "_nosys", /* 296 is ??? */
1495 "_nosys", /* 297 is old fhstatfs */
1496 "_fhopen", /* 298 */
1497 "_fhstat", /* 299 */
1498 "_modnext", /* 300 */
1499 "_modstat", /* 301 */
1500 "_modfnext", /* 302 */
1501 "_modfind", /* 303 */
1502 "_kldload", /* 304 */
1503 "_kldunload", /* 305 */
1504 "_kldfind", /* 306 */
1505 "_kldnext", /* 307 */
1506 "_kldstat", /* 308 */
1507 "_kldfirstmod", /* 309 */
1508 "_getsid", /* 310 */
1509 "_setresuid", /* 311 */
1510 "_setresgid", /* 312 */
1511 "_nosys", /* 313 is obsolete signanosleep */
1512 "_aio_return", /* 314 */
1513 "_aio_suspend", /* 315 */
1514 "_aio_cancel", /* 316 */
1515 "_aio_error", /* 317 */
1516 "_aio_read", /* 318 */
1517 "_aio_write", /* 319 */
1518 "_lio_listio", /* 320 */
1519 "_yield", /* 321 */
1520 "_thr_sleep", /* 322 */
1521 "_thr_wakeup", /* 323 */
1522 "_mlockall", /* 324 */
1523 "_munlockall", /* 325 */
1524 "___getcwd", /* 326 */
1525 "_sched_setparam", /* 327 */
1526 "_sched_getparam", /* 328 */
1527 "_sched_setscheduler", /* 329 */
1528 "_sched_getscheduler", /* 330 */
1529 "_sched_yield", /* 331 */
1530 "_sched_get_priority_max", /* 332 */
1531 "_sched_get_priority_min", /* 333 */
1532 "_sched_rr_get_interval", /* 334 */
1533 "_utrace", /* 335 */
1534 "_nosys", /* 336 is old sendfile */
1535 "_kldsym", /* 337 */
1536 "_jail", /* 338 */
1537 "_nosys", /* 339 is ??? */
1538 "_sigprocmask", /* 340 */
1539 "_sigsuspend", /* 341 */
1540 "_nosys", /* 342 is old sigaction */
1541 "_sigpending", /* 343 */
1542 "_nosys", /* 344 is old sigreturn */
1543 "_sigtimedwait", /* 345 */
1544 "_sigwaitinfo", /* 346 */
1545 "___acl_get_file", /* 347 */
1546 "___acl_set_file", /* 348 */
1547 "___acl_get_fd", /* 349 */
1548 "___acl_set_fd", /* 350 */
1549 "___acl_delete_file", /* 351 */
1550 "___acl_delete_fd", /* 352 */
1551 "___acl_aclcheck_file", /* 353 */
1552 "___acl_aclcheck_fd", /* 354 */
1553 "_extattrctl", /* 355 */
1554 "_extattr_set_file", /* 356 */
1555 "_extattr_get_file", /* 357 */
1556 "_extattr_delete_file", /* 358 */
1557 "_aio_waitcomplete", /* 359 */
1558 "_getresuid", /* 360 */
1559 "_getresgid", /* 361 */
1560 "_kqueue", /* 362 */
1561 "_kevent", /* 363 */
1562 "_nosys", /* 364 is ??? */
1563 "_nosys", /* 365 is ??? */
1564 "_nosys", /* 366 is ??? */
1565 "_nosys", /* 367 is ??? */
1566 "_nosys", /* 368 is ??? */
1567 "_nosys", /* 369 is ??? */
1568 "_nosys", /* 370 is ??? */
1569 "_extattr_set_fd", /* 371 */
1570 "_extattr_get_fd", /* 372 */
1571 "_extattr_delete_fd", /* 373 */
1572 "___setugid", /* 374 */
1573 "_nfsclnt", /* 375 */
1574 "_eaccess", /* 376 */
1575 "_nosys", /* 377 is ??? */
1576 "_nmount", /* 378 */
1577 "_kse_exit", /* 379 */
1578 "_kse_wakeup", /* 380 */
1579 "_kse_create", /* 381 */
1580 "_kse_thr_interrupt", /* 382 */
1581 "_kse_release", /* 383 */
1582 "___mac_get_proc", /* 384 */
1583 "___mac_set_proc", /* 385 */
1584 "___mac_get_fd", /* 386 */
1585 "___mac_get_file", /* 387 */
1586 "___mac_set_fd", /* 388 */
1587 "___mac_set_file", /* 389 */
1588 "_kenv", /* 390 */
1589 "_lchflags", /* 391 */
1590 "_uuidgen", /* 392 */
1591 "_sendfile", /* 393 */
1592 "_mac_syscall", /* 394 */
1593 "_getfsstat", /* 395 */
1594 "_statfs", /* 396 */
1595 "_fstatfs", /* 397 */
1596 "_fhstatfs", /* 398 */
1597 "_nosys", /* 399 */
1598 "_ksem_close", /* 400 */
1599 "_ksem_post", /* 401 */
1600 "_ksem_wait", /* 402 */
1601 "_ksem_trywait", /* 403 */
1602 "_ksem_init", /* 404 */
1603 "_ksem_open", /* 405 */
1604 "_ksem_unlink", /* 406 */
1605 "_ksem_getvalue", /* 407 */
1606 "_ksem_destroy", /* 408 */
1607 "___mac_get_pid", /* 409 */
1608 "___mac_get_link", /* 410 */
1609 "___mac_set_link", /* 411 */
1610 "_extattr_set_link", /* 412 */
1611 "_extattr_get_link", /* 413 */
1612 "_extattr_delete_link", /* 414 */
1613 "___mac_execve", /* 415 */
1614 "_sigaction", /* 416 */
1615 "_sigreturn", /* 417 */
1616 "_nosys", /* 418 */
1617 "_nosys", /* 419 */
1618 "_nosys", /* 420 */
1619 "_getcontext", /* 421 */
1620 "_setcontext", /* 422 */
1621 "_swapcontext", /* 423 */
1622 "_swapoff", /* 424 */
1623 "___acl_get_link", /* 425 */
1624 "___acl_set_link", /* 426 */
1625 "___acl_delete_link", /* 427 */
1626 "___acl_aclcheck_link", /* 428 */
1627 "_sigwait", /* 429 */
1628 "_thr_create", /* 430 */
1629 "_thr_exit", /* 431 */
1630 "_thr_self", /* 432 */
1631 "_thr_kill", /* 433 */
1632 "__umtx_lock", /* 434 */
1633 "__umtx_unlock", /* 435 */
1634 "_jail_attach", /* 436 */
1635 "_extattr_list_fd", /* 437 */
1636 "_extattr_list_file", /* 438 */
1637 "_extattr_list_link", /* 439 */
1638 "_kse_switchin", /* 440 */
1639 "_ksem_timedwait", /* 441 */
1640 "_thr_suspend", /* 442 */
1641 "_thr_wake", /* 443 */
1642 "_kldunloadf", /* 444 */
1643 NULL
1644};
1645
Note: See TracBrowser for help on using the repository browser.