From owner-p4-projects@FreeBSD.ORG Sat May 31 13:12:34 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id C78C21065682; Sat, 31 May 2008 13:12:34 +0000 (UTC) Delivered-To: perforce@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 89995106567E for ; Sat, 31 May 2008 13:12:34 +0000 (UTC) (envelope-from snagg@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 71CA48FC24 for ; Sat, 31 May 2008 13:12:34 +0000 (UTC) (envelope-from snagg@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 m4VDCYW1007046 for ; Sat, 31 May 2008 13:12:34 GMT (envelope-from snagg@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m4VDCYBB007044 for perforce@freebsd.org; Sat, 31 May 2008 13:12:34 GMT (envelope-from snagg@FreeBSD.org) Date: Sat, 31 May 2008 13:12:34 GMT Message-Id: <200805311312.m4VDCYBB007044@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to snagg@FreeBSD.org using -f From: Vincenzo Iozzo To: Perforce Change Reviews Cc: Subject: PERFORCE change 142625 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: Sat, 31 May 2008 13:12:35 -0000 http://perforce.freebsd.org/chv.cgi?CH=142625 Change 142625 by snagg@snagg_macosx on 2008/05/31 13:12:06 Bug fix Affected files ... .. //depot/projects/soc2008/snagg-audit/sys/security/audit/audit_pipe.c#22 edit Differences ... ==== //depot/projects/soc2008/snagg-audit/sys/security/audit/audit_pipe.c#22 (text) ==== @@ -470,7 +470,6 @@ audit_pipe_preselect_delete_pid(struct audit_pipe *ap, pid_t pid) { struct audit_pipe_preselect *app; - int i; mtx_lock(&audit_pipe_mtx); app = audit_pipe_preselect_find_event(ap, -1, pid, -1); @@ -516,7 +515,6 @@ audit_pipe_preselect_events_flush_locked(struct audit_pipe *ap) { struct audit_pipe_preselect *app; - int i; mtx_assert(&audit_pipe_mtx, MA_OWNED);