apparmor: make policy_unpack able to audit different info messages
authorJohn Johansen <john.johansen@canonical.com>
Wed, 19 Jul 2017 06:37:18 +0000 (23:37 -0700)
committerJohn Johansen <john.johansen@canonical.com>
Fri, 22 Sep 2017 20:00:58 +0000 (13:00 -0700)
commit2410aa96d6b4930ed25fd02c3d173f14b962e0f4
treece9c9148e6191cf2d600f9ada737b5076201fcdf
parent26b7899510ae243e392960704ebdba52d05fbb13
apparmor: make policy_unpack able to audit different info messages

Switch unpack auditing to using the generic name field in the audit
struct and make it so we can start adding new info messages about
why an unpack failed.

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