Gentoo Archives: gentoo-hardened

From: Michael Orlitzky <mjo@g.o>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] Re: [gentoo-dev] New item for sys-kernel/hardened-sources removal
Date: Wed, 16 Aug 2017 14:46:11
Message-Id: b0821cd3-917e-6673-1e0c-a79dc7d74a00@gentoo.org
In Reply to: Re: [gentoo-hardened] Re: [gentoo-dev] New item for sys-kernel/hardened-sources removal by "Francisco Blas Izquierdo Riera (klondike)"
1 On 08/16/2017 10:37 AM, Francisco Blas Izquierdo Riera (klondike) wrote:
2 >>>
3 >> Would anyone like to outline a simple process to migrate from
4 >> hardened-sources + hardened tool-chain to gentoo-sources?
5 >>
6 > Unless you want to drop userspace hardening (which most likely you don't
7 > as it is still useful on vanilla kernels) a simple copy of the .config
8 > file to gentoo sources followed by make oldconfig will work in the vast
9 > majority of cases.
10 >
11
12
13 There is one thing you have to watch out for: certain vanilla kernel
14 hardened features were subjugated to grsecurity ones and you'll probably
15 want to enable them. For example, you probably want CONFIG_VMAP_STACK
16 once you've switched, but it won't be enabled in your old .config
17 because it conflicts with GRKERNSEC_KSTACKOVERFLOW.
18
19 (It would help to collect those options on a wiki page?)

Replies