From 50315501340cc3ca1a565c4f9700bbadcdaa5c01 Mon Sep 17 00:00:00 2001 From: Allan Jude Date: Fri, 7 Oct 2022 14:37:35 +0000 Subject: [PATCH] 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. --- sys/security/mac/mac_policy.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/security/mac/mac_policy.h b/sys/security/mac/mac_policy.h index 97b3522abf5..1f9a5485b13 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 = { \