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/