svn commit: r330500 - stable/10/sys/security/mac_portacl
Eugene Grosbein
eugen at FreeBSD.org
Mon Mar 5 12:21:37 UTC 2018
Author: eugen
Date: Mon Mar 5 12:21:36 2018
New Revision: 330500
URL: https://svnweb.freebsd.org/changeset/base/330500
Log:
MFC r329994: mac_portacl(4): stop panicing INVARIANTS-enabled kernel by loading .ko
when kernel already has options MAC_PORTACL.
PR: 183817
Approved by: avg (mentor)
Modified:
stable/10/sys/security/mac_portacl/mac_portacl.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/security/mac_portacl/mac_portacl.c
==============================================================================
--- stable/10/sys/security/mac_portacl/mac_portacl.c Mon Mar 5 12:16:37 2018 (r330499)
+++ stable/10/sys/security/mac_portacl/mac_portacl.c Mon Mar 5 12:21:36 2018 (r330500)
@@ -493,3 +493,4 @@ static struct mac_policy_ops portacl_ops =
MAC_POLICY_SET(&portacl_ops, mac_portacl, "TrustedBSD MAC/portacl",
MPC_LOADTIME_FLAG_UNLOADOK, NULL);
+MODULE_VERSION(mac_portacl, 1);
More information about the svn-src-all
mailing list