1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-15 15:06:42 +00:00
Mirror of the FreeBSD src repository https://git.FreeBSD.org/src.git .
Go to file
Alexander Motin 99fa47de81 Fix several iov handling bugs in bhyve virtio-scsi backend.
- buf_to_iov() does not use buflen parameter, allowing out of bound read.
 - buf_to_iov() leaks memory if seek argument > 0.
 - iov_to_buf() doesn't need to reallocate buffer for every segment.
 - there is no point to use size_t for iov counts, int is more then enough.
 - some iov function arguments can be constified.
 - pci_vtscsi_request_handle() used truncate_iov() incorrectly, allowing
   getting out of buffer and possibly corrupting data.
 - pci_vtscsi_controlq_notify() written returned status at wrong offset.
 - pci_vtscsi_controlq_notify() leaked one buffer per event.

Reported by:	wg
Reviewed by:	araujo
MFC after:	1 week
Sponsored by:	iXsystems, Inc.
Differential Revision:	https://reviews.freebsd.org/D18465
2018-12-07 20:30:00 +00:00
bin Clarify that /dev/kmem is not used. 2018-12-03 20:01:51 +00:00
cddl
contrib Consider the following situation: 2018-12-07 03:13:36 +00:00
crypto Merge OpenSSL 1.1.1a. 2018-11-20 21:10:04 +00:00
etc BSD.debug.dist: add newly added nvmecontrol directory 2018-12-07 16:52:52 +00:00
gnu Do not install GNU ld if lld is /usr/bin/ld 2018-11-26 17:07:35 +00:00
include Import OpenSSL 1.1.1a. 2018-11-20 18:59:41 +00:00
kerberos5
lib Let the cap_syslog capability inherit stdio descriptors. 2018-12-07 15:52:50 +00:00
libexec Tidy up arm64 reloc_jmpslots() implementation. 2018-12-05 10:30:53 +00:00
release mkisoimages.sh: don't use -p flag when copying loader.efi to msdosfs. 2018-12-03 22:31:57 +00:00
rescue rescue: set NO_SHARED in Makefile 2018-11-19 22:18:18 +00:00
sbin Update paths based on last-minute changes from libexec to lib. 2018-12-06 23:40:56 +00:00
secure Merge OpenSSL 1.1.1a. 2018-11-20 21:10:04 +00:00
share Dynamically load .so modules to expand functionality 2018-12-06 22:58:26 +00:00
stand Don't reference zfs-specific variables if LOADER_ZFS_SUPPORT is undefined 2018-12-06 20:28:09 +00:00
sys fd: use racct_set_unlocked 2018-12-07 16:51:38 +00:00
targets retire LINKER_FEATURES filter flag 2018-11-12 20:44:22 +00:00
tests gmirror: Evaluate mirror components against newest metadata copy 2018-12-07 02:44:04 +00:00
tools Remove test for KSE (removed in 2008). 2018-12-04 00:22:08 +00:00
usr.bin Rename riscv64-freebsd.c to riscv-freebsd.c. 2018-12-06 22:35:07 +00:00
usr.sbin Fix several iov handling bugs in bhyve virtio-scsi backend. 2018-12-07 20:30:00 +00:00
.arcconfig
.arclint
.gitattributes sfxge(4): fix incorrectly set svn properties 2018-11-26 07:30:47 +00:00
.gitignore
COPYRIGHT
LOCKS
MAINTAINERS
Makefile Update comment about 'universe' disk usage 2018-11-10 19:09:48 +00:00
Makefile.inc1 Fix newvers.sh with BUILD_WITH_STRICT_TMPPATH=1 2018-12-05 10:57:57 +00:00
Makefile.libcompat Use ...-freebsd13.0 in -target strings. 2018-11-12 16:55:20 +00:00
Makefile.sys.inc
ObsoleteFiles.inc - Add a belated UPDATING entry for the ixlv(4) -> iavf(4) rename in r339338. 2018-11-27 12:11:16 +00:00
README Import OpenSSL 1.1.1a. 2018-11-20 18:59:41 +00:00
README.md
UPDATING - Add a belated UPDATING entry for the ixlv(4) -> iavf(4) rename in r339338. 2018-11-27 12:11:16 +00: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		Various commands and libraries under the GNU Public License.
		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