delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/04/23/12:48:40

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Mon, 23 Apr 2012 18:46:55 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Two probable basing issues causing fork failures: (1) cygreadline7.dll has ASLR enabled, (2) default base address conflicts with ASLR-relocated/system DLLs
Message-ID: <20120423164655.GA25385@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <00f201cd1f1d$43430230$c9c90690$@motionview3d.com> <20120420205019 DOT GA25994 AT ednor DOT casa DOT cgf DOT cx> <012001cd215c$b521ee20$1f65ca60$@motionview3d.com> <20120423145106 DOT GH7097 AT calimero DOT vinschen DOT de> <20120423154431 DOT GC1133 AT ednor DOT casa DOT cgf DOT cx> <20120423155823 DOT GK7097 AT calimero DOT vinschen DOT de> <4F958155 DOT 5000502 AT cornell DOT edu>
MIME-Version: 1.0
In-Reply-To: <4F958155.5000502@cornell.edu>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Apr 23 12:20, Ken Brown wrote:
> On 4/23/2012 11:58 AM, Corinna Vinschen wrote:
> >In theory that's the job of peflags, not of rebase.  And somebody could
> >want the ASLR flag to be set on certain DLLs.  But probably we can safely
> >assume that the Cygwin distro DLLs should not have set the dynamicbase
> >flag and the rebaseall script could call rebase with an extra flag which
> >automatically removes the dynamicbase flag from all rebased DLLs.
> 
> Maybe it would also be a good idea to modify peflagsall so that by
> default it removes the dynamicbase flag rather than setting it.

Sounds like a good idea to me.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019