freebsd with flexible iflib nic queues
Go to file
Mark Johnston 785eb42adf Clear the cookie pointer on error in tmpfs_readdir().
It is otherwise left dangling, and callers that request cookies always free
the cookie buffer, even when VOP_READDIR(9) returns an error. This results
in a double free if tmpfs_readdir() returns an error to the NFS server or
the Linux getdents(2) emulation code.

Reported by:	pho
MFC after:	1 week
Security:	double free of malloc(9)-backed memory
Sponsored by:	EMC / Isilon Storage Division
2016-02-12 20:43:53 +00:00
bin Rename P_KTHREAD struct proc p_flag to P_KPROC. 2016-02-09 16:30:16 +00:00
cddl MFV 295046: 6358 A faulted pool with only unavailable vdevs triggers 2016-01-29 17:20:59 +00:00
contrib Use the new insecure-lan-zones option instead of listing each AS112 zone 2016-02-11 17:37:02 +00:00
crypto Document our modified default value for PermitRootLogin. 2016-02-02 10:02:38 +00:00
etc Interpret vnet_interface/vnet.interface as array 2016-02-12 02:50:36 +00:00
gnu Make .debug file for libgcc_s.so.1 more useful. 2016-01-27 20:20:35 +00:00
include POSIX states that #include <signal.h> shall make both mcontext_t and 2016-02-12 07:38:19 +00:00
kerberos5 DIRDEPS_BUILD: Update dependencies. 2015-12-07 23:53:01 +00:00
lib Fix double-free error: r289419 moved all error handling in http_connect() 2016-02-11 17:48:15 +00:00
libexec Fix the type for hw.ncpu, so sysctlbyname doesn't consistently fail on 2016-01-30 17:54:18 +00:00
release Increase efiboot.img size used in ISO creation 2016-01-13 14:47:13 +00:00
rescue Fix the build after ifconfig was converted over to lib80211 in r291470 2015-11-30 16:34:13 +00:00
sbin Delete argsize to fix a -Wunused-but-set-variable warning with gcc 4.9 2016-02-01 08:06:17 +00:00
secure Merge OpenSSL 1.0.2f. 2016-01-28 20:15:22 +00:00
share Document the new jail_reverse_stop parameter 2016-02-12 17:55:06 +00:00
sys Clear the cookie pointer on error in tmpfs_readdir(). 2016-02-12 20:43:53 +00:00
targets Restore kgzldr on i386 only 2016-02-08 16:59:52 +00:00
tests Similar to r295116, add an additional 1 second sleep after calling ggatel 2016-02-10 17:57:24 +00:00
tools Remove unbound-contrl-setup since we use a local control socket which 2016-02-11 17:33:55 +00:00
usr.bin Rename variable to reflect the condition. 2016-02-09 18:35:37 +00:00
usr.sbin Don't check CmdSN for initial login request. 2016-02-12 10:58:13 +00:00
.arcconfig Add repository.callsign, to help arcanist figure out what repo it's 2015-07-02 22:23:52 +00:00
.arclint phabricator related changes: 2015-04-20 20:33:22 +00:00
COPYRIGHT Bump copyright year. 2015-12-31 11:21:45 +00:00
LOCKS
MAINTAINERS Add interests/maintainerships + notes 2015-12-28 19:29:05 +00:00
Makefile Fix make universe when running with non POSIX/C locales using a locale sensitive 2016-02-10 00:26:01 +00:00
Makefile.inc1 Simplify running the FreeBSD test suite 2016-02-07 18:40:04 +00:00
ObsoleteFiles.inc Remove unbound-contrl-setup since we use a local control socket which 2016-02-11 17:33:55 +00:00
README Import OpenSSL 1.0.2f. 2016-01-28 18:41:59 +00:00
UPDATING Add a sysctl to allow ZFS pools backed by zvols 2016-01-29 17:08:26 +00:00

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

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

The `buildkernel` and `installkernel` targets build and install
the kernel and the modules (see below).  Please see the top of
the Makefile in this directory for more information on the
standard build targets and compile-time flags.

Building a kernel is a somewhat more involved process.  See build(7), config(8),
and http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html
for more information.

Note: If you want to build and install the kernel with the
`buildkernel` and `installkernel` targets, you might need to build
world before.  More information is available in the handbook.

The kernel configuration files reside in the sys/<arch>/conf
sub-directory.  GENERIC is the default configuration used in release builds.
NOTES contains entries and documentation for all possible
devices, not just those commonly used.


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.

games		Amusements.

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.

sys		Kernel sources.

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:

  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html