News for hackers. Stuff that matters.
Re:Classic Usenet posts on computer architecture, operating ... by Veserv on Sunday May 19, 2024 @02:56AM (#40404805)
It is not even that. All you need is the program to present a “understandable” manifest of its requirements and you can choose to accept or deny. Standardized sandboxs just facilitate ease of use and analysis, and enable application developers to target easy-to-understand security models.

The problem with the post is that it assumes that the most important thing is making sure that all non-malicious programs run no matter how convoluted. It is the same thought process that makes people say nonsense like formal methods are impossible due to the halting problem. No, we can just reject unless you make it easy to analyze; halting problem averted.

Re:Classic Usenet posts on computer architecture, operating ... by quotemstr on Sunday May 19, 2024 @03:04AM (#40404844)
> It is not even that. All you need is the program to present a “understandable” manifest of its requirements and you can choose to accept or deny.

Sure. And if these understandable manifests contain requests only from a predefined set that the system provides, we call these requests "permissions" in the iOS and Android sense. You don't get to request arbitrary things and ask the user to approve them.

> The problem with the post is that it assumes that the most important thing is making sure that all non-malicious programs run no matter how convoluted

Agreed.

> No, we can just reject unless you make it easy to analyze; halting problem averted

Yes, and it's this idea that makes minimalism essential in OS design. The narrower your contract, the more flexibility you have to change your implementation.

Re:Classic Usenet posts on computer architecture, operating ... by Veserv on Sunday May 19, 2024 @03:38AM (#40405039)
Agreed. It was unclear from your original post if you were talking about coarse-grained sandboxs or more fine-grained systems.

To clarify, a system that defines coarse classes of sandboxs could declare a class of sandbox for non-networked applications, a sandbox for games, a sandbox for applications with storage exclusively for configuration data, etc. Such a system is different in many respects from a system that defines relatively fine-grained composable requirements. Obviously, a fine-grained system could be composed to present a model at the coarse abstraction level, but the way you target a application differs based on what abstraction level you are targeting.

Re:Classic Usenet posts on computer architecture, operating ... by immibis on Sunday May 19, 2024 @05:35AM (#40405608)
Okay, then every program demands every permission. Your choice is to let the program use your camera or to not use the program. And some of these programs are probably very important for your livelihood, so we know what the outcome is going to be.
Re:Classic Usenet posts on computer architecture, operating ... by aeonik on Sunday May 19, 2024 @08:36AM (#40406549)
I miss rooting my Android phone and spoofing access to the GPS or camera.

I could pipe arbitrary bits to any application.