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
_______________________________________________
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev

Reply via email to