Commit c7242366 authored by John Johansen's avatar John Johansen Committed by Tim Gardner

UBUNTU: SAUCE: apparmor: Fix: now that insert can force replacement use it...

UBUNTU: SAUCE: apparmor: Fix: now that insert can force replacement use it instead of remove_and_insert
Signed-off-by: default avatarJohn Johansen <john.johansen@canonical.com>
Signed-off-by: default avatarTim Gardner <tim.gardner@canonical.com>
parent 7e329b65
......@@ -1858,7 +1858,7 @@ static struct aa_label *__label_update(struct aa_label *label)
goto insert;
}
insert:
tmp = __aa_label_remove_and_insert(labels_set(label), label, l, true);
tmp = __aa_label_insert(labels_set(label), l, true);
if (tmp != l) {
aa_label_free(l);
l = tmp;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment