]> 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)
commitf2baddf426e653beb99af9f9cf74925f93c88015
treefc8149a83cd3c7974161615e5f50c9703d1634ff
parent003d5644af02af89e82527e1b593e80f539154bc
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