From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andy Moreton Newsgroups: gmane.emacs.devel Subject: Re: Preview: portable dumper Date: Fri, 16 Feb 2018 17:35:43 +0000 Message-ID: References: <4c5d130f-d8ae-d109-613d-0df13d8c40e4@cs.ucla.edu> <83f00146-dc4f-1048-73b5-c41ff942058b@dancol.org> <83mv09e3qk.fsf@gnu.org> <62c0d971-bc9e-749d-84ba-a206ffb49409@dancol.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1518802549 24437 195.159.176.226 (16 Feb 2018 17:35:49 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 16 Feb 2018 17:35:49 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (windows-nt) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 16 18:35:45 2018 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 1emjuk-0004Iq-06 for ged-emacs-devel@m.gmane.org; Fri, 16 Feb 2018 18:35:14 +0100 Original-Received: from localhost ([::1]:43550 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1emjwl-0000jv-UM for ged-emacs-devel@m.gmane.org; Fri, 16 Feb 2018 12:37:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45468) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1emjwK-0000W2-9f for emacs-devel@gnu.org; Fri, 16 Feb 2018 12:36:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1emjwH-0004f2-7v for emacs-devel@gnu.org; Fri, 16 Feb 2018 12:36:52 -0500 Original-Received: from [195.159.176.226] (port=55945 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1emjwG-0004en-Vy for emacs-devel@gnu.org; Fri, 16 Feb 2018 12:36:49 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1emjtk-0000gq-4j for emacs-devel@gnu.org; Fri, 16 Feb 2018 18:34:12 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 17 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:ts96ii8DdIPEiZ85FCsblFscOrk= 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:222834 Archived-At: On Fri 16 Feb 2018, Daniel Colascione wrote: > Just concatenating bytes to the end of an executable doesn't break that > executable, at least not on any platform I know about. binutils keeps working. > No special section required. Strip does remove the extra data though, > unfortunately, and this procedure does break any cryptographic signatures ...and that is why it should not be done. Most platforms are moving in the direction of requiring cryptographically signed binaries. > (although we're not using any right now). However it will be necessary to support this in the near future. Thanks for your work on the portable dumper though - this already looks solid enough that the old dump code does not have long to live... AndyM