glibc 2.24 -- Release blockers

Paul Eggert eggert@cs.ucla.edu
Fri Jul 15 01:41:00 GMT 2016


On 07/14/2016 01:27 PM, Florian Weimer wrote:
> GDB does this to disable randomization: 

Thanks. Emacs disables ASLR by invoking the 'setfattr -n user.pax.flags 
-v er' shell command on the Emacs executable before running it ('paxctl 
+a' on older systems). Does this approach not work on ppc64? If not, 
what shell command would work?

As a fallback, Emacs calls personality (PER_LINUX32 | ADDR_NO_RANDOMIZE) 
early on. Perhaps the PER_LINUX32 persona does not work on ppc64? If so, 
please try the attached patch against the emacs-25 branch, on ppc64 and 
ppc64le; this causes Emacs to simply turn on the ADDR_NO_RANDOMIZE flag 
instead. If this doesn't work, perhaps we need to migrate this 
personality-flag-setting into alloc.c's malloc_initialize_hook function, 
so that it operates before 'main' starts up.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Port-to-glibc-2.24-pre-release-ppc64.patch
Type: text/x-patch
Size: 4238 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20160715/c907f91a/attachment.bin>


More information about the Libc-alpha mailing list