From 232db5e6df0b835e2542421257f9aa2d46a8ee77 Mon Sep 17 00:00:00 2001 From: Ryan Prichard Date: Mon, 3 Aug 2020 15:32:13 -0700 Subject: Rename linker greylist to exempt-list Update language to comply with Android's inclusive language guidance See https://source.android.com/setup/contribute/respectful-code for reference #inclusivefixit Bug: http://b/162536543 Test: device boots Change-Id: Ia80fb2f3be6abdadbd061570d48a4ef0fefcfebc --- libnativeloader/native_loader_namespace.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libnativeloader/native_loader_namespace.cpp') diff --git a/libnativeloader/native_loader_namespace.cpp b/libnativeloader/native_loader_namespace.cpp index 79a9791dd0..fe15c70ac8 100644 --- a/libnativeloader/native_loader_namespace.cpp +++ b/libnativeloader/native_loader_namespace.cpp @@ -86,7 +86,7 @@ Result NativeLoaderNamespace::GetSystemNamespace(bool is_ Result NativeLoaderNamespace::Create( const std::string& name, const std::string& search_paths, const std::string& permitted_paths, - const NativeLoaderNamespace* parent, bool is_shared, bool is_greylist_enabled, + const NativeLoaderNamespace* parent, bool is_shared, bool is_exempt_list_enabled, bool also_used_as_anonymous) { bool is_bridged = false; if (parent != nullptr) { @@ -116,8 +116,8 @@ Result NativeLoaderNamespace::Create( if (is_shared) { type |= ANDROID_NAMESPACE_TYPE_SHARED; } - if (is_greylist_enabled) { - type |= ANDROID_NAMESPACE_TYPE_GREYLIST_ENABLED; + if (is_exempt_list_enabled) { + type |= ANDROID_NAMESPACE_TYPE_EXEMPT_LIST_ENABLED; } if (!is_bridged) { -- cgit v1.2.3-59-g8ed1b