commit | 1488ff8aa3b041734ef0fbd113df512a2376e44e | [log] [tgz] |
---|---|---|
author | David Sehr <sehr@google.com> | Tue Aug 16 19:22:57 2016 -0700 |
committer | David Sehr <sehr@google.com> | Thu Aug 18 11:30:27 2016 -0700 |
tree | f56a2046aa03cd5ff2c637cb3e4c77c371ac23ef | |
parent | b6f58cbfad5bb39d481d2986b2a8792bb42f65e7 [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=b/30160149 TEST=make test-art-{host,target}-gtest-utils_test Change-Id: Ice0097bf0de30db3d4ead124caf93316f39e3df3