]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit22c988f55662cde282a648e3a8a91dfc8089ee51
treece9c9148e6191cf2d600f9ada737b5076201fcdf
parent5dde5e43983e9fd3c95536472df5ab04b01af243
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