cgroup: check if cgroup root is alive in cgroupstats_show()
euler inclusion category: bugfix bugzilla: 47460 CVE: N/A ------------------------------------------------- If a cgroup root is dying, show its hierarchy_id and num_cgroups as 0. Signed-off-by: NZefan Li <lizefan@huawei.com> Tested-by: NKefeng Wang <wangkefeng.wang@huawei.com> Signed-off-by: NHanjun Guo <hanjun.guo@linaro.org> Signed-off-by: NChangchun Yu <yuchangchun1@huawei.com> Reviewed-by: NZefan Li <lizefan@huawei.com> Signed-off-by: Nzhangyi (F) <yi.zhang@huawei.com> Signed-off-by: NLu Jialin <lujialin4@huawei.com> Reviewed-by: Nxiu jianfeng <xiujianfeng@huawei.com> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Showing
想要评论请 注册 或 登录