FreeBSD src
Go to file
Christian S.J. Peron fbf2edb6e4 This commit adds a shared locking mechanism very similar to the
mechanism used by pfil.  This shared locking mechanism will remove
a nasty lock order reversal which occurs when ucred based rules
are used which results in hard locks while mpsafenet=1.

So this removes the debug.mpsafenet=0 requirement when using
ucred based rules with IPFW.

It should be noted that this locking mechanism does not guarantee
fairness between read and write locks, and that it will favor
firewall chain readers over writers. This seemed acceptable since
write operations to firewall chains protected by this lock tend to
be less frequent than reads.

Reviewed by:	andre, rwatson
Tested by:	myself, seanc
Silence on:	ipfw@
MFC after:	1 month
2004-12-10 02:17:18 +00:00
bin o Add a missed "." . 2004-12-02 13:13:27 +00:00
contrib This commit was generated by cvs2svn to compensate for changes in r138451, 2004-12-06 14:33:29 +00:00
crypto Better Xlist command line. 2004-10-28 16:13:28 +00:00
etc Add Ethernet part of Intel EtherExpress PRO/100 LAN/Modem card. This is a 2004-12-09 22:27:11 +00:00
games The Ken Thompson school of thought on expert systems: 2004-11-27 08:28:58 +00:00
gnu Source changes to allow building a cross-debugger. Move solib.c and 2004-12-05 06:59:01 +00:00
include Remove nfsclnt() prototype. 2004-12-07 07:10:39 +00:00
kerberos5 Introduce the PRECIOUSPROG knob in bsd.prog.mk, similar 2004-11-03 18:01:21 +00:00
lib Add workaround for {not so|too} smart phones that cannot handle SDP attribute 2004-12-09 18:57:12 +00:00
libexec Implement a dummy atomic_cmpset_32(). It should be safe to use it in rtld as 2004-11-23 16:32:34 +00:00
release Don't allow ISO images to be made that try to use boot.flp to boot as the 2004-12-01 18:03:18 +00:00
rescue Replace GNU tar with BSD tar. 2004-12-04 08:24:36 +00:00
sbin - Turn off 'fast' mode by default and increase maximum memory to consume 2004-12-09 12:26:47 +00:00
secure Update for OpenSSH 3.9p1. 2004-10-28 16:04:23 +00:00
share Add Intel EtherExpress PRO/100 LAN/Modem card to manpage. 2004-12-09 23:13:18 +00:00
sys This commit adds a shared locking mechanism very similar to the 2004-12-10 02:17:18 +00:00
tools Loadable modules that run test vectors for net80211 crypto plugins. 2004-12-08 17:45:53 +00:00
usr.bin Nobody actually checked the return codes from Lst_Append and Lst_Insert 2004-12-09 15:31:32 +00:00
usr.sbin Correct two bugs that may result in incorrect CBCP response for 2004-12-06 15:49:52 +00:00
COPYRIGHT Update the COPYRIGHT file to include FreeBSD's compilation copyright 2003-12-31 22:35:22 +00:00
installworld_newk Commit the first set of files for changing time_t on freebsd/sparc64 2004-03-03 19:36:20 +00:00
installworld_oldk Commit the first set of files for changing time_t on freebsd/sparc64 2004-03-03 19:36:20 +00:00
MAINTAINERS add myself as the contact for the pkg_install tools 2004-11-30 20:04:47 +00:00
Makefile Fix builds with a read-only directory and a make upgrade. This is done 2004-12-07 14:41:16 +00:00
Makefile.inc1 Do not leave build droppings in /usr/src for usr.sbin/pcvt/keycap and 2004-12-01 23:23:14 +00:00
README
UPDATING Remove some (no longer vaild) notes about PFIL_HOOKS. 2004-12-08 04:08:33 +00:00
UPDATING.64BTT Add a tip for people who are using database-related ports on a sparc64 2004-03-17 01:59:47 +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.

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