summaryrefslogtreecommitdiffstats
path: root/sys/fs/unionfs
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2009-06-05 14:55:22 +0000
committerrwatson <rwatson@FreeBSD.org>2009-06-05 14:55:22 +0000
commitf4934662e5d837053e785525653e390ce6933d2b (patch)
tree476e08b4812ed877bdf927598a5c7deae99fdcdf /sys/fs/unionfs
parent4df1a4e912a3f28cda78498cc27541eb191be270 (diff)
downloadFreeBSD-src-f4934662e5d837053e785525653e390ce6933d2b.zip
FreeBSD-src-f4934662e5d837053e785525653e390ce6933d2b.tar.gz
Move "options MAC" from opt_mac.h to opt_global.h, as it's now in GENERIC
and used in a large number of files, but also because an increasing number of incorrect uses of MAC calls were sneaking in due to copy-and-paste of MAC-aware code without the associated opt_mac.h include. Discussed with: pjd
Diffstat (limited to 'sys/fs/unionfs')
-rw-r--r--sys/fs/unionfs/union_subr.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/fs/unionfs/union_subr.c b/sys/fs/unionfs/union_subr.c
index 69165e3..bfcbdcd 100644
--- a/sys/fs/unionfs/union_subr.c
+++ b/sys/fs/unionfs/union_subr.c
@@ -52,9 +52,7 @@
#include <sys/stat.h>
#include <sys/resourcevar.h>
-#ifdef MAC
-#include <sys/mac.h>
-#endif
+#include <security/mac/mac_framework.h>
#include <vm/uma.h>
OpenPOWER on IntegriCloud