Linux sandbox: handle ENOSPC clone failure

Linux 4.9 adds /proc/sys/user/max_user_namespaces to limit the number
of concurrent user namespaces.  Sometimes the limit is set to 0 in
which case clone() will return ENOSPC.  This CL avoids PCHECK()ing in
that case.

BUG=715138
R=mdempsky@chromium.org

Review-Url: https://codereview.chromium.org/2842033002
Cr-Original-Commit-Position: refs/heads/master@{#467271}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: aebec0b4680564dfd5184cb288c07a2fd0ca50bd
1 file changed
tree: 92fc7c5fa10f2ffa02ba9870a08e2af4f6774a07
  1. linux/
  2. mac/
  3. win/
  4. BUILD.gn
  5. features.gni
  6. OWNERS
  7. sandbox_export.h