From: Pavel Emelyanov Date: Thu, 7 Feb 2008 08:14:47 +0000 (-0800) Subject: Handle pid namespaces in cgroups code X-Git-Tag: v2.6.25-rc1~426 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73507f335f406ff31ceb97b39fa76eaee00f4f26;p=pandora-kernel.git 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 Cc: "Eric W. Biederman" Acked-by: Paul Menage Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed