Loading libprocessgroup/cgroup_map.cpp +6 −1 Original line number Diff line number Diff line Loading @@ -234,10 +234,15 @@ int CgroupMap::ActivateControllers(const std::string& path) const { std::string str("+"); str.append(ACgroupController_getName(controller)); if (!WriteStringToFile(str, path + "/cgroup.subtree_control")) { if (flags & CGROUPRC_CONTROLLER_FLAG_OPTIONAL) { PLOG(WARNING) << "Activation of cgroup controller " << str << " failed in path " << path; } else { return -errno; } } } } return 0; } return -ENOSYS; Loading Loading
libprocessgroup/cgroup_map.cpp +6 −1 Original line number Diff line number Diff line Loading @@ -234,10 +234,15 @@ int CgroupMap::ActivateControllers(const std::string& path) const { std::string str("+"); str.append(ACgroupController_getName(controller)); if (!WriteStringToFile(str, path + "/cgroup.subtree_control")) { if (flags & CGROUPRC_CONTROLLER_FLAG_OPTIONAL) { PLOG(WARNING) << "Activation of cgroup controller " << str << " failed in path " << path; } else { return -errno; } } } } return 0; } return -ENOSYS; Loading