Application isolation
Application isolation
Posted Aug 21, 2018 14:48 UTC (Tue) by tux3 (subscriber, #101245)In reply to: Application isolation by astian
Parent article: Flatpak 1.0 released
As far as I can tell, as of today their sandbox seems perfectly functional, but if there's some fine print hidden somewhere I'd love to take a look at it!
Here's their wiki that I've only quickly glossed over: https://github.com/flatpak/flatpak/wiki/Sandbox
Posted Aug 21, 2018 22:43 UTC (Tue)
by smcv (subscriber, #53363)
[Link] (4 responses)
The fine print is that to let an app do useful things (draw a window, play sounds, contact network services, load and save per-user preferences, etc.) it needs to have some permissions (gaps in the sandbox boundary), and at the moment many of those permissions are more coarse-grained than you might hope: for example, access to PulseAudio is currently a binary yes/no choice per app, and there's no way to say "this app can play sounds, but can't use PulseAudio's shared-memory transport, and can't record". This should get better with continued development, partly in Flatpak itself and partly in other projects adjacent to it.
Posted Aug 22, 2018 10:05 UTC (Wed)
by darwish (guest, #102479)
[Link] (2 responses)
This was initially going to be solved by adding Access Control support to PulseAudio, along with lots of PA code re-design to guarantee real isolation:
https://www.freedesktop.org/wiki/Software/PulseAudio/Docu...
AFAIK Fedora merged these Access Control patches on their own, but as seen above they are definitely not enough. The tide now is go with PipeWire since it's careful to solve this problem correctly from the start.
Posted Aug 22, 2018 14:02 UTC (Wed)
by kloczek (guest, #6391)
[Link] (1 responses)
Posted Aug 22, 2018 17:41 UTC (Wed)
by zlynx (guest, #2285)
[Link]
In the past before ALSA with OSS audio there were horrible library hacks to intercept open(), read(), write(), ioctl() calls to audio devices so that kernel behavior could be modified. There are *reasons* why things are now in userspace.
Posted Aug 22, 2018 19:57 UTC (Wed)
by astian (guest, #118981)
[Link]
Application isolation
Application isolation - PA
https://lists.freedesktop.org/archives/pulseaudio-discuss...
Application isolation - PA
Application isolation - PA
Application isolation
