Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 6 Aug 2012 23:11:33 +0200
From: Kant <>
Subject: Re: noexecstack

The glibc build is using this. clang also supports this.

Should be okay to use.

On 6 August 2012 13:32, Rich Felker <> wrote:
> On Mon, Aug 06, 2012 at 01:19:19PM +0200, Szabolcs Nagy wrote:
>> * Rich Felker <> [2012-08-06 05:37:42 -0400]:
>> > > ld -z noexecstack
>> > This should work for Is there a way to do it for all the .o
>> > files in libc.a without having to add the option to every application,
>> > though?
>> it seems gnu as has an undocumented --noexecstack flag for this
>>   gcc -Wa,--noexecstack -c foo.s
>> adds the .notes.GNU-stack section
> So this seems to be the solution. I suspect it will need a configure
> check for the option being supported. Any other caveats?
> Rich

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.