From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 23 Jun 2017 19:46:27 -0400 From: Theodore Ts'o Subject: Re: [PATCH 1/4] ext4: don't bother checking for encryption key in ->mmap() Message-ID: <20170623234627.ok4ge3lldrieknq4@thunk.org> References: <20170523003945.14279-1-ebiggers3@gmail.com> <20170523003945.14279-2-ebiggers3@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170523003945.14279-2-ebiggers3@gmail.com> To: Eric Biggers Cc: linux-fscrypt@vger.kernel.org, Jaegeuk Kim , linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-mtd@lists.infradead.org, Eric Biggers List-ID: On Mon, May 22, 2017 at 05:39:42PM -0700, Eric Biggers wrote: > From: Eric Biggers > > Since only an open file can be mmap'ed, and we only allow open()ing an > encrypted file when its key is available, there is no need to check for > the key again before permitting each mmap(). > > Signed-off-by: Eric Biggers Thanks, applied. - Ted From mboxrd@z Thu Jan 1 00:00:00 1970 From: Theodore Ts'o Subject: Re: [PATCH 1/4] ext4: don't bother checking for encryption key in ->mmap() Date: Fri, 23 Jun 2017 19:46:27 -0400 Message-ID: <20170623234627.ok4ge3lldrieknq4@thunk.org> References: <20170523003945.14279-1-ebiggers3@gmail.com> <20170523003945.14279-2-ebiggers3@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Eric Biggers , linux-f2fs-devel@lists.sourceforge.net, linux-fscrypt@vger.kernel.org, linux-mtd@lists.infradead.org, Jaegeuk Kim , linux-ext4@vger.kernel.org To: Eric Biggers Return-path: Content-Disposition: inline In-Reply-To: <20170523003945.14279-2-ebiggers3@gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net List-Id: linux-ext4.vger.kernel.org On Mon, May 22, 2017 at 05:39:42PM -0700, Eric Biggers wrote: > From: Eric Biggers > > Since only an open file can be mmap'ed, and we only allow open()ing an > encrypted file when its key is available, there is no need to check for > the key again before permitting each mmap(). > > Signed-off-by: Eric Biggers Thanks, applied. - Ted ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot