]> 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>
Tue, 25 Nov 2014 21:51:34 +0000 (16:51 -0500)
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
src/lxc/conf.c

index d5f6bc819513f8cdd66e8b2c812585843beaff98..71e49baa5f02b718e7de6e1f11cffc9cd9cf5466 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" };