]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita37626915d4d8822998fb3071fd42dec5947148d
treefc8149a83cd3c7974161615e5f50c9703d1634ff
parent96a664d87a48b3d3e3739894630421418953cf93
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