[lxc-devel] [PATCH 14/17] Don't define new_personality when building without personalities

Serge Hallyn serge.hallyn at ubuntu.com
Fri Aug 16 15:38:48 UTC 2013


Quoting Stéphane Graber (stgraber at ubuntu.com):
> Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>

Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>

> ---
>  src/lxc/attach.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/src/lxc/attach.c b/src/lxc/attach.c
> index 99b9c89..19fe61d 100644
> --- a/src/lxc/attach.c
> +++ b/src/lxc/attach.c
> @@ -830,7 +830,9 @@ int attach_child_main(void* data)
>  	int ipc_socket = payload->ipc_socket;
>  	lxc_attach_options_t* options = payload->options;
>  	struct lxc_proc_context_info* init_ctx = payload->init_ctx;
> +#if HAVE_SYS_PERSONALITY_H
>  	long new_personality;
> +#endif
>  	int ret;
>  	int status;
>  	int expected;
> -- 
> 1.8.3.2
> 
> 
> ------------------------------------------------------------------------------
> Get 100% visibility into Java/.NET code with AppDynamics Lite!
> It's a free troubleshooting tool designed for production.
> Get down to code-level detail for bottlenecks, with <2% overhead. 
> Download for free and get started troubleshooting in minutes. 
> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
> _______________________________________________
> Lxc-devel mailing list
> Lxc-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-devel




More information about the lxc-devel mailing list