Find a file
Warner Losh 335e3daaf0 kboot: Keep track of what's used in the segment
Keep track of how much is used in the segment as we allocate it to the
application. Set memsz to 0 first, and increment it as used. Adjust the
bufsz before we call kexec so the kernel copies the right amount (it's
an error for bufsz to be bigger than memsz, so we set them == when we
retrieve the segment). Make sure we round to the page size, otherwise
kexec_load gets cranky.

Sponsored by:		Netflix
Reviewed by:		tsoome
Differential Revision:	https://reviews.freebsd.org/D38315
2023-02-03 08:41:41 -07:00
.cirrus-ci
.github .github: Switch to v3 of actions/checkout. 2022-12-20 16:27:17 -08:00
bin cp: Minor code cleanup. 2023-02-03 16:37:37 +01:00
cddl zfs: Disable -Wunused-variable for environ in main in zfs_main.c. 2023-01-30 09:31:19 -08:00
contrib libc: Add tests for strchrnul(3). 2023-02-02 15:45:45 +01:00
crypto openssh: remove mention of now-unused svn:keywords 2023-01-16 10:56:27 -05:00
etc timeout: Move from /usr/bin to /bin 2023-02-02 18:34:35 +01:00
gnu
include Revert "stdlib.h: Fix qsort_r compatibility with GCC 12." 2023-01-26 16:28:03 -08:00
kerberos5
lib libc: Add tests for strchrnul(3). 2023-02-02 15:45:45 +01:00
libexec hyperv: Build and install where supported 2023-02-01 10:21:57 -07:00
release pkgbase: share rules for packages without pkgdeps 2023-01-09 10:42:59 -05:00
rescue rescue: Fix link order of SSL libraries and fetch. 2023-02-02 09:23:02 -08:00
sbin hastctl: use zlib's crc32 implementation. 2023-02-03 00:30:08 -08:00
secure
share kboot: Enable for aarch64 2023-02-03 08:41:40 -07:00
stand kboot: Keep track of what's used in the segment 2023-02-03 08:41:41 -07:00
sys Mechanically convert wg(4) to IfAPI 2023-02-03 09:38:03 -05:00
targets
tests pf tests: improve pfsync:basic_defer test 2023-02-03 09:39:21 +01:00
tools stress2: Added a syzkaller reproducer 2023-01-30 09:50:19 +01:00
usr.bin gh-bc: don't force CFLAGS to -O0 -g 2023-02-02 19:20:18 +01:00
usr.sbin hyperv: Build and install where supported 2023-02-01 10:21:57 -07:00
.arcconfig
.arclint
.cirrus.yml Cirrus-CI: switch GCC job to GCC 12 2023-01-27 15:02:34 -05:00
.clang-format
.git-blame-ignore-revs Add git-blame ignore file 2023-01-23 15:27:25 -05:00
.gitattributes
.gitignore
COPYRIGHT Happy New Year 2023! 2023-01-01 13:44:43 +08:00
LOCKS
MAINTAINERS
Makefile universe: Switch GCC toolchains to GCC 12. 2023-01-27 13:35:13 -08:00
Makefile.inc1 Makefile.inc1: Restore adding tzsetup to _basic_bootstrap_tools 2023-01-29 23:53:04 +00:00
Makefile.libcompat
Makefile.sys.inc
ObsoleteFiles.inc timeout: Move from /usr/bin to /bin 2023-02-02 18:34:35 +01:00
README.md
RELNOTES Note upgrade to sendmail 8.17.1 2023-02-01 02:23:02 +00:00
UPDATING UPDATING: Add missing blank line between entries 2023-01-30 08:28: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.