No description
Find a file
Jiyong Park faefa6bd36 fix: boot fails on ASAN builds with VNDK restriction
Fix the bug that caused boot failure on ASAN builds with VNDK
restriciton. The major cause is because incorrect (old) ld.config.txt
was used when the build is sanitized, which prevented the dynamic linker
to find some VNDK libs that only exist in /system/lib/vndk; the old
ld.config.txt does not have the directory in its search paths. So, this
CL fixes the problem by having the same ld.config.txt for both sanitized
and non-sanitizied builds.

Furthermore, ld.config.txt is modified so that dependency to
libclang_rt* libs are redirected to those in /system/lib directory. This
ensures that the sanitizer runtime libs are not dual loaded but are
provided for both platform and vendors.

Bug: 65217017
Test: SANITIZE_TARGET=integer_overflow SANITIZE_TARGET_DIAG=integer_overflow m
on 2017 pixel devices. The build is successful and the device boots to
the UI.

Change-Id: I0e21e20d9aca340b984968e07d4ce542ae10fd31
2017-09-01 07:53:56 +09:00
adb adbd: don't spin if file sync read fails. 2017-08-29 18:54:19 +00:00
adf libadfhwc: Fix adf_hwc_close 2017-03-02 17:40:16 +00:00
base Mark the modules as VNDK-SP in Android.bp 2017-07-31 23:37:32 +00:00
bootstat bootstat: Log even more boot reasons. 2017-07-28 14:50:16 -07:00
cpio Possible null pointer miss on realloc 2017-03-23 22:41:14 +01:00
debuggerd debuggerd_handler: print pid and process name. 2017-08-14 18:06:26 +00:00
demangle Mark libdemangle as vendor_available. 2017-06-20 20:29:57 +00:00
fastboot Merge "fastboot: bail out if failed to generate fs image" into oc-mr1-dev 2017-08-23 23:28:14 +00:00
fs_mgr Allow the use of a custom Android DT directory 2017-07-31 15:27:09 -07:00
gatekeeperd gatekeeperd: use std::unique_ptr 2017-08-17 14:58:23 +09:00
healthd resolve merge conflicts of 74a5f22d9 to oc-dr1-dev-plus-aosp 2017-07-19 18:25:51 -07:00
include Move android_filesystem_config.h => fs_config.h 2017-08-03 17:20:27 +00:00
init Fix use-after-free of stack-allocated temporary string. 2017-08-21 15:54:43 -07:00
libappfuse Remove ScopedLogSeverity for debugging 2017-07-14 16:44:16 +09:00
libbacktrace Mark the modules as VNDK-SP in Android.bp 2017-07-31 23:37:32 +00:00
libbinderwrapper libbinderwrapper: Android.mk -> Android.bp 2017-04-25 15:55:26 -07:00
libcrypto_utils Mark the modules as VNDK in Android.bp 2017-08-03 06:43:23 +00:00
libcutils Merge "Move android_filesystem_config.h => fs_config.h" into oc-mr1-dev 2017-08-03 22:53:07 +00:00
libdiskconfig Mark the modules as VNDK in Android.bp 2017-08-03 06:43:23 +00:00
libgrallocusage Mark libgrallocusage as vendor_available 2017-05-04 12:25:43 +09:00
libion Mark the modules as VNDK-SP in Android.bp 2017-07-31 23:37:32 +00:00
libkeyutils Add libkeyutils. 2017-05-10 14:53:28 -07:00
liblog Reading from logd in WRAP mode is expected to take a long time, 2017-08-25 18:21:36 +01:00
libmemtrack Mark libmemtrack as VNDK in Android.bp 2017-08-03 15:49:19 +09:00
libmemunreachable Merge "libmemunreachable: track kernel binder references" 2017-07-13 19:41:26 +00:00
libmetricslogger Revert "Mark libmetricslogger vendor_available." 2017-07-17 19:33:17 +00:00
libnativebridge Move libnativebridge headers into the module. 2017-07-06 11:23:16 -07:00
libnativeloader system/core: use proper nativehelper headers 2017-07-18 17:03:20 -07:00
libnetutils Mark the modules as VNDK in Android.bp 2017-08-03 06:43:23 +00:00
libpackagelistparser liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
libpixelflinger Va_end should be used with va_start 2017-03-23 22:41:42 +01:00
libprocessgroup Add memcg related configs to init. 2017-07-18 15:58:40 -07:00
libprocinfo Mark the modules as VNDK in Android.bp 2017-08-03 06:43:23 +00:00
libsparse Merge "libsparse: Fix odd-sized input files total_blks" am: 652ce94f40 am: ab74c778df 2017-04-19 19:26:27 +00:00
libsuspend Mark the modules as VNDK in Android.bp 2017-08-03 06:43:23 +00:00
libsync Mark libsync as LL-NDK 2017-08-14 15:28:11 +09:00
libsystem fix circular dependency libnativewindow <-> libui 2017-05-09 15:15:50 -07:00
libsysutils Mark the modules as VNDK in Android.bp 2017-08-03 06:43:23 +00:00
libunwindstack Speed up StepIfSignalHandler path. 2017-07-19 21:35:46 +00:00
libusbhost Mark the modules as VNDK in Android.bp 2017-08-03 06:43:23 +00:00
libutils Mark the modules as VNDK-SP in Android.bp 2017-07-31 23:37:32 +00:00
libvndksupport Make libvndksupport look for default namespace as well. 2017-08-18 15:20:20 +09:00
libziparchive zip_archive: reject files that don't start with an LFH signature. 2017-08-15 13:44:05 +01:00
lmkd Detect critical preassure 2017-08-25 19:01:54 -07:00
logcat logcat: Add missing newline to read failure 2017-07-08 17:51:27 +02:00
logd Decrease size of LogBufferElements to 32 bytes. 2017-08-15 13:03:13 -07:00
logwrapper Merge "logwrapper: add a benchmark for android_fork_execvp_ext" 2017-03-23 11:56:10 +00:00
mkbootimg mkbootimg: use int for os_version and os_patch_level 2016-03-29 16:06:37 -07:00
qemu_pipe Mark libqemu_pipe vendor_available 2017-06-08 14:16:11 -07:00
reboot Convert more Android.mk files to Android.bp 2016-07-13 17:41:45 -07:00
rootdir fix: boot fails on ASAN builds with VNDK restriction 2017-09-01 07:53:56 +09:00
run-as Define range of GIDs for cached app data. 2016-12-13 13:28:08 -07:00
sdcard Make sdcardfs the default 2017-03-20 13:11:10 -07:00
shell_and_utilities Remove reference to deleted gzip module 2017-07-06 22:33:22 +00:00
storaged storaged: call getNamesForUids to get uid names 2017-08-08 20:59:03 +00:00
toolbox Add building and installing of grep for vendor. 2017-06-19 13:12:37 -07:00
trusty Move trusty reference implementations to /vendor 2017-08-22 11:23:45 +08:00
.clang-format Add a 2 width option of clang format. 2017-03-10 13:01:39 -08:00
.clang-format-2 Only allow short functions in class definitions. 2017-03-28 12:31:37 -07:00
.clang-format-4 Only allow short functions in class definitions. 2017-03-28 12:31:37 -07:00
.gitignore Ignore adb/*.pyc files 2015-08-11 12:59:58 -07:00
Android.bp Export android_filesystem_config.h as a filegroup 2017-01-17 18:20:28 -08:00
Android.mk
CleanSpec.mk Move trusty reference implementations to /vendor 2017-08-22 11:23:45 +08:00
MODULE_LICENSE_APACHE2
NOTICE
platform_tools_tool_version.mk Fix warning on the build servers 2017-05-25 12:35:40 -07:00
PREUPLOAD.cfg Add a PREUPLOAD.cfg file to run git-clang-format on every commit 2017-03-08 16:51:26 +08:00