freebsd kernel with SKQ
Go to file
rwatson 4cbda96096 Begin committing support for Mandatory Access Control and extensible
kernel access control.  The MAC framework permits loadable kernel
modules to link to the kernel at compile-time, boot-time, or run-time,
and augment the system security policy.  This commit includes the
initial kernel implementation, although the interface with the userland
components of the operating system is still under work, and not all
kernel subsystems are supported.  Later in this commit sequence,
documentation of which kernel subsystems will not work correctly with
a kernel compiled with MAC support will be added.

Introduce two node vnode operations required to support MAC.  First,
VOP_REFRESHLABEL(), which will be invoked by callers requiring that
vp->v_label be sufficiently "fresh" for access control purposes.
Second, VOP_SETLABEL(), which be invoked by callers requiring that
the passed label contents be updated.  The file system is responsible
for updating v_label if appropriate in coordination with the MAC
framework, as well as committing to disk.  File systems that are
not MAC-aware need not implement these VOPs, as the MAC framework
will default to maintaining a single label for all vnodes based
on the label on the file system mount point.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
2002-07-30 22:15:09 +00:00
bin Make test check the tv_nsec part of a struct stat when comparing 2002-07-27 22:53:44 +00:00
contrib Routing socket messages are padded to sizeof(long), not just 2002-07-30 04:49:13 +00:00
crypto Resolve conflicts after import of OpenSSL 0.9.6e. 2002-07-30 13:58:53 +00:00
etc Drop support for COPY, -c has been the default mode of install(1) 2002-07-29 09:40:17 +00:00
games Drop support for COPY, -c has been the default mode of install(1) 2002-07-29 09:40:17 +00:00
gnu Drop support for COPY, -c has been the default mode of install(1) 2002-07-29 09:40:17 +00:00
include Remove duplicated '__BEGIN_DECLS' which obviated compiling 2002-07-21 20:37:58 +00:00
kerberos5 Heimdal Texinfo manual. 2002-07-05 05:47:13 +00:00
kerberosIV Drop support for COPY, -c has been the default mode of install(1) 2002-07-29 09:40:17 +00:00
lib Since pam_get_authtok(3) doesn't know about our options structure, setting 2002-07-30 08:32:03 +00:00
libexec Conform to RFC 959, Appendix II, when replying 2002-07-29 15:54:27 +00:00
release New release notes: ctags(1) -T, finger(1) -4/-6 (+MFC), various sh(1) 2002-07-30 04:32:14 +00:00
sbin Remove some additional paranoia which Kirk forgot to remove from his 2002-07-30 20:49:29 +00:00
secure Update list of installed manual pages after regenerating them. 2002-07-30 14:47:24 +00:00
share Correct URLs to Handbook & FAQ's pages 2002-07-30 21:14:15 +00:00
sys Begin committing support for Mandatory Access Control and extensible 2002-07-30 22:15:09 +00:00
tools As of revision 1.38 of make/parse.c, our make(1) will warn too. Note that 2002-07-28 03:57:08 +00:00
usr.bin Fix some bugs in in-place editing: 2002-07-30 19:42:18 +00:00
usr.sbin Correct links to Handbook's pages, old URLs does not work anymore. 2002-07-30 21:04:26 +00:00
COPYRIGHT
MAINTAINERS Added groff(1) and natd(8) entries. 2002-07-18 12:12:15 +00:00
Makefile Indentation. 2002-07-20 10:01:00 +00:00
Makefile.inc1 Inline ${_cxx_consumers}. 2002-07-24 23:08:57 +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 Ignore -C, -p, and -S options of install(1) when used with the -d 2002-07-29 08:51:04 +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