]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
UBUNTU: SAUCE: apparmor: add label data availability to the feature set
authorJohn Johansen <john.johansen@canonical.com>
Fri, 31 Mar 2017 12:05:06 +0000 (05:05 -0700)
committerTim Gardner <tim.gardner@canonical.com>
Mon, 3 Apr 2017 14:14:28 +0000 (15:14 +0100)
commitaa4412a4e046a78bc1efd11e56f7ee2c2a35224f
tree6ce471ccc00fc014e627dc6429f7b07ee471ed0d
parent04a9877bec6bf8ba3040c02ac05be6c36cfdfa37
UBUNTU: SAUCE: apparmor: add label data availability to the feature set

gsettings mediation needs to be able to determine if apparmor supports
label data queries. A label data query can be done to test for support
but its failure is indistinguishable from other failures, making it an
unreliable indicator.

Fix by making support of label data queries available as a flag in the
apparmorfs features dir tree.

BugLink: http://bugs.launchpad.net/bugs/1678023
Signed-off-by: John Johansen <john.johansen@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
security/apparmor/apparmorfs.c