Date: Sat, 13 Jul 2002 15:50:50 -0700 (PDT) From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 14198 for review Message-ID: <200207132250.g6DMoohq070319@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=14198 Change 14198 by rwatson@rwatson_paprika on 2002/07/13 15:50:10 Add an XXX comment since releasing the vnode lock here will result in nasty race conditions. Affected files ... .. //depot/projects/trustedbsd/mac/sys/security/sebsd/sebsd.c#12 edit Differences ... ==== //depot/projects/trustedbsd/mac/sys/security/sebsd/sebsd.c#12 (text+ko) ==== @@ -415,6 +415,9 @@ char *freepath = NULL; struct vattr va; + /* + * XXX Releasing the vnode lock here is a very bad idea. + */ VOP_GETATTR(vp, &va, curthread->td_ucred, curthread); VOP_UNLOCK(vp, 0, curthread); vn_fullpath(curthread, vp->v_dd, vp, &fullpath, &freepath); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207132250.g6DMoohq070319>