Module Name: src
Committed By: kamil
Date: Fri May 8 10:35:51 UTC 2020
Modified Files:
src/sys/kern: sys_ptrace_common.c
Log Message:
Clear PSL_TRACEDCHILD on ptrace(PT_DETACH)
This avoids potential race of detaching and attaching to a prestarted
process and receiving SIGTRAP instead of SIGSTOP.
To generate a diff of this commit:
cvs rdiff -u -r1.78 -r1.79 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.