From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.bugs Subject: bug#23529: Request for fixing randomize_va_space build issues Date: Mon, 12 Sep 2016 06:09:10 +0000 Message-ID: References: <83twdsalbk.fsf@gnu.org> <83r38vaiyh.fsf@gnu.org> <83eg4vab5o.fsf@gnu.org> <831t0va8br.fsf@gnu.org> <478e7c97-9339-5072-f9c1-ec67a45113aa@cs.ucla.edu> <83h99p8wbh.fsf@gnu.org> <0f0bb7ef-a588-93c3-5d27-c7329c667ed8@cs.ucla.edu> <83d1kd8qb7.fsf@gnu.org> <838tv18mnj.fsf@gnu.org> <83eg4sap3t.fsf@gnu.org> <3fe2aff8-d34e-afa3-a2bf-6e42394d7be6@cs.ucla.edu> <83wpik8f18.fsf@gnu.org> <34fb7c59-cf4a-fddf-98e7-fd4c25c3f395@cs.ucla.edu> <83k2ek83b7.fsf@gnu.org> <24612cc1-cb72-511f-7d52-bb62101906ae@cs.ucla.edu> <83fup6bguo.fsf@gnu.org> <83poo9alyc.fsf@gnu.org> <8db7f4c1-8b81-605f-8480-c740d524ccae@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a114b32cc3f740c053c495656 X-Trace: blaine.gmane.org 1473660756 22011 195.159.176.226 (12 Sep 2016 06:12:36 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 12 Sep 2016 06:12:36 +0000 (UTC) To: =?UTF-8?Q?Cl=C3=A9ment?= Pit--Claudel , 23529@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 12 08:12:31 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1bjKTm-0004xr-EE for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Sep 2016 08:12:30 +0200 Original-Received: from localhost ([::1]:40356 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjKTk-0001Y9-3o for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Sep 2016 02:12:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57940) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjKRS-0008N8-Nw for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2016 02:10:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bjKRO-0002K5-Ji for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2016 02:10:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59251) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjKRO-0002Jj-H1 for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2016 02:10:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bjKRO-0006qM-BV for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2016 02:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philipp Stephani Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Sep 2016 06:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23529 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23529-submit@debbugs.gnu.org id=B23529.147366056826243 (code B ref 23529); Mon, 12 Sep 2016 06:10:02 +0000 Original-Received: (at 23529) by debbugs.gnu.org; 12 Sep 2016 06:09:28 +0000 Original-Received: from localhost ([127.0.0.1]:56960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bjKQq-0006pD-GY for submit@debbugs.gnu.org; Mon, 12 Sep 2016 02:09:28 -0400 Original-Received: from mail-wm0-f44.google.com ([74.125.82.44]:36941) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bjKQo-0006oz-Ep for 23529@debbugs.gnu.org; Mon, 12 Sep 2016 02:09:27 -0400 Original-Received: by mail-wm0-f44.google.com with SMTP id c131so39240611wmh.0 for <23529@debbugs.gnu.org>; Sun, 11 Sep 2016 23:09:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=4DJsjpJxiIgnmStmxtvlzfjPlIiUY3XQydpin4qlfik=; b=QrMU2cjEbDgZoCevGHGgj/JcMPEZcuRKhC+v0Q6nFmo80yHt9nmvX4i6kCr9UtZjTa OUGothaHV48rYJUg7yE93LIUe0TDNdh0q57OSu5bAQKNuecRHW+iyL+Fsw2HMVXjXnI5 f15lb1tiMucwDG+lap9cF5XXafGJOm8lDAITz7dT/DOxyDWLzmFIcWiaqdTEkoZGw1Jx w/nwNDnbmj22LV5KHVQnA74I+vxvYxnHAgHeVX8SjL7Y2KpEC/FP7FkuLnDGcH3GoKKL qbcVQlczGtHvN6SnHmrA2+DBl68Bz/vDQ6v9XCU8XwpwOJsysC4NSCa4y/0rEC5Iczoe rShQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=4DJsjpJxiIgnmStmxtvlzfjPlIiUY3XQydpin4qlfik=; b=VkYi7/NnRUGNkf7XJkM/vgcZtRHda8bzzAMRn2Cza0d5I6NeGl+iPmMhrsmqtGnkGl AXKcsvsTeXzvDiMFeYB1Y52/szpALYoTQ6rFniWFquRUWIvnoHAqvBIGkHlJV/e8GOc/ Rt0ZXugH7+pFBM20x3RZUAz6kKK9bsIjl6MxTqMjDzkjchfbgEwoxU/OFcsEsvvnaJGz Kqa0p9pTyFHmB7UrETEOkLkxElVodyfpgsIS2CoO813DPvXt+8g8bIH2Uj8jSGfa4yrg l7KAqH8YvP0DywjIX4YfYHulGEWXqNndwS5Pb4MWByDI4Nil3RyVQxrz6de0hnZhlvg9 hnuA== X-Gm-Message-State: AE9vXwM0NxpvxgIonvtHLbr+RURTnZt4uymD8ZF5xrbx7abqAdt9r0xlcvzag0rQmtxy4LN7tLLJGDF+MpdDKQ== X-Received: by 10.28.153.70 with SMTP id b67mr9619818wme.84.1473660560813; Sun, 11 Sep 2016 23:09:20 -0700 (PDT) In-Reply-To: <8db7f4c1-8b81-605f-8480-c740d524ccae@gmail.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:123205 Archived-At: --001a114b32cc3f740c053c495656 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cl=C3=A9ment Pit--Claudel schrieb am Mo., 12. Sep. = 2016 um 04:59 Uhr: > On 2016-09-11 22:30, Eli Zaretskii wrote: > >> From: Philippe Vaucher > >> Date: Sun, 11 Sep 2016 21:32:51 +0200 > >> Cc: Paul Eggert , Philipp Stephani < > p.stephani2@gmail.com>, 23529@debbugs.gnu.org > >> > >>>> What about disabling randomization for the temacs run? > >>>> > >>>> That is yet another low-level thing to configure, and to get right i= n > new ports. > >>> > >>> We already have that in Emacs, don't we? > >> > >> That is exactly why I made the bug report 23529! > >> > >> Because Emacs does stuffs at build time that requires "high" > >> privileges (like the personality() syscall), one cannot build Emacs in > >> various restricted environments. > >> > >> Disabling randomization is exactly what we should get rid of, at least > >> at build time. > > > > Isn't it the other way around: the first priority is to enable > > randomization and all the other modern techniques for running the > > dumped Emacs? > > I think we want to be able to build the full Emacs in a container; that i= s > without needing, at any point in the process, to disable randomization. = If > I understand correctly, this means that even the process of dumping Emacs > cannot involve disabling randomization. > Yes, that's correct. No step in the build process should have to disable randomization. --001a114b32cc3f740c053c495656 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


Cl=C3= =A9ment Pit--Claudel <clement.p= it@gmail.com> schrieb am Mo., 12. Sep. 2016 um 04:59=C2=A0Uhr:
On 2016-09-11 22:30, Eli Zaretskii wrote= :
>> From: Philippe Vaucher <philippe.vaucher@gmail.com= >
>> Date: Sun, 11 Sep 2016 21:32:51 +0200
>> Cc: Paul Eggert <eggert@cs.ucla.edu>, Philipp Stephani = <p.stephani2@gmail.com>, 23529@debbugs.gnu.org
>>
>>>>=C2=A0 =C2=A0 =C2=A0What about disabling randomization for = the temacs run?
>>>>
>>>> That is yet another low-level thing to configure, and to g= et right in new ports.
>>>
>>> We already have that in Emacs, don't we?
>>
>> That is exactly why I made the bug report 23529!
>>
>> Because Emacs does stuffs at build time that requires "high&q= uot;
>> privileges (like the personality() syscall), one cannot build Emac= s in
>> various restricted environments.
>>
>> Disabling randomization is exactly what we should get rid of, at l= east
>> at build time.
>
> Isn't it the other way around: the first priority is to enable
> randomization and all the other modern techniques for running the
> dumped Emacs?

I think we want to be able to build the full Emacs in a container; that is = without needing, at any point in the process, to disable randomization.=C2= =A0 If I understand correctly, this means that even the process of dumping = Emacs cannot involve disabling randomization.

Yes, that's correct. No step in the bu= ild process should have to disable randomization.
--001a114b32cc3f740c053c495656--