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: NDmitry Kasatkin <d.kasatkin@samsung.com>
Showing
想要评论请 注册 或 登录