diff options
author | Hristo Bojinov <hristo@google.com> | 2010-08-02 10:29:49 -0700 |
---|---|---|
committer | Hristo Bojinov <hristo@google.com> | 2010-08-02 14:17:33 -0700 |
commit | db314d69f023d2a6c8956073aa9d283e20b280ef (patch) | |
tree | 8d076d8b94464e1173b2b5dbf3f2ee419a1d7fa9 /applypatch/main.c | |
parent | f635d2e91006028afa8b0fc53f80e5c157c495e6 (diff) | |
download | bootable_recovery-db314d69f023d2a6c8956073aa9d283e20b280ef.zip bootable_recovery-db314d69f023d2a6c8956073aa9d283e20b280ef.tar.gz bootable_recovery-db314d69f023d2a6c8956073aa9d283e20b280ef.tar.bz2 |
Working ASLR implementation
Separate files for retouch functionality are in minelf/*
ASLR for shared libraries is controlled by "-a" in ota_from_target_files.
Binary files are self-contained. Retouch logic can recover from crashes.
Signed-off-by: Hristo Bojinov <hristo@google.com>
Change-Id: I76c596abf4febd68c14f9d807ac62e8751e0b1bd
Diffstat (limited to 'applypatch/main.c')
-rw-r--r-- | applypatch/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applypatch/main.c b/applypatch/main.c index 3917f86..7025a2e 100644 --- a/applypatch/main.c +++ b/applypatch/main.c @@ -74,7 +74,7 @@ static int ParsePatchArgs(int argc, char** argv, (*patches)[i] = NULL; } else { FileContents fc; - if (LoadFileContents(colon, &fc) != 0) { + if (LoadFileContents(colon, &fc, RETOUCH_DONT_MASK) != 0) { goto abort; } (*patches)[i] = malloc(sizeof(Value)); |