From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11075 invoked by alias); 7 Jan 2010 11:18:47 -0000 Received: (qmail 11066 invoked by uid 22791); 7 Jan 2010 11:18:46 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mel.act-europe.fr (HELO mel.act-europe.fr) (212.99.106.210) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 07 Jan 2010 11:18:42 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id E8A63CB021C; Thu, 7 Jan 2010 12:18:39 +0100 (CET) Received: from mel.act-europe.fr ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Qbjb9R-488i7; Thu, 7 Jan 2010 12:18:39 +0100 (CET) Received: from ulanbator.act-europe.fr (ulanbator.act-europe.fr [10.10.1.67]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mel.act-europe.fr (Postfix) with ESMTP id ADB30CB01D7; Thu, 7 Jan 2010 12:18:39 +0100 (CET) Subject: Re: Regression on prelinked-sepdebug-shlibs Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii From: Tristan Gingold In-Reply-To: <20100107110927.GA28546@host0.dyn.jankratochvil.net> Date: Thu, 07 Jan 2010 11:18:00 -0000 Cc: Daniel Jacobowitz , gdb-patches@sourceware.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <20091225200440.GA3747@host0.dyn.jankratochvil.net> <20100106180510.GA6748@host0.dyn.jankratochvil.net> <20100106191608.GA28581@caradoc.them.org> <20100107110927.GA28546@host0.dyn.jankratochvil.net> To: Jan Kratochvil X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-01/txt/msg00134.txt.bz2 On Jan 7, 2010, at 12:09 PM, Jan Kratochvil wrote: > On Thu, 07 Jan 2010 12:03:04 +0100, Tristan Gingold wrote: > ... >> I am not sure that you can create a linux native executable with a secti= on whose vma is 0. >> But unfortunately linux refuses to execute that (I got a sigkill very ve= ry >> early) so I can't play with that. >=20 > https://bugzilla.redhat.com/show_bug.cgi?id=3D434714 >=20 > From Chuck Ebbert: > echo "0" >/proc/sys/vm/mmap_min_addr > That should fix it -- at least on F8 changing that from 0 to 32768 made i= t fail. > (The executable code starts at 0.) >=20 > From Roland McGrath: > Yup, I think this is pretty much expected behavior. > i.e. an ET_EXEC with a p_vaddr at 0 is asking for a mmap that it is often > security policy to refuse. Unfortunately there really isn't much better = than > SIGKILL death that you can expect for this. Ah, ah, you already tried that! Unfortunately I am not root on these linux machine. However, I can execute= it with qemu. So I can now play. Thanks, Tristan.