Re: [PATCH v2] cgroup: reject cgroup names with '\n'

From: Tejun Heo
Date: Mon Aug 18 2014 - 10:20:47 EST


On Mon, Aug 18, 2014 at 12:20:20PM +0100, Alban Crequy wrote:
> /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@xxxxxxxxxxxxxxx>

Applied to cgroup/for-3.17-fixes w/ stable cc'd.

Thanks!

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/