News for hackers. Stuff that matters.
Re:Linux was created as a rejection of robust software archi... by 7373737373 on Monday November 16, 2026 @02:09AM (#50514900)
Yeah, currently popular languages don't have any separation, internal isolation, any way to limit or monitor authority (and use of that authority) to access and use resources at all. Programs usually have full ambient authority, meaning they can just name and use resources (importing libraries, stating file paths, ...) without restrictions.

Instead, (parts of) programs should be restricted to pure computation by denying any external resource access by default, unless explicitly approved, to the minimum they need (the principle of least authority).

See: https://en.wikipedia.org/wiki/E_(programming_language) or any of the languages listed here: https://en.wikipedia.org/wiki/Object-capability_model#Langua...

Having a microkernel OS isn't really sufficient if you want to "hollow out the attack surface", because many programs consist of hundreds of thousands of lines of code. So programs should be internally compartmentalizable as well. Only this, imported libraries being able to sandbox their imported libraries and so on recursively truly reduces the possible effects of exploits to a minimum.

Re:Linux was created as a rejection of robust software archi... by yjftsjthsd-h on Monday November 16, 2026 @02:15AM (#50514931)
Oh, you want an object-capability language; I didn't connect those dots. Yes, that would be an excellent compliment and now that you've spelled it out I can see the analogy.