From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754072AbXLAUn6 (ORCPT ); Sat, 1 Dec 2007 15:43:58 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752001AbXLAUnv (ORCPT ); Sat, 1 Dec 2007 15:43:51 -0500 Received: from pentafluge.infradead.org ([213.146.154.40]:45947 "EHLO pentafluge.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751975AbXLAUnu (ORCPT ); Sat, 1 Dec 2007 15:43:50 -0500 Date: Sat, 1 Dec 2007 12:42:42 -0800 From: Arjan van de Ven To: "Joshua Hudson" Cc: linux-kernel@vger.kernel.org Subject: Re: Executable file format, locating stack? Message-ID: <20071201124242.63110111@laptopd505.fenrus.org> In-Reply-To: References: Organization: Intel X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.1; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SRS-Rewrite: SMTP reverse-path rewritten from by pentafluge.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 1 Dec 2007 10:09:28 -0800 "Joshua Hudson" wrote: > Is there an executable file format that can specify things like where > the stack ends up? > Yes, I really do care. I want to put the stack at the top of virtual > address space rather than randomized. just set the personality with setarch if you don't want randomisation. Why is it that you can't cope with randomization? You'll have SOME randomziation no matter what because each glibc compile will have a slightly different footprint on the stack before your app gets to it, as do the various environment variables and kernel AT_ variables. -- If you want to reach me at my work email, use arjan@linux.intel.com For development, discussion and tips for power savings, visit http://www.lesswatts.org