summaryrefslogtreecommitdiff
path: root/linker/linker_namespaces.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2018-02-28 11:29:45 -0800
committerElliott Hughes <enh@google.com>2018-02-28 12:37:28 -0800
commit9076b0c4e78e8680ce40ce48321e8ab81a87705b (patch)
tree180da47f5ec09a0d6710feae9868aad5e33abc1e /linker/linker_namespaces.cpp
parentbf6c0c8eaf755f5d1686b5022ee4c6d9eaf68686 (diff)
Be clearer about linker warnings.
Explicitly say "warning" for warnings, explicitly say what action we're going to take (such as "(ignoring)"), always provide a link to our documentation when there is one, explicitly say what API level the behavior changes at, and explicitly say why we're allowing the misbehavior for now. Bug: http://b/71852862 Test: ran tests, looked at logcat Change-Id: I1795a5af45deb904332b866d7d666690dae4340b
Diffstat (limited to 'linker/linker_namespaces.cpp')
-rw-r--r--linker/linker_namespaces.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/linker/linker_namespaces.cpp b/linker/linker_namespaces.cpp
index 9fdf0b51c..fd72cdc73 100644
--- a/linker/linker_namespaces.cpp
+++ b/linker/linker_namespaces.cpp
@@ -64,7 +64,8 @@ bool android_namespace_t::is_accessible(soinfo* s) {
// This is workaround for apps hacking into soinfo list.
// and inserting their own entries into it. (http://b/37191433)
if (!si->has_min_version(3)) {
- DL_WARN("invalid soinfo version for \"%s\"", si->get_soname());
+ DL_WARN("Warning: invalid soinfo version for \"%s\" (assuming inaccessible)",
+ si->get_soname());
return false;
}