by burnt-resistor · 2w ago · 0 comments
Another consideration is design: everything having access to everything as a monolithic kernel running in a privileged execution environment (ring 0) is an inherently unsafe and insecure design, however it offers apparent simplicity compared hybrid microkernels that have to coordinate messy transactions across multiple areas of responsibility and organize the exposure/control of particular data and operations that would otherwise be exposed in a monolith.
My 2 centidollars: I think it can be fixed with a different, mostly-compatible approach. A basic kernel should be shrunk to include as little as possible and formally prove that (under all combinations of configuration options that change it). Then, almost all functionality should be loaded as a module with an accompanying allowlist metadata of granted functions/data structures. On top of that, modules should be thoroughly testable and also provably correct.
No comments yet.