ptrace problem - confounded, dazed and confused at the inconsistencies

ptrace problem - confounded, dazed and confused at the inconsistencies

Shachar Shemesh shachar at shemesh.biz
Thu Oct 28 07:11:01 IST 2010


On 27/10/10 23:03, Amos Shapira wrote:

> On 28 October 2010 06:23, Shachar Shemesh<shachar at shemesh.biz>  wrote:
>    
>> Same flags to clone in both cases (vi sets the same flags, and both strace
>> and fakeroot-ng change them to the same different flags).
>> I'm not aware of any settings that globally affects wait's behavior.
>>      
> SIGCHLD? (not global, but part of the "environment"),
>
>    
The environment IS global.

And you must understand that, essentially any debugger, is merely a loop 
of "wait for SIGCHLD, call ptrace, repeat". If that were the problem, 
nothing would work.

Shachar

-- 
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
http://www.lingnu.com




More information about the Linux-il mailing list