logoalt Hacker News

7373737373 • today at 4:44 AM • 1 reply • view on HN

That most of the Linux kernel runs in https://en.wikipedia.org/wiki/Protection_ring 0 should have stopped decades ago

Perhaps processor architectures like the https://en.wikipedia.org/wiki/Intel_iAPX_432 which do away with such coarse grained and therefore dangerous abstractions by using capability-based addressing should have succeeded earlier too. This is how modern programming languages should be structured too, instead of giving no guarantees to programmers (and therefore their users) about what (parts of) programs are able to access like they do now.


Replies

yjftsjthsd-h • today at 4:55 AM

> That most of the Linux kernel runs in https://en.wikipedia.org/wiki/Protection_ring 0 should have stopped decades ago

Do you have a way to do it on the hardware people actually have that doesn't destroy performance every time the CPU context switches? You can always move all your filesystems to FUSE if you like the performance...

➕ show 1 reply