apparmor: fix log failures for all profiles in a set
authorJohn Johansen <john.johansen@canonical.com>
Sat, 16 Apr 2016 21:16:50 +0000 (14:16 -0700)
committerJohn Johansen <john.johansen@canonical.com>
Tue, 12 Jul 2016 15:43:10 +0000 (08:43 -0700)
commitbf15cf0c641be8e57d45f110a9d91464f5bb461a
tree54978703e21273ecfc57e72f69c87cbe8d4c2e55
parentf351841f8d41072e741e45299070d421a5833a4a
apparmor: fix log failures for all profiles in a set

currently only the profile that is causing the failure is logged. This
makes it more confusing than necessary about which profiles loaded
and which didn't. So make sure to log success and failure messages for
all profiles in the set being loaded.

Signed-off-by: John Johansen <john.johansen@canonical.com>
Acked-by: Seth Arnold <seth.arnold@canonical.com>
security/apparmor/policy.c