summaryrefslogtreecommitdiffstats
path: root/sys/security
diff options
context:
space:
mode:
authorcsjp <csjp@FreeBSD.org>2009-03-09 17:42:18 +0000
committercsjp <csjp@FreeBSD.org>2009-03-09 17:42:18 +0000
commit2173e9258f5b3400a58f42bd91fd01c1efc4441d (patch)
treecc8dfc7a2cf5b008a6a3225532d32854c78fb0c5 /sys/security
parent08da06b62b40e14d1251ab11deb4db48df657db3 (diff)
downloadFreeBSD-src-2173e9258f5b3400a58f42bd91fd01c1efc4441d.zip
FreeBSD-src-2173e9258f5b3400a58f42bd91fd01c1efc4441d.tar.gz
Mark the bsdextended rules sysctl as being mpsafe.
Discussed with: rwatson
Diffstat (limited to 'sys/security')
-rw-r--r--sys/security/mac_bsdextended/mac_bsdextended.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/security/mac_bsdextended/mac_bsdextended.c b/sys/security/mac_bsdextended/mac_bsdextended.c
index fa64011..ee72df4 100644
--- a/sys/security/mac_bsdextended/mac_bsdextended.c
+++ b/sys/security/mac_bsdextended/mac_bsdextended.c
@@ -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)
OpenPOWER on IntegriCloud