ima: audit is compiled only when enabled
authorDmitry Kasatkin <dmitry.kasatkin@intel.com>
Mon, 25 Jun 2012 09:18:21 +0000 (12:18 +0300)
committerMimi Zohar <zohar@linux.vnet.ibm.com>
Thu, 5 Jul 2012 20:43:59 +0000 (16:43 -0400)
commit417c6c8ee2eb6975f357d8975af94ba5fbeaf82d
tree02af1e4363f415bfaa45c50a530cee78ecdf87b8
parent7ff2267af595e642f1009198ab49e86a239148fa
ima: audit is compiled only when enabled

IMA auditing code was compiled even when CONFIG_AUDIT was not enabled.
This patch compiles auditing code only when possible and enabled.

Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@intel.com>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
security/integrity/ima/Kconfig
security/integrity/ima/Makefile
security/integrity/ima/ima.h
security/integrity/ima/ima_audit.c