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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 16 Mar 2012 16:36:40 -0700
From:	ebiederm@...ssion.com (Eric W. Biederman)
To:	yao zhao <yao.development@...il.com>
Cc:	netdev@...r.kernel.org
Subject: Re: setns question

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.

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