linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: ratheesh kannoth <ratheesh.ksz@gmail.com>
To: Raphael S Carvalho <raphael.scarv@gmail.com>
Cc: "linux-c-programming@vger.kernel.org"
	<linux-c-programming@vger.kernel.org>
Subject: Re: ASLR and -fpic
Date: Wed, 12 Mar 2014 16:47:14 +0530	[thread overview]
Message-ID: <CAGZFCEEqvfxcjj1D9=aTcWkJZds5FkOF+v6me3pDk4uGyONX-w@mail.gmail.com> (raw)
In-Reply-To: <CACz=Wee9N4Ds1SqrpDhC=KJQ-MfeTTn=kEjWmOUpWoeGY4w+sQ@mail.gmail.com>

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

      parent reply	other threads:[~2014-03-12 11:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAGZFCEEqvfxcjj1D9=aTcWkJZds5FkOF+v6me3pDk4uGyONX-w@mail.gmail.com' \
    --to=ratheesh.ksz@gmail.com \
    --cc=linux-c-programming@vger.kernel.org \
    --cc=raphael.scarv@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).