freebsd kernel with SKQ
Go to file
Yaroslav Tykhiy 3cb8dc7cd5 Fix a typo: argv -> argvp
Rationale:
We are interested in the current (last) element of the argv array
there, not in its first element.  The if construct is there because
we want to avoid adding empty (zero-length) arguments to argv, so
we just don't advance argvp if the current argument is empty, and
it gets overwritten at the next iteration.  Note that strsep(3)
doesn't treat consecutive delim characters as a single separator,
it returns empty fields between such characters, and it's up to the
caller to handle them this or that way.

Also add a comment that the argv array ends up null-terminated in
any case (it's due to the design of the for loop) as an answer to
a possible question why the whole argv isn't zero-filled.

Submitted by:	yongari
Tested by:	yongari
MFC after:	3 days
2007-04-30 13:21:43 +00:00
bin Put some safeguards: 2007-04-30 11:44:42 +00:00
cddl Improve sharenfs option handling, so it is possible to give hosts list. 2007-04-21 13:17:23 +00:00
compat/opensolaris Improve sharenfs option handling, so it is possible to give hosts list. 2007-04-21 13:17:23 +00:00
contrib This commit was generated by cvs2svn to compensate for changes in r168993, 2007-04-23 22:32:30 +00:00
crypto - Bring upgrade produce up-to-date for OpenSSL 0.9.8e. 2007-03-15 21:06:48 +00:00
etc When zfs dataset has jailed=on property, it won't be mounted with 2007-04-22 20:55:08 +00:00
games Line wrap previous entry 2007-03-30 04:31:53 +00:00
gnu Minor Makefile cleanup. Do not use Makefile variables named 'version' and 2007-03-12 00:28:06 +00:00
include Fix unsetenv and putenv prototypes to conform Open Group specs Issue 6 2007-04-30 02:27:43 +00:00
kerberos5 Kerberos/Heimdal doesn't really depend on the INET6 macro. 2006-07-28 06:33:27 +00:00
lib Remove special case skipping initial '=' of the setenv() value "for 2007-04-30 03:47:31 +00:00
libexec Prepare for upcoming POSIXed putenv() rewrite: 2007-04-30 12:27:58 +00:00
release New release notes: 2007-04-29 11:32:25 +00:00
rescue Replace the GNU gzip with a slightly modified NetBSD gzip. The 2007-01-26 10:19:08 +00:00
sbin Fix a typo: argv -> argvp 2007-04-30 13:21:43 +00:00
secure Upgrade to OpenSSL 0.9.8e. 2007-03-15 20:15:15 +00:00
share Document requirements to calling rman_init... (Hmmm, maybe we should make 2007-04-29 19:46:33 +00:00
sys MFp4: Fix typo in recv spd. 2007-04-30 12:55:03 +00:00
tools Improve reporting in recoverdisk a good deal. 2007-04-23 12:17:27 +00:00
usr.bin Slightly tune previous fix: free memory if !export 2007-04-30 12:54:02 +00:00
usr.sbin Prepare for upcoming POSIXed putenv() rewrite: 2007-04-30 13:07:33 +00:00
COPYRIGHT Welcome to 2007 2006-12-31 16:35:29 +00:00
LOCKS Document commit constraints for RELENG_6_*. 2006-01-13 06:51:43 +00:00
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 Link libzpool, ztest and zdb against libpthread. 2007-04-17 15:52:37 +00:00
ObsoleteFiles.inc Retire /usr/share/examples/netgraph/bluetooth/rc.bluetooth. 2007-04-24 16:58:54 +00:00
README Simply running ``make world'' will bomb unless you dig up the 2006-06-07 03:33:48 +00:00
UPDATING Add a new note to revoke the 20070408 note. Is is no longer necessary 2007-04-23 22:15:07 +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