Build ForkWithFlags and part of NamespaceSandbox under nonsfi newlib.

These functions are needed for enabling separate PID namespaces for
nonsfi newlib NaCl processes.

This change is an adaptation of hidehiko@'s
https://codereview.chromium.org/1161933003/ with some additional
functions from NamespaceSandbox added.

BUG=460972

Review URL: https://codereview.chromium.org/1176413003

Cr-Commit-Position: refs/heads/master@{#335175}


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