commit | 10f2aed9c02d8ca7d89985037d159b2a9cf12dbe | [log] [tgz] |
---|---|---|
author | Evgenii Stepanov <eugenis@google.com> | Fri Aug 07 17:04:37 2015 -0700 |
committer | Evgenii Stepanov <eugenis@google.com> | Mon Aug 10 11:30:54 2015 -0700 |
tree | 56beece456ff0359a53e790193d2ee684a7a298c | |
parent | 4e49592fdc6dd5f115aeb56feef55535d13f37a8 [diff] |
Read global ASAN_OPTIONS from a file. Instead of setting global ASAN_OPTIONS in immutable init.environ.rc, load them from a file that can be changed later. The file has to be on the /system partition to both be editable and available at the early stages of boot. Also add allocator_may_return_null=1 as that is closer to the non-ASan allocator behavior. Bug: 22846541 Change-Id: Ib0f41393c528f2e7cb398470e41f50abf5f4f455