aboutsummaryrefslogtreecommitdiffstats
path: root/updater
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2014-02-13 15:18:19 -0800
committerDoug Zongker <dougz@android.com>2014-02-13 15:18:19 -0800
commita1bc148c7c81f886426c253f2ea7beb0f301f6b0 (patch)
tree2ece82d93c5be1f793d8cf1d475dcd5d2cab442a /updater
parent52b4036eb820042d0309b32b579c52b63ca58b4d (diff)
downloadbootable_recovery-a1bc148c7c81f886426c253f2ea7beb0f301f6b0.zip
bootable_recovery-a1bc148c7c81f886426c253f2ea7beb0f301f6b0.tar.gz
bootable_recovery-a1bc148c7c81f886426c253f2ea7beb0f301f6b0.tar.bz2
remove 'retouch' ASLR support
Older versions of android supported an ASLR system where binaries were randomly twiddled at OTA install time. Remove support for this; we now use the ASLR support in the linux kernel. Change-Id: I8348eb0d6424692668dc1a00e2416fbef6c158a2
Diffstat (limited to 'updater')
-rw-r--r--updater/install.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/updater/install.c b/updater/install.c
index 2cf00bf..e85ba50 100644
--- a/updater/install.c
+++ b/updater/install.c
@@ -1419,7 +1419,7 @@ Value* ReadFileFn(const char* name, State* state, int argc, Expr* argv[]) {
v->type = VAL_BLOB;
FileContents fc;
- if (LoadFileContents(filename, &fc, RETOUCH_DONT_MASK) != 0) {
+ if (LoadFileContents(filename, &fc) != 0) {
free(filename);
v->size = -1;
v->data = NULL;