[PATCH] Fix offset2lib issue for x86*, ARM*, PowerPC and MIPS
Andrew Morton
akpm at linux-foundation.org
Fri Feb 27 11:06:41 AEDT 2015
On Thu, 26 Feb 2015 15:37:37 -0800 Kees Cook <keescook at chromium.org> wrote:
> Agh, no, please let's avoid the CONFIG addition.
That is precisely how we do this.
> Hector mentioned in private mail that he was looking at an alternative
> that adds exec_base to struct mm which would avoid all this insanity.
>
> Can't we do something like:
>
> #ifndef mmap_rnd
> # define mmap_rnd 0
> #endif
Sure, and sprinkle
#define mmap_rnd mmap_rnd
in five arch header files where nobody thinks to look.
For better or for worse, we are consolidating such things into arch/*/Kconfig.
More information about the Linuxppc-dev
mailing list