Find a file
Robert Watson 1aa37f5392 Improve locking of pipe mutexes in the context of MAC:
(1) Where previously the pipe mutex was selectively grabbed during
    pipe_ioctl(), now always grab it and then release if if not
    needed.  This protects the call to mac_check_pipe_ioctl() to
    make sure the label remains consistent.  (Note: it looks
    like sigio locking may be incorrect for fgetown() since we
    call it not-by-reference and sigio locking assumes call by
    reference).

(2) In pipe_stat(), lock the pipe if MAC is compiled in so that
    the call to mac_check_pipe_stat() gets a locked pipe to
    protect label consistency.  We still release the lock before
    returning actual stat() data, risking inconsistency, but
    apparently our pipe locking model accepts that risk.

(3) In various pipe MAC authorization checks, assert that the pipe
    lock is held.

(4) Grab the lock when performing a pipe relabel operation, and
    assert it a little deeper in the stack.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-10-01 04:30:19 +00:00
bin Remove some kind of profiling support that required the 4.2BSD monitor() 2002-10-01 01:30:33 +00:00
contrib Resolve conflicts (fix spelling errors). 2002-09-30 08:46:23 +00:00
crypto This commit was generated by cvs2svn to compensate for changes in r104204, 2002-09-30 11:48:23 +00:00
etc - Recognize 'idt' interfaces. 2002-09-30 08:01:43 +00:00
games Correct the description of what fortunes get installed (by default, also the 2002-09-24 19:00:52 +00:00
gnu Pass our idea of a manpage's locale from man(1) down to mdoc(7). 2002-09-30 11:00:04 +00:00
include Don't install mqueue.h, since it only makes things harder for porting 2002-09-30 17:14:26 +00:00
kerberos5 Zap now-unused SHLIB_MINOR 2002-09-28 00:25:32 +00:00
kerberosIV Zap now-unused SHLIB_MINOR 2002-09-28 00:25:32 +00:00
lib Fix typo, should zero the kinfo_proc's siglist, not the real one's - the real 2002-10-01 00:28:14 +00:00
libexec Use the standardized CHAR_BIT constant instead of NBBY in userland. 2002-09-25 04:06:37 +00:00
release Note MFCs of lock(1) -v and vidcontrol(1) -S. 2002-09-30 19:04:59 +00:00
sbin - bzero() allocations. 2002-09-30 09:00:03 +00:00
secure Don't lint contrib'ed sources, even if the builder has asked for linting. 2002-09-25 09:58:00 +00:00
share Regen: 2002-09-30 10:41:22 +00:00
sys Improve locking of pipe mutexes in the context of MAC: 2002-10-01 04:30:19 +00:00
tools Update to match current kernel code. 2002-09-27 22:20:53 +00:00
usr.bin Fix spurious three-space indentation in a four-space indentation file. 2002-09-29 00:20:28 +00:00
usr.sbin Remove bogus comments about why we do some silly things, and instead 2002-09-29 23:56:33 +00:00
COPYRIGHT
MAINTAINERS Point at myself for reviews on commits to the MAC Framework and 2002-09-01 15:55:38 +00:00
Makefile Add "make universe" target which: 2002-09-26 04:40:54 +00:00
Makefile.inc1 Initiate deorbit burn for the i386-only a.out related support. Moves are 2002-09-17 01:49:00 +00:00
Makefile.upgrade Removed "env" commands. "sh" is a real shell, so 2002-03-19 05:58:36 +00:00
README Fix broken handbook links. 2002-07-21 16:45:30 +00:00
UPDATING gcc 3.2 2002-09-03 06:13:43 +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, the most
commonly used one being ``world'', which rebuilds and installs
everything in the FreeBSD system from the source tree except the
kernel, the kernel-modules and the contents of /etc.  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, documentation
for which can be found at:
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html
And in the config(8) man page.
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 sample kernel configuration files reside in the sys/<arch>/conf
sub-directory (assuming that you've installed the kernel sources), the
file named GENERIC being the one used to build your initial installation
kernel.  The file NOTES contains entries and documentation for all possible
devices, not just those commonly used.  It is the successor of the ancient
LINT file, but in contrast to LINT, it is not buildable as a kernel but a
pure reference and documentation file.


Source Roadmap:
---------------
bin		System/user commands.

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.

kerberosIV	KerberosIV (eBones) package.

lib		System libraries.

libexec		System daemons.

release		Release building Makefile & associated tools.

sbin		System commands.

secure		Cryptographic libraries and commands.

share		Shared resources.

sys		Kernel sources.

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