On Mon, Jan 23, 2012 at 2:57 PM, Jason A. Donenfeld <ja...@zx2c4.com> wrote: > To check for PIE, > > readelf -h /bin/su | grep Type > > If it says EXEC, no PIE. If it says DYN, yes PIE.
I'm asking "how does one enable PIE/ASLR", not how to check if it is enabled already.