Date: Thu, 17 Mar 2005 08:44:41 +0000 (UTC) From: Poul-Henning Kamp <phk@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_proc.c subr_prf.c src/sys/sys proc.h Message-ID: <200503170844.j2H8ifLY053459@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
phk 2005-03-17 08:44:41 UTC FreeBSD src repository Modified files: sys/kern kern_proc.c subr_prf.c sys/sys proc.h Log: In stange circumstances we may end up being the last reference to a session in tprintf(). SESSRELE() needs to properly dispose of the sessions mutex. Add sessrele() which does the proper cleanup and have SESSRELE() call it. Use SESSRELE also in pgdelete(). Found by: Coverity (ID:526) Revision Changes Path 1.227 +17 -10 src/sys/kern/kern_proc.c 1.114 +1 -4 src/sys/kern/subr_prf.c 1.421 +3 -4 src/sys/sys/proc.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503170844.j2H8ifLY053459>