Index: emacs/src/emacs.c
diff -c emacs/src/emacs.c:1.369 emacs/src/emacs.c:1.370
*** emacs/src/emacs.c:1.369     Sat Jun  4 19:59:30 2005
--- emacs/src/emacs.c   Thu Jun 30 16:30:52 2005
***************
*** 918,924 ****
          {
            /* Set this so we only do this once.  */
            putenv("EMACS_HEAP_EXEC=true");
!           personality (PER_LINUX32);
            execvp (argv[0], argv);
  
            /* If the exec fails, try to dump anyway.  */
--- 918,930 ----
          {
            /* Set this so we only do this once.  */
            putenv("EMACS_HEAP_EXEC=true");
! 
!         /* A flag to turn off address randomization which is introduced
!          in linux kernel shipped with fedora core 4 */
! #define ADD_NO_RANDOMIZE 0x0040000
!         personality (PER_LINUX32 | ADD_NO_RANDOMIZE);
! #undef  ADD_NO_RANDOMIZE
! 
            execvp (argv[0], argv);
  
            /* If the exec fails, try to dump anyway.  */


_______________________________________________
Emacs-diffs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-diffs

Reply via email to