]> code.delx.au - gnu-emacs/commit
Fix port to glibc 2.24 (pre-release) + ppc64
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 20 Jul 2016 07:16:49 +0000 (09:16 +0200)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 20 Jul 2016 07:49:41 +0000 (09:49 +0200)
commit63750fd4ed4ff8bb9b3ff8868d4e36e3422adb21
treecff2b72f4d4fc257cc7cf73ec13777c768317328
parentbf5ddded70c11edaf3514b25da27fc71cfb8e965
Fix port to glibc 2.24 (pre-release) + ppc64

* src/callproc.c (child_setup): Use emacs_exec_file
so that ASLR is enabled in the child process.
* src/emacs.c: Move some personality details into sys/sysdep.c.
Do not include <sys/personality.h>.
(main): Disable ASLR earlier, so that we don’t chdir twice.
* src/lisp.h (disable_address_randomization): New decl.
* src/sysdep.c (disable_address_randomization)
[HAVE_PERSONALITY_ADDR_NO_RANDOMIZE]: Move personality details
here from emacs.c.
(emacs_exec_file): New function.
src/callproc.c
src/emacs.c
src/lisp.h
src/sysdep.c