1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-29 12:03:03 +00:00
Mirror of the FreeBSD src repository https://git.FreeBSD.org/src.git .
Go to file
Christian S.J. Peron d94f2a68f8 Introduce a new entry point, mac_create_mbuf_from_firewall. This entry point
exists to allow the mandatory access control policy to properly initialize
mbufs generated by the firewall. An example where this might happen is keep
alive packets, or ICMP error packets in response to other packets.

This takes care of kernel panics associated with un-initialize mbuf labels
when the firewall generates packets.

[1] I modified this patch from it's original version, the initial patch
    introduced a number of entry points which were programmatically
    equivalent. So I introduced only one. Instead, we should leverage
    mac_create_mbuf_netlayer() which is used for similar situations,
    an example being icmp_error()

    This will minimize the impact associated with the MFC

Submitted by:	mlaier [1]
MFC after:	1 week

This is a RELENG_6 candidate
2006-09-12 04:25:13 +00:00
bin - Fix options order. 2006-08-25 09:58:13 +00:00
contrib This commit was generated by cvs2svn to compensate for changes in r162079, 2006-09-06 21:27:11 +00:00
crypto Correct incorrect PKCS#1 v1.5 padding validation in crypto(3). 2006-09-10 20:16:43 +00:00
etc Add bthidd(8) rc(8) script 2006-09-07 22:25:08 +00:00
games visionary thoughts.. 2006-08-27 14:29:10 +00:00
gnu Define build 'as' TARGET_BYTES_BIG_ENDIAN if "TARGET_BIG_ENDIAN" is defined. 2006-09-11 18:07:09 +00:00
include Prepare for upcoming bthidd(8) update. Install vkbd(4) header into dev/vkbd. 2006-09-07 18:24:24 +00:00
kerberos5 Kerberos/Heimdal doesn't really depend on the INET6 macro. 2006-07-28 06:33:27 +00:00
lib Fix a typo 2006-09-10 20:41:33 +00:00
libexec When looking up the symbol by dlsym, look it not only in the object 2006-09-08 14:59:54 +00:00
release Make it possible again to build -CURRENT snapshots on -STABLE. 2006-09-11 13:15:09 +00:00
rescue Remove alpha left-overs. 2006-08-22 08:03:01 +00:00
sbin Fix the manual build. 2006-09-10 08:58:47 +00:00
secure Remove alpha left-overs. 2006-08-22 08:03:01 +00:00
share Add note about identify routines needing to use BUS_ADD_CHILD rather 2006-09-11 22:17:18 +00:00
sys Introduce a new entry point, mac_create_mbuf_from_firewall. This entry point 2006-09-12 04:25:13 +00:00
tools Document the new know, WITHOUT_ASSERT_DEBUG. 2006-09-11 13:55:27 +00:00
usr.bin Update some of the bulgarian holidays since it no longer 2006-09-08 09:45:06 +00:00
usr.sbin Temporarily put ugly workaround in place to make sparc64 build happy. 2006-09-08 15:05:38 +00:00
COPYRIGHT Happy new year, a little late 2006-01-15 22:06:10 +00:00
LOCKS Document commit constraints for RELENG_6_*. 2006-01-13 06:51:43 +00:00
MAINTAINERS Add myself as OpenSSL janitor/maintainer. 2006-09-11 19:39:46 +00:00
Makefile In "make universe", utilize simplified cross-build synopsis, 2006-09-08 10:13:15 +00:00
Makefile.inc1 Previous revision wasn't enough for "make TARGET=<machine> build*" 2006-09-08 10:09:02 +00:00
ObsoleteFiles.inc Add lines to remove pccardd(8) stuff (binary and manuals). 2006-09-05 01:17:51 +00:00
README Simply running ``make world'' will bomb unless you dig up the 2006-06-07 03:33:48 +00:00
UPDATING bump version for libpcap+tcpdump imports 2006-09-04 21:49:31 +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