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

Commit 71fce276 authored by Tri Vo's avatar Tri Vo Committed by android-build-merger
Browse files

Merge "Read selinux_denial_metadata from /vendor"

am: 6600f978

Change-Id: I7e67380198857ac24956d7ae2686e16dfe3d4d61
parents bf2ea0fa 6600f978
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