Searched refs:target_context (Results 1 – 3 of 3) sorted by relevance
/system/core/fs_mgr/ |
D | fs_mgr_vendor_overlay.cpp | 76 const auto target_context = fs_mgr_get_context(vendor_mount_point); in fs_mgr_vendor_overlay_mount() local 77 if (target_context.empty()) { in fs_mgr_vendor_overlay_mount() 83 if (target_context != source_context) { in fs_mgr_vendor_overlay_mount() 85 << ", target:" << target_context << ")"; in fs_mgr_vendor_overlay_mount()
|
/system/core/init/ |
D | check_builtins.cpp | 185 const char* target_context = nullptr; in check_setprop() local 187 property_info_area->GetPropertyInfo(name.c_str(), &target_context, &type); in check_setprop()
|
D | property_service.cpp | 136 const char* target_context = nullptr; in CanReadProperty() local 137 property_info_area->GetPropertyInfo(name.c_str(), &target_context, nullptr); in CanReadProperty() 146 return selinux_check_access(source_context.c_str(), target_context, "file", "read", in CanReadProperty() 150 static bool CheckMacPerms(const std::string& name, const char* target_context, in CheckMacPerms() argument 152 if (!target_context || !source_context) { in CheckMacPerms() 161 bool has_access = (selinux_check_access(source_context, target_context, "property_service", in CheckMacPerms() 453 const char* target_context = nullptr; in CheckPermissions() local 455 property_info_area->GetPropertyInfo(name.c_str(), &target_context, &type); in CheckPermissions() 457 if (!CheckMacPerms(name, target_context, source_context.c_str(), cr)) { in CheckPermissions()
|