summaryrefslogtreecommitdiffstats
path: root/security/apparmor/lib.c
diff options
context:
space:
mode:
authorJohn Johansen <john.johansen@canonical.com>2022-01-25 00:37:42 -0800
committerJohn Johansen <john.johansen@canonical.com>2022-07-09 15:13:59 -0700
commitec240b5905bbb09a03dccffee03062cf39e38dc2 (patch)
tree8c7d00f2aae7a858eddc862a10b860eb332f01cf /security/apparmor/lib.c
parent84117994bc103617787147b8538a5c021b2ca79f (diff)
downloadlinux-ec240b5905bbb09a03dccffee03062cf39e38dc2.tar.bz2
apparmor: Fix failed mount permission check error message
When the mount check fails due to a permission check failure instead of explicitly at one of the subcomponent checks, AppArmor is reporting a failure in the flags match. However this is not true and AppArmor can not attribute the error at this point to any particular component, and should only indicate the mount failed due to missing permissions. Fixes: 2ea3ffb7782a ("apparmor: add mount mediation") Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor/lib.c')
0 files changed, 0 insertions, 0 deletions