[swift-dev] Standard shared libraries with executable stack

김종수 kimjs29 at gmail.com
Sat Jun 11 10:12:43 CDT 2016


I am testing Swift in "Windows Subsystem for Linux" which is a new feature
of Windows 10 Anniversary Update scheduled in this year. WSL is Ubuntu LTS
14.04 compatible in user space.

Swift runtime libraries such as libswiftCore.so are marked Executable
Stack, which have no problem in Linux.

dlopen()'ing swift runtime libraries causes mprotect() with PROT_GROWSDOWN,
which is not documented but verified with strace.

WSL has not implemented PROT_GROWSDOWN feature because of clean room
development.

Swift runtime libraries had not been marked Executable Stack before Febrary
snapshot. And cmark and llvm/clang shared libraries are not marked too.

***My request is swift runtime libraries be not marked Executable Stack.***

Thanks in advance.


Kim, Jongsu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20160612/2ded2535/attachment.html>


More information about the swift-dev mailing list