evm: limit verifying current security.evm integrity
authorMimi Zohar <zohar@linux.vnet.ibm.com>
Thu, 11 Aug 2011 05:22:30 +0000 (01:22 -0400)
committerMimi Zohar <zohar@linux.vnet.ibm.com>
Wed, 14 Sep 2011 19:24:51 +0000 (15:24 -0400)
commita924ce0b35875ef9512135b46a32f4150fd700b2
tree0e01ac679790fe96c03b341b2670a2ed9c56a122
parentfb88c2b6cbb1265a8bef60694699b37f5cd4ba76
evm: limit verifying current security.evm integrity

evm_protect_xattr unnecessarily validates the current security.evm
integrity, before updating non-evm protected extended attributes
and other file metadata. This patch limits validating the current
security.evm integrity to evm protected metadata.

Signed-off-by: Mimi Zohar <zohar@us.ibm.com>
security/integrity/evm/evm_main.c