2011/12/12  <yi...@neusoft.com>:
> Hi all
>
>  These days I encouter a problem.
>  When I use the lxc to running my app,the getpid() system call
> returns 2.But in my platform,
>  I need the system wide PID instead for some purpose,such as
> integrade with native app(not running in lxc).
>  (I want to integrade the lxc app in my platform to do isolation,and
> use the dbus for IPC)
>  So how to solve this conflict?Can anyone give me a hint?
>
>  Thanks for your time.
>
> Cheers
> Xiaobiao
> ---------------------------------------------------------------------------------------------------
> Confidentiality Notice: The information contained in this e-mail and any 
> accompanying attachment(s)
> is intended only for the use of the intended recipient and may be 
> confidential and/or privileged of
> Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of 
> this communication is
> not the intended recipient, unauthorized use, forwarding, printing,  storing, 
> disclosure or copying
> is strictly prohibited, and may be unlawful.If you have received this 
> communication in error,please
> immediately notify the sender by return e-mail, and delete the original 
> message and all copies from
> your system. Thank you.
> ---------------------------------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------------
> Learn Windows Azure Live!  Tuesday, Dec 13, 2011
> Microsoft is holding a special Learn Windows Azure training event for
> developers. It will provide a great way to learn Windows Azure and what it
> provides. You can attend the event by watching it streamed LIVE online.
> Learn more at http://p.sf.net/sfu/ms-windowsazure
> _______________________________________________
> Lxc-devel mailing list
> Lxc-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-devel

Hi,
IMHO you are not able to do this (correct me if I'm wrong), as this is
exactly what the namespace means.
I think you may setup a common network connection for this, to
exchange pid map information with some 'pid translation' daemon on
host.

Thanks,
Zhu Yanhai

------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel

Reply via email to