FreeBSD src
Go to file
John Polstra d3980376e8 Add a new function dllockinit() for registering thread locking
functions to be used by the dynamic linker.  This can be called by
threads packages at start-up time.  I will add the call to libc_r
soon.

Also add a default locking method that is used up until dllockinit()
is called.  The default method works by blocking SIGVTALRM, SIGPROF,
and SIGALRM in critical sections.  It is based on the observation
that most user-space threads packages implement thread preemption
with one of these signals (usually SIGVTALRM).

The dynamic linker has never been reentrant, but it became less
reentrant in revision 1.34 of "src/libexec/rtld-elf/rtld.c".
Starting with that revision, multiple threads each doing lazy
binding could interfere with each other.  The usual symptom was
that a symbol was falsely reported as undefined at start-up time.
It was rare but not unseen.  This commit fixes it.
1999-12-27 04:44:04 +00:00
bin Mention the hostname variable in /etc/rc.conf since that is the most 1999-12-22 01:28:49 +00:00
contrib Fix zero-padding for printf formats which include a precision or 1999-12-23 18:24:31 +00:00
crypto This commit was generated by cvs2svn to compensate for changes in r55099, 1999-12-25 16:37:36 +00:00
etc Moved $FreeBSD$ to its usual place after the CSRG id. 1999-12-26 15:24:58 +00:00
games Backout rev1.7, as it broke adventure(6) (const'ing a non-r/o variable). 1999-12-25 03:50:42 +00:00
gnu Fix cut-n-paste braino. 1999-12-22 05:34:56 +00:00
include Add a new function dllockinit() for registering thread locking 1999-12-27 04:44:04 +00:00
kerberos5 Bring in SRA for telnet. 1999-10-07 18:59:55 +00:00
kerberosIV Bring in SRA for telnet. 1999-10-07 18:59:55 +00:00
lib Add a new function dllockinit() for registering thread locking 1999-12-27 04:44:04 +00:00
libexec Add a new function dllockinit() for registering thread locking 1999-12-27 04:44:04 +00:00
release Sacrifice, for now, NFS and NETGRAPH on the alpha boot floppy 1999-12-25 07:22:10 +00:00
sbin Fix tab completion mounts (like /cdrom/) 1999-12-26 16:34:53 +00:00
secure RIP xntpd. 1999-12-22 19:15:02 +00:00
share Fixed spelling error in document title. 1999-12-26 16:58:31 +00:00
sys Add support of SB for PC98 into VoxWare 3.5, and more $FreeBSD$. 1999-12-27 04:37:19 +00:00
tools Don't use -C internally. Use -c. For some reason files are not copied 1999-12-15 18:08:56 +00:00
usr.bin A missing verb to a sentence from last commit. 1999-12-26 04:41:29 +00:00
usr.sbin Don't bother fork()ing after closing a ctty if ppp is about to 1999-12-23 21:43:25 +00:00
COPYRIGHT Update to add the July 22, 1999 addendum. 1999-09-05 21:33:47 +00:00
Makefile Descent into sub-makes with a fixed PATH. The PATH does not contain 1999-12-23 13:53:44 +00:00
Makefile.inc0 $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
Makefile.inc1 Don't build caesar as a tool. fortune(6) doesn't depend on it 1999-12-23 19:18:28 +00:00
Makefile.upgrade $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
README $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
UPDATING Add import of ntpd 4.x 1999-12-19 23:51:50 +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 and the contents of /etc.  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 with config(8) 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.

The sample kernel configuration files reside in the sys/i386/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 LINT contains entries for all possible devices, not
just those commonly used, and is meant more as a general reference
than an actual kernel configuration file (a kernel built from it
wouldn't even run).


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

contrib		Packages contributed by 3rd parties.

crypto		Export controlled 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.

kerberosIV	Kerberos package.

lib		System libraries.

libexec		System daemons.

release		Release building Makefile & associated tools.

sbin		System commands.

secure		DES and DES-related utilities - NOT FOR EXPORT!

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