svn commit: r189590 - head/sys/security/mac_bsdextended
Christian S.J. Peron
csjp at FreeBSD.org
Mon Mar 9 10:42:32 PDT 2009
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)
More information about the svn-src-all
mailing list