From owner-freebsd-stable@FreeBSD.ORG Fri Mar 30 22:49:01 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 47293106564A for ; Fri, 30 Mar 2012 22:49:01 +0000 (UTC) (envelope-from ryao@cs.stonybrook.edu) Received: from edge1.cs.stonybrook.edu (edge1.cs.stonybrook.edu [130.245.9.210]) by mx1.freebsd.org (Postfix) with ESMTP id DFBF28FC16 for ; Fri, 30 Mar 2012 22:49:00 +0000 (UTC) Received: from HUBCAS1.cs.stonybrook.edu (130.245.9.206) by edge1.cs.stonybrook.edu (130.245.9.210) with Microsoft SMTP Server (TLS) id 14.1.355.2; Fri, 30 Mar 2012 18:48:58 -0400 Received: from [192.168.1.2] (72.89.250.133) by hubcas1.cs.stonybrook.edu (130.245.9.212) with Microsoft SMTP Server (TLS) id 14.1.323.3; Fri, 30 Mar 2012 18:49:00 -0400 Message-ID: <4F7637F3.2060502@cs.stonybrook.edu> Date: Fri, 30 Mar 2012 18:47:15 -0400 From: Richard Yao User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120301 Thunderbird/10.0.1 MIME-Version: 1.0 To: Konstantin Belousov References: <4F75E404.8000104@cs.stonybrook.edu> <4F75EF86.6090909@cs.stonybrook.edu> <20120330190713.GG2358@deviant.kiev.zoral.com.ua> <4F760C9E.6060405@cs.stonybrook.edu> <20120330194649.GH2358@deviant.kiev.zoral.com.ua> <4F761371.7020606@cs.stonybrook.edu> <20120330203605.GI2358@deviant.kiev.zoral.com.ua> <4F76350F.8000708@cs.stonybrook.edu> <20120330224631.GJ2358@deviant.kiev.zoral.com.ua> In-Reply-To: <20120330224631.GJ2358@deviant.kiev.zoral.com.ua> X-Enigmail-Version: 1.3.5 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig1A225317806B90D4877912FC" X-Originating-IP: [72.89.250.133] Cc: freebsd-stable@freebsd.org Subject: Re: Text relocations in kernel modules X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Mar 2012 22:49:01 -0000 --------------enig1A225317806B90D4877912FC Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 03/30/12 18:46, Konstantin Belousov wrote: > Reread what I wrote to you. Also, it pays off learning how ELF works > before making conclusion from the absence of the output of readelf -d. > Amd64 modules _are not_ shared objects. Whether or not they are shared objects is irrelevant. The fact is that they have text relocations, which interfere with ASLR. Do I need to produce exploit code before you take me seriously? --------------enig1A225317806B90D4877912FC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJPdjf2AAoJELFAT5FmjZuEp4QP/2BpjIDJku1yxnrZA0E3QH31 u1VD3UCWcVZfk9q/HaCO8UCcUYZjN8ehVBfmenEFaOB0J0mXz42rvgdZD4iNDyEo ykhIOadc4kSycpfCaD7/0hquqbXlxLWLOVzkNP9xXthZfLZ6hP6w9J2M9F0koWoY P+MV33PznHa/5s+QV7oQfw/amlufQ2YlwSfBC+Bh4twcCXdUX7HvO+AG+1RVi6a6 60s/PgOC52k5hmyo1H3tbkufsxXcPowVYzaoYlms4h2IuaUvwScsz05YRggg28sH 6ukRkzeZgYE72Q6hBtJfVVu9eEUPik8mchBUQ/io1Nv0oA12aD1kRlRv3k94uWbX 7ILd1xNzTb11bGxpFXpHXLOBuCVyd0fYhcyLYARJIDz9GTm6fAdnquKj4w6Cad7J M6/PzlBdFvmt7p/bG7Llk/QMGaQyPX5bwIpM49ti6lUIxrDbOcxtlPkD3bxFANeB PP4zopHCiSPJQXxdKT/RdXKN52N5fAcFCBkJgx2hCxrdnWPnAsJJuy2vv7FfplwO KRw7MuIsn4iXM1nNWdgKzMf8yxae077KD97Xhh3x0sDYMsXv29uOd4xLABHnc57V XOf/gtnz8UGGyllhqWsMut2vL2ZtTWiKrXYzR0paDJx3Hrc+0/gBncss/pErpc8D yO1Ca7ysyJV6TLPAUltS =zqaZ -----END PGP SIGNATURE----- --------------enig1A225317806B90D4877912FC--