public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Cc: "Anthony G. Basile" <blueness@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	[thread overview]
Message-ID: <201201291414.27968.vapier@gentoo.org> (raw)
In-Reply-To: <4F23E993.5050701@gentoo.org>

[-- Attachment #1: Type: Text/Plain, Size: 792 bytes --]

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 testing 
what you think it's testing.  it's very good at validating math support in the 
ISA/ABI, optimized compiler output, and supplementary math implementations in 
libgcc.  PIE vs non-PIE will still be able to multiply/divide in pretty much 
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 
performance hit on PIE is typically low.

> I have yet to look at x86.

pretty sure this is going to be much more palpable.
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2012-01-29 19:15 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-23 19:08 [gentoo-dev] Can we get PIE on all SUID binaries by default, por favor? Jason A. Donenfeld
2012-01-23 19:22 ` [gentoo-dev] " Diego Elio Pettenò
2012-01-23 19:26   ` Jason A. Donenfeld
2012-01-23 19:37     ` Diego Elio Pettenò
2012-01-23 19:40       ` Jason A. Donenfeld
2012-01-23 19:51         ` Mike Gilbert
2012-01-23 19:57           ` Jason A. Donenfeld
2012-01-23 20:00             ` Mike Gilbert
2012-01-23 20:09               ` Sven Vermeulen
2012-01-23 20:12               ` Francesco Riosa
2012-01-23 22:18                 ` Zac Medico
2012-01-24  7:57                   ` Jason A. Donenfeld
2012-01-24  5:56                 ` Mike Frysinger
2012-01-23 20:47               ` Agostino Sarubbo
2012-01-23 19:56         ` Diego Elio Pettenò
2012-01-23 20:48         ` Markos Chandras
2012-01-24  5:50       ` Mike Frysinger
2012-01-24  5:58 ` [gentoo-dev] " Mike Frysinger
2012-01-26 16:55   ` Jason A. Donenfeld
2012-01-27 19:02     ` Jason A. Donenfeld
2012-01-27 19:39       ` "Paweł Hajdan, Jr."
2012-01-27 19:45         ` Fabian Groffen
2012-01-27 20:13           ` "Paweł Hajdan, Jr."
2012-01-27 20:33             ` Rich Freeman
2012-01-27 21:05             ` Jason A. Donenfeld
2012-01-28  0:12               ` Mike Frysinger
2012-01-28  5:12                 ` Jason A. Donenfeld
2012-01-28 12:26                 ` Anthony G. Basile
2012-01-29 19:14                   ` Mike Frysinger [this message]
2012-02-01  0:58                     ` Anthony G. Basile
2012-02-01 17:33                       ` Matthew Thode
2012-02-01 20:08                       ` Mike Frysinger
2012-01-27 19:48         ` Mike Frysinger
2012-01-27 21:02         ` Jason A. Donenfeld
2012-01-28  0:01         ` Anthony G. Basile
2012-01-28  5:07           ` Jason A. Donenfeld
2012-01-29 19:14             ` Mike Frysinger
2012-01-27 19:42       ` Mike Frysinger
2012-01-27 19:43     ` Mike Frysinger
2012-01-27 21:04       ` Jason A. Donenfeld

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201201291414.27968.vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=blueness@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox