freebsd kernel with SKQ
Go to file
Juli Mallett ccc5b4e6f4 Crank WARNS.
Cast sizeof() to (int), as it's being compared against an int, not a size_t.
If i is changed to a size_t, it means the logic must be slightly changed later
in the flow, where --i is checked to be >= 0.  I am not sure I want to make a
logic change to account for clearing up a warning, when an aesthetic one will
keep from modifying the logic.

Other harmless casts, that I think I've made in the right directions.

Make gpbc() an inline function, rather than an obfuscated macro, make its
scratch space local, rather than global.  The previous macro used a dirty
hack (logical AND in place of a conditional) which would lead GCC to throw
a fit (rightly so) as the logical check, as well as the incrementation of
a variable, were not used for anything.

const'ify a few places where gcc3 yells. xstrdup() some global consts in
places where we xstrdup() when not using consts, but tried to assign them
to non-consts before.

Don't use execv(2) if we don't have the kind of arguments it wants.

Reviewed by:    asmodai obrien tjr
Submitted by:   tjr (a gcc3 build log)
2002-04-20 01:49:10 +00:00
bin Add a reference to the kenv(2) manpage. 2002-04-18 18:49:41 +00:00
contrib This commit was generated by cvs2svn to compensate for changes in r94970, 2002-04-17 22:58:58 +00:00
crypto Fix some warnings. Don't record logins twice in USE_PAM case. Strip 2002-04-14 16:24:36 +00:00
etc Don't list pam_unix in the session chain, since it does not provide any 2002-04-18 17:40:27 +00:00
games Fix a segfault if 'wear' is used without an argument or with 2002-04-15 17:27:34 +00:00
gnu It is easier for me to debug with -I's at the rear. 2002-04-20 01:27:28 +00:00
include Rework the kernel environment subsystem. We now convert the static 2002-04-17 13:06:36 +00:00
kerberos5 Fix build when MAKE_KERBEROS4 is not requested. This was broken with 2002-02-21 15:54:20 +00:00
kerberosIV Install script via SCRIPTS. 2001-12-17 16:52:32 +00:00
lib mdoc(7) police: polishing. 2002-04-19 11:24:02 +00:00
libexec When opieverify() is fail, fallback to try unix password. 2002-04-16 10:54:30 +00:00
release New release notes: my driver. 2002-04-19 17:07:28 +00:00
sbin Use `The .Nm utility' 2002-04-19 23:06:29 +00:00
secure Switch over to using pam_login_access(8) module in sshd(8). 2002-03-26 12:52:28 +00:00
share Add the previously committed usb(4) manual pages to the build. 2002-04-19 18:24:03 +00:00
sys Don't put a line break in string literals. GCC 3.1 complains and GCC 2002-04-20 01:42:56 +00:00
tools update the reference vector. 2002-04-16 16:11:29 +00:00
usr.bin Crank WARNS. 2002-04-20 01:49:10 +00:00
usr.sbin Change lpd to recognize the '-s' parameter as a preferred synonym 2002-04-19 19:33:24 +00:00
COPYRIGHT
MAINTAINERS Add a reminder that commits to the security branches must go through the 2002-04-19 16:22:30 +00:00
Makefile Makefile.inc0 is no longer used. 2002-03-03 22:37:35 +00:00
Makefile.inc1 Sort _startup_libs, _prebuild_libs, and _generic_libs lists alphabetically. 2002-04-16 14:38:15 +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 Mention the UCONSOLE kernel option removal. 2002-04-19 11:37:34 +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