Home
last modified time | relevance | path

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

123456789

/system/core/libprocessgroup/
Dprocessgroup.cpp155 static std::string ConvertUidToPath(const char* cgroup, uid_t uid) { in ConvertUidToPath() argument
156 return StringPrintf("%s/uid_%d", cgroup, uid); in ConvertUidToPath()
159 static std::string ConvertUidPidToPath(const char* cgroup, uid_t uid, int pid) { in ConvertUidPidToPath() argument
160 return StringPrintf("%s/uid_%d/pid_%d", cgroup, uid, pid); in ConvertUidPidToPath()
163 static int RemoveProcessGroup(const char* cgroup, uid_t uid, int pid) { in RemoveProcessGroup() argument
166 auto uid_pid_path = ConvertUidPidToPath(cgroup, uid, pid); in RemoveProcessGroup()
169 auto uid_path = ConvertUidToPath(cgroup, uid); in RemoveProcessGroup()
262 static int DoKillProcessGroupOnce(const char* cgroup, uid_t uid, int initialPid, int signal) { in DoKillProcessGroupOnce() argument
263 auto path = ConvertUidPidToPath(cgroup, uid, initialPid) + PROCESSGROUP_CGROUP_PROCS_FILE; in DoKillProcessGroupOnce()
340 const char* cgroup = in KillProcessGroup() local
[all …]
/system/core/libprocessgroup/profiles/
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()
/system/sepolicy/public/
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;
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;
Dhal_telephony.te12 allow hal_telephony_server cgroup:dir create_dir_perms;
13 allow hal_telephony_server cgroup:{ file lnk_file } r_file_perms;
Dinputflinger.te15 r_dir_file(inputflinger, cgroup)
Dhal_fingerprint.te13 r_dir_file(hal_fingerprint, cgroup)
/system/sepolicy/prebuilts/api/29.0/public/
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;
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;
Dhal_telephony.te12 allow hal_telephony_server cgroup:dir create_dir_perms;
13 allow hal_telephony_server cgroup:{ file lnk_file } r_file_perms;
Dinputflinger.te15 r_dir_file(inputflinger, cgroup)
Dhal_fingerprint.te13 r_dir_file(hal_fingerprint, cgroup)
/system/sepolicy/prebuilts/api/28.0/public/
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;
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;
Dhal_telephony.te14 allow hal_telephony_server cgroup:dir create_dir_perms;
15 allow hal_telephony_server cgroup:{ file lnk_file } r_file_perms;
Dinputflinger.te16 r_dir_file(inputflinger, cgroup)
Dlmkd.te28 allow lmkd cgroup:dir { remove_name rmdir };
31 allow lmkd cgroup:file r_file_perms;
/system/sepolicy/prebuilts/api/27.0/public/
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;
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;
Dlmkd.te28 allow lmkd cgroup:dir { remove_name rmdir };
31 allow lmkd cgroup:file r_file_perms;
Drild.te12 allow rild cgroup:dir create_dir_perms;
13 allow rild cgroup:{ file lnk_file } r_file_perms;
Dinputflinger.te16 r_dir_file(inputflinger, cgroup)
/system/sepolicy/prebuilts/api/26.0/public/
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;
Dinputflinger.te16 r_dir_file(inputflinger, cgroup)
Drild.te12 allow rild cgroup:dir create_dir_perms;
13 allow rild cgroup:{ file lnk_file } r_file_perms;

123456789