OPNsense - FreeBSD source
Find a file
Warner Losh 1397c8ebb7 nvme: Sanity check completion id
Make sure the completion ID is in the range of [0..num_trackers) since
the values past the end of the act_tr array are never going to be valid
trackers and will lead to pain and suffering if we try to dereference
them to get the tracker or to set the tracker back to NULL as we
complete the I/O.

Sponsored by:		Netflix
Reviewed by:		mav, chs, chuck
Differential Revision:	https://reviews.freebsd.org/D32088

(cherry picked from commit 36a87d0c6f)
2022-01-20 21:07:30 -05:00
.cirrus-ci Cirrus-CI: retry pkg installation on failure 2021-06-10 08:54:52 -04:00
.github/workflows .github: Attempt to un-break Clang 9 action 2021-05-29 04:38:07 +01:00
bin echo(1): Replace errexit() with err(3) 2022-01-07 14:12:12 +01:00
cddl ctfconvert: Handle arrays of empty structs 2022-01-07 09:03:02 -05:00
contrib netbsd-tests: Fix the libc stat_socket test 2022-01-20 19:52:36 -05:00
crypto Add assembly optimized code for OpenSSL on powerpc, powerpc64 and powerpc64le 2021-12-29 14:45:29 +01:00
etc pkgbase: Create a FreeBSD-mtree package 2022-01-05 18:23:52 +01:00
gnu Bump shared library versions after ncurses bump in 13. 2021-02-04 17:51:45 -08:00
include sys/bitset.h: reduce visibility of BIT_* macros 2022-01-14 18:17:30 +02:00
kerberos5 pkgbase: Create a FreeBSD-kerberos package 2022-01-05 18:23:50 +01:00
lib libc: correct SPDX tag on strstr.c 2022-01-18 19:32:29 -05:00
libexec Fix gssd rc.d installation 2022-01-14 14:43:40 +01:00
release pkgbase: Add a FreeBSD-pkg-bootstrap package 2022-01-05 18:23:53 +01:00
rescue Fix building rescue/rescue when sanitizers are enabled 2021-08-05 09:59:51 +01:00
sbin fsck(8): Fix typo 2022-01-15 20:34:18 +08:00
secure Add assembly optimized code for OpenSSL on powerpc, powerpc64 and powerpc64le 2021-12-29 14:45:29 +01:00
share Make CPU_SET macros compliant with other implementations 2022-01-14 18:17:30 +02:00
stand loader: Fix dtb loading 2022-01-14 14:44:36 +01:00
sys nvme: Sanity check completion id 2022-01-20 21:07:30 -05:00
targets Fix bootstrapping to actually build lldb-tblgen for later use 2021-09-07 13:08:18 +01:00
tests fusefs: implement VOP_ALLOCATE 2022-01-17 18:13:28 -07:00
tools depend-cleanup.sh: Make the output message more precise 2021-12-13 08:27:31 -05:00
usr.bin truss(1): detach more carefully 2022-01-19 02:46:08 +02:00
usr.sbin usbconfig: actually set the exit code in usage() 2022-01-18 22:12:48 +01:00
.arcconfig arcconfig: add callsign again 2020-11-23 04:39:29 +00:00
.arclint arc lint: ignore /tests/ in chmod 2017-12-19 03:38:06 +00:00
.cirrus.yml Cirrus-CI: build with LLVM 13 package 2022-01-07 19:14:12 -05:00
.clang-format clang-format: Add bitset loop macros 2021-11-01 09:20:11 -04:00
.gitattributes Add a basic clang-format configuration file 2019-06-07 15:23:52 +00:00
.gitignore add exuberant ctags tags file to gitignore 2022-01-11 15:25:37 +02:00
COPYRIGHT copyrights: Happy New Year 2021 2020-12-31 10:29:44 -05:00
LOCKS LOCKS: update current locks 2018-06-09 03:08:04 +00:00
MAINTAINERS Add a pointer to csprng@ for the CSPRNG driver. This is enforced anyway by 2020-09-01 08:02:12 +00:00
Makefile Fix 'make bmake' top-level bootstrapping. 2021-12-21 14:44:51 +01:00
Makefile.inc1 pkgbase: Track pkg 1.17 2022-01-14 14:50:41 +01:00
Makefile.libcompat Prefer MK_SSP=no to SSP_CFLAGS= 2021-08-11 13:56:28 -03:00
Makefile.sys.inc AUTO_OBJ: For all top-level targets enforce using an OBJDIR. 2017-12-05 21:29:47 +00:00
ObsoleteFiles.inc libefivar(3): efi_set_variables_supported.3 should be efi_variables_supported.3 2021-12-24 14:49:37 +08:00
README README.md: update gnu directory description 2021-12-19 21:01:53 -05:00
README.md README.md: update gnu directory description 2021-12-19 21:01:53 -05:00
RELNOTES RELNOTES: Add comment about WiFi 6 support 2021-11-22 10:42:11 -08:00
UPDATING Make CPU_SET macros compliant with other implementations 2022-01-14 18:17:30 +02:00

FreeBSD Source:

This is the top level of the FreeBSD source directory. This file was last revised on: FreeBSD

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), https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html, and https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html for more information, including setting make(1) variables.

Source Roadmap:

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* 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.

sys/<arch>/conf Kernel configuration files. GENERIC is the configuration
		used in release builds. NOTES contains documentation of
		all possible entries.

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:

https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html