Re: [PATCH 09] introduce the empty struct ptrace_context

2009-08-18 Thread Oleg Nesterov
On 08/17, Roland McGrath wrote: Does this mean you intend to abandon the ptrace-revamp draft series that added ptrace_context et al cleanups in the pre-utrace code? Well, yes. I don't think this series makes sense before utrace-ptrace. Firstly, it adds task_struct-ptrace_ctx (and kzalloc to

[PATCH 09] introduce the empty struct ptrace_context

2009-08-17 Thread Oleg Nesterov
Introduce the empty struct ptrace_context, change ptrace_attach_task() to setup engine-data. It should be used for ptrace_set_action() and ptrace_set_stop_event(), the current usage of -ptrace is racy. Also, -exit_code and -last_siginfo should live in engine-data too. Eventually, all

Re: [PATCH 09] introduce the empty struct ptrace_context

2009-08-17 Thread Roland McGrath
Does this mean you intend to abandon the ptrace-revamp draft series that added ptrace_context et al cleanups in the pre-utrace code? Or are you culling bits from there to integrate differently now? It should be used for ptrace_set_action() and ptrace_set_stop_event(), the current usage of