News for hackers. Stuff that matters.
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
Re:The 3.9 kernel is out by gioele on Monday April 29, 2013 @06:45AM (#5625265)
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.
Re:The 3.9 kernel is out by girvo on Monday April 29, 2013 @06:46AM (#5625272)
That... Would make sense then. Now I feel stupid ;)
Re:The 3.9 kernel is out by Zigurd on Monday April 29, 2013 @09:35AM (#5626008)
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.

Re:The 3.9 kernel is out by shykes on Monday April 29, 2013 @12:17PM (#5627076)
Here's one use case: http://docker.io