diff options
author | Dave Platt <dplatt@google.com> | 2014-02-05 17:06:42 -0800 |
---|---|---|
committer | Dave Platt <dplatt@google.com> | 2014-02-06 13:24:38 -0800 |
commit | 89d4c897a0e1bc06688bcb1fd39913ece81fe05f (patch) | |
tree | db0f9ae9a706d1aae9bf708d06b5202c6d274049 /rs/java/android/renderscript/RenderScript.java | |
parent | f5294ed57cf388973a1db29b062b1577966f90d1 (diff) |
Finish fixing Zygote descriptor leakage problem
In order to prevent Zygote descriptors from leaking into the child
environment, they should be closed by the forked-off child process
before the child switches to the application UID. These changes close
the descriptors via dup2(), substituting a descriptor open to
/dev/null in their place; this allows the Zygote Java code to close
the FileDescriptor objects cleanly.
This is a multi-project change: dalvik, art, libcore, frameworks/base,
and external/sepolicy are affected. The CLs need to be approved
together, lest the build break or the software fail to boot.
Round 2: indent change
Bug: 12114500
Change-Id: I090402136a8a8b7d6aad6eb153026e85d7cf6ad3
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions