rwatson 2f9e2502bd Declare a module service "kernel_mac_support" when MAC support is
enabled and the kernel provides the MAC registration and entry point
service.  Declare a dependency on that module service for any
MAC module registered using mac_policy.h.  For now, hard code the
version as 1, but once we've come up with a versioning policy, we'll
move to a #define of some sort.  In the mean time, this will prevent
loading a MAC module when 'options MAC' isn't present, which (due to
a bug in the kernel linker) can result if the MAC module is preloaded
via loader.conf.

This particular evil recommended by:	peter
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI LAbs
2002-08-12 02:00:21 +00:00
..
2002-08-09 20:07:51 +00:00
2002-06-19 20:44:48 +00:00
2002-08-04 19:34:38 +00:00
2002-06-29 17:26:22 +00:00
2002-08-10 04:37:32 +00:00
2002-06-29 17:26:22 +00:00