Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Mar 2018 12:16:37 +0000 (UTC)
From:      Eugene Grosbein <eugen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r330499 - stable/11/sys/security/mac_portacl
Message-ID:  <201803051216.w25CGbu2034895@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803051216.w25CGbu2034895>