diff options
author | Luke Huang <huangluke@google.com> | 2020-07-30 15:09:18 +0800 |
---|---|---|
committer | Luke Huang <huangluke@google.com> | 2020-07-31 11:37:28 +0800 |
commit | 30f2f053f27731e091923a162b91439ee667944f (patch) | |
tree | 76a39c25edba4620568081de4224a60a3ce6debb /linker/linker.cpp | |
parent | 3025f128f3cdeb168a915cb51af84c4dac841e4a (diff) |
linker: Cleanup for Android's inclusive language guidance
1. Cleanup for #inclusivefixit. (whitelisted -> allowed_libs)
2. Support the old term for backwards compatibility. (Also update test.)
3. Fix the formatting errors found by clang-format.
See https://source.android.com/setup/contribute/respectful-code
for reference.
Bug: 161896447
Test: atest linker-unit-tests linker-benchmarks
Change-Id: I19dbed27a6d874ac0049cb7b67d2cb0f75369c1b
Diffstat (limited to 'linker/linker.cpp')
-rw-r--r-- | linker/linker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linker/linker.cpp b/linker/linker.cpp index 7cfe87be7..ad53ae973 100644 --- a/linker/linker.cpp +++ b/linker/linker.cpp @@ -3500,7 +3500,7 @@ std::vector<android_namespace_t*> init_default_namespaces(const char* executable ns->set_isolated(ns_config->isolated()); ns->set_default_library_paths(ns_config->search_paths()); ns->set_permitted_paths(ns_config->permitted_paths()); - ns->set_whitelisted_libs(ns_config->whitelisted_libs()); + ns->set_allowed_libs(ns_config->allowed_libs()); namespaces[ns_config->name()] = ns; if (ns_config->visible()) { |