From: Alban Crequy Date: Mon, 18 Aug 2014 11:20:20 +0000 (+0100) Subject: cgroup: reject cgroup names with ' X-Git-Tag: v3.2.64~100 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e55f15dff80cadac01296cbf805ee0fb414ff58;p=pandora-kernel.git cgroup: reject cgroup names with ' ' commit 71b1fb5c4473a5b1e601d41b109bdfe001ec82e0 upstream. /proc//cgroup contains one cgroup path on each line. If cgroup names are allowed to contain "\n", applications cannot parse /proc//cgroup safely. Signed-off-by: Alban Crequy Signed-off-by: Tejun Heo [bwh: Backported to 3.2: - Adjust context - We have to get the name from the dentry pointer] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed