]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
UBUNTU: SAUCE: apparmor: fix display of .ns_name for containers
authorJohn Johansen <john.johansen@canonical.com>
Wed, 31 Jan 2018 10:23:41 +0000 (11:23 +0100)
committerSeth Forshee <seth.forshee@canonical.com>
Wed, 31 Jan 2018 11:32:12 +0000 (12:32 +0100)
commit2aa580f17da1ea52870c2510062c61cd259df819
treec2fedeb244f79f5a540b00ffb31ece57cb82b261
parent179ffce1705409adf2fb84e87000d2bd39e584de
UBUNTU: SAUCE: apparmor: fix display of .ns_name for containers

The .ns_name should not be virtualized by the current ns view. It
needs to report the ns base name as that is being used during startup
as part of determining apparmor policy namespace support.

BugLink: http://bugs.launchpad.net/bugs/1746463
Fixes: d9f02d9c237aa ("apparmor: fix display of ns name")
Reported-by: Serge Hallyn <serge@hallyn.com>
Tested-by: Serge Hallyn <serge@hallyn.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
Acked-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
security/apparmor/apparmorfs.c