Re: Children first in fork

2001-04-20 Thread Éric Brunet
file) Ok, I haven't tried it (can't reboot a machine now), and I don't know what I am talking about, but the idea is simply ``if CLONE_PTRACE is set, and the parent is ptraced, then the child's effective parent should be its grandfather.'' Was it the way it was intend

Re: Children first in fork

2001-04-19 Thread Éric Brunet
tion I want). But I would just like to be sure that there are no mechanism already available by which it is possible to ptrace reliably a child. Éric Brunet - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordo

Children first in fork

2001-04-19 Thread Éric Brunet
more important that the possibility to ptrace across forks, but I still think that there should be a way to attach the children of a ptraced-process. Is there currently a way to achieve this in the kernel that I am not aware of ? Éric Brunet - To unsubscribe from this list: send the line "unsubs

Re: PATCH(?): linux-2.4.4-pre2: fork should run child first

2001-04-17 Thread Éric Brunet
EME,0,0,0); execve(the_debugged_process,args,env); } It is more portable, more traditionnal and works very well. Éric Brunet - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.k

Re: PATCH(?): linux-2.4.4-pre2: fork should run child first

2001-04-17 Thread Éric Brunet
eally weird and useless. I could simulate the current behaviour simply by calling ptrace(TRACE_ME,..) in the child. What is the real use of the CLONE_PTRACE flag ? Éric Brunet - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PR

Re: Bug in 2.2.19pre16 : bad interaction between sound and APM

2001-03-15 Thread Éric Brunet
top has been in suspend mode. > Nobody can help me to understand where this bug comes from and how I could fix it or get around it ? (For instance by reinitializing the sound subsystem, knowing that it is not a module but built inside the kernel.) Thank you very much by advance Éric Brunet