]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
UBUNTU: SAUCE: apparmor: Fix: query label file permission
authorJohn Johansen <john.johansen@canonical.com>
Thu, 15 Oct 2015 22:33:30 +0000 (15:33 -0700)
committerTim Gardner <tim.gardner@canonical.com>
Wed, 6 Apr 2016 09:21:38 +0000 (10:21 +0100)
commitb59aa901fb4fe08076f537c0a67c89b93d9db46f
tree4d736c4ea1ad50329d80821d7b5271c3686d3548
parentbe364a06e6d85d8b54a6a3f4b385a82485ea9082
UBUNTU: SAUCE: apparmor: Fix: query label file permission

File permissions have not been updated to use the newer
compute_perms fn yet. So export the fn to compute the file
permissions and use it in query_label until file permissions
have been converted.

Signed-off-by: John Johansen <john.johansen@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
security/apparmor/apparmorfs.c
security/apparmor/file.c
security/apparmor/include/file.h