lkml.org 
[lkml]   [2008]   [Aug]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [malware-list] [RFC 0/5] [TALPA] Intro to a linux interfaceforon access scanning
On Tue, 05 Aug 2008 14:39:34 -0400
Eric Paris <eparis@redhat.com> wrote:
> On Tue, 2008-08-05 at 11:27 -0700, Arjan van de Ven wrote:

> > but close is... very limited in value. Open is a discrete event
> > traditionally associated withh permission checks.
> > Close... not so. (And if you mmap memory, you can then close the file
> > and still write to it via the mmap)
>
> Thankfully my implementation will invalidate that close time check and
> caching result. It does the invalidating the same place we update mtime
> and my understanding is that mmap has been updating mtime for quite a
> while now.

Then isn't the close time check superfluous, since you do the
checks at change time already?

--
All rights reversed.


\
 
 \ /
  Last update: 2008-08-06 02:37    [W:0.187 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site