cvs commit: src/sys/kern kern_sig.c
David E. O'Brien
obrien at FreeBSD.org
Thu May 15 18:34:24 PDT 2003
obrien 2003/05/15 18:34:23 PDT
FreeBSD src repository
Modified files:
sys/kern kern_sig.c
Log:
Fix long standing bug that prevents the PT_CONTINUE, PT_KILL and
PT_DETACH ptrace(2) requests from functioning as advertised in the
manual page. As described in kern/35175, the PT_DETACH request will,
under certain circumstances, pass an unwanted signal on to the traced
process upan detaching from it. The PT_CONTINUE request will
sometimes fail if you make it pass a signal that has "properties" that
differ from the properties of the signal that origionally caused the
traced process to be stopped. Since PT_KILL is nothing than
PT_CONTINUE with SIGKILL, it is broken too. In the PT_KILL case, this
leads to an unkillable process.
PR: 44011
Submitted by: Mark Kettenis <kettenis at chello.nl>
Approved by: re(jhb)
Revision Changes Path
1.239 +10 -9 src/sys/kern/kern_sig.c
More information about the cvs-all
mailing list