summaryrefslogtreecommitdiffstats
path: root/sys/security/mac/mac_label.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2007-02-06 10:59:23 +0000
committerrwatson <rwatson@FreeBSD.org>2007-02-06 10:59:23 +0000
commitd945a8c499f7a946267bab0c92a55751d4503713 (patch)
tree7d45598262a6e6d6f025d75a3fb731c64945fe8b /sys/security/mac/mac_label.c
parent5ebe8e29b1943eed8144200f709bc884004706f4 (diff)
downloadFreeBSD-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/mac_label.c')
-rw-r--r--sys/security/mac/mac_label.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/security/mac/mac_label.c b/sys/security/mac/mac_label.c
index 619df35..977efc7 100644
--- a/sys/security/mac/mac_label.c
+++ b/sys/security/mac/mac_label.c
@@ -35,7 +35,6 @@ __FBSDID("$FreeBSD$");
#include "opt_mac.h"
#include <sys/param.h>
-#include <sys/mac.h>
#include <sys/sysctl.h>
#include <sys/systm.h>
OpenPOWER on IntegriCloud