Searched refs:source_context (Results 1 – 3 of 3) sorted by relevance
/system/core/fs_mgr/ |
D | fs_mgr_vendor_overlay.cpp | 81 const auto source_context = fs_mgr_get_context(source_directory); in fs_mgr_vendor_overlay_mount() local 82 if (target_context != source_context) { in fs_mgr_vendor_overlay_mount() 83 LERROR << " failed: source and target contexts do not match (source:" << source_context in fs_mgr_vendor_overlay_mount()
|
/system/core/init/ |
D | property_service.cpp | 161 bool CanReadProperty(const std::string& source_context, const std::string& name) { in CanReadProperty() argument 173 return selinux_check_access(source_context.c_str(), target_context, "file", "read", in CanReadProperty() 178 const char* source_context, const ucred& cr) { in CheckMacPerms() argument 179 if (!target_context || !source_context) { in CheckMacPerms() 189 return selinux_check_access(source_context, target_context, "property_service", "set", in CheckMacPerms() 287 bool GetSourceContext(std::string* source_context) const { in GetSourceContext() 292 *source_context = c_source_context; in GetSourceContext() 482 const std::string& source_context, const ucred& cr) { in CheckControlPropertyPerms() argument 496 … if (CheckMacPerms(control_string_legacy, target_context_legacy, source_context.c_str(), cr)) { in CheckControlPropertyPerms() 507 return CheckMacPerms(control_string_full, target_context_full, source_context.c_str(), cr); in CheckControlPropertyPerms() [all …]
|
D | property_service.h | 34 bool CanReadProperty(const std::string& source_context, const std::string& name);
|