On Tue, May 23, 2017 at 2:39 AM, Eric Biggers <ebiggers3@xxxxxxxxx> wrote: > From: Eric Biggers <ebiggers@xxxxxxxxxx> > > 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 <ebiggers@xxxxxxxxxx> Acked-by: Richard Weinberger <richard@xxxxxx> -- Thanks, //richard