Stop base::OpenFile from leaking fds/handles into child procs.

BUG=688362
TEST=New FileUtilTest.OpenFileNoInheritance fails with previous impl, passes with new impl.

Review-Url: https://codereview.chromium.org/2687713003
Cr-Commit-Position: refs/heads/master@{#449999}


CrOS-Libchrome-Original-Commit: d0bc44fa24fba9f483aaddae8e2c29df3524a5d6
3 files changed
tree: e95625c91935a159881b3dea2731fe1ed0ce3fed
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/