diff options
author | Robert Watson <rwatson@FreeBSD.org> | 2007-02-06 10:59:23 +0000 |
---|---|---|
committer | Robert Watson <rwatson@FreeBSD.org> | 2007-02-06 10:59:23 +0000 |
commit | c96ae1968a6ab7056427a739bce81bf07447c2d4 (patch) | |
tree | 7d45598262a6e6d6f025d75a3fb731c64945fe8b /sys/security/mac_ifoff | |
parent | cebf4a4ed6fa40a7c4cb1189ed84b5cb0eedf74e (diff) |
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
Notes
Notes:
svn path=/head/; revision=166531
Diffstat (limited to 'sys/security/mac_ifoff')
-rw-r--r-- | sys/security/mac_ifoff/mac_ifoff.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/security/mac_ifoff/mac_ifoff.c b/sys/security/mac_ifoff/mac_ifoff.c index 4814db2ad889..6658fccb1b81 100644 --- a/sys/security/mac_ifoff/mac_ifoff.c +++ b/sys/security/mac_ifoff/mac_ifoff.c @@ -45,7 +45,6 @@ #include <sys/param.h> #include <sys/conf.h> #include <sys/kernel.h> -#include <sys/mac.h> #include <sys/mount.h> #include <sys/proc.h> #include <sys/systm.h> |