FreeBSD src
Go to file
Brian Feldman 4524204190 Fix the problems I (and others, undoubtedly) have been having for a
while with threaded software in -CURRENT acting very "weird".  It has
seemed, for example, in Mozilla that threads attempting to do host
lookups have been locking up.  That's exactly the case.

There was a race condition in the implementation of the initialization
of the mutex used to protect FILE operations, first of all: multiple
instances of FLOCKFILE() in libc could occur on the same FILE at
the same time and cause strange behavior by overwriting eachothers'
creation of the mutex and the rest of the file lock.

Secondly, it's not appropriate to test the "validity" of the file
descriptor referenced by the FILE; if the code is calling FLOCKFILE()
or FUNLOCKFILE(), it wants the FILE to be locked or unlocked, not
to be locked or unlocked on the condition that _file is >= 0.  This
also could quite easily cause leaks by failing to perform the lock or
unlock operation when it actually is needed.

Mozilla now works again on -CURRENT when linked to libc_r.so.5 and
libc.so.5.
2001-02-23 04:59:12 +00:00
bin Move the realpath(1) birth day from FreeBSD 5.0 to FreeBSD 4.3. 2001-02-22 07:29:40 +00:00
contrib Flip the default for CVS_RSH to "ssh". I am tired of getting asked this 2001-02-23 04:52:30 +00:00
crypto Resolve conflicts 2001-02-18 03:23:30 +00:00
etc Remove the camcontrol rescan $device insert events for the aic driver, 2001-02-23 02:45:15 +00:00
games Don't include "${.CURDIR}/../../Makefile.inc" explicitly. Doing so was 2001-02-21 06:12:38 +00:00
gnu Our OS name is "freebsd", not "freebsdelf" 2001-02-21 11:43:35 +00:00
include Enable AI_ADDRCONFIG as a valid flag of getaddrinfo(3). Some 2001-02-19 13:13:51 +00:00
kerberos5 remove definition of KRB4, this gets defined conditionally in 2001-02-21 13:27:39 +00:00
kerberosIV add strcollect.c to SRCS (new file in 1.0.5) 2000-12-29 23:44:24 +00:00
lib Fix the problems I (and others, undoubtedly) have been having for a 2001-02-23 04:59:12 +00:00
libexec Change the read-only reply to "550 Permission denied.". 2001-02-19 21:51:26 +00:00
release Since we don't have rfd0 anymore, put in a line that will actually work 2001-02-22 07:34:53 +00:00
sbin Elminate common declaration. 2001-02-22 21:53:39 +00:00
secure Add back a missing file from the no-asm case 2001-02-20 01:50:25 +00:00
share Typo: "interrupt" -> "harvest_interrupt" 2001-02-23 01:12:44 +00:00
sys If the symbolic links @ or machine exist, do not depend on them. 2001-02-23 04:49:31 +00:00
tools Preceed/preceeding are not english words. Use precede and preceding. 2001-02-18 10:43:53 +00:00
usr.bin fix usage statement (add missing [-n devs] option) 2001-02-22 13:55:12 +00:00
usr.sbin Move the 'dont forget "make depend"' to be the last thing that people see, 2001-02-23 00:22:04 +00:00
COPYRIGHT Update to add the July 22, 1999 addendum. 1999-09-05 21:33:47 +00:00
Makefile Cosmetic fix: Document targets at the top in a uniform way. 2001-02-13 07:47:41 +00:00
Makefile.inc1 MACHINE_ARCH is the target arch to crossbuild to, not TARGET_ARCH. 2001-02-22 22:58:24 +00:00
Makefile.upgrade $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
README Slightly improve the description of "crypto". "DES" is a subset of 2000-08-31 17:59:01 +00:00
UPDATING Sigh. Add note about the FILE FIASCO. 2001-02-12 21:16:37 +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 have to build
world before.  More information is available in the handbook.

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 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.

kerberosIV	Kerberos 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