[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87d3whb4jr.fsf@caffeine.danplanet.com>
Date: Thu, 27 May 2010 11:08:56 -0700
From: Dan Smith <danms@...ibm.com>
To: MartÃn Ferrari <martin.ferrari@...il.com>
Cc: netdev <netdev@...r.kernel.org>,
Mathieu Lacage <mathieu.lacage@...hia.inria.fr>
Subject: Re: Question about netns & AF_UNIX
MF> I seem to recall being able to use AF_UNIX sockets across network name
MF> spaces, but I cannot reproduce that with a current kernel. Probably my
MF> test was fubar (I've lost the script).
If you are in different network namespaces, the binding of UNIX
sockets is also kept separate. Even though the filesystem is shared,
this seems to make the most sense to me. Named pipes on the
filesystem would still be shared, by the way.
MF> I also wonder if filedescriptor passing thru ancilliary messages will
MF> work (that is, with unix sockets that I've created before the netns
MF> change).
I think that will work, as will binding a socket and then doing a
setns().
--
Dan Smith
IBM Linux Technology Center
email: danms@...ibm.com
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists