apparmor: update cap audit to check SECURITY_CAP_NOAUDIT
authorJohn Johansen <john.johansen@canonical.com>
Mon, 16 Jan 2017 08:43:08 +0000 (00:43 -0800)
committerJohn Johansen <john.johansen@canonical.com>
Mon, 16 Jan 2017 09:18:50 +0000 (01:18 -0800)
commit12eb87d50bfe234c3f964e9fb47bbd0135010c13
treefc8149a83cd3c7974161615e5f50c9703d1634ff
parent31f75bfecd9cef7d485b1cda3c6c38cc0b4a5c6c
apparmor: update cap audit to check SECURITY_CAP_NOAUDIT

apparmor should be checking the SECURITY_CAP_NOAUDIT constant. Also
in complain mode make it so apparmor can elect to log a message,
informing of the check.

Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/capability.c