On Monday 23 January 2012 15:00:41 Mike Gilbert wrote:
> I'm asking "how does one enable PIE/ASLR", not how to check if it is
> enabled already.
Just enable hardened profile that compiles generally with:
-fno-strict-overflow -fPIE -fstack-protector-all

in particular with gcc-hardenednossp you have:
fno-strict-overflow -fPIE

with gcc-hardenednopie you have:
fno-strict-overflow -fstack-protector-all

with gcc-hardenednopiessp you have:
-fno-strict-overflow

-- 
Agostino Sarubbo                ago -at- gentoo.org
Gentoo/AMD64 Arch Security Liaison
GPG: 0x7CD2DC5D

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to