diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-02-07 09:14:47 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-07 17:42:22 +0100 |
commit | 73507f335f406ff31ceb97b39fa76eaee00f4f26 (patch) | |
tree | 0fc2afdd433f883525195c337150140a692a8170 /Documentation/cpusets.txt | |
parent | hotplug cpu move tasks in empty cpusets - refinements (diff) | |
download | linux-73507f335f406ff31ceb97b39fa76eaee00f4f26.tar.xz linux-73507f335f406ff31ceb97b39fa76eaee00f4f26.zip |
Handle pid namespaces in cgroups code
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 Emelyanov <xemul@openvz.org>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Acked-by: Paul Menage <menage@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/cpusets.txt')
0 files changed, 0 insertions, 0 deletions