[Devel] Re: [ABI REVIEW][PATCH 0/8] Namespace file descriptors
remi at remlab.net
Tue Sep 28 20:11:54 PDT 2010
(Trimming To/Cc heavily)
On Thursday 23 September 2010, Eric W. Biederman wrote:
> Introduce file for manipulating namespaces and related 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().
Containers mailing list
Containers at lists.linux-foundation.org
More information about the Devel