Go to file
Konstantin Belousov 293409233b Set md_ldt (pointer to the LDT) after md_ldt_sd (system segment
descriptor for the LDT) is populated. md_ldt is used by context-switch
code as indicator that LDT segment register shall be loaded with
GUSERLDT segment instead of 0, so context switch at the wrong time may
cause attempt to load non-populated descriptor.

Use store with the barrier to prevent other CPUs from seeing updated
md_ldt but not seeing updated md_ldt_sd. Multithreaded process may
context-switch to another thread of the process on another CPU and read
md_ldt.

MFC after:	1 week
2010-01-09 11:28:01 +00:00
bin Committed the wrong version in r201484. This time really fix the "-t" 2010-01-04 10:50:17 +00:00
cddl
contrib Merge r194519 from projects/mips to head by hand: 2010-01-08 23:37:30 +00:00
crypto The size of credential messages is limited by CMGROUP_MAX rather than 2010-01-03 20:45:49 +00:00
etc Since the IPv4 rule allows ICMP_TIMXCEED, allow 2010-01-07 17:46:25 +00:00
games For the now-infamous Rumsfeld quote: 2010-01-07 23:30:10 +00:00
gnu Merge r195030 from project/mips into head by hand: 2010-01-08 23:11:23 +00:00
include Move scandir(3) and alphasort(3) into XSI namespace. 2010-01-05 20:17:13 +00:00
kerberos5
lib Update manual for sem_init and sem_open, restrictions of shared semaphore 2010-01-09 05:40:46 +00:00
libexec
release sk(4), stge(4) and vge(4) should work on all architectures, snd_t4dwave(4) 2010-01-08 20:38:41 +00:00
rescue
sbin Add some error messages suggested in PR bin/138043. The code to 2010-01-07 01:10:49 +00:00
secure
share bridge(4) acts like a switch, not like a hub. 2010-01-09 09:30:09 +00:00
sys Set md_ldt (pointer to the LDT) after md_ldt_sd (system segment 2010-01-09 11:28:01 +00:00
tools Don't forget to use fourth argument if O_CREAT is set in argument oflag. 2010-01-07 04:15:49 +00:00
usr.bin This now passes a make universe with WARNS=6. 2010-01-08 11:16:58 +00:00
usr.sbin Various language fixes. Also fixed the URL to totd, obtained from NetBSD. 2010-01-09 10:24:09 +00:00
COPYRIGHT
LOCKS
MAINTAINERS
Makefile To avoid hardcoding further kernel configuration names for 2010-01-08 19:01:50 +00:00
Makefile.inc1
ObsoleteFiles.inc Use umtx to implement process sharable semaphore, to make this work, 2010-01-05 02:37:59 +00:00
README
UPDATING Introduce the new kernel thread called "deadlock resolver". 2010-01-09 01:46:38 +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 ``world''
target should only be used in cases where the source tree has not
changed from the currently running version.  See:
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, 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.

rescue		Build system for statically linked /rescue utilities.

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