Go to file
Colin Percival 23f6784297 Use unsigned comparisons. Prior to this commit, SHA1_Update and
RIPEMD160_Update were broken when all of the following conditions
applied:
(1) The platform is i386.
(2) The program calling *_Update is statically linked to libmd.
(3) The buffer provided to *_Update is aligned modulo 4 bytes.
(4) The buffer extends beyond 2GB.

Due to the design of this code, SHA1_Update and RIPEMD160_Update will
still be broken if conditions (1)-(3) apply AND the buffer extends
beyond 4GB (i.e., there is an integer overflow in computing "data + len").
Since this remaining bug simply replaces SIGSEGV with a bogus hash (and
non-broken programs should never provide such operands) I don't consider
it to be a serious problem.

MFC After:      1 week
PR:             kern/102795
2007-05-14 05:00:37 +00:00
bin Replace a fairly opaque sentence with a much clearer wording from NetBSD. 2007-05-12 22:18:27 +00:00
cddl Use provider's ident to handle situations when disks are moved around 2007-05-06 01:39:39 +00:00
compat/opensolaris Use provider's ident to handle situations when disks are moved around 2007-05-06 01:39:39 +00:00
contrib Fix -D description to read debug_options 2007-05-12 10:25:31 +00:00
crypto - Bring upgrade produce up-to-date for OpenSSL 0.9.8e. 2007-03-15 21:06:48 +00:00
etc o Add a script to check ntpd(8) state. Default is off. 2007-05-13 09:33:35 +00:00
games Line wrap previous entry 2007-03-30 04:31:53 +00:00
gnu Add threading support. 2007-05-01 18:29:34 +00:00
include Back out all POSIXified *env() changes. 2007-05-01 16:02:44 +00:00
kerberos5 Kerberos/Heimdal doesn't really depend on the INET6 macro. 2006-07-28 06:33:27 +00:00
lib Use unsigned comparisons. Prior to this commit, SHA1_Update and 2007-05-14 05:00:37 +00:00
libexec Enable symbol versioning by default. Use WITHOUT_SYMVER to disable it. 2007-05-13 14:12:40 +00:00
release Autogenerate hardware notes for hptiop(4). 2007-05-11 22:58:09 +00:00
rescue Replace the GNU gzip with a slightly modified NetBSD gzip. The 2007-01-26 10:19:08 +00:00
sbin Replace incomprehensive description of -m by much clearer text from OpenBSD, 2007-05-12 22:35:22 +00:00
secure Integrate the Camellia Block Cipher. For more information see RFC 4132 2007-05-09 19:37:02 +00:00
share Update wlan_amrr supported to match the driver. 2007-05-14 03:42:11 +00:00
sys Complete the (mechanical) move of the TCP reassembly and timewait 2007-05-13 22:16:13 +00:00
tools Add regression tests for ethers(3) functions, including new _r variants. 2007-05-13 14:03:21 +00:00
usr.bin 'netstat -A -p tcp' doesn't print the Socket but the Tcpcb pointer in the 2007-05-13 22:32:32 +00:00
usr.sbin Add `accept dns' to rfcomm-server example 2007-05-13 18:59:22 +00:00
COPYRIGHT Welcome to 2007 2006-12-31 16:35:29 +00:00
LOCKS
MAINTAINERS Note core's interest in coordinating major changes to our usb code base. 2007-04-26 21:30:16 +00:00
Makefile Introduce a variable TARGETS that can be set on the make command line 2007-04-02 21:32:44 +00:00
Makefile.inc1 Greatly speed up {check,delete}-old* by replacing make loops with sh loops. 2007-05-13 18:15:50 +00:00
ObsoleteFiles.inc zfs & zpool have been moved from /usr/sbin into /sbin. The corresponding 2007-05-10 13:25:27 +00:00
README Simply running ``make world'' will bomb unless you dig up the 2006-06-07 03:33:48 +00:00
UPDATING Add some notes about symbol versioning and the switch to libthr. 2007-05-13 14:41:48 +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