commit | 0e4a2f0d6b526d398b71a54395c3071a8e78e503 | [log] [tgz] |
---|---|---|
author | David Sehr <sehr@google.com> | Tue Aug 16 19:22:57 2016 -0700 |
committer | David Sehr <sehr@google.com> | Wed Aug 31 09:15:39 2016 -0700 |
tree | 04cb38a362b271515ee3efeb5a88fe98e87af92f | |
parent | 91373ca410bc36762c3c839ae11b0e2b67300e53 [diff] |
Save environment snapshot and use at fork/exec Some applications may inadvertently or maliciously set of environment variables such as LD_LIBRARY_PATH before spawning subprocesses. To make this more difficult, save the environment at the time the runtime starts and use the saved copy anytime Exec is called. BUG: 30160149 TEST: make test-art-{host,target} Change-Id: I887b78bdb21ab20855636a96da14a74c767bbfef (cherry picked from commit d106d9f871c957286ccdeb79c1c2a5ed41f859a6)