[Lxc-users] mapping host PID <-> container PID
Daniel Lezcano
daniel.lezcano at free.fr
Fri May 6 14:33:39 UTC 2011
On 05/06/2011 04:03 PM, Greg Kurz wrote:
> On Tue, 2011-05-03 at 11:38 -0500, Serge Hallyn wrote:
>> Quoting Daniel Lezcano (daniel.lezcano at free.fr):
>>> Yes. And I think the positive side effect is we can determine if the
>>> pid belongs to the same pid namespace than the current one when the
>>> container_init is 1, no ?
>> Yup. (Presumably if one happens to access a /proc for a non-descendent
>> pid-namespace, we'll print 0 for both the vpid and the container_init pid)
>>
>> Sounds great, thanks guys.
>>
>> -serge
> Serge, Daniel,
>
> I'm crafting a 2 patch serie for these. Will send on containers@ first
> before proposing to lkml. Sounds ok for you ?
Yes, that sounds good.
Thanks Greg
-- Daniel
More information about the lxc-users
mailing list