Skip to content

Enable FORTIFY_SOURCE for 32-bit Android binaries

akwizgran requested to merge tor-hardening into master

This branch enables FORTIFY_SOURCE hardening measures for the 32-bit Tor binaries on Android.

The flag to enable this was being passed to the compiler already, but it has no effect with the API 16 compiler, which resulted in our 32-bit binaries not having those protections. (The 64-bit binaries were compiled with the API 21 compiler, so they already had the protections.)

Enabling these protections will require raising the minimum API level of Briar Mailbox from 16 to 18. Stats from the Play Store suggest that three users will be affected.

Merge request reports