[PATCH] Add Prefer_MAP_32BIT_EXEC for Silvermont

Zack Weinberg zackw@panix.com
Fri Dec 11 18:11:00 GMT 2015


On Fri, Dec 11, 2015 at 12:02 PM, Adhemerval Zanella
<adhemerval.zanella@linaro.org> wrote:
> Another issue is this is basically limiting ALSR really hard on x86_64.
> I also would prefer to make the default to *not* include this flag and
> set the env. variable to actually enable it. If the cpu is slow doing
> what's intended because it is buggy, let it be slow at default. Do not
> break what was intended (full ALSR).

FWIW, I was about to post the exact same objection.  Relatedly, the
environment variable should be handled through the normal ld.so-tuning
environment variable mechanism (and, in particular, ineffective for
set*id binaries).

zw



More information about the Libc-alpha mailing list