2 ms·
What we need is the equivalent of inter process isolation for intraprocess sandboxes, i.e. an hardware solution (hopefully this time not affected by Meltdown).
by gpderetta 8y ago
What we need is the equivalent of inter process isolation for intraprocess sandboxes, i.e. an hardware solution (hopefully this time not affected by Meltdown).
And we might already have it. Thanks to virtualization hardware, it should be possible for a process to own and handle its own private page table mapping completely from userspace [1].
Switching from the sandboxed code to the sandboxing code might be more expensive than a plain function call, but still way faster than IPC.
[1] For example, libDune (https://github.com/ramonza/dune https://github.com/ramonza/dune), which admittedly seems a dead project. Also it requires OS support.