提交 d9f02d9c 编写于 作者: J John Johansen

apparmor: fix display of ns name

The ns name being displayed should go through an ns view lookup.
Signed-off-by: NJohn Johansen <john.johansen@canonical.com>
上级 5262ef60
...@@ -1105,7 +1105,7 @@ static int seq_ns_name_show(struct seq_file *seq, void *v) ...@@ -1105,7 +1105,7 @@ static int seq_ns_name_show(struct seq_file *seq, void *v)
{ {
struct aa_ns *ns = aa_current_profile()->ns; 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; return 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册