source: trunk/include/kern_head.h@ 10

Last change on this file since 10 was 9, checked in by rainer, 19 years ago

Compile kernel check module in OpenBSD

File size: 46.8 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 NULL
784};
785
786
787
788/* i386 sys_call_table for freebsd
789 */
790char * callz_fbsd[]={
791 "_syscall", /* 0 */
792 "sys_exit", /* 1 */
793 "_fork", /* 2 */
794 "_read", /* 3 */
795 "_write", /* 4 */
796 "_open", /* 5 */
797 "_close", /* 6 */
798 "_wait4", /* 7 */
799 "_nosys", /* 8 is old creat */
800 "_link", /* 9 */
801 "_unlink", /* 10 */
802 "_nosys", /* 11 is obsolete execv */
803 "_chdir", /* 12 */
804 "_fchdir", /* 13 */
805 "_mknod", /* 14 */
806 "_chmod", /* 15 */
807 "_chown", /* 16 */
808 "_break", /* 17 */
809 "_getfsstat",/* 18 */
810 "_nosys", /* 19 is old lseek */
811 "_getpid", /* 20 */
812 "_mount", /* 21 */
813 "_unmount", /* 22 */
814 "_setuid", /* 23 */
815 "_getuid", /* 24 */
816 "_geteuid", /* 25 */
817 "_ptrace", /* 26 */
818 "_recvmsg", /* 27 */
819 "_sendmsg", /* 28 */
820 "_recvfrom", /* 29 */
821 "_accept", /* 30 */
822 "_getpeername", /* 31 */
823 "_getsockname", /* 32 */
824 "_access", /* 33 */
825 "_chflags", /* 34 */
826 "_fchflags", /* 35 */
827 "_sync", /* 36 */
828 "_kill", /* 37 */
829 "_nosys", /* 38 is old stat */
830 "_getppid", /* 39 */
831 "_nosys", /* 40 is old lstat */
832 "_dup", /* 41 */
833 "_pipe", /* 42 */
834 "_getegid", /* 43 */
835 "_profil", /* 44 */
836 "_ktrace", /* 45 */
837 "_nosys", /* 46 is old sigaction */
838 "_getgid", /* 47 */
839 "_nosys", /* 48 is old sigprocmask */
840 "_getlogin", /* 49 */
841 "_setlogin", /* 50 */
842 "_acct", /* 51 */
843 "_nosys", /* 52 is old sigpending */
844 "_sigaltstack", /* 53 */
845 "_ioctl", /* 54 */
846 "_reboot", /* 55 */
847 "_revoke", /* 56 */
848 "_symlink", /* 57 */
849 "_readlink", /* 58 */
850 "_execve", /* 59 */
851 "_umask", /* 60 */
852 "_chroot", /* 61 */
853 "_nosys", /* 62 is old fstat */
854 "_nosys", /* 63 is old getkerninfo */
855 "_nosys", /* 64 is old getpagesize */
856 "_msync", /* 65 */
857 "_vfork", /* 66 */
858 "_nosys", /* 67 is obsolete vread */
859 "_nosys", /* 68 is obsolete vwrite */
860 "_sbrk", /* 69 */
861 "_sstk", /* 70 */
862 "_nosys", /* 71 is old mmap */
863 "_vadvise", /* 72 */
864 "_munmap", /* 73 */
865 "_mprotect", /* 74 */
866 "_madvise", /* 75 */
867 "_nosys", /* 76 is obsolete vhangup */
868 "_nosys", /* 77 is obsolete vlimit */
869 "_mincore", /* 78 */
870 "_getgroups",/* 79 */
871 "_setgroups",/* 80 */
872 "_getpgrp", /* 81 */
873 "_setpgid", /* 82 */
874 "_setitimer",/* 83 */
875 "_nosys", /* 84 is old wait */
876 "_swapon", /* 85 */
877 "_getitimer",/* 86 */
878 "_nosys", /* 87 is old gethostname */
879 "_nosys", /* 88 is old sethostname */
880 "_getdtablesize", /* 89 */
881 "_dup2", /* 90 */
882 "_nosys", /* 91 is ??? */
883 "_fcntl", /* 92 */
884 "_select", /* 93 */
885 "_nosys", /* 94 is ??? */
886 "_fsync", /* 95 */
887 "_setpriority", /* 96 */
888 "_socket", /* 97 */
889 "_connect", /* 98 */
890 "_nosys", /* 99 is old accept */
891 "_getpriority", /* 100 */
892 "_nosys", /* 101 is old send */
893 "_nosys", /* 102 is old recv */
894 "_nosys", /* 103 is old sigreturn */
895 "_bind", /* 104 */
896 "_setsockopt", /* 105 */
897 "_listen", /* 106 */
898 "_nosys", /* 107 is obsolete vtimes */
899 "_nosys", /* 108 is old sigvec */
900 "_nosys", /* 109 is old sigblock */
901 "_nosys", /* 110 is old sigsetmask */
902 "_nosys", /* 111 is old sigsuspend */
903 "_nosys", /* 112 is old sigstack */
904 "_nosys", /* 113 is old recvmsg */
905 "_nosys", /* 114 is old sendmsg */
906 "_nosys", /* 115 is obsolete vtrace */
907 "_gettimeofday", /* 116 */
908 "_getrusage", /* 117 */
909 "_getsockopt", /* 118 */
910 "_nosys", /* 119 is ??? */
911 "_readv", /* 120 */
912 "_writev", /* 121 */
913 "_settimeofday", /* 122 */
914 "_fchown", /* 123 */
915 "_fchmod", /* 124 */
916 "_nosys", /* 125 is old recvfrom */
917 "_setreuid", /* 126 */
918 "_setregid", /* 127 */
919 "_rename", /* 128 */
920 "_nosys", /* 129 is old truncate */
921 "_nosys", /* 130 is old ftruncate */
922 "_flock", /* 131 */
923 "_mkfifo", /* 132 */
924 "_sendto", /* 133 */
925 "_shutdown", /* 134 */
926 "_socketpair", /* 135 */
927 "_mkdir", /* 136 */
928 "_rmdir", /* 137 */
929 "_utimes", /* 138 */
930 "_nosys", /* 139 is obsolete 4.2 sigreturn */
931 "_adjtime", /* 140 */
932 "_nosys", /* 141 is old getpeername */
933 "_nosys", /* 142 is old gethostid */
934 "_nosys", /* 143 is old sethostid */
935 "_nosys", /* 144 is old getrlimit */
936 "_nosys", /* 145 is old setrlimit */
937 "_nosys", /* 146 is old killpg */
938 "_setsid", /* 147 */
939 "_quotactl", /* 148 */
940 "_nosys", /* 149 is old quota */
941 "_nosys", /* 150 is old getsockname */
942 "_nosys", /* 151 is ??? */
943 "_nosys", /* 152 is ??? */
944 "_nosys", /* 153 is ??? */
945 "_nosys", /* 154 is ??? */
946 "_nfssvc", /* 155 */
947 "_nosys", /* 156 is old getdirentries */
948 "_statfs", /* 157 */
949 "_fstatfs", /* 158 */
950 "_nosys", /* 159 is ??? */
951 "_nosys", /* 160 is ??? */
952 "_getfh", /* 161 */
953 "_getdomainname", /* 162 */
954 "_setdomainname", /* 163 */
955 "_uname", /* 164 */
956 "_sysarch", /* 165 */
957 "_rtprio", /* 166 */
958 "_nosys", /* 167 is ??? */
959 "_nosys", /* 168 is ??? */
960 "_semsys", /* 169 */
961 "_msgsys", /* 170 */
962 "_shmsys", /* 171 */
963 "_nosys", /* 172 is ??? */
964 "_pread", /* 173 */
965 "_pwrite", /* 174 */
966 "_nosys", /* 175 is ??? */
967 "_ntp_adjtime", /* 176 */
968 "_nosys", /* 177 is ??? */
969 "_nosys", /* 178 is ??? */
970 "_nosys", /* 179 is ??? */
971 "_nosys", /* 180 is ??? */
972 "_setgid", /* 181 */
973 "_setegid", /* 182 */
974 "_seteuid", /* 183 */
975 "_nosys", /* 184 is ??? */
976 "_nosys", /* 185 is ??? */
977 "_nosys", /* 186 is ??? */
978 "_nosys", /* 187 is ??? */
979 "_stat", /* 188 */
980 "_fstat", /* 189 */
981 "_lstat", /* 190 */
982 "_pathconf", /* 191 */
983 "_fpathconf", /* 192 */
984 "_nosys", /* 193 is ??? */
985 "_getrlimit", /* 194 */
986 "_setrlimit", /* 195 */
987 "_getdirentries", /* 196 */
988 "_mmap", /* 197 */
989 "___syscall", /* 198 */
990 "_lseek", /* 199 */
991 "_truncate", /* 200 */
992 "_ftruncate", /* 201 */
993 "___sysctl", /* 202 */
994 "_mlock", /* 203 */
995 "_munlock", /* 204 */
996 "_undelete", /* 205 */
997 "_futimes", /* 206 */
998 "_getpgid", /* 207 */
999 "_nosys", /* 208 is ??? */
1000 "_poll", /* 209 */
1001 "_nosys", /* 210 is ??? */
1002 "_nosys", /* 211 is ??? */
1003 "_nosys", /* 212 is ??? */
1004 "_nosys", /* 213 is ??? */
1005 "_nosys", /* 214 is ??? */
1006 "_nosys", /* 215 is ??? */
1007 "_nosys", /* 216 is ??? */
1008 "_nosys", /* 217 is ??? */
1009 "_nosys", /* 218 is ??? */
1010 "_nosys", /* 219 is ??? */
1011 "___semctl", /* 220 */
1012 "_semget", /* 221 */
1013 "_semop", /* 222 */
1014 "_nosys", /* 223 is ??? */
1015 "_msgctl", /* 224 */
1016 "_msgget", /* 225 */
1017 "_msgsnd", /* 226 */
1018 "_msgrcv", /* 227 */
1019 "_shmat", /* 228 */
1020 "_shmctl", /* 229 */
1021 "_shmdt", /* 230 */
1022 "_shmget", /* 231 */
1023 "_clock_gettime", /* 232 */
1024 "_clock_settime", /* 233 */
1025 "_clock_getres", /* 234 */
1026 "_nosys", /* 235 is ??? */
1027 "_nosys", /* 236 is ??? */
1028 "_nosys", /* 237 is ??? */
1029 "_nosys", /* 238 is ??? */
1030 "_nosys", /* 239 is ??? */
1031 "_nanosleep", /* 240 */
1032 "_nosys", /* 241 is ??? */
1033 "_nosys", /* 242 is ??? */
1034 "_nosys", /* 243 is ??? */
1035 "_nosys", /* 244 is ??? */
1036 "_nosys", /* 245 is ??? */
1037 "_nosys", /* 246 is ??? */
1038 "_nosys", /* 247 is ??? */
1039 "_nosys", /* 248 is ??? */
1040 "_nosys", /* 249 is ??? */
1041 "_minherit", /* 250 */
1042 "_rfork", /* 251 */
1043 "_openbsd_poll", /* 252 */
1044 "_issetugid", /* 253 */
1045 "_lchown", /* 254 */
1046 "_nosys", /* 255 is ??? */
1047 "_nosys", /* 256 is ??? */
1048 "_nosys", /* 257 is ??? */
1049 "_nosys", /* 258 is ??? */
1050 "_nosys", /* 259 is ??? */
1051 "_nosys", /* 260 is ??? */
1052 "_nosys", /* 261 is ??? */
1053 "_nosys", /* 262 is ??? */
1054 "_nosys", /* 263 is ??? */
1055 "_nosys", /* 264 is ??? */
1056 "_nosys", /* 265 is ??? */
1057 "_nosys", /* 266 is ??? */
1058 "_nosys", /* 267 is ??? */
1059 "_nosys", /* 268 is ??? */
1060 "_nosys", /* 269 is ??? */
1061 "_nosys", /* 270 is ??? */
1062 "_nosys", /* 271 is ??? */
1063 "_getdents", /* 272 */
1064 "_nosys", /* 273 is ??? */
1065 "_lchmod", /* 274 */
1066 "_netbsd_lchown", /* 275 */
1067 "_lutimes", /* 276 */
1068 "_netbsd_msync", /* 277 */
1069 "_nstat", /* 278 */
1070 "_nfstat", /* 279 */
1071 "_nlstat", /* 280 */
1072 "_nosys", /* 281 is ??? */
1073 "_nosys", /* 282 is ??? */
1074 "_nosys", /* 283 is ??? */
1075 "_nosys", /* 284 is ??? */
1076 "_nosys", /* 285 is ??? */
1077 "_nosys", /* 286 is ??? */
1078 "_nosys", /* 287 is ??? */
1079 "_nosys", /* 288 is ??? */
1080 "_nosys", /* 289 is ??? */
1081 "_nosys", /* 290 is ??? */
1082 "_nosys", /* 291 is ??? */
1083 "_nosys", /* 292 is ??? */
1084 "_nosys", /* 293 is ??? */
1085 "_nosys", /* 294 is ??? */
1086 "_nosys", /* 295 is ??? */
1087 "_nosys", /* 296 is ??? */
1088 "_fhstatfs", /* 297 */
1089 "_fhopen", /* 298 */
1090 "_fhstat", /* 299 */
1091 "_modnext", /* 300 */
1092 "_modstat", /* 301 */
1093 "_modfnext", /* 302 */
1094 "_modfind", /* 303 */
1095 "_kldload", /* 304 */
1096 "_kldunload", /* 305 */
1097 "_kldfind", /* 306 */
1098 "_kldnext", /* 307 */
1099 "_kldstat", /* 308 */
1100 "_kldfirstmod", /* 309 */
1101 "_getsid", /* 310 */
1102 "_setresuid", /* 311 */
1103 "_setresgid", /* 312 */
1104 "_nosys", /* 313 is obsolete signanosleep */
1105 "_aio_return", /* 314 */
1106 "_aio_suspend", /* 315 */
1107 "_aio_cancel", /* 316 */
1108 "_aio_error", /* 317 */
1109 "_aio_read", /* 318 */
1110 "_aio_write", /* 319 */
1111 "_lio_listio", /* 320 */
1112 "_yield", /* 321 */
1113 "_thr_sleep", /* 322 */
1114 "_thr_wakeup", /* 323 */
1115 "_mlockall", /* 324 */
1116 "_munlockall", /* 325 */
1117 "___getcwd", /* 326 */
1118 "_sched_setparam", /* 327 */
1119 "_sched_getparam", /* 328 */
1120 "_sched_setscheduler", /* 329 */
1121 "_sched_getscheduler", /* 330 */
1122 "_sched_yield", /* 331 */
1123 "_sched_get_priority_max", /* 332 */
1124 "_sched_get_priority_min", /* 333 */
1125 "_sched_rr_get_interval", /* 334 */
1126 "_utrace", /* 335 */
1127 "_sendfile", /* 336 */
1128 "_kldsym", /* 337 */
1129 "_jail", /* 338 */
1130 "_nosys", /* 339 is ??? */
1131 "_sigprocmask", /* 340 */
1132 "_sigsuspend", /* 341 */
1133 "_sigaction", /* 342 */
1134 "_sigpending", /* 343 */
1135 "_sigreturn", /* 344 */
1136 "_nosys", /* 345 is ??? */
1137 "_nosys", /* 346 is ??? */
1138 "___acl_get_file", /* 347 */
1139 "___acl_set_file", /* 348 */
1140 "___acl_get_fd", /* 349 */
1141 "___acl_set_fd", /* 350 */
1142 "___acl_delete_file", /* 351 */
1143 "___acl_delete_fd", /* 352 */
1144 "___acl_aclcheck_file", /* 353 */
1145 "___acl_aclcheck_fd", /* 354 */
1146 "_extattrctl", /* 355 */
1147 "_extattr_set_file", /* 356 */
1148 "_extattr_get_file", /* 357 */
1149 "_extattr_delete_file", /* 358 */
1150 "_aio_waitcomplete", /* 359 */
1151 "_getresuid", /* 360 */
1152 "_getresgid", /* 361 */
1153 "_kqueue", /* 362 */
1154 "_kevent", /* 363 */
1155 "_nosys", /* 364 is ??? */
1156 "_nosys", /* 365 is ??? */
1157 "_nosys", /* 366 is ??? */
1158 "_nosys", /* 367 is ??? */
1159 "_nosys", /* 368 is ??? */
1160 "_nosys", /* 369 is ??? */
1161 "_nosys", /* 370 is ??? */
1162 "_nosys", /* 371 is ??? */
1163 "_nosys", /* 372 is ??? */
1164 "_nosys", /* 373 is ??? */
1165 "_nosys", /* 374 is ??? */
1166 "_nosys", /* 375 is ??? */
1167 "_nosys", /* 376 is ??? */
1168 "_nosys", /* 377 is ??? */
1169 "_nosys", /* 378 is ??? */
1170 "_nosys", /* 379 is ??? */
1171 "_nosys", /* 380 is ??? */
1172 "_nosys", /* 381 is ??? */
1173 "_nosys", /* 382 is ??? */
1174 "_nosys", /* 383 is ??? */
1175 "_nosys", /* 384 is ??? */
1176 "_nosys", /* 385 is ??? */
1177 "_nosys", /* 386 is ??? */
1178 "_nosys", /* 387 is ??? */
1179 "_nosys", /* 388 is ??? */
1180 "_nosys", /* 389 is ??? */
1181 "_nosys", /* 390 is ??? */
1182 "_nosys", /* 391 is ??? */
1183 "_nosys", /* 392 is ??? */
1184 "_sendfile", /* 393 */
1185 NULL
1186};
1187
1188/* i386 sys_call_table for freebsd
1189 */
1190char * callz_fbsd5[]={
1191 "_syscall", /* 0 */
1192 "sys_exit", /* 1 */
1193 "_fork", /* 2 */
1194 "_read", /* 3 */
1195 "_write", /* 4 */
1196 "_open", /* 5 */
1197 "_close", /* 6 */
1198 "_wait4", /* 7 */
1199 "_nosys", /* 8 is old creat */
1200 "_link", /* 9 */
1201 "_unlink", /* 10 */
1202 "_nosys", /* 11 is obsolete execv */
1203 "_chdir", /* 12 */
1204 "_fchdir", /* 13 */
1205 "_mknod", /* 14 */
1206 "_chmod", /* 15 */
1207 "_chown", /* 16 */
1208 "_break", /* 17 */
1209 "_nosys", /* 18 is old getfsstat */
1210 "_nosys", /* 19 is old lseek */
1211 "_getpid", /* 20 */
1212 "_mount", /* 21 */
1213 "_unmount", /* 22 */
1214 "_setuid", /* 23 */
1215 "_getuid", /* 24 */
1216 "_geteuid", /* 25 */
1217 "_ptrace", /* 26 */
1218 "_recvmsg", /* 27 */
1219 "_sendmsg", /* 28 */
1220 "_recvfrom", /* 29 */
1221 "_accept", /* 30 */
1222 "_getpeername", /* 31 */
1223 "_getsockname", /* 32 */
1224 "_access", /* 33 */
1225 "_chflags", /* 34 */
1226 "_fchflags", /* 35 */
1227 "_sync", /* 36 */
1228 "_kill", /* 37 */
1229 "_nosys", /* 38 is old stat */
1230 "_getppid", /* 39 */
1231 "_nosys", /* 40 is old lstat */
1232 "_dup", /* 41 */
1233 "_pipe", /* 42 */
1234 "_getegid", /* 43 */
1235 "_profil", /* 44 */
1236 "_ktrace", /* 45 */
1237 "_nosys", /* 46 is old sigaction */
1238 "_getgid", /* 47 */
1239 "_nosys", /* 48 is old sigprocmask */
1240 "_getlogin", /* 49 */
1241 "_setlogin", /* 50 */
1242 "_acct", /* 51 */
1243 "_nosys", /* 52 is old sigpending */
1244 "_sigaltstack", /* 53 */
1245 "_ioctl", /* 54 */
1246 "_reboot", /* 55 */
1247 "_revoke", /* 56 */
1248 "_symlink", /* 57 */
1249 "_readlink", /* 58 */
1250 "_execve", /* 59 */
1251 "_umask", /* 60 */
1252 "_chroot", /* 61 */
1253 "_nosys", /* 62 is old fstat */
1254 "_nosys", /* 63 is old getkerninfo */
1255 "_nosys", /* 64 is old getpagesize */
1256 "_msync", /* 65 */
1257 "_vfork", /* 66 */
1258 "_nosys", /* 67 is obsolete vread */
1259 "_nosys", /* 68 is obsolete vwrite */
1260 "_sbrk", /* 69 */
1261 "_sstk", /* 70 */
1262 "_nosys", /* 71 is old mmap */
1263 "_vadvise", /* 72 */
1264 "_munmap", /* 73 */
1265 "_mprotect", /* 74 */
1266 "_madvise", /* 75 */
1267 "_nosys", /* 76 is obsolete vhangup */
1268 "_nosys", /* 77 is obsolete vlimit */
1269 "_mincore", /* 78 */
1270 "_getgroups",/* 79 */
1271 "_setgroups",/* 80 */
1272 "_getpgrp", /* 81 */
1273 "_setpgid", /* 82 */
1274 "_setitimer",/* 83 */
1275 "_nosys", /* 84 is old wait */
1276 "_swapon", /* 85 */
1277 "_getitimer",/* 86 */
1278 "_nosys", /* 87 is old gethostname */
1279 "_nosys", /* 88 is old sethostname */
1280 "_getdtablesize", /* 89 */
1281 "_dup2", /* 90 */
1282 "_nosys", /* 91 is ??? */
1283 "_fcntl", /* 92 */
1284 "_select", /* 93 */
1285 "_nosys", /* 94 is ??? */
1286 "_fsync", /* 95 */
1287 "_setpriority", /* 96 */
1288 "_socket", /* 97 */
1289 "_connect", /* 98 */
1290 "_nosys", /* 99 is old accept */
1291 "_getpriority", /* 100 */
1292 "_nosys", /* 101 is old send */
1293 "_nosys", /* 102 is old recv */
1294 "_nosys", /* 103 is old sigreturn */
1295 "_bind", /* 104 */
1296 "_setsockopt", /* 105 */
1297 "_listen", /* 106 */
1298 "_nosys", /* 107 is obsolete vtimes */
1299 "_nosys", /* 108 is old sigvec */
1300 "_nosys", /* 109 is old sigblock */
1301 "_nosys", /* 110 is old sigsetmask */
1302 "_nosys", /* 111 is old sigsuspend */
1303 "_nosys", /* 112 is old sigstack */
1304 "_nosys", /* 113 is old recvmsg */
1305 "_nosys", /* 114 is old sendmsg */
1306 "_nosys", /* 115 is obsolete vtrace */
1307 "_gettimeofday", /* 116 */
1308 "_getrusage", /* 117 */
1309 "_getsockopt", /* 118 */
1310 "_nosys", /* 119 is ??? */
1311 "_readv", /* 120 */
1312 "_writev", /* 121 */
1313 "_settimeofday", /* 122 */
1314 "_fchown", /* 123 */
1315 "_fchmod", /* 124 */
1316 "_nosys", /* 125 is old recvfrom */
1317 "_setreuid", /* 126 */
1318 "_setregid", /* 127 */
1319 "_rename", /* 128 */
1320 "_nosys", /* 129 is old truncate */
1321 "_nosys", /* 130 is old ftruncate */
1322 "_flock", /* 131 */
1323 "_mkfifo", /* 132 */
1324 "_sendto", /* 133 */
1325 "_shutdown", /* 134 */
1326 "_socketpair", /* 135 */
1327 "_mkdir", /* 136 */
1328 "_rmdir", /* 137 */
1329 "_utimes", /* 138 */
1330 "_nosys", /* 139 is obsolete 4.2 sigreturn */
1331 "_adjtime", /* 140 */
1332 "_nosys", /* 141 is old getpeername */
1333 "_nosys", /* 142 is old gethostid */
1334 "_nosys", /* 143 is old sethostid */
1335 "_nosys", /* 144 is old getrlimit */
1336 "_nosys", /* 145 is old setrlimit */
1337 "_nosys", /* 146 is old killpg */
1338 "_setsid", /* 147 */
1339 "_quotactl", /* 148 */
1340 "_nosys", /* 149 is old quota */
1341 "_nosys", /* 150 is old getsockname */
1342 "_nosys", /* 151 is ??? */
1343 "_nosys", /* 152 is ??? */
1344 "_nosys", /* 153 is ??? */
1345 "_nosys", /* 154 is ??? */
1346 "_nfssvc", /* 155 */
1347 "_nosys", /* 156 is old getdirentries */
1348 "_nosys", /* 157 is old statfs */
1349 "_nosys", /* 158 is old fstatfs */
1350 "_nosys", /* 159 is ??? */
1351 "_lgetfh", /* 160 */
1352 "_getfh", /* 161 */
1353 "_getdomainname", /* 162 */
1354 "_setdomainname", /* 163 */
1355 "_uname", /* 164 */
1356 "_sysarch", /* 165 */
1357 "_rtprio", /* 166 */
1358 "_nosys", /* 167 is ??? */
1359 "_nosys", /* 168 is ??? */
1360 "_semsys", /* 169 */
1361 "_msgsys", /* 170 */
1362 "_shmsys", /* 171 */
1363 "_nosys", /* 172 is ??? */
1364 "_pread", /* 173 */
1365 "_pwrite", /* 174 */
1366 "_nosys", /* 175 is ??? */
1367 "_ntp_adjtime", /* 176 */
1368 "_nosys", /* 177 is ??? */
1369 "_nosys", /* 178 is ??? */
1370 "_nosys", /* 179 is ??? */
1371 "_nosys", /* 180 is ??? */
1372 "_setgid", /* 181 */
1373 "_setegid", /* 182 */
1374 "_seteuid", /* 183 */
1375 "_nosys", /* 184 is ??? */
1376 "_nosys", /* 185 is ??? */
1377 "_nosys", /* 186 is ??? */
1378 "_nosys", /* 187 is ??? */
1379 "_stat", /* 188 */
1380 "_fstat", /* 189 */
1381 "_lstat", /* 190 */
1382 "_pathconf", /* 191 */
1383 "_fpathconf", /* 192 */
1384 "_nosys", /* 193 is ??? */
1385 "_getrlimit", /* 194 */
1386 "_setrlimit", /* 195 */
1387 "_getdirentries", /* 196 */
1388 "_mmap", /* 197 */
1389 "___syscall", /* 198 */
1390 "_lseek", /* 199 */
1391 "_truncate", /* 200 */
1392 "_ftruncate", /* 201 */
1393 "___sysctl", /* 202 */
1394 "_mlock", /* 203 */
1395 "_munlock", /* 204 */
1396 "_undelete", /* 205 */
1397 "_futimes", /* 206 */
1398 "_getpgid", /* 207 */
1399 "_nosys", /* 208 is ??? */
1400 "_poll", /* 209 */
1401 "_nosys", /* 210 is ??? */
1402 "_nosys", /* 211 is ??? */
1403 "_nosys", /* 212 is ??? */
1404 "_nosys", /* 213 is ??? */
1405 "_nosys", /* 214 is ??? */
1406 "_nosys", /* 215 is ??? */
1407 "_nosys", /* 216 is ??? */
1408 "_nosys", /* 217 is ??? */
1409 "_nosys", /* 218 is ??? */
1410 "_nosys", /* 219 is ??? */
1411 "___semctl", /* 220 */
1412 "_semget", /* 221 */
1413 "_semop", /* 222 */
1414 "_nosys", /* 223 is ??? */
1415 "_msgctl", /* 224 */
1416 "_msgget", /* 225 */
1417 "_msgsnd", /* 226 */
1418 "_msgrcv", /* 227 */
1419 "_shmat", /* 228 */
1420 "_shmctl", /* 229 */
1421 "_shmdt", /* 230 */
1422 "_shmget", /* 231 */
1423 "_clock_gettime", /* 232 */
1424 "_clock_settime", /* 233 */
1425 "_clock_getres", /* 234 */
1426 "_nosys", /* 235 is ??? */
1427 "_nosys", /* 236 is ??? */
1428 "_nosys", /* 237 is ??? */
1429 "_nosys", /* 238 is ??? */
1430 "_nosys", /* 239 is ??? */
1431 "_nanosleep", /* 240 */
1432 "_nosys", /* 241 is ??? */
1433 "_nosys", /* 242 is ??? */
1434 "_nosys", /* 243 is ??? */
1435 "_nosys", /* 244 is ??? */
1436 "_nosys", /* 245 is ??? */
1437 "_nosys", /* 246 is ??? */
1438 "_nosys", /* 247 is ??? */
1439 "_nosys", /* 248 is ??? */
1440 "_nosys", /* 249 is ??? */
1441 "_minherit", /* 250 */
1442 "_rfork", /* 251 */
1443 "_openbsd_poll", /* 252 */
1444 "_issetugid", /* 253 */
1445 "_lchown", /* 254 */
1446 "_nosys", /* 255 is ??? */
1447 "_nosys", /* 256 is ??? */
1448 "_nosys", /* 257 is ??? */
1449 "_nosys", /* 258 is ??? */
1450 "_nosys", /* 259 is ??? */
1451 "_nosys", /* 260 is ??? */
1452 "_nosys", /* 261 is ??? */
1453 "_nosys", /* 262 is ??? */
1454 "_nosys", /* 263 is ??? */
1455 "_nosys", /* 264 is ??? */
1456 "_nosys", /* 265 is ??? */
1457 "_nosys", /* 266 is ??? */
1458 "_nosys", /* 267 is ??? */
1459 "_nosys", /* 268 is ??? */
1460 "_nosys", /* 269 is ??? */
1461 "_nosys", /* 270 is ??? */
1462 "_nosys", /* 271 is ??? */
1463 "_getdents", /* 272 */
1464 "_nosys", /* 273 is ??? */
1465 "_lchmod", /* 274 */
1466 "_netbsd_lchown", /* 275 */
1467 "_lutimes", /* 276 */
1468 "_netbsd_msync", /* 277 */
1469 "_nstat", /* 278 */
1470 "_nfstat", /* 279 */
1471 "_nlstat", /* 280 */
1472 "_nosys", /* 281 is ??? */
1473 "_nosys", /* 282 is ??? */
1474 "_nosys", /* 283 is ??? */
1475 "_nosys", /* 284 is ??? */
1476 "_nosys", /* 285 is ??? */
1477 "_nosys", /* 286 is ??? */
1478 "_nosys", /* 287 is ??? */
1479 "_nosys", /* 288 is ??? */
1480 "_nosys", /* 289 is ??? */
1481 "_nosys", /* 290 is ??? */
1482 "_nosys", /* 291 is ??? */
1483 "_nosys", /* 292 is ??? */
1484 "_nosys", /* 293 is ??? */
1485 "_nosys", /* 294 is ??? */
1486 "_nosys", /* 295 is ??? */
1487 "_nosys", /* 296 is ??? */
1488 "_nosys", /* 297 is old fhstatfs */
1489 "_fhopen", /* 298 */
1490 "_fhstat", /* 299 */
1491 "_modnext", /* 300 */
1492 "_modstat", /* 301 */
1493 "_modfnext", /* 302 */
1494 "_modfind", /* 303 */
1495 "_kldload", /* 304 */
1496 "_kldunload", /* 305 */
1497 "_kldfind", /* 306 */
1498 "_kldnext", /* 307 */
1499 "_kldstat", /* 308 */
1500 "_kldfirstmod", /* 309 */
1501 "_getsid", /* 310 */
1502 "_setresuid", /* 311 */
1503 "_setresgid", /* 312 */
1504 "_nosys", /* 313 is obsolete signanosleep */
1505 "_aio_return", /* 314 */
1506 "_aio_suspend", /* 315 */
1507 "_aio_cancel", /* 316 */
1508 "_aio_error", /* 317 */
1509 "_aio_read", /* 318 */
1510 "_aio_write", /* 319 */
1511 "_lio_listio", /* 320 */
1512 "_yield", /* 321 */
1513 "_thr_sleep", /* 322 */
1514 "_thr_wakeup", /* 323 */
1515 "_mlockall", /* 324 */
1516 "_munlockall", /* 325 */
1517 "___getcwd", /* 326 */
1518 "_sched_setparam", /* 327 */
1519 "_sched_getparam", /* 328 */
1520 "_sched_setscheduler", /* 329 */
1521 "_sched_getscheduler", /* 330 */
1522 "_sched_yield", /* 331 */
1523 "_sched_get_priority_max", /* 332 */
1524 "_sched_get_priority_min", /* 333 */
1525 "_sched_rr_get_interval", /* 334 */
1526 "_utrace", /* 335 */
1527 "_nosys", /* 336 is old sendfile */
1528 "_kldsym", /* 337 */
1529 "_jail", /* 338 */
1530 "_nosys", /* 339 is ??? */
1531 "_sigprocmask", /* 340 */
1532 "_sigsuspend", /* 341 */
1533 "_nosys", /* 342 is old sigaction */
1534 "_sigpending", /* 343 */
1535 "_nosys", /* 344 is old sigreturn */
1536 "_sigtimedwait", /* 345 */
1537 "_sigwaitinfo", /* 346 */
1538 "___acl_get_file", /* 347 */
1539 "___acl_set_file", /* 348 */
1540 "___acl_get_fd", /* 349 */
1541 "___acl_set_fd", /* 350 */
1542 "___acl_delete_file", /* 351 */
1543 "___acl_delete_fd", /* 352 */
1544 "___acl_aclcheck_file", /* 353 */
1545 "___acl_aclcheck_fd", /* 354 */
1546 "_extattrctl", /* 355 */
1547 "_extattr_set_file", /* 356 */
1548 "_extattr_get_file", /* 357 */
1549 "_extattr_delete_file", /* 358 */
1550 "_aio_waitcomplete", /* 359 */
1551 "_getresuid", /* 360 */
1552 "_getresgid", /* 361 */
1553 "_kqueue", /* 362 */
1554 "_kevent", /* 363 */
1555 "_nosys", /* 364 is ??? */
1556 "_nosys", /* 365 is ??? */
1557 "_nosys", /* 366 is ??? */
1558 "_nosys", /* 367 is ??? */
1559 "_nosys", /* 368 is ??? */
1560 "_nosys", /* 369 is ??? */
1561 "_nosys", /* 370 is ??? */
1562 "_extattr_set_fd", /* 371 */
1563 "_extattr_get_fd", /* 372 */
1564 "_extattr_delete_fd", /* 373 */
1565 "___setugid", /* 374 */
1566 "_nfsclnt", /* 375 */
1567 "_eaccess", /* 376 */
1568 "_nosys", /* 377 is ??? */
1569 "_nmount", /* 378 */
1570 "_kse_exit", /* 379 */
1571 "_kse_wakeup", /* 380 */
1572 "_kse_create", /* 381 */
1573 "_kse_thr_interrupt", /* 382 */
1574 "_kse_release", /* 383 */
1575 "___mac_get_proc", /* 384 */
1576 "___mac_set_proc", /* 385 */
1577 "___mac_get_fd", /* 386 */
1578 "___mac_get_file", /* 387 */
1579 "___mac_set_fd", /* 388 */
1580 "___mac_set_file", /* 389 */
1581 "_kenv", /* 390 */
1582 "_lchflags", /* 391 */
1583 "_uuidgen", /* 392 */
1584 "_sendfile", /* 393 */
1585 "_mac_syscall", /* 394 */
1586 "_getfsstat", /* 395 */
1587 "_statfs", /* 396 */
1588 "_fstatfs", /* 397 */
1589 "_fhstatfs", /* 398 */
1590 "_nosys", /* 399 */
1591 "_ksem_close", /* 400 */
1592 "_ksem_post", /* 401 */
1593 "_ksem_wait", /* 402 */
1594 "_ksem_trywait", /* 403 */
1595 "_ksem_init", /* 404 */
1596 "_ksem_open", /* 405 */
1597 "_ksem_unlink", /* 406 */
1598 "_ksem_getvalue", /* 407 */
1599 "_ksem_destroy", /* 408 */
1600 "___mac_get_pid", /* 409 */
1601 "___mac_get_link", /* 410 */
1602 "___mac_set_link", /* 411 */
1603 "_extattr_set_link", /* 412 */
1604 "_extattr_get_link", /* 413 */
1605 "_extattr_delete_link", /* 414 */
1606 "___mac_execve", /* 415 */
1607 "_sigaction", /* 416 */
1608 "_sigreturn", /* 417 */
1609 "_nosys", /* 418 */
1610 "_nosys", /* 419 */
1611 "_nosys", /* 420 */
1612 "_getcontext", /* 421 */
1613 "_setcontext", /* 422 */
1614 "_swapcontext", /* 423 */
1615 "_swapoff", /* 424 */
1616 "___acl_get_link", /* 425 */
1617 "___acl_set_link", /* 426 */
1618 "___acl_delete_link", /* 427 */
1619 "___acl_aclcheck_link", /* 428 */
1620 "_sigwait", /* 429 */
1621 "_thr_create", /* 430 */
1622 "_thr_exit", /* 431 */
1623 "_thr_self", /* 432 */
1624 "_thr_kill", /* 433 */
1625 "__umtx_lock", /* 434 */
1626 "__umtx_unlock", /* 435 */
1627 "_jail_attach", /* 436 */
1628 "_extattr_list_fd", /* 437 */
1629 "_extattr_list_file", /* 438 */
1630 "_extattr_list_link", /* 439 */
1631 "_kse_switchin", /* 440 */
1632 "_ksem_timedwait", /* 441 */
1633 "_thr_suspend", /* 442 */
1634 "_thr_wake", /* 443 */
1635 "_kldunloadf", /* 444 */
1636 NULL
1637};
1638
Note: See TracBrowser for help on using the repository browser.