aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan Jude <allanjude@FreeBSD.org>2022-10-07 14:37:35 +0000
committerAllan Jude <allanjude@FreeBSD.org>2022-10-07 15:24:32 +0000
commit50315501340cc3ca1a565c4f9700bbadcdaa5c01 (patch)
tree7918a2f288fa85231b23eae3fd168d90030faa01
parent46fcf947c6c8db1e1ceb3cbd75b69d1d1e494929 (diff)
downloadsrc-50315501340cc3ca1a565c4f9700bbadcdaa5c01.tar.gz
src-50315501340cc3ca1a565c4f9700bbadcdaa5c01.zip
Bump MAC_VERSION to 5
2449b9e5fe565be757a4b29093fd1c9c6ffcf3c9 introduced API changes that require ensuring that loadable MAC modules use the matching API. Sponsored by: Juniper Networks, Inc. Sponsored by: Klara, Inc.
-rw-r--r--sys/security/mac/mac_policy.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/security/mac/mac_policy.h b/sys/security/mac/mac_policy.h
index 97b3522abf51..1f9a5485b136 100644
--- a/sys/security/mac/mac_policy.h
+++ b/sys/security/mac/mac_policy.h
@@ -1022,8 +1022,9 @@ struct mac_policy_conf {
* 2 6.x
* 3 7.x
* 4 8.x
+ * 5 14.x
*/
-#define MAC_VERSION 4
+#define MAC_VERSION 5
#define MAC_POLICY_SET(mpops, mpname, mpfullname, mpflags, privdata_wanted) \
static struct mac_policy_conf mpname##_mac_policy_conf = { \