diff options
author | Dmitry Kasatkin <d.kasatkin@samsung.com> | 2014-08-15 13:49:22 +0300 |
---|---|---|
committer | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2014-09-08 17:36:10 -0400 |
commit | 1f1009791b2e81f106d4809007720495ba3ed90c (patch) | |
tree | 83a155c205d0bab7821b2a23ffbe2741c3c19cc4 /security/integrity/integrity.h | |
parent | e7d021e28328e0cc47b21cb9c6d8885326b0c2f5 (diff) | |
download | op-kernel-dev-1f1009791b2e81f106d4809007720495ba3ed90c.zip op-kernel-dev-1f1009791b2e81f106d4809007720495ba3ed90c.tar.gz |
evm: prevent passing integrity check if xattr read fails
This patch fixes a bug, where evm_verify_hmac() returns INTEGRITY_PASS
if inode->i_op->getxattr() returns an error in evm_find_protected_xattrs.
Signed-off-by: Dmitry Kasatkin <d.kasatkin@samsung.com>
Diffstat (limited to 'security/integrity/integrity.h')
0 files changed, 0 insertions, 0 deletions