commit | aebec0b4680564dfd5184cb288c07a2fd0ca50bd | [log] [tgz] |
---|---|---|
author | thomasanderson <thomasanderson@google.com> | Wed Apr 26 08:50:15 2017 |
committer | Commit bot <commit-bot@chromium.org> | Wed Apr 26 08:50:15 2017 |
tree | 817d242660eb6e95c4fbe8cf9338e4df677eeed2 | |
parent | 3cba6ce1c4b98fb56f02556984813be8697b7729 [diff] |
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-Commit-Position: refs/heads/master@{#467271}