Date: Sat, 24 Dec 2005 02:59:30 +0000 (UTC) From: David Xu <davidxu@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_sig.c sys_process.c Message-ID: <200512240259.jBO2xUsJ076742@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
davidxu 2005-12-24 02:59:30 UTC FreeBSD src repository Modified files: sys/kern kern_sig.c sys_process.c Log: Avoid kernel panic when attaching a process which may not be stopped by debugger, e.g process is dumping core. Only access p_xthread if P_STOPPED_TRACE is set, this means thread is ready to exchange signal with debugger, print a warning if P_STOPPED_TRACE is not set due to some bugs in other code, if there is. The patch has been tested by Anish Mistry mistry.7 at osu dot edu, and is slightly adjusted. Revision Changes Path 1.319 +0 -2 src/sys/kern/kern_sig.c 1.134 +30 -26 src/sys/kern/sys_process.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512240259.jBO2xUsJ076742>