ima: hashing large files bug fix
authorMimi Zohar <zohar@linux.vnet.ibm.com>
Fri, 21 Aug 2009 18:32:49 +0000 (14:32 -0400)
committerJames Morris <jmorris@namei.org>
Mon, 24 Aug 2009 04:58:29 +0000 (14:58 +1000)
commit16bfa38b1936212428cb38fbfbbb8f6c62b8d81f
treebf7f3722ebfddf3d3fee3d0f9c704e0c1c794b90
parent6777d773a463ac045d333b989d4e44660f8d92ad
ima: hashing large files bug fix

Hashing files larger than INT_MAX causes process to loop.
Dependent on redefining kernel_read() offset type to loff_t.

(http://bugzilla.kernel.org/show_bug.cgi?id=13909)

Cc: stable@kernel.org
Signed-off-by: Mimi Zohar <zohar@us.ibm.com>
Signed-off-by: James Morris <jmorris@namei.org>
security/integrity/ima/ima_crypto.c