From owner-svn-src-all@FreeBSD.ORG Mon Mar 9 17:42:18 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8FE151065719; Mon, 9 Mar 2009 17:42:18 +0000 (UTC) (envelope-from csjp@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 752D48FC1A; Mon, 9 Mar 2009 17:42:18 +0000 (UTC) (envelope-from csjp@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n29HgI19033165; Mon, 9 Mar 2009 17:42:18 GMT (envelope-from csjp@svn.freebsd.org) Received: (from csjp@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n29HgILX033164; Mon, 9 Mar 2009 17:42:18 GMT (envelope-from csjp@svn.freebsd.org) Message-Id: <200903091742.n29HgILX033164@svn.freebsd.org> From: "Christian S.J. Peron" Date: Mon, 9 Mar 2009 17:42:18 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r189590 - head/sys/security/mac_bsdextended X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Mar 2009 17:42:32 -0000 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)