mapper: remove service deny list feature
This feature has existed for years, but remains unused. Drop the dead
code.
Change-Id: I1b0b6f7fee0da30a3e36e1d151e70e1039fe2c7b
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/src/processing.cpp b/src/processing.cpp
index 5239818..448830f 100644
--- a/src/processing.cpp
+++ b/src/processing.cpp
@@ -25,8 +25,7 @@
}
bool needToIntrospect(const std::string& processName,
- const AllowDenyList& allowList,
- const AllowDenyList& denyList)
+ const AllowDenyList& allowList)
{
auto inAllowList =
std::find_if(allowList.begin(), allowList.end(),
@@ -34,10 +33,7 @@
return boost::starts_with(processName, prefix);
}) != allowList.end();
- // This holds full service names, not prefixes
- auto inDenyList = denyList.find(processName) != denyList.end();
-
- return inAllowList && !inDenyList;
+ return inAllowList;
}
void processNameChangeDelete(