Module Name: src
Committed By: kamil
Date: Fri Jan 3 00:37:30 UTC 2020
Modified Files:
src/sys/kern: sys_ptrace_common.c
Log Message:
Correct the rule to iterate over LWPs with PT_LWPNEXT and PT_LWPINFO
Correctly exclude dead/dying/zombie and system threads.
Fixes kern/54802 (gdb -p kills the kernel) by <martin>
To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 src/sys/kern/sys_ptrace_common.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.