]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerJiri Slaby <jslaby@suse.cz>
Fri, 27 Jan 2017 10:16:10 +0000 (11:16 +0100)
commit0762dc3adc6aa4a0056159afd54735ba088005be
tree2df5f40b2d027baffc600edc3706064b9d61c734
parent723ace24a961a97711f2461affd52a4d91fd977b
apparmor: fix log failures for all profiles in a set

commit bf15cf0c641be8e57d45f110a9d91464f5bb461a upstream.

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>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
security/apparmor/policy.c