Date: Thu, 29 Jul 2004 01:37:59 GMT From: Wayne Salamon <wsalamon@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 58414 for review Message-ID: <200407290137.i6T1bxQv019820@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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) &&
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407290137.i6T1bxQv019820>