Re: Security question: "Text file busy" overwriting executables but not shared libraries?

From: Eric W. Biederman (
Date: Sat Oct 13 2001 - 17:27:48 EST

Aaron Lehmann <> writes:

> On Sat, Oct 13, 2001 at 09:46:03PM +0200, Jamie Lokier wrote:
> > There are applications (GCC comes to mind) which are using mmap() to
> > read files now because it is measurably faster than read(), for
> > sufficiently large source files.
> But it does have the advantage of allowing the sharing of memory, does
> it not?

Only if you are going to write to the data.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Oct 15 2001 - 21:00:52 EST