[Thread Prev][Thread Next][Thread Index]
Re: sed not working on /proc files
> > 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
a kernel funny
Alan
-
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/