Subject: Re: [ABI REVIEW][PATCH 0/8] Namespace file descriptors

From: "Rémi Denis-Courmont" <[email-masked]>
Date: Wed, 29 Sep 2010 06:09:33 +0300

(Trimming To/Cc heavily)

   Hello,

On Thursday 23 September 2010, Eric W. Biederman wrote:
> Introduce file for manipulating namespaces and related syscalls.
> files:
> /proc/self/ns/<nstype>
> 
> syscalls:
> int setns(unsigned long nstype, int fd);
> socketat(int nsfd, int family, int type, int protocol);
> 
> Netlink attribute:
> IFLA_NS_FD int fd.

I have not reviewed the code, but that seems quite nice. At Nokia, we already 
use network namespaces to implement the Multimedia Message Service. 
Inconveniently enough, that is HTTP/TCP/IP in a dedicated IP namespace. 
Similarly, I expect this could be useful to implement the IMS, if/when mobile 
operators start using it (that does not mean Nokia will or will not do it).

Using netns, we avoided overlapping with the normal Internet connectivity. 
setns() would be much more convenient than fork()+unshare().

-- 
Rémi Denis-Courmont
http://www.remlab.net/