Re: [PATCH 5/12] Handle pid namespaces in cgroups code

2008-01-29 Thread Paul Menage
On Jan 29, 2008 5:52 AM, Pavel Emelyanov <[EMAIL PROTECTED]> wrote: > There's one place that works with task pids - its the "tasks" file > in cgroups. The read/write handlers assume, that the pid values > go to/come from the user space and thus it is a virtual pid, i.e. > the pid as it is seen from

[PATCH 5/12] Handle pid namespaces in cgroups code

2008-01-29 Thread Pavel Emelyanov
There's one place that works with task pids - its the "tasks" file in cgroups. The read/write handlers assume, that the pid values go to/come from the user space and thus it is a virtual pid, i.e. the pid as it is seen from inside a namespace. Tune the code accordingly. Signed-off-by: Pavel Eme