3 ms·
This is doubling down on the mistake of .NET, it won't end well. We need a microkernel based OS that uses hardware protection to keep all the user code well co
by mikewarot 5y ago
This is doubling down on the mistake of .NET, it won't end well.
We need a microkernel based OS that uses hardware protection to keep all the user code well contained. We need a default assumption of NO when it comes to access to resources, instead using capabilities and powerboxes.
What happens if actual native code gets run somehow by a user processes in this system? The system is owned, instantly. There's no secondary layers of protection at all. It's like counting on a single cable to support a bridge.
- jml7c5 5y ago>We need a microkernel based OS that uses hardware protection to keep all the user code well contained. We need a default assumption of NO when it comes to access to resources, instead using capabilities and powerboxes. Does Zircon/Fuschia fit the bill at all? https://fuchsia.dev/fuchsia-src/get-started/learn/intro/zircon https://fuchsia.dev/fuchsia-src/get-started/learn/intro/zirc...
- 13of40 5y ago> it won't end well Per the article, it ended in 2008. Beyond that, there are probably dozens of embedded systems I interact with every day where I would choose performance over the level of security you're suggesting. Beyond even that, I lived through an era of multi-process machines before MMUs were ubiquitous, and the main problem wasn't that malware had root access, it was that poorly written code would corrupt the memory of other processes and the OS, which this system solves.
- mikewarot 5y agoHow does this solve it? If native malicious code gets executed, there is NO backstop what so ever.
- 13of40 5y agoUnless there's a bug in the JIT compiler, managed code can't accidentally write into another process's memory or jump to an arbitrary address, meaning that when an application goes off the rails it only crashes itself.
- mikewarot 5y agoCan we agree that IF there is a bug in the compiler, THEN the system will be compromised?