lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CADDf=MR9e8rRF-bebju2uw0JijkqKepWmjrOvSKvW0OT=C0EDg@mail.gmail.com>
Date:	Sat, 17 Mar 2012 22:16:33 -0400
From:	yao zhao <yao.development@...il.com>
To:	"Eric W. Biederman" <ebiederm@...ssion.com>
Cc:	netdev@...r.kernel.org
Subject: Re: setns question

On Fri, Mar 16, 2012 at 7:36 PM, Eric W. Biederman
<ebiederm@...ssion.com> wrote:
> yao zhao <yao.development@...il.com> writes:
>
>> Hi Eric,
>>
>> Can I ask some questions about setns?
>>
>> 1.setns is complete > 3.0 but right now it doesn't support mnt and pid
>> yet.
>
> Correct.  I need to find some time and get those patches merged.
>
>> 2.setns can set a process' uts, net, ipc to different namespace,
>
> Yes.
>> it is not fd based, right?
> The argument to setns is a fd.
>
>> 3.is this supported:
>>      ProcessA's uts == ProcessB's uts
>>      ProcessA's ipc == ProcessC's ipc
>>      ProcessA's net == ProcessD's net
>
> Yes.  Even without setns that is supported.
>
> I suggest if you want more details you read the code.
>
Thanks Eric for your reply!
After 1 day source code reading I understood how network namespace is
implemented. It is excellent and it does what I need.

yao
> Eric
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ