FreeBSD src
Go to file
rwatson 6e44996655 If LOGIN_SETMAC is set and MAC is enabled in the kernel, then see
if the user has a 'label' entry in their login class.  If so, attempt
to set that label on the process as part of the credential setup.  If
we're unable to parse the label, or unable to set the label, fail.
In the future, we may also want to warn if a label is set but the
kernel doesn't support MAC.

Approved by:	re
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-10-23 03:17:22 +00:00
bin Staticify for lint. 2002-10-18 14:48:48 +00:00
contrib A better version of disabling SGR support in grotty(1). 2002-10-21 12:29:57 +00:00
crypto This commit was generated by cvs2svn to compensate for changes in r105672, 2002-10-22 02:13:32 +00:00
etc Invert the logic of the NO_MAKEDEV options to match the 5.0-R default install. 2002-10-22 15:01:50 +00:00
games Remove old build glue for removed games. 2002-10-21 10:05:14 +00:00
gnu Add support for sparc64 kernel debugging. 2002-10-21 21:36:36 +00:00
include fix pthread_suspend/resume_all_np() declarations 2002-10-22 17:11:49 +00:00
kerberos5 Build kerberized versions of the PAM library, and install them 2002-10-11 14:17:09 +00:00
kerberosIV Remove programs that no longer need a kerberisation option. 2002-10-16 16:12:22 +00:00
lib If LOGIN_SETMAC is set and MAC is enabled in the kernel, then see 2002-10-23 03:17:22 +00:00
libexec Add support for binaries with arbitrary number of PT_LOAD sections. 2002-10-23 01:43:29 +00:00
release Add Sun type 6 USB keyboard and mouse to supported device list. 2002-10-22 17:09:23 +00:00
sbin Forgot to include <errno.h> when using 'errno' here. 2002-10-22 19:55:44 +00:00
secure Don't lint contrib'ed sources, even if the builder has asked for linting. 2002-09-25 09:58:00 +00:00
share Minor grammar fix: referenced to -> in reference to. 2002-10-22 23:36:10 +00:00
sys Handle binaries with arbitrary number PT_LOAD sections, not only 2002-10-23 01:57:39 +00:00
tools Fix a bug that showed up when trying to produce a database for 2002-10-17 16:29:26 +00:00
usr.bin De-obfuscate and correct the include path handling for SysV style includes. 2002-10-23 01:57:33 +00:00
usr.sbin Introduce simple command line tools to manage MAC labels on processes and 2002-10-23 03:15:24 +00:00
COPYRIGHT Update to add the July 22, 1999 addendum. 1999-09-05 21:33:47 +00:00
MAINTAINERS Add myself as da(4) maintainer. This is mostly so I can review and commit 2002-10-18 18:27:56 +00:00
Makefile PC98 is not a true architecture, but a subarchitecture of i386, so we need 2002-10-02 13:52:36 +00:00
Makefile.inc1 _games is gone in rev. 1.305. 2002-10-22 08:30:31 +00:00
Makefile.upgrade Removed "env" commands. "sh" is a real shell, so 2002-03-19 05:58:36 +00:00
README Fix broken handbook links. 2002-07-21 16:45:30 +00:00
UPDATING gcc 3.2 2002-09-03 06:13:43 +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/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.

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/doc/en_US.ISO8859-1/books/handbook/synching.html