3 ms·
> Should anything at all run in the host OS? Isn't that equivalent to saying that the set of available kernel calls should be more restricted? (User mode is a
by amelius 9y ago
> Should anything at all run in the host OS?
Isn't that equivalent to saying that the set of available kernel calls should be more restricted?
(User mode is a kind of sandbox, after all)
- koolba 9y agoNot just the set of kernel calls but the scope of the calls themselves. A text editor should be able to fopen the file I’m editing but it doesn’t need to be able to access ~/Documents/top-secret.txt. You can do this type of thing with SELinux though I’ve yet to see it done in a user friendly way.
- tzahola 9y agoYou’re looking for capability-based systems.
- globuous 9y agoIt is my understanding that that's what Flatpak is trying to do: "One of Flatpak’s main goals is to increase the security of desktop systems by isolating applications from one another. [...] Limited syscalls. For instance, apps can’t use nonstandard network socket types or ptrace other processes. " [0] But as my other comment mentions [1], I wish I had the knowledge required to understand the meaning / implications of Flatpak apps. Please let me know if I'm misunderstanding :) Happy Saturday night y'all ! [0] http://docs.flatpak.org/en/latest/working-with-the-sandbox.html http://docs.flatpak.org/en/latest/working-with-the-sandbox.h... [1] https://news.ycombinator.com/item?id=16351192 https://news.ycombinator.com/item?id=16351192