all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ulrich Mueller <ulm@gentoo.org>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: Paul Eggert <eggert@cs.ucla.edu>, emacs-devel@gnu.org
Subject: Re: Size of emacs.pdmp changes between successive installs
Date: Wed, 20 Nov 2019 00:45:07 +0100	[thread overview]
Message-ID: <w6ga78rl9bw.fsf@kph.uni-mainz.de> (raw)
In-Reply-To: <87o8x7344g.fsf@igel.home> (Andreas Schwab's message of "Tue, 19 Nov 2019 23:14:55 +0100")

>>>>> 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	other threads:[~2019-11-19 23:45 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-19 16:59 Size of emacs.pdmp changes between successive installs Ulrich Mueller
2019-11-19 17:18 ` Paul Eggert
2019-11-19 17:45 ` Eli Zaretskii
2019-11-19 18:19   ` Andreas Schwab
2019-11-19 18:16 ` Andreas Schwab
2019-11-19 20:56   ` Paul Eggert
2019-11-19 22:14     ` Andreas Schwab
2019-11-19 23:45       ` Ulrich Mueller [this message]
2019-11-20  2:27         ` Paul Eggert
2019-11-20 11:55           ` Andreas Schwab
2019-11-20 19:54             ` Paul Eggert
2019-11-20 19:59               ` Paul Eggert
2019-11-20  9:29         ` Andreas Schwab
2019-11-20 11:42           ` Ulrich Mueller
2019-11-19 23:21   ` Ulrich Mueller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=w6ga78rl9bw.fsf@kph.uni-mainz.de \
    --to=ulm@gentoo.org \
    --cc=eggert@cs.ucla.edu \
    --cc=emacs-devel@gnu.org \
    --cc=schwab@linux-m68k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.