Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6600f978 authored by Tri Vo's avatar Tri Vo Committed by Gerrit Code Review
Browse files

Merge "Read selinux_denial_metadata from /vendor"

parents afa0d88e 57b2e8cd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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