platform_build/core
Elliott Hughes 2747fa8f87 Enable -fstack-protector-strong for arm64.
This results in nearly all functions with the possibility of stack
corruption getting stack canaries, because it applies to any function
taking a reference to the frame or with a local array rather than just
the functions with arrays larger than 8 bytes. It was developed for use
in Chrome (and Chrome OS) and has also been adopted by various other
distributions (Arch, Fedora, Ubuntu, etc).

The code size increase ranges from ~1.5% to ~2.5%, compared to ~0.3% to
~0.7% with the more conservative switch. The increase in the performance
loss is usually minimal. The overall size increase once everything other
than C and C++ code is taken into account is minimal, and it greatly
improves the mitigation of stack buffer overflow vulnerabilities.

https://lwn.net/Articles/584225/

Change-Id: I2fb7f0bfccbfa5d22ca8858309a133469edbc7b6
2015-12-14 11:18:24 -08:00
..
clang Merge "Rename AArch64 ASan target runtime library to match upstream convention." 2015-11-19 16:14:08 +00:00
combo Enable -fstack-protector-strong for arm64. 2015-12-14 11:18:24 -08:00
tasks Don't run ziptime on host zip files. 2015-11-04 10:06:25 -08:00
android_manifest.mk Strip LOCAL_STATIC_JAVA_AAR_LIBRARIES 2015-05-27 15:14:28 -07:00
apicheck_msg_current.txt
apicheck_msg_last.txt
base_rules.mk Use .KATI_RESTAT to reduce unnecessary rebuilds of .jar files 2015-11-30 11:16:23 -08:00
binary.mk Merge "Revert "Change USE_CLANG_PLATFORM_BUILD default to true."" 2015-12-13 23:06:03 +00:00
build-system.html Update the build system doc 2015-09-10 00:20:12 +00:00
build_id.mk "LKY80" 2015-03-21 06:05:46 -07:00
ccache.mk Add HOST_CROSS_OS 2015-09-09 18:12:29 +00:00
checktree
cleanbuild.mk Fix writing clean_steps.mk in the first build. 2015-08-04 12:11:54 -07:00
cleanspec.mk Add new variable SCAN_EXCLUDE_DIRS; specifies directories to exclude when searching source tree. 2015-06-10 13:00:13 -05:00
clear_vars.mk Remove LOCAL_JACK_EXTRA_ARGS 2015-10-21 17:22:27 +02:00
config.mk Make signapk use Conscrypt. 2015-12-11 08:36:42 -08:00
config_sanitizers.mk Switch from clang 3.6 to new clang repository (with 3.8). 2015-11-09 16:32:11 -08:00
configure_local_jack.mk Strip LOCAL_MODULE before referencing it. 2015-10-26 17:06:08 -07:00
configure_module_stem.mk
copy_headers.mk
cxx_stl_setup.mk Add support for LOCAL_NDK_STL_VARIANT := none. 2015-12-09 15:59:17 -08:00
definitions.mk Make signapk use Conscrypt. 2015-12-11 08:36:42 -08:00
device.mk
dex_preopt.mk Remove unneeded aapt dependency 2015-07-23 17:12:10 -07:00
dex_preopt_libart.mk Remove $(DEX2OAT) from DEX2OAT_DEPENDENCY when USE_DEX2OAT_DEBUG is set. 2015-07-28 11:54:08 -07:00
dex_preopt_libart_boot.mk Pass --no-generate-debug-info to dex2oat. 2015-06-19 02:34:58 +01:00
dex_preopt_odex_install.mk
distdir.mk Sort out ANDROID_GOALS, KATI_GOALS and NINJA_GOALS. 2015-11-03 17:10:28 -08:00
dpi_specific_apk.mk Do not run zipalign when building APK (except prebuilts). 2015-12-04 10:15:06 -08:00
droiddoc.mk Increase droiddoc -J-Xmx to 1600MB. 2015-11-19 18:31:01 -08:00
dumpvar.mk Add HOST_CROSS_OS 2015-09-09 18:12:29 +00:00
dynamic_binary.mk Allow globally disabling the relocation packer. 2015-11-12 15:27:49 -08:00
envsetup.mk envsetup,product,ninja: enable symlink traversal 2015-11-02 14:18:45 -08:00
executable.mk Add support of SANITIZE_TARGET='address coverage' for fuzzing. 2015-09-18 11:54:43 -07:00
executable_internal.mk Use libgcov OR libclang_rt.profile, not both. 2015-10-08 14:16:39 -07:00
executable_prefer_symlink.mk resolved conflicts for 953981db to stage-aosp-master 2015-09-28 18:45:23 -07:00
filter_symbols.sh
find-jdk-tools-jar.sh Error out early on nonstandard JDK directory layouts 2015-10-23 19:00:43 -07:00
fuzz_test.mk Add support of SANITIZE_TARGET='address coverage' for fuzzing. 2015-09-18 11:54:43 -07:00
goma.mk Use GOMA_HERMETIC=error for USE_GOMA=true build 2015-11-13 15:53:56 +09:00
help.mk
host_dalvik_java_library.mk Allow control of jack used for compilation 2015-10-21 17:22:05 +02:00
host_dalvik_static_java_library.mk Allow control of jack used for compilation 2015-10-21 17:22:05 +02:00
host_executable.mk Merge "Add HOST_CROSS_OS" 2015-09-09 18:13:21 +00:00
host_executable_internal.mk Merge "Add HOST_CROSS_OS" 2015-09-09 18:13:21 +00:00
host_fuzz_test.mk Add support of SANITIZE_TARGET='address coverage' for fuzzing. 2015-09-18 11:54:43 -07:00
host_java_library.mk Don't add dependencies on Makefiles when using ninja 2015-09-28 16:29:52 -07:00
host_java_library_common.mk [DO NOT MERGE] Compile using Jack. 2015-05-19 18:31:05 +02:00
host_native_test.mk
host_prebuilt.mk
host_shared_library.mk Merge "Add HOST_CROSS_OS" 2015-09-09 18:13:21 +00:00
host_shared_library_internal.mk Don't add dependencies on Makefiles when using ninja 2015-09-28 16:29:52 -07:00
host_shared_test_lib.mk
host_static_library.mk Merge "Add HOST_CROSS_OS" 2015-09-09 18:13:21 +00:00
host_static_library_internal.mk Fix LOCAL_MODULE_HOST_OS 2015-09-04 15:41:38 -07:00
host_static_test_lib.mk
host_test_internal.mk Link libgtest_main before libgtest 2015-09-25 16:11:31 -07:00
install_jni_libs.mk Don't extract jni from prebuilt apks. 2015-06-01 19:19:45 -07:00
install_jni_libs_internal.mk Use direct dependency on the JNI so files. 2015-10-15 17:50:06 -07:00
jack-default.args [DO NOT MERGE] Compile using Jack. 2015-05-19 18:31:05 +02:00
java.mk Use .KATI_RESTAT to reduce unnecessary rebuilds of .jar files 2015-11-30 11:16:23 -08:00
java_common.mk Set -bootclasspath to "" if LOCAL_NO_STANDARD_LIBRARIES 2015-12-07 18:50:34 -08:00
java_library.mk Remove changing uids/timestamps from zip/jar files 2015-11-02 14:51:54 -08:00
legacy_prebuilts.mk Remove old grandfathered ALL_PREBUILTS 2015-09-30 14:53:53 -07:00
LINUX_KERNEL_COPYING build: Add LINUX_KERNEL_COPYING license file 2015-11-09 02:27:01 +01:00
main.mk Prevent findleaves.py from traversing copies of $(OUT_DIR) 2015-11-19 18:31:29 +09:00
Makefile Make signapk use Conscrypt. 2015-12-11 08:36:42 -08:00
module_arch_supported.mk Add LOCAL_MODULE_HOST_OS 2015-09-03 16:40:51 -07:00
multi_prebuilt.mk
multilib.mk Add HOST_CROSS_OS 2015-09-09 18:12:29 +00:00
native_benchmark.mk Add libbenchmark's new dependency on libbase. 2015-05-13 13:47:30 -07:00
native_test.mk
ninja.mk Switch to using kati env script 2015-11-17 12:10:13 -08:00
node_fns.mk
notice_files.mk Add HOST_CROSS_OS 2015-09-09 18:12:29 +00:00
package.mk
package_internal.mk Do not run zipalign when building APK (except prebuilts). 2015-12-04 10:15:06 -08:00
pathmap.mk am 43bbbf8a: Merge "Remove more of the pathmap." 2015-09-24 21:59:58 +00:00
pdk_config.mk am edc3e6cd: Merge "Sort more instances of wildcard and find" 2015-09-30 23:44:10 +00:00
phony_package.mk Don't add dependencies on Makefiles when using ninja 2015-09-28 16:29:52 -07:00
post_clean.mk Do not update previous_XXX.mk when there is no change 2015-07-21 09:40:02 +09:00
prebuilt.mk Add HOST_CROSS_OS 2015-09-09 18:12:29 +00:00
prebuilt_internal.mk Do not run zipalign when building APK (except prebuilts). 2015-12-04 10:15:06 -08:00
process_wrapper.sh
process_wrapper_gdb.cmds
process_wrapper_gdb.sh
product-graph.mk Fix "make product-graph" and "make dump-products". 2015-10-28 16:49:44 -07:00
product.mk Merge "envsetup,product,ninja: enable symlink traversal" 2015-11-02 22:27:27 +00:00
product_config.mk Fix "make product-graph" and "make dump-products". 2015-10-28 16:49:44 -07:00
proguard.emma.flags
proguard.flags
proguard_basic_keeps.flags Keep Throwable's constructor that takes a String argument. 2015-05-11 14:56:20 -07:00
proguard_tests.flags
root.mk
sdk_font.mk Sort more instances of wildcard and find 2015-09-30 22:25:49 +00:00
setup_one_odex.mk
shared_library.mk Turn shared library multilib warnings into errors 2015-09-24 13:21:11 -07:00
shared_library_internal.mk Use libgcov OR libclang_rt.profile, not both. 2015-10-08 14:16:39 -07:00
shared_test_lib.mk
static_java_library.mk [DO NOT MERGE] Compile using Jack. 2015-05-19 18:31:05 +02:00
static_library.mk
static_library_internal.mk
static_test_lib.mk
target_test_internal.mk Link libgtest_main before libgtest 2015-09-25 16:11:31 -07:00
version_defaults.mk Bump Android to 6.0.1 am: 0a20c942c4 am: 1f9ba9f89e 2015-10-22 22:04:15 +00:00