Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933908AbXHORaT (ORCPT ); Wed, 15 Aug 2007 13:30:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759308AbXHOR36 (ORCPT ); Wed, 15 Aug 2007 13:29:58 -0400 Received: from mylar.outflux.net ([69.93.193.226]:59397 "EHLO mylar.outflux.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756297AbXHOR34 (ORCPT ); Wed, 15 Aug 2007 13:29:56 -0400 X-Greylist: delayed 2413 seconds by postgrey-1.27 at vger.kernel.org; Wed, 15 Aug 2007 13:29:56 EDT Date: Wed, 15 Aug 2007 09:48:34 -0700 From: Kees Cook To: Jiri Kosina Cc: Jakub Jelinek , Andrew Morton , Ingo Molnar , Roland McGrath , "H. Peter Anvin" , Ulrich Kunitz , Bret Towe , linux-kernel@vger.kernel.org, Arjan van de Ven , Andi Kleen Subject: Re: [PATCH] [RESEND] PIE executable randomization Message-ID: <20070815164834.GB7677@outflux.net> References: <20070814200647.GN2063@devserv.devel.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Outflux X-HELO: gorgon.outflux.net Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 991 Lines: 28 Hi, On Wed, Aug 15, 2007 at 01:21:37AM +0200, Jiri Kosina wrote: > The following patch fixes the brk-allocation problems on x86_64 with code > randomization patch on PIE-compiled binaries. Is anyone aware of any > potential disaster it might cause somewhere please? (Adding myself to this thread...) I've tested this on x86_64 now (the prior patch failed on brk, as mentioned). This version passes my regression tests. I'd like to double-check this on i386 with unlimited stack (the situation that ran into problems back with 2.6.20's version of text ASLR). For anyone interested, I have a few ASLR and VM checking tools here: http://outflux.net/aslr/ Thanks, -Kees -- Kees Cook @outflux.net - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/