diff options
Diffstat (limited to 'linker/linker_namespaces.h')
-rw-r--r-- | linker/linker_namespaces.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/linker/linker_namespaces.h b/linker/linker_namespaces.h index 215ad05c3..9561bb444 100644 --- a/linker/linker_namespaces.h +++ b/linker/linker_namespaces.h @@ -72,7 +72,10 @@ struct android_namespace_link_t { struct android_namespace_t { public: - android_namespace_t() : is_isolated_(false), is_greylist_enabled_(false) {} + android_namespace_t() : + is_isolated_(false), + is_greylist_enabled_(false), + is_also_used_as_anonymous_(false) {} const char* get_name() const { return name_.c_str(); } void set_name(const char* name) { name_ = name; } @@ -83,6 +86,9 @@ struct android_namespace_t { bool is_greylist_enabled() const { return is_greylist_enabled_; } void set_greylist_enabled(bool enabled) { is_greylist_enabled_ = enabled; } + bool is_also_used_as_anonymous() const { return is_also_used_as_anonymous_; } + void set_also_used_as_anonymous(bool yes) { is_also_used_as_anonymous_ = yes; } + const std::vector<std::string>& get_ld_library_paths() const { return ld_library_paths_; } @@ -164,6 +170,7 @@ struct android_namespace_t { std::string name_; bool is_isolated_; bool is_greylist_enabled_; + bool is_also_used_as_anonymous_; std::vector<std::string> ld_library_paths_; std::vector<std::string> default_library_paths_; std::vector<std::string> permitted_paths_; |