From owner-cvs-src@FreeBSD.ORG Sun Apr 6 14:03:58 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2CF9B1065674; Sun, 6 Apr 2008 14:03:58 +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 135118FC2C; Sun, 6 Apr 2008 14:03:58 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m36E3v3j065349; Sun, 6 Apr 2008 14:03:57 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m36E3v37065348; Sun, 6 Apr 2008 14:03:57 GMT (envelope-from rwatson) Message-Id: <200804061403.m36E3v37065348@repoman.freebsd.org> From: Robert Watson Date: Sun, 6 Apr 2008 14:03:57 +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/audit audit_worker.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Apr 2008 14:03:58 -0000 rwatson 2008-04-06 14:03:57 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/security/audit audit_worker.c Log: Merge audit_worker.c:1.20 from HEAD to RELENG_7: Replace somewhat awkward audit trail rotation scheme, which involved the global audit mutex and condition variables, with an sx lock which protects the trail vnode and credential while in use, and is acquired by the system call code when rotating the trail. Previously, a "message" would be sent to the kernel audit worker, which did the rotation, but the new code is simpler and (hopefully) less error-prone. Obtained from: TrustedBSD Project Revision Changes Path 1.16.2.2 +106 -171 src/sys/security/audit/audit_worker.c