svn commit: r329994 - head/sys/security/mac_portacl

Eugene Grosbein eugen at FreeBSD.org
Sun Feb 25 23:10:14 UTC 2018


Author: eugen
Date: Sun Feb 25 23:10:13 2018
New Revision: 329994
URL: https://svnweb.freebsd.org/changeset/base/329994

Log:
  mac_portacl(4): stop panicing INVARIANTS-enabled kernel by loading .ko
  when kernel already has options MAC_PORTACL.
  
  PR:		183817
  Approved by:	avg (mentor)
  MFC after:	1 week

Modified:
  head/sys/security/mac_portacl/mac_portacl.c

Modified: head/sys/security/mac_portacl/mac_portacl.c
==============================================================================
--- head/sys/security/mac_portacl/mac_portacl.c	Sun Feb 25 20:21:30 2018	(r329993)
+++ head/sys/security/mac_portacl/mac_portacl.c	Sun Feb 25 23:10:13 2018	(r329994)
@@ -487,3 +487,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