summaryrefslogtreecommitdiff
path: root/security/apparmor/apparmorfs.c
diff options
context:
space:
mode:
authorChristos Gkekas <chris.gekas@gmail.com>2017-07-08 20:50:21 +0100
committerJohn Johansen <john.johansen@canonical.com>2017-09-22 13:00:57 -0700
commit86aea56f14929ff1c05eca1776e9068e907429d5 (patch)
treea07652c9a5e08fc4a63713d07722240d062f383f /security/apparmor/apparmorfs.c
parent19fe43a54fb67b6cc8857e65c78e1dc8aa2e97a3 (diff)
apparmor: Fix logical error in verify_header()
verify_header() is currently checking whether interface version is less than 5 *and* greater than 7, which always evaluates to false. Instead it should check whether it is less than 5 *or* greater than 7. Signed-off-by: Christos Gkekas <chris.gekas@gmail.com> Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor/apparmorfs.c')
0 files changed, 0 insertions, 0 deletions