From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758859AbXGaMDR (ORCPT ); Tue, 31 Jul 2007 08:03:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751142AbXGaMDH (ORCPT ); Tue, 31 Jul 2007 08:03:07 -0400 Received: from terminus.zytor.com ([198.137.202.10]:54378 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754603AbXGaMDG (ORCPT ); Tue, 31 Jul 2007 08:03:06 -0400 Message-ID: <46AF24B2.8070900@zytor.com> Date: Tue, 31 Jul 2007 08:01:54 -0400 From: "H. Peter Anvin" User-Agent: Thunderbird 2.0.0.5 (X11/20070719) MIME-Version: 1.0 To: Jiri Kosina CC: Ulrich Kunitz , Chuck Ebbert , linux-kernel@vger.kernel.org, Jan Kratochvil , jakub@redhat.com Subject: Re: Is PIE randomization breaking klibc binaries? References: <20070720211300.GA21644@deine-taler.de> <46A131BF.4080404@zytor.com> <46A6624E.60003@redhat.com> <46A667BD.5080106@redhat.com> <20070724220053.GA20531@deine-taler.de> <46A68003.6060901@redhat.com> <46A68118.9080902@zytor.com> <20070725063243.GA25148@deine-taler.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Jiri Kosina wrote: > > Hi Ulrich, > > I just now quickly tried to with klibc-1.5 on i386 with the > PIE-randomization patched kernel, and it seems to load static libraries > fine. > > I just downloaded klibc-1.5, built it, and executed a few of the programs > in usr/utils/static, all of them worked. Does this also work for you and > you are experiencing the problems solely when the binaries are being run > from initramfs during boot? > > I will test more shortly (on x86_64, directly from initramfs) in order to > reproduce. > What about shared binaries? -hpa