1 |
On Monday 23 January 2012 15:00:41 Mike Gilbert wrote: |
2 |
> I'm asking "how does one enable PIE/ASLR", not how to check if it is |
3 |
> enabled already. |
4 |
Just enable hardened profile that compiles generally with: |
5 |
-fno-strict-overflow -fPIE -fstack-protector-all |
6 |
|
7 |
in particular with gcc-hardenednossp you have: |
8 |
fno-strict-overflow -fPIE |
9 |
|
10 |
with gcc-hardenednopie you have: |
11 |
fno-strict-overflow -fstack-protector-all |
12 |
|
13 |
with gcc-hardenednopiessp you have: |
14 |
-fno-strict-overflow |
15 |
|
16 |
-- |
17 |
Agostino Sarubbo ago -at- gentoo.org |
18 |
Gentoo/AMD64 Arch Security Liaison |
19 |
GPG: 0x7CD2DC5D |