diff options
author | David Sehr <sehr@google.com> | 2016-08-16 19:22:57 -0700 |
---|---|---|
committer | David Sehr <sehr@google.com> | 2016-08-30 09:32:49 -0700 |
commit | d106d9f871c957286ccdeb79c1c2a5ed41f859a6 (patch) | |
tree | dc61a7fd80e1289777f6a991102b0fe4a2ef032d /compiler/common_compiler_test.h | |
parent | 99fd9f39f2cd74864bdc750a3444ddd776da534c (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
Diffstat (limited to 'compiler/common_compiler_test.h')
0 files changed, 0 insertions, 0 deletions