public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Richard Yao <ryao@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Cc: Ryan Hill <dirtyepic@gentoo.org>
Subject: Re: [gentoo-dev] Re: Improve the security of the default profile
Date: Thu, 12 Sep 2013 11:07:20 -0400	[thread overview]
Message-ID: <5231D8A8.2030503@gentoo.org> (raw)
In-Reply-To: <20130911000729.46cda29c@caribou.gateway.2wire.net>

[-- Attachment #1: Type: text/plain, Size: 1857 bytes --]

On 09/11/2013 02:07 AM, Ryan Hill wrote:
> On Tue, 10 Sep 2013 18:41:34 -0400
> Richard Yao <ryao@gentoo.org> wrote:
> 
>> A few thoughts:
>>
>> 1. The kernel expects -fno-stack-protector to be the default. What will
>> the effect be on kernel configuration once -fstack-protector is the default?
> 
> The kernel has supported building with -fstack-protector since 2.6.19, (at least
> on x86/x86-64).  It's controlled by CONFIG_CC_STACKPROTECTOR and if it's
> disabled then -fno-stack-protector is explicitly added to the command line.

That is good news. I admit that I was being lazy in not looking this up
myself, but things probably are more efficient when the people already
looking into this are the ones who check these loose ends.

>> 2. We should make sure that -fno-stack-protector is a supported CFLAG.
>> This will make it easier to handle complaints from the vocal minority of
>> our user base that want every last percentage point of performance.
> 
> If by supported you mean that they won't be removed by things like strip-flags,
> then yes, -fstack-protector -fstack-protector-all -fno-stack-protector and
> -fno-stack-protector-all are all on the whitelist.

That is good.

>> 3. I would like to point out that we are talking about deviating from
>> upstream behavior and everyone is okay with it. Anyone who thinks we
>> should stick to upstream when it is not good for us should speak now or
>> risk being asked "where were you when..." whenever they try to use
>> upstream as an excuse to hold back progress. ;)
> 
> In this case it seems every other distro is already doing this, so we're in
> good company.

Agreed. I just wanted to say something as insurance for the future. ;)

Anyway, I will be happy to see it integrated into the tree once all of
the hacks around it have been corrected.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 901 bytes --]

  parent reply	other threads:[~2013-09-12 15:07 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-05 10:13 [gentoo-dev] Improve the security of the default profile Agostino Sarubbo
2013-09-05 10:47 ` Tom Wijsman
2013-09-05 10:54   ` Agostino Sarubbo
2013-09-05 11:09     ` Tom Wijsman
2013-09-05 11:58       ` Agostino Sarubbo
2013-09-05 13:33       ` Rich Freeman
2013-09-05 10:54   ` Sergey Popov
2013-09-05 11:06 ` [gentoo-dev] " Mike Frysinger
2013-09-07  3:48   ` Rick "Zero_Chaos" Farina
2013-09-07  6:36     ` Parker Schmitt
2013-09-05 12:09 ` [gentoo-dev] " Ciaran McCreesh
2013-09-05 12:38   ` Tom Wijsman
2013-09-07 18:24   ` [gentoo-dev] " Martin Vaeth
2013-09-07 17:25 ` Ryan Hill
2013-09-07 18:10   ` Martin Vaeth
     [not found]     ` < 20130907151110.13ebc8a2@caribou.gateway.2wire.net>
2013-09-07 18:37     ` Rich Freeman
2013-09-07 18:50       ` Pacho Ramos
2013-09-07 19:52         ` Martin Vaeth
2013-09-07 21:11     ` Ryan Hill
2013-09-07 23:08       ` Rick "Zero_Chaos" Farina
2013-09-07 23:12         ` Rich Freeman
2013-09-08 14:12           ` Hinnerk van Bruinehsen
2013-09-09  0:06         ` Ryan Hill
2013-09-09 12:11           ` Martin Vaeth
2013-09-09 12:21           ` Rich Freeman
2013-09-10  3:00             ` Ryan Hill
2013-09-10  3:46               ` Peter Stuge
2013-09-11 22:04               ` Magnus Granberg
2013-09-10 17:50           ` Jeroen Roovers
2013-09-10 22:41           ` Richard Yao
2013-09-11  1:17             ` Rich Freeman
2013-09-12 15:03               ` Richard Yao
2013-09-12 15:12                 ` Richard Yao
2013-09-11  6:07             ` Ryan Hill
2013-09-11 18:23               ` Magnus Granberg
2013-09-12 15:07               ` Richard Yao [this message]
     [not found]           ` <522FA01E.4070602 @gentoo.org>
     [not found]             ` <CAGfcS_=VwAT0xYAny9hfd3tpRM61dt39Zcm7p0N8_pLzeyw1FQ@mail. gmail.com>
2013-09-11  4:49               ` Duncan
2013-09-11  6:49                 ` Ryan Hill
2013-09-11 18:48                 ` Magnus Granberg
2013-09-08 11:05       ` Martin Vaeth
2013-09-09  3:24         ` Ryan Hill
2013-09-08 11:24       ` Martin Vaeth
2013-09-12 15:23       ` Anthony G. Basile
2013-09-13  6:08         ` Ryan Hill
2013-09-07 19:50   ` Rick "Zero_Chaos" Farina

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=5231D8A8.2030503@gentoo.org \
    --to=ryao@gentoo.org \
    --cc=dirtyepic@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