Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Mar 2018 12:21:36 +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-10@freebsd.org
Subject:   svn commit: r330500 - stable/10/sys/security/mac_portacl
Message-ID:  <201803051221.w25CLafg035744@repo.freebsd.org>

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



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