evm: remove TCG_TPM dependency
authorMimi Zohar <zohar@linux.vnet.ibm.com>
Sun, 28 Aug 2011 12:57:11 +0000 (08:57 -0400)
committerMimi Zohar <zohar@linux.vnet.ibm.com>
Wed, 14 Sep 2011 19:24:49 +0000 (15:24 -0400)
commit1d714057ef8f6348eba7b28ace6d307513e57cef
treea848b86df6257b347b6929f9ad09666105996003
parent982e617a313b57abee3bcfa53381c356d00fd64a
evm: remove TCG_TPM dependency

All tristates selected by EVM(boolean) are forced to be builtin, except
in the TCG_TPM(tristate) dependency case. Arnaud Lacombe summarizes the
Kconfig bug as, "So it would seem direct dependency state influence the
state of reverse dependencies.."  For a detailed explanation, refer to
Arnaud Lacombe's posting http://lkml.org/lkml/2011/8/23/498.

With the "encrypted-keys: remove trusted-keys dependency" patch, EVM
can now be built without a dependency on TCG_TPM.  The trusted-keys
dependency requires trusted-keys to either be builtin or not selected.
This dependency will prevent the boolean/tristate mismatch from
occuring.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>,
             Randy Dunlap <rdunlap@xenotimenet>
Signed-off-by: Mimi Zohar <zohar@us.ibm.com>
security/integrity/evm/Kconfig