Searched refs:source_context (Results 1 – 5 of 5) sorted by relevance
/system/core/init/ |
D | property_service.h | 29 bool CanReadProperty(const std::string& source_context, const std::string& name); 34 const std::string& source_context, const ucred& cr, std::string* error);
|
D | property_service.cpp | 114 bool CanReadProperty(const std::string& source_context, const std::string& name) { in CanReadProperty() argument 125 return selinux_check_access(source_context.c_str(), target_context, "file", "read", in CanReadProperty() 130 const char* source_context, const ucred& cr) { in CheckMacPerms() argument 131 if (!target_context || !source_context) { in CheckMacPerms() 140 bool has_access = (selinux_check_access(source_context, target_context, "property_service", in CheckMacPerms() 336 std::string source_context() const { in source_context() function in android::init::SocketConnection 337 char* source_context = nullptr; in source_context() local 338 getpeercon(socket_, &source_context); in source_context() 339 std::string result = source_context; in source_context() 340 freecon(source_context); in source_context() [all …]
|
D | host_init_stubs.h | 42 bool CanReadProperty(const std::string& source_context, const std::string& name); 45 const std::string& source_context, const ucred& cr, std::string* error);
|
D | host_init_stubs.cpp | 33 bool CanReadProperty(const std::string& source_context, const std::string& name) { in CanReadProperty() argument
|
/system/core/fs_mgr/ |
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()
|