Go to file
Kyle Evans 1631382cf2 loader: provide a features table for binary compatibility advertisement
liblua now provides a loader.has_feature() function to probe the loader
binary for features advertised.  name => desc mappings are provided in
loader.features to get a list of all of the features loader *can*
support.  core.hasFeature is provided as a shim to loader.has_feature
so that individual consumers don't need to think about the logic of the
loader module not providing has_feature; we know that means the feature
isn't enabled.

The first consumer of this will be EARLY_ACPI to advertise that the
loader binary probes for ACPI presence before the interpreter has
started, so that we know whether we can trust the presence of acpi.rsdp
as relatively authoritative.  In general, it's intended to be used to
avoid breaking new scripts on older loaders within reason.

This will be used in lua as `core.hasFeature("EARLY_ACPI")`, while the
C bits of loader will `feature_enable(FEATURE_EARLY_ACPI)`.

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D42695
2023-12-08 15:43:19 -06:00
.cirrus-ci Cirrus-CI: add some timing info on pkg install failure 2021-08-04 15:02:00 -04:00
.github Vendor import of OpenSSH 9.5p1 2023-10-04 08:06:41 -04:00
bin cp: Don't warn for chflags() failing with EOPNOTSUPP if flags == 0 2023-12-07 13:36:44 -07:00
cddl zfsd: fault disks that generate too many I/O delay events 2023-11-29 07:51:11 -07:00
contrib Merge commit 158f4f30adb4 from llvm git (by Corentin Jabot): 2023-12-08 18:36:06 +01:00
crypto OpenSSL: update to 3.0.12 2023-10-24 14:55:56 -04:00
etc Merge llvm-project main llvmorg-17-init-19304-gd0b54bb50e51 2023-12-08 18:34:50 +01:00
gnu misc: Remove ancient SCCS tags. 2023-11-26 22:23:27 -07:00
include include: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
kerberos5 sccs: Manual changes 2023-11-26 22:23:58 -07:00
lib Merge llvm-project release/17.x llvmorg-17.0.6-0-g6009708b4367 2023-12-08 18:35:59 +01:00
libexec rc.conf: correct $ntp_leapfile_sources 2023-12-07 13:48:13 +08:00
release pkgbase: propagate SRCRELDATE to the packages correctly 2023-12-04 22:27:57 +01:00
rescue misc: Remove ancient SCCS tags. 2023-11-26 22:23:27 -07:00
sbin camcontrol: One file per line in Makefile 2023-12-07 13:21:57 -07:00
secure ossl: Move arm_arch.h to a common subdirectory 2023-12-04 12:29:11 -05:00
share bsd-family-tree: add FreeBSD 14 2023-12-07 09:26:12 -05:00
stand loader: provide a features table for binary compatibility advertisement 2023-12-08 15:43:19 -06:00
sys Bump __FreeBSD_version for llvm 17.0.6 merge 2023-12-08 18:36:40 +01:00
targets Merge llvm-project main llvmorg-17-init-19304-gd0b54bb50e51 2023-12-08 18:34:50 +01:00
tests pf tests: test that we validate sequence numbers on TCP RST 2023-12-05 21:03:49 +01:00
tools Merge llvm-project main llvmorg-17-init-19304-gd0b54bb50e51 2023-12-08 18:34:50 +01:00
usr.bin Merge llvm-project main llvmorg-17-init-19304-gd0b54bb50e51 2023-12-08 18:34:50 +01:00
usr.sbin bsdinstall: add include to SUBDIR 2023-12-06 22:17:14 -08:00
.arcconfig arcanist: use FreeBSD/git project repository instead of FreeBSD/svn 2022-08-23 14:16:41 +00:00
.arclint
.cirrus.yml Cirrus CI: Add manual jobs for amd64 and aarch64 using GCC 13 2023-12-07 14:32:08 -08:00
.clang-format Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
.git-blame-ignore-revs git-blame-ignore-revs: OptionalObsoleteFiles.inc sorting commits 2023-11-15 17:47:02 +00:00
.gitattributes Revert "awk: Merge upstream 2nd Edition Awk Book" 2023-11-15 15:28:05 -07:00
.gitignore .gitignore: Ignore LSP generated .cache 2023-03-07 10:04:18 -05:00
.mailmap Fix Sumit's email address 2023-10-19 15:49:05 -06:00
CONTRIBUTING.md CONTRIBUTING.md: add author identity info 2023-09-20 19:28:28 -04:00
COPYRIGHT misc: Remove ancient SCCS tags. 2023-11-26 22:23:27 -07:00
LOCKS Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:20 -06:00
MAINTAINERS Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:20 -06:00
Makefile pkgbase: create source package 2023-12-04 09:05:03 +01:00
Makefile.inc1 Merge llvm-project main llvmorg-17-init-19304-gd0b54bb50e51 2023-12-08 18:34:50 +01:00
Makefile.libcompat build{libcompat}: Pass UNIVERSE_TOOLCHAIN_PATH to the _lc_build-tools submake 2023-08-21 21:00:45 -07:00
Makefile.sys.inc Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
ObsoleteFiles.inc ObsoleteFiles.inc: remove old libufs.so.7 after bump 2023-12-08 22:23:00 +01:00
README.md README.md: link to the list of supported platforms 2022-11-01 12:20:55 -03:00
RELNOTES RELNOTES: Add an entry about bhyve's slirp backend 2023-11-22 15:19:10 -05:00
UPDATING UPDATING: Add unset hint.acpi.0.disabled as workaround for no ACPI 2023-11-22 21:12:28 -07:00

FreeBSD Source:

This is the top level of the FreeBSD source directory.

FreeBSD is an operating system used to power modern servers, desktops, and embedded platforms. A large community has continually developed it for more than thirty years. Its advanced networking, security, and storage features have made FreeBSD the platform of choice for many of the busiest web sites and most pervasive embedded networking and storage devices.

For copyright information, please see the file COPYRIGHT in this directory. Additional copyright information also exists for some sources in this tree - please see the specific source directories for more information.

The Makefile in this directory supports a number of targets for building components (or all) of the FreeBSD source tree. See build(7), config(8), FreeBSD handbook on building userland, and Handbook for kernels for more information, including setting make(1) variables.

For information on the CPU architectures and platforms supported by FreeBSD, see the FreeBSD website's Platforms page.

Source Roadmap:

Directory Description
bin System/user commands.
cddl Various commands and libraries under the Common Development and Distribution License.
contrib Packages contributed by 3rd parties.
crypto Cryptography stuff (see crypto/README).
etc Template files for /etc.
gnu Commands and libraries under the GNU General Public License (GPL) or Lesser General Public License (LGPL). Please see gnu/COPYING and gnu/COPYING.LIB for more information.
include System include files.
kerberos5 Kerberos5 (Heimdal) package.
lib System libraries.
libexec System daemons.
release Release building Makefile & associated tools.
rescue Build system for statically linked /rescue utilities.
sbin System commands.
secure Cryptographic libraries and commands.
share Shared resources.
stand Boot loader sources.
sys Kernel sources (see sys/README.md).
targets Support for experimental DIRDEPS_BUILD
tests Regression tests which can be run by Kyua. See tests/README for additional information.
tools Utilities for regression testing and miscellaneous tasks.
usr.bin User commands.
usr.sbin System administration commands.

For information on synchronizing your source tree with one or more of the FreeBSD Project's development branches, please see FreeBSD Handbook.