summaryrefslogtreecommitdiff
path: root/kernel/cpu.c
diff options
context:
space:
mode:
authorAlban Crequy <alban.crequy@collabora.co.uk>2014-08-18 12:20:20 +0100
committerZefan Li <lizefan@huawei.com>2014-12-01 18:02:23 +0800
commita48fec2f276f8003fb8098df892ea3acb5d7149a (patch)
treef9215afbe8d73833a7c5eaba2f6dc54ed4b8f96c /kernel/cpu.c
parentc16060dfda1c8418a9e638b79f5d2101b482e89f (diff)
cgroup: reject cgroup names with ' '
commit 71b1fb5c4473a5b1e601d41b109bdfe001ec82e0 upstream. /proc/<pid>/cgroup contains one cgroup path on each line. If cgroup names are allowed to contain "\n", applications cannot parse /proc/<pid>/cgroup safely. Signed-off-by: Alban Crequy <alban.crequy@collabora.co.uk> Signed-off-by: Tejun Heo <tj@kernel.org> [lizf: Backported to 3.4: - adjust context - s/name/dentry->d_name.name/] Signed-off-by: Zefan Li <lizefan@huawei.com>
Diffstat (limited to 'kernel/cpu.c')
0 files changed, 0 insertions, 0 deletions