Skip to content

investigate sandboxing for tasks on Linux (and maybe other platforms) #6811

Closed
@thestinger

Description

@thestinger

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-hardCall for participation: Hard difficulty. Experience needed to fix: A lot.O-linuxOperating system: Linux

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions