OPNsense - FreeBSD source
Find a file
Kyle Evans 09fe5cc789 tests: kqueue: improve diagnostics for our CPONFORK test
Notably, confirm in the child that our close-on-fork fd is actually
closed, and break RECV_ALL out into a table and check each bit
individually to provide a better message when the test fails.

While we're here, just switch to waitid() rather than trying to identify
the point where we have to make the switch.  This reduces maintenance
slightly, as keeping our assertion static would require still adding to
a _RECV_ALL mask *just* for that purpose.

Reviewed by:	kib, markj (both slightly earlier version)

(cherry picked from commit 51d2c38010824b90d7462711896a88165db9d015)
2026-04-23 08:48:45 -05:00
.cirrus-ci
.github .github: support all stable branches 2026-04-02 11:11:44 +01:00
bin sh: Increase default history size to POSIX mandated minimum of 128 2026-04-15 21:33:35 -04:00
cddl ctfmerge: fix segfault when building on macOS 2025-12-15 14:22:54 -08:00
contrib libfido2: Update to 1.16.0 2026-04-22 10:24:02 -04:00
crypto crypto/openssl: update artifacts to match 3.5.6 release artifacts 2026-04-11 19:14:40 -07:00
etc pkgbase: Move all of Kyua into the kyua package 2026-04-07 15:52:09 +00:00
gnu diff3: Move to own package 2025-10-03 09:52:43 -07:00
include unistd.h: _Fork(2) is required by POSIX 2024 2026-04-17 03:42:38 +03:00
kerberos5 heimdal-kadmin: Add support for the -f dump option 2025-10-07 18:47:21 -07:00
krb5 krb5: Make the build a bit quieter 2026-03-31 15:57:28 +00:00
lib libutil: avoid an out-of-bounds read in trimdomain(3) 2026-04-23 08:48:43 -05:00
libexec virtual_oss: Introduce virtual_oss_default_control_device rc variable 2026-04-23 10:41:15 +02:00
release Revert "EC2: Add clibs-lib32 pkg to small/builder images" 2026-04-22 15:42:21 -07:00
rescue nvmf: Switch several ioctls to using nvlists 2024-12-30 13:52:21 -05:00
sbin virtual_oss: Introduce virtual_oss_default_control_device rc variable 2026-04-23 10:41:15 +02:00
secure crypto/openssl: add new manpage from release 3.5.6 2026-04-11 19:15:00 -07:00
share rc.conf.5: Document virtual_oss(8) 2026-04-23 10:41:15 +02:00
stand stand/powerpc: Fix a typo in a source code comment 2026-04-22 11:21:23 +02:00
sys <sys/extattr.h>: use designated initializers for EXTATTR_NAMESPACE_NAMES 2026-04-23 08:48:44 -05:00
targets blocklist: Rename blacklist to blocklist 2025-10-14 00:53:16 +00:00
tests tests: kqueue: improve diagnostics for our CPONFORK test 2026-04-23 08:48:45 -05:00
tools INIT_ALL: Fix typo in option description 2026-04-22 10:23:13 -04:00
usr.bin find: add -xattr and -xttrname 2026-04-23 08:48:44 -05:00
usr.sbin iwmbtfw(8): Identify device type based on HCI quieries result 2026-04-22 22:59:03 +03:00
.arcconfig
.arclint
.cirrus.yml Cirrus-CI: Switch back to tzst packages, but use level 1 2025-10-14 20:47:10 -04:00
.clang-format clang-format: adjust to sort C++ headers per style(9) 2026-02-21 19:44:24 -08:00
.clean_build_epoch build: introduce the notion of a build epoch 2025-08-14 23:43:42 -05:00
.git-blame-ignore-revs git-blame-ignore-revs: witness white space cleanup and style(9) tweeks 2025-08-29 18:01:43 +08:00
.gitattributes Remove SVN related Git attributes 2023-12-26 10:28:28 -07:00
.gitignore src.sys.mk: Support src.conf in SRCTOP 2025-09-16 13:27:43 +00: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 capsicum-test: Move out of contrib 2026-02-06 11:15:09 -05:00
Makefile Makefile: Update doxygen requirements 2026-02-05 16:49:54 -05:00
Makefile.inc1 packages: Always use the bootstrap flua 2026-04-12 20:12:16 +01: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.inc: remove stale allwinner pages 2026-04-16 12:17:35 -03:00
README.md Update README.md to add pointer to release page. 2024-05-09 20:40:46 -06:00
RELNOTES RELNOTES: Add entry for 0c370a416b 2026-02-12 12:47:53 -07:00
UPDATING UPDATING: Bump __FreeBSD_version to 1500508 2026-04-22 21:04:02 +00: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.