Update to ONDK r25.7

This commit is contained in:
topjohnwu
2023-08-15 17:10:20 -07:00
parent f86c66c99d
commit 41226c12b8
5 changed files with 5 additions and 5 deletions

View File

@@ -694,7 +694,7 @@ bool sepol_impl::add_typeattribute(const char *type, const char *attr) {
}
void sepol_impl::strip_dontaudit() {
avtab_for_each(&db->te_avtab, [=](avtab_ptr_t node) {
avtab_for_each(&db->te_avtab, [=, this](avtab_ptr_t node) {
if (node->key.specified == AVTAB_AUDITDENY || node->key.specified == AVTAB_XPERMS_DONTAUDIT)
avtab_remove_node(&db->te_avtab, node);
});