Generalized address-space isolation
Generalized address-space isolation
Posted Mar 4, 2022 9:00 UTC (Fri) by taladar (subscriber, #68407)Parent article: Generalized address-space isolation
While I agree that it would be a huge effort to properly mark everything in the kernel I feel the second half of this paragraph is too pessimistic. If there was a kernel codebase where this had already happened (or, say, a hypothetical rewrite where this was built in from the start) I think it would absolutely be possible to maintain this going forward, possibly with some tooling support.
This sounds like the kind of thing that might be a good candidate for a future Rust successor language with even more memory safety language support baked into the language. In this case annotating bits of data as sensitive and when it has to be mapped.
It sort of reminds me of the experiments in some languages for tainted data (Ruby comes to mind).
