Re: engine-data ptrace_context

2009-07-24 Thread Roland McGrath
For example, wait_consider_task(). Even some tracehooks, say, tracehook_notify_death() need task_is_ptraced(). Not some, just that one, right? So these are all really the same one thing: ptrace interfering with normal parent wait/SIGCHLD. In previous iterations, we had tracehook_inhibit_wait

Re: engine-data ptrace_context

2009-07-23 Thread Oleg Nesterov
On 07/22, Roland McGrath wrote: serves for attach/detach. You need somewhere to store the PTRACE_SETOPTIONS state and so forth, sure. But you can probably just handle the attachedness at the utrace level. That's what UTRACE_ATTACH_EXCLUSIVE is for. Yes. As for -ptrace, I think

Re: engine-data ptrace_context

2009-07-22 Thread Roland McGrath
serves for attach/detach. You need somewhere to store the PTRACE_SETOPTIONS state and so forth, sure. But you can probably just handle the attachedness at the utrace level. That's what UTRACE_ATTACH_EXCLUSIVE is for. Yes. As for -ptrace, I think it should die. The only problem is