Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Aug 2002 03:10:52 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Jens Schweikhardt <schweikh@FreeBSD.ORG>
Cc:        pdp@nl.demon.net, <freebsd-bugs@FreeBSD.ORG>
Subject:   Re: kern/25777: atime not updated on exec
Message-ID:  <20020818030229.R11426-100000@gamplex.bde.org>
In-Reply-To: <20020818024020.R11426-100000@gamplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On Sun, 18 Aug 2002, Bruce Evans wrote:

> ...
> Here is part of my old patch.  It depends on other patches for VOP_SETTATR()
> and probably doesn't even compile now.
> ...

PS: this doesn't handle image activators very well.  I think the spec says
to only mark for update the atime of the file being interpreted (this
might be done automagically by read()) and that the update may be done for
other files read to perform the exec, so it is optional to do it for he
interpreter.  Exec in a library could easily involve reading lots of extra
files. e.g., /etc/passwd, /etc/localtime and the directories containing
them...

Bruce


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020818030229.R11426-100000>