commit | 23bbbaeda1cc469b323969e97e23775c39d0a462 | [log] [tgz] |
---|---|---|
author | Dan Albert <danalbert@google.com> | Mon Mar 14 16:46:13 2016 -0700 |
committer | Dan Albert <danalbert@google.com> | Mon Mar 14 16:46:13 2016 -0700 |
tree | 901dde0af4df8a60d7fad73fd3269a1a74c0c41d | |
parent | 4612848f6fe464e94f5343b53ab1df30ba619288 [diff] |
Update to a fixed asan_device_setup. 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
diff --git a/clang-2481030/bin/asan_device_setup b/clang-2481030/bin/asan_device_setup index 6f038ae..6cb7b94 100755 --- a/clang-2481030/bin/asan_device_setup +++ b/clang-2481030/bin/asan_device_setup
@@ -281,6 +281,7 @@ 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 @@ 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