Closed
Description
In theory, at least on Linux, we can spawn the tasks without CLONE_VM
for a private address space (as in fork
). This would lay the groundwork for supporting sandboxing (seccomp, cgroups, namespaces) too.
I think this would be very useful for Servo, to sandbox spidermonkey. I don't know how viable this would be on other platforms where threads and processes aren't considered essentially the same thing by the kernel since it would likely be a huge hit to performance and memory usage.