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

From: Kai Henningsen (kaih@khms.westfalen.de)
Date: Thu Oct 04 2001 - 14:28:00 EST


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



This archive was generated by hypermail 2b29 : Sun Oct 07 2001 - 21:00:34 EST