freebsd kernel with SKQ
Go to file
jilles 631dcff585 login: Clean up PAM and audit, then exit, on SIGHUP and SIGTERM.
This avoids leaving stale entries in utmpx after the connection is closed on
an open login session. It also allows a clean way (SIGTERM) to forcibly
terminate a user's terminal session.

This does not affect the situation for "hung" processes after the connection
is closed. The foreground process group receives SIGHUP and the tty becomes
inaccessible.

Also replace all use of the obsolete signal() function with sigaction() (not
only the part where it is actually required: SIGHUP and SIGTERM must mask
the other as well when caught).

PR:		misc/183495
Reviewed by:	ed
2014-01-26 22:49:24 +00:00
bin sh: Allow aliases to force alias substitution on the following word. 2014-01-26 21:19:33 +00:00
cddl dtrace: remove unexplained 16MB limitation from dt_alloc/dt_zalloc 2014-01-24 15:04:02 +00:00
contrib Update link to vendor import instructions 2014-01-26 20:13:28 +00:00
crypto Merge OpenSSL 1.0.1f. 2014-01-22 19:57:11 +00:00
etc Temporarily turn off the services.db generation during distributeworld. 2014-01-25 00:03:33 +00:00
games Fix typo in fortune (go -> to) 2013-12-10 19:42:35 +00:00
gnu Revision 258428 changed gcc by virtue of having _bswapsi2 _bswapdi2 in 2014-01-19 00:38:18 +00:00
include Update jemalloc to version 3.5.0. 2014-01-23 02:47:36 +00:00
kerberos5 Try and fix the dependency/bootstrap issues in kerberos5 2013-12-23 14:23:17 +00:00
lib * Mark static inline functions with __fenv_static. 2014-01-25 18:13:43 +00:00
libexec Add a new flag to /etc/ttys: onifconsole. This is equivalent to "on" if the 2014-01-20 18:15:06 +00:00
release jemalloc has been updated to version 3.5.0. 2014-01-23 14:13:12 +00:00
rescue - Trim an unused and bogus Makefile for mount_smbfs. 2013-06-28 21:00:08 +00:00
sbin Add quiet support for kldstat -n 2014-01-22 17:15:17 +00:00
secure Merge OpenSSL 1.0.1f. 2014-01-22 19:57:11 +00:00
share Remove WITHOUT_ATF as it has been replaced by WITH_TESTS 2014-01-23 03:14:48 +00:00
sys Before resetting the USART, delay a bit to allow the transmitter to 2014-01-26 04:57:58 +00:00
tests Fix the Makefiles so that the tests I submitted in r261081 will actually 2014-01-24 18:04:16 +00:00
tools Replace the old unix_seqpacket and unix_seqpacket_exercise tests, which 2014-01-23 17:26:28 +00:00
usr.bin login: Clean up PAM and audit, then exit, on SIGHUP and SIGTERM. 2014-01-26 22:49:24 +00:00
usr.sbin Bad timespec_subtract() calculations produce negative tv_nsec on i386 2014-01-25 02:16:09 +00:00
COPYRIGHT Bump copyright year. 2013-12-31 12:18:10 +00:00
LOCKS Explicitly require Security Officer's approval for kernel PRNG bits. 2013-09-17 14:19:05 +00:00
MAINTAINERS pkg_install has been removed on 20131031. 2013-11-09 16:20:42 +00:00
Makefile Remove the armv6eb architecture as it is unused, and almost certainly 2013-09-22 07:30:17 +00:00
Makefile.inc1 Fix the build so -DNO_TESTS is passed in various phases that don't 2014-01-24 18:01:46 +00:00
ObsoleteFiles.inc Bump libcam shared library version forgotten in r259397. 2013-12-15 15:51:05 +00:00
README
UPDATING Allow tests to provide a Kyuafile when they relied on auto-generation. 2014-01-10 10:36:14 +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.

cddl		Various commands and libraries under the Common Development
		and Distribution License.

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