On 01/31, Daniel Lezcano wrote:On 01/31/2011 12:26 PM, Alexey Dobriyan wrote:Well, it is already used to get the pid_ns of !current task.This task_active_pid_ns() is misnamed(?) because it does matter onlyActually this function is later used, for the unshare, to get the pid_ns
for dead tasks?
of a specific task, not the current one.
http://kerneltrap.org/mailarchive/linux-kernel/2010/6/20/4585095The actual need for this change is that you are going to complicate
the things so that current->proxy->pid_ns != task_active_pid_ns().
This makes me cry ;)
Please don't forget, this patch is buggy, iirc...