From mboxrd@z Thu Jan 1 00:00:00 1970 From: "=?iso-8859-1?q?R=E9mi?= Denis-Courmont" Subject: Re: [ABI REVIEW][PATCH 0/8] Namespace file descriptors Date: Wed, 29 Sep 2010 06:09:33 +0300 Message-ID: <201009290609.33773.remi@remlab.net> References: Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: Sender: netdev-owner@vger.kernel.org To: "Eric W. Biederman" , Linux Containers Cc: netdev@vger.kernel.org List-Id: containers.vger.kernel.org (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/ >=20 > syscalls: > int setns(unsigned long nstype, int fd); > socketat(int nsfd, int family, int type, int protocol); >=20 > Netlink attribute: > IFLA_NS_FD int fd. I have not reviewed the code, but that seems quite nice. At Nokia, we a= lready=20 use network namespaces to implement the Multimedia Message Service.=20 Inconveniently enough, that is HTTP/TCP/IP in a dedicated IP namespace.= =20 Similarly, I expect this could be useful to implement the IMS, if/when = mobile=20 operators start using it (that does not mean Nokia will or will not do = it). Using netns, we avoided overlapping with the normal Internet connectivi= ty.=20 setns() would be much more convenient than fork()+unshare(). --=20 R=E9mi Denis-Courmont http://www.remlab.net/