> On 10/17/10 10:01, Ali Bahrami wrote: [...] > Until there's a consensus that Solaris should ignore > the platform ABI, > I think we're back to the original assertion that the > best you can do is > to always link with -M /usr/lib/ld/map.noexstk, and > to set noexec_user_stack. > > Since executables that need an executable stack are > rare, another answer > is to always set noexec_user_stack, and to insist > that programs that need > an executable stack must have a PT_SUNWSTACK that > makes it so.
In that case, perhaps if a /usr/lib/ld/map.exstk containing stack = STACK ?RWX; were supplied (and mentioned in whatever documentation that other pre-supplied mapfiles are mentioned), it might be likelier to encourage developers to do as you suggest, explicitly disabling (or in the rare case needed, enabling) executable stack support for each executable. -- This message posted from opensolaris.org _______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org