From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:40839) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QRlR8-00083e-6D for qemu-devel@nongnu.org; Wed, 01 Jun 2011 09:26:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QRlR6-00073S-Qr for qemu-devel@nongnu.org; Wed, 01 Jun 2011 09:26:13 -0400 Received: from mail-pv0-f173.google.com ([74.125.83.173]:62270) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QRlR6-000738-EI for qemu-devel@nongnu.org; Wed, 01 Jun 2011 09:26:12 -0400 Received: by pvg3 with SMTP id 3so2735504pvg.4 for ; Wed, 01 Jun 2011 06:26:10 -0700 (PDT) Sender: Richard Henderson Message-ID: <4DE63DF1.60709@twiddle.net> Date: Wed, 01 Jun 2011 06:26:09 -0700 From: Richard Henderson MIME-Version: 1.0 References: <1306928551-31723-1-git-send-email-cedric.vincent@st.com> In-Reply-To: <1306928551-31723-1-git-send-email-cedric.vincent@st.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH] linux-user: Define AT_RANDOM to support target dynamic linkers that do ASLR List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?B?Q8OpZHJpYyBWSU5DRU5U?= Cc: Laurent ALFONSI , Riku Voipio , qemu-devel@nongnu.org On 06/01/2011 04:42 AM, Cédric VINCENT wrote: > + /* The dynamic linker of the GNU C library v2.10+ uses the ELF > + * auxialiary vector AT_RANDOM as a pointer to a 16-bit random > + * value. Note the start of the text segment is not random at > + * all, however it is definitively readeable. */ > + NEW_AUX_ENT(AT_RANDOM, (abi_ulong) info->start_code); 16 bytes, not 16 bits. Typos for auxiliary and readable. r~