[PATCH v5 2/4] ima: use fs method to read integrity data

From
Mimi Zohar <hidden>
Date
2017-08-11 17:13:16
Also in
linux-fsdevel
Reply to
Mimi Zohar, 2017-08-11
On Fri, 2017-08-11 at 09:20 -0400, Mimi Zohar wrote:
On Fri, 2017-08-11 at 12:21 +0200, Christoph Hellwig wrote:
quoted
On Thu, Aug 10, 2017 at 07:41:45PM -0400, Mimi Zohar wrote:
quoted
From: Christoph Hellwig <hch@lst.de>

Add a new ->integrity_read file operation to read data for integrity
hash collection.  This is defined to be equivalent to ->read_iter,
except that it will be called with the i_rwsem held exclusively.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Btw, most of this is yours now, feel free to take over the authorship
with a little credit to me for the initial patch if you want.
Thank you so much for the initial design and patch!
After moving the libfs and efivarfs code to separate patches, the
patch hasn't changed all that much, just additional file systems. ?If
you don't object, I'll leave you as the author.

Mimi

--
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 (11 messages) 11 messages, 2 authors, last reply 2017-08-11
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