Re: Security question: "Text file busy" overwriting executables but no

Kai Henningsen
2001-10-04T21:21:24Z

viro@math.psu.edu (Alexander Viro) wrote on 04.10.01 in <Pine.GSO.4.21.0110041153560.28270-100000@weyl.math.psu.edu>:

>
> On Thu, 4 Oct 2001, Linus Torvalds wrote:
>
> > In short, now you need filesystem versioning at a per-page level etc.
>
> *ding* *ding* *ding* we have a near winner. Remember, folks, Hurd had been
> started by people who not only don't understand UNIX, but detest it.
> ITS/TWENEX refugees. And semantics in question comes from there -
> they had "open and make sure that anyone who tries to modify will get
> a new version, leaving one we'd opened unchanged".

Sounds to me like it could be done ... *if* you had per-process filesystem
snapshot capability.

Of course, that's using ICBMs to swat mosquitos. I don't recommend it just
for implementing a mmap() flag.

MfG Kai