{.so filename} has W+E (writable and executable) load segments. This is a security risk shared libraries with W+E load segments will not be supported in a future Android release. Please fix the library.
How can this be fixed?
Asked
Active
Viewed 797 times
2

ben_joseph
- 1,660
- 1
- 19
- 24
-
What tool-chain are you using that produces W+E segments (so I can avoid it)? – Richard Critten Nov 09 '16 at 10:30
-
@RichardCritten I'm building the .so using ndk-build. The above warning appears when the app loads the .so. – ben_joseph Nov 09 '16 at 12:09
-
See this section _"Text Relocations (Enforced since API 23)"_ in http://android-developers.blogspot.co.uk/2016/06/android-changes-for-ndk-developers.html – Richard Critten Nov 09 '16 at 12:40
-
@RichardCritten That didn't help. – ben_joseph Nov 11 '16 at 07:33
-
Hi, did you fix this? – shadowfire Jan 30 '18 at 09:09