News for hackers. Stuff that matters.
Re:The browser is the sandbox by nextaccountic on Monday January 26, 2026 @03:30AM (#46763158)
Unix permissions were written at a time where the (multi user) system was protecting itself from the user. Every program ran at the same privileges of the user, because it wasn't a security consideration that maybe the program doesn't do what the user thinks it does. That's why in the list of classic Unix tools there is nothing to sandbox programs or anything like that, it was a non issue

And today this is.. not sufficient. What we require today is to run software protected from each other. For quite some time I tried to use Unix permissions for this (one user per application I run), but it's totally unworkable. You need a capabilities model, not an user permission model

Anyway I already linked this elsewhere in this thread but in this comment it's a better fit https://xkcd.com/1200/

Re:The browser is the sandbox by theteapot on Monday January 26, 2026 @03:44AM (#46763248)
I feel like apparmor is getting there, very, very slowly. Just need every package to come with a declarative profile or fallback to a strict default profile.
Re:The browser is the sandbox by fsflover on Monday January 26, 2026 @03:33AM (#46763182)
This is why my daily driver is https://qubes-os.org
Re:The browser is the sandbox by curt15 on Monday January 26, 2026 @08:12AM (#46765226)
>And today this is.. not sufficient. What we require today is to run software protected from each other. For quite some time I tried to use Unix permissions for this (one user per application I run), but it's totally unworkable. You need a capabilities model, not an user permission model

Unix permissions remain a fundamental building block of Android's sandbox. Each app runs as its own unix user.

Re:The browser is the sandbox by surajrmal on Monday January 26, 2026 @08:50AM (#46765600)
Android sandboxing works in spite of the underlying security model, not because of it. It's also really selinux that does a lot of heavy lifting.
Re:The browser is the sandbox by goodthenandnow on Monday January 26, 2026 @09:17AM (#46765907)
Subthread from a while ago where I wrote some details on how Android sandboxing architecture uses Linux’s primitives: https://news.ycombinator.com/item?id=40676309
Re:The browser is the sandbox by nextaccountic on Tuesday January 27, 2026 @08:11PM (#46789695)
I really want a desktop distro that is based on Android but can run normal desktop apps, fully isolated by default

Can Binder run on desktop, with some non-mainline kernel? Is someone maintaining such kernel with up to date patches?

Re:The browser is the sandbox by nesarkvechnep on Monday January 26, 2026 @08:41AM (#46765517)
There's FreeBSD's Capsicum. It's a full-blown sandboxing mode and capability framework. Unfortunately, Linux didn't adopt it and chose chaos.
Re:The browser is the sandbox by mike_hearn on Monday January 26, 2026 @05:13PM (#46772326)
Yes but systemd is a full blown sandboxing system, and he said the two working in concert.