diff options
author | rwatson <rwatson@FreeBSD.org> | 2009-06-05 14:55:22 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2009-06-05 14:55:22 +0000 |
commit | f4934662e5d837053e785525653e390ce6933d2b (patch) | |
tree | 476e08b4812ed877bdf927598a5c7deae99fdcdf /sys/fs/unionfs/union_subr.c | |
parent | 4df1a4e912a3f28cda78498cc27541eb191be270 (diff) | |
download | FreeBSD-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/union_subr.c')
-rw-r--r-- | sys/fs/unionfs/union_subr.c | 4 |
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> |