aboutsummaryrefslogtreecommitdiffstats
path: root/applypatch/applypatch.h
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 /applypatch/applypatch.h
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 'applypatch/applypatch.h')
-rw-r--r--applypatch/applypatch.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/applypatch/applypatch.h b/applypatch/applypatch.h
index f1f13a1..ee54c24 100644
--- a/applypatch/applypatch.h
+++ b/applypatch/applypatch.h
@@ -19,7 +19,6 @@
#include <sys/stat.h>
#include "mincrypt/sha.h"
-#include "minelf/Retouch.h"
#include "edify/expr.h"
typedef struct _Patch {
@@ -61,8 +60,7 @@ int applypatch_check(const char* filename,
int num_patches,
char** const patch_sha1_str);
-int LoadFileContents(const char* filename, FileContents* file,
- int retouch_flag);
+int LoadFileContents(const char* filename, FileContents* file);
int SaveFileContents(const char* filename, const FileContents* file);
void FreeFileContents(FileContents* file);
int FindMatchingPatch(uint8_t* sha1, char* const * const patch_sha1_str,