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?) |