# \[PATCH 2/2\] integrity: replace call to integrity\_read\_file with kernel version

- From: Christoph Hellwig \<hch@infradead.org\>
- Date: 2017-09-14 20:49:58 
- List: linux-security-module
- Page: https://ratatoskr.run/linux-security-module/2017/09/5088444
- Thread: https://ratatoskr.run/linux-security-module/2017/09/5087218/t.md

```text
On Fri, Sep 15, 2017 at 06:21:28AM +1000, James Morris wrote:
> So, to be clear, this patch solves the XFS deadlock using a different 
> approach (to the now reverted integrity_read approach), which Christoph 
> also says is more correct generally.  Correct?

No.  It is in addition to the previous patches - the patches were
correct for the IMA interaction with the I/O path.  It just turns
out that the function was also reused for reading certificates
at initialization time, for which that change was incorrect.

If this series is applied first the integrity_read code is not
used for that path any more.
--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
```
