emacs-devel
[Top][All Lists]
Advanced

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

Re: Size of emacs.pdmp changes between successive installs


From: Ulrich Mueller
Subject: Re: Size of emacs.pdmp changes between successive installs
Date: Wed, 20 Nov 2019 00:45:07 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

>>>>> On Tue, 19 Nov 2019, Andreas Schwab wrote:

> On Nov 19 2019, Paul Eggert wrote:
>> Emacs already tries to disable ASLR when dumping.

> Only when unexecing.

Right, with this trivial patch I'm getting a reproducible size
of emacs.pdmp, too:

--- src/emacs.c~        2019-11-20 00:27:55.016051255 +0100
+++ src/emacs.c 2019-11-20 00:37:56.740331939 +0100
@@ -1055,7 +1055,7 @@
 #endif
 
   argc = maybe_disable_address_randomization (
-    will_dump_with_unexec_p (), argc, argv);
+    will_dump_p (), argc, argv);
 
 #if defined GNU_LINUX && defined HAVE_UNEXEC
   if (!initialized)



reply via email to

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