freebsd kernel with SKQ
Go to file
jmallett 0871762074 Check for possible overflow from sysconf _SC_ARG_MAX and error out in a
correct manner.  Revert my incorrect change to use err(3) for malloc(3)
failing.  Use a size_t variable to store the size of the argument buffer
we allocate, and remove silly casts as the result of having this around.
Modify the math in some of the paranoid checks for buffer overflow to
account for the fact we now are dealing with the actual size of the
buffer.  Remove the static qualifier for arg_max, and the bogus setting
of it to -1.

Include <limits.h> for the definitions we use to check for possible
overflows.

Submitted by:	bde
2002-05-05 04:42:50 +00:00
bin Check for possible overflow from sysconf _SC_ARG_MAX and error out in a 2002-05-05 04:42:50 +00:00
contrib This commit was generated by cvs2svn to compensate for changes in r95978, 2002-05-03 12:56:29 +00:00
crypto Usual after-import fixup of SCM IDs. 2002-05-01 22:39:53 +00:00
etc Remove leading whitespace from the setuid file lists. 2002-05-05 00:59:37 +00:00
games s/-300K/~300K/ 2002-05-01 06:20:57 +00:00
gnu Add support for using the profiled versions of the C++ (and related) libs. 2002-05-01 19:19:22 +00:00
include Spell void * as void * rather than caddr_t. This is complicated by the 2002-04-28 15:18:50 +00:00
kerberos5 Update Heimdal version string to 0.4e. This should have been done when that 2002-04-29 15:31:45 +00:00
kerberosIV Milestone #1 in cross-arch make releases. 2002-04-26 17:55:27 +00:00
lib Fix fd leak. Threads people: does the call above to `access' need to be 2002-05-03 17:28:28 +00:00
libexec Unbreak static build and remove usage() that isn't usage(). 2002-05-03 13:12:06 +00:00
release em(4) updates. 2002-05-03 22:41:35 +00:00
sbin - revert back to vmcore.# 2002-05-05 01:04:00 +00:00
secure Pre-generate the optimized x86 crypto code and check it in rather than 2002-05-03 00:14:39 +00:00
share Use -ffreestanding for kernel bits unconditionally. 2002-05-04 20:07:33 +00:00
sys Fixed breakage of binary compatibility of the kern.clockrate sysctl in 2002-05-05 04:33:09 +00:00
tools Add a test for the -R option. 2002-05-03 18:44:43 +00:00
usr.bin In an effort to make this utility easier to work with at a source level, move 2002-05-05 02:46:53 +00:00
usr.sbin * Fix a small typo, thanks to olgeni 2002-05-04 22:53:03 +00:00
COPYRIGHT
MAINTAINERS I have no idea how I managed to get two lines about geom in there... 2002-05-03 21:02:42 +00:00
Makefile Milestone #2 in cross-arch make releases. They now work! 2002-04-30 11:50:01 +00:00
Makefile.inc1 Sorted the directories in the rule for the includes target as much as 2002-04-30 23:29:00 +00:00
Makefile.upgrade Removed "env" commands. "sh" is a real shell, so 2002-03-19 05:58:36 +00:00
README Spell "FreeBSD" correctly. 2002-03-26 12:35:49 +00:00
UPDATING Note change for FreeBSD-SA-02:23.stdio. 2002-04-25 14:42:26 +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 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.

kerberosIV	KerberosIV (eBones) 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