1
0
Fork 0

apparmor: fix display of ns name

The ns name being displayed should go through an ns view lookup.

Signed-off-by: John Johansen <john.johansen@canonical.com>
zero-colors
John Johansen 2017-06-09 02:11:29 -07:00
parent 5262ef60b1
commit d9f02d9c23
1 changed files with 1 additions and 1 deletions

View File

@ -1105,7 +1105,7 @@ static int seq_ns_name_show(struct seq_file *seq, void *v)
{
struct aa_ns *ns = aa_current_profile()->ns;
seq_printf(seq, "%s\n", ns->base.name);
seq_printf(seq, "%s\n", aa_ns_name(ns, ns, true));
return 0;
}