freebsd kernel with SKQ
Go to file
Jilles Tjoelker e1ef314121 Fix some cases where file descriptors from redirections leak to programs.
- Redirecting fds that were not open before kept two copies of the
  redirected file.
    sh -c '{ :; } 7>/dev/null; fstat -p $$; true'
    (both fd 7 and 10 remained open)
- File descriptors used to restore things after redirection were not
  set close-on-exec, instead they were explicitly closed before executing
  a program normally and before executing a shell procedure. The latter
  must remain but the former is replaced by close-on-exec.
    sh -c 'exec 7</; { exec fstat -p $$; } 7>/dev/null; true'
    (fd 10 remained open)

The examples above are simpler than the testsuite because I do not want to
use fstat or procstat in the testsuite.
2009-11-29 22:33:59 +00:00
bin Fix some cases where file descriptors from redirections leak to programs. 2009-11-29 22:33:59 +00:00
cddl Properly mark ZFS properties which are not changeable under FreeBSD. 2009-10-08 19:45:37 +00:00
contrib Use <termios.h> instead of <sys/termios.h>. 2009-11-28 11:57:25 +00:00
crypto Avoid sshd, cron, syslogd and inetd to be killed under high-pressure swap 2009-11-25 15:12:24 +00:00
etc Use cons25w on pc98. 2009-11-13 11:54:52 +00:00
games Fix a performance bug in factor(6). 2009-11-26 00:38:13 +00:00
gnu Compile libgcov without stack protection. It can be linked into 2009-10-25 15:52:31 +00:00
include Decompose <sys/termios.h>. 2009-11-28 23:50:48 +00:00
kerberos5 Link GSS mechanics modules against libgssapi so they will not fail due 2009-10-12 17:10:51 +00:00
lib Revert r199830 for now. Too many ports dlopen() libraries linked with 2009-11-28 14:34:28 +00:00
libexec Allow to load not-openable dso when tracing. This fixes ldd on such dso or 2009-11-28 14:29:32 +00:00
release Convert {small prefix}BSD to TERM=xterm as well. 2009-11-13 11:32:14 +00:00
rescue Add the "vnet" and "-vnet" options, to allow moving interfaces between 2009-06-24 18:21:37 +00:00
sbin Drop USB mass storage devices support from ata(4). It is out of the build as 2009-11-26 12:41:43 +00:00
secure Fix globbing 2009-11-10 09:45:43 +00:00
share Correct typo. 2009-11-29 21:03:54 +00:00
sys Add atp(4) to powerpc GENERIC. Most late-generation Apple PowerPC laptops 2009-11-29 20:51:23 +00:00
tools Fix some cases where file descriptors from redirections leak to programs. 2009-11-29 22:33:59 +00:00
usr.bin Add more statistics variables for IPcomp. 2009-11-29 20:37:30 +00:00
usr.sbin - New style of jail(8) usage requires "-c" argument to create a jail. 2009-11-26 03:26:59 +00:00
COPYRIGHT Bump the odometer of the years. A little early this year for 7.1R. 2008-12-30 04:46:25 +00:00
LOCKS Update LOCKS syntax. 2008-06-05 19:47:58 +00:00
MAINTAINERS - pkg_install is maintained by portmgr. 2009-07-06 11:46:18 +00:00
Makefile Add a new world named 'mips' to our universe. 2009-04-01 17:11:50 +00:00
Makefile.inc1 Replace -iprefix with -isystem. We only need alternative header 2009-11-01 08:20:30 +00:00
ObsoleteFiles.inc rc.early(8) was removed as of 20090530 so remove manual page reference 2009-11-18 00:56:05 +00:00
README
UPDATING Add a note that wpa_supplicant(8) may require a full world build to 2009-11-21 01:43:22 +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