[PATCH] fix indefinite hang on no-mmu systems

Dmitry V. Levin ldv at altlinux.org
Fri Apr 6 15:25:13 UTC 2012


On Thu, Apr 05, 2012 at 01:52:25AM -0400, Mike Frysinger wrote:
> The ptrace setoptions code will fork a child which goes to sleep and
> expects the parent to continue on to do tests.  Unfortunately, this
> does not work on no-mmu systems as fork() is actually vfork() and any
> vforked children will hang the parent until it exits or execs.
> 
> We might be able to make this test work on no-mmu systems with a bit
> of work, but easier to just disable this for the release so it works
> now.
> 
> * strace.c (test_ptrace_setoptions_for_all): Return if strace_vforked.

Applied, thanks.


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20120406/b21b429f/attachment.bin>


More information about the Strace-devel mailing list