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