Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932208AbVLHQnI (ORCPT ); Thu, 8 Dec 2005 11:43:08 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932211AbVLHQnI (ORCPT ); Thu, 8 Dec 2005 11:43:08 -0500 Received: from 41-052.adsl.zetnet.co.uk ([194.247.41.52]:31758 "EHLO mail.esperi.org.uk") by vger.kernel.org with ESMTP id S932208AbVLHQnH (ORCPT ); Thu, 8 Dec 2005 11:43:07 -0500 To: Arjan van de Ven Cc: Emmanuel Fleury , Linux Kernel Subject: Re: How to enable/disable security features on mmap() ? References: <43983EBE.2080604@labri.fr> <1134051272.2867.63.camel@laptopd505.fenrus.org> <43984154.5050502@labri.fr> <43984595.1090406@labri.fr> <1134053349.2867.65.camel@laptopd505.fenrus.org> <4398493E.50508@labri.fr> <4398516F.1020101@labri.fr> <1134056348.2867.76.camel@laptopd505.fenrus.org> From: Nix X-Emacs: if SIGINT doesn't work, try a tranquilizer. Date: Thu, 08 Dec 2005 16:42:55 +0000 In-Reply-To: <1134056348.2867.76.camel@laptopd505.fenrus.org> (Arjan van de Ven's message of "8 Dec 2005 15:39:50 -0000") Message-ID: <8764pzv8ts.fsf@amaterasu.srvr.nix> User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Corporate Culture, linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 920 Lines: 22 On 8 Dec 2005, Arjan van de Ven yowled: >> Moreover, the libc location (and all other dynamic libs) is not >> randomized under x86_64. I have no explanation for this. :-/ > > see above; in addition prelink may be interfering with this. Indeed; prelinked stuff is not randomized. If you want both, prelink with -R gives the same benefits as ASLR of the shared library location, pretty much (obviously the libraries have the same address in every process --- that's kind of the point --- but what that address is is randomly selected at prelink time). Prelinking should not affect stack layout randomization. -- `Don't confuse the shark with the remoras.' --- Rob Landley - 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/