Vitaly Davidovich
2014-09-26 22:22:03 UTC
Hi all,
Noticed this bug report: https://bugs.openjdk.java.net/browse/JDK-7107135
However, it appears that even with 7u60 this same problem occurs. Is that
fix supposed to work if a dependent native lib (.so on linux) has an
executable stack flag set? The case I'm seeing is just like that: a JNI
call is made to a native library whose ELF stack is not executable, but a
dependent lib does have that flag set.
The fix associated with the above bug report appears to detect such a lib
being loaded but only directly (I.e. via System.loadLibrary). Is that
correct? Also, is there anything planned to attempt to handle this for
indirectly loaded libs?
Thanks
Sent from my phone
Noticed this bug report: https://bugs.openjdk.java.net/browse/JDK-7107135
However, it appears that even with 7u60 this same problem occurs. Is that
fix supposed to work if a dependent native lib (.so on linux) has an
executable stack flag set? The case I'm seeing is just like that: a JNI
call is made to a native library whose ELF stack is not executable, but a
dependent lib does have that flag set.
The fix associated with the above bug report appears to detect such a lib
being loaded but only directly (I.e. via System.loadLibrary). Is that
correct? Also, is there anything planned to attempt to handle this for
indirectly loaded libs?
Thanks
Sent from my phone