FreeBSD source tree https://www.FreeBSD.org
  • C 59.6%
  • C++ 27%
  • Roff 4.5%
  • Shell 2.8%
  • Assembly 1.7%
  • Other 3.8%
Find a file
Mateusz Piotrowski 75a94ae7d1
Some checks are pending
Cross-build Kernel / amd64 ubuntu-22.04 (clang-15) (push) Waiting to run
Cross-build Kernel / aarch64 ubuntu-22.04 (clang-15) (push) Waiting to run
Cross-build Kernel / amd64 ubuntu-24.04 (clang-18) (push) Waiting to run
Cross-build Kernel / aarch64 ubuntu-24.04 (clang-18) (push) Waiting to run
Cross-build Kernel / amd64 macos-latest (clang-18) (push) Waiting to run
Cross-build Kernel / aarch64 macos-latest (clang-18) (push) Waiting to run
inetd: Add missing argument to the -p flag description
While here, use the more specific "pidfile" consistently instead of
ambiguous "filename".

Reviewed by:	ziaee
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D57531
2026-06-10 21:52:16 +02:00
.cirrus-ci Cirrus-CI: add some timing info on pkg install failure 2021-08-04 15:02:00 -04:00
.github OpenSSL: update MAINTAINERS/CODEOWNERS 2026-06-09 12:37:52 -07:00
bin cp(1): fix -P documentation to reflect it works without -R 2026-06-10 06:35:03 -06:00
cddl zfs: merge openzfs/zfs@a170134fe 2026-06-06 22:48:32 +02:00
contrib ldns: Fix query response validation 2026-06-09 19:13:21 +00:00
crypto crypto/openssl: update artifacts to match 3.5.7 release 2026-06-10 08:32:35 -07:00
etc ntsync: install headers for userspace consumption 2026-05-31 20:14:47 +03:00
gnu Retire GNU diff3 2026-02-21 20:53:19 -05:00
include libc: Suppress <stdalign.h> content for C23 and later 2026-06-10 18:14:32 +02:00
kerberos5 heimdal-kadmin: Add support for the -f dump option 2025-10-05 09:18:35 -07:00
krb5 krb5: Adjust additional version strings 2026-05-01 07:40:19 -07:00
lib hcreate(3): fix incorrect claim that hdestroy frees keys 2026-06-10 06:35:05 -06:00
libexec nuageinit: validate set-name to prevent shell injection in variable names 2026-06-09 18:04:25 +02:00
packages smart: Connect contrib/smart to build 2026-05-11 15:18:52 -07:00
release GCE: Apply public-image label on GCE images 2026-06-09 19:33:12 -07:00
rescue Remove additional libtpool and libuutil-related files 2026-02-03 23:33:04 -08:00
sbin etherswitchcfg(8): document atu commands 2026-06-10 06:35:04 -06:00
secure crypto/openssl: update artifacts to match 3.5.7 release 2026-06-10 08:32:35 -07:00
share re(4): document jumbo frame support for 8168/8111 chips 2026-06-10 06:35:04 -06:00
stand loader.efi: Search boot device before foreign ZFS pools 2026-06-09 17:33:05 -06:00
sys elf_common: Add FDO package metadata note type 2026-06-10 11:45:34 -04:00
targets Retire GNU diff3 2026-02-21 20:53:19 -05:00
tests mac_portacl tests: rewrite the test program and test unspecific family. 2026-06-10 06:35:03 -06:00
tools depend-cleanup.sh: rebuild strrchr.o on riscv64 if it came from strrchr.S 2026-06-07 23:00:25 +02:00
usr.bin mail(1): fix temporary file path in FILES section 2026-06-10 06:35:04 -06:00
usr.sbin inetd: Add missing argument to the -p flag description 2026-06-10 21:52:16 +02:00
.arcconfig arcanist: use FreeBSD/git project repository instead of FreeBSD/svn 2022-08-23 14:16:41 +00:00
.arclint arc lint: ignore /tests/ in chmod 2017-12-19 03:38:06 +00:00
.cirrus.yml Cirrus-CI: Bump toolchain to LLVM 21 2026-05-12 20:29:30 -04:00
.clang-format clang-format: adjust to sort C++ headers per style(9) 2026-01-30 20:14:10 -08:00
.clean_build_epoch build: introduce the notion of a build epoch 2025-08-14 23:43:42 -05:00
.editorconfig Add .editorconfig 2026-03-07 00:51:15 -07:00
.git-blame-ignore-revs .git-blame-ignore-revs: <assert.h> whitespace changes: Fix comment 2026-06-04 15:33:59 +02:00
.gitattributes Remove SVN related Git attributes 2023-12-26 10:28:28 -07:00
.gitignore .gitignore: ignore additional unwanted files 2026-02-21 19:00:06 -08:00
.mailmap mailmap: translate siva@'s personal email 2026-01-16 13:23:09 -05:00
CONTRIBUTING.md CONTRIBUTING: fix typos in GitHub contribution guide 2026-04-21 15:19:36 -04:00
COPYRIGHT copyright: Happy New Year 2026! 2026-01-01 00:29:23 +00:00
LOCKS Update LOCKS for Git 2023-12-26 10:28:25 -07:00
MAINTAINERS OpenSSL: update MAINTAINERS/CODEOWNERS 2026-06-09 12:37:52 -07:00
Makefile universe: emit warning instead of error for bad/missing KERNCONF 2026-05-21 10:17:03 -04:00
Makefile.inc1 check-old-libs: Show information about packages 2026-06-06 09:54:21 +02:00
Makefile.libcompat Makefile.libcompat: Use same PATH for _lc_build-tools as _build-tools 2025-08-22 21:46:15 +01:00
Makefile.sys.inc Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
ObsoleteFiles.inc ObsoleteFiles: Add some ancient locale symlinks 2026-06-02 10:38:16 +02:00
README.md README.md: Add packages/ directory 2026-05-06 15:46:29 +01:00
RELNOTES RELNOTES: Add entries for various commits through early March 2026 2026-05-26 11:52:18 -04:00
UPDATING bsdinstall: do pkgbase installations with the "script" command 2026-05-12 08:13:16 -06: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.

For official FreeBSD bootable images, see the release page.

Source Roadmap:

Directory Description
bin System/user commands.
cddl Source code for third-party software under the Common Development and Distribution License.
contrib Source code for third-party software.
crypto Source code for cryptographic libraries and commands (see crypto/README).
etc Template files for /etc.
gnu Source code for third-party software 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 Build system for Kerberos 5 (Heimdal).
krb5 Build system for Kerberos 5 (MIT).
lib System libraries.
libexec System commands intended to be executed by other commands or daemons.
packages Base system packages.
release Makefiles and scripts used for building releases and VM images.
rescue Build system for statically linked /rescue commands.
sbin System commands.
secure Build system for cryptographic libraries and commands (excluding Kerberos).
share Shared resources.
stand Boot loader sources.
sys Kernel sources (see sys/README.md).
targets Support for experimental DIRDEPS_BUILD
tests Tests which can be run by Kyua. See tests/README for additional information.
tools Ancillary utilities and tests (not included in the build).
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.