aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2016-03-14 16:46:13 -0700
committerDan Albert <danalbert@google.com>2016-03-14 16:46:13 -0700
commit23bbbaeda1cc469b323969e97e23775c39d0a462 (patch)
tree901dde0af4df8a60d7fad73fd3269a1a74c0c41d
parent4612848f6fe464e94f5343b53ab1df30ba619288 (diff)
downloadlinux-x86-ndk-r11-release.tar.gz
Update to a fixed asan_device_setup.ndk-r11cndk-r11bndk-r11-release
Change is this fix: https://github.com/llvm-mirror/compiler-rt/commit/bd58cbc2f3708fdd1de35b2d09b4ec648829a9a5. Without that patch, KitKat devices will not be able to boot because of selinux denials. Bug: https://github.com/android-ndk/ndk/issues/6 Change-Id: I21bc6e203308b9fcae91a3285d814d96bf466546
-rwxr-xr-xclang-2481030/bin/asan_device_setup2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang-2481030/bin/asan_device_setup b/clang-2481030/bin/asan_device_setup
index 6f038aec0..6cb7b94c2 100755
--- a/clang-2481030/bin/asan_device_setup
+++ b/clang-2481030/bin/asan_device_setup
@@ -281,6 +281,7 @@ if [[ -n "$ASAN_RT64" ]]; then
adb_pull /system/bin/asanwrapper64 "$TMPDIROLD" || true
else
adb_pull /system/lib/"$ASAN_RT" "$TMPDIROLD" || true
+ adb_pull /system/bin/app_process32 "$TMPDIROLD" || true
adb_pull /system/bin/app_process.wrap "$TMPDIROLD" || true
adb_pull /system/bin/asanwrapper "$TMPDIROLD" || true
fi
@@ -406,6 +407,7 @@ if ! ( cd "$TMPDIRBASE" && diff -qr old/ new/ ) ; then
install "$TMPDIR/asanwrapper64" /system/bin 755
else
install "$TMPDIR/$ASAN_RT" /system/lib 644
+ install "$TMPDIR/app_process32" /system/bin 755 $CTX
install "$TMPDIR/app_process.wrap" /system/bin 755 $CTX
install "$TMPDIR/asanwrapper" /system/bin 755 $CTX