]> 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)
committerJohn Johansen <john.johansen@canonical.com>
Sat, 9 Jul 2022 22:13:59 +0000 (15:13 -0700)
commit8f3d415b658022d6f54a0dc8a4340f07f2db608d
tree79da8c3081ac7cc3c65d1bf3bddfe1ca39667b92
parent758e71b6457ae292610022e4f7aaad9713a79291
apparmor: fix quiet_denied for file rules

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>
security/apparmor/audit.c