From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cedric Le Goater Subject: Re: [PATCH 4/6][lxc][v3] Move get_init_pid() into checkpoint.c Date: Wed, 31 Mar 2010 10:17:12 +0200 Message-ID: <4BB30508.4090809@fr.ibm.com> References: <20100331070440.GA21570@us.ibm.com> <20100331070848.GD23567@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20100331070848.GD23567-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Sukadev Bhattiprolu Cc: dlezcano-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org, Containers List-Id: containers.vger.kernel.org On 03/31/2010 09:08 AM, Sukadev Bhattiprolu wrote: > lxc_attach.c is currently not included in liblxc.so. In afollowon > patch, checkpoint() function needs to also use the get_init_pid() > interface. So move the defintions into checkpoint.c - which would > then be accessible to both lxc_attach and lxc-checkpoint. > couldn't we move that routine in src/lxc/utils.c ? thanks, C.