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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Eric,

On Thu, Dec 27, 2012 at 6:47 PM, Eric W. Biederman
<ebiederm@xxxxxxxxxxxx> 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/
_______________________________________________
Containers mailing list
Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/containers


[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux