[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080205160620.GA28812@elte.hu>
Date: Tue, 5 Feb 2008 17:06:20 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Pavel Machek <pavel@....cz>
Cc: Arjan van de Ven <arjan@...radead.org>,
Hugh Dickins <hugh@...itas.com>, Jiri Kosina <jkosina@...e.cz>,
kernel list <linux-kernel@...r.kernel.org>,
Abel Bernabeu <abel.bernabeu@...il.com>
Subject: Re: brk randomization breaks columns
* Pavel Machek <pavel@....cz> wrote:
> . Yes, setarch i386 -R /usr/local/bin/uemacs (etc) fixes them, too.
>
> What about this?
>
> Heap randomization breaks /lib/libc.so.5.4.33, make it possible to
> randomize normal stuff but leave the heap alone.
certainly looks fine to me, but please also add a .config to make it
default to 2. The reason is that a good portions of the overflows happen
on the heap and 99.9% of the Linux users do not run 1996-era glibc
anymore.
something like CONFIG_COMPAT_BRK=y, which would cause randomize_va_space
to default to 1, and if a user or distro disables it, it will default to
2.
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists