aboutsummaryrefslogtreecommitdiff
path: root/sys/security/mac
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2021-01-01 07:06:12 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2021-01-06 07:28:06 +0000
commit33f3e81df531d62a53390de20812d4e94720e1d3 (patch)
tree72b585160b94d53b9b42206d76210c30e5907af5 /sys/security/mac
parentdbbbc07cc3e5e6843ca95550ca2f50e329e93a9e (diff)
downloadsrc-33f3e81df531d62a53390de20812d4e94720e1d3.tar.gz
src-33f3e81df531d62a53390de20812d4e94720e1d3.zip
Diffstat (limited to 'sys/security/mac')
-rw-r--r--sys/security/mac/mac_framework.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/security/mac/mac_framework.c b/sys/security/mac/mac_framework.c
index 3ec932147637..c1d52eff383e 100644
--- a/sys/security/mac/mac_framework.c
+++ b/sys/security/mac/mac_framework.c
@@ -82,6 +82,7 @@ __FBSDID("$FreeBSD$");
#include <sys/sdt.h>
#include <sys/sx.h>
#include <sys/sysctl.h>
+#include <sys/vnode.h>
#include <security/mac/mac_framework.h>
#include <security/mac/mac_internal.h>
@@ -399,6 +400,8 @@ mac_policy_update(void)
mac_labeled |= mac_policy_getlabeled(mpc);
mac_policy_count++;
}
+
+ cache_fast_lookup_enabled_recalc();
}
/*