Home
last modified time | relevance | path

Searched refs:cgroup (Results 1 – 25 of 374) sorted by relevance

12345678910>>...15

/aosp12/system/core/libprocessgroup/
H A Dprocessgroup.cpp127 return StringPrintf("%s/uid_%d", cgroup, uid); in ConvertUidToPath()
131 return StringPrintf("%s/uid_%d/pid_%d", cgroup, uid, pid); in ConvertUidPidToPath()
136 auto uid_pid_path = ConvertUidPidToPath(cgroup, uid, pid); in RemoveProcessGroup()
137 auto uid_path = ConvertUidToPath(cgroup, uid); in RemoveProcessGroup()
347 const char* cgroup = hierarchy_root_path.c_str(); in KillProcessGroup() local
420 auto uid_path = ConvertUidToPath(cgroup.c_str(), uid); in createProcessGroupInternal()
427 if (stat(cgroup.c_str(), &cgroup_stat) == 1) { in createProcessGroupInternal()
428 PLOG(ERROR) << "Failed to get stats for " << cgroup; in createProcessGroupInternal()
459 std::string cgroup; in createProcessGroup() local
467 CgroupGetControllerPath("memory", &cgroup); in createProcessGroup()
[all …]
/aosp12/system/core/libprocessgroup/setup/
H A Dcgroup_map_write.cpp148 const Json::Value& cgroup, const std::string& name, in MergeCgroupToDescriptors() argument
153 path = root_path + "/" + cgroup["Path"].asString(); in MergeCgroupToDescriptors()
155 path = cgroup["Path"].asString(); in MergeCgroupToDescriptors()
160 if (cgroup["NeedsActivation"].isBool() && cgroup["NeedsActivation"].asBool()) { in MergeCgroupToDescriptors()
164 if (cgroup["Optional"].isBool() && cgroup["Optional"].asBool()) { in MergeCgroupToDescriptors()
169 cgroups_version, name, path, std::strtoul(cgroup["Mode"].asString().c_str(), 0, 8), in MergeCgroupToDescriptors()
170 cgroup["UID"].asString(), cgroup["GID"].asString(), controller_flags); in MergeCgroupToDescriptors()
/aosp12/system/core/libprocessgroup/profiles/
H A Dcgroups_test.h42 auto&& cgroup = cgroups_->cgroups(i); in TEST_P()
43 EXPECT_FALSE(cgroup.controller().empty()) in TEST_P()
45 EXPECT_FALSE(cgroup.path().empty()) << "No path for cgroup #" << i << " in " << file_path_; in TEST_P()
/aosp12/system/sepolicy/prebuilts/api/29.0/public/
H A Dhal_cas.te15 r_dir_file(hal_cas, cgroup)
16 allow hal_cas cgroup:dir { search write };
17 allow hal_cas cgroup:file w_file_perms;
H A Dhal_drm.te19 r_dir_file(hal_drm, cgroup)
20 allow hal_drm cgroup:dir { search write };
21 allow hal_drm cgroup:file w_file_perms;
H A Dhal_telephony.te12 allow hal_telephony_server cgroup:dir create_dir_perms;
13 allow hal_telephony_server cgroup:{ file lnk_file } r_file_perms;
/aosp12/system/sepolicy/prebuilts/api/28.0/public/
H A Dhal_cas.te16 r_dir_file(hal_cas, cgroup)
17 allow hal_cas cgroup:dir { search write };
18 allow hal_cas cgroup:file w_file_perms;
H A Dhal_drm.te25 r_dir_file(hal_drm, cgroup)
26 allow hal_drm cgroup:dir { search write };
27 allow hal_drm cgroup:file w_file_perms;
H A Dhal_telephony.te14 allow hal_telephony_server cgroup:dir create_dir_perms;
15 allow hal_telephony_server cgroup:{ file lnk_file } r_file_perms;
/aosp12/system/sepolicy/prebuilts/api/30.0/public/
H A Dhal_cas.te15 r_dir_file(hal_cas, cgroup)
16 allow hal_cas cgroup:dir { search write };
17 allow hal_cas cgroup:file w_file_perms;
H A Dhal_drm.te19 r_dir_file(hal_drm, cgroup)
20 allow hal_drm cgroup:dir { search write };
21 allow hal_drm cgroup:file w_file_perms;
H A Dhal_telephony.te12 allow hal_telephony_server cgroup:dir create_dir_perms;
13 allow hal_telephony_server cgroup:{ file lnk_file } r_file_perms;
/aosp12/system/sepolicy/prebuilts/api/31.0/public/
H A Dhal_cas.te15 r_dir_file(hal_cas, cgroup)
16 allow hal_cas cgroup:dir { search write };
17 allow hal_cas cgroup:file w_file_perms;
H A Dhal_drm.te19 r_dir_file(hal_drm, cgroup)
20 allow hal_drm cgroup:dir { search write };
21 allow hal_drm cgroup:file w_file_perms;
H A Dhal_telephony.te12 allow hal_telephony_server cgroup:dir create_dir_perms;
13 allow hal_telephony_server cgroup:{ file lnk_file } r_file_perms;
/aosp12/system/sepolicy/prebuilts/api/32.0/public/
H A Dhal_cas.te15 r_dir_file(hal_cas, cgroup)
16 allow hal_cas cgroup:dir { search write };
17 allow hal_cas cgroup:file w_file_perms;
H A Dhal_drm.te19 r_dir_file(hal_drm, cgroup)
20 allow hal_drm cgroup:dir { search write };
21 allow hal_drm cgroup:file w_file_perms;
/aosp12/system/sepolicy/public/
H A Dhal_cas.te15 r_dir_file(hal_cas, cgroup)
16 allow hal_cas cgroup:dir { search write };
17 allow hal_cas cgroup:file w_file_perms;
H A Dhal_drm.te19 r_dir_file(hal_drm, cgroup)
20 allow hal_drm cgroup:dir { search write };
21 allow hal_drm cgroup:file w_file_perms;
/aosp12/system/sepolicy/prebuilts/api/27.0/public/
H A Dhal_cas.te18 r_dir_file(hal_cas, cgroup)
19 allow hal_cas cgroup:dir { search write };
20 allow hal_cas cgroup:file w_file_perms;
H A Dhal_drm.te27 r_dir_file(hal_drm, cgroup)
28 allow hal_drm cgroup:dir { search write };
29 allow hal_drm cgroup:file w_file_perms;
H A Dlmkd.te28 allow lmkd cgroup:dir { remove_name rmdir };
31 allow lmkd cgroup:file r_file_perms;
H A Drild.te12 allow rild cgroup:dir create_dir_perms;
13 allow rild cgroup:{ file lnk_file } r_file_perms;
/aosp12/hardware/google/pixel-sepolicy/common/
H A Dvendor_init.te1 # for cgroup migration
2 allow vendor_init cgroup:file rw_file_perms;
/aosp12/system/sepolicy/prebuilts/api/26.0/public/
H A Dhal_drm.te27 r_dir_file(hal_drm, cgroup)
28 allow hal_drm cgroup:dir { search write };
29 allow hal_drm cgroup:file w_file_perms;

12345678910>>...15