This prefix was not ever meant to go to the logs, and is just a debug
hint. Unfortunately it is showing up in the logs resulting in a double
'=' eg.
subj==firefox
which has the potential to break some log parsing tools.
Signed-off-by: John Johansen <john.johansen@canonical.com>
Acked-by: Andrea Righi <andrea.righi@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
AA_BUG(!str && size != 0);
AA_BUG(!label);
- if (flags & FLAG_ABS_ROOT) {
+ if (flags & FLAG_ABS_ROOT)
ns = root_ns;
- len = snprintf(str, size, "=");
- update_for_len(total, len, size, str);
- } else if (!ns) {
+ else if (!ns)
ns = labels_ns(label);
- }
label_for_each(i, label, profile) {
if (aa_ns_visible(ns, profile->ns, flags & FLAG_VIEW_SUBNS)) {