From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Fabrice Popineau Newsgroups: gmane.emacs.devel Subject: Re: Removal of unexec support from glibc malloc Date: Tue, 19 Jan 2016 20:37:38 +0000 (UTC) Message-ID: References: <569CDB81.6040600@redhat.com> <569D6B1E.6020002@emvision.com> <837fj5d0ie.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1453235936 19843 80.91.229.3 (19 Jan 2016 20:38:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 19 Jan 2016 20:38:56 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 19 21:38:49 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aLd3A-0006gK-IW for ged-emacs-devel@m.gmane.org; Tue, 19 Jan 2016 21:38:48 +0100 Original-Received: from localhost ([::1]:39165 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aLd3A-0004Bm-0Y for ged-emacs-devel@m.gmane.org; Tue, 19 Jan 2016 15:38:48 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37447) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aLd2N-0002w9-4d for emacs-devel@gnu.org; Tue, 19 Jan 2016 15:37:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aLd2I-0005H8-Bl for emacs-devel@gnu.org; Tue, 19 Jan 2016 15:37:59 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:45191) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aLd2I-0005H4-4c for emacs-devel@gnu.org; Tue, 19 Jan 2016 15:37:54 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aLd2H-0006Jl-8n for emacs-devel@gnu.org; Tue, 19 Jan 2016 21:37:53 +0100 Original-Received: from 85-168-246-97.rev.numericable.fr ([85.168.246.97]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 19 Jan 2016 21:37:53 +0100 Original-Received: from fabrice.popineau by 85-168-246-97.rev.numericable.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 19 Jan 2016 21:37:53 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 31 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 85.168.246.97 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:198395 Archived-At: Eli Zaretskii gnu.org> writes: > > > From: Ali Bahrami emvision.com> > > Date: Mon, 18 Jan 2016 15:45:50 -0700 > > > > Unexec is complicated, and it is a problem for alternative non-brk > > based mallocs, or ASLR. One of the strong design points of emacs is > > its use of a minimal and simple C core, with the system largely written > > in lisp. Losing unexec would leave an even simpler core. > > We are not wedded to unexec in any kind, including the Catholic kind. > It is here because (a) it "just works" and breaks only very rarely, > and, most importantly, (b) no one has stepped forward with code to > replace it on a VCS branch where one could checkout the results and > see how clean the code is how well it works in practice. > A portable dumper would solve the unexec issue. There was an attempt at porting the XEmacs portable dumper to GNU Emacs long ago: http://www.sodan.org/~knagano/emacs/pdump/ The topic is recurrent: https://lists.gnu.org/archive/html/bug-gnu-emacs/2015-06/msg00771.html https://lists.gnu.org/archive/html/bug-gnu-emacs/2015-06/msg00781.html Fabrice