svn commit: r330499 - stable/11/sys/security/mac_portacl

Eugene Grosbein eugen at FreeBSD.org
Mon Mar 5 12:16:38 UTC 2018


Author: eugen
Date: Mon Mar  5 12:16:37 2018
New Revision: 330499
URL: https://svnweb.freebsd.org/changeset/base/330499

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/11/sys/security/mac_portacl/mac_portacl.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/security/mac_portacl/mac_portacl.c
==============================================================================
--- stable/11/sys/security/mac_portacl/mac_portacl.c	Mon Mar  5 12:06:41 2018	(r330498)
+++ stable/11/sys/security/mac_portacl/mac_portacl.c	Mon Mar  5 12:16:37 2018	(r330499)
@@ -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