[PATCH] RFC: do not detach when we think tracee is going to die
Dmitry V. Levin
ldv at altlinux.org
Wed Aug 17 18:32:54 UTC 2011
On Wed, Aug 17, 2011 at 07:33:57PM +0200, Denys Vlasenko wrote:
> We might have moderately bad news. I tested current git
> on 2.4.32 kernel (ISO image from
> and test/childthread.c testcase apparently shows that exit_group
> syscall *returns* under ptrace.
"./strace -f time ls" also produces quite an unexpected output on
> IOW: the "detach before exit" might be a necessity even
> on latest 2.4 kernels. Need to test 2.4.37...
I've made an installation from Owl-2.0-release-i386.iso.gz and updated it
to 2.0-stable with linux-220.127.116.11-ow1 kernel, the qemu image could be
found at ftp://ftp.altlinux.org/pub/people/ldv/owl/owl-2.0-stable-hd.img.xz
Looks like no essential differences from 2.4.32, though.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: not available
More information about the Strace-devel