commit | d106d9f871c957286ccdeb79c1c2a5ed41f859a6 | [log] [tgz] |
---|---|---|
author | David Sehr <sehr@google.com> | Tue Aug 16 19:22:57 2016 -0700 |
committer | David Sehr <sehr@google.com> | Tue Aug 30 09:32:49 2016 -0700 |
tree | dc61a7fd80e1289777f6a991102b0fe4a2ef032d | |
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