News for hackers. Stuff that matters.
Re:Why are Apple Silicon VMs so different? by jdewerd on Friday December 29, 2023 @04:08PM (#38810203)
What's sad is that processes are already virtual machines, they just need to have a better permissions system. What's really sad is that for the most part those better permissions systems have been built (namespaces/cgroups on linux, gatekeeper on Mac OS) but nobody figured out how to expose that to end users before the business people figured out that there were trillions of dollars available if you charged rent to centrally manage it.

We were so close. Sigh.

Re:Why are Apple Silicon VMs so different? by lox on Friday December 29, 2023 @04:37PM (#38810505)
Is this not essentially what docker did with cgroups? It’s incredibly tricky securing containers, I’m not at all confident process only sandboxes would be adequate.
Re:Why are Apple Silicon VMs so different? by xorcist on Friday December 29, 2023 @07:41PM (#38811861)
Docker makes it really hard to do anything with cgroups. Unless you mean letting Docker manage everything about them, in which case you can configure nothing.

Systemd did the cgroups thing right. Apart from the v1/v2 thing, but if you can use only v2 then you do not need to think about it.

Re:Why are Apple Silicon VMs so different? by theossuary on Friday December 29, 2023 @04:44PM (#38810569)
There's a big difference between securing containers, and using them to prevent Adobe from polluting they entire system. Containers are an excellent way to provide lower guarantees of security (though still more than is there currently), with higher usability. Microvms also fit into the model very cleanly and could be used transparently when higher security was required.

The fact that VMs are necessary has shown how much OSes have failed. That we need to take an OS and package it into multiple VMs to get any real isolation is a problem that OSes should solve for.

Re:Why are Apple Silicon VMs so different? by PaulDavisThe1st on Friday December 29, 2023 @06:11PM (#38811330)
> The fact that VMs are necessary has shown how much OSes have failed.

The fact that VMs exist at all shows how much OSes have succeeded.