[lkml]   [2000]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Linux-2.3.51, and the pre-2.4 series..
Linus Torvalds wrote:
> > [turns out bash (ie the dynamic linker) gets killed with a SIGBUS, after
> > it maps a zero-length "/etc/"
> 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/ (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
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:57    [W:0.130 / U:5.664 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site