FreeBSD src
Go to file
Christian S.J. Peron fe0fc7efe3 Protect interface and address lists using the appropriate mutex. These
locks were not aquired because the user buffers were not wired, thus it was
possible that that SYSCTL_OUT could sleep, causing a number of different
problems such as lock ordering issues and dead locks.

-Wire user supplied buffer to ensure SYSCTL_OUT will not sleep.
-Pickup ifnet locks to protect the list.
-Where applicable pickup address locks.
-Pickup radix node head locks.
-Remove splnet stubs
-Remove various comments about locking here, because they are no
 longer needed.

It is the hope that these changes will make sysctl_rtsock MP safe.

MFC after:	3 weeks
2005-09-10 15:12:24 +00:00
bin Elaborate on the behaviour of set -e. 2005-09-10 09:28:39 +00:00
contrib Correct insecure temporary file usage. 2005-09-07 13:39:44 +00:00
crypto Regenerate 2005-09-03 07:08:51 +00:00
etc Teach portsnap how to ignore unwanted parts of the ports tree. A line 2005-09-06 19:28:37 +00:00
games Remove a duplicate and fix a typo. 2005-09-10 08:27:07 +00:00
gnu Expand a bit the description of the -t option. 2005-09-09 11:29:51 +00:00
include Improve POSIX conformance: 2005-09-01 15:33:22 +00:00
kerberos5
lib Add an MLINK for devname_r(). 2005-09-10 14:09:37 +00:00
libexec
release hptmv(4) now works on amd64. 2005-09-08 04:40:11 +00:00
rescue Respect the YES_HESIOD build variable. 2005-08-06 16:53:55 +00:00
sbin Even if there are no valid keys in metadata, but provider is attached 2005-09-10 07:43:03 +00:00
secure Update for OpenSSH 4.2p1. 2005-09-03 07:10:33 +00:00
share Added missing builtins; a few other clean-ups. 2005-09-09 17:02:08 +00:00
sys Protect interface and address lists using the appropriate mutex. These 2005-09-10 15:12:24 +00:00
tools Now that the PID is constantly refreshed, introduce a pidname function which 2005-09-05 23:13:05 +00:00
usr.bin Free the bpf descriptor array after we are done with it. This probably isnt 2005-09-07 19:28:01 +00:00
usr.sbin Fix typo: Cowarly -> Cowardly. 2005-09-07 19:32:15 +00:00
COPYRIGHT
LOCKS
MAINTAINERS Add myself as a maintainer of Bluetooth code 2005-08-25 17:14:39 +00:00
Makefile
Makefile.inc1 Fix a couple of typos 2005-08-23 07:58:55 +00:00
ObsoleteFiles.inc Remove all references to T/TCP, which was removed several months ago. 2005-08-25 13:47:41 +00:00
README
UPDATING Be a little more obvious about the steps to build a kernel. 2005-09-09 15:59:17 +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