From owner-cvs-all@FreeBSD.ORG Sun Aug 31 18:23:52 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8626D1065674; Sun, 31 Aug 2008 18:23:52 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 717F28FC23; Sun, 31 Aug 2008 18:23:52 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.2/8.14.2) with ESMTP id m7VINqOL088669; Sun, 31 Aug 2008 18:23:52 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.2/8.14.1/Submit) id m7VINl5a088664; Sun, 31 Aug 2008 18:23:47 GMT (envelope-from rwatson@repoman.freebsd.org) Message-Id: <200808311823.m7VINl5a088664@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to rwatson@repoman.freebsd.org using -f From: Robert Watson Date: Sun, 31 Aug 2008 18:23:42 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sys/security/mac_bsdextended mac_bsdextended.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Aug 2008 18:23:52 -0000 rwatson 2008-08-31 18:23:42 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/security/mac_bsdextended mac_bsdextended.c Log: SVN rev 182557 on 2008-08-31 18:23:42Z by rwatson Merge r181069 from head to stable/7: In mac_bsdextended's auditctl and acct policy access control checks, return success if the passed vnode pointer is NULL (rather than panicking). This can occur if either audit or accounting are disabled while the policy is running. Since the swapoff control has no real relevance to this policy, which is concerned about intent to write rather than water under the bridge, remove it. PR: kern/126100 Reported by: Alan Amesbury Revision Changes Path 1.39.2.2 +8 -11 src/sys/security/mac_bsdextended/mac_bsdextended.c