naming: be inclusive
Adhere to the project inclusive naming guidelines and also adhere to the
OpenBMC style guidelines.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Change-Id: I5a365049b6fb27236dd55c8455fe13a4a9e7fd31
diff --git a/src/processing.cpp b/src/processing.cpp
index 19f36a8..255433c 100644
--- a/src/processing.cpp
+++ b/src/processing.cpp
@@ -25,19 +25,19 @@
}
bool needToIntrospect(const std::string& processName,
- const WhiteBlackList& whiteList,
- const WhiteBlackList& blackList)
+ const AllowDenyList& allowList,
+ const AllowDenyList& denyList)
{
- auto inWhitelist =
- std::find_if(whiteList.begin(), whiteList.end(),
+ auto inAllowList =
+ std::find_if(allowList.begin(), allowList.end(),
[&processName](const auto& prefix) {
return boost::starts_with(processName, prefix);
- }) != whiteList.end();
+ }) != allowList.end();
// This holds full service names, not prefixes
- auto inBlacklist = blackList.find(processName) != blackList.end();
+ auto inDenyList = denyList.find(processName) != denyList.end();
- return inWhitelist && !inBlacklist;
+ return inAllowList && !inDenyList;
}
void processNameChangeDelete(