FreeBSD source tree https://www.FreeBSD.org
  • C 61%
  • C++ 25.2%
  • Roff 4.7%
  • Shell 2.9%
  • Assembly 1.7%
  • Other 3.9%
Find a file
Ricardo Branco 98a868c61b
Some checks are pending
Cross-build Kernel / amd64 ubuntu-22.04 (clang-15) (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
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
linux: Support LINUX_PR_GET_NO_NEW_PRIVS prctl(2)
PR: 294651
Signed-off-by: Ricardo Branco <rbranco@suse.de>
Reviewed by: kib, pouria
Pull-Request: https://github.com/freebsd/freebsd-src/pull/2151
2026-04-22 12:57:41 +03:30
.cirrus-ci Cirrus-CI: add some timing info on pkg install failure 2021-08-04 15:02:00 -04:00
.github CI: Remove deprecated Fedora 41 2026-02-25 11:20:23 -08:00
bin sh: Increase default history size to POSIX mandated minimum of 128 2026-04-13 19:06:41 -04:00
cddl dtrace.1: Reference dtrace_cam.4 2026-03-20 13:10:59 +08:00
contrib libarchive: Staticize some variables 2026-04-18 10:25:35 +02:00
crypto crypto/openssl: update artifacts to match 3.5.6 release artifacts 2026-04-08 18:55:43 -07:00
etc arm64: Add arm64 SVE tests 2026-04-08 15:20:52 +01:00
gnu Retire GNU diff3 2026-02-21 20:53:19 -05:00
include include/stdbit.h: declare size_t, (u)int*_t, and (u)int_least*_t 2026-04-20 22:59:54 +02:00
kerberos5 heimdal-kadmin: Add support for the -f dump option 2025-10-05 09:18:35 -07:00
krb5 krb5: append to LDFLAGS instead of replacing 2026-03-20 10:19:35 -07:00
lib kern/proc: expose reaper PID and subtree root in struct kinfo_proc 2026-04-22 02:36:07 +03:00
libexec rtld: fix processing of preloaded z_initfirst objects 2026-04-20 20:25:20 +03:00
release Revert "EC2: Add clibs-lib32 pkg to small/builder images" 2026-04-13 12:42:57 -07:00
rescue Remove additional libtpool and libuutil-related files 2026-02-03 23:33:04 -08:00
sbin ifconfig: Fix segfault in geneve_status_nl 2026-04-21 15:47:00 +03:30
secure [OpenSSL] Add missing header file (openssl/ml_kem.h) 2026-04-12 11:07:24 -07:00
share tests.7: Provide better examples 2026-04-22 10:19:32 +02:00
stand stand/powerpc: Fix a typo in a source code comment 2026-04-19 10:12:02 +02:00
sys linux: Support LINUX_PR_GET_NO_NEW_PRIVS prctl(2) 2026-04-22 12:57:41 +03:30
targets Retire GNU diff3 2026-02-21 20:53:19 -05:00
tests tests/netinet6: fix missing require.progs 2026-04-22 10:46:26 +02:00
tools makeman.lua: catch up to REQUIRED_OPTIONS change 2026-04-21 21:32:23 -05:00
usr.bin printenv: Clean up 2026-04-22 10:19:39 +02:00
usr.sbin bsdinstall.8: Document DISTRIBUTIONS defaults correctly 2026-04-21 11:14:14 +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 Update vendor/libarchive to 3.8.7 2026-04-13 15:29:20 +02: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 chore: ignore style(9) changes made in dd1410321 2026-02-08 12:09:27 -08: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 AUTHORS: add names of recent new contributors 2026-02-09 10:11:09 -08: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 MAINTAINERS, CODEOWNERS: Add myself for vt(4) review 2026-02-08 12:41:58 -05:00
Makefile universe: Bump default GCC version to 15 2026-02-06 10:32:58 -05:00
Makefile.inc1 pkgbase: only provide shlibs from /lib,/usr/lib,/usr/lib32 2026-04-13 16:03:22 -04: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 posix_spawn: actions chdir and fchdir are now required by POSIX 2026-04-03 11:22:53 +03:00
README.md README: Update and harmonize 2026-04-18 16:12:32 +02:00
RELNOTES RELNOTES: catchup on changes I have made 2026-04-09 08:58:21 +02:00
UPDATING rc.d/NETWORKING: remove the NETWORK alias 2026-04-15 11:06:32 +02: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.
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.