[ksh93-integration-discuss] magic numbers (was Trouble with"ERROR:ctfconvert:pics/wordexp.o: Couldn't parse stab "#vla0:(0, 14)"(source file pics/wordexp.o)")
Casper.Dik at Sun.COM
Casper.Dik at Sun.COM
Tue Nov 14 23:33:04 PST 2006
>Mike Kupfer writes:
>> should be considered. (I can't remember if Solaris prevents execution
>> out of the stack by default. If it does, this is less of a concern.)
>
>On systems where such a thing is possible, it's done by default. Not
>all CPUs can actually do that, though.
On 32 bit SPARC it's allowed by default beccause it's required by the
ABI.
However, a large number of Solaris programs is linked such that they
do not allow an executable stack.
In 64 bit it is not allowed (both SPARC and AMD).
Casper
More information about the ksh93-integration-discuss
mailing list