Re: [RFC] readdir mess

From: Linus Torvalds
Date: Tue Aug 12 2008 - 18:21:01 EST




On Tue, 12 Aug 2008, Alan Cox wrote:
>
> That said there is nothing that says we can't have a 'posix_me_harder'
> sysfs control for such things. The standards say what should occur in the
> normal situation not what should occur if you intentionally move out of
> the standard definition.

Yeah. That said, I doubt it's a very common problem in practice. I'm
pretty sure nobody really cares, and almost nobody really wants to run
really old binaries. So it's almost certainly not worth it (and the one
time I had it happen, I didn't bother to do it right, I just hacked around
it and obviously never committed the hack).

I just find it a bit sad how well we actually _can_ run old binaries, but
sometimes there are these new things that were literally designed to break
them.

Of course, the much more common breakage comes from not having access to
old shared libraries etc totally user-space issues. The few kernel cases
of EOVERFLOW are totally hidden by just distro differences over time. If
the binary I had hadn't been statically linked, I wouldn't have had a
chance, I suspect.

(Of course, static linking wasn't exactly unusual for really old binaries)

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