Messages in this thread |  | | Date | Mon, 15 Oct 2001 07:51:11 -0400 (EDT) | From | Alexander Viro <> | Subject | Re: 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/
|  |