Discussion:
ASLR and -fpic
ratheesh kannoth
2014-03-12 10:47:29 UTC
Permalink
If we need ASLR feature, should we compile executable with -fpic ?






-Ratheesh
--
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to ***@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
ratheesh kannoth
2014-03-12 11:17:14 UTC
Permalink
so if i enable ASLR using /proc/sys/kernel/randomize_va_space,
already compiled programs ( with out fpic ) will not be randomised ?

On Wed, Mar 12, 2014 at 4:24 PM, Raphael S Carvalho
Post by ratheesh kannoth
If we need ASLR feature, should we compile executable with -fpic ?
-fPIE -fstack-protector-all
Post by ratheesh kannoth
-Ratheesh
--
To unsubscribe from this list: send the line "unsubscribe
linux-c-programming" in
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Raphael S. Carvalho
--
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to ***@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Loading...