Merge "Read selinux_denial_metadata from /vendor"

This commit is contained in:
Tri Vo 2019-01-25 17:51:48 +00:00 committed by Gerrit Code Review
commit 6600f978a4

View file

@ -111,7 +111,7 @@ static inline bool hasMetadata(char* str, int str_len) {
}
std::map<std::string, std::string> LogAudit::populateDenialMap() {
std::ifstream bug_file("/system/etc/selinux/selinux_denial_metadata");
std::ifstream bug_file("/vendor/etc/selinux/selinux_denial_metadata");
std::string line;
// allocate a map for the static map pointer in auditParse to keep track of,
// this function only runs once