FreeBSD src
Go to file
John Baldwin e89d5f43da Threads holding a read lock of a sleepable rm lock are not permitted
to sleep.  The rmlock implementation enforces this by disabling
sleeping when a read lock is acquired. To simplify the implementation,
sleeping is disabled for most of the duration of rm_rlock.  However,
it doesn't need to be disabled until the lock is acquired.  If a
sleepable rm lock is contested, then rm_rlock may need to acquire the
backing sx lock.  This tripped the overly-broad assertion.  Fix by
relaxing the assertion around the call to sx_xlock().

Reported by:	mjg
Reviewed by:	kib, mjg
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D3324
2015-09-15 22:16:21 +00:00
bin Expose an interface to determine if an ACE is inherited. 2015-09-04 00:14:20 +00:00
cddl Remove an unneeded typedef of ip6_t from the DTrace ip provider library. 2015-09-15 05:16:26 +00:00
contrib Update lldb's FREEBSD-Xlist to match reality. 2015-09-06 11:48:50 +00:00
crypto Fix OpenSSH multiple vulnerabilities by backporting three changes 2015-08-25 20:48:37 +00:00
etc Use read to parse a line instead of set. 2015-09-10 06:56:56 +00:00
games Correctly case FreeBSD in my entry in the tips file 2015-09-08 22:51:10 +00:00
gnu Remove .WAIT hacks and put in specific dependencies. 2015-08-28 16:23:03 +00:00
include Use bool rather than _Bool for C++ compatibility. 2015-08-19 18:32:12 +00:00
kerberos5 Move setting of LDFLAGS to the modules which require it actually, as 2015-08-27 17:16:18 +00:00
lib Use unsigned variables in a few places. 2015-09-14 18:59:01 +00:00
libexec Fix how we place each objects thread local data. The code used was based 2015-09-01 15:57:03 +00:00
release Whitespace alignment 2015-09-11 22:42:26 +00:00
rescue Add META_MODE support. 2015-06-13 19:20:56 +00:00
sbin Add a way to specify stripesize and stripeoffset to gnop(8). This makes 2015-09-15 18:01:59 +00:00
secure Remove remnant from USEPRIVATELIB removal 2015-09-04 16:13:25 +00:00
share Bump .Dd. 2015-09-15 13:24:52 +00:00
sys Threads holding a read lock of a sleepable rm lock are not permitted 2015-09-15 22:16:21 +00:00
targets Roll WITHOUT_ELFTOOLCHAIN_TOOLS into WITHOUT_TOOLCHAIN 2015-08-13 17:50:47 +00:00
tests Use _exit() instead of exit() in child processes created during tests. 2015-09-09 22:54:07 +00:00
tools Add missing BINDIR variable. 2015-09-14 12:25:45 +00:00
usr.bin Make it clear that 'swapuse' is swap reservation and not actual swap usage. 2015-09-14 15:37:19 +00:00
usr.sbin Add ctl-lun config option for consistency in HA setups. 2015-09-15 13:37:48 +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. 2014-12-31 10:00:43 +00:00
LOCKS Explicitly require Security Officer's approval for kernel PRNG bits. 2013-09-17 14:19:05 +00:00
MAINTAINERS Remove cokane@ from MAINTAINERS for 3dfx(4)/tdfx(4) because their email 2014-11-25 05:25:12 +00:00
Makefile Fix generation of src.conf.5 2015-07-03 06:10:09 +00:00
Makefile.inc1 Fix grammer in an error message 2015-09-15 14:24:19 +00:00
ObsoleteFiles.inc Belatedly add entries for libugidfw.so.4 to catch up with r284745. 2015-08-26 18:22:59 +00:00
README README: changes and fixups 2015-04-19 07:16:44 +00:00
UPDATING Add reminder to run etcupdate or mergemaster to get updated 2015-08-29 07:59:31 +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