[PATCH 2/2] integrity: replace call to integrity_read_file with kernel version

From
James Morris <jmorris@namei.org>
Date
2017-09-14 21:00:46
Also in
lkml
Reply to
Christoph Hellwig, 2017-09-14
On Thu, 14 Sep 2017, Christoph Hellwig wrote:
On Fri, Sep 15, 2017 at 06:21:28AM +1000, James Morris wrote:
quoted
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.
Ok, Mimi, please post a complete patchset for this issue against my -next 
branch.


-- 
James Morris
[off-list ref]

--
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
Thread (7 messages) 7 messages, 3 authors, last reply 2017-09-14
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help