Re: sed not working on /proc files

Simon Richter (geier@phobos.fachschaften.tu-muenchen.de)
Fri, 30 Apr 1999 12:48:53 +0200 (CEST)


On Thu, 29 Apr 1999, Stephen C. Tweedie wrote:

> > Hm. Would it be a Bad Thing for mmap to fail on /proc files that
> > don't report true sizes?
>
> We don't need to support mmap for /proc at all. In fact, according to
> mmap semantics, we can't: there is no permanent memory reserved for
> /proc at all.

Well, this breaks every program that uses libc file accesses.

Simon

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/