emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/emacs.c


From: Masatake YAMATO
Subject: [Emacs-diffs] Changes to emacs/src/emacs.c
Date: Thu, 30 Jun 2005 12:30:55 -0400

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.  */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]