cvs commit: src/sys/kern kern_sig.c sys_process.c
Ed Maste
emaste at FreeBSD.org
Tue Feb 28 07:02:52 PST 2006
emaste 2006-02-28 15:02:51 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_5)
sys/kern kern_sig.c sys_process.c
Log:
MFC kern_sig.c 1.319 sys_process.c 1.134 to RELENG_5:
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.
Approved by: re (scottl)
Revision Changes Path
1.289.2.9 +0 -2 src/sys/kern/kern_sig.c
1.127.2.5 +30 -26 src/sys/kern/sys_process.c
More information about the cvs-src
mailing list