From: jmorris@namei.org (James Morris) Date: Thu, 11 May 2017 09:59:51 +1000 (AEST) Subject: [PATCH] security/ima: use fs method to read integrity data In-Reply-To: <20170510064507.1764-2-hch@lst.de> References: <20170510064507.1764-1-hch@lst.de> <20170510064507.1764-2-hch@lst.de> Message-ID: To: linux-security-module@vger.kernel.org List-Id: linux-security-module.vger.kernel.org On Wed, 10 May 2017, Christoph Hellwig wrote: > 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. Also the presence of ->integrity_read indicates > that the file system can support IMA. > > Signed-off-by: Christoph Hellwig Fixes an IMA+XFS deadlock I've been seeing. Tested-by: James Morris -- James Morris -- 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