[lxc-devel] [PATCH 05/17] Android now uses a sane clone() definition

Serge Hallyn serge.hallyn at ubuntu.com
Fri Aug 16 15:26:29 UTC 2013


Quoting Stéphane Graber (stgraber at ubuntu.com):
> The current Android NDK provides a clone() defintion that's identical to

Does this mean this will break older androids?  Or is that not how it
works?

> eglibc's so we can drop the ifdef from that one.
> 
> Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>

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

> ---
>  src/lxc/namespace.h | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/src/lxc/namespace.h b/src/lxc/namespace.h
> index c6a97ec..0c53630 100644
> --- a/src/lxc/namespace.h
> +++ b/src/lxc/namespace.h
> @@ -53,9 +53,6 @@
>  #if defined(__ia64__)
>  int __clone2(int (*__fn) (void *__arg), void *__child_stack_base,
>               size_t __child_stack_size, int __flags, void *__arg, ...);
> -#elif defined(IS_BIONIC)
> -int clone(int (*fn)(void *), void *child_stack,
> -	int flags, void *arg);
>  #else
>  int clone(int (*fn)(void *), void *child_stack,
>  	int flags, void *arg, ...
> -- 
> 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