CGROUP_MOUNT_PATH
if (mkdir(CGROUP_MOUNT_PATH, 0777) && errno != EEXIST) {
if (mount("none", CGROUP_MOUNT_PATH, "cgroup2", 0, NULL) && errno != EBUSY) {
if (__enable_controllers(CGROUP_MOUNT_PATH, NULL) ||
return join_cgroup_from_top(CGROUP_MOUNT_PATH);
join_cgroup_from_top(CGROUP_MOUNT_PATH);
if (cgroup_workdir_mounted && umount(CGROUP_MOUNT_PATH))
fd = open(CGROUP_MOUNT_PATH, O_RDONLY);
snprintf(buf, sizeof(buf), "%s%s%d%s", CGROUP_MOUNT_PATH, \