From owner-cvs-all@FreeBSD.ORG Sun Mar 19 16:03:44 2006 Return-Path: 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 9A36816A422; Sun, 19 Mar 2006 16:03:44 +0000 (UTC) (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 58B0743D55; Sun, 19 Mar 2006 16:03:44 +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 k2JG3ih6006010; Sun, 19 Mar 2006 16:03:44 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k2JG3i4f006009; Sun, 19 Mar 2006 16:03:44 GMT (envelope-from rwatson) Message-Id: <200603191603.k2JG3i4f006009@repoman.freebsd.org> From: Robert Watson Date: Sun, 19 Mar 2006 16:03:44 +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/conf files src/sys/security/audit audit.c audit_private.h audit_worker.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, 19 Mar 2006 16:03:44 -0000 rwatson 2006-03-19 16:03:44 UTC FreeBSD src repository Modified files: sys/conf files sys/security/audit audit.c audit_private.h Added files: sys/security/audit audit_worker.c Log: Merge Perforce changes 93512, 93514, 93515 from TrustedBSD audit3 branch: Integrate audit.c to audit_worker.c, so as to migrate the worker thread implementation to its own .c file. Populate audit_worker.c using parts now removed from audit.c: - Move audit rotation global variables. - Move audit_record_write(), audit_worker_rotate(), audit_worker_drain(), audit_worker(), audit_rotate_vnode(). - Create audit_worker_init() from relevant parts of audit_init(), which now calls this routine. - Recreate audit_free(), which wraps uma_zfree() so that audit_record_zone can be static to audit.c. - Unstaticize various types and variables relating to the audit record queue so that audit_worker can get to them. We may want to wrap these in accessor methods at some point. - Move AUDIT_PRINTF() to audit_private.h. Addition of audit_worker.c to kernel configuration, missed in earlier submit. Obtained from: TrustedBSD Project Revision Changes Path 1.1103 +1 -0 src/sys/conf/files 1.11 +27 -492 src/sys/security/audit/audit.c 1.6 +31 -3 src/sys/security/audit/audit_private.h 1.1 +558 -0 src/sys/security/audit/audit_worker.c (new)