News for hackers. Stuff that matters.
Re:Why are Apple Silicon VMs so different? by Erratic6576 on Friday December 29, 2023 @03:31PM (#38809859)
I wish every OS user logged in their isolated VM of the OS. This way, Adobe could install all their bloatware and take control of their user and I could keep ownership of my Apple’s computer
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.

Re:Why are Apple Silicon VMs so different? by curt15 on Friday December 29, 2023 @03:55PM (#38810092)
Isn't that roughly what Qubes OS provides?
Re:Why are Apple Silicon VMs so different? by deusum on Friday December 29, 2023 @04:36PM (#38810481)
Qubes does allow creating a VM for just about any program or service. But, in my experience, it suffers from latency. So, while fine for web browsing, it wasn't too keen on playing videos. YMMV of course, but Adobe products are already hogs without the emu layer.
Re:Why are Apple Silicon VMs so different? by rustcleaner on Saturday December 30, 2023 @12:27AM (#38813011)
I daily drive Qubes and will never go back to a normie system again if I can help it!!
Re:Why are Apple Silicon VMs so different? by fulafel on Saturday December 30, 2023 @04:02AM (#38813813)
Does it support macOS VMs?
Re:Why are Apple Silicon VMs so different? by jacquesm on Friday December 29, 2023 @06:30PM (#38811455)
> I could keep ownership of my Apple’s computer

That's a funny slip...

Re:Why are Apple Silicon VMs so different? by Erratic6576 on Saturday December 30, 2023 @09:21AM (#38815451)
Pun intended
Re:Why are Apple Silicon VMs so different? by GuB-42 on Friday December 29, 2023 @09:00PM (#38812251)
Essentially shipping an entire OS with every app looks horribly inefficient to me. Especially if the only thing you need is sandboxing.

Containers would be a more appropriate solution, and even containers would be somewhat overkill. Simply using UNIX-style permissions and an application-specific UID could do. I think it is how it is done in Android.