Re: [Phishing Risk] [External] Re: [PATCH] taskstats: fix CGROUPSTATS_CMD_GET for cgroup v2

2020-09-14 Thread Chengming Zhou
在 2020/9/10 下午10:32, Tejun Heo 写道: > On Thu, Sep 10, 2020 at 01:52:07PM +0800, Chengming Zhou wrote: >> We found cgroupstats_build would return -EINVAL when using netlink >> CGROUPSTATS_CMD_GET interface to get stats on cgroup v2. Fix it by >> supporting cgroup v2 kernfs directory in

Re: [PATCH] taskstats: fix CGROUPSTATS_CMD_GET for cgroup v2

2020-09-10 Thread Tejun Heo
On Thu, Sep 10, 2020 at 01:52:07PM +0800, Chengming Zhou wrote: > We found cgroupstats_build would return -EINVAL when using netlink > CGROUPSTATS_CMD_GET interface to get stats on cgroup v2. Fix it by > supporting cgroup v2 kernfs directory in cgroupstats_build, and export > cgroup2_fs_type like

[PATCH] taskstats: fix CGROUPSTATS_CMD_GET for cgroup v2

2020-09-09 Thread Chengming Zhou
We found cgroupstats_build would return -EINVAL when using netlink CGROUPSTATS_CMD_GET interface to get stats on cgroup v2. Fix it by supporting cgroup v2 kernfs directory in cgroupstats_build, and export cgroup2_fs_type like we did for cgroup_fs_type. Reported-by: Daowen Luo Tested-by: