[lxc-devel] Two process on a same namespcae with clone()

Maheswara Reddy C - ERS, HCL Tech maheswarareddyc at hcl.com
Wed Feb 16 07:25:06 UTC 2011

Could someone help me out,
I want to run the two process on same name space, shall it possible using the clone()

1.       Calling Clone() inside clone() without setting CLONE_NS

clone(do_clone1, stack1,CLONE_NEWNS ,&clone_arg);                                 --> process 1 on name space 1
clone(do_clone2, stack2, CLONE_NEWNET ,&clone_arg);           -->   process 2  on same namespace ?



The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before opening any mail and
attachments please check them for viruses and defect.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20110216/ae96a596/attachment.html>

More information about the lxc-devel mailing list