From owner-p4-projects@FreeBSD.ORG Thu Jul 29 01:38:04 2004 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 8505716A4D0; Thu, 29 Jul 2004 01:38:03 +0000 (GMT) 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 3E65816A4CE for ; Thu, 29 Jul 2004 01:38:03 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 351C743D41 for ; Thu, 29 Jul 2004 01:38:03 +0000 (GMT) (envelope-from wsalamon@computer.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i6T1c08f019823 for ; Thu, 29 Jul 2004 01:38:00 GMT (envelope-from wsalamon@computer.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i6T1bxQv019820 for perforce@freebsd.org; Thu, 29 Jul 2004 01:37:59 GMT (envelope-from wsalamon@computer.org) Date: Thu, 29 Jul 2004 01:37:59 GMT Message-Id: <200407290137.i6T1bxQv019820@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to wsalamon@computer.org using -f From: Wayne Salamon To: Perforce Change Reviews Subject: PERFORCE change 58414 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jul 2004 01:38:05 -0000 http://perforce.freebsd.org/chv.cgi?CH=58414 Change 58414 by wsalamon@wsalamon_epi on 2004/07/29 01:37:52 Unlock the proc struct after using the pfind() function in the audit system calls. Affected files ... .. //depot/projects/trustedbsd/audit3/sys/security/audit/kern_audit.c#6 edit Differences ... ==== //depot/projects/trustedbsd/audit3/sys/security/audit/kern_audit.c#6 (text+ko) ==== @@ -902,6 +902,7 @@ udata.au_aupinfo.ap_termid.port = tp->p_au->ai_termid.port; udata.au_aupinfo.ap_asid = tp->p_au->ai_asid; + PROC_UNLOCK(tp); break; case A_SETPMASK: if (udata.au_aupinfo.ap_pid < 1) @@ -913,6 +914,7 @@ udata.au_aupinfo.ap_mask.am_success; tp->p_au->ai_mask.am_failure = udata.au_aupinfo.ap_mask.am_failure; + PROC_UNLOCK(tp); break; case A_SETFSIZE: if ((udata.au_fstat.af_filesz != 0) &&