From owner-cvs-all@FreeBSD.ORG  Tue Feb  7 23:44:31 2006
Return-Path: <owner-cvs-all@FreeBSD.ORG>
X-Original-To: cvs-all@FreeBSD.org
Delivered-To: cvs-all@FreeBSD.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id D87CE16A420;
	Tue,  7 Feb 2006 23:44:31 +0000 (GMT)
	(envelope-from rwatson@FreeBSD.org)
Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 8A98243D46;
	Tue,  7 Feb 2006 23:44:31 +0000 (GMT)
	(envelope-from rwatson@FreeBSD.org)
Received: from repoman.freebsd.org (localhost [127.0.0.1])
	by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k17NiVK8024366;
	Tue, 7 Feb 2006 23:44:31 GMT
	(envelope-from rwatson@repoman.freebsd.org)
Received: (from rwatson@localhost)
	by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k17NiV1W024365;
	Tue, 7 Feb 2006 23:44:31 GMT (envelope-from rwatson)
Message-Id: <200602072344.k17NiV1W024365@repoman.freebsd.org>
From: Robert Watson <rwatson@FreeBSD.org>
Date: Tue, 7 Feb 2006 23:44:31 +0000 (UTC)
To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
X-FreeBSD-CVS-Branch: HEAD
Cc: 
Subject: cvs commit: src/sys/security/audit audit.c
X-BeenThere: cvs-all@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit messages for the entire tree <cvs-all.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-all>,
	<mailto:cvs-all-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/cvs-all>
List-Post: <mailto:cvs-all@freebsd.org>
List-Help: <mailto:cvs-all-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-all>,
	<mailto:cvs-all-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 07 Feb 2006 23:44:32 -0000

rwatson     2006-02-07 23:44:31 UTC

  FreeBSD src repository

  Modified files:
    sys/security/audit   audit.c 
  Log:
  Acquire vnode lock around call to VOP_GETATTR() in audit_record_write().
  In the future, we may want to acquire the lock early in the function and
  hold it across calls to vn_rdwr(), etc, to avoid multiple acquires.
  
  Spotted by:     kris (bugmagnet)
  Obtained from:  TrustedBSD Project
  
  Revision  Changes    Path
  1.6       +2 -0      src/sys/security/audit/audit.c