> <span style="line-height:19.7999992370605px">So, does that mean the PIE setting only affected executables and not</span><br style="line-height:19.7999992370605px"><span style="line-height:19.7999992370605px">libraries, perhaps?</span><br><br>This is indeed the case. From the 5.0 <a href="http://source.android.com/devices/tech/security/enhancements50.html">security notes.</a>:<div><span style="color:rgb(34,34,34);font-family:Roboto,sans-serif;font-size:14.3999996185303px;line-height:19px;background-color:rgb(249,249,249)"><br></span></div><div><span style="color:rgb(34,34,34);font-family:Roboto,sans-serif;font-size:14.3999996185303px;line-height:19px;background-color:rgb(249,249,249)">"Android now requires all dynamically linked executables to support PIE (position-independent executables)."</span><br><div><br></div><div><div class="gmail_quote">On Thu Nov 06 2014 at 11:26:33 AM Nick Parker <<a href="mailto:nparker@zetetic.net">nparker@zetetic.net</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Nathan,<br>
<br>
For what its worth, running the latest SQLCipher for Android (3.2.0)<br>
library on the Android L preview emulator executing the test suite is<br>
entirely successful.  I had previously submitted a screenshot of this to<br>
this thread however the message was not posted.<br>
<br>
On 11/6/14 1:09 PM, Nathan of Guardian wrote:<br>
> I finally updated my Nexus 7 to use the latest Android L/5.0 developer<br>
> preview ROMs<br>
><br>
> I've updated Orbot's Makefile to support a simple command line arg for<br>
> enabling PIE or not:<br>
> <a href="https://github.com/n8fr8/orbot/commit/7f50f79b0e3ebbb0dd97845445dbb693f3fd541c" target="_blank">https://github.com/n8fr8/<u></u>orbot/commit/<u></u>7f50f79b0e3ebbb0dd97845445dbb6<u></u>93f3fd541c</a><br>
><br>
> For PIE-enabled/Android-16 binaries:<br>
>> make polipo PIEFLAGS="-fPIE -pie" NDK_PLATFORM_LEVEL="16"<br>
><br>
> For non-PIE/Android-9 through 15 binaries:<br>
>> make polipo PIEFLAGS="" NDK_PLATFORM_LEVEL="9"<br>
><br>
> I can verify that if I try to run the non-PIE binaries on L, they do not<br>
> work.<br>
><br>
> Now, when I decided to install Courier (securereader) and ChatSecure<br>
> from the Google Play store existing versions, they both installed and<br>
> executed perfectly. They both contain native code, but they are used as<br>
> shared libraries and not command line executables like with Orbot.<br>
><br>
> So, does that mean the PIE setting only affected executables and not<br>
> libraries, perhaps?<br>
><br>
><br>
<br>
--<br>
Nick Parker<br>
<br>
______________________________<u></u>_________________<br>
Guardian-dev mailing list<br>
<br>
Post: <a href="mailto:Guardian-dev@lists.mayfirst.org" target="_blank">Guardian-dev@lists.mayfirst.<u></u>org</a><br>
List info: <a href="https://lists.mayfirst.org/mailman/listinfo/guardian-dev" target="_blank">https://lists.mayfirst.org/<u></u>mailman/listinfo/guardian-dev</a><br>
<br>
To Unsubscribe<br>
  Â  Â  Â  Send email to:  <a href="mailto:Guardian-dev-unsubscribe@lists.mayfirst.org" target="_blank">Guardian-dev-unsubscribe@<u></u>lists.mayfirst.org</a><br>
  Â  Â  Â  Or visit: <a href="https://lists.mayfirst.org/mailman/options/guardian-dev/davidpbrodsky%40gmail.com" target="_blank">https://lists.mayfirst.org/<u></u>mailman/options/guardian-dev/<u></u>davidpbrodsky%40gmail.com</a><br>
<br>
You are subscribed as: <a href="mailto:davidpbrodsky@gmail.com" target="_blank">davidpbrodsky@gmail.com</a><br>
</blockquote></div></div></div>