Re: IMA & truncate

From: Al Viro
Date: Tue May 06 2014 - 15:11:16 EST


On Tue, May 06, 2014 at 02:39:17PM -0400, Mimi Zohar wrote:

> Al, you're not going to like this, but ima_calc_file_hash() calls
> ima_calc_file_hash_tfm(), which already sets/unsets FMODE_READ in order
> to calculate the file hash.

And if it happens to be on NFS and server says "no reads for you"?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/