FreeBSD src
Go to file
Warner Losh 99c02d39bc Fix many buffer overruns in the code. Specifically, disallow ExpandString
to be used to expand things beyond the size of the buffer passed in.  Also
do a general cleanup of sprintf -> snprintf as well as strcpy and strncat
safety.  Also expand some buffers to allow for the largest possible data
that might be used.

This is a 2.2 candidate.  However, it needs to be vetted on -current
since little testing has been done on this due to my lack of PPP on
this machine.

Reviewed by:	Jordan Hubbard, Peter Wemm, Guido van Rooij
1997-01-10 07:53:28 +00:00
bin Fix a problem that caused some foreground pipelines to die with: 1997-01-06 01:26:44 +00:00
contrib Kill another bogus inclusion of <netinet/if_ether.h>. 1997-01-05 18:14:12 +00:00
eBones Fix a cosmetic bug that has bothered me for ages. :-) 1996-12-21 06:21:16 +00:00
etc Clean up imap 1997-01-10 02:42:14 +00:00
games Fix some typos and remove a couple of duplicate 1997-01-08 07:04:44 +00:00
gnu For "ldd -v", print shared object dependencies that were specified as 1997-01-10 02:51:00 +00:00
include Internationalise "authorize". 1997-01-09 04:16:18 +00:00
lib Correct logic braino when attempting to exclude loopback addresses on 1997-01-09 16:38:05 +00:00
libexec Build ebones/telnetd only if MAKE_EBONES defined 1997-01-08 11:46:23 +00:00
lkm Add a man page for linux(8) (loads the Linux emulator kernel module). 1997-01-10 05:48:50 +00:00
release DTRT for the 2nd CDROM and cdrom.inf automatically. 1997-01-06 11:45:01 +00:00
sbin If the RTM_NEWMADDR and RTM_DELMADDR messages are defined 1997-01-09 21:34:03 +00:00
secure Secure telnet is now in eBones. 1996-11-07 14:42:57 +00:00
share Get rid of all those annoying warnings when making the 1997-01-10 07:46:56 +00:00
sys Synchronize with sys/i386/isa/ft.c revision 1.29 (fix ft driver 1997-01-10 06:50:47 +00:00
tools - Add a BSD-style copyright. (Should have done that before.) 1997-01-06 04:18:32 +00:00
usr.bin Removed stray DPADD. 1997-01-10 05:08:25 +00:00
usr.sbin Fix many buffer overruns in the code. Specifically, disallow ExpandString 1997-01-10 07:53:28 +00:00
COPYRIGHT This is the official 4.4 Lite copyright. 1994-09-11 07:53:28 +00:00
Makefile Add yacc to lib-tools target, now that it's been changed. 1997-01-07 02:28:57 +00:00
README Typo (maybe), config(1) -> config(8). 1997-01-06 08:04:25 +00:00

This is the top level of the FreeBSD source directory.  This file
was last revised on: $Id: README,v 1.7 1997/01/01 14:06:29 jkh Exp $

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.  Please see the top of the Makefile 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.

eBones		Kerberos package - NOT FOR EXPORT!

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.

lib		System libraries.

libexec		System daemons.

lkm		Loadable Kernel Modules.

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