public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Ryan Hill <dirtyepic@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: [gentoo-dev] Re: Improve the security of the default profile
Date: Wed, 11 Sep 2013 00:07:29 -0600	[thread overview]
Message-ID: <20130911000729.46cda29c@caribou.gateway.2wire.net> (raw)
In-Reply-To: <522FA01E.4070602@gentoo.org>

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

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.

> 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.

> 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.


-- 
Ryan Hill                        psn: dirtyepic_sk
   gcc-porting/toolchain/wxwidgets @ gentoo.org

47C3 6D62 4864 0E49 8E9E  7F92 ED38 BD49 957A 8463

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

  parent reply	other threads:[~2013-09-11  5:57 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 [this message]
2013-09-11 18:23               ` Magnus Granberg
2013-09-12 15:07               ` Richard Yao
     [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=20130911000729.46cda29c@caribou.gateway.2wire.net \
    --to=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