From owner-p4-projects@FreeBSD.ORG Sun Mar 19 19:08:48 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 3AF4216A427; Sun, 19 Mar 2006 19:08:48 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB90416A41F for ; Sun, 19 Mar 2006 19:08:47 +0000 (UTC) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 932F243D48 for ; Sun, 19 Mar 2006 19:08:47 +0000 (GMT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k2JJ8lfx020333 for ; Sun, 19 Mar 2006 19:08:47 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k2JJ8lEf020330 for perforce@freebsd.org; Sun, 19 Mar 2006 19:08:47 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Sun, 19 Mar 2006 19:08:47 GMT Message-Id: <200603191908.k2JJ8lEf020330@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson To: Perforce Change Reviews Cc: Subject: PERFORCE change 93587 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Mar 2006 19:08:48 -0000 http://perforce.freebsd.org/chv.cgi?CH=93587 Change 93587 by rwatson@rwatson_peppercorn on 2006/03/19 19:07:46 Use struct kaudit_queue instead of a hand-crafted queue type for audit records in the audit_worker thread. Affected files ... .. //depot/projects/trustedbsd/audit3/sys/security/audit/audit_worker.c#5 edit Differences ... ==== //depot/projects/trustedbsd/audit3/sys/security/audit/audit_worker.c#5 (text+ko) ==== @@ -394,7 +394,7 @@ static void audit_worker(void *arg) { - TAILQ_HEAD(, kaudit_record) ar_worklist; + struct kaudit_queue ar_worklist; struct kaudit_record *ar; struct ucred *audit_cred; struct thread *audit_td;