Re: sed not working on /proc files

Chris Evans (chris@ferret.lmh.ox.ac.uk)
Tue, 4 May 1999 20:25:35 +0100 (GMT)


On Tue, 4 May 1999, Alan Cox wrote:

> > > Well, this breaks every program that uses libc file accesses.
> > So fix the buggy libc. Relying on mmap() being available is broken
>
> To save a thousand follow ups - the glibc code does do the right thing but
> the kernel thinks any 0 length mmap succeeds and doesnt error it. So its

Does the 0 length mmap take any resources? Could be good for a DoS if it
does

Chris

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