lkml.org 
[lkml]   [2001]   [Oct]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Security question: "Text file busy" overwriting executables but not shared libraries?


On Mon, 15 Oct 2001, Jamie Lokier wrote:

> This does not work. Example:
>
> 1. JamieEmacs loads file using MAP_PRIVATE.
> 2. Something else writes to the file.
> 3. Scroll to the bottom of the file in JamieEmacs. It displays some
> of the newly written data, though not all of it.
>
> --> Wrong editor semantics.

--> Wrong permissions or hopelessly crappy source control system.

At point 2 you are _already_ screwed. Depending on who hits (hell,
what's the equivalent of :x in Emacsese?) first, one of you is
going to lose results of editing. Doctor, it hurts when I do it...

If you want versioning - use source control system. Or go play
with DEC cra^WOSes. In RSX that "feature" sucked (and so did
editor semantics, but that's a separate story).

Without versioning - see above.

-
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/

\
 
 \ /
  Last update: 2005-03-22 13:08    [W:0.189 / U:3.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site