From mboxrd@z Thu Jan 1 00:00:00 1970 From: viro@ZenIV.linux.org.uk (Al Viro) Date: Thu, 11 May 2017 01:59:47 +0100 Subject: [PATCH] security/ima: use fs method to read integrity data In-Reply-To: <479df139-b2e4-07f8-c7bc-ae6734856ee5@huawei.com> References: <20170510064507.1764-1-hch@lst.de> <20170510064507.1764-2-hch@lst.de> <479df139-b2e4-07f8-c7bc-ae6734856ee5@huawei.com> Message-ID: <20170511005947.GH390@ZenIV.linux.org.uk> To: linux-security-module@vger.kernel.org List-Id: linux-security-module.vger.kernel.org On Thu, May 11, 2017 at 08:34:18AM +0800, Li Kun wrote: > Why we don't make some rules like"the fs should use nested i_rwsem in > read_iter" instead? What "nested i_rwsem"? -- 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 zeniv.linux.org.uk ([195.92.253.2]:49698 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753726AbdEKA7w (ORCPT ); Wed, 10 May 2017 20:59:52 -0400 Date: Thu, 11 May 2017 01:59:47 +0100 From: Al Viro To: Li Kun Cc: Christoph Hellwig , 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: <20170511005947.GH390@ZenIV.linux.org.uk> References: <20170510064507.1764-1-hch@lst.de> <20170510064507.1764-2-hch@lst.de> <479df139-b2e4-07f8-c7bc-ae6734856ee5@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <479df139-b2e4-07f8-c7bc-ae6734856ee5@huawei.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Thu, May 11, 2017 at 08:34:18AM +0800, Li Kun wrote: > Why we don't make some rules like"the fs should use nested i_rwsem in > read_iter" instead? What "nested i_rwsem"?