Linus Torvalds wrote:
> > [turns out bash (ie the dynamic linker) gets killed with a SIGBUS, after
> > it maps a zero-length "/etc/ld.so.preload"
>
> Ahhah!
>
> This is another change in 2.3.x behaviour: it is a POSIX requirement that
> I don't particularly like, but there you have it. Any access past the last
> page of a file should give a SIGBUS. Previous Linux behaviour was to just
> map in a zero page.
Fortunately, reading any byte of a zero length /etc/ld.so.preload (a
text file) and expect to see a zero looks like a blatant bug in the
dynamic linker.
-- Jamie
-
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/
This archive was generated by hypermail 2b29 : Wed Mar 15 2000 - 21:00:21 EST