Searched refs:source_context (Results 1 – 3 of 3) sorted by relevance
/aosp12/system/core/init/ |
H A D | property_service.cpp | 159 const char* source_context, const ucred& cr) { in CheckMacPerms() argument 160 if (!target_context || !source_context) { in CheckMacPerms() 302 bool GetSourceContext(std::string* source_context) const { in GetSourceContext() 307 *source_context = c_source_context; in GetSourceContext() 452 if (!CheckControlPropertyPerms(name, value, source_context, cr)) { in CheckPermissions() 465 if (!CheckMacPerms(name, target_context, source_context.c_str(), cr)) { in CheckPermissions() 481 const std::string& source_context, const ucred& cr, in HandlePropertySet() argument 566 std::string source_context; in handle_property_set_fd() local 567 if (!socket.GetSourceContext(&source_context)) { in handle_property_set_fd() 594 std::string source_context; in handle_property_set_fd() local [all …]
|
H A D | property_service.h | 30 bool CanReadProperty(const std::string& source_context, const std::string& name);
|
/aosp12/system/core/fs_mgr/ |
H A D | fs_mgr_vendor_overlay.cpp | 82 const auto source_context = fs_mgr_get_context(source_directory); in fs_mgr_vendor_overlay_mount() local 83 if (target_context != source_context) { in fs_mgr_vendor_overlay_mount() 84 LERROR << " failed: source and target contexts do not match (source:" << source_context in fs_mgr_vendor_overlay_mount()
|