Gentoo Archives: gentoo-user

From: Michael Orlitzky <mjo@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Anyone running a hardened profile?
Date: Mon, 07 Sep 2015 18:28:02
Message-Id: 55EDD71A.1060707@gentoo.org
In Reply to: Re: [gentoo-user] Anyone running a hardened profile? by wabenbau@gmail.com
1 On 09/07/2015 01:10 PM, wabenbau@×××××.com wrote:
2 > Michael Orlitzky <mjo@g.o> wrote:
3 >
4 > I don't think so (but maybe I'm wrong). You have to compile your entire
5 > system with a hardened toolchain to get full hardened support (SSP and
6 > maybe some other things). I think, to go back to a "normal state", you
7 > have to recompile everything again with a non hardened toolchain.
8 >
9
10 GCC 4.8 already defaults to -fstack-protector, but you do need to
11 recompile to get -fstack-protector-all and you're right that you would
12 need to recompile again to make it go away. The full SSP is considered
13 safe though, and only slows things down a bit.
14
15 For PaX, the markings may exist on your filesystem, but if you switch to
16 a non-hardened kernel they cease to have any effect. Grsec just goes away.

Replies

Subject Author
[gentoo-user] Re: Anyone running a hardened profile? walt <w41ter@×××××.com>