summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2003-05-16 01:34:23 +0000
committerobrien <obrien@FreeBSD.org>2003-05-16 01:34:23 +0000
commit384dc4a2a3a4d1bcd5b3d6377775f4d2c81d908c (patch)
treec2610a051a55bf26c72506749237db83903129df /lib/libc
parent49ec42645b698a2d1d13ce453d2f135046098070 (diff)
downloadFreeBSD-src-384dc4a2a3a4d1bcd5b3d6377775f4d2c81d908c.zip
FreeBSD-src-384dc4a2a3a4d1bcd5b3d6377775f4d2c81d908c.tar.gz
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@chello.nl> Approved by: re(jhb)
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud