Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
util: support systems using the new cgroup v2 structure
With cgroup v2, the location of the pids.max file changed and so did the /proc/self/cgroup file new /proc/self/cgroup file ` 0::/user.slice/user-500.slice/session-14.scope ` old file: ` 11:pids:/user.slice/user-500.slice/session-2.scope 10:blkio:/user.slice 9:net_cls,net_prio:/ 8:perf_event:/ ... ` There is no directory per subsystem (e.g. /sys/fs/cgroup/pids) any more, all files are now in one directory. fixes: #3085 Signed-off-by: Marcus Röder <m.roeder@yieldlab.de>
- Loading branch information