Searched refs:uid_path (Results 1 – 1 of 1) sorted by relevance
/aosp14/system/core/libprocessgroup/ |
H A D | processgroup.cpp | 219 auto uid_path = ConvertUidToPath(cgroup, uid); in RemoveProcessGroup() local 230 static bool RemoveUidProcessGroups(const std::string& uid_path, bool empty_only) { in RemoveUidProcessGroups() argument 231 std::unique_ptr<DIR, decltype(&closedir)> uid(opendir(uid_path.c_str()), closedir); in RemoveUidProcessGroups() 244 auto path = StringPrintf("%s/%s", uid_path.c_str(), dir->d_name); in RemoveUidProcessGroups() 556 auto uid_path = ConvertUidToPath(cgroup.c_str(), uid); in createProcessGroupInternal() local 572 if (!MkdirAndChown(uid_path, cgroup_mode, cgroup_uid, cgroup_gid)) { in createProcessGroupInternal() 573 PLOG(ERROR) << "Failed to make and chown " << uid_path; in createProcessGroupInternal() 577 ret = CgroupMap::GetInstance().ActivateControllers(uid_path); in createProcessGroupInternal() 579 LOG(ERROR) << "Failed to activate controllers in " << uid_path; in createProcessGroupInternal()
|