]> git.baikalelectronics.ru Git - kernel.git/commit
apparmor: fix quiet_denied for file rules
authorJohn Johansen <john.johansen@canonical.com>
Thu, 29 Apr 2021 08:48:28 +0000 (01:48 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Aug 2022 09:18:20 +0000 (11:18 +0200)
commit06771c528a0cbec4119aa5d65f63fc614a06622d
treeec40406a2f446402755caa0a95c09a5a51cb8d54
parentd4605009c5c1529576f2b12c294a53a9bb3ef963
apparmor: fix quiet_denied for file rules

commit 98b6afd2f48fb2575f5532e61690ddce57466fcf upstream.

Global quieting of denied AppArmor generated file events is not
handled correctly. Unfortunately the is checking if quieting of all
audit events is set instead of just denied events.

Fixes: fd6ebb93872e ("AppArmor: basic auditing infrastructure.")
Signed-off-by: John Johansen <john.johansen@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
security/apparmor/audit.c