xsm: move FLASK_AVC_STATS to Kconfig
authorDoug Goldstein <cardoe@cardoe.com>
Wed, 16 Mar 2016 19:18:43 +0000 (14:18 -0500)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 25 Mar 2016 15:37:31 +0000 (11:37 -0400)
commita67e68c6310e983c76a63cc4863b46ddde6d84db
treedead5f9306dc86e1e1da51272c33714bac2ce008
parent0640eaf552a2c5e270dd02ecc3773a26adc20888
xsm: move FLASK_AVC_STATS to Kconfig

Have Kconfig set CONFIG_FLASK_AVC_STATS and prefix all uses with CONFIG_
to use the Kconfig variable.

Note that will preserve the original behavior - which is that you
cannot disable FLASK_AVC_STATS. Enterprising users can disable
it without any compilation issues.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
Acked-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
xen/common/Kconfig
xen/include/xen/config.h
xen/xsm/flask/avc.c
xen/xsm/flask/flask_op.c
xen/xsm/flask/include/avc.h