Skip to content

Use built in linker script to set non-exec stack#182

Closed
despair86 wants to merge 10000 commits into
TritonDataCenter:trunkfrom
despair86:patch-1
Closed

Use built in linker script to set non-exec stack#182
despair86 wants to merge 10000 commits into
TritonDataCenter:trunkfrom
despair86:patch-1

Conversation

@despair86
Copy link
Copy Markdown

@despair86 despair86 commented Mar 17, 2019

The Solaris OS comes with a set of common linker scripts, one of which sets the stack non-executable. Use that if we're using Solaris ld(1).

This assumption seems to hold up for illumos (including SmartOS GZ and LZ). Oracle Solaris seems to have retained these as well, according to the ld(1) man page https://docs.oracle.com/cd/E88353_01/html/E37839/ld-1.html

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.