Re: Patch 1/6 introduce sysctl

From: Ingo Molnar
Date: Thu Jan 27 2005 - 14:56:36 EST



* Dave Jones <davej@xxxxxxxxxx> wrote:

> On Thu, Jan 27, 2005 at 08:11:20PM +0100, Ingo Molnar wrote:
>
> > so, i'm glad to report, it's a non-issue. Sometimes developers want to
> > disable randomisation during development (quick'n'easy hacks get quicker
> > and easier - e.g. if you watch an address within gdb), so having the
> > capability for unprivileged users to disable randomisation on the fly is
> > useful and Fedora certainly offers that, but from a support and
> > bug-reporting POV it's not a problem.
>
> It's worth noting that some users have found the randomisation disable
> useful for running things like xine/mplayer etc with win32 codecs that
> seem to just segfault otherwise. These things seem to be incredibly
> fragile to address space layout changes, which is a good argument for
> trying to avoid these wierdo formats where possible in favour of free
> codecs.

yes, this was by far the biggest problem randomisation caused. Note that
while Fedora offers a personality-hack to disable randomisation on the
fly, which Wine could have made use of to have the fix automatically;
Alexandre didnt want to rely on it in Wine because that flag's semantics
(PER_LINUX32) were not upstream. (and i very much agree with Alexandre
on that call).

But once something like this is upstream i believe Wine can (and will)
have a robust legacy-binary-format loader that is not affected by
randomisation effects, with minimal changes.

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