Re: [Patch 5/7] integrity: mtime patch for mmap files

From: Mimi Zohar
Date: Mon Mar 26 2007 - 16:50:42 EST


On Sun, 2007-03-25 at 00:26 -0800, Andrew Morton wrote:
> On Fri, 23 Mar 2007 12:09:58 -0400 Mimi Zohar <zohar@xxxxxxxxxxxxxxxxxx> 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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/