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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



(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/
_______________________________________________
Containers mailing list
Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/containers



[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux