From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Preview: portable dumper Date: Tue, 29 Nov 2016 17:01:31 -0500 Message-ID: References: <047a67ec-9e29-7e4e-0fb0-24c3e59b5886@dancol.org> <9b6a0571-b2ae-a5dd-a643-3595e8f71cd6@cs.ucla.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1480456913 13247 195.159.176.226 (29 Nov 2016 22:01:53 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 29 Nov 2016 22:01:53 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 29 23:01:49 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cBqTE-0002qf-Li for ged-emacs-devel@m.gmane.org; Tue, 29 Nov 2016 23:01:48 +0100 Original-Received: from localhost ([::1]:39439 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cBqTH-0004ci-KR for ged-emacs-devel@m.gmane.org; Tue, 29 Nov 2016 17:01:52 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58731) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cBqT9-0004cS-06 for emacs-devel@gnu.org; Tue, 29 Nov 2016 17:01:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cBqT5-0007F4-W1 for emacs-devel@gnu.org; Tue, 29 Nov 2016 17:01:43 -0500 Original-Received: from [195.159.176.226] (port=54727 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cBqT5-0007Ek-QU for emacs-devel@gnu.org; Tue, 29 Nov 2016 17:01:39 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cBqSy-0000YV-SH for emacs-devel@gnu.org; Tue, 29 Nov 2016 23:01:32 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 11 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:ffI1S2a6GkvJksC33qeWtOkWqjk= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:209775 Archived-At: > Although your other advantages sound good, this one sounds worrisome. If > Emacs maps the dump to the same place every time, we are giving up ASLR for > the dump itself, and won't that pose a potential security risk? If so, > perhaps it would be better to not mmap to the base address stored in the > dump (unless we can determine that ASLR is not in use, I suppose). I live very happily without ASLR for Emacs right now. So I'm not worried about limiting ASLR to a subset of Emacs's heap. Stefan