Update auditParse to not prepend "b/" to bug IDs
Instead, the bug_map entries will now include the b/ prefix. This will allow arbitrary URLs to be added as well to SELinux denial messages Bug: 141014771 Test: Generated a denial, verified that the bug id in the dmesg logs remains unchanged. Change-Id: I4679117abdc2e13af81336b0b7fd8d69def80147
This commit is contained in:
parent
30a3b92c0e
commit
1d02c2addc
|
@ -160,7 +160,7 @@ void LogAudit::auditParse(const std::string& string, uid_t uid,
|
|||
}
|
||||
auto search = denial_to_bug.find(scontext + tcontext + tclass);
|
||||
if (search != denial_to_bug.end()) {
|
||||
bug_num->assign(" b/" + search->second);
|
||||
bug_num->assign(" " + search->second);
|
||||
} else {
|
||||
bug_num->assign("");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue