Re:The 3.9 kernel is out
by girvo on Monday April 29, 2013 @06:28AM
(#5625187)
I'm quite interested in the user namespaces feature, but can't come up with any use cases for myself other than say sandboxing (sort of) applications. Can anyone explain it a bit better? The lwn article is a bit heavy going
[ Parent
| on HN ]
What about this other LWN article "A new approach to user namespaces": https://lwn.net/Articles/491310/ ?
> It allows for applications with no capabilities to use multiple uids and to implement privilege separation. I certainly see user namespaces like this as having the potential to make linux systems more secure.
Re:The 3.9 kernel is out
by FooBarWidget on Monday April 29, 2013 @06:39AM
(#5625239)
It was primarily designed for sandboxing, so it's not strange that you cannot come up with other use cases.
That... Would make sense then. Now I feel stupid ;)
I don't know enough about the feature to say if it is applicable directly, but Android uses uid/gid to create sandboxes on a per-publisher basis, so that installed apps do not have access to other publishers' apps' files.
This can be used in two ways: Application security, in general, would benefit from this practice, and if you are creating a Linux that can be both a traditional "desktop Linux" as well as running the Android environment, this is a useful feature for enabling Android app security to remain secure, which it wouldn't if you did user namespace separation merely by convention.
Here's one use case: http://docker.io