Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Mar 2009 17:42:18 +0000 (UTC)
From:      "Christian S.J. Peron" <csjp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r189590 - head/sys/security/mac_bsdextended
Message-ID:  <200903091742.n29HgILX033164@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: csjp
Date: Mon Mar  9 17:42:18 2009
New Revision: 189590
URL: http://svn.freebsd.org/changeset/base/189590

Log:
  Mark the bsdextended rules sysctl as being mpsafe.
  
  Discussed with:	rwatson

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

Modified: head/sys/security/mac_bsdextended/mac_bsdextended.c
==============================================================================
--- head/sys/security/mac_bsdextended/mac_bsdextended.c	Mon Mar  9 17:38:14 2009	(r189589)
+++ head/sys/security/mac_bsdextended/mac_bsdextended.c	Mon Mar  9 17:42:18 2009	(r189590)
@@ -202,8 +202,8 @@ out:
 	return (error);
 }
 
-SYSCTL_NODE(_security_mac_bsdextended, OID_AUTO, rules, CTLFLAG_RW,
-    sysctl_rule, "BSD extended MAC rules");
+SYSCTL_NODE(_security_mac_bsdextended, OID_AUTO, rules,
+    CTLFLAG_MPSAFE | CTLFLAG_RW, sysctl_rule, "BSD extended MAC rules");
 
 static void
 ugidfw_init(struct mac_policy_conf *mpc)



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