Re: [PATCH] cgroup: avoid cgroup root name longer than max

2017-12-11 Thread Tejun Heo
On Fri, Dec 08, 2017 at 04:47:46PM +0800, Ma Shimiao wrote: > cgroup root name has max length limit, we should avoid copying > longer name than that to the name. > > Signed-off-by: Ma Shimiao > --- > kernel/cgroup/cgroup.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a

[PATCH] cgroup: avoid cgroup root name longer than max

2017-12-08 Thread Ma Shimiao
cgroup root name has max length limit, we should avoid copying longer name than that to the name. Signed-off-by: Ma Shimiao --- kernel/cgroup/cgroup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/cgroup/cgroup.c b/kernel/cgroup/cgroup.c index 0b1ffe147f24..3614a21ad