From mboxrd@z Thu Jan 1 00:00:00 1970 From: hch@lst.de (Christoph Hellwig) Date: Sun, 4 Jun 2017 07:47:47 +0200 Subject: [PATCH] security/ima: use fs method to read integrity data In-Reply-To: References: <20170510064507.1764-1-hch@lst.de> <20170510064507.1764-2-hch@lst.de> Message-ID: <20170604054747.GA31064@lst.de> To: linux-security-module@vger.kernel.org List-Id: linux-security-module.vger.kernel.org On Thu, May 11, 2017 at 09:59:51AM +1000, James Morris wrote: > 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. Are you going to pick this up? Any feedback from the folks on the LSM list on what additional file systems need to be wired up? -- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from verein.lst.de ([213.95.11.211]:33376 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750812AbdFDFrt (ORCPT ); Sun, 4 Jun 2017 01:47:49 -0400 Date: Sun, 4 Jun 2017 07:47:47 +0200 From: Christoph Hellwig To: James Morris Cc: Christoph Hellwig , Al Viro , Mimi Zohar , linux-fsdevel@vger.kernel.org, linux-ima-devel@lists.sourceforge.net, linux-security-module@vger.kernel.org Subject: Re: [PATCH] security/ima: use fs method to read integrity data Message-ID: <20170604054747.GA31064@lst.de> References: <20170510064507.1764-1-hch@lst.de> <20170510064507.1764-2-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Thu, May 11, 2017 at 09:59:51AM +1000, James Morris wrote: > 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. Are you going to pick this up? Any feedback from the folks on the LSM list on what additional file systems need to be wired up?