Re: [PATCH 2/4] clone.2: Describe the user namespace

From
Michael Kerrisk (man-pages) <hidden>
Date
2013-01-01 09:29:51
Hi Eric,

On Thu, Dec 27, 2012 at 6:47 PM, Eric W. Biederman
[off-list ref] wrote:
There is one other bit that needs to be documented in clone, although
I am not certain where/how.

The sequences:

unshare(CLONE_NEWPID).
clone(CLONE_VM)

setns(fd, CLONE_NEWPID).
clone(CLONE_VM).

Now fail.
Can you define "now" please. Which kernel version?
Basically the rule is all threads must be in the same pid namespace.

The joy of reviews with good comments that come much later than hoped.
Thanks,

Michael

-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface"; http://man7.org/tlpi/
Thread (1 message) 1 message, 1 author, last reply 2013-01-01
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help