LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Mimi Zohar <zohar@linux.vnet.ibm.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org, safford@watson.ibm.com,
	serue@linux.vnet.ibm.com, kjhall@linux.vnet.ibm.com,
	zohar@us.ibm.com, staubach@redhat.com
Subject: Re: [Patch 5/7] integrity: mtime patch for mmap files
Date: Mon, 26 Mar 2007 16:49:07 -0400	[thread overview]
Message-ID: <1174942147.5713.5.camel@localhost.localdomain> (raw)
In-Reply-To: <20070325002656.0a5ceff0.akpm@linux-foundation.org>

On Sun, 2007-03-25 at 00:26 -0800, Andrew Morton wrote: 
> On Fri, 23 Mar 2007 12:09:58 -0400 Mimi Zohar <zohar@linux.vnet.ibm.com> wrote:
> 
> > mmaped files are hashed and hmac'ed properly by EVM after being modified
> > when the file's mtime is updated correctly.  Peter Staubach's 'memory
> > mapped files not updating timestamps v2' patch properly updates the
> > mmapped file's mtime.  In those cases when an application does not
> > first msync the file before calling munmap, the mtime is eventually
> > updated, but not before file_close is called.  This patch forces the
> > mtime for mmaped files to be updated in a timely manner.
> 
> I don't think we've ever had that patch in -mm?

We are basing the EVM code on Peter's '[PATCH] memory mapped files not 
updating timestamps v2' patch http://lkml.org/lkml/2007/2/20/255 on the
assumption that it would be accepted.  I guess that has not yet happened.

Mimi Zohar


      reply	other threads:[~2007-03-26 20:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-23 16:09 Mimi Zohar
2007-03-25  8:26 ` Andrew Morton
2007-03-26 20:49   ` Mimi Zohar [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1174942147.5713.5.camel@localhost.localdomain \
    --to=zohar@linux.vnet.ibm.com \
    --cc=akpm@linux-foundation.org \
    --cc=kjhall@linux.vnet.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=safford@watson.ibm.com \
    --cc=serue@linux.vnet.ibm.com \
    --cc=staubach@redhat.com \
    --cc=zohar@us.ibm.com \
    --subject='Re: [Patch 5/7] integrity: mtime patch for mmap files' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).