[lxc-devel] [PATCH] lxc: introduce lxc_execute()
Daniel Lezcano
daniel.lezcano at free.fr
Mon Oct 24 12:58:13 UTC 2011
On 10/17/2011 08:47 PM, Greg Kurz wrote:
> This patch allows to create application containers with liblxc.so directly.
>
> Some code cleanups on the way:
> - separate ops for lxc_execute() and lxc_start(): the factorisation is wrong
> here as we may have specific things to do if we're running an application
> container. It deserves separate ops.
> - lxc_arguments_dup() is merged in the pre-exec operation: this is a first
> use for the execute op introduced just above. It's better to build the
> arguments to execvp() where they're really used.
>
> Signed-off-by: Greg Kurz <gkurz at fr.ibm.com>
> Cc: Cedric Le Goater <clg at fr.ibm.com>
> ---
Applied.
More information about the lxc-devel
mailing list