]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
UBUNTU: SAUCE: apparmor: flock mediation is not being enforced on cache check
authorJohn Johansen <john.johansen@canonical.com>
Mon, 30 Jan 2017 10:38:14 +0000 (02:38 -0800)
committerTim Gardner <tim.gardner@canonical.com>
Mon, 20 Feb 2017 03:57:58 +0000 (20:57 -0700)
commita7409fe3eb56b370e91b1bf18c425cf3330dbe03
tree42a80f73b5c1f46e36200367a8e85fa99243473d
parentc0b46bf19d81c73eaa160ea60f8690a42b6fa0ad
UBUNTU: SAUCE: apparmor: flock mediation is not being enforced on cache check

When an open file with cached permissions is checked for the flock
permission. The cache check fails and falls through to no error instead
of auditing, and returning an error.

For the fall through to do a permission check, so it will audit the
failed flock permission check.

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