OPNsense - FreeBSD source
Find a file
Mariusz Zaborski 025789eaa6 libnv: switch fd_wait() from select(2) to poll(2)
The previous implementation used FD_SET() on a stack-allocated fd_set,
which is an out-of-bounds write whenever the socket fd is >= FD_SETSIZE
(1024).

Approved by:	so
Security:	FreeBSD-SA-26:16.libnv
Security:	CVE-2026-39457
Reported by:	Joshua Rogers of AISLE Research Team (https://aisle.com/)
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D56689
2026-04-29 14:40:57 +00:00
.cirrus-ci Cirrus-CI: add some timing info on pkg install failure 2021-08-04 15:02:00 -04:00
.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 Fix memory corruption bugs in BSM record parsing 2026-04-28 23:16:59 -05: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 include/stdbit.h: declare size_t, (u)int*_t, and (u)int_least*_t 2026-04-27 02:29:49 +02: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 libnv: switch fd_wait() from select(2) to poll(2) 2026-04-29 14:40:57 +00:00
libexec rtld: silence clang's unterminated-string-initialization warning 2026-04-24 11:26:39 -04:00
release release.sh: document user-overriddable functions 2026-04-25 09:21:42 -07:00
rescue nvmf: Switch several ioctls to using nvlists 2024-12-30 13:52:21 -05:00
sbin dhclient: Fix reallocation of dhclient script environments 2026-04-29 14:40:57 +00:00
secure [OpenSSL] Add missing header file (openssl/ml_kem.h) 2026-04-25 09:07:56 -07:00
share mac_seeotheruids: allow specificgid to be a list of groups 2026-04-28 23:17:06 -05:00
stand boot1.chrp: Improve comment for the SLOF hack 2026-04-28 20:56:21 +01:00
sys pf: improve SCTP validation 2026-04-29 14:40:57 +00:00
targets blocklist: Rename blacklist to blocklist 2025-10-14 00:53:16 +00:00
tests pf: improve SCTP validation 2026-04-29 14:40:57 +00:00
tools ifinfo: improve output of hwassist value 2026-04-25 21:24:21 +02:00
usr.bin caesar: Add SPDX-License-Identifier tags 2026-04-28 09:21:29 -04:00
usr.sbin ctladm tests: Only use allowed chars in IQN 2026-04-29 09:28:55 +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: 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 .gitignore: ignore additional unwanted files 2026-04-25 09:31:43 -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 capsicum-test: Move out of contrib 2026-02-06 11:15:09 -05:00
Makefile universe: Bump default GCC version to 15 2026-04-24 11:32:34 -04:00
Makefile.inc1 Run make obj before running make test-includes 2026-04-25 09:22:33 -07: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 README: Update and harmonize 2026-04-25 17:11:25 +00: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 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.