git: 86deddfacb6f - main - libsys: generate private symbol map

From: Brooks Davis <brooks_at_FreeBSD.org>
Date: Mon, 05 Feb 2024 20:38:43 UTC
The branch main has been updated by brooks:

URL: https://cgit.FreeBSD.org/src/commit/?id=86deddfacb6f66549303c1cea241a55de25fc0c2

commit 86deddfacb6f66549303c1cea241a55de25fc0c2
Author:     Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2023-11-21 18:30:00 +0000
Commit:     Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2024-02-05 20:34:56 +0000

    libsys: generate private symbol map
    
    We now export all _ and __sys_ prefixed syscalls stubs from libc and
    libsys so that libsys can replace them.
    
    Reviewed by:    kib, emaste, imp
    Pull Request:   https://github.com/freebsd/freebsd-src/pull/908
---
 lib/libsys/Makefile.sys   |   1 +
 lib/libsys/Symbol.sys.map | 621 +----------------------------------
 lib/libsys/syscalls.map   | 805 ++++++++++++++++++++++++++++++++++++++++++++++
 sys/kern/syscalls.conf    |   1 +
 4 files changed, 808 insertions(+), 620 deletions(-)

diff --git a/lib/libsys/Makefile.sys b/lib/libsys/Makefile.sys
index f7fd08f1702d..c2373b972bb1 100644
--- a/lib/libsys/Makefile.sys
+++ b/lib/libsys/Makefile.sys
@@ -122,6 +122,7 @@ SPSEUDO= ${PSEUDO:S/.o/.S/}
 
 SRCS+=	${SASM} ${SPSEUDO}
 
+SYM_MAPS+=	${LIBSYS_SRCTOP}/syscalls.map
 SYM_MAPS+=	${LIBSYS_SRCTOP}/Symbol.sys.map
 .if exists(${LIBSYS_SRCTOP}/${LIBC_ARCH}/Symbol.sys.map)
 SYM_MAPS+=	${LIBSYS_SRCTOP}/${LIBC_ARCH}/Symbol.sys.map
diff --git a/lib/libsys/Symbol.sys.map b/lib/libsys/Symbol.sys.map
index 34c5984ddde6..73a1cf297ca0 100644
--- a/lib/libsys/Symbol.sys.map
+++ b/lib/libsys/Symbol.sys.map
@@ -432,626 +432,7 @@ FBSD_1.8 {
 };
 
 FBSDprivate_1.0 {
-	/* System call stubs */
-	___acl_aclcheck_fd;
-	__sys___acl_aclcheck_fd;
-	___acl_aclcheck_file;
-	__sys___acl_aclcheck_file;
-	___acl_aclcheck_link;
-	__sys___acl_aclcheck_link;
-	___acl_delete_fd;
-	__sys___acl_delete_fd;
-	___acl_delete_file;
-	__sys___acl_delete_file;
-	___acl_delete_link;
-	__sys___acl_delete_link;
-	___acl_get_fd;
-	__sys___acl_get_fd;
-	___acl_get_file;
-	__sys___acl_get_file;
-	___acl_get_link;
-	__sys___acl_get_link;
-	___acl_set_fd;
-	__sys___acl_set_fd;
-	___acl_set_file;
-	__sys___acl_set_file;
-	___acl_set_link;
-	__sys___acl_set_link;
-	___getcwd;
-	__sys___getcwd;
-	___mac_execve;
-	__sys___mac_execve;
-	___mac_get_fd;
-	__sys___mac_get_fd;
-	___mac_get_file;
-	__sys___mac_get_file;
-	___mac_get_link;
-	__sys___mac_get_link;
-	___mac_get_pid;
-	__sys___mac_get_pid;
-	___mac_get_proc;
-	__sys___mac_get_proc;
-	___mac_set_fd;
-	__sys___mac_set_fd;
-	___mac_set_file;
-	__sys___mac_set_file;
-	___mac_set_link;
-	__sys___mac_set_link;
-	___mac_set_proc;
-	__sys___mac_set_proc;
-	___semctl;
-	__sys___semctl;
-	___setugid;
-	__sys___setugid;
-	___syscall;
-	__sys___syscall;
-	___sysctl;
-	__sys___sysctl;
-	__umtx_op;
-	__sys__umtx_op;
-	_abort2;
-	__sys_abort2;
-	_accept;
-	__sys_accept;
-	_accept4;
-	__sys_accept4;
-	_access;
-	__sys_access;
-	_acct;
-	__sys_acct;
-	_adjtime;
-	__sys_adjtime;
-	__sys_aio_cancel;
-	__sys_aio_error;
-	__sys_aio_fsync;
-	__sys_aio_read;
-	__sys_aio_readv;
-	__sys_aio_return;
-	__sys_aio_suspend;
-	__sys_aio_waitcomplete;
-	__sys_aio_write;
-	__sys_aio_writev;
-	_audit;
-	__sys_audit;
-	_auditctl;
-	__sys_auditctl;
-	_auditon;
-	__sys_auditon;
-	_bind;
-	__sys_bind;
-	_chdir;
-	__sys_chdir;
-	_chflags;
-	__sys_chflags;
-	_chmod;
-	__sys_chmod;
-	_chown;
-	__sys_chown;
-	_chroot;
-	__sys_chroot;
-	_clock_getcpuclockid2;
-	__sys_clock_getcpuclockid2;
-	_clock_getres;
-	__sys_clock_getres;
-	_clock_gettime;
-	__sys_clock_gettime;
-	__sys_clock_nanosleep;
-	_clock_settime;
-	__sys_clock_settime;
-	_close;
-	__sys_close;
-	_connect;
-	__sys_connect;
-	_cpuset;
-	__sys_cpuset;
-	_cpuset_getdomain;
-	__sys_cpuset_getdomain;
-	_cpuset_getid;
-	__sys_cpuset_getid;
-	_cpuset_setdomain;
-	__sys_cpuset_setdomain;
-	_cpuset_setid;
-	__sys_cpuset_setid;
-	_cpuset_getaffinity;
-	__sys_cpuset_getaffinity;
-	_cpuset_setaffinity;
-	__sys_cpuset_setaffinity;
-	_dup;
-	__sys_dup;
-	_dup2;
-	__sys_dup2;
-	_eaccess;
-	__sys_eaccess;
-	_execve;
-	__sys_execve;
-	_extattr_delete_fd;
-	__sys_extattr_delete_fd;
-	_extattr_delete_file;
-	__sys_extattr_delete_file;
-	_extattr_delete_link;
-	__sys_extattr_delete_link;
-	_extattr_get_fd;
-	__sys_extattr_get_fd;
-	_extattr_get_file;
-	__sys_extattr_get_file;
-	_extattr_get_link;
-	__sys_extattr_get_link;
-	_extattr_list_fd;
-	__sys_extattr_list_fd;
-	_extattr_list_file;
-	__sys_extattr_list_file;
-	_extattr_list_link;
-	__sys_extattr_list_link;
-	_extattr_set_fd;
-	__sys_extattr_set_fd;
-	_extattr_set_file;
-	__sys_extattr_set_file;
-	_extattr_set_link;
-	__sys_extattr_set_link;
-	_extattrctl;
-	__sys_extattrctl;
-	__sys_sigfastblock;
-	_fchdir;
-	__sys_fchdir;
-	_fchflags;
-	__sys_fchflags;
-	_fchmod;
-	__sys_fchmod;
-	_fchown;
-	__sys_fchown;
-	_fcntl;
-	__sys_fcntl;
-	_fhopen;
-	__sys_fhopen;
-	_fhstat;
-	__sys_fhstat;
-	_fhstatfs;
-	__sys_fhstatfs;
-	_flock;
-	__sys_flock;
-	_fork;
-	__sys_fork;
-	_fpathconf;
-	__sys_fpathconf;
-	_fstat;
-	__sys_fstat;
-	_fstatfs;
-	__sys_fstatfs;
-	_fsync;
-	__sys_fsync;
-	_fdatasync;
-	__sys_fdatasync;
-	_futimes;
-	__sys_futimes;
-	_getaudit;
-	__sys_getaudit;
-	_getaudit_addr;
-	__sys_getaudit_addr;
-	_getauid;
-	__sys_getauid;
-	_getcontext;
-	__sys_getcontext;
-	_getdirentries;
-	__sys_getdirentries;
-	_getdtablesize;
-	__sys_getdtablesize;
-	_getegid;
-	__sys_getegid;
-	_geteuid;
-	__sys_geteuid;
-	_getfh;
-	__sys_getfh;
-	_getfsstat;
-	__sys_getfsstat;
-	_getgid;
-	__sys_getgid;
-	_getgroups;
-	__sys_getgroups;
-	_getitimer;
-	__sys_getitimer;
-	_getpeername;
-	__sys_getpeername;
-	_getpgid;
-	__sys_getpgid;
-	_getpgrp;
-	__sys_getpgrp;
-	_getpid;
-	__sys_getpid;
-	_getppid;
-	__sys_getppid;
-	_getpriority;
-	__sys_getpriority;
-	_getresgid;
-	__sys_getresgid;
-	_getresuid;
-	__sys_getresuid;
-	_getrlimit;
-	__sys_getrlimit;
-	_getrusage;
-	__sys_getrusage;
-	_getsid;
-	__sys_getsid;
-	_getsockname;
-	__sys_getsockname;
-	_getsockopt;
-	__sys_getsockopt;
-	_gettimeofday;
-	__sys_gettimeofday;
-	_getuid;
-	__sys_getuid;
-	_ioctl;
-	__sys_ioctl;
-	_issetugid;
-	__sys_issetugid;
-	_jail;
-	__sys_jail;
-	_jail_attach;
-	__sys_jail_attach;
-	_kenv;
-	__sys_kenv;
-	_kevent;
-	__sys_kevent;
-	_kill;
-	__sys_kill;
-	_kldfind;
-	__sys_kldfind;
-	_kldfirstmod;
-	__sys_kldfirstmod;
-	_kldload;
-	__sys_kldload;
-	_kldnext;
-	__sys_kldnext;
-	_kldstat;
-	__sys_kldstat;
-	_kldsym;
-	__sys_kldsym;
-	_kldunload;
-	__sys_kldunload;
-	_kldunloadf;
-	__sys_kldunloadf;
-	_kmq_notify;
-	__sys_kmq_notify;
-	_kmq_open;
-	__sys_kmq_open;
-	_kmq_setattr;
-	__sys_kmq_setattr;
-	_kmq_timedreceive;
-	__sys_kmq_timedreceive;
-	_kmq_timedsend;
-	__sys_kmq_timedsend;
-	_kmq_unlink;
-	__sys_kmq_unlink;
-	_kqueue;
-	__sys_kqueue;
-	_ksem_close;
-	__sys_ksem_close;
-	_ksem_destroy;
-	__sys_ksem_destroy;
-	_ksem_getvalue;
-	__sys_ksem_getvalue;
-	_ksem_init;
-	__sys_ksem_init;
-	_ksem_open;
-	__sys_ksem_open;
-	_ksem_post;
-	__sys_ksem_post;
-	_ksem_timedwait;
-	__sys_ksem_timedwait;
-	_ksem_trywait;
-	__sys_ksem_trywait;
-	_ksem_unlink;
-	__sys_ksem_unlink;
-	_ksem_wait;
-	__sys_ksem_wait;
-	_ktrace;
-	__sys_ktrace;
-	_lchflags;
-	__sys_lchflags;
-	_lchmod;
-	__sys_lchmod;
-	_lchown;
-	__sys_lchown;
-	_lgetfh;
-	__sys_lgetfh;
-	_link;
-	__sys_link;
-	__sys_lio_listio;
-	_listen;
-	__sys_listen;
-	_lutimes;
-	__sys_lutimes;
-	_mac_syscall;
-	__sys_mac_syscall;
-	_madvise;
-	__sys_madvise;
-	_mincore;
-	__sys_mincore;
-	_minherit;
-	__sys_minherit;
-	_mkdir;
-	__sys_mkdir;
-	_mkfifo;
-	__sys_mkfifo;
-	_mknod;
-	__sys_mknod;
-	_mlock;
-	__sys_mlock;
-	_mlockall;
-	__sys_mlockall;
-	_mmap;
-	__sys_mmap;
-	_modfind;
-	__sys_modfind;
-	_modfnext;
-	__sys_modfnext;
-	_modnext;
-	__sys_modnext;
-	_modstat;
-	__sys_modstat;
-	_mount;
-	__sys_mount;
-	_mprotect;
-	__sys_mprotect;
-	_msgctl;
-	__sys_msgctl;
-	_msgget;
-	__sys_msgget;
-	_msgrcv;
-	__sys_msgrcv;
-	_msgsnd;
-	__sys_msgsnd;
-	_msgsys;
-	__sys_msgsys;
-	_msync;
-	__sys_msync;
-	_munlock;
-	__sys_munlock;
-	_munlockall;
-	__sys_munlockall;
-	_munmap;
-	__sys_munmap;
-	_nanosleep;
-	__sys_nanosleep;
-	_nfssvc;
-	__sys_nfssvc;
-	_nmount;
-	__sys_nmount;
-	_ntp_adjtime;
-	__sys_ntp_adjtime;
-	_ntp_gettime;
-	__sys_ntp_gettime;
-	_open;
-	__sys_open;
-	_openat;
-	__sys_openat;
-	_pathconf;
-	__sys_pathconf;
-	__sys_pdfork;
-	_pipe;
-	__sys_pipe;
-	_poll;
-	__sys_poll;
-	_ppoll;
-	__sys_ppoll;
-	_preadv;
-	__sys_preadv;
-	_procctl;
-	__sys_procctl;
-	_profil;
-	__sys_profil;
-	_pselect;
-	__sys_pselect;
-	_ptrace;
-	__sys_ptrace;
-	_pwritev;
-	__sys_pwritev;
-	_quotactl;
-	__sys_quotactl;
-	_read;
-	__sys_read;
-	_readlink;
-	__sys_readlink;
-	_readv;
-	__sys_readv;
-	_reboot;
-	__sys_reboot;
-	_recvfrom;
-	__sys_recvfrom;
-	_recvmsg;
-	__sys_recvmsg;
-	_rename;
-	__sys_rename;
-	_revoke;
-	__sys_revoke;
-	_rfork;
-	__sys_rfork;
-	_rmdir;
-	__sys_rmdir;
-	_rtprio;
-	__sys_rtprio;
-	_rtprio_thread;
-	__sys_rtprio_thread;
-	_sched_get_priority_max;
-	__sys_sched_get_priority_max;
-	_sched_get_priority_min;
-	__sys_sched_get_priority_min;
-	_sched_getparam;
-	__sys_sched_getparam;
-	_sched_getscheduler;
-	__sys_sched_getscheduler;
-	_sched_rr_get_interval;
-	__sys_sched_rr_get_interval;
-	_sched_setparam;
-	__sys_sched_setparam;
-	_sched_setscheduler;
-	__sys_sched_setscheduler;
-	_sched_yield;
-	__sys_sched_yield;
-	_select;
-	__sys_select;
-	_semget;
-	__sys_semget;
-	_semop;
-	__sys_semop;
-	_semsys;
-	__sys_semsys;
-	_sendfile;
-	__sys_sendfile;
-	_sendmsg;
-	__sys_sendmsg;
-	_sendto;
-	__sys_sendto;
-	_setaudit;
-	__sys_setaudit;
-	_setaudit_addr;
-	__sys_setaudit_addr;
-	_setauid;
-	__sys_setauid;
-	_setcontext;
-	__sys_setcontext;
-	_setegid;
-	__sys_setegid;
-	_seteuid;
-	__sys_seteuid;
-	_setgid;
-	__sys_setgid;
-	_setgroups;
-	__sys_setgroups;
-	_setitimer;
-	__sys_setitimer;
-	_setlogin;
-	__sys_setlogin;
-	_setpgid;
-	__sys_setpgid;
-	_setpriority;
-	__sys_setpriority;
-	_setregid;
-	__sys_setregid;
-	_setresgid;
-	__sys_setresgid;
-	_setresuid;
-	__sys_setresuid;
-	_setreuid;
-	__sys_setreuid;
-	_setrlimit;
-	__sys_setrlimit;
-	_setsid;
-	__sys_setsid;
-	_setsockopt;
-	__sys_setsockopt;
-	_settimeofday;
-	__sys_settimeofday;
-	_setuid;
-	__sys_setuid;
-	_shm_open;
-	__sys_shm_open;
-	__sys_shm_open2;
-	_shm_unlink;
-	__sys_shm_unlink;
-	_shmat;
-	__sys_shmat;
-	_shmctl;
-	__sys_shmctl;
-	_shmdt;
-	__sys_shmdt;
-	_shmget;
-	__sys_shmget;
-	_shmsys;
-	__sys_shmsys;
-	_shutdown;
-	__sys_shutdown;
-	_sigaction;
-	__sys_sigaction;
-	_sigaltstack;
-	__sys_sigaltstack;
-	_sigpending;
-	__sys_sigpending;
-	_sigprocmask;
-	__sys_sigprocmask;
-	_sigqueue;
-	__sys_sigqueue;
-	_sigreturn;
-	__sys_sigreturn;
-	_sigsuspend;
-	__sys_sigsuspend;
-	_sigtimedwait;
-	__sys_sigtimedwait;
-	_sigwait;
-	__sys_sigwait;
-	_sigwaitinfo;
-	__sys_sigwaitinfo;
-	_socket;
-	__sys_socket;
-	_socketpair;
-	__sys_socketpair;
-	_statfs;
-	__sys_statfs;
-	_swapcontext;
-	__sys_swapcontext;
-	_swapoff;
-	__sys_swapoff;
-	_swapon;
-	__sys_swapon;
-	_symlink;
-	__sys_symlink;
-	_sync;
-	__sys_sync;
-	_sysarch;
-	__sys_sysarch;
-	_syscall;
-	__sys_syscall;
-	_thr_create;
-	__sys_thr_create;
-	_thr_exit;
-	__sys_thr_exit;
-	_thr_kill;
-	__sys_thr_kill;
-	_thr_kill2;
-	__sys_thr_kill2;
-	_thr_new;
-	__sys_thr_new;
-	_thr_self;
-	__sys_thr_self;
-	_thr_set_name;
-	__sys_thr_set_name;
-	_thr_suspend;
-	__sys_thr_suspend;
-	_thr_wake;
-	__sys_thr_wake;
-	_ktimer_create;
-	__sys_ktimer_create;
-	_ktimer_delete;
-	__sys_ktimer_delete;
-	_ktimer_getoverrun;
-	__sys_ktimer_getoverrun;
-	_ktimer_gettime;
-	__sys_ktimer_gettime;
-	_ktimer_settime;
-	__sys_ktimer_settime;
-	_umask;
-	__sys_umask;
-	_undelete;
-	__sys_undelete;
-	_unlink;
-	__sys_unlink;
-	_unmount;
-	__sys_unmount;
-	_utimes;
-	__sys_utimes;
-	_utrace;
-	__sys_utrace;
-	_uuidgen;
-	__sys_uuidgen;
-	_wait4;
-	__sys_wait4;
-	_wait6;
-	__sys_wait6;
-	_write;
-	__sys_write;
-	_writev;
-	__sys_writev;
-
-	/* Things that aren't system calls (in sort(1) order) */
+	/* Add entries in sort(1) order */
 	__elf_aux_vector;
 	__libc_sigwait;
 	__libsys_interposing_slot;
diff --git a/lib/libsys/syscalls.map b/lib/libsys/syscalls.map
new file mode 100644
index 000000000000..f96647652430
--- /dev/null
+++ b/lib/libsys/syscalls.map
@@ -0,0 +1,805 @@
+/*
+ * FreeBSD system call symbols.
+ *  DO NOT EDIT-- this file is automatically @generated.
+ */
+FBSDprivate_1.0 {
+	_syscall;
+	__sys_syscall;
+	__sys_exit;
+	_fork;
+	__sys_fork;
+	_read;
+	__sys_read;
+	_write;
+	__sys_write;
+	_open;
+	__sys_open;
+	_close;
+	__sys_close;
+	_wait4;
+	__sys_wait4;
+	_link;
+	__sys_link;
+	_unlink;
+	__sys_unlink;
+	_chdir;
+	__sys_chdir;
+	_fchdir;
+	__sys_fchdir;
+	_chmod;
+	__sys_chmod;
+	_chown;
+	__sys_chown;
+	_break;
+	__sys_break;
+	_getpid;
+	__sys_getpid;
+	_mount;
+	__sys_mount;
+	_unmount;
+	__sys_unmount;
+	_setuid;
+	__sys_setuid;
+	_getuid;
+	__sys_getuid;
+	_geteuid;
+	__sys_geteuid;
+	_ptrace;
+	__sys_ptrace;
+	_recvmsg;
+	__sys_recvmsg;
+	_sendmsg;
+	__sys_sendmsg;
+	_recvfrom;
+	__sys_recvfrom;
+	_accept;
+	__sys_accept;
+	_getpeername;
+	__sys_getpeername;
+	_getsockname;
+	__sys_getsockname;
+	_access;
+	__sys_access;
+	_chflags;
+	__sys_chflags;
+	_fchflags;
+	__sys_fchflags;
+	_sync;
+	__sys_sync;
+	_kill;
+	__sys_kill;
+	_getppid;
+	__sys_getppid;
+	_dup;
+	__sys_dup;
+	_getegid;
+	__sys_getegid;
+	_profil;
+	__sys_profil;
+	_ktrace;
+	__sys_ktrace;
+	_getgid;
+	__sys_getgid;
+	__sys_getlogin;
+	_setlogin;
+	__sys_setlogin;
+	_acct;
+	__sys_acct;
+	_sigaltstack;
+	__sys_sigaltstack;
+	_ioctl;
+	__sys_ioctl;
+	_reboot;
+	__sys_reboot;
+	_revoke;
+	__sys_revoke;
+	_symlink;
+	__sys_symlink;
+	_readlink;
+	__sys_readlink;
+	_execve;
+	__sys_execve;
+	_umask;
+	__sys_umask;
+	_chroot;
+	__sys_chroot;
+	_msync;
+	__sys_msync;
+	__sys_vfork;
+	_munmap;
+	__sys_munmap;
+	_mprotect;
+	__sys_mprotect;
+	_madvise;
+	__sys_madvise;
+	_mincore;
+	__sys_mincore;
+	_getgroups;
+	__sys_getgroups;
+	_setgroups;
+	__sys_setgroups;
+	_getpgrp;
+	__sys_getpgrp;
+	_setpgid;
+	__sys_setpgid;
+	_setitimer;
+	__sys_setitimer;
+	_swapon;
+	__sys_swapon;
+	_getitimer;
+	__sys_getitimer;
+	_getdtablesize;
+	__sys_getdtablesize;
+	_dup2;
+	__sys_dup2;
+	_fcntl;
+	__sys_fcntl;
+	_select;
+	__sys_select;
+	_fsync;
+	__sys_fsync;
+	_setpriority;
+	__sys_setpriority;
+	_socket;
+	__sys_socket;
+	_connect;
+	__sys_connect;
+	_getpriority;
+	__sys_getpriority;
+	_bind;
+	__sys_bind;
+	_setsockopt;
+	__sys_setsockopt;
+	_listen;
+	__sys_listen;
+	_gettimeofday;
+	__sys_gettimeofday;
+	_getrusage;
+	__sys_getrusage;
+	_getsockopt;
+	__sys_getsockopt;
+	_readv;
+	__sys_readv;
+	_writev;
+	__sys_writev;
+	_settimeofday;
+	__sys_settimeofday;
+	_fchown;
+	__sys_fchown;
+	_fchmod;
+	__sys_fchmod;
+	_setreuid;
+	__sys_setreuid;
+	_setregid;
+	__sys_setregid;
+	_rename;
+	__sys_rename;
+	_flock;
+	__sys_flock;
+	_mkfifo;
+	__sys_mkfifo;
+	_sendto;
+	__sys_sendto;
+	_shutdown;
+	__sys_shutdown;
+	_socketpair;
+	__sys_socketpair;
+	_mkdir;
+	__sys_mkdir;
+	_rmdir;
+	__sys_rmdir;
+	_utimes;
+	__sys_utimes;
+	_adjtime;
+	__sys_adjtime;
+	_setsid;
+	__sys_setsid;
+	_quotactl;
+	__sys_quotactl;
+	_nlm_syscall;
+	__sys_nlm_syscall;
+	_nfssvc;
+	__sys_nfssvc;
+	_lgetfh;
+	__sys_lgetfh;
+	_getfh;
+	__sys_getfh;
+	_sysarch;
+	__sys_sysarch;
+	_rtprio;
+	__sys_rtprio;
+	_semsys;
+	__sys_semsys;
+	_msgsys;
+	__sys_msgsys;
+	_shmsys;
+	__sys_shmsys;
+	_setfib;
+	__sys_setfib;
+	_ntp_adjtime;
+	__sys_ntp_adjtime;
+	_setgid;
+	__sys_setgid;
+	_setegid;
+	__sys_setegid;
+	_seteuid;
+	__sys_seteuid;
+	_pathconf;
+	__sys_pathconf;
+	_fpathconf;
+	__sys_fpathconf;
+	_getrlimit;
+	__sys_getrlimit;
+	_setrlimit;
+	__sys_setrlimit;
+	___syscall;
+	__sys___syscall;
+	___sysctl;
+	__sys___sysctl;
+	_mlock;
+	__sys_mlock;
+	_munlock;
+	__sys_munlock;
+	_undelete;
+	__sys_undelete;
+	_futimes;
+	__sys_futimes;
+	_getpgid;
+	__sys_getpgid;
+	_poll;
+	__sys_poll;
+	_semget;
+	__sys_semget;
+	_semop;
+	__sys_semop;
+	_msgget;
+	__sys_msgget;
+	_msgsnd;
+	__sys_msgsnd;
+	_msgrcv;
+	__sys_msgrcv;
+	_shmat;
+	__sys_shmat;
+	_shmdt;
+	__sys_shmdt;
+	_shmget;
+	__sys_shmget;
+	_clock_gettime;
+	__sys_clock_gettime;
+	_clock_settime;
+	__sys_clock_settime;
+	_clock_getres;
+	__sys_clock_getres;
+	_ktimer_create;
+	__sys_ktimer_create;
+	_ktimer_delete;
+	__sys_ktimer_delete;
+	_ktimer_settime;
+	__sys_ktimer_settime;
+	_ktimer_gettime;
+	__sys_ktimer_gettime;
+	_ktimer_getoverrun;
+	__sys_ktimer_getoverrun;
+	_nanosleep;
+	__sys_nanosleep;
+	_ffclock_getcounter;
+	__sys_ffclock_getcounter;
+	_ffclock_setestimate;
+	__sys_ffclock_setestimate;
+	_ffclock_getestimate;
+	__sys_ffclock_getestimate;
+	_clock_nanosleep;
+	__sys_clock_nanosleep;
+	_clock_getcpuclockid2;
+	__sys_clock_getcpuclockid2;
+	_ntp_gettime;
+	__sys_ntp_gettime;
+	_minherit;
+	__sys_minherit;
+	_rfork;
+	__sys_rfork;
+	_issetugid;
+	__sys_issetugid;
+	_lchown;
+	__sys_lchown;
+	_aio_read;
+	__sys_aio_read;
+	_aio_write;
+	__sys_aio_write;
+	_lio_listio;
+	__sys_lio_listio;
+	_lchmod;
+	__sys_lchmod;
*** 500 LINES SKIPPED ***