Comment two linker namespace functions
Test: it builds Change-Id: I4dee0d4da230bd559319317b504e2c597f814f50
This commit is contained in:
parent
272458ee9f
commit
e503383c92
|
@ -33,6 +33,7 @@
|
|||
|
||||
#include <dlfcn.h>
|
||||
|
||||
// Given an absolute path, can this library be loaded into this namespace?
|
||||
bool android_namespace_t::is_accessible(const std::string& file) {
|
||||
if (!is_isolated_) {
|
||||
return true;
|
||||
|
@ -67,6 +68,8 @@ bool android_namespace_t::is_accessible(const std::string& file) {
|
|||
return false;
|
||||
}
|
||||
|
||||
// Are symbols from this shared object accessible for symbol lookups in a library from this
|
||||
// namespace?
|
||||
bool android_namespace_t::is_accessible(soinfo* s) {
|
||||
auto is_accessible_ftor = [this] (soinfo* si) {
|
||||
// This is workaround for apps hacking into soinfo list.
|
||||
|
|
Loading…
Reference in New Issue