Skip to content
Commit e7fd37ba authored by Ma Shimiao's avatar Ma Shimiao Committed by Tejun Heo
Browse files

cgroup: avoid copying strings longer than the buffers



cgroup root name and file name have max length limit, we should
avoid copying longer name than that to the name.

tj: minor update to $SUBJ.

Signed-off-by: default avatarMa Shimiao <mashimiao.fnst@cn.fujitsu.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent c2f31b79
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment