Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Feb 2024 20:38:26 GMT
From:      Brooks Davis <brooks@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 8269e7673cf0 - main - libsys: relocate implementations and manpages
Message-ID:  <202402052038.415KcQ3K068899@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by brooks:

URL: https://cgit.FreeBSD.org/src/commit/?id=8269e7673cf033aba67dab8264fe719920c70f87

commit 8269e7673cf033aba67dab8264fe719920c70f87
Author:     Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2023-11-14 17:54:03 +0000
Commit:     Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2024-02-05 20:34:55 +0000

    libsys: relocate implementations and manpages
    
    Remove core system call implementations and documentation to lib/libsys
    and lib/libsys/<arch> from lib/libc/sys and lib/libc/<arch>/<sys>.
    Update paths to allow libc to find them in their new home.
    
    Reviewed by:    kib, emaste, imp
    Pull Request:   https://github.com/freebsd/freebsd-src/pull/908
---
 lib/libc/Makefile                                     | 2 ++
 lib/libc/powerpcspe/sys/Makefile.inc                  | 1 +
 lib/libc/sys/Makefile.inc                             | 5 +++--
 lib/{libc/sys => libsys}/POSIX2x_Fork.c               | 0
 lib/{libc/sys/Symbol.map => libsys/Symbol.sys.map}    | 0
 lib/{libc/sys => libsys}/__error.c                    | 0
 lib/{libc/sys => libsys}/__vdso_gettimeofday.c        | 0
 lib/{libc/sys => libsys}/_exit.2                      | 0
 lib/{libc/sys => libsys}/_umtx_op.2                   | 0
 lib/{libc => libsys}/aarch64/SYS.h                    | 0
 lib/{libc/aarch64/sys => libsys/aarch64}/cerror.S     | 0
 lib/{libc/aarch64/sys => libsys/aarch64}/syscall.S    | 0
 lib/{libc/aarch64/sys => libsys/aarch64}/vfork.S      | 0
 lib/{libc/sys => libsys}/abort2.2                     | 0
 lib/{libc/sys => libsys}/accept.2                     | 0
 lib/{libc/sys => libsys}/accept.c                     | 0
 lib/{libc/sys => libsys}/accept4.c                    | 0
 lib/{libc/sys => libsys}/access.2                     | 0
 lib/{libc/sys => libsys}/acct.2                       | 0
 lib/{libc/sys => libsys}/adjtime.2                    | 0
 lib/{libc/sys => libsys}/aio_cancel.2                 | 0
 lib/{libc/sys => libsys}/aio_error.2                  | 0
 lib/{libc/sys => libsys}/aio_fsync.2                  | 0
 lib/{libc/sys => libsys}/aio_mlock.2                  | 0
 lib/{libc/sys => libsys}/aio_read.2                   | 0
 lib/{libc/sys => libsys}/aio_return.2                 | 0
 lib/{libc/sys => libsys}/aio_suspend.2                | 0
 lib/{libc/sys => libsys}/aio_suspend.c                | 0
 lib/{libc/sys => libsys}/aio_waitcomplete.2           | 0
 lib/{libc/sys => libsys}/aio_write.2                  | 0
 lib/{libc => libsys}/amd64/SYS.h                      | 0
 lib/{libc/amd64/sys => libsys/amd64}/cerror.S         | 0
 lib/{libc/amd64/sys => libsys/amd64}/getcontext.S     | 0
 lib/{libc/amd64/sys => libsys/amd64}/vfork.S          | 0
 lib/{libc => libsys}/arm/SYS.h                        | 0
 lib/{libc/arm/sys => libsys/arm}/cerror.S             | 0
 lib/{libc/arm/sys => libsys/arm}/syscall.S            | 0
 lib/{libc/arm/sys => libsys/arm}/vfork.S              | 0
 lib/{libc/sys => libsys}/bind.2                       | 0
 lib/{libc/sys => libsys}/bindat.2                     | 0
 lib/{libc/sys => libsys}/brk.2                        | 0
 lib/{libc/sys => libsys}/brk.c                        | 0
 lib/{libc/sys => libsys}/cap_enter.2                  | 0
 lib/{libc/sys => libsys}/cap_fcntls_limit.2           | 0
 lib/{libc/sys => libsys}/cap_ioctls_limit.2           | 0
 lib/{libc/sys => libsys}/cap_rights_limit.2           | 0
 lib/{libc/sys => libsys}/chdir.2                      | 0
 lib/{libc/sys => libsys}/chflags.2                    | 0
 lib/{libc/sys => libsys}/chmod.2                      | 0
 lib/{libc/sys => libsys}/chown.2                      | 0
 lib/{libc/sys => libsys}/chroot.2                     | 0
 lib/{libc/sys => libsys}/clock_gettime.2              | 0
 lib/{libc/sys => libsys}/clock_gettime.c              | 0
 lib/{libc/sys => libsys}/clock_nanosleep.c            | 0
 lib/{libc/sys => libsys}/close.2                      | 0
 lib/{libc/sys => libsys}/close.c                      | 0
 lib/{libc/sys => libsys}/closefrom.2                  | 0
 lib/{libc/sys => libsys}/closefrom.c                  | 0
 lib/{libc/sys => libsys}/compat-stub.c                | 0
 lib/{libc/sys => libsys}/connect.2                    | 0
 lib/{libc/sys => libsys}/connect.c                    | 0
 lib/{libc/sys => libsys}/connectat.2                  | 0
 lib/{libc/sys => libsys}/copy_file_range.2            | 0
 lib/{libc/sys => libsys}/cpuset.2                     | 0
 lib/{libc/sys => libsys}/cpuset_getaffinity.2         | 0
 lib/{libc/sys => libsys}/cpuset_getdomain.2           | 0
 lib/{libc/sys => libsys}/dup.2                        | 0
 lib/{libc/sys => libsys}/eventfd.2                    | 0
 lib/{libc/sys => libsys}/execve.2                     | 0
 lib/{libc/sys => libsys}/extattr_get_file.2           | 0
 lib/{libc/sys => libsys}/fcntl.2                      | 0
 lib/{libc/sys => libsys}/fcntl.c                      | 0
 lib/{libc/sys => libsys}/fdatasync.c                  | 0
 lib/{libc/sys => libsys}/ffclock.2                    | 0
 lib/{libc/sys => libsys}/fhlink.2                     | 0
 lib/{libc/sys => libsys}/fhopen.2                     | 0
 lib/{libc/sys => libsys}/fhreadlink.2                 | 0
 lib/{libc/sys => libsys}/flock.2                      | 0
 lib/{libc/sys => libsys}/fork.2                       | 0
 lib/{libc/sys => libsys}/fork.c                       | 0
 lib/{libc/sys => libsys}/fspacectl.2                  | 0
 lib/{libc/sys => libsys}/fsync.2                      | 0
 lib/{libc/sys => libsys}/fsync.c                      | 0
 lib/{libc/sys => libsys}/getdents.c                   | 0
 lib/{libc/sys => libsys}/getdirentries.2              | 0
 lib/{libc/sys => libsys}/getdtablesize.2              | 0
 lib/{libc/sys => libsys}/getfh.2                      | 0
 lib/{libc/sys => libsys}/getfsstat.2                  | 0
 lib/{libc/sys => libsys}/getgid.2                     | 0
 lib/{libc/sys => libsys}/getgroups.2                  | 0
 lib/{libc/sys => libsys}/getitimer.2                  | 0
 lib/{libc/sys => libsys}/getlogin.2                   | 0
 lib/{libc/sys => libsys}/getloginclass.2              | 0
 lib/{libc/sys => libsys}/getpeername.2                | 0
 lib/{libc/sys => libsys}/getpgrp.2                    | 0
 lib/{libc/sys => libsys}/getpid.2                     | 0
 lib/{libc/sys => libsys}/getpriority.2                | 0
 lib/{libc/sys => libsys}/getrandom.2                  | 0
 lib/{libc/sys => libsys}/getrlimit.2                  | 0
 lib/{libc/sys => libsys}/getrusage.2                  | 0
 lib/{libc/sys => libsys}/getsid.2                     | 0
 lib/{libc/sys => libsys}/getsockname.2                | 0
 lib/{libc/sys => libsys}/getsockopt.2                 | 0
 lib/{libc/sys => libsys}/gettimeofday.2               | 0
 lib/{libc/sys => libsys}/gettimeofday.c               | 0
 lib/{libc/sys => libsys}/getuid.2                     | 0
 lib/{libc => libsys}/i386/SYS.h                       | 0
 lib/{libc/i386/sys => libsys/i386}/cerror.S           | 0
 lib/{libc/i386/sys => libsys/i386}/getcontext.S       | 0
 lib/{libc/i386/sys => libsys/i386}/syscall.S          | 0
 lib/{libc/i386/sys => libsys/i386}/vfork.S            | 0
 lib/{libc/sys => libsys}/interposing_table.c          | 0
 lib/{libc/sys => libsys}/intro.2                      | 0
 lib/{libc/sys => libsys}/ioctl.2                      | 0
 lib/{libc/sys => libsys}/issetugid.2                  | 0
 lib/{libc/sys => libsys}/jail.2                       | 0
 lib/{libc/sys => libsys}/kcmp.2                       | 0
 lib/{libc/sys => libsys}/kenv.2                       | 0
 lib/{libc/sys => libsys}/kevent.c                     | 0
 lib/{libc/sys => libsys}/kill.2                       | 0
 lib/{libc/sys => libsys}/kldfind.2                    | 0
 lib/{libc/sys => libsys}/kldfirstmod.2                | 0
 lib/{libc/sys => libsys}/kldload.2                    | 0
 lib/{libc/sys => libsys}/kldnext.2                    | 0
 lib/{libc/sys => libsys}/kldstat.2                    | 0
 lib/{libc/sys => libsys}/kldsym.2                     | 0
 lib/{libc/sys => libsys}/kldunload.2                  | 0
 lib/{libc/sys => libsys}/kqueue.2                     | 0
 lib/{libc/sys => libsys}/ktrace.2                     | 0
 lib/{libc/sys => libsys}/link.2                       | 0
 lib/{libc/sys => libsys}/lio_listio.2                 | 0
 lib/{libc/sys => libsys}/listen.2                     | 0
 lib/{libc/sys => libsys}/lseek.2                      | 0
 lib/{libc/sys => libsys}/lstat.c                      | 0
 lib/{libc/sys => libsys}/madvise.2                    | 0
 lib/{libc/sys => libsys}/mincore.2                    | 0
 lib/{libc/sys => libsys}/minherit.2                   | 0
 lib/{libc/sys => libsys}/mkdir.2                      | 0
 lib/{libc/sys => libsys}/mkfifo.2                     | 0
 lib/{libc/sys => libsys}/mknod.2                      | 0
 lib/{libc/sys => libsys}/mknod.c                      | 0
 lib/{libc/sys => libsys}/mlock.2                      | 0
 lib/{libc/sys => libsys}/mlockall.2                   | 0
 lib/{libc/sys => libsys}/mmap.2                       | 0
 lib/{libc/sys => libsys}/modfind.2                    | 0
 lib/{libc/sys => libsys}/modnext.2                    | 0
 lib/{libc/sys => libsys}/modstat.2                    | 0
 lib/{libc/sys => libsys}/mount.2                      | 0
 lib/{libc/sys => libsys}/mprotect.2                   | 0
 lib/{libc/sys => libsys}/mq_close.2                   | 0
 lib/{libc/sys => libsys}/mq_getattr.2                 | 0
 lib/{libc/sys => libsys}/mq_notify.2                  | 0
 lib/{libc/sys => libsys}/mq_open.2                    | 0
 lib/{libc/sys => libsys}/mq_receive.2                 | 0
 lib/{libc/sys => libsys}/mq_send.2                    | 0
 lib/{libc/sys => libsys}/mq_setattr.2                 | 0
 lib/{libc/sys => libsys}/mq_unlink.2                  | 0
 lib/{libc/sys => libsys}/msgctl.2                     | 0
 lib/{libc/sys => libsys}/msgget.2                     | 0
 lib/{libc/sys => libsys}/msgrcv.2                     | 0
 lib/{libc/sys => libsys}/msgsnd.2                     | 0
 lib/{libc/sys => libsys}/msync.2                      | 0
 lib/{libc/sys => libsys}/msync.c                      | 0
 lib/{libc/sys => libsys}/munmap.2                     | 0
 lib/{libc/sys => libsys}/nanosleep.2                  | 0
 lib/{libc/sys => libsys}/nanosleep.c                  | 0
 lib/{libc/sys => libsys}/nfssvc.2                     | 0
 lib/{libc/sys => libsys}/ntp_adjtime.2                | 0
 lib/{libc/sys => libsys}/open.2                       | 0
 lib/{libc/sys => libsys}/open.c                       | 0
 lib/{libc/sys => libsys}/openat.c                     | 0
 lib/{libc/sys => libsys}/pathconf.2                   | 0
 lib/{libc/sys => libsys}/pdfork.2                     | 0
 lib/{libc/sys => libsys}/pdfork.c                     | 0
 lib/{libc/sys => libsys}/pipe.2                       | 0
 lib/{libc/sys => libsys}/pipe.c                       | 0
 lib/{libc/sys => libsys}/poll.2                       | 0
 lib/{libc/sys => libsys}/poll.c                       | 0
 lib/{libc/sys => libsys}/posix_fadvise.2              | 0
 lib/{libc/sys => libsys}/posix_fallocate.2            | 0
 lib/{libc/sys => libsys}/posix_openpt.2               | 0
 lib/{libc => libsys}/powerpc/SYS.h                    | 0
 lib/{libc/powerpc/sys => libsys/powerpc}/cerror.S     | 0
 lib/{libc => libsys}/powerpc64/SYS.h                  | 0
 lib/{libc/powerpc64/sys => libsys/powerpc64}/cerror.S | 0
 lib/{libc/sys => libsys}/ppoll.c                      | 0
 lib/{libc/sys => libsys}/procctl.2                    | 0
 lib/{libc/sys => libsys}/profil.2                     | 0
 lib/{libc/sys => libsys}/pselect.2                    | 0
 lib/{libc/sys => libsys}/pselect.c                    | 0
 lib/{libc/sys => libsys}/ptrace.2                     | 0
 lib/{libc/sys => libsys}/ptrace.c                     | 0
 lib/{libc/sys => libsys}/quotactl.2                   | 0
 lib/{libc/sys => libsys}/rctl_add_rule.2              | 0
 lib/{libc/sys => libsys}/read.2                       | 0
 lib/{libc/sys => libsys}/read.c                       | 0
 lib/{libc/sys => libsys}/readlink.2                   | 0
 lib/{libc/sys => libsys}/readv.c                      | 0
 lib/{libc/sys => libsys}/reboot.2                     | 0
 lib/{libc/sys => libsys}/recv.2                       | 0
 lib/{libc/sys => libsys}/recvfrom.c                   | 0
 lib/{libc/sys => libsys}/recvmsg.c                    | 0
 lib/{libc/sys => libsys}/rename.2                     | 0
 lib/{libc/sys => libsys}/revoke.2                     | 0
 lib/{libc/sys => libsys}/rfork.2                      | 0
 lib/{libc => libsys}/riscv/SYS.h                      | 0
 lib/{libc/riscv/sys => libsys/riscv}/cerror.S         | 0
 lib/{libc/riscv/sys => libsys/riscv}/syscall.S        | 0
 lib/{libc/riscv/sys => libsys/riscv}/vfork.S          | 0
 lib/{libc/sys => libsys}/rmdir.2                      | 0
 lib/{libc/sys => libsys}/rtprio.2                     | 0
 lib/{libc/sys => libsys}/sched_get_priority_max.2     | 0
 lib/{libc/sys => libsys}/sched_setparam.2             | 0
 lib/{libc/sys => libsys}/sched_setscheduler.2         | 0
 lib/{libc/sys => libsys}/sched_yield.2                | 0
 lib/{libc/sys => libsys}/sctp_generic_recvmsg.2       | 0
 lib/{libc/sys => libsys}/sctp_generic_sendmsg.2       | 0
 lib/{libc/sys => libsys}/sctp_peeloff.2               | 0
 lib/{libc/sys => libsys}/select.2                     | 0
 lib/{libc/sys => libsys}/select.c                     | 0
 lib/{libc/sys => libsys}/semctl.2                     | 0
 lib/{libc/sys => libsys}/semget.2                     | 0
 lib/{libc/sys => libsys}/semop.2                      | 0
 lib/{libc/sys => libsys}/send.2                       | 0
 lib/{libc/sys => libsys}/sendfile.2                   | 0
 lib/{libc/sys => libsys}/sendmsg.c                    | 0
 lib/{libc/sys => libsys}/sendto.c                     | 0
 lib/{libc/sys => libsys}/setcontext.c                 | 0
 lib/{libc/sys => libsys}/setfib.2                     | 0
 lib/{libc/sys => libsys}/setgroups.2                  | 0
 lib/{libc/sys => libsys}/setpgid.2                    | 0
 lib/{libc/sys => libsys}/setregid.2                   | 0
 lib/{libc/sys => libsys}/setresuid.2                  | 0
 lib/{libc/sys => libsys}/setreuid.2                   | 0
 lib/{libc/sys => libsys}/setsid.2                     | 0
 lib/{libc/sys => libsys}/setuid.2                     | 0
 lib/{libc/sys => libsys}/shm_open.2                   | 0
 lib/{libc/sys => libsys}/shm_open.c                   | 0
 lib/{libc/sys => libsys}/shmat.2                      | 0
 lib/{libc/sys => libsys}/shmctl.2                     | 0
 lib/{libc/sys => libsys}/shmget.2                     | 0
 lib/{libc/sys => libsys}/shutdown.2                   | 0
 lib/{libc/sys => libsys}/sigaction.2                  | 0
 lib/{libc/sys => libsys}/sigaction.c                  | 0
 lib/{libc/sys => libsys}/sigaltstack.2                | 0
 lib/{libc/sys => libsys}/sigfastblock.2               | 0
 lib/{libc/sys => libsys}/sigpending.2                 | 0
 lib/{libc/sys => libsys}/sigprocmask.2                | 0
 lib/{libc/sys => libsys}/sigprocmask.c                | 0
 lib/{libc/sys => libsys}/sigqueue.2                   | 0
 lib/{libc/sys => libsys}/sigreturn.2                  | 0
 lib/{libc/sys => libsys}/sigstack.2                   | 0
 lib/{libc/sys => libsys}/sigsuspend.2                 | 0
 lib/{libc/sys => libsys}/sigsuspend.c                 | 0
 lib/{libc/sys => libsys}/sigtimedwait.c               | 0
 lib/{libc/sys => libsys}/sigwait.2                    | 0
 lib/{libc/sys => libsys}/sigwait.c                    | 0
 lib/{libc/sys => libsys}/sigwaitinfo.2                | 0
 lib/{libc/sys => libsys}/sigwaitinfo.c                | 0
 lib/{libc/sys => libsys}/socket.2                     | 0
 lib/{libc/sys => libsys}/socketpair.2                 | 0
 lib/{libc/sys => libsys}/stat.2                       | 0
 lib/{libc/sys => libsys}/stat.c                       | 0
 lib/{libc/sys => libsys}/statfs.2                     | 0
 lib/{libc/sys => libsys}/swapcontext.c                | 0
 lib/{libc/sys => libsys}/swapon.2                     | 0
 lib/{libc/sys => libsys}/symlink.2                    | 0
 lib/{libc/sys => libsys}/sync.2                       | 0
 lib/{libc/sys => libsys}/sysarch.2                    | 0
 lib/{libc/sys => libsys}/syscall.2                    | 0
 lib/{libc/sys => libsys}/thr_exit.2                   | 0
 lib/{libc/sys => libsys}/thr_kill.2                   | 0
 lib/{libc/sys => libsys}/thr_new.2                    | 0
 lib/{libc/sys => libsys}/thr_self.2                   | 0
 lib/{libc/sys => libsys}/thr_set_name.2               | 0
 lib/{libc/sys => libsys}/thr_suspend.2                | 0
 lib/{libc/sys => libsys}/thr_wake.2                   | 0
 lib/{libc/sys => libsys}/timer_create.2               | 0
 lib/{libc/sys => libsys}/timer_delete.2               | 0
 lib/{libc/sys => libsys}/timer_settime.2              | 0
 lib/{libc/sys => libsys}/timerfd.2                    | 0
 lib/{libc/sys => libsys}/truncate.2                   | 0
 lib/{libc/sys => libsys}/umask.2                      | 0
 lib/{libc/sys => libsys}/undelete.2                   | 0
 lib/{libc/sys => libsys}/unlink.2                     | 0
 lib/{libc/sys => libsys}/utimensat.2                  | 0
 lib/{libc/sys => libsys}/utimes.2                     | 0
 lib/{libc/sys => libsys}/utrace.2                     | 0
 lib/{libc/sys => libsys}/uuidgen.2                    | 0
 lib/{libc/sys => libsys}/vadvise.c                    | 0
 lib/{libc/sys => libsys}/vfork.2                      | 0
 lib/{libc/sys => libsys}/wait.2                       | 0
 lib/{libc/sys => libsys}/wait4.c                      | 0
 lib/{libc/sys => libsys}/wait6.c                      | 0
 lib/{libc/sys => libsys}/write.2                      | 0
 lib/{libc/sys => libsys}/write.c                      | 0
 lib/{libc/sys => libsys}/writev.c                     | 0
 297 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/lib/libc/Makefile b/lib/libc/Makefile
index 1f256449ffce..f96dddbf99f6 100644
--- a/lib/libc/Makefile
+++ b/lib/libc/Makefile
@@ -5,6 +5,7 @@ SHLIBDIR?= /lib
 .include <src.opts.mk>
 
 LIBC_SRCTOP?= ${.CURDIR}
+LIBSYS_SRCTOP?=	${.CURDIR:H}/libsys
 
 # Pick the current architecture directory for libc. In general, this is named
 # MACHINE_CPUARCH, but some ABIs are different enough to require their own libc,
@@ -38,6 +39,7 @@ SHLIB_LDSCRIPT_LINKS=libxnet.so
 WARNS?=	2
 CFLAGS+=-I${LIBC_SRCTOP}/include -I${SRCTOP}/include
 CFLAGS+=-I${LIBC_SRCTOP}/${LIBC_ARCH}
+CFLAGS+=-I${LIBSYS_SRCTOP}/${LIBC_ARCH}
 .if ${MK_NLS} != "no"
 CFLAGS+=-DNLS
 .endif
diff --git a/lib/libc/powerpcspe/sys/Makefile.inc b/lib/libc/powerpcspe/sys/Makefile.inc
index 328c43d2b1ca..70662c94db0b 100644
--- a/lib/libc/powerpcspe/sys/Makefile.inc
+++ b/lib/libc/powerpcspe/sys/Makefile.inc
@@ -1,2 +1,3 @@
 .PATH: ${LIBC_SRCTOP}/powerpc/sys
+.PATH: ${LIBSYS_SRCTOP}/powerpc
 .sinclude "${LIBC_SRCTOP}/powerpc/sys/Makefile.inc"
diff --git a/lib/libc/sys/Makefile.inc b/lib/libc/sys/Makefile.inc
index b533443f96b2..2c7472ebad06 100644
--- a/lib/libc/sys/Makefile.inc
+++ b/lib/libc/sys/Makefile.inc
@@ -1,6 +1,7 @@
 
 # sys sources
-.PATH: ${LIBC_SRCTOP}/${LIBC_ARCH}/sys ${LIBC_SRCTOP}/sys
+.PATH: ${LIBC_SRCTOP}/${LIBC_ARCH}/sys
+.PATH: ${LIBSYS_SRCTOP}/${LIBC_ARCH} ${LIBSYS_SRCTOP}
 
 # Include the generated makefile containing the *complete* list
 # of syscall names in MIASM.
@@ -109,7 +110,7 @@ SPSEUDO= ${PSEUDO:S/.o/.S/}
 
 SRCS+=	${SASM} ${SPSEUDO}
 
-SYM_MAPS+=	${LIBC_SRCTOP}/sys/Symbol.map
+SYM_MAPS+=	${LIBSYS_SRCTOP}/Symbol.sys.map
 
 # Generated files
 CLEANFILES+=	${SASM} ${SPSEUDO}
diff --git a/lib/libc/sys/POSIX2x_Fork.c b/lib/libsys/POSIX2x_Fork.c
similarity index 100%
rename from lib/libc/sys/POSIX2x_Fork.c
rename to lib/libsys/POSIX2x_Fork.c
diff --git a/lib/libc/sys/Symbol.map b/lib/libsys/Symbol.sys.map
similarity index 100%
rename from lib/libc/sys/Symbol.map
rename to lib/libsys/Symbol.sys.map
diff --git a/lib/libc/sys/__error.c b/lib/libsys/__error.c
similarity index 100%
rename from lib/libc/sys/__error.c
rename to lib/libsys/__error.c
diff --git a/lib/libc/sys/__vdso_gettimeofday.c b/lib/libsys/__vdso_gettimeofday.c
similarity index 100%
rename from lib/libc/sys/__vdso_gettimeofday.c
rename to lib/libsys/__vdso_gettimeofday.c
diff --git a/lib/libc/sys/_exit.2 b/lib/libsys/_exit.2
similarity index 100%
rename from lib/libc/sys/_exit.2
rename to lib/libsys/_exit.2
diff --git a/lib/libc/sys/_umtx_op.2 b/lib/libsys/_umtx_op.2
similarity index 100%
rename from lib/libc/sys/_umtx_op.2
rename to lib/libsys/_umtx_op.2
diff --git a/lib/libc/aarch64/SYS.h b/lib/libsys/aarch64/SYS.h
similarity index 100%
rename from lib/libc/aarch64/SYS.h
rename to lib/libsys/aarch64/SYS.h
diff --git a/lib/libc/aarch64/sys/cerror.S b/lib/libsys/aarch64/cerror.S
similarity index 100%
rename from lib/libc/aarch64/sys/cerror.S
rename to lib/libsys/aarch64/cerror.S
diff --git a/lib/libc/aarch64/sys/syscall.S b/lib/libsys/aarch64/syscall.S
similarity index 100%
rename from lib/libc/aarch64/sys/syscall.S
rename to lib/libsys/aarch64/syscall.S
diff --git a/lib/libc/aarch64/sys/vfork.S b/lib/libsys/aarch64/vfork.S
similarity index 100%
rename from lib/libc/aarch64/sys/vfork.S
rename to lib/libsys/aarch64/vfork.S
diff --git a/lib/libc/sys/abort2.2 b/lib/libsys/abort2.2
similarity index 100%
rename from lib/libc/sys/abort2.2
rename to lib/libsys/abort2.2
diff --git a/lib/libc/sys/accept.2 b/lib/libsys/accept.2
similarity index 100%
rename from lib/libc/sys/accept.2
rename to lib/libsys/accept.2
diff --git a/lib/libc/sys/accept.c b/lib/libsys/accept.c
similarity index 100%
rename from lib/libc/sys/accept.c
rename to lib/libsys/accept.c
diff --git a/lib/libc/sys/accept4.c b/lib/libsys/accept4.c
similarity index 100%
rename from lib/libc/sys/accept4.c
rename to lib/libsys/accept4.c
diff --git a/lib/libc/sys/access.2 b/lib/libsys/access.2
similarity index 100%
rename from lib/libc/sys/access.2
rename to lib/libsys/access.2
diff --git a/lib/libc/sys/acct.2 b/lib/libsys/acct.2
similarity index 100%
rename from lib/libc/sys/acct.2
rename to lib/libsys/acct.2
diff --git a/lib/libc/sys/adjtime.2 b/lib/libsys/adjtime.2
similarity index 100%
rename from lib/libc/sys/adjtime.2
rename to lib/libsys/adjtime.2
diff --git a/lib/libc/sys/aio_cancel.2 b/lib/libsys/aio_cancel.2
similarity index 100%
rename from lib/libc/sys/aio_cancel.2
rename to lib/libsys/aio_cancel.2
diff --git a/lib/libc/sys/aio_error.2 b/lib/libsys/aio_error.2
similarity index 100%
rename from lib/libc/sys/aio_error.2
rename to lib/libsys/aio_error.2
diff --git a/lib/libc/sys/aio_fsync.2 b/lib/libsys/aio_fsync.2
similarity index 100%
rename from lib/libc/sys/aio_fsync.2
rename to lib/libsys/aio_fsync.2
diff --git a/lib/libc/sys/aio_mlock.2 b/lib/libsys/aio_mlock.2
similarity index 100%
rename from lib/libc/sys/aio_mlock.2
rename to lib/libsys/aio_mlock.2
diff --git a/lib/libc/sys/aio_read.2 b/lib/libsys/aio_read.2
similarity index 100%
rename from lib/libc/sys/aio_read.2
rename to lib/libsys/aio_read.2
diff --git a/lib/libc/sys/aio_return.2 b/lib/libsys/aio_return.2
similarity index 100%
rename from lib/libc/sys/aio_return.2
rename to lib/libsys/aio_return.2
diff --git a/lib/libc/sys/aio_suspend.2 b/lib/libsys/aio_suspend.2
similarity index 100%
rename from lib/libc/sys/aio_suspend.2
rename to lib/libsys/aio_suspend.2
diff --git a/lib/libc/sys/aio_suspend.c b/lib/libsys/aio_suspend.c
similarity index 100%
rename from lib/libc/sys/aio_suspend.c
rename to lib/libsys/aio_suspend.c
diff --git a/lib/libc/sys/aio_waitcomplete.2 b/lib/libsys/aio_waitcomplete.2
similarity index 100%
rename from lib/libc/sys/aio_waitcomplete.2
rename to lib/libsys/aio_waitcomplete.2
diff --git a/lib/libc/sys/aio_write.2 b/lib/libsys/aio_write.2
similarity index 100%
rename from lib/libc/sys/aio_write.2
rename to lib/libsys/aio_write.2
diff --git a/lib/libc/amd64/SYS.h b/lib/libsys/amd64/SYS.h
similarity index 100%
rename from lib/libc/amd64/SYS.h
rename to lib/libsys/amd64/SYS.h
diff --git a/lib/libc/amd64/sys/cerror.S b/lib/libsys/amd64/cerror.S
similarity index 100%
rename from lib/libc/amd64/sys/cerror.S
rename to lib/libsys/amd64/cerror.S
diff --git a/lib/libc/amd64/sys/getcontext.S b/lib/libsys/amd64/getcontext.S
similarity index 100%
rename from lib/libc/amd64/sys/getcontext.S
rename to lib/libsys/amd64/getcontext.S
diff --git a/lib/libc/amd64/sys/vfork.S b/lib/libsys/amd64/vfork.S
similarity index 100%
rename from lib/libc/amd64/sys/vfork.S
rename to lib/libsys/amd64/vfork.S
diff --git a/lib/libc/arm/SYS.h b/lib/libsys/arm/SYS.h
similarity index 100%
rename from lib/libc/arm/SYS.h
rename to lib/libsys/arm/SYS.h
diff --git a/lib/libc/arm/sys/cerror.S b/lib/libsys/arm/cerror.S
similarity index 100%
rename from lib/libc/arm/sys/cerror.S
rename to lib/libsys/arm/cerror.S
diff --git a/lib/libc/arm/sys/syscall.S b/lib/libsys/arm/syscall.S
similarity index 100%
rename from lib/libc/arm/sys/syscall.S
rename to lib/libsys/arm/syscall.S
diff --git a/lib/libc/arm/sys/vfork.S b/lib/libsys/arm/vfork.S
similarity index 100%
rename from lib/libc/arm/sys/vfork.S
rename to lib/libsys/arm/vfork.S
diff --git a/lib/libc/sys/bind.2 b/lib/libsys/bind.2
similarity index 100%
rename from lib/libc/sys/bind.2
rename to lib/libsys/bind.2
diff --git a/lib/libc/sys/bindat.2 b/lib/libsys/bindat.2
similarity index 100%
rename from lib/libc/sys/bindat.2
rename to lib/libsys/bindat.2
diff --git a/lib/libc/sys/brk.2 b/lib/libsys/brk.2
similarity index 100%
rename from lib/libc/sys/brk.2
rename to lib/libsys/brk.2
diff --git a/lib/libc/sys/brk.c b/lib/libsys/brk.c
similarity index 100%
rename from lib/libc/sys/brk.c
rename to lib/libsys/brk.c
diff --git a/lib/libc/sys/cap_enter.2 b/lib/libsys/cap_enter.2
similarity index 100%
rename from lib/libc/sys/cap_enter.2
rename to lib/libsys/cap_enter.2
diff --git a/lib/libc/sys/cap_fcntls_limit.2 b/lib/libsys/cap_fcntls_limit.2
similarity index 100%
rename from lib/libc/sys/cap_fcntls_limit.2
rename to lib/libsys/cap_fcntls_limit.2
diff --git a/lib/libc/sys/cap_ioctls_limit.2 b/lib/libsys/cap_ioctls_limit.2
similarity index 100%
rename from lib/libc/sys/cap_ioctls_limit.2
rename to lib/libsys/cap_ioctls_limit.2
diff --git a/lib/libc/sys/cap_rights_limit.2 b/lib/libsys/cap_rights_limit.2
similarity index 100%
rename from lib/libc/sys/cap_rights_limit.2
rename to lib/libsys/cap_rights_limit.2
diff --git a/lib/libc/sys/chdir.2 b/lib/libsys/chdir.2
similarity index 100%
rename from lib/libc/sys/chdir.2
rename to lib/libsys/chdir.2
diff --git a/lib/libc/sys/chflags.2 b/lib/libsys/chflags.2
similarity index 100%
rename from lib/libc/sys/chflags.2
rename to lib/libsys/chflags.2
diff --git a/lib/libc/sys/chmod.2 b/lib/libsys/chmod.2
similarity index 100%
rename from lib/libc/sys/chmod.2
rename to lib/libsys/chmod.2
diff --git a/lib/libc/sys/chown.2 b/lib/libsys/chown.2
similarity index 100%
rename from lib/libc/sys/chown.2
rename to lib/libsys/chown.2
diff --git a/lib/libc/sys/chroot.2 b/lib/libsys/chroot.2
similarity index 100%
rename from lib/libc/sys/chroot.2
rename to lib/libsys/chroot.2
diff --git a/lib/libc/sys/clock_gettime.2 b/lib/libsys/clock_gettime.2
similarity index 100%
rename from lib/libc/sys/clock_gettime.2
rename to lib/libsys/clock_gettime.2
diff --git a/lib/libc/sys/clock_gettime.c b/lib/libsys/clock_gettime.c
similarity index 100%
rename from lib/libc/sys/clock_gettime.c
rename to lib/libsys/clock_gettime.c
diff --git a/lib/libc/sys/clock_nanosleep.c b/lib/libsys/clock_nanosleep.c
similarity index 100%
rename from lib/libc/sys/clock_nanosleep.c
rename to lib/libsys/clock_nanosleep.c
diff --git a/lib/libc/sys/close.2 b/lib/libsys/close.2
similarity index 100%
rename from lib/libc/sys/close.2
rename to lib/libsys/close.2
diff --git a/lib/libc/sys/close.c b/lib/libsys/close.c
similarity index 100%
rename from lib/libc/sys/close.c
rename to lib/libsys/close.c
diff --git a/lib/libc/sys/closefrom.2 b/lib/libsys/closefrom.2
similarity index 100%
rename from lib/libc/sys/closefrom.2
rename to lib/libsys/closefrom.2
diff --git a/lib/libc/sys/closefrom.c b/lib/libsys/closefrom.c
similarity index 100%
rename from lib/libc/sys/closefrom.c
rename to lib/libsys/closefrom.c
diff --git a/lib/libc/sys/compat-stub.c b/lib/libsys/compat-stub.c
similarity index 100%
rename from lib/libc/sys/compat-stub.c
rename to lib/libsys/compat-stub.c
diff --git a/lib/libc/sys/connect.2 b/lib/libsys/connect.2
similarity index 100%
rename from lib/libc/sys/connect.2
rename to lib/libsys/connect.2
diff --git a/lib/libc/sys/connect.c b/lib/libsys/connect.c
similarity index 100%
rename from lib/libc/sys/connect.c
rename to lib/libsys/connect.c
diff --git a/lib/libc/sys/connectat.2 b/lib/libsys/connectat.2
similarity index 100%
rename from lib/libc/sys/connectat.2
rename to lib/libsys/connectat.2
diff --git a/lib/libc/sys/copy_file_range.2 b/lib/libsys/copy_file_range.2
similarity index 100%
rename from lib/libc/sys/copy_file_range.2
rename to lib/libsys/copy_file_range.2
diff --git a/lib/libc/sys/cpuset.2 b/lib/libsys/cpuset.2
similarity index 100%
rename from lib/libc/sys/cpuset.2
rename to lib/libsys/cpuset.2
diff --git a/lib/libc/sys/cpuset_getaffinity.2 b/lib/libsys/cpuset_getaffinity.2
similarity index 100%
rename from lib/libc/sys/cpuset_getaffinity.2
rename to lib/libsys/cpuset_getaffinity.2
diff --git a/lib/libc/sys/cpuset_getdomain.2 b/lib/libsys/cpuset_getdomain.2
similarity index 100%
rename from lib/libc/sys/cpuset_getdomain.2
rename to lib/libsys/cpuset_getdomain.2
diff --git a/lib/libc/sys/dup.2 b/lib/libsys/dup.2
similarity index 100%
rename from lib/libc/sys/dup.2
rename to lib/libsys/dup.2
diff --git a/lib/libc/sys/eventfd.2 b/lib/libsys/eventfd.2
similarity index 100%
rename from lib/libc/sys/eventfd.2
rename to lib/libsys/eventfd.2
diff --git a/lib/libc/sys/execve.2 b/lib/libsys/execve.2
similarity index 100%
rename from lib/libc/sys/execve.2
rename to lib/libsys/execve.2
diff --git a/lib/libc/sys/extattr_get_file.2 b/lib/libsys/extattr_get_file.2
similarity index 100%
rename from lib/libc/sys/extattr_get_file.2
rename to lib/libsys/extattr_get_file.2
diff --git a/lib/libc/sys/fcntl.2 b/lib/libsys/fcntl.2
similarity index 100%
rename from lib/libc/sys/fcntl.2
rename to lib/libsys/fcntl.2
diff --git a/lib/libc/sys/fcntl.c b/lib/libsys/fcntl.c
similarity index 100%
rename from lib/libc/sys/fcntl.c
rename to lib/libsys/fcntl.c
diff --git a/lib/libc/sys/fdatasync.c b/lib/libsys/fdatasync.c
similarity index 100%
rename from lib/libc/sys/fdatasync.c
rename to lib/libsys/fdatasync.c
diff --git a/lib/libc/sys/ffclock.2 b/lib/libsys/ffclock.2
similarity index 100%
rename from lib/libc/sys/ffclock.2
rename to lib/libsys/ffclock.2
diff --git a/lib/libc/sys/fhlink.2 b/lib/libsys/fhlink.2
similarity index 100%
rename from lib/libc/sys/fhlink.2
rename to lib/libsys/fhlink.2
diff --git a/lib/libc/sys/fhopen.2 b/lib/libsys/fhopen.2
similarity index 100%
rename from lib/libc/sys/fhopen.2
rename to lib/libsys/fhopen.2
diff --git a/lib/libc/sys/fhreadlink.2 b/lib/libsys/fhreadlink.2
similarity index 100%
rename from lib/libc/sys/fhreadlink.2
rename to lib/libsys/fhreadlink.2
diff --git a/lib/libc/sys/flock.2 b/lib/libsys/flock.2
similarity index 100%
rename from lib/libc/sys/flock.2
rename to lib/libsys/flock.2
diff --git a/lib/libc/sys/fork.2 b/lib/libsys/fork.2
similarity index 100%
rename from lib/libc/sys/fork.2
rename to lib/libsys/fork.2
diff --git a/lib/libc/sys/fork.c b/lib/libsys/fork.c
similarity index 100%
rename from lib/libc/sys/fork.c
rename to lib/libsys/fork.c
diff --git a/lib/libc/sys/fspacectl.2 b/lib/libsys/fspacectl.2
similarity index 100%
rename from lib/libc/sys/fspacectl.2
rename to lib/libsys/fspacectl.2
diff --git a/lib/libc/sys/fsync.2 b/lib/libsys/fsync.2
similarity index 100%
rename from lib/libc/sys/fsync.2
rename to lib/libsys/fsync.2
diff --git a/lib/libc/sys/fsync.c b/lib/libsys/fsync.c
similarity index 100%
rename from lib/libc/sys/fsync.c
rename to lib/libsys/fsync.c
diff --git a/lib/libc/sys/getdents.c b/lib/libsys/getdents.c
similarity index 100%
rename from lib/libc/sys/getdents.c
rename to lib/libsys/getdents.c
diff --git a/lib/libc/sys/getdirentries.2 b/lib/libsys/getdirentries.2
similarity index 100%
rename from lib/libc/sys/getdirentries.2
rename to lib/libsys/getdirentries.2
diff --git a/lib/libc/sys/getdtablesize.2 b/lib/libsys/getdtablesize.2
similarity index 100%
rename from lib/libc/sys/getdtablesize.2
rename to lib/libsys/getdtablesize.2
diff --git a/lib/libc/sys/getfh.2 b/lib/libsys/getfh.2
similarity index 100%
rename from lib/libc/sys/getfh.2
rename to lib/libsys/getfh.2
diff --git a/lib/libc/sys/getfsstat.2 b/lib/libsys/getfsstat.2
similarity index 100%
rename from lib/libc/sys/getfsstat.2
rename to lib/libsys/getfsstat.2
diff --git a/lib/libc/sys/getgid.2 b/lib/libsys/getgid.2
similarity index 100%
rename from lib/libc/sys/getgid.2
rename to lib/libsys/getgid.2
diff --git a/lib/libc/sys/getgroups.2 b/lib/libsys/getgroups.2
similarity index 100%
rename from lib/libc/sys/getgroups.2
rename to lib/libsys/getgroups.2
diff --git a/lib/libc/sys/getitimer.2 b/lib/libsys/getitimer.2
similarity index 100%
rename from lib/libc/sys/getitimer.2
rename to lib/libsys/getitimer.2
diff --git a/lib/libc/sys/getlogin.2 b/lib/libsys/getlogin.2
similarity index 100%
rename from lib/libc/sys/getlogin.2
rename to lib/libsys/getlogin.2
diff --git a/lib/libc/sys/getloginclass.2 b/lib/libsys/getloginclass.2
similarity index 100%
rename from lib/libc/sys/getloginclass.2
rename to lib/libsys/getloginclass.2
diff --git a/lib/libc/sys/getpeername.2 b/lib/libsys/getpeername.2
similarity index 100%
rename from lib/libc/sys/getpeername.2
rename to lib/libsys/getpeername.2
diff --git a/lib/libc/sys/getpgrp.2 b/lib/libsys/getpgrp.2
similarity index 100%
rename from lib/libc/sys/getpgrp.2
rename to lib/libsys/getpgrp.2
diff --git a/lib/libc/sys/getpid.2 b/lib/libsys/getpid.2
similarity index 100%
rename from lib/libc/sys/getpid.2
rename to lib/libsys/getpid.2
diff --git a/lib/libc/sys/getpriority.2 b/lib/libsys/getpriority.2
similarity index 100%
rename from lib/libc/sys/getpriority.2
rename to lib/libsys/getpriority.2
diff --git a/lib/libc/sys/getrandom.2 b/lib/libsys/getrandom.2
similarity index 100%
rename from lib/libc/sys/getrandom.2
rename to lib/libsys/getrandom.2
diff --git a/lib/libc/sys/getrlimit.2 b/lib/libsys/getrlimit.2
similarity index 100%
rename from lib/libc/sys/getrlimit.2
rename to lib/libsys/getrlimit.2
diff --git a/lib/libc/sys/getrusage.2 b/lib/libsys/getrusage.2
similarity index 100%
rename from lib/libc/sys/getrusage.2
rename to lib/libsys/getrusage.2
diff --git a/lib/libc/sys/getsid.2 b/lib/libsys/getsid.2
similarity index 100%
rename from lib/libc/sys/getsid.2
rename to lib/libsys/getsid.2
diff --git a/lib/libc/sys/getsockname.2 b/lib/libsys/getsockname.2
similarity index 100%
rename from lib/libc/sys/getsockname.2
rename to lib/libsys/getsockname.2
diff --git a/lib/libc/sys/getsockopt.2 b/lib/libsys/getsockopt.2
similarity index 100%
rename from lib/libc/sys/getsockopt.2
rename to lib/libsys/getsockopt.2
diff --git a/lib/libc/sys/gettimeofday.2 b/lib/libsys/gettimeofday.2
similarity index 100%
rename from lib/libc/sys/gettimeofday.2
rename to lib/libsys/gettimeofday.2
diff --git a/lib/libc/sys/gettimeofday.c b/lib/libsys/gettimeofday.c
similarity index 100%
rename from lib/libc/sys/gettimeofday.c
rename to lib/libsys/gettimeofday.c
diff --git a/lib/libc/sys/getuid.2 b/lib/libsys/getuid.2
similarity index 100%
rename from lib/libc/sys/getuid.2
rename to lib/libsys/getuid.2
diff --git a/lib/libc/i386/SYS.h b/lib/libsys/i386/SYS.h
similarity index 100%
rename from lib/libc/i386/SYS.h
rename to lib/libsys/i386/SYS.h
diff --git a/lib/libc/i386/sys/cerror.S b/lib/libsys/i386/cerror.S
similarity index 100%
rename from lib/libc/i386/sys/cerror.S
rename to lib/libsys/i386/cerror.S
diff --git a/lib/libc/i386/sys/getcontext.S b/lib/libsys/i386/getcontext.S
similarity index 100%
rename from lib/libc/i386/sys/getcontext.S
rename to lib/libsys/i386/getcontext.S
diff --git a/lib/libc/i386/sys/syscall.S b/lib/libsys/i386/syscall.S
similarity index 100%
rename from lib/libc/i386/sys/syscall.S
rename to lib/libsys/i386/syscall.S
diff --git a/lib/libc/i386/sys/vfork.S b/lib/libsys/i386/vfork.S
similarity index 100%
rename from lib/libc/i386/sys/vfork.S
rename to lib/libsys/i386/vfork.S
diff --git a/lib/libc/sys/interposing_table.c b/lib/libsys/interposing_table.c
similarity index 100%
rename from lib/libc/sys/interposing_table.c
rename to lib/libsys/interposing_table.c
diff --git a/lib/libc/sys/intro.2 b/lib/libsys/intro.2
similarity index 100%
rename from lib/libc/sys/intro.2
rename to lib/libsys/intro.2
diff --git a/lib/libc/sys/ioctl.2 b/lib/libsys/ioctl.2
similarity index 100%
rename from lib/libc/sys/ioctl.2
rename to lib/libsys/ioctl.2
diff --git a/lib/libc/sys/issetugid.2 b/lib/libsys/issetugid.2
similarity index 100%
rename from lib/libc/sys/issetugid.2
rename to lib/libsys/issetugid.2
diff --git a/lib/libc/sys/jail.2 b/lib/libsys/jail.2
similarity index 100%
rename from lib/libc/sys/jail.2
rename to lib/libsys/jail.2
diff --git a/lib/libc/sys/kcmp.2 b/lib/libsys/kcmp.2
similarity index 100%
rename from lib/libc/sys/kcmp.2
rename to lib/libsys/kcmp.2
diff --git a/lib/libc/sys/kenv.2 b/lib/libsys/kenv.2
similarity index 100%
rename from lib/libc/sys/kenv.2
rename to lib/libsys/kenv.2
diff --git a/lib/libc/sys/kevent.c b/lib/libsys/kevent.c
similarity index 100%
rename from lib/libc/sys/kevent.c
rename to lib/libsys/kevent.c
diff --git a/lib/libc/sys/kill.2 b/lib/libsys/kill.2
similarity index 100%
rename from lib/libc/sys/kill.2
rename to lib/libsys/kill.2
diff --git a/lib/libc/sys/kldfind.2 b/lib/libsys/kldfind.2
similarity index 100%
rename from lib/libc/sys/kldfind.2
rename to lib/libsys/kldfind.2
diff --git a/lib/libc/sys/kldfirstmod.2 b/lib/libsys/kldfirstmod.2
similarity index 100%
rename from lib/libc/sys/kldfirstmod.2
rename to lib/libsys/kldfirstmod.2
diff --git a/lib/libc/sys/kldload.2 b/lib/libsys/kldload.2
similarity index 100%
rename from lib/libc/sys/kldload.2
rename to lib/libsys/kldload.2
diff --git a/lib/libc/sys/kldnext.2 b/lib/libsys/kldnext.2
similarity index 100%
rename from lib/libc/sys/kldnext.2
rename to lib/libsys/kldnext.2
diff --git a/lib/libc/sys/kldstat.2 b/lib/libsys/kldstat.2
similarity index 100%
rename from lib/libc/sys/kldstat.2
rename to lib/libsys/kldstat.2
diff --git a/lib/libc/sys/kldsym.2 b/lib/libsys/kldsym.2
similarity index 100%
rename from lib/libc/sys/kldsym.2
rename to lib/libsys/kldsym.2
diff --git a/lib/libc/sys/kldunload.2 b/lib/libsys/kldunload.2
similarity index 100%
rename from lib/libc/sys/kldunload.2
rename to lib/libsys/kldunload.2
diff --git a/lib/libc/sys/kqueue.2 b/lib/libsys/kqueue.2
similarity index 100%
rename from lib/libc/sys/kqueue.2
rename to lib/libsys/kqueue.2
diff --git a/lib/libc/sys/ktrace.2 b/lib/libsys/ktrace.2
similarity index 100%
rename from lib/libc/sys/ktrace.2
rename to lib/libsys/ktrace.2
diff --git a/lib/libc/sys/link.2 b/lib/libsys/link.2
similarity index 100%
rename from lib/libc/sys/link.2
rename to lib/libsys/link.2
diff --git a/lib/libc/sys/lio_listio.2 b/lib/libsys/lio_listio.2
similarity index 100%
rename from lib/libc/sys/lio_listio.2
rename to lib/libsys/lio_listio.2
diff --git a/lib/libc/sys/listen.2 b/lib/libsys/listen.2
similarity index 100%
rename from lib/libc/sys/listen.2
rename to lib/libsys/listen.2
diff --git a/lib/libc/sys/lseek.2 b/lib/libsys/lseek.2
similarity index 100%
rename from lib/libc/sys/lseek.2
rename to lib/libsys/lseek.2
diff --git a/lib/libc/sys/lstat.c b/lib/libsys/lstat.c
similarity index 100%
rename from lib/libc/sys/lstat.c
rename to lib/libsys/lstat.c
diff --git a/lib/libc/sys/madvise.2 b/lib/libsys/madvise.2
similarity index 100%
rename from lib/libc/sys/madvise.2
rename to lib/libsys/madvise.2
diff --git a/lib/libc/sys/mincore.2 b/lib/libsys/mincore.2
similarity index 100%
rename from lib/libc/sys/mincore.2
rename to lib/libsys/mincore.2
diff --git a/lib/libc/sys/minherit.2 b/lib/libsys/minherit.2
similarity index 100%
rename from lib/libc/sys/minherit.2
rename to lib/libsys/minherit.2
diff --git a/lib/libc/sys/mkdir.2 b/lib/libsys/mkdir.2
similarity index 100%
rename from lib/libc/sys/mkdir.2
rename to lib/libsys/mkdir.2
diff --git a/lib/libc/sys/mkfifo.2 b/lib/libsys/mkfifo.2
similarity index 100%
rename from lib/libc/sys/mkfifo.2
rename to lib/libsys/mkfifo.2
diff --git a/lib/libc/sys/mknod.2 b/lib/libsys/mknod.2
similarity index 100%
rename from lib/libc/sys/mknod.2
rename to lib/libsys/mknod.2
diff --git a/lib/libc/sys/mknod.c b/lib/libsys/mknod.c
similarity index 100%
rename from lib/libc/sys/mknod.c
rename to lib/libsys/mknod.c
diff --git a/lib/libc/sys/mlock.2 b/lib/libsys/mlock.2
similarity index 100%
rename from lib/libc/sys/mlock.2
rename to lib/libsys/mlock.2
diff --git a/lib/libc/sys/mlockall.2 b/lib/libsys/mlockall.2
similarity index 100%
rename from lib/libc/sys/mlockall.2
rename to lib/libsys/mlockall.2
diff --git a/lib/libc/sys/mmap.2 b/lib/libsys/mmap.2
similarity index 100%
rename from lib/libc/sys/mmap.2
rename to lib/libsys/mmap.2
diff --git a/lib/libc/sys/modfind.2 b/lib/libsys/modfind.2
similarity index 100%
rename from lib/libc/sys/modfind.2
rename to lib/libsys/modfind.2
diff --git a/lib/libc/sys/modnext.2 b/lib/libsys/modnext.2
similarity index 100%
rename from lib/libc/sys/modnext.2
rename to lib/libsys/modnext.2
diff --git a/lib/libc/sys/modstat.2 b/lib/libsys/modstat.2
similarity index 100%
rename from lib/libc/sys/modstat.2
rename to lib/libsys/modstat.2
diff --git a/lib/libc/sys/mount.2 b/lib/libsys/mount.2
similarity index 100%
rename from lib/libc/sys/mount.2
rename to lib/libsys/mount.2
diff --git a/lib/libc/sys/mprotect.2 b/lib/libsys/mprotect.2
similarity index 100%
rename from lib/libc/sys/mprotect.2
rename to lib/libsys/mprotect.2
diff --git a/lib/libc/sys/mq_close.2 b/lib/libsys/mq_close.2
similarity index 100%
rename from lib/libc/sys/mq_close.2
rename to lib/libsys/mq_close.2
diff --git a/lib/libc/sys/mq_getattr.2 b/lib/libsys/mq_getattr.2
similarity index 100%
rename from lib/libc/sys/mq_getattr.2
rename to lib/libsys/mq_getattr.2
diff --git a/lib/libc/sys/mq_notify.2 b/lib/libsys/mq_notify.2
similarity index 100%
rename from lib/libc/sys/mq_notify.2
rename to lib/libsys/mq_notify.2
diff --git a/lib/libc/sys/mq_open.2 b/lib/libsys/mq_open.2
similarity index 100%
rename from lib/libc/sys/mq_open.2
rename to lib/libsys/mq_open.2
diff --git a/lib/libc/sys/mq_receive.2 b/lib/libsys/mq_receive.2
similarity index 100%
rename from lib/libc/sys/mq_receive.2
rename to lib/libsys/mq_receive.2
diff --git a/lib/libc/sys/mq_send.2 b/lib/libsys/mq_send.2
similarity index 100%
rename from lib/libc/sys/mq_send.2
rename to lib/libsys/mq_send.2
diff --git a/lib/libc/sys/mq_setattr.2 b/lib/libsys/mq_setattr.2
similarity index 100%
rename from lib/libc/sys/mq_setattr.2
rename to lib/libsys/mq_setattr.2
diff --git a/lib/libc/sys/mq_unlink.2 b/lib/libsys/mq_unlink.2
similarity index 100%
rename from lib/libc/sys/mq_unlink.2
rename to lib/libsys/mq_unlink.2
diff --git a/lib/libc/sys/msgctl.2 b/lib/libsys/msgctl.2
similarity index 100%
*** 558 LINES SKIPPED ***



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202402052038.415KcQ3K068899>