diff options
author | rwatson <rwatson@FreeBSD.org> | 2007-02-06 10:59:23 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2007-02-06 10:59:23 +0000 |
commit | d945a8c499f7a946267bab0c92a55751d4503713 (patch) | |
tree | 7d45598262a6e6d6f025d75a3fb731c64945fe8b /sys/security/mac_none | |
parent | 5ebe8e29b1943eed8144200f709bc884004706f4 (diff) | |
download | FreeBSD-src-d945a8c499f7a946267bab0c92a55751d4503713.zip FreeBSD-src-d945a8c499f7a946267bab0c92a55751d4503713.tar.gz |
Continue 7-CURRENT MAC Framework rearrangement and cleanup:
Don't perform a nested include of _label.h in mac.h, as mac.h now
describes only the user API to MAC, and _label.h defines the in-kernel
representation of MAC labels.
Remove mac.h includes from policies and MAC framework components that do
not use userspace MAC API definitions.
Add _KERNEL inclusion checks to mac_internal.h and mac_policy.h, as these
are kernel-only include files
Obtained from: TrustedBSD Project
Diffstat (limited to 'sys/security/mac_none')
-rw-r--r-- | sys/security/mac_none/mac_none.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/security/mac_none/mac_none.c b/sys/security/mac_none/mac_none.c index 922a021..76a4bec 100644 --- a/sys/security/mac_none/mac_none.c +++ b/sys/security/mac_none/mac_none.c @@ -48,7 +48,6 @@ #include <sys/conf.h> #include <sys/extattr.h> #include <sys/kernel.h> -#include <sys/mac.h> #include <sys/mount.h> #include <sys/proc.h> #include <sys/systm.h> |