From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RraDO-0004r8-Fx for garchives@archives.gentoo.org; Sun, 29 Jan 2012 19:15:02 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5A134E0843; Sun, 29 Jan 2012 19:14:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 5DA46E07EE for ; Sun, 29 Jan 2012 19:13:15 +0000 (UTC) Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 905A41B400C; Sun, 29 Jan 2012 19:13:14 +0000 (UTC) From: Mike Frysinger Organization: wh0rd.org To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Can we get PIE on all SUID binaries by default, por favor? Date: Sun, 29 Jan 2012 14:14:27 -0500 User-Agent: KMail/1.13.7 (Linux/3.2.0; KDE/4.6.5; x86_64; ; ) Cc: "Anthony G. Basile" References: <201201271912.35560.vapier@gentoo.org> <4F23E993.5050701@gentoo.org> In-Reply-To: <4F23E993.5050701@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1702916.pT6djp4yxv"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201201291414.27968.vapier@gentoo.org> X-Archives-Salt: c472f030-a984-4889-8315-65a5a932c253 X-Archives-Hash: cd7774e88399a560f48b54827bd0e516 --nextPart1702916.pT6djp4yxv Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Saturday 28 January 2012 07:26:59 Anthony G. Basile wrote: > I've run nbench on two amd64 systems both running the same kernel > vanilla-3.2.2. i don't think nbench is a good benchmark for this as it isn't really testin= g=20 what you think it's testing. it's very good at validating math support in = the=20 ISA/ABI, optimized compiler output, and supplementary math implementations = in=20 libgcc. PIE vs non-PIE will still be able to multiply/divide in pretty muc= h=20 the same amount of time. > So at least on amd64, I don't think that performance is ever an issue. yes, most likely on systems where the PIC has hardware support in the ISA, = the=20 performance hit on PIE is typically low. > I have yet to look at x86. pretty sure this is going to be much more palpable. =2Dmike --nextPart1702916.pT6djp4yxv Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iQIcBAABAgAGBQJPJZqTAAoJEEFjO5/oN/WBXCUP/0IG4pyQkGM7pRvVLYhu17m9 aMIIZN2IwBpgiG7QjmmQ7x2SZ0K58dE7ki7ogwb8jc0eQ6ro183cmuy6asGXlEHY JQbdP24G1F0tvm/HfPBVCgRi7tgNQN2fZfEd0ZVj05fDS1wxv+tHTRRfCq/rgU3/ y/5Znau2AvesxGG7qDCk4WvirK8vnkPXeDNwv0QZSdKav+po4Wzgo5aoYtnRn+1m T1JRw+s4SE4mQ0cQWEOQQbPC0rcGreoJ6/n277+AraEWpxQvP2cYKDgQ6n2K4+y6 NsDtJhWyrsJmBqO5TqoYg6WTU6wll55WPpOFU1aDUGubFz1HZOry/ChQpl8TPHug Eg/PqzJ5z+7s4AUNYPj3sn5fNfpHlMBhVNl2xEjxMau5Q57fKpYTXKIcHSWJ3cc2 aqYWIBRcB/Rr7HoW4MQk6on1d30Vt1B3lVVjETgd1ZEuF1uX5ivrsohSqlxvrOzV +RRqmPxbzuajSms3unUC/ZNKD+wIWEBR5nVsP1cz/QGyjmSaFFMuNI8MvFM7BkTv Jdva96CXK9yepfWk4SjuJPMKII+I10YJcrRy3IYAtHWM1YFzg1JPaI7jFuldr2Es ZIQV+nk6QkrmbCqtEumUCN6TQr8q6Ib1ro+B5zYPIfPLLovCc+ixg36SCahwqrBO 1h7Pyw3BniIifHeRlEKq =bX5A -----END PGP SIGNATURE----- --nextPart1702916.pT6djp4yxv--