auditd: bug_map use modern C++
Change type of `std::map<std::string, str::string> denial_to_bug` to
std::map<std::tuple<std::string, std::string, std::string>, std::string>
to convey the semantics better.
Use the modernized .try_emplace( const Key& k, Args&&... args ) so that
the key-value pair can be constructed in-place via initializer list.
Remove LogAudit::populateDenialMap() from LogAudit.h because it doesn't
need to be exported.
Bug: 177977370
Test: Boot test; check auditd logs
Change-Id: Iee724da6efa45f264ff49430cada23e2a17ce89e
2 files changed