ELF object files: executable stack and security risk?

Walter Bright newshound2 at digitalmars.com
Tue Jul 26 18:55:53 PDT 2011


On 7/26/2011 6:51 PM, Walter Bright wrote:
> On 7/26/2011 6:45 PM, Marco Leise wrote:
>> I'm not into the details of ELF and object file stacks, but Gentoo Linux gives
>> me some QA warnings about executable writable sections. A Gentoo hacker helped
>> me by writing a patch to dmd and the security warnings are now gone.
>>
>> See http://d.puremagic.com/issues/show_bug.cgi?id=6387 for details.
>>
>> I posted here to shed some light on the issue. GNU C closures need an executable
>> stack, but D doesn't. Would there be any other feature that require executable
>> stacks?
>
> Not at the moment.


Hmm. D is supposed to link with gcc code, so that could be an issue.


More information about the Digitalmars-d mailing list