No description
Find a file
Dag-Erling Smørgrav c340ef28fd certctl: Reimplement in C
Notable changes include:

* We no longer forget manually untrusted certificates when rehashing.

* Rehash will now scan the existing directory and progressively replace
  its contents with those of the new trust store.  The trust store as a
  whole is not replaced atomically, but each file within it is.

* We no longer attempt to link to the original files, but we don't copy
  them either.  Instead, we write each certificate out in its minimal
  form.

* We now generate a trust bundle in addition to the hashed diretory.
  This also contains only the minimal DER form of each certificate.
  This allows e.g. Unbound to preload the bundle before chrooting.

* The C version is approximately two orders of magnitude faster than the
  sh version, with rehash taking ~100 ms vs ~5-25 s depending on whether
  ca_root_nss is installed.

* We now also have tests.

Reviewed by:    kevans, markj
Differential Revision:  https://reviews.freebsd.org/D42320
Differential Revision:	https://reviews.freebsd.org/D51896
2025-08-18 16:28:29 +02:00
.cirrus-ci
.github .github: Use make.py's --cross-toolchain option on macOS 2025-08-06 16:14:37 -04:00
bin freebsd-version.8: Add back freebsd-update paragraph 2025-08-06 12:32:39 -04:00
cddl zfs: install zhack(1) manual page 2025-08-14 16:08:45 -07:00
contrib kyua: Improve required_kmods metadata 2025-08-16 23:19:43 +00:00
crypto Revert "ssh: sshd-session: properly save off the privileged gid" 2025-08-15 08:17:58 -05:00
etc certctl: Reimplement in C 2025-08-18 16:28:29 +02:00
gnu build: remove the last vestiges of lint support 2025-06-06 00:55:34 +01:00
include Revert "Remove Secure RPC DES authentication" 2025-08-15 17:59:18 +01:00
kerberos5 build: remove the last vestiges of lint support 2025-06-06 00:55:34 +01:00
krb5 krb5: Fix typo "SPDX-License-Idendifier" 2025-08-17 22:17:06 +01:00
lib pf: fix potential infinite loop adding/deleting addresses in tables 2025-08-18 12:03:23 +02:00
libexec rtld-elf: Fix VDSO Obj_Entry mapsize and report in utrace(2) 2025-08-15 23:21:35 +01:00
release sendmail: Move libmilter to its own package 2025-08-16 21:07:57 +01:00
rescue nvmf: Switch several ioctls to using nvlists 2024-12-30 13:52:21 -05:00
sbin pfctl: zero the number of added/deleted addresses 2025-08-18 12:04:01 +02:00
secure openssl: Import version 3.5.1 2025-08-07 15:54:34 +02:00
share certctl: Reimplement in C 2025-08-18 16:28:29 +02:00
stand stand/efi: Fix a typo in a source code comment 2025-08-17 11:23:45 +02:00
sys certctl: Reimplement in C 2025-08-18 16:28:29 +02:00
targets zfsboot: Remove zfsboot(8) program used to boot ZFS from MBR + BIOS 2025-07-28 10:58:02 -04:00
tests pf: fix potential infinite loop adding/deleting addresses in tables 2025-08-18 12:03:23 +02:00
tools test/netfibs: Fix a typo in a source code comment 2025-08-17 09:32:10 +02:00
usr.bin tcopy: Fix braino. 2025-08-17 19:38:56 +00:00
usr.sbin certctl: Reimplement in C 2025-08-18 16:28:29 +02:00
.arcconfig arcanist: use FreeBSD/git project repository instead of FreeBSD/svn 2022-08-23 14:16:41 +00:00
.arclint
.cirrus.yml .cirrus.yml: Switch to manual mode for internal CI 2025-07-06 14:40:24 +02:00
.clang-format clang-format: Minor tweaks 2024-04-30 17:33:43 -04:00
.clean_build_epoch build: introduce the notion of a build epoch 2025-08-14 23:43:42 -05:00
.git-blame-ignore-revs Fix: replace incorrect commit hash in .git-blame-ignore-revs 2025-08-07 12:01:17 -04:00
.gitattributes Remove SVN related Git attributes 2023-12-26 10:28:28 -07:00
.gitignore .gitignore: add sys/*/compile 2024-02-02 09:20:36 -07:00
.mailmap mailmap: Add Joyu Liao 2025-06-26 14:13:21 +02:00
CONTRIBUTING.md CONTRIBUTING: Tweak the language 2025-08-08 11:16:13 -06:00
COPYRIGHT copyright: Happy New Year 2025 2025-01-01 00:04:28 +00:00
LOCKS Update LOCKS for Git 2023-12-26 10:28:25 -07:00
MAINTAINERS man filesystems: fix more xrefs after move to s4 2024-06-27 18:32:05 -06:00
Makefile powerpc: Disconnect 32-bit powerpc from make universe 2025-07-14 11:01:09 -04:00
Makefile.inc1 certctl: Reimplement in C 2025-08-18 16:28:29 +02:00
Makefile.libcompat Makefile.libcompat: Tweak krb5 compat dirs 2025-08-17 02:19:21 +01:00
Makefile.sys.inc Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
ObsoleteFiles.inc Revert "Remove Secure RPC DES authentication" 2025-08-15 17:59:18 +01:00
README.md Update README.md to add pointer to release page. 2024-05-09 20:40:46 -06:00
RELNOTES jemalloc: Note update in UPDATING and RELNOTES 2025-08-15 15:57:59 -06:00
UPDATING UPDATING: Add an entry for the libmilter package move 2025-08-16 21:18:28 +01: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 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.