[lxc-devel] [PATCH] define MS_SHARED if needed

Stéphane Graber stgraber at ubuntu.com
Tue Dec 25 12:01:54 UTC 2012


On 12/25/2012 10:53 AM, Natanael Copa wrote:
> Fixes build on uClibc.
> 
> Signed-off-by: Natanael Copa <ncopa at alpinelinux.org>

Looks good, Acked and applied.

> ---
>  src/lxc/conf.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/src/lxc/conf.c b/src/lxc/conf.c
> index 96940b3..c82e759 100644
> --- a/src/lxc/conf.c
> +++ b/src/lxc/conf.c
> @@ -87,6 +87,10 @@ lxc_log_define(lxc_conf, lxc);
>  #define MNT_DETACH 2
>  #endif
>  
> +#ifndef MS_SLAVE
> +#define MS_SLAVE (1<<19)
> +#endif
> +
>  #ifndef MS_RELATIME
>  #define MS_RELATIME (1 << 21)
>  #endif
> 


-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 899 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20121225/fc85286a/attachment.pgp>


More information about the lxc-devel mailing list