]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
conf.c: Define MS_PRIVATE for Android
authorStéphane Graber <stgraber@ubuntu.com>
Mon, 13 Oct 2014 10:50:20 +0000 (12:50 +0200)
committerStéphane Graber <stgraber@ubuntu.com>
Mon, 13 Oct 2014 10:50:20 +0000 (12:50 +0200)
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
src/lxc/conf.c

index 366250333cca67480038d9c99128679ddf14fe1e..e493899cde4f05e8c6c125119e7059e7fe97be6e 100644 (file)
@@ -160,6 +160,10 @@ return -1;
 #define        __S_ISTYPE(mode, mask)  (((mode) & S_IFMT) == (mask))
 #endif
 
+#ifndef MS_PRIVATE
+#define MS_PRIVATE (1<<18)
+#endif
+
 char *lxchook_names[NUM_LXC_HOOKS] = {
        "pre-start", "pre-mount", "mount", "autodev", "start", "post-stop", "clone" };