freebsd kernel with SKQ
Go to file
Seigo Tanimura 243917fe3b Lock down a socket, milestone 1.
o Add a mutex (sb_mtx) to struct sockbuf. This protects the data in a
  socket buffer. The mutex in the receive buffer also protects the data
  in struct socket.

o Determine the lock strategy for each members in struct socket.

o Lock down the following members:

  - so_count
  - so_options
  - so_linger
  - so_state

o Remove *_locked() socket APIs.  Make the following socket APIs
  touching the members above now require a locked socket:

 - sodisconnect()
 - soisconnected()
 - soisconnecting()
 - soisdisconnected()
 - soisdisconnecting()
 - sofree()
 - soref()
 - sorele()
 - sorwakeup()
 - sotryfree()
 - sowakeup()
 - sowwakeup()

Reviewed by:	alfred
2002-05-20 05:41:09 +00:00
bin Remove a small, annoying, nit I ran in to editing this file, a lone tab 2002-05-19 17:50:23 +00:00
contrib Fix essential typo in usage 2002-05-19 10:40:15 +00:00
crypto Remove _PATH_CP now that it is defined in paths.h 2002-05-12 01:52:11 +00:00
etc Explictly set kerberos_stash to NO instead of blank. While we are at it, 2002-05-20 05:26:44 +00:00
games Correctly attribute a Douglas Adams quote, and remove a duplicate of 2002-05-15 04:35:27 +00:00
gnu This is only WARNS=0 clean now. 2002-05-19 18:25:41 +00:00
include Move _PATH_WALL from dump and shutdown's local pathnames.h to paths.h. 2002-05-17 11:47:12 +00:00
kerberos5 Make this -j safe. 2002-05-14 15:27:13 +00:00
kerberosIV This code is no longer WARNS level 2 OK. 2002-05-15 06:32:29 +00:00
lib Use an explicitly-sized type instead of daddr_t for on-disk block 2002-05-19 10:50:38 +00:00
libexec Understand the new NGM_PPPOE_SESSIONID message and set SESSIONID 2002-05-14 12:33:40 +00:00
release New release notes: Perl deletion (along with a caution that some work 2002-05-18 18:44:24 +00:00
sbin Turn nfsiod into a vfs loader and sysctl wrapper that controls the number 2002-05-19 19:21:40 +00:00
secure for OpenSSL 0.9.5a 2002-05-15 09:17:27 +00:00
share Remove 21.troff from the build, it is broken. 2002-05-20 01:15:37 +00:00
sys Lock down a socket, milestone 1. 2002-05-20 05:41:09 +00:00
tools Catch up with recent events. 2002-05-19 18:57:03 +00:00
usr.bin Fix a late-night buglet in MLINKS ordering. 2002-05-19 20:39:42 +00:00
usr.sbin Work around a code generation bug of GCC 3.1 by replacing 2002-05-19 06:53:20 +00:00
COPYRIGHT
MAINTAINERS Drop perl5 hard lock as perl5 is now gone. 2002-05-18 07:59:51 +00:00
Makefile Added new bsd.incs.mk which handles installing of header files 2002-05-12 16:01:00 +00:00
Makefile.inc1 Back out rev 1.278. Seems we grew a getconf(1) that requires it. 2002-05-18 18:23:04 +00:00
Makefile.upgrade Removed "env" commands. "sh" is a real shell, so 2002-03-19 05:58:36 +00:00
README Spell "FreeBSD" correctly. 2002-03-26 12:35:49 +00:00
UPDATING Check that kldxref(8) exists before running it. 2002-05-14 07:49:12 +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/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/handbook/synching.html