Gentoo Archives: gentoo-hardened

From: Magnus Granberg <zorry@g.o>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] gcc compiler flags - some room for more hardening?
Date: Thu, 18 Jan 2018 01:20:32
Message-Id: 1637425.VomL9Ad9pk@laptop1.gw.ume.nu
In Reply to: [gentoo-hardened] gcc compiler flags - some room for more hardening? by "Tóth Attila"
1 onsdag 17 januari 2018 kl. 13:27:25 CET skrev Tóth Attila:
2 > I've just came accross a Fedora 28 memo about hardening their flags:
3 > https://fedoraproject.org/wiki/Changes/HardeningFlags28
4 > 1. -fstack-clash-protection
5 > 2. -fcf-protection=full
6 > 3. -mcet
7 > 4. for C++: -D_GLIBCXX_ASSERTIONS
8 >
9 > According to the builtin specs these are not in current use for
10 > sys-devel/gcc-7.2.
11 >
12 > It may worth to consider moving the same direction as Fedora. Wouldn't it
13 > be a shame if a regular non-rolling distro would make use of harder flags
14 > compared to Gentoo Hardened?
15 >
16 > BR: Dw.
17 Most of the options is for Gcc 8 or newer.
18 Still waiting what get add for the Spectre stuff.

Replies

Subject Author
Re: [gentoo-hardened] gcc compiler flags - some room for more hardening? "Tóth Attila" <atoth@××××××××××.hu>