Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c8efdd86 authored by Ma Shimiao's avatar Ma Shimiao Committed by Pranav Vashi
Browse files

UPSTREAM: 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>
Change-Id: Iff4f30be79184f19d9f3ec253bbab9c4ad91f36c
(cherry picked from commit e7fd37ba)
Bug: 154548692
Signed-off-by: default avatarMarco Ballesio <balejs@google.com>
parent 303301e1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment