diff options
| author | 2016-08-16 19:22:57 -0700 | |
|---|---|---|
| committer | 2016-08-31 09:15:39 -0700 | |
| commit | 0e4a2f0d6b526d398b71a54395c3071a8e78e503 (patch) | |
| tree | 04cb38a362b271515ee3efeb5a88fe98e87af92f /compiler/utils/string_reference_test.cc | |
| 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)
Diffstat (limited to 'compiler/utils/string_reference_test.cc')
0 files changed, 0 insertions, 0 deletions