Visva92 / seccompsandbox

Automatically exported from code.google.com/p/seccompsandbox
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

kMaxThreads=100 is rather low for Native Client #8

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The seccomp sandbox allocates per-thread data structures on startup,
so the maximum number of threads is fixed at startup.  This is set via
kMaxThreads, which is currently set to 100.

This is a bit low for Native Client.  Currently we support 8180
threads on Linux, 2556 on Mac OS X, and at least 900 on Windows (see
tests/egyptian_cotton/nacl.scons).  The maximum number of threads is
visible to untrusted code.  While we don't guarantee any number, 100
is a bit low compared with what we support currently.

See also issue 7.

Original issue reported on code.google.com by mseaborn@chromium.org on 1 Oct 2010 at 12:06