* ASLR and -fpic
@ 2014-03-12 10:47 ratheesh kannoth
[not found] ` <CACz=Wee9N4Ds1SqrpDhC=KJQ-MfeTTn=kEjWmOUpWoeGY4w+sQ@mail.gmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: ratheesh kannoth @ 2014-03-12 10:47 UTC (permalink / raw)
To: linux-c-programming@vger.kernel.org
If we need ASLR feature, should we compile executable with -fpic ?
-Ratheesh
^ permalink raw reply [flat|nested] 2+ messages in thread[parent not found: <CACz=Wee9N4Ds1SqrpDhC=KJQ-MfeTTn=kEjWmOUpWoeGY4w+sQ@mail.gmail.com>]
* Re: ASLR and -fpic [not found] ` <CACz=Wee9N4Ds1SqrpDhC=KJQ-MfeTTn=kEjWmOUpWoeGY4w+sQ@mail.gmail.com> @ 2014-03-12 11:17 ` ratheesh kannoth 0 siblings, 0 replies; 2+ messages in thread From: ratheesh kannoth @ 2014-03-12 11:17 UTC (permalink / raw) To: Raphael S Carvalho; +Cc: linux-c-programming@vger.kernel.org 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 <raphael.scarv@gmail.com> wrote: > > > > On Wed, Mar 12, 2014 at 7:47 AM, ratheesh kannoth <ratheesh.ksz@gmail.com> > wrote: >> >> If we need ASLR feature, should we compile executable with -fpic ? > > -fPIE -fstack-protector-all > >> >> >> >> >> >> >> -Ratheesh >> -- >> To unsubscribe from this list: send the line "unsubscribe >> linux-c-programming" in >> the body of a message to majordomo@vger.kernel.org >> More majordomo info at http://vger.kernel.org/majordomo-info.html > > > > > -- > Raphael S. Carvalho ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-03-12 11:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-12 10:47 ASLR and -fpic ratheesh kannoth
[not found] ` <CACz=Wee9N4Ds1SqrpDhC=KJQ-MfeTTn=kEjWmOUpWoeGY4w+sQ@mail.gmail.com>
2014-03-12 11:17 ` ratheesh kannoth
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).